/* ============================================================
   APEXIFY — design system v5 ("Mono Circuit")
   Black & white. Professional, futuristic, precise.
   Type: Space Grotesk (display) / Satoshi (body) / Space Mono (labels)
   ============================================================ */

:root {
  --bg: #fafafa;
  --white: #ffffff;
  --ink: #0a0a0a;
  --gray-7: #3d3d3d;
  --gray-5: #757575;
  --gray-4: #9c9c9c;
  --gray-2: #e4e4e4;
  --gray-1: #f0f0f0;
  --gold: #0a0a0a;        /* accent = ink (mono, from the original site) */
  --gold-bright: #3d3d3d;
  --gold-deep: #0a0a0a;
  --line: rgba(10, 10, 10, 0.12);
  --line-dark: rgba(255, 255, 255, 0.14);
  --font-display: 'Space Grotesk', 'Helvetica Neue', sans-serif;
  --font-body: 'Satoshi', 'Inter', sans-serif;
  --font-mono: 'Space Mono', 'Courier New', monospace;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 84px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

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

::selection { background: var(--ink); color: var(--white); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.025em;
}
h1 .au, h2 .au { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
h3 .au { color: var(--ink); }

.container { width: min(1280px, 92vw); margin: 0 auto; }

/* ---------- grain ---------- */
.grain {
  pointer-events: none;
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  z-index: 200;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -2%); }
  80% { transform: translate(3%, 3%); }
}

/* ---------- page transition curtain ---------- */
.curtain {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: top;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.curtain .curtain-mark {
  width: 64px;
  opacity: 0;
  filter: grayscale(1) brightness(1.8);
}

/* ---------- navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 115;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}
.nav.scrolled {
  background: rgba(250, 250, 250, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  width: min(1380px, 94vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 34px; width: auto; filter: grayscale(1) brightness(0.25); }
.nav-logo span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.26em;
  color: var(--ink);
}
.nav-links { display: flex; align-items: center; gap: 40px; list-style: none; }
.nav-links a {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-5);
  position: relative;
  padding: 6px 0;
  transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-cta {
  color: var(--white) !important;
  background: var(--ink);
  padding: 11px 26px !important;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  transition: filter 0.3s, transform 0.3s var(--ease-out);
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--gray-7); transform: translateY(-2px); }

/* dark-hero pages: nav goes white until scrolled */
.dark-hero .nav:not(.scrolled) .nav-logo span { color: var(--white); }
.dark-hero .nav:not(.scrolled) .nav-logo img { filter: grayscale(1) invert(1) brightness(1.4); }
.dark-hero .nav:not(.scrolled) .nav-links a { color: rgba(255, 255, 255, 0.6); }
.dark-hero .nav:not(.scrolled) .nav-links a:hover,
.dark-hero .nav:not(.scrolled) .nav-links a.active { color: var(--white); }
.dark-hero .nav:not(.scrolled) .nav-links a::after { background: var(--gold); }
.dark-hero .nav:not(.scrolled) .burger span { background: var(--white); }

/* contact side panel trigger (desktop) */
.panel-trigger {
  background: none;
  border: 1px solid var(--line);
  width: 46px;
  height: 46px;
  margin-left: 18px;
  cursor: pointer;
  position: relative;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: border-color 0.3s, background 0.3s;
}
.panel-trigger:hover { border-color: var(--ink); background: rgba(10, 10, 10, 0.05); }
.panel-trigger span {
  position: absolute;
  left: 12px;
  width: 21px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.4s var(--ease-out), opacity 0.3s, top 0.4s var(--ease-out), width 0.3s;
}
.panel-trigger span:nth-child(1) { top: 16px; }
.panel-trigger span:nth-child(2) { top: 22px; width: 14px; }
.panel-trigger span:nth-child(3) { top: 28px; }
.panel-trigger:hover span:nth-child(2) { width: 21px; }
.dark-hero .nav:not(.scrolled) .panel-trigger span { background: var(--white); }
.dark-hero .nav:not(.scrolled) .panel-trigger { border-color: rgba(255, 255, 255, 0.25); }

.side-overlay {
  position: fixed;
  inset: 0;
  z-index: 125;
  background: rgba(5, 4, 2, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s, visibility 0.45s;
}
.side-overlay.open { opacity: 1; visibility: visible; }

.side-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 130;
  width: min(440px, 94vw);
  background: #0c0b09;
  color: var(--white);
  padding: clamp(28px, 4vh, 48px) clamp(26px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  transform: translateX(103%);
  transition: transform 0.6s var(--ease-out);
  overflow-y: auto;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}
.side-panel.open { transform: translateX(0); }
.sp-close {
  align-self: flex-end;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  width: 40px;
  height: 40px;
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s, transform 0.3s;
}
.sp-close:hover { border-color: var(--white); color: var(--white); transform: rotate(90deg); }
.sp-brand { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.sp-brand img { height: 46px; filter: sepia(1) saturate(2.4) hue-rotate(-14deg) brightness(1.05); }
.sp-brand span { font-weight: 700; font-size: 20px; letter-spacing: 0.28em; }
.sp-blurb { color: rgba(255, 255, 255, 0.55); font-size: 15px; line-height: 1.7; }
.sp-h {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 10px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.sp-row { display: flex; gap: 16px; align-items: flex-start; }
.sp-row i {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sp-row b {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 4px;
  font-weight: 400;
}
.sp-row a, .sp-row span { color: var(--white); font-size: 16px; }
.sp-row a:hover { color: rgba(255, 255, 255, 0.7); }
.sp-row small { display: block; font-family: var(--font-mono); font-size: 11.5px; color: rgba(255, 255, 255, 0.4); margin-top: 4px; }
.sp-cta { justify-content: center; margin-top: auto; }
.side-panel .btn-gold, .talk .btn-gold, .art-cta .btn-gold { background: var(--white); color: var(--ink); }
.side-panel .btn-gold:hover, .talk .btn-gold:hover, .art-cta .btn-gold:hover { background: var(--gray-2); }
@media (max-width: 900px) {
  .panel-trigger { display: none; } /* mobile menu already carries contact info */
}

/* burger */
.burger {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 120;
}
.burger span {
  position: absolute;
  left: 10px;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.4s var(--ease-out), top 0.4s var(--ease-out), opacity 0.3s, background 0.3s;
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
.burger.open span { background: var(--ink) !important; }
.burger.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(250, 250, 250, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 8vw;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s, visibility 0.5s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(34px, 9vw, 56px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 16px;
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.6s var(--ease-out), opacity 0.6s;
}
.mobile-menu.open a { transform: translateY(0); opacity: 1; }
.mobile-menu a i {
  font-style: normal;
  font-size: 12px;
  color: var(--gray-4);
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
}
.mobile-menu .mm-contact { margin-top: 28px; font-family: var(--font-body); font-size: 15px; color: var(--gray-5); border: 0; }

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 17px 38px;
  transition: transform 0.35s var(--ease-out), background 0.35s, color 0.35s, border-color 0.35s, box-shadow 0.35s;
}
.btn-gold {
  background: var(--ink);
  color: var(--white);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}
.btn-gold:hover { background: var(--gray-7); transform: translateY(-3px); }
.btn-invert {
  background: var(--white);
  color: var(--ink);
}
.btn-invert:hover { background: var(--gray-2); transform: translateY(-3px); }
.btn-ghost, .btn-ghost-dark { border: 1px solid rgba(10, 10, 10, 0.35); color: var(--ink); background: transparent; }
.btn-ghost::before, .btn-ghost-dark::before { content: '◆'; font-size: 8px; color: var(--gray-4); }
.btn-ghost:hover, .btn-ghost-dark:hover { border-color: var(--ink); background: rgba(10, 10, 10, 0.04); transform: translateY(-3px); }
.btn-ghost-light { border: 1px solid rgba(255, 255, 255, 0.4); color: var(--white); }
.btn-ghost-light::before { content: '◆'; font-size: 8px; color: rgba(255, 255, 255, 0.6); }
.btn-ghost-light:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); transform: translateY(-3px); }
.btn .arr { transition: transform 0.35s var(--ease-out); }
.btn:hover .arr { transform: translateX(5px); }

/* ---------- section primitives ---------- */
.section { position: relative; padding: clamp(90px, 12vw, 160px) 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gray-5);
  margin-bottom: 28px;
}
.eyebrow::before { content: '['; color: var(--gold); }
.eyebrow::after { content: ']'; color: var(--gold); }
.h-xl { font-size: clamp(48px, 8vw, 120px); }
.h-lg { font-size: clamp(38px, 5.6vw, 84px); }
.h-md { font-size: clamp(28px, 3.2vw, 46px); }
.lead { font-size: clamp(16px, 1.5vw, 19px); color: var(--gray-5); max-width: 56ch; }

.reveal-lines .line-wrap { display: block; overflow: hidden; }
.reveal-lines .line-inner { display: block; transform: translateY(110%); }
.fade-up { opacity: 0; transform: translateY(44px); }

/* jagged divider */
.jag { display: block; width: 100%; height: clamp(38px, 7vw, 92px); margin-bottom: -1px; }
.jag.flip { transform: scaleY(-1); margin-bottom: 0; margin-top: -1px; }

/* ============================================================
   HOME — HERO (black, AI core + circuit traces)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}
#peaks-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 110% at 60% 50%, transparent 62%, rgba(255, 255, 255, 0.7) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, transparent 14%, transparent 84%, #fafafa 100%);
}
.hero-grid {
  position: relative;
  z-index: 2;
  width: min(1380px, 94vw);
  margin: 0 auto;
  padding-top: var(--nav-h);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 24px;
  min-height: 100svh;
}
.hero-left { padding: 40px 0 70px; }
.hero-right { position: relative; height: 100%; min-height: 380px; pointer-events: none; }

/* HUD rings framing the particle hologram (canvas renders behind) */
.orb-hud {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(34vw, 520px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  opacity: 0;
}
.orb-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(10, 10, 10, 0.16);
}
.orb-ring.r1 { animation: orbSpin 26s linear infinite; border-style: dashed; }
.orb-ring.r2 {
  inset: -7%;
  border-color: rgba(10, 10, 10, 0.08);
  animation: orbSpin 40s linear infinite reverse;
}
@keyframes orbSpin { to { transform: rotate(360deg); } }
.orb-tick {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
}
.orb-tick.t1 { top: -4px; left: 50%; margin-left: -4px; }
.orb-tick.t2 { bottom: 4%; right: 4%; opacity: 0.5; }
.orb-caption {
  position: absolute;
  bottom: -52px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gray-4);
  white-space: nowrap;
  overflow: hidden;
}
.orb-caption span { display: inline-block; }
.orb-hud.dial-on .orb-ring { animation: none; transition: border-color 0.3s; }
.orb-hud.dial-hot .orb-ring.r1 { border-color: rgba(10, 10, 10, 0.5); }
.orb-dialhint {
  position: absolute;
  bottom: -78px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gray-4);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.35s;
}
.orb-hud.dial-hot .orb-dialhint { opacity: 1; }
.orb-hud.dial-grab .orb-ring.r1 { border-color: rgba(10, 10, 10, 0.65); }
.orb-hud.dial-grab .orb-dialhint { opacity: 0; }
.orb-caption::before { content: '[ '; color: rgba(10, 10, 10, 0.45); }
.orb-caption::after { content: ' ]'; color: rgba(10, 10, 10, 0.45); }

.hero-mstats {
  display: flex;
  gap: clamp(18px, 2.6vw, 44px);
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-4);
  opacity: 0;
  flex-wrap: wrap;
}
.hero-mstats b { color: var(--gold-deep); font-weight: 700; margin-right: 6px; }

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray-5);
  border: 1px solid var(--line);
  padding: 9px 20px;
  margin-bottom: 32px;
}
.hero-chip span { color: var(--gold-deep); font-size: 8px; animation: blink 2.4s steps(1) infinite; }
@keyframes blink { 0%, 70% { opacity: 1; } 71%, 100% { opacity: 0.15; } }
.hero-h1 {
  font-size: clamp(44px, 6.2vw, 104px);
  color: var(--ink);
  letter-spacing: -0.035em;
  line-height: 0.99;
}
.hero-h1 .au { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.hero-h1 .hl-wrap { display: block; overflow: hidden; }
.hero-h1 .hl { display: block; transform: translateY(112%); }

/* live-typing headline */
#hero-type { min-height: 2.97em; opacity: 0; }
.type-caret {
  display: inline-block;
  width: 0.07em;
  height: 0.82em;
  margin-left: 0.06em;
  background: var(--gold);
  vertical-align: baseline;
  transform: translateY(0.08em);
}
.type-caret.idle { animation: caretBlink 0.95s step-end infinite; }
@keyframes caretBlink { 50% { opacity: 0; } }
@media (max-width: 900px) {
  #hero-type { min-height: 3.96em; }
}
.hero-sub {
  margin: 26px 0 0;
  max-width: 46ch;
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--gray-5);
  opacity: 0;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
  opacity: 0;
}
.hero-corner {
  position: absolute;
  bottom: 34px;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gray-4);
}
.hero-corner.l { left: 3vw; }
.hero-corner.r { right: 3vw; text-align: right; }
.hero-chevron {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: var(--gold-deep);
  font-size: 22px;
  animation: chev 2.2s var(--ease-out) infinite;
}
@keyframes chev {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.9; }
  50% { transform: translate(-50%, 10px); opacity: 0.4; }
}

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 20px 0;
  background: var(--white);
}
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee-track span {
  font-family: var(--font-mono);
  font-size: clamp(13px, 1.6vw, 17px);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gray-4);
  padding: 0 30px;
  white-space: nowrap;
}
.marquee-track span b { color: var(--ink); font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- ambition (white + gray strata parallax) ---------- */
.ambition { padding-bottom: clamp(140px, 22vw, 300px); background: var(--bg); }
.ambition h2 { font-size: clamp(44px, 6.4vw, 100px); }
.ambition .lead { margin-top: 30px; }
.ambition .btn { margin-top: 38px; }
.ambition-inner { position: relative; z-index: 2; }
.altitude {
  position: absolute;
  top: 50%;
  right: 3vw;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.3);
  z-index: 2;
}
.ridge-layers { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.ridge-layers svg { position: absolute; bottom: -2px; left: 50%; transform: translateX(-50%); width: max(100%, 1400px); height: auto; }

/* ---------- services (white editorial list) ---------- */
.sec-services { background: var(--white); }
.svc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(40px, 5vw, 70px); flex-wrap: wrap; }
/* interactive showcase: dark preview stage + compact index */
.svc-duo {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: stretch;
}
.svc-stage {
  position: relative;
  background: #0c0b09;
  color: var(--white);
  padding: clamp(30px, 3.4vw, 52px);
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 30px 100%, 0 calc(100% - 30px));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 380px;
  overflow: hidden;
  cursor: pointer;
}
.svc-stage::before {
  /* faint topo rings */
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 82% 18%, transparent 58px, rgba(255, 255, 255, 0.10) 59px, transparent 60px),
    radial-gradient(circle at 82% 18%, transparent 102px, rgba(255, 255, 255, 0.08) 103px, transparent 104px),
    radial-gradient(circle at 82% 18%, transparent 150px, rgba(255, 255, 255, 0.06) 151px, transparent 152px),
    radial-gradient(circle at 82% 18%, transparent 202px, rgba(255, 255, 255, 0.04) 203px, transparent 204px);
}
.svc-stage::after {
  content: '';
  position: absolute;
  top: 20px;
  right: 20px;
  width: 8px;
  height: 8px;
  background: var(--white);
  transform: rotate(45deg);
}
.ss-num {
  position: absolute;
  top: 8px;
  right: 30px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(90px, 9vw, 150px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.35);
  pointer-events: none;
}
.ss-title {
  font-size: clamp(28px, 2.8vw, 44px);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.ss-desc {
  color: rgba(255, 255, 255, 0.55);
  font-size: 15.5px;
  max-width: 44ch;
  margin-bottom: 28px;
  min-height: 3.2em;
}
.ss-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 18px;
}
.ss-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.ss-open {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
  transition: color 0.3s;
}
.ss-open:hover { color: rgba(255, 255, 255, 0.65); }

.svc-index { display: flex; flex-direction: column; justify-content: center; }
.si-item {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 15px 4px 15px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.35s var(--ease-out);
}
.si-item i {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray-4);
  transition: color 0.3s;
}
.si-item span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(17px, 1.5vw, 21px);
  letter-spacing: 0.01em;
  color: var(--gray-5);
  transition: color 0.3s;
}
.si-item::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 1px;
  width: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.si-item.active { padding-left: 16px; }
.si-item.active::before { transform: scaleX(1); }
.si-item.active i { color: var(--gold-deep); }
.si-item.active span { color: var(--ink); }
.si-item:hover span { color: var(--ink); }
.si-more {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-5);
  transition: color 0.3s;
}
.si-more:hover { color: var(--gold-deep); }
.si-more b { color: var(--gold-deep); font-weight: 700; }

/* stats strip */
.stats-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
  margin-top: clamp(60px, 7vw, 100px);
  padding-top: clamp(36px, 4vw, 56px);
  border-top: 1px solid var(--line);
}
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(40px, 4.6vw, 72px);
  font-weight: 600;
  color: var(--gold-deep);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}
.stat span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray-4); }

.constellation {
  position: absolute;
  top: 60px;
  right: 2vw;
  width: 280px;
  opacity: 0.5;
  pointer-events: none;
}

/* ---------- expedition (light gray, pinned horizontal) ---------- */
.sec-camel { background: var(--gray-1); color: var(--ink); }
.sec-camel .watermark-ridge {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='400' viewBox='0 0 600 400'%3E%3Cpath d='M0 320 L140 140 L220 230 L320 80 L430 240 L520 150 L600 280' fill='none' stroke='rgba(10,10,10,0.06)' stroke-width='1.5'/%3E%3C/svg%3E");
  background-size: 720px auto;
  background-repeat: repeat;
}
.hwrap {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 2 * clamp(38px, 7vw, 92px));
  display: flex;
  align-items: center;
}
.htrack {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  padding: 0 6vw;
  width: max-content;
}
.hintro { width: min(460px, 78vw); flex-shrink: 0; }
.hintro h2 { font-size: clamp(36px, 4.6vw, 68px); }
.hintro h2 .au { color: var(--gold-deep); }
.hintro p { margin-top: 20px; color: var(--gray-5); font-size: 17px; max-width: 40ch; }
.xcard {
  flex-shrink: 0;
  width: min(380px, 78vw);
  background: var(--ink);
  color: var(--white);
  padding: clamp(30px, 3vw, 44px) clamp(26px, 2.6vw, 38px);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 26px 100%, 0 calc(100% - 26px));
  position: relative;
}

/* flowing single-row variant — the home "expertise" cards */
.xcard-flow {
  overflow: hidden;
  margin-inline: calc(50% - 50vw); /* full-bleed row */
  padding: 14px 0 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  cursor: grab;
}
.xcard-flow.dragging { cursor: grabbing; }
.xcard-flow.dragging .xcard { pointer-events: none; }
.xcard-track {
  display: flex;
  gap: 18px;
  width: max-content;
  will-change: transform;
  touch-action: pan-y; /* horizontal drag is ours; vertical stays with the page */
}
.xcard-track .xcard {
  width: min(380px, 80vw);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.45s;
}
.xcard-track .xcard:hover { box-shadow: 0 26px 52px rgba(10, 10, 10, 0.22); }
.xcard-track .xcard i { margin-bottom: 38px; }
.xcard-track .xcard p { flex: 1; }
.xc-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
}
.xc-link b { color: rgba(255, 255, 255, 0.45); font-weight: 400; }
.xc-link span { color: var(--white); white-space: nowrap; transition: transform 0.35s var(--ease-out); }
.xcard-grid .xcard:hover .xc-link span { transform: translateX(4px); }
.xflow-ui {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.xflow-arrows { display: flex; gap: 10px; }
#svc-more { display: inline-block; }

.xcard i {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 46px;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.45);
  display: block;
  line-height: 1;
  margin-bottom: 54px;
}
.xcard h3 { font-size: 25px; margin-bottom: 14px; color: var(--white); }
.xcard p { font-size: 15px; color: rgba(255, 255, 255, 0.55); }
.xcard::after {
  content: '';
  position: absolute;
  top: 18px;
  right: 18px;
  width: 8px;
  height: 8px;
  background: var(--white);
  transform: rotate(45deg);
}
@media (max-width: 900px) {
  .hwrap { overflow-x: auto; scroll-snap-type: x mandatory; min-height: 0; padding: clamp(50px, 8vw, 90px) 0; }
  .htrack { padding: 0 6vw 18px; }
  .xcard, .hintro { scroll-snap-align: start; }
}

/* ---------- let's talk (black) ---------- */
.talk { position: relative; background: #070707; overflow: hidden; }
.talk-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 480px; }
.talk-art {
  position: relative;
  clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%);
  background: #0f0f0f;
  overflow: hidden;
  border-right: 1px solid var(--line-dark);
}
.talk-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.talk-art .sun {
  position: absolute;
  top: 38%;
  left: 38%;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.06) 60%, transparent 70%);
  animation: corePulse 3.5s ease-in-out infinite;
}
@keyframes corePulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.25); opacity: 0.5; }
}
.talk-copy {
  padding: clamp(50px, 7vw, 100px) clamp(28px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  color: var(--white);
}
.talk-copy .eyebrow { color: var(--gray-4); }
.talk-copy h2 { font-size: clamp(36px, 4.6vw, 64px); }
.talk-copy h2 .au { color: transparent; -webkit-text-stroke: 1.5px var(--white); }
.talk-copy .tc-line { display: flex; align-items: center; gap: 14px; font-size: clamp(16px, 1.6vw, 20px); }
.talk-copy .tc-line span:first-child { color: var(--gray-4); font-size: 15px; }
.talk-copy .tc-line a:hover { color: var(--gray-4); }
.talk-copy .eyebrow::before, .talk-copy .eyebrow::after { color: rgba(255, 255, 255, 0.5); }

/* ---------- footer (black) ---------- */
.footer {
  position: relative;
  border-top: 1px solid var(--line-dark);
  background: #070707;
  color: #f0f0f0;
  padding: clamp(70px, 8vw, 110px) 0 36px;
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 70px;
}
.footer-brand img { height: 44px; margin-bottom: 20px; filter: grayscale(1) invert(1) brightness(1.4); }
.footer-brand p { color: rgba(255, 255, 255, 0.4); font-size: 15px; max-width: 36ch; }
.footer h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 22px;
}
.footer ul { list-style: none; display: grid; gap: 12px; }
.footer ul a, .footer ul li { color: rgba(255, 255, 255, 0.6); font-size: 15px; transition: color 0.3s; }
.footer ul a:hover { color: var(--white); }
.footer-admin {
  margin-left: 14px;
  color: rgba(255, 255, 255, 0.35);
  font-family: var(--font-mono);
  font-size: 12px;
  transition: color 0.3s;
}
.footer-admin:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, 0.35);
  font-size: 13px;
  flex-wrap: wrap;
}
.footer-watermark {
  position: absolute;
  left: 50%;
  bottom: -0.32em;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(90px, 16vw, 240px);
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  line-height: 1;
}

/* ---------- custom cursor ---------- */
.cursor-dot, .cursor-ring, .cursor-trail { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor-trail {
    display: block;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 395;
    mix-blend-mode: difference;
  }
}
@media (hover: hover) and (pointer: fine) {
  .cursor-dot, .cursor-ring {
    display: block;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 400;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
  }
  .cursor-dot { width: 6px; height: 6px; background: #fff; }
  .cursor-ring {
    width: 40px; height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    transition: width 0.3s, height 0.3s, background 0.3s, border-color 0.3s;
    display: flex; align-items: center; justify-content: center;
  }
  .cursor-ring .cursor-label {
    font-family: var(--font-mono);
    font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
    color: #000; opacity: 0; transition: opacity 0.2s;
  }
  .cursor-ring.is-link { width: 64px; height: 64px; background: rgba(255, 255, 255, 0.2); }
  .cursor-ring.is-view { width: 92px; height: 92px; background: #fff; border-color: #fff; }
  .cursor-ring.is-view .cursor-label { opacity: 1; }
}

/* ============================================================
   SPHERE GALLERY (mono light)
   ============================================================ */
.gallery-page { overflow: hidden; height: 100svh; background: var(--gray-1); }
#sphere-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none;
}
#sphere-canvas.dragging { cursor: grabbing; }
.gallery-hud { position: fixed; inset: 0; pointer-events: none; z-index: 50; }
.hud-title {
  position: absolute;
  top: calc(var(--nav-h) + 14px);
  left: 3vw;
}
.hud-title h1 { font-size: clamp(26px, 2.6vw, 38px); color: var(--ink); }
.hud-title p { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gray-4); margin-top: 6px; }
.hud-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-4);
  white-space: nowrap;
}
.hud-hint .drag-ico {
  width: 34px; height: 34px;
  border: 1px solid rgba(154, 122, 64, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-deep);
  font-size: 13px;
  animation: dragNudge 2.4s var(--ease-out) infinite;
}
@keyframes dragNudge {
  0%, 100% { transform: translateX(-6px); }
  50% { transform: translateX(6px); }
}
.hud-active {
  position: absolute;
  bottom: 76px;
  left: 0;
  right: 0;
  text-align: center;
  overflow: hidden;
  pointer-events: none;
}
.hud-active span {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(26px, 4.4vw, 64px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-shadow: 0 4px 40px rgba(240, 240, 240, 0.9);
}
.hud-counter {
  position: absolute;
  top: calc(var(--nav-h) + 22px);
  right: 3vw;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--gray-4);
  letter-spacing: 0.12em;
}
.hud-counter b { color: var(--gold-deep); font-weight: 700; }

/* card-open overlay */
.open-overlay {
  position: fixed;
  z-index: 250;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
}
.open-overlay .oo-bg { position: absolute; inset: 0; }
.open-overlay .oo-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 14px;
  opacity: 0;
}
.open-overlay .oo-num { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.34em; color: var(--gold-deep); }
.open-overlay .oo-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 6vw, 88px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* ============================================================
   INNER PAGES (light mono)
   ============================================================ */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(60px, 10vh, 120px)) 0 clamp(50px, 7vw, 90px);
  overflow: hidden;
  background: linear-gradient(180deg, var(--white), var(--bg));
}
.page-hero .ph-num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.34em;
  color: var(--gold-deep);
  display: block;
  margin-bottom: 18px;
}
.page-hero h1 { font-size: clamp(44px, 7.5vw, 110px); }
.page-hero .lead { margin-top: 28px; }
.ph-glow {
  position: absolute;
  top: -240px;
  right: -160px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.1;
  pointer-events: none;
}
.crumbs { display: flex; gap: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray-4); margin-bottom: 34px; }
.crumbs a:hover { color: var(--ink); }

.detail-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.detail-body h2 { font-size: clamp(24px, 2.6vw, 36px); margin: 0 0 22px; }
.detail-body p { color: var(--gray-5); margin-bottom: 20px; }
.points { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); margin-top: 12px; }
.points li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 17px;
}
.points li::before {
  content: '◆';
  font-size: 8px;
  color: var(--gold);
}
.detail-aside {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  border: 1px solid var(--line);
  background: var(--white);
  padding: 36px 32px;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
  box-shadow: 0 24px 48px rgba(10, 10, 10, 0.08);
}
.detail-aside h3 { font-size: 24px; margin-bottom: 12px; color: var(--ink); }
.detail-aside p { color: var(--gray-5); font-size: 15px; margin-bottom: 26px; }
.detail-aside .btn { width: 100%; justify-content: center; }
.detail-aside .aside-contact { margin-top: 24px; display: grid; gap: 8px; font-size: 14px; color: var(--gray-5); }
.detail-aside .aside-contact a:hover { color: var(--ink); }

.more-rail { margin-top: clamp(70px, 9vw, 130px); }
.more-rail h2 { font-size: clamp(26px, 3vw, 42px); margin-bottom: 36px; }
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 14px;
}
.rail::-webkit-scrollbar { height: 4px; }
.rail::-webkit-scrollbar-thumb { background: var(--gray-2); border-radius: 4px; }
.rail-card {
  scroll-snap-align: start;
  border: 1px solid var(--line);
  padding: 28px 24px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 50px;
  justify-content: space-between;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  transition: transform 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
}
.rail-card:hover { transform: translateY(-6px); border-color: var(--ink); box-shadow: 0 18px 40px rgba(10, 10, 10, 0.1); }
.rail-card .n { font-family: var(--font-mono); color: var(--gold-deep); font-size: 13px; letter-spacing: 0.2em; }
.rail-card h3 { font-size: 21px; color: var(--ink); }
.rail-card span { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray-4); }

/* about */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.value-card { background: var(--white); padding: clamp(30px, 3.4vw, 48px) clamp(24px, 2.6vw, 40px); transition: background 0.4s; }
.value-card:hover { background: var(--gray-1); }
.value-card h3 { font-size: 24px; margin-bottom: 14px; color: var(--ink); }
.value-card p { color: var(--gray-5); font-size: 15px; }
.value-card .vc-ico { color: var(--gold); font-size: 20px; margin-bottom: 44px; display: block; }

.intro-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stats .stat { background: var(--white); padding: 34px 28px; }

.cta-final { text-align: center; position: relative; overflow: hidden; }
.cta-final h2 { font-size: clamp(40px, 7vw, 110px); margin-bottom: 40px; }
.cta-final h2 em { font-style: normal; color: var(--gold); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(44px, 6vw, 100px); align-items: start; }
.contact-info { display: grid; gap: 34px; }
.contact-info .ci b {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 10px;
}
.contact-info .ci a, .contact-info .ci span { font-size: clamp(17px, 1.8vw, 22px); color: var(--ink); font-family: var(--font-display); font-weight: 500; }
.contact-info .ci a:hover { color: var(--gold-deep); }
.contact-info .ci .ci-sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--gray-4);
  margin-top: 6px;
  font-weight: 400;
}
a.ci-sub:hover { color: var(--gold-deep) !important; }
.form { display: grid; gap: 26px; }
.form .field { position: relative; }
.form label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray-4);
  margin-bottom: 10px;
}
.form input, .form textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(10, 10, 10, 0.3);
  color: var(--ink);
  font: 500 18px/1.5 var(--font-body);
  padding: 10px 2px 14px;
  outline: none;
  transition: border-color 0.3s;
  border-radius: 0;
}
.form input:focus, .form textarea:focus { border-color: var(--ink); }
.form input::placeholder, .form textarea::placeholder { color: rgba(10, 10, 10, 0.25); }
.form textarea { resize: vertical; min-height: 130px; }
.form-status { font-size: 14px; min-height: 20px; }
.form-status.ok { color: #3d6b35; }
.form-status.err { color: #9c3a25; }

/* ============================================================
   JOURNEY (home) — pinned scroll steps + evolving hologram
   ============================================================ */
.journey {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(circle, rgba(10, 10, 10, 0.06) 1px, transparent 1.5px) 0 0 / 26px 26px,
    var(--white);
  overflow: hidden;
  display: flex;
  align-items: center;
}
#journey-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.journey::before {
  /* readability scrim behind the step list */
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.86) 36%, transparent 64%);
}
.journey-inner { position: relative; z-index: 1; width: min(1280px, 92vw); }
.j-left { max-width: 560px; padding: clamp(60px, 8vh, 100px) 0; }
.j-steps { margin-top: clamp(28px, 4vh, 46px); }
.j-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 13px 0;
  cursor: pointer;
  transition: opacity 0.4s;
  opacity: 0.42;
}
.j-step.active { opacity: 1; }
.j-step:hover { opacity: 0.85; }
.j-step.active:hover { opacity: 1; }
.j-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(10, 10, 10, 0.07);
  transition: background 0.35s, color 0.35s, transform 0.35s var(--ease-out);
}
.j-step.active .j-num { background: var(--ink); color: var(--white); transform: scale(1.06); }
.j-content { min-width: 0; padding-top: 5px; }
.j-step h3 { font-size: clamp(18px, 1.8vw, 23px); letter-spacing: -0.01em; }
.j-body-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s var(--ease-out);
}
.j-step.active .j-body-wrap { grid-template-rows: 1fr; }
.j-body {
  overflow: hidden;
  margin-top: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--gray-5);
  border-left: 2px solid var(--ink);
  padding-left: 0;
  opacity: 0;
  transition: opacity 0.4s 0.15s, margin 0.4s, padding 0.4s;
}
.j-step.active .j-body { margin-top: 10px; padding-left: 16px; opacity: 1; }
.j-progress {
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 2px;
}
@media (max-width: 900px) {
  .journey { min-height: 0; padding: 70px 0; }
  #journey-canvas { display: none; }
  .j-left { max-width: none; padding: 0; }
  .j-step { opacity: 1; cursor: default; }
  .j-step .j-body-wrap { grid-template-rows: 1fr; }
  .j-step .j-body { margin-top: 10px; padding-left: 16px; opacity: 1; }
  .j-step .j-num { background: var(--ink); color: var(--white); }
}

/* ============================================================
   CAPABILITIES (services) page
   ============================================================ */
#cap-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.page-hero.cap-hero, .cap-nav, #practices, body[data-page="services"] .cta-final {
  position: relative;
  z-index: 1;
}
.cap-hero { padding-bottom: clamp(30px, 4vw, 56px); background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(250, 250, 250, 0.82)); }
.cap-hero h1 { font-size: clamp(40px, 6.5vw, 96px); }
.cap-h1 { font-size: clamp(36px, 5.2vw, 78px) !important; }

/* hero icon ticker (à la about.google/products) */
.icon-ticker {
  position: relative;
  padding: 6px 0 clamp(28px, 4vw, 48px);
  margin-top: -20px;
}
.it-clip {
  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);
}
.it-track {
  display: flex;
  gap: clamp(14px, 2vw, 26px);
  width: max-content;
  will-change: transform;
  padding: 10px 0;
}
.it-tile {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pa, var(--ink));
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(10, 10, 10, 0.05);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.35s;
}
.it-tile:hover {
  transform: translateY(-6px) scale(1.12);
  border-color: color-mix(in srgb, var(--pa, var(--ink)) 55%, transparent);
  box-shadow: 0 14px 28px color-mix(in srgb, var(--pa, var(--ink)) 22%, transparent);
}
.it-pause {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-70%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  font-size: 10px;
  color: var(--gray-5);
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s;
}
.it-pause:hover { color: var(--ink); border-color: var(--ink); }

/* embedded ticker variant (contact page, service detail) */
.ticker-flat { margin-top: 0; padding: 0; }
.ticker-strip { padding: clamp(28px, 4vw, 44px) 0; border-block: 1px solid var(--line); background: var(--white); }
.ticker-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray-4);
  margin-bottom: 22px;
}

/* hero quick-link pills */
.cap-pills {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin-top: 34px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--white);
  box-shadow: 0 4px 18px rgba(10, 10, 10, 0.05);
}
.cap-pills a {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--gray-7);
  padding: 10px 20px;
  border-radius: 100px;
  transition: background 0.3s, color 0.3s;
}
.cap-pills a:hover { background: var(--gray-1); color: var(--ink); }
.cap-pills a.pill-cta { background: var(--ink); color: var(--white); }
.cap-pills a.pill-cta:hover { background: var(--gray-7); }

/* card icon tile */
.sc-ico {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--pa, var(--ink));
  background: color-mix(in srgb, var(--pa, var(--ink)) 10%, #ffffff);
  transition: transform 0.4s var(--ease-out);
}
.svc-card:hover .sc-ico { transform: scale(1.1) rotate(-4deg); }

.cap-scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray-4);
}
.cap-scroll-hint i {
  width: 44px;
  height: 1px;
  background: var(--ink);
  transform-origin: left;
  animation: hintSweep 2.2s var(--ease-out) infinite;
}
@keyframes hintSweep {
  0% { transform: scaleX(0); opacity: 0.9; }
  60% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(1); opacity: 0; }
}
.cap-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
}

/* sticky scroll-spy practice switcher */
.cap-nav {
  position: sticky;
  top: var(--nav-h);
  z-index: 40;
  background: rgba(250, 250, 250, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-block: 1px solid var(--line);
}
.cap-nav-inner { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.cap-nav-inner::-webkit-scrollbar { display: none; }
.cap-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 26px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-5);
  white-space: nowrap;
  position: relative;
  transition: color 0.3s;
}
.cap-tab i { font-style: normal; color: var(--gray-4); transition: color 0.3s; }
.cap-tab::after {
  content: '';
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%; height: 2px;
  background: var(--pa, var(--ink));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.cap-tab:hover { color: var(--ink); }
.cap-tab.active { color: var(--ink); }
.cap-tab.active i { color: var(--pa, var(--ink)); }
.cap-tab.active::after { transform: scaleX(1); }

/* practice section: sticky head + card grid */
.practice {
  position: relative;
  padding: clamp(60px, 8vw, 110px) 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.practice:nth-child(even) { background: rgba(255, 255, 255, 0.72); }
.practice-bignum {
  position: absolute;
  top: 0;
  right: -1vw;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(180px, 26vw, 420px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(10, 10, 10, 0.07);
  pointer-events: none;
  user-select: none;
}
.practice-inner { display: grid; grid-template-columns: 0.85fr 2fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.practice-head { position: sticky; top: calc(var(--nav-h) + 80px); }
.ph-index { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em; color: var(--gray-4); }
.practice-title { font-size: clamp(30px, 3.6vw, 52px); margin: 14px 0 10px; letter-spacing: -0.02em; }
.practice-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pa, var(--ink));
  border: 1px solid color-mix(in srgb, var(--pa, var(--ink)) 45%, transparent);
  padding: 5px 12px;
  margin-bottom: 20px;
}
.practice-blurb { color: var(--gray-5); font-size: 15.5px; max-width: 34ch; }
.practice-count { display: block; margin-top: 22px; font-family: var(--font-mono); font-size: 12px; color: var(--gray-4); letter-spacing: 0.1em; }

/* practice carousel */
.carousel { min-width: 0; }
.car-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 26px 4px 30px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  outline: none;
}
.car-track::-webkit-scrollbar { display: none; }
.car-track.dragging { cursor: grabbing; user-select: none; }
.car-track.dragging .svc-card { pointer-events: none; }
.car-ui {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 6px;
}
.car-btn {
  width: 44px;
  height: 44px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 16px;
  color: var(--ink);
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease-out);
}
.car-btn:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); }
.car-meter {
  flex: 1;
  height: 1px;
  background: var(--gray-2);
  position: relative;
  overflow: hidden;
}
.car-meter i {
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleX(0.04);
  transform-origin: left;
  transition: transform 0.15s linear;
}
.car-count {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--gray-5);
  white-space: nowrap;
}
.car-track { perspective: 900px; }
.svc-card {
  position: relative;
  flex: 0 0 min(340px, 78vw);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px 26px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
  transition: border-color 0.45s, background 0.45s, box-shadow 0.45s;
  transform-style: preserve-3d;
  will-change: transform;
  --mx: 50%;
  --my: 50%;
}
.sc-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--pa, var(--ink)), color-mix(in srgb, var(--pa, var(--ink)) 35%, #ffffff));
}
.sc-link {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
}
.sc-link i { font-style: normal; transition: transform 0.35s var(--ease-out); }
.svc-card:hover .sc-link { color: var(--pa, var(--ink)); }
.svc-card:hover .sc-link i { transform: translate(3px, -3px); }
.svc-card::after {
  /* cursor spotlight */
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(220px circle at var(--mx) var(--my), rgba(10, 10, 10, 0.05), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s;
}
.svc-card:hover::after { opacity: 1; }
.practice:nth-child(even) .svc-card { background: var(--bg); }
.svc-card:hover { border-color: color-mix(in srgb, var(--pa, var(--ink)) 60%, transparent); box-shadow: 0 24px 48px color-mix(in srgb, var(--pa, var(--ink)) 12%, transparent); }
.sc-top { display: flex; justify-content: space-between; align-items: center; }
.sc-num { font-family: var(--font-mono); font-size: 13px; color: var(--gray-4); letter-spacing: 0.1em; }
.sc-arrow { font-size: 18px; color: var(--ink); transform: translate(-6px, 0); opacity: 0; transition: 0.4s var(--ease-out); }
.svc-card:hover .sc-arrow { transform: translate(0, 0); opacity: 1; }
.svc-card h3 { font-size: 21px; letter-spacing: -0.01em; line-height: 1.2; min-height: 2.4em; }
.sc-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray-4); }
.svc-card p { font-size: 14px; color: var(--gray-5); line-height: 1.6; min-height: 6.4em; margin-bottom: 10px; }
.sc-points { list-style: none; display: grid; gap: 7px; margin-top: 6px; }
.sc-points li { position: relative; padding-left: 18px; font-size: 13px; color: var(--gray-7); }
.sc-points li::before { content: '◆'; position: absolute; left: 0; top: 1px; font-size: 7px; color: var(--ink); }

@media (max-width: 900px) {
  .practice-inner { grid-template-columns: 1fr; gap: 28px; }
  .practice-head { position: static; }
  .practice-blurb { max-width: none; }
}

/* ============================================================
   BLOG — insights index, article, prose
   ============================================================ */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: clamp(20px, 2.6vw, 36px);
}
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s, border-color 0.4s;
}
.post-card:hover {
  transform: translateY(-6px);
  border-color: rgba(10, 10, 10, 0.45);
  box-shadow: 0 24px 48px rgba(10, 10, 10, 0.1);
}
.pc-media { aspect-ratio: 16 / 9; overflow: hidden; }
.pc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7);
  transition: transform 0.6s var(--ease-out), filter 0.6s;
}
.post-card:hover .pc-media img { transform: scale(1.05); filter: saturate(1); }
.pc-body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.pc-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-4);
  flex-wrap: wrap;
}
.pc-tag { color: var(--gold-deep); font-weight: 700; }
.pc-body h3 { font-size: 20px; letter-spacing: -0.01em; color: var(--ink); line-height: 1.25; }
.pc-body p { font-size: 14.5px; color: var(--gray-5); flex: 1; }
.pc-more {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.3s;
}
.post-card:hover .pc-more { color: var(--gold-deep); }
.post-empty { color: var(--gray-5); text-align: center; padding: 60px 0; }

/* article page */
.article-measure { max-width: 780px; }
.article-hero { padding-bottom: clamp(26px, 4vw, 44px); }
.article-hero h1 { font-size: clamp(32px, 4.6vw, 58px); letter-spacing: -0.02em; }
.art-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-4);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.art-cover {
  margin: 0 0 clamp(34px, 4vw, 54px);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 26px 100%, 0 calc(100% - 26px));
}
.art-cover img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }

.prose { font-size: 17px; line-height: 1.75; color: var(--gray-7); }
.prose p { margin-bottom: 22px; }
.prose h2 {
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 44px 0 16px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.prose h3 { font-size: 20px; color: var(--ink); margin: 30px 0 12px; }
.prose ul { margin: 0 0 22px; padding-left: 2px; list-style: none; }
.prose li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
}
.prose li::before {
  content: '◆';
  position: absolute;
  left: 2px;
  top: 1px;
  font-size: 8px;
  color: var(--gold);
}
.prose strong { color: var(--ink); }
.prose blockquote {
  border-left: 2px solid var(--gold);
  padding: 6px 0 6px 22px;
  margin: 0 0 22px;
  color: var(--ink);
  font-size: 19px;
}
.prose a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }

.art-cta {
  margin: clamp(44px, 6vw, 70px) 0 0;
  background: #0c0b09;
  color: var(--white);
  padding: clamp(28px, 3vw, 40px);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.art-cta h3 { font-size: 22px; margin-bottom: 6px; }
.art-cta p { color: rgba(255, 255, 255, 0.55); font-size: 14.5px; }

/* about page team duo */
.about-duo {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
}
.about-photo {
  margin: 0;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
}
.about-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(0.85); }
@media (max-width: 900px) {
  .about-duo { grid-template-columns: 1fr; }
}

/* clients strip */
.clients { padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--line); }
.clients-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray-4);
  margin-bottom: 30px;
}
.clients-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(28px, 4.5vw, 64px);
}
.clients-row img {
  height: 34px;
  width: auto;
  filter: grayscale(1) opacity(0.55);
  transition: filter 0.35s;
}
.clients-row img:hover { filter: grayscale(0) opacity(1); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .values-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  :root { --nav-h: 68px; }
  .nav-links { display: none; }
  .burger { display: block; }
  .intro-grid, .detail-grid, .contact-grid { grid-template-columns: 1fr; }
  .detail-aside { position: static; }
  .footer-grid { grid-template-columns: 1fr; gap: 38px; }
  .svc-duo { grid-template-columns: 1fr; }
  .svc-stage { min-height: 0; order: 2; }
  .svc-index { order: 1; margin-bottom: 26px; }
  .ss-desc { min-height: 0; }
  .talk-grid { grid-template-columns: 1fr; }
  .talk-art { clip-path: polygon(0 0, 100% 0, 100% 78%, 0 100%); min-height: 300px; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .altitude { display: none; }
  .constellation { display: none; }
  .stats-strip { gap: 22px; }
  .stat { min-width: 38%; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-left { padding: 30px 0 90px; }
  .hero-right { display: none; }
  .hero-mstats { margin-top: 34px; }
}
@media (max-width: 560px) {
  .hero-corner.r { display: none; }
  .hero-actions .btn { padding: 14px 24px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .grain { animation: none; }
  .hero-chevron { animation: none; }
  .hero-chip span { animation: none; }
  .talk-art .sun { animation: none; }
  * { scroll-behavior: auto !important; }
}


/* ============================================================
   THEME SWITCH (nav) + BLACK + GOLD THEME
   Mono is the default; html[data-theme="gold"] opts into gold.
   ============================================================ */
.theme-switch {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.theme-switch button {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  color: var(--gray-5);
  padding: 7px 13px;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  transition: background 0.3s, color 0.3s;
}
.theme-switch button.on { background: var(--ink); color: var(--white); }
.nav-theme { display: flex; align-items: center; }
.mm-theme { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.mm-theme > span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gray-5); }
@media (max-width: 900px) { .nav-theme { display: none; } }

/* ---- gold palette ---- */
[data-theme="gold"] {
  --gold: #c9a35c;
  --gold-bright: #e6cb8e;
  --gold-deep: #9a7a40;
}
[data-theme="gold"] h1 .au,
[data-theme="gold"] h2 .au,
[data-theme="gold"] h3 .au,
[data-theme="gold"] .hero-h1 .au,
[data-theme="gold"] .talk-copy h2 .au { color: var(--gold); -webkit-text-stroke: 0; }

/* gold buttons */
[data-theme="gold"] .btn-gold,
[data-theme="gold"] .nav-cta,
[data-theme="gold"] .side-panel .btn-gold,
[data-theme="gold"] .talk .btn-gold,
[data-theme="gold"] .art-cta .btn-gold {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold) 60%, var(--gold-deep)) !important;
  color: #14100a !important;
}
[data-theme="gold"] .btn-gold:hover,
[data-theme="gold"] .nav-cta:hover { filter: brightness(1.08); }

/* dark home hero */
[data-theme="gold"] .hero { background: #070707; }
[data-theme="gold"] .hero-vignette {
  background:
    radial-gradient(120% 110% at 60% 50%, transparent 60%, rgba(7, 7, 7, 0.5) 100%),
    linear-gradient(180deg, rgba(7, 7, 7, 0.85) 0%, transparent 16%, transparent 82%, #070707 100%);
}
[data-theme="gold"] .hero-h1 { color: var(--white); }
[data-theme="gold"] .hero-sub { color: rgba(255, 255, 255, 0.62); }
[data-theme="gold"] .hero-chip { color: rgba(255, 255, 255, 0.66); border-color: rgba(255, 255, 255, 0.18); }
[data-theme="gold"] .hero-mstats { border-top-color: rgba(255, 255, 255, 0.14); }
[data-theme="gold"] .hero-mstats b,
[data-theme="gold"] .hero-chip span,
[data-theme="gold"] .hero-chevron { color: var(--gold); }
[data-theme="gold"] .orb-ring { border-color: rgba(255, 255, 255, 0.18); }
[data-theme="gold"] .orb-ring.r2 { border-color: rgba(255, 255, 255, 0.1); }
[data-theme="gold"] .orb-hud.dial-hot .orb-ring.r1 { border-color: rgba(255, 255, 255, 0.5); }
[data-theme="gold"] .orb-hud.dial-grab .orb-ring.r1 { border-color: rgba(255, 255, 255, 0.72); }
[data-theme="gold"] .orb-caption::before,
[data-theme="gold"] .orb-caption::after { color: rgba(255, 255, 255, 0.4); }

/* nav light over the dark home hero (until scrolled) */
[data-theme="gold"] body[data-page="home"] .nav:not(.scrolled) .nav-logo span { color: var(--white); }
[data-theme="gold"] body[data-page="home"] .nav:not(.scrolled) .nav-logo img { filter: grayscale(1) invert(1) brightness(1.4); }
[data-theme="gold"] body[data-page="home"] .nav:not(.scrolled) .nav-links a { color: rgba(255, 255, 255, 0.6); }
[data-theme="gold"] body[data-page="home"] .nav:not(.scrolled) .nav-links a:hover,
[data-theme="gold"] body[data-page="home"] .nav:not(.scrolled) .nav-links a.active { color: var(--white); }
[data-theme="gold"] body[data-page="home"] .nav:not(.scrolled) .nav-links a::after { background: var(--gold); }
[data-theme="gold"] body[data-page="home"] .nav:not(.scrolled) .burger span,
[data-theme="gold"] body[data-page="home"] .nav:not(.scrolled) .panel-trigger span { background: var(--white); }

/* theme switch styling under gold */
[data-theme="gold"] .theme-switch button.on { background: var(--gold); color: #14100a; }
[data-theme="gold"] body[data-page="home"] .nav:not(.scrolled) .theme-switch { border-color: rgba(255, 255, 255, 0.25); }
[data-theme="gold"] body[data-page="home"] .nav:not(.scrolled) .theme-switch button { color: rgba(255, 255, 255, 0.6); }
[data-theme="gold"] body[data-page="home"] .nav:not(.scrolled) .theme-switch button.on { background: var(--gold); color: #14100a; }

/* gold accents on the dark flowing cards */
[data-theme="gold"] .xcard i { -webkit-text-stroke-color: var(--gold); }
[data-theme="gold"] .xc-link b { color: var(--gold); }
[data-theme="gold"] .xcard::after { background: var(--gold); }


/* ============================================================
   EXPERTISE — pinned horizontal card scroll (v11 "What We Do" style)
   ============================================================ */
.sec-camel { background: var(--gray-1); color: var(--ink); position: relative; overflow: hidden; }
.hwrap {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 2 * clamp(38px, 7vw, 92px)); /* leave room for the jag dividers so the pinned section fits one viewport */
  display: flex;
  align-items: center;
}
.htrack {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  padding: 0 6vw;
  width: max-content;
  will-change: transform;
}
.hintro { width: min(460px, 80vw); flex-shrink: 0; padding-right: clamp(10px, 2vw, 40px); }
.hintro .eyebrow { margin-bottom: 24px; }
.hintro h2 { font-size: clamp(36px, 4.6vw, 68px); }
.hintro h2 .au { color: var(--gold-deep); -webkit-text-stroke: 0; }
.hintro .lead { margin-top: 22px; color: var(--gray-5); font-size: clamp(15px, 1.4vw, 18px); max-width: 44ch; }
.hintro .btn { margin-top: 32px; }

/* cards inside the track: even height, footer link pinned to the bottom */
.htrack .xcard {
  display: flex;
  flex-direction: column;
  min-height: clamp(400px, 54vh, 560px);
}
.htrack .xcard p { flex: 1; }

/* trailing "+N more" panel */
.hmore {
  flex-shrink: 0;
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 clamp(28px, 4vw, 64px);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  line-height: 1.5;
  color: var(--gray-5);
}
.hmore b { font-size: clamp(44px, 5vw, 76px); color: var(--ink); font-weight: 700; line-height: 1; }
.hmore .hmore-arr { font-size: 20px; color: var(--gold-deep); transition: transform 0.35s var(--ease-out); }
.hmore:hover .hmore-arr { transform: translateX(8px); }

.sec-stats { background: var(--bg); }

@media (max-width: 900px) {
  .sec-camel { min-height: 0; }
  .hwrap { overflow-x: auto; min-height: 0; padding: clamp(50px, 8vw, 90px) 0; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .htrack { padding: 0 6vw 18px; transform: none !important; }
  .hintro, .htrack .xcard, .hmore { scroll-snap-align: start; }
  .hintro { width: min(420px, 82vw); }
}


/* ============================================================
   CONTACT — interactive icon field (dock magnify + cursor spotlight)
   ============================================================ */
.iconfield-section { padding: clamp(34px, 4.5vw, 60px) 0; border-block: 1px solid var(--line); background: var(--white); }
.if-eyebrow {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray-4);
  margin-bottom: clamp(20px, 3vw, 34px);
}
.iconfield { position: relative; overflow: hidden; }
.if-glow {
  position: absolute; left: 0; top: 0;
  width: 460px; height: 460px; margin: -230px 0 0 -230px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--ink) 9%, transparent), transparent 68%);
  opacity: 0; transition: opacity 0.4s;
  z-index: 0;
}
[data-theme="gold"] .if-glow { background: radial-gradient(circle, rgba(201, 163, 92, 0.28), transparent 68%); }
.if-grid {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(14px, 1.8vw, 24px);
  max-width: 1080px; margin: 0 auto;
  padding: 16px clamp(12px, 3vw, 36px);
}
.if-tile {
  width: 62px; height: 62px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--pa, var(--ink));
  background: var(--white);
  border: 1px solid color-mix(in srgb, var(--pa, var(--ink)) calc(var(--lit, 0) * 55%), var(--line));
  border-radius: 16px;
  box-shadow: 0 calc(2px + var(--lit, 0) * 16px) calc(10px + var(--lit, 0) * 30px)
              color-mix(in srgb, var(--pa, var(--ink)) calc(var(--lit, 0) * 34%), rgba(10, 10, 10, 0.05));
  will-change: transform;
  transition: box-shadow 0.2s, border-color 0.2s; /* transform is driven by the JS lerp */
}
.if-tile svg { width: 26px; height: 26px; pointer-events: none; }

@media (hover: none), (prefers-reduced-motion: reduce) {
  .if-glow { display: none; }
  .if-tile { transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.3s; }
  .if-tile:active { transform: scale(0.94); }
}
@media (max-width: 600px) {
  .if-tile { width: 52px; height: 52px; }
  .if-tile svg { width: 22px; height: 22px; }
  .if-grid { gap: 12px; }
}


/* ============================================================
   CONTACT — video-scrub hero (mouse rolls the film)
   ============================================================ */
.cv-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.cv-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 70% center;
  z-index: 0;
  background: var(--white);
}
.cv-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg,
    rgba(250,250,250,0.94) 0%, rgba(250,250,250,0.78) 28%,
    rgba(250,250,250,0.28) 52%, transparent 72%);
}
.cv-inner { position: relative; z-index: 2; max-width: 640px; }
.cv-inner .eyebrow { margin-bottom: 22px; }
.cv-intro {
  font-size: clamp(18px, 4vw, 26px); line-height: 1.3; color: #000;
  filter: blur(4px);
  margin-bottom: clamp(16px, 2.2vw, 24px);
  pointer-events: none; user-select: none;
}
.cv-type {
  font-size: clamp(20px, 4vw, 31px); line-height: 1.35; font-weight: 500;
  color: var(--ink); letter-spacing: -0.01em;
  min-height: 2.7em; margin-bottom: clamp(20px, 2.6vw, 30px);
}
.cv-caret { display: inline-block; width: 2px; height: 1.05em; background: var(--ink); vertical-align: -0.12em; margin-left: 2px; animation: cvblink 1s step-end infinite; }
@keyframes cvblink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.cv-pills { display: flex; flex-wrap: wrap; gap: 8px; opacity: 0; transform: translateY(8px); transition: opacity 0.5s ease, transform 0.5s ease; }
.cv-pills.in { opacity: 1; transform: none; }
.cv-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: clamp(12px, 1.1vw, 14px);
  padding: 0.55em 1.1em; border-radius: 999px;
  background: #fff; color: var(--ink); border: 1px solid rgba(10, 10, 10, 0.12);
  cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.cv-pill:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.cv-pill-out { background: transparent; border-color: rgba(10, 10, 10, 0.5); }
.cv-pill-out u { text-underline-offset: 2px; }
.cv-pill svg { flex-shrink: 0; }
[data-theme="gold"] .cv-pill:hover,
[data-theme="gold"] .cv-pill-out:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff; }
.cv-hint {
  display: block; margin-top: 24px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--gray-5);
}

@media (max-width: 768px) {
  .cv-hero { height: auto; min-height: 0; padding: calc(var(--nav-h) + 28px) 0 54px; }
  .cv-scrim { background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.7) 55%, rgba(255,255,255,0.5) 100%); }
  .cv-inner { max-width: none; }
  .cv-hint { display: none; }
}


/* ============================================================
   CONTACT — split layout: video hero (left) · form (right)
   ============================================================ */
.contact-split { display: grid; grid-template-columns: 1.02fr 0.98fr; min-height: 100vh; }
.contact-split .cv-hero { height: auto; min-height: 100vh; }
.contact-split .cv-inner {
  max-width: none; width: 100%;
  padding: calc(var(--nav-h) + clamp(20px, 4vh, 46px)) clamp(28px, 4vw, 60px) clamp(40px, 6vh, 64px);
}
.contact-split .cv-video { object-position: 74% center; }
/* pure white on the left (where the details sit) → fades to reveal the character */
.contact-split .cv-scrim {
  background: linear-gradient(90deg,
    #ffffff 0%, rgba(255,255,255,0.97) 40%,
    rgba(255,255,255,0.6) 62%, rgba(255,255,255,0.12) 84%, transparent 100%);
}
.cv-title {
  font-size: clamp(34px, 5vw, 60px); line-height: 1.0; letter-spacing: -0.025em;
  color: var(--ink); margin: 14px 0 clamp(26px, 3.6vh, 42px);
}
.cv-inner .contact-info { display: grid; gap: clamp(16px, 2.2vh, 24px); max-width: 380px; }
.contact-side {
  display: flex; flex-direction: column; justify-content: center;
  gap: clamp(28px, 4vh, 48px);
  padding: calc(var(--nav-h) + clamp(28px, 5vh, 56px)) clamp(26px, 4.5vw, 76px) clamp(40px, 6vh, 70px);
  background: var(--white);
}
.contact-side .form { width: 100%; max-width: 560px; }

@media (max-width: 920px) {
  .contact-split { grid-template-columns: 1fr; }
  .contact-split .cv-hero { min-height: 76vh; height: auto; }
  .contact-side { padding-top: clamp(36px, 6vh, 60px); }
}
@media (max-width: 600px) {
  .contact-side .contact-info { grid-template-columns: 1fr; }
}
