/* =========================================================
   ASIAPM — Independent Project Management
   Design tokens, typography, components
   ========================================================= */

:root {
  /* Brand colors */
  --navy-900: #0a1f3d;
  --navy-800: #102a4d;
  --navy-700: #1a3863;
  --navy-600: #2a4a7a;
  --navy-500: #3d5e92;
  --navy-100: #e8edf5;
  --navy-50: #f4f6fa;

  --orange-600: #d96514;
  --orange-500: #e87722;
  --orange-400: #f08c44;
  --orange-300: #f5a872;
  --orange-100: #fce8d6;
  --orange-50: #fef6ed;

  --cream: #faf7f2;
  --cream-dark: #f0ebe1;
  --paper: #ffffff;

  --ink-900: #0a1f3d;
  --ink-700: #243d5e;
  --ink-500: #5a6c84;
  --ink-300: #95a3b8;

  --line: #e3e7ee;
  --line-dark: rgba(255, 255, 255, 0.12);

  /* Typography */
  --font-display: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter Tight', 'Inter', -apple-system, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Spacing */
  --container: 1320px;
  --gutter: 32px;
  --section-y: 120px;

  /* Effects */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 2px 8px rgba(10, 31, 61, 0.06);
  --shadow-md: 0 12px 32px rgba(10, 31, 61, 0.10);
  --shadow-lg: 0 30px 80px rgba(10, 31, 61, 0.18);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-900);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

/* TYPOGRAPHY */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  letter-spacing: -0.02em;
  line-height: 1.02;
}
.display-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.01em;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.01em; line-height: 1.1; }
h1 { font-size: clamp(48px, 7vw, 96px); line-height: 0.98; }
h2 { font-size: clamp(36px, 5vw, 64px); line-height: 1.05; }
h3 { font-size: clamp(24px, 2.4vw, 32px); }
h4 { font-size: 20px; }
em { font-style: italic; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--orange-500);
  font-family: var(--font-body);
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--orange-500);
}
.eyebrow.light { color: var(--orange-400); }
.eyebrow.light::before { background: var(--orange-400); }

.lead {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.65;
  color: var(--ink-700);
}

/* LAYOUT */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
section { padding: var(--section-y) 0; position: relative; }
.section-tight { padding: 80px 0; }

.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin: 20px 0 20px; }

/* NAV */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all 0.4s var(--ease);
}
.nav.scrolled {
  padding: 14px 0;
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}
.logo .accent { color: var(--orange-500); font-style: italic; }
.logo-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--orange-500);
  border-radius: 50%;
  margin-left: 2px;
}
.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-700);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--orange-500);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--navy-900); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-tools { display: flex; align-items: center; gap: 20px; }
.lang-toggle {
  display: inline-flex;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-500);
}
.lang-toggle button {
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s;
}
.lang-toggle button.active { background: var(--navy-900); color: var(--paper); }
.lang-toggle button:not(.active):hover { color: var(--navy-900); }

.menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy-900);
  transition: all 0.3s var(--ease);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 26px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--orange-500);
  color: var(--paper);
}
.btn-primary:hover {
  background: var(--orange-600);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(232, 119, 34, 0.3);
}
.btn-dark {
  background: var(--navy-900);
  color: var(--paper);
}
.btn-dark:hover { background: var(--navy-800); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--navy-900);
}
.btn-ghost:hover { background: var(--navy-900); color: var(--paper); }
.btn-ghost-light {
  background: transparent;
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.3);
}
.btn-ghost-light:hover { background: var(--paper); color: var(--navy-900); }

.btn .arrow {
  width: 14px; height: 10px;
  position: relative;
  transition: transform 0.3s var(--ease);
}
.btn .arrow::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transform: translateY(-50%);
}
.btn .arrow::after {
  content: '';
  position: absolute;
  right: 0; top: 50%;
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.btn:hover .arrow { transform: translateX(4px); }

/* LINK ARROW */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--orange-500);
  transition: gap 0.3s var(--ease);
}
.link-arrow:hover { gap: 16px; }

/* CARDS / BLOCKS */
.eyebrow-num {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--orange-500);
  letter-spacing: 0.2em;
  font-weight: 500;
}

/* DECORATIVE */
.divider {
  height: 1px;
  background: var(--line);
  margin: 40px 0;
}
.divider-thick {
  height: 4px;
  background: var(--navy-900);
  width: 60px;
  margin-bottom: 32px;
}
.divider-orange {
  height: 4px;
  background: var(--orange-500);
  width: 60px;
}

/* SECTIONS - alternate backgrounds */
.bg-cream { background: var(--cream); }
.bg-cream-dark { background: var(--cream-dark); }
.bg-navy { background: var(--navy-900); color: var(--paper); }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--paper); }
.bg-navy .lead { color: rgba(255, 255, 255, 0.78); }
.bg-navy .ink-light { color: rgba(255, 255, 255, 0.7); }
.bg-orange-tint { background: var(--orange-50); }

/* HERO (Home) */
.hero {
  position: relative;
  padding: 180px 0 100px;
  background: var(--paper);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 85% 20%, rgba(232, 119, 34, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 15% 80%, rgba(10, 31, 61, 0.04) 0%, transparent 40%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
  align-items: end;
  position: relative;
  z-index: 2;
}
.hero h1 {
  margin: 32px 0 36px;
  font-size: clamp(48px, 7.5vw, 104px);
}
.hero h1 em { color: var(--orange-500); font-weight: 300; }
.hero .lead {
  max-width: 560px;
  margin-bottom: 44px;
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-side {
  padding: 36px;
  background: var(--navy-900);
  color: var(--paper);
  position: relative;
}
.hero-side::before {
  content: '';
  position: absolute;
  top: -1px; left: 0;
  width: 60px; height: 4px;
  background: var(--orange-500);
}
.hero-side-num {
  font-family: var(--font-display);
  font-size: 80px;
  line-height: 0.9;
  color: var(--orange-400);
  margin-bottom: 4px;
}
.hero-side-num sup { font-size: 32px; }
.hero-side-label {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
}
.hero-side-desc {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.hero-side-desc:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

/* PILLARS (3 cột proof) */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pillar {
  padding: 56px 40px;
  position: relative;
  border-right: 1px solid var(--line);
}
.pillar:last-child { border-right: none; }
.pillar-num {
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--orange-500);
  line-height: 1;
  margin-bottom: 24px;
  font-style: italic;
  font-weight: 300;
}
.pillar h3 { margin-bottom: 16px; color: var(--navy-900); }
.pillar p { color: var(--ink-500); font-size: 15.5px; line-height: 1.7; }

/* SERVICES GRID (Home preview) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}
.service-tile {
  background: var(--paper);
  padding: 48px 36px;
  transition: all 0.4s var(--ease);
  cursor: pointer;
  position: relative;
}
.service-tile:hover { background: var(--navy-900); color: var(--paper); }
.service-tile:hover h3, .service-tile:hover .service-tile-num { color: var(--orange-400); }
.service-tile:hover p { color: rgba(255,255,255,0.7); }
.service-tile-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--orange-500);
  letter-spacing: 0.2em;
  margin-bottom: 24px;
  display: block;
  transition: color 0.3s;
}
.service-tile h3 {
  font-size: 24px;
  margin-bottom: 14px;
  line-height: 1.2;
  transition: color 0.3s;
}
.service-tile p {
  font-size: 14.5px;
  color: var(--ink-500);
  line-height: 1.65;
  transition: color 0.3s;
}
.service-tile .more {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--orange-500);
  text-transform: uppercase;
  transition: gap 0.3s;
}
.service-tile:hover .more { gap: 14px; }

/* PROJECT CARDS */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.project-card {
  background: var(--paper);
  cursor: pointer;
  transition: all 0.4s var(--ease);
  border: 1px solid var(--line);
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--navy-100);
}
.project-img {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-500));
  position: relative;
  overflow: hidden;
}
.project-img .overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(232, 119, 34, 0.25), transparent 50%),
    linear-gradient(180deg, transparent 50%, rgba(10, 31, 61, 0.75));
}
.project-img .skyline {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 65%;
  background-image:
    linear-gradient(90deg,
      transparent 6%, rgba(232, 119, 34, 0.42) 6%, rgba(232, 119, 34, 0.42) 13%, transparent 13%,
      transparent 19%, rgba(245, 168, 114, 0.32) 19%, rgba(245, 168, 114, 0.32) 29%, transparent 29%,
      transparent 36%, rgba(232, 119, 34, 0.5) 36%, rgba(232, 119, 34, 0.5) 43%, transparent 43%,
      transparent 51%, rgba(245, 168, 114, 0.38) 51%, rgba(245, 168, 114, 0.38) 61%, transparent 61%,
      transparent 69%, rgba(232, 119, 34, 0.45) 69%, rgba(232, 119, 34, 0.45) 79%, transparent 79%,
      transparent 86%, rgba(245, 168, 114, 0.32) 86%, rgba(245, 168, 114, 0.32) 95%, transparent 95%);
  mask-image: linear-gradient(180deg, transparent, black 60%);
}
.project-meta {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(10, 31, 61, 0.6);
  backdrop-filter: blur(8px);
  color: var(--paper);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.project-meta .dot { width: 6px; height: 6px; background: var(--orange-400); border-radius: 50%; }
.project-info { padding: 28px; }
.project-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange-500);
  margin-bottom: 12px;
}
.project-info h3 {
  font-size: 22px;
  margin-bottom: 8px;
  color: var(--navy-900);
  line-height: 1.25;
}
.project-info .loc {
  font-size: 14px;
  color: var(--ink-500);
}

/* LOGO BAR */
.logos {
  padding: 56px 0;
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.logos-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
  align-items: center;
}
.logo-cell {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-300);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.04em;
  opacity: 0.75;
  transition: all 0.3s;
}
.logo-cell:hover { color: var(--navy-900); opacity: 1; }

/* CTA BLOCK */
.cta-block {
  background: var(--navy-900);
  color: var(--paper);
  padding: 88px 64px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 90% 50%, rgba(232, 119, 34, 0.15), transparent 50%);
  pointer-events: none;
}
.cta-block h2 { color: var(--paper); margin-bottom: 20px; }
.cta-block .lead { color: rgba(255,255,255,0.78); }
.cta-block-right { position: relative; z-index: 2; }

/* FOOTER */
.site-footer {
  background: var(--navy-900);
  color: var(--paper);
  padding: 100px 0 36px;
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange-500), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
.footer-brand h3 {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--paper);
}
.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 14.5px;
  line-height: 1.7;
  max-width: 360px;
  margin-bottom: 24px;
}
.footer-col h5 {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--orange-400);
  margin-bottom: 24px;
  font-weight: 700;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a {
  color: rgba(255,255,255,0.7);
  font-size: 14.5px;
  transition: color 0.3s;
}
.footer-col ul a:hover { color: var(--orange-400); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
}
.footer-bottom .social {
  display: flex;
  gap: 24px;
}
.footer-bottom .social a {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
  transition: color 0.3s;
}
.footer-bottom .social a:hover { color: var(--orange-400); }

/* PAGE HERO (cho các trang phụ) */
.page-hero {
  padding: 200px 0 100px;
  background: var(--navy-900);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(232, 119, 34, 0.18), transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(232, 119, 34, 0.06), transparent 50%);
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 880px;
}
.page-hero h1 {
  margin: 24px 0 28px;
  color: var(--paper);
}
.page-hero h1 em { color: var(--orange-400); font-weight: 300; }
.page-hero .lead {
  color: rgba(255,255,255,0.78);
  max-width: 720px;
}
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
}
.breadcrumb a { color: var(--orange-400); }
.breadcrumb span { color: rgba(255,255,255,0.4); }

/* TWO-COL CONTENT */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.two-col-rev { grid-template-columns: 1.2fr 1fr; }

/* TEAM */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.team-card {}
.team-photo {
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--navy-700), var(--navy-500));
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}
.team-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 30%, rgba(255,255,255,0.18), transparent 35%),
    linear-gradient(180deg, transparent 40%, rgba(10, 31, 61, 0.6));
}
.team-avatar {
  position: absolute;
  top: 22%;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(232, 119, 34, 0.2), rgba(255,255,255,0.18));
  border: 1px solid rgba(232, 119, 34, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-300);
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
}
.team-card h4 {
  font-size: 22px;
  margin-bottom: 4px;
  color: var(--navy-900);
}
.team-role {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-500);
  font-weight: 700;
  margin-bottom: 12px;
}
.team-bio {
  font-size: 14px;
  color: var(--ink-500);
  line-height: 1.65;
}

/* STATS */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}
.stat {
  background: var(--paper);
  padding: 40px 32px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
  color: var(--navy-900);
  font-weight: 400;
}
.stat-num em { color: var(--orange-500); font-style: italic; font-weight: 300; }
.stat-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-top: 12px;
  font-weight: 600;
}

/* FORM */
.form { display: flex; flex-direction: column; gap: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { display: flex; flex-direction: column; }
.field label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 10px;
}
.field input,
.field textarea,
.field select {
  font: inherit;
  font-size: 15px;
  padding: 12px 0;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--navy-900);
  transition: border 0.3s;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-bottom-color: var(--orange-500);
}
.field textarea { resize: vertical; min-height: 80px; }

/* TIMELINE */
.timeline {
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 12px; bottom: 12px;
  width: 1px;
  background: var(--line);
}
.tl-item {
  position: relative;
  padding-bottom: 40px;
}
.tl-item::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 8px;
  width: 9px; height: 9px;
  background: var(--orange-500);
  border-radius: 50%;
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 1px var(--orange-500);
}
.tl-year {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--orange-500);
  margin-bottom: 6px;
}
.tl-title { font-weight: 600; margin-bottom: 6px; color: var(--navy-900); }
.tl-desc { font-size: 14.5px; color: var(--ink-500); line-height: 1.6; }

/* INSIGHTS / NEWS */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.insight-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  transition: all 0.4s var(--ease);
  background: var(--paper);
  cursor: pointer;
}
.insight-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--navy-100); }
.insight-img {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-500));
  position: relative;
  overflow: hidden;
}
.insight-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 30% 60%, rgba(232,119,34,0.22), transparent 50%);
}
.insight-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-500);
  margin-bottom: 16px;
}
.insight-meta .cat { color: var(--orange-500); }
.insight-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.insight-body h3 {
  font-size: 22px;
  margin-bottom: 12px;
  line-height: 1.3;
  color: var(--navy-900);
}
.insight-body p {
  color: var(--ink-500);
  font-size: 14.5px;
  line-height: 1.65;
  flex: 1;
}
.insight-body .read {
  margin-top: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--orange-500);
  text-transform: uppercase;
}

/* INDEPENDENCE BLOCK (đặc thù positioning) */
.indep-block {
  background: var(--cream);
  padding: 80px 64px;
  position: relative;
  border-left: 4px solid var(--orange-500);
}
.indep-block::before {
  content: '"';
  position: absolute;
  top: 20px; right: 40px;
  font-family: var(--font-display);
  font-size: 200px;
  line-height: 1;
  color: var(--orange-100);
  font-style: italic;
}
.indep-block h2 {
  margin-bottom: 24px;
  position: relative;
}
.indep-block h2 em { color: var(--orange-500); font-weight: 300; }
.indep-list {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.indep-list .item {
  position: relative;
  padding-top: 16px;
  border-top: 2px solid var(--navy-900);
}
.indep-list .item-no {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--orange-500);
  font-size: 14px;
  letter-spacing: 0.2em;
  margin-bottom: 8px;
}
.indep-list .item h4 { margin-bottom: 8px; }
.indep-list .item p { font-size: 14px; color: var(--ink-500); line-height: 1.6; }

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--navy-900);
  z-index: 99;
  padding: 100px 32px 40px;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a {
  display: block;
  padding: 18px 0;
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--paper);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-menu a:hover { color: var(--orange-400); }
.mobile-menu .lang-toggle { margin-top: 40px; }
.mobile-menu .lang-toggle button { padding: 8px 16px; color: var(--paper); }
.mobile-menu .lang-toggle button.active { background: var(--orange-500); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  :root { --section-y: 88px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: none; border-bottom: 1px solid var(--line); }
  .pillar:last-child { border-bottom: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .insights-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col, .two-col-rev { grid-template-columns: 1fr; gap: 48px; }
  .logos-grid { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cta-block { grid-template-columns: 1fr; padding: 56px 32px; gap: 32px; }
  .indep-list { grid-template-columns: 1fr; }
  .indep-block { padding: 48px 32px; }
  .indep-block::before { font-size: 120px; right: 24px; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; --section-y: 64px; }
  .nav-links { display: none; }
  .lang-toggle { display: none; }
  .menu-toggle { display: flex; }
  .services-grid, .projects-grid, .team-grid { grid-template-columns: 1fr; }
  .logos-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 140px 0 64px; }
  .page-hero { padding: 140px 0 64px; }
  .cta-block { padding: 48px 24px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
}
