/* ============================================================
   LATINUM HR — Global Human Capital
   Design system: deep navy (brand) · ivory · champagne gold
   Type: Fraunces (display) · Manrope (body)
   ============================================================ */

:root {
  /* Brand palette (from logo slabs) */
  --navy-950: #0a1428;
  --navy-900: #101e38;
  --navy-800: #16243d;
  --navy-700: #1d3050;
  --navy-600: #22375b;
  --navy-500: #2a4163;
  --steel-400: #4f74a8;
  --steel-300: #7e9cc6;

  --gold-500: #c9a96a;
  --gold-400: #d9bc82;
  --gold-300: #e8d4a8;
  --gold-deep: #a9833c; /* readable gold accent on white */

  --ivory: #faf9f5;
  --ivory-dim: #f2efe8;
  --white: #ffffff;

  --ink: #101e38;
  --ink-soft: #44516b;
  --ink-faint: #8b94a8;

  /* Type */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", -apple-system, "Segoe UI", sans-serif;

  /* Rhythm */
  --section-pad: clamp(5rem, 10vw, 9rem);
  --container: 1240px;
  --radius-lg: 24px;
  --radius-md: 16px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-card: 0 2px 4px rgba(16, 30, 56, 0.04), 0 12px 32px rgba(16, 30, 56, 0.08);
  --shadow-card-hover: 0 4px 8px rgba(16, 30, 56, 0.06), 0 24px 56px rgba(16, 30, 56, 0.14);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
html.lenis { height: auto; scroll-behavior: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--gold-500); color: var(--navy-950); }

.container {
  width: min(100% - 3rem, var(--container));
  margin-inline: auto;
}

.section { padding-block: var(--section-pad); }

/* Feature sections: bright white with soft brand glows (were dark navy) */
.section--dark {
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(79, 116, 168, 0.10), transparent 60%),
    radial-gradient(900px 500px at 10% 110%, rgba(201, 169, 106, 0.10), transparent 60%),
    var(--white);
  color: var(--ink);
  padding-block: var(--section-pad);
}

/* ---------- Typography helpers ---------- */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel-400);
  margin-bottom: 1.25rem;
}
.section-eyebrow::before {
  content: "";
  width: 36px; height: 2px;
  background: var(--gold-500);
}
.section-eyebrow--light { color: var(--steel-400); }
.section-eyebrow--gold { color: var(--gold-deep); }

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.1rem, 4.5vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--navy-900);
  max-width: 18ch;
}
.section-title em {
  font-style: italic;
  color: var(--gold-500);
}
.section-title--light { color: var(--navy-900); }

.section-head { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }

/* split-lines spans (created by JS) */
.split-lines .sl-line { display: block; overflow: hidden; }
.split-lines .sl-inner { display: block; transform: translateY(110%); }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.25s, color 0.25s;
  will-change: transform;
}
/* light sweep on gold CTAs */
.btn--gold::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease-out);
}
.btn--gold:hover::after { left: 130%; }
.btn svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(0.97); }

.btn--gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--navy-950);
  box-shadow: 0 8px 24px rgba(201, 169, 106, 0.35);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(201, 169, 106, 0.45); }

.btn--ghost {
  border: 1.5px solid rgba(29, 48, 80, 0.28);
  color: inherit;
}
.btn--ghost:hover { border-color: var(--gold-500); color: var(--navy-900); transform: translateY(-2px); }

.btn--lg { padding: 1.15rem 2.3rem; font-size: 1.05rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--navy-700);
  border-bottom: 2px solid var(--gold-500);
  padding-bottom: 0.2rem;
  margin-top: 1.5rem;
  transition: gap 0.25s var(--ease-out), color 0.25s;
}
.link-arrow svg { width: 18px; height: 18px; }
.link-arrow:hover { gap: 0.9rem; color: var(--gold-500); }

/* ---------- Cinematic film grain ---------- */
.grain {
  position: fixed;
  inset: -120%;
  z-index: 9000;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 0.9s steps(9) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -2%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

/* ---------- Custom cursor ---------- */
.cursor, .cursor-dot {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  border-radius: 50%;
  z-index: 9999;
}
.cursor {
  width: 44px; height: 44px;
  border: 1.5px solid rgba(201, 169, 106, 0.65);
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), opacity 0.3s, background 0.3s;
  opacity: 0;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--gold-500);
  transform: translate(-50%, -50%);
  opacity: 0;
}
body.cursor-ready .cursor, body.cursor-ready .cursor-dot { opacity: 1; }
.cursor.is-hover { width: 72px; height: 72px; background: rgba(201, 169, 106, 0.08); }
@media (hover: none), (max-width: 900px) {
  .cursor, .cursor-dot { display: none; }
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0;
  z-index: 10000;
  display: grid; place-items: center;
  background: var(--ivory);
  transition: clip-path 1s var(--ease-out);
  clip-path: inset(0 0 0 0);
}
.preloader.is-done { clip-path: inset(0 0 100% 0); }
.preloader__inner { display: grid; justify-items: center; gap: 2rem; }
.preloader__logo {
  width: auto;
  height: clamp(170px, 32vh, 250px);
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  animation: logoIn 0.9s var(--ease-out) forwards;
}
@keyframes logoIn { to { opacity: 1; transform: translateY(0) scale(1); } }
.preloader__stack { display: grid; gap: 5px; }
.preloader__stack span {
  height: 10px;
  border-radius: 2px;
  background: var(--navy-800);
  transform-origin: left center;
  animation: stackPulse 1.4s var(--ease-out) infinite;
}
.preloader__stack span:nth-child(1) { width: 34px; animation-delay: 0s; margin-left: 14px; }
.preloader__stack span:nth-child(2) { width: 50px; animation-delay: 0.1s; margin-left: 4px; }
.preloader__stack span:nth-child(3) { width: 64px; animation-delay: 0.2s; }
.preloader__stack span:nth-child(4) { width: 48px; animation-delay: 0.3s; margin-left: 6px; }
.preloader__stack span:nth-child(5) { width: 30px; animation-delay: 0.4s; margin-left: 16px; }
@keyframes stackPulse {
  0%, 100% { transform: scaleX(0.6); opacity: 0.4; }
  50% { transform: scaleX(1); opacity: 1; }
}
.preloader__word { display: flex; gap: 0.35rem; }
.preloader__word span {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: 0.3em;
  color: var(--navy-900);
  opacity: 0;
  transform: translateY(16px);
  animation: letterUp 0.6s var(--ease-out) forwards;
}
.preloader__word span:nth-child(n) { animation-delay: calc(0.08s * var(--i, 0)); }
.preloader__word span:nth-child(1) { --i: 1; } .preloader__word span:nth-child(2) { --i: 2; }
.preloader__word span:nth-child(3) { --i: 3; } .preloader__word span:nth-child(4) { --i: 4; }
.preloader__word span:nth-child(5) { --i: 5; } .preloader__word span:nth-child(6) { --i: 6; }
.preloader__word span:nth-child(7) { --i: 7; }
@keyframes letterUp { to { opacity: 1; transform: translateY(0); } }
.preloader__bar {
  width: 180px; height: 2px;
  background: rgba(29, 48, 80, 0.15);
  border-radius: 2px;
  overflow: hidden;
}
.preloader__bar i {
  display: block; height: 100%; width: 0;
  background: var(--gold-500);
  transition: width 0.3s ease;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.4s, box-shadow 0.4s, transform 0.4s var(--ease-out);
}
.header.is-scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(16, 30, 56, 0.08), 0 10px 30px rgba(16, 30, 56, 0.06);
}
.header.is-hidden { transform: translateY(-100%); }
.header__inner {
  width: min(100% - 3rem, 1360px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-block: 1.1rem;
}
.header__logo { display: inline-flex; align-items: center; gap: 0.6rem; }
.header__logo-mark { width: auto; height: 42px; object-fit: contain; }
.header__logo-text {
  font-weight: 800;
  letter-spacing: 0.18em;
  font-size: 1.05rem;
  color: var(--navy-900);
}
.header__logo-text em {
  font-style: normal;
  font-weight: 500;
  color: var(--gold-deep);
  margin-left: 0.3rem;
}
.header__nav {
  display: flex;
  gap: 2rem;
  margin-left: auto;
}
.nav-link {
  position: relative;
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(16, 30, 56, 0.8);
  padding-block: 0.4rem;
  transition: color 0.25s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.nav-link:hover { color: var(--navy-950); }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
/* Resume cross-link to DexterCV — distinct from internal nav */
.nav-link--resume {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  color: var(--gold-deep);
  font-weight: 700;
}
.nav-link--resume svg { width: 14px; height: 14px; }
.nav-link--resume::after { background: var(--gold-deep); }
.header__cta { padding: 0.7rem 1.4rem; font-size: 0.875rem; }

.header__burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 0.6rem;
  margin-left: auto;
}
.header__burger span {
  width: 26px; height: 2px;
  background: var(--navy-900);
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.header__burger.is-open span:first-child { transform: translateY(4px) rotate(45deg); }
.header__burger.is-open span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0;
  z-index: 900;
  background: var(--ivory);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.6s var(--ease-out);
}
.mobile-menu.is-open { clip-path: inset(0 0 0 0); }
.mobile-menu__nav { display: grid; gap: 0.5rem; }
.mobile-menu__link {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--navy-900);
  padding-block: 0.5rem;
  border-bottom: 1px solid rgba(29, 48, 80, 0.1);
}
.mobile-menu__link--cta { color: var(--gold-deep); }
.mobile-menu__link--resume { color: var(--gold-deep); }
.mobile-menu__meta {
  margin-top: 3rem;
  display: grid; gap: 0.4rem;
  color: var(--ink-faint);
  font-size: 0.9rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(1100px 700px at 78% 18%, rgba(201, 169, 106, 0.14), transparent 62%),
    radial-gradient(900px 600px at 12% 88%, rgba(79, 116, 168, 0.12), transparent 60%),
    linear-gradient(165deg, #ffffff 0%, var(--ivory) 55%, var(--ivory-dim) 100%);
  color: var(--ink);
  overflow: hidden;
  padding-block: 8rem 5rem;
}
.hero__particles { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.55; }
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.hero__glow--1 {
  width: 480px; height: 480px;
  background: rgba(201, 169, 106, 0.20);
  top: -120px; right: 8%;
  animation: glowDrift 14s ease-in-out infinite alternate;
}
.hero__glow--2 {
  width: 380px; height: 380px;
  background: rgba(79, 116, 168, 0.16);
  bottom: -80px; left: -60px;
  animation: glowDrift 18s ease-in-out infinite alternate-reverse;
}
@keyframes glowDrift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(40px, 50px) scale(1.15); }
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: min(100% - 3rem, 1360px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1.75rem;
  opacity: 0;
}
.hero__eyebrow-line { width: 44px; height: 2px; background: var(--gold-500); }

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 5.8vw, 4.8rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  padding-bottom: 0.1em; /* room so gradient-clipped glyphs never cut */
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: inline-block; transform: translateY(115%); }
/* char mode (set up by JS): glyph-level cinematic reveal */
.hero__title.is-chars .line { overflow: visible; }
.hero__title.is-chars .line > span { transform: none; }
.hero__title .char {
  display: inline-block;
  transform-origin: 50% 100%;
  will-change: transform, filter, opacity;
}
.hero__title .char--gold {
  background: linear-gradient(110deg, var(--gold-500), var(--gold-deep) 55%, #8a6a2e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__title-accent {
  font-style: normal;
  font-weight: 500;
  display: inline-block;
  padding: 0.04em 0.06em 0.14em;
  background: linear-gradient(110deg, var(--gold-500), var(--gold-deep) 55%, #8a6a2e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  color: transparent;
}

.hero__sub {
  max-width: 50ch;
  margin-top: 1.6rem;
  font-size: 1.1rem;
  color: var(--ink-soft);
  opacity: 0;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.4rem;
  opacity: 0;
}
.hero__meta {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-top: 3.2rem;
  opacity: 0;
}
.hero__meta-item { display: grid; gap: 0.15rem; }
.hero__meta-item strong {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 500;
  color: var(--navy-900);
  font-variant-numeric: tabular-nums;
}
.hero__meta-item span {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.hero__meta-divider { width: 1px; height: 44px; background: rgba(29, 48, 80, 0.2); }

.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  perspective: 1300px;
}

/* --- 3D rotating helix (ascending spiral) --- */
@property --rise { syntax: "<length>"; inherits: false; initial-value: 0px; }
@property --mx   { syntax: "<length>"; inherits: false; initial-value: 0px; }

/* WebGL spiral staircase of curved arc steps (Three.js) — see js/staircase.js.
   This is a <canvas>; the 3D geometry, lighting and rotation live in the script. */
.hero__spiral {
  display: block;
  width: min(100%, 500px);
  aspect-ratio: 1 / 1;
  height: auto;
  margin-inline: auto;
}
/* soft cast shadow under the whole mark (kept off the 3D context) */
.hero__visual::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 12%;
  width: 46%; height: 60px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(16,30,56,0.28), transparent 70%);
  filter: blur(6px);
  z-index: -1;
  pointer-events: none;
}
.hero__orbit { position: absolute; inset: 0; pointer-events: none; }
.hero__orbit-chip {
  position: absolute;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(29, 48, 80, 0.14);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(16, 30, 56, 0.10);
  font-size: 0.95rem;
  color: var(--navy-700);
  animation: chipFloat 6s ease-in-out infinite;
  animation-delay: var(--d);
  opacity: 0;
}
/* Language tiles spread around the spiral (left & right columns) */
.hero__orbit-chip:nth-child(1) { top: 4%;   right: 2%; }
.hero__orbit-chip:nth-child(2) { top: 30%;  right: -6%; }
.hero__orbit-chip:nth-child(3) { top: 58%;  right: -2%; }
.hero__orbit-chip:nth-child(4) { bottom: 6%; right: 14%; }
.hero__orbit-chip:nth-child(5) { top: 8%;   left: 4%; }
.hero__orbit-chip:nth-child(6) { top: 36%;  left: -8%; }
.hero__orbit-chip:nth-child(7) { top: 64%;  left: -2%; }
.hero__orbit-chip:nth-child(8) { bottom: 4%; left: 8%; }
@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.hero.is-ready .hero__orbit-chip { opacity: 1; transition: opacity 1s ease 1.2s; }

.hero__scroll-hint {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 0.7rem;
  z-index: 2;
}
.hero__scroll-line {
  width: 1.5px; height: 52px;
  background: rgba(29, 48, 80, 0.2);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: -50%; left: 0;
  width: 100%; height: 50%;
  background: var(--gold-500);
  animation: scrollLine 1.8s var(--ease-out) infinite;
}
@keyframes scrollLine {
  0% { top: -50%; }
  100% { top: 110%; }
}
.hero__scroll-text {
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ---------- Marquee band ---------- */
.marquee-band {
  background: var(--white);
  color: var(--ink);
  padding-block: 2.5rem;
  border-block: 1px solid rgba(16, 30, 56, 0.07);
}
.marquee-band__label {
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 1.5rem;
}
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  will-change: transform;
}
.marquee__track span {
  font-family: var(--font-display);
  font-size: 1.5rem;
  white-space: nowrap;
  color: var(--navy-800);
}
.marquee__track i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold-500);
  flex: none;
}
.marquee__track--hello span {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  color: rgba(29, 48, 80, 0.12);
  font-weight: 500;
  padding-inline: 1.4rem;
}

/* ---------- Client logo strip (real clients, grayscale → colour) ---------- */
.clients {
  background: var(--white);
  padding-block: 2.6rem;
  border-block: 1px solid rgba(16, 30, 56, 0.07);
}
.clients__label {
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 1.6rem;
}
.clients__marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.clients__track {
  display: flex;
  align-items: center;
  gap: clamp(2.4rem, 5vw, 4.5rem);
  width: max-content;
  animation: clientsScroll 52s linear infinite;
  will-change: transform;
}
.clients__marquee:hover .clients__track { animation-play-state: paused; }
.clients__track img {
  height: 34px;
  width: auto;
  flex: none;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.6;
  transition: filter 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}
.clients__track img:hover { filter: none; opacity: 1; }
@keyframes clientsScroll { to { transform: translateX(-50%); } }

/* ---------- Industry expertise grid ---------- */
.sectors__head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.sectors__lead { color: var(--ink-soft); font-size: 1.06rem; line-height: 1.7; margin-top: 1.1rem; }
.sectors__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.sector-card {
  background: var(--white);
  border: 1px solid rgba(16, 30, 56, 0.07);
  border-radius: var(--radius-md);
  padding: 1.7rem 1.6rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.sector-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.sector-card h3 {
  font-family: var(--font-display); font-weight: 500; font-size: 1.32rem;
  color: var(--navy-900); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.6rem;
}
.sector-card h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); flex: none; }
.sector-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.sector-card li {
  font-size: 0.82rem; color: var(--ink-soft); background: var(--ivory-dim);
  border: 1px solid rgba(16, 30, 56, 0.06); border-radius: 999px; padding: 0.34rem 0.72rem;
}
@media (max-width: 900px) { .sectors__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .sectors__grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .clients__track img { height: 28px; } }
@media (prefers-reduced-motion: reduce) {
  .clients__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
    gap: 2rem 2.5rem;
  }
  .clients__track img { opacity: 0.75; }
}

/* ---------- Manifesto (scroll-scrubbed word reveal) ---------- */
.manifesto {
  background: var(--ivory);
  padding-block: clamp(6rem, 12vw, 11rem);
}
.manifesto__text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 3.6vw, 3.1rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--navy-900);
  max-width: 26ch;
}
.manifesto__text .mw {
  display: inline-block;
  opacity: 0.1;
  will-change: opacity, filter;
}

/* ---------- People imagery ---------- */
.about__banner {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 6;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(16, 30, 56, 0.05);
}
.about__banner img { width: 100%; height: 100%; object-fit: cover; }

.people { background: var(--ivory); }
.people__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.people__item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(16, 30, 56, 0.05);
}
.people__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
  will-change: transform;
}
.people__item:hover img { transform: scale(1.06); }
.people__item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.1rem 1.1rem 1rem;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  background: linear-gradient(transparent, rgba(10, 20, 40, 0.78));
}

/* ---------- About ---------- */
.about { background: var(--ivory); }
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.about__lead {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--navy-700);
  margin-bottom: 1.4rem;
}
.about__text p + p { margin-top: 1.1rem; color: var(--ink-soft); }

.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(16, 30, 56, 0.05);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  will-change: transform;
}
.stat-card:hover { box-shadow: var(--shadow-card-hover); }
.stat-card__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 500;
  color: var(--navy-800);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.stat-card__label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
}
.stat-card:nth-child(2) .stat-card__num,
.stat-card:nth-child(3) .stat-card__num { color: var(--gold-500); }

/* ---------- Services (horizontal scroll) ---------- */
.services {
  background: var(--ivory-dim);
  overflow: hidden;
}
.services__pin {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  padding-block: 4rem;
}
.services__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}
.services__hint {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  white-space: nowrap;
}
.services__hint svg { width: 16px; height: 16px; animation: hintNudge 1.6s ease-in-out infinite; }
@keyframes hintNudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}
.services__track {
  display: flex;
  gap: 1.75rem;
  padding-left: max(1.5rem, calc((100vw - var(--container)) / 2));
  padding-right: 6vw;
  width: max-content;
  will-change: transform;
}
.service-card {
  width: clamp(300px, 26vw, 380px);
  flex: none;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.4rem 2.1rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(16, 30, 56, 0.05);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-card-hover); }
.service-card:hover::before { transform: scaleX(1); }
.service-card__index {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--gold-500);
  letter-spacing: 0.1em;
}
.service-card__icon {
  width: 56px; height: 56px;
  margin-block: 1.4rem 1.5rem;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--navy-800), var(--navy-600));
  color: var(--gold-300);
}
.service-card__icon svg { width: 26px; height: 26px; }
.service-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.45rem;
  line-height: 1.2;
  color: var(--navy-900);
  margin-bottom: 0.7rem;
}
.service-card p { font-size: 0.95rem; color: var(--ink-soft); }
.service-card__go {
  display: inline-block; margin-top: 1.1rem; color: var(--gold-deep);
  font-weight: 700; font-size: 0.85rem; text-decoration: none;
  transition: gap 0.2s var(--ease-out), opacity 0.2s;
}
.service-card__go:hover { opacity: 0.75; }

/* ---------- Global ---------- */
.global__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}
.global__lead {
  color: var(--ink-soft);
  margin-top: 1.4rem;
  max-width: 46ch;
}
.global__points {
  list-style: none;
  margin-top: 2.4rem;
  display: grid;
  gap: 1.4rem;
}
.global__points li {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}
.global__point-dot {
  flex: none;
  width: 14px; height: 14px;
  margin-top: 0.4rem;
  border-radius: 50%;
  background: var(--steel-400);
  box-shadow: 0 0 0 0 rgba(79, 116, 168, 0.5);
  animation: pulseDot 2.4s ease-out infinite;
}
.global__point-dot--gold {
  background: var(--gold-500);
  box-shadow: 0 0 0 0 rgba(201, 169, 106, 0.5);
  animation-delay: 1.2s;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(126, 156, 198, 0.45); }
  70% { box-shadow: 0 0 0 14px rgba(126, 156, 198, 0); }
  100% { box-shadow: 0 0 0 0 rgba(126, 156, 198, 0); }
}
.global__points strong {
  display: block;
  font-size: 1.1rem;
  color: var(--navy-900);
}
.global__points span:not(.global__point-dot) {
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.global__visual { position: relative; }
#globeCanvas {
  width: 100%;
  aspect-ratio: 1;
  max-width: 620px;
  margin-inline: auto;
}

/* ---------- Culture ---------- */
.culture {
  background: var(--ivory);
  overflow: hidden;
  padding-top: 3rem;
}
.culture__marquee { margin-bottom: clamp(2rem, 5vw, 4rem); }
.culture__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.culture__text p { color: var(--ink-soft); }
.culture__text p + p { margin-top: 1rem; }
.culture__text .section-title { margin-bottom: 1.4rem; }
.culture__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.culture-card {
  border-radius: var(--radius-md);
  padding: 1.9rem 1.6rem;
  background: linear-gradient(150deg, var(--navy-800), var(--navy-600));
  color: var(--ivory);
  box-shadow: 0 16px 40px rgba(16, 30, 56, 0.25);
  transition: transform 0.35s var(--ease-out);
  will-change: transform;
}
.culture-card:nth-child(2) { margin-top: 1.4rem; }
.culture-card:nth-child(4) { margin-top: 1.4rem; }
.culture-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--gold-300);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.culture-card span {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.875rem;
  color: rgba(247, 245, 240, 0.75);
}

/* ---------- Journey ---------- */
.journey__timeline {
  position: relative;
  max-width: 720px;
  margin-inline: auto;
  padding-left: 0;
}
.journey__line {
  position: absolute;
  left: 31px;
  top: 10px; bottom: 10px;
  width: 2px;
  background: rgba(29, 48, 80, 0.14);
  border-radius: 2px;
  overflow: hidden;
}
.journey__line i {
  display: block;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--gold-400), var(--gold-500));
}
.journey-step {
  position: relative;
  display: flex;
  gap: 2rem;
  padding-block: 2.2rem;
}
.journey-step__marker {
  flex: none;
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--white);
  border: 1.5px solid rgba(29, 48, 80, 0.16);
  box-shadow: 0 6px 18px rgba(16, 30, 56, 0.08);
  z-index: 1;
  transition: border-color 0.4s, box-shadow 0.4s;
}
.journey-step.is-active .journey-step__marker {
  border-color: var(--gold-500);
  box-shadow: 0 0 28px rgba(201, 169, 106, 0.35);
}
.journey-step__marker span {
  font-family: var(--font-display);
  color: var(--gold-deep);
  font-size: 1.05rem;
}
.journey-step__body h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.6rem;
  color: var(--navy-900);
  margin-bottom: 0.4rem;
}
.journey-step__body p {
  color: var(--ink-soft);
  max-width: 52ch;
}

/* ---------- Testimonials ---------- */
.testimonials { background: var(--ivory-dim); }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.quote-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.3rem 2rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(16, 30, 56, 0.05);
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  will-change: transform;
}
.quote-card:hover { box-shadow: var(--shadow-card-hover); }
.quote-card__mark { width: 34px; height: 34px; color: var(--gold-500); }
.quote-card blockquote {
  font-family: var(--font-display);
  font-size: 1.12rem;
  line-height: 1.5;
  color: var(--navy-800);
  flex: 1;
}
.quote-card figcaption strong { display: block; font-size: 0.95rem; color: var(--navy-900); }
.quote-card figcaption span { font-size: 0.85rem; color: var(--ink-faint); }

/* ---------- Offices ---------- */
.offices { background: var(--ivory); }
.offices__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}
.office-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(16, 30, 56, 0.05);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  will-change: transform;
}
.office-card:hover { box-shadow: var(--shadow-card-hover); }
.office-card__skyline {
  height: 150px;
  display: flex;
  align-items: flex-end;
  padding-inline: 1rem;
  position: relative;
  overflow: hidden;
}
.office-card__skyline svg { width: 100%; height: 78%; opacity: 0.9; }
.office-card__skyline--mumbai {
  background: linear-gradient(180deg, #d8a86a 0%, #c97e52 60%, #1d3050 100%);
  color: var(--navy-900);
}
.office-card__skyline--dubai {
  background: linear-gradient(180deg, #7e9cc6 0%, #c9a96a 60%, #16243d 100%);
  color: var(--navy-950);
}
.office-card__body { padding: 1.9rem 2rem 2.1rem; }
.office-card__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}
.office-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.7rem;
  color: var(--navy-900);
}
.office-card h3 span {
  font-size: 0.95rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-left: 0.5rem;
}
.office-card__clock {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--navy-700);
  font-size: 0.95rem;
}
.office-card__clock i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #3fae6a;
  animation: pulseDot 2s ease-out infinite;
}
.office-card p { color: var(--ink-soft); font-size: 0.95rem; }
.office-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 1.2rem;
}
.office-card__links a {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy-700);
  border-bottom: 1.5px solid var(--gold-500);
  transition: color 0.25s;
}
.office-card__links a:hover { color: var(--gold-500); }

/* ---------- CTA / Contact ---------- */
.cta {
  position: relative;
  overflow: hidden;
}
.cta__particles {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0.5;
}
.cta__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.cta__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height: 1.1;
  color: var(--navy-900);
  max-width: 16ch;
}
.cta__sub {
  margin-top: 1.4rem;
  color: var(--ink-soft);
  font-size: 1.1rem;
  max-width: 44ch;
}
.cta__points {
  list-style: none;
  margin-top: 2rem;
  display: grid;
  gap: 0.85rem;
}
.cta__points li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.cta__points svg { width: 18px; height: 18px; color: var(--gold-deep); flex: none; }
.cta__points a { color: var(--gold-deep); border-bottom: 1px solid rgba(169, 131, 60, 0.4); }
.cta__points a:hover { color: var(--gold-500); }

/* Inquiry form */
.cta__form-wrap {
  background: var(--white);
  border: 1px solid rgba(16, 30, 56, 0.08);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-card-hover);
}
.contact-form { display: grid; gap: 1.1rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.field { display: grid; gap: 0.45rem; }
.field__label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.field__label i { color: var(--gold-deep); font-style: normal; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(16, 30, 56, 0.16);
  background: var(--ivory);
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.field textarea { resize: vertical; min-height: 88px; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2344516b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.9rem center; padding-right: 2.4rem;
}
.field select option { background: var(--white); color: var(--ink); }
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-faint); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(201, 169, 106, 0.22);
}
.field input:user-invalid,
.field input[aria-invalid="true"] {
  border-color: #e0796b;
  box-shadow: 0 0 0 3px rgba(224, 121, 107, 0.16);
}
/* Honeypot — hide from humans */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.contact-form__submit {
  position: relative;
  justify-content: center;
  margin-top: 0.3rem;
}
.contact-form__spinner {
  position: absolute;
  width: 20px; height: 20px;
  border: 2px solid rgba(10, 20, 40, 0.35);
  border-top-color: var(--navy-950);
  border-radius: 50%;
  opacity: 0;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.contact-form.is-sending .contact-form__label,
.contact-form.is-sending .contact-form__arrow { opacity: 0; }
.contact-form.is-sending .contact-form__spinner { opacity: 1; }
.contact-form__submit[disabled] { cursor: not-allowed; opacity: 0.9; }
.contact-form__status {
  font-size: 0.9rem;
  min-height: 1.2em;
  margin-top: 0.2rem;
  color: var(--ink-soft);
}
.contact-form__status.is-success { color: #7fd6a3; }
.contact-form__status.is-error { color: #e79b8f; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-950);
  color: var(--steel-300);
  border-top: 1px solid rgba(126, 156, 198, 0.12);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr 1fr;
  gap: 2.2rem;
  padding-block: 4.5rem 3rem;
}
@media (max-width: 1000px) { .footer__inner { grid-template-columns: 1fr 1fr 1fr; } }
.footer__brand p { margin-top: 1.2rem; font-size: 0.92rem; line-height: 1.7; }
/* Footer is dark: render the navy logo as a light silhouette + keep text light */
.footer__logo .header__logo-mark { height: 46px; filter: brightness(0) invert(1); opacity: 0.9; }
.footer__logo .header__logo-text { font-size: 0.95rem; color: var(--ivory); }
.footer__logo .header__logo-text em { color: var(--gold-400); }
.footer__col { display: grid; gap: 0.65rem; align-content: start; }
.footer__col h4 {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ivory);
  margin-bottom: 0.5rem;
}
.footer__col a {
  font-size: 0.95rem;
  transition: color 0.25s, transform 0.25s var(--ease-out);
}
.footer__col a:hover { color: var(--gold-400); }
.footer__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.6rem;
  border-top: 1px solid rgba(126, 156, 198, 0.12);
  font-size: 0.85rem;
}

/* ---------- Reveal base states (JS animates in) ---------- */
/* initial blur is applied via JS (gsap.set) so it can be safely cleared */
.reveal { opacity: 0; transform: translateY(40px); will-change: transform, opacity; }

/* 3D perspective stage for card entrances */
.about__stats, .culture__cards, .testimonials__grid, .offices__grid, .services__track {
  perspective: 1100px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .hero__spiral { width: min(74vw, 340px); }
  .hero__orbit { display: none; }
  .hero { padding-top: 7rem; }
}

@media (max-width: 900px) {
  .header__nav, .header__cta { display: none; }
  .header__burger { display: flex; }

  .about__grid, .culture__grid, .global__grid { grid-template-columns: 1fr; }
  .people__grid { grid-template-columns: 1fr 1fr; }
  .about__banner { aspect-ratio: 16 / 9; }
  .global__visual { order: -1; }
  #globeCanvas { max-width: 440px; }

  .testimonials__grid { grid-template-columns: 1fr; }
  .offices__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .cta__grid { grid-template-columns: 1fr; }

  .services__head { flex-direction: column; align-items: flex-start; }
  .services__hint { display: none; }
  /* services fall back to native horizontal swipe on touch */
  .services__pin { min-height: auto; }
  .services__track {
    width: auto;
    overflow-x: auto;
    padding-inline: 1.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .service-card { scroll-snap-align: start; width: 82vw; max-width: 340px; }
}

@media (max-width: 560px) {
  .hero__meta { flex-wrap: wrap; gap: 1.1rem; }
  .hero__meta-divider { display: none; }
  .about__stats, .culture__cards { grid-template-columns: 1fr 1fr; gap: 0.9rem; }
  .culture-card:nth-child(even) { margin-top: 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .journey-step { gap: 1.2rem; }
  .journey-step__marker { width: 52px; height: 52px; }
  .journey__line { left: 25px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .hero__eyebrow, .hero__sub, .hero__actions, .hero__meta { opacity: 1 !important; transform: none !important; filter: none !important; }
  .hero__title .line > span { transform: none !important; }
  /* The WebGL staircase renders a single static frame under reduced motion (handled in staircase.js). */
  .split-lines .sl-inner { transform: none !important; }
  .manifesto__text .mw { opacity: 1 !important; filter: none !important; }
  .grain { display: none; }
}
