/* ============================================================
   XPERIENCE — WEBSITE V3
   Perform today. Define tomorrow.
   Near-black canvas · white type · single turquoise accent.
   Poppins. Sharp edges, hairlines, restrained shadow. No red.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --xc-black: #000000;
  --xc-white: #ffffff;
  --xc-turquoise: #0EA49A;
  --xc-turquoise-96: #139E96;
  --xc-turquoise-mid: #00B5A8;
  --xc-turquoise-light: #1DB8AB;
  --xc-turquoise-bright: #0FD4C5;
  --xc-turquoise-deep: #008075;
  --xc-turquoise-dark: #1F5C5B;

  --xc-grey-50: #F5F5F5;
  --xc-grey-100: #ECECEC;
  --xc-grey-mid: #6B6B6B;

  --ink-950: #050505;
  --ink-900: #0A0A0A;
  --ink-850: #111111;
  --ink-800: #171717;
  --ink-700: #222222;
  --ink-600: #2E2E2E;

  --line: rgba(255,255,255,0.14);
  --line-strong: rgba(255,255,255,0.28);
  --line-on-light: rgba(0,0,0,0.12);

  --tq-a12: rgba(14,164,154,0.12);
  --tq-a24: rgba(14,164,154,0.24);
  --tq-a40: rgba(14,164,154,0.40);

  --text-1: var(--xc-white);
  --text-2: rgba(255,255,255,0.72);
  --text-3: rgba(255,255,255,0.52);

  --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 120ms;
  --dur-base: 200ms;
  --dur-slow: 320ms;

  --container: 1240px;
  --container-wide: 1360px;
  --gutter: clamp(20px, 4vw, 48px);
  --sec-pad: clamp(72px, 9vw, 140px);

  --nav-h: 76px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--font);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-1);
  background: var(--xc-black);
  overflow-x: hidden;
  min-height: 100vh;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
::selection { background: var(--tq-a40); color: var(--xc-white); }

a, button, [role="button"], input[type="submit"], select, label[for] { cursor: pointer; }

:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--tq-a40); border-radius: 2px; }

.skip-link {
  position: fixed; top: -48px; left: 16px; z-index: 300;
  background: var(--xc-turquoise); color: var(--xc-black);
  font-weight: 600; font-size: 14px; padding: 10px 18px;
  transition: top var(--dur-base) var(--ease-out);
}
.skip-link:focus-visible { top: 12px; }

/* ---------- Type scale ---------- */
.h-display {
  font-size: clamp(44px, 7.4vw, 96px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.h-display-xl { font-size: clamp(48px, 9vw, 128px); font-weight: 700; line-height: 0.96; letter-spacing: -0.035em; }
.h-1 { font-size: clamp(30px, 4vw, 48px); font-weight: 600; line-height: 1.06; letter-spacing: -0.02em; }
.h-2 { font-size: clamp(25px, 3vw, 36px); font-weight: 600; line-height: 1.1; letter-spacing: -0.015em; }
.h-3 { font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; line-height: 1.16; letter-spacing: -0.01em; }
.h-4 { font-size: clamp(17px, 1.7vw, 20px); font-weight: 600; line-height: 1.24; }
.lead { font-size: clamp(17px, 1.9vw, 21px); line-height: 1.55; font-weight: 300; color: var(--text-2); }
.body-2 { font-size: clamp(15px, 1.4vw, 17px); line-height: 1.62; color: var(--text-2); }
.muted { color: var(--text-3); }
.accent { color: var(--xc-turquoise); }
.accent-bright { color: var(--xc-turquoise-bright); }
.measure { max-width: 58ch; }
.measure-sm { max-width: 44ch; }
.center { text-align: center; }

.kicker {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--xc-turquoise);
}
.kicker::before { display: none; }
.kicker.no-rule::before { display: none; }
.kicker.on-white { color: var(--xc-turquoise-deep); }

/* consistent kicker -> heading spacing */
.kicker + .h-1, .kicker + .h-2, .kicker + .h-3, .kicker + h2 { margin-top: 16px; }

/* spacing utils */
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 32px; } .mt-4 { margin-top: 56px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 32px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container.wide { max-width: var(--container-wide); }
.section { position: relative; padding-block: var(--sec-pad); }
.section.tight { padding-block: clamp(40px, 5vw, 72px); }
.section.on-ink { background: var(--ink-900); }
.section.on-light { background: var(--xc-grey-50); color: var(--xc-black); }
.section.on-light .h-1, .section.on-light .h-2, .section.on-light .h-3 { color: var(--xc-black); }
.section.on-light .body-2, .section.on-light .lead { color: rgba(0,0,0,0.72); }
.section.on-light .muted { color: var(--xc-grey-mid); }

.sec-head { margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head.split {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 72px); align-items: end;
}
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(20px, 3vw, 40px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(18px, 2.4vw, 32px); }

/* ---------- Signal line (section-boundary motif) ---------- */
.signal-rule { position: relative; height: 1px; background: var(--line); overflow: hidden; }
.signal-rule::after {
  content: ""; position: absolute; top: 0; left: -20%;
  width: 20%; height: 100%;
  background: linear-gradient(90deg, transparent, var(--xc-turquoise-bright), transparent);
  animation: signal-travel 5.2s linear infinite;
}
@keyframes signal-travel { to { left: 120%; } }

/* ---------- Nav ---------- */
.site-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(0,0,0,0.55);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background var(--dur-slow) var(--ease-out), border-color var(--dur-slow) var(--ease-out), height var(--dur-slow) var(--ease-out);
}
.site-nav.scrolled { background: rgba(0,0,0,0.82); border-bottom-color: var(--line); height: 64px; }
.nav-inner {
  max-width: var(--container-wide); height: 100%;
  margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { width: clamp(128px, 12vw, 158px); height: auto; transition: width var(--dur-slow) var(--ease-out); }
.site-nav.scrolled .nav-logo img { width: clamp(118px, 10vw, 138px); }

.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nav-links a {
  position: relative; font-size: 14.5px; font-weight: 400;
  color: var(--text-2); padding: 6px 2px;
  transition: color var(--dur-base) var(--ease-out);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1.5px; background: var(--xc-turquoise);
  transform: scaleX(0); transform-origin: right center;
  transition: transform var(--dur-slow) var(--ease-out);
}
.nav-links a:hover { color: var(--xc-white); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left center; }
.nav-links a[aria-current="page"] { color: var(--xc-white); font-weight: 500; }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.nav-right { display: flex; align-items: center; gap: 18px; }

.nav-burger {
  display: none; width: 44px; height: 44px;
  flex-direction: column; align-items: center; justify-content: center; gap: 7px;
}
.nav-burger span { width: 24px; height: 1.6px; background: var(--xc-white); transition: transform var(--dur-slow) var(--ease-out), opacity var(--dur-base); }
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(4.3px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-4.3px) rotate(-45deg); }

/* Mobile overlay */
.nav-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: var(--ink-950);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 24px) var(--gutter) 48px;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 560ms var(--ease-in-out), visibility 0s 560ms;
}
.nav-overlay.open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 560ms var(--ease-in-out), visibility 0s; }
.nav-overlay ul { display: grid; gap: 4px; }
.ov-link {
  display: flex; align-items: baseline; gap: 18px;
  font-size: clamp(30px, 8vw, 44px); font-weight: 600; letter-spacing: -0.02em;
  padding: 10px 0; color: var(--text-1);
  opacity: 0; transform: translateY(18px);
  transition: opacity 480ms var(--ease-out), transform 480ms var(--ease-out), color var(--dur-base);
}
.nav-overlay.open .ov-link { opacity: 1; transform: none; }
.nav-overlay.open li:nth-child(1) .ov-link { transition-delay: 120ms; }
.nav-overlay.open li:nth-child(2) .ov-link { transition-delay: 170ms; }
.nav-overlay.open li:nth-child(3) .ov-link { transition-delay: 220ms; }
.nav-overlay.open li:nth-child(4) .ov-link { transition-delay: 270ms; }
.nav-overlay.open li:nth-child(5) .ov-link { transition-delay: 320ms; }
.nav-overlay.open li:nth-child(6) .ov-link { transition-delay: 370ms; }
.ov-link:hover { color: var(--xc-turquoise); }
.ov-idx { font-size: 13px; font-weight: 400; color: var(--xc-turquoise); letter-spacing: 0.1em; }
.ov-foot { margin-top: 48px; display: flex; gap: 28px; flex-wrap: wrap; }
.ov-foot a { color: var(--text-3); font-size: 15px; }
.ov-foot a:hover { color: var(--xc-turquoise); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 28px;
  font-size: 15px; font-weight: 500; letter-spacing: 0.01em;
  border-radius: 2px; overflow: hidden;
  transition: color var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out), transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.btn:active { transform: scale(0.98); }
.btn .arr { display: inline-block; transition: transform var(--dur-slow) var(--ease-out); }
.btn:hover .arr { transform: translateX(5px); }

.btn-primary { background: var(--xc-turquoise); color: var(--xc-black); font-weight: 600; }
.btn-primary:hover { background: var(--xc-turquoise-light); box-shadow: 0 0 0 1px var(--tq-a40), 0 8px 32px var(--tq-a24); }
.btn-primary:active { background: var(--xc-turquoise-deep); color: var(--xc-white); }

.btn-ghost { border: 1px solid var(--line-strong); color: var(--xc-white); background: transparent; }
.btn-ghost:hover { border-color: var(--xc-turquoise); background: var(--tq-a12); }

.nav-cta { min-height: 42px; padding: 9px 20px; font-size: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 500; color: var(--xc-turquoise);
  transition: color var(--dur-base), gap var(--dur-slow) var(--ease-out);
}
.link-arrow:hover { color: var(--xc-turquoise-bright); gap: 13px; }

/* ---------- Cursor (blend mode NORMAL — never difference/exclusion) ---------- */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 250; pointer-events: none;
  border-radius: 50%; mix-blend-mode: normal;
  opacity: 0; transform: translate(-100px, -100px);
}
.cursor-dot { width: 7px; height: 7px; background: var(--xc-turquoise); }
.cursor-ring {
  width: 34px; height: 34px;
  border: 1px solid var(--tq-a40);
  transition: width var(--dur-slow) var(--ease-out), height var(--dur-slow) var(--ease-out), border-color var(--dur-base);
}
body.cursor-active .cursor-dot, body.cursor-active .cursor-ring { opacity: 1; }
body.cursor-hover .cursor-ring { width: 52px; height: 52px; border-color: var(--xc-turquoise); }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 150; pointer-events: none; }
.scroll-progress .bar { height: 100%; width: 100%; background: var(--xc-turquoise); transform: scaleX(0); transform-origin: left center; }

/* ---------- Page wipe ----------
   Entrance is a pure CSS time-based animation so it completes even in
   throttled/background tabs (rAF-driven JS would stall and leave the
   cover up). Exit wipe is driven by GSAP on click, when the tab is live. */
.page-wipe { position: fixed; inset: 0; z-index: 200; pointer-events: none; display: flex; }
.page-wipe .wp {
  flex: 1; background: var(--ink-950);
  transform: scaleY(0); transform-origin: bottom center;
  animation: wipe-in 640ms var(--ease-in-out) backwards;
}
.page-wipe .wp:nth-child(2) { animation-delay: 60ms; }
.page-wipe .wp:nth-child(3) { animation-delay: 120ms; }
.page-wipe .wp:nth-child(4) { animation-delay: 180ms; }
@keyframes wipe-in { from { transform: scaleY(1); } to { transform: scaleY(0); } }
.no-js .page-wipe .wp, .static-mode .page-wipe .wp { animation: none; }
@media (prefers-reduced-motion: reduce) { .page-wipe .wp { animation: none; } }

/* ============================================================
   HERO VARIANTS
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: var(--nav-h); padding-bottom: clamp(100px, 14vh, 160px); overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg video, .hero-bg canvas, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-human .hero-bg img { opacity: 0.55; }
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.18) 34%, rgba(0,0,0,0.34) 72%, rgba(0,0,0,0.82) 100%),
    radial-gradient(120% 90% at 18% 62%, rgba(0,0,0,0.58) 0%, transparent 60%);
}
.hero > .container { position: relative; z-index: 2; }

.hero .kicker { margin-bottom: clamp(18px, 2.6vw, 30px); }
.hero-sub { margin-top: clamp(20px, 3vw, 32px); max-width: 56ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(26px, 3.6vw, 40px); }

/* mask-line reveal */
.mask-line { display: block; overflow: hidden; padding-bottom: 0.18em; margin-bottom: -0.18em; }
/* optical leading fix: pull a line up when the line above has no descenders,
   so the gap reads the same as descender-adjacent lines.
   NB: collapses with the sibling's -0.18em margin-bottom (most-negative wins),
   so this value = 0.18em base + 0.15em tuck. */
.mask-line.tuck { margin-top: -0.33em; }
/* optical left alignment: display-size glyph side bearings read as an indent
   next to small text, so pull hero headings back to the ink edge */
.hero .h-display, .wb-hero .h-display { margin-left: -0.045em; }
.hero-center .h-display { margin-left: 0; }
.mask-line > span { display: inline-block; transform: translateY(112%); }
.no-js .mask-line > span, .anim-done .mask-line > span { transform: none; }

/* hero meta strip */
.hero-meta { position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; padding-bottom: clamp(20px, 3vw, 34px); }
.hero-meta-inner {
  max-width: var(--container-wide); margin-inline: auto; padding-inline: var(--gutter);
  padding-top: 18px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  font-size: 13px; color: var(--text-3);
}
.hero-meta .prods { display: flex; gap: clamp(14px, 2.6vw, 34px); flex-wrap: wrap; }
.hero-meta .prods span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .prods b { color: var(--xc-turquoise); font-weight: 700; }

.scroll-cue {
  position: absolute; bottom: clamp(72px, 9vh, 96px); right: var(--gutter); z-index: 2;
  width: 1px; height: 56px; background: var(--line-strong); overflow: hidden;
}
.scroll-cue::after {
  content: ""; position: absolute; top: -40%; left: 0; width: 100%; height: 40%;
  background: var(--xc-turquoise-bright);
  animation: cue-drop 2.1s var(--ease-in-out) infinite;
}
@keyframes cue-drop { 60%, 100% { top: 110%; } }

/* --- Variant 2: kinetic type --- */
.hero-kinetic { background: var(--xc-black); }
.hero-kinetic .k-marquee {
  position: absolute; left: 0; right: 0; z-index: 0;
  font-weight: 700; letter-spacing: -0.03em; line-height: 1; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.13);
  font-size: clamp(120px, 19vw, 260px);
  user-select: none; pointer-events: none;
}
.hero-kinetic .k-marquee .k-track { display: inline-flex; gap: 0.6em; padding-right: 0.6em; animation: k-slide 46s linear infinite; }
.hero-kinetic .k-marquee.k-top { top: calc(var(--nav-h) + 2vh); }
.hero-kinetic .k-marquee.k-bottom { bottom: 4vh; }
.hero-kinetic .k-marquee.k-bottom .k-track { animation-direction: reverse; animation-duration: 54s; }
.hero-kinetic .k-marquee .hl { -webkit-text-stroke: 1px var(--tq-a40); color: var(--tq-a12); }
@keyframes k-slide { to { transform: translateX(-50%); } }

/* type grid backdrop */
.k-rules { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.k-rules span { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(255,255,255,0.05); }
.k-rules span:nth-child(1) { left: 25%; } .k-rules span:nth-child(2) { left: 50%; } .k-rules span:nth-child(3) { left: 75%; }

/* --- Variant 3: human photo --- */
.hero-human .hero-bg img { animation: kenburns 26s var(--ease-in-out) infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.09) translate(-1.2%, -1%); } }
@media (prefers-reduced-motion: reduce) {
  .hero-human .hero-bg img, .hero-kinetic .k-marquee .k-track, .signal-rule::after, .scroll-cue::after { animation: none; }
}
.hero-human .hero-scrim {
  background:
    linear-gradient(90deg, rgba(0,0,0,0.86) 0%, rgba(0,0,0,0.55) 44%, rgba(0,0,0,0.18) 100%),
    linear-gradient(0deg, rgba(0,0,0,0.85) 0%, transparent 36%);
}
.hero-human .grain::after {
  content: ""; position: absolute; inset: 0; z-index: 1; opacity: 0.5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* hero pick badge (variant review pages) */
.variant-bar {
  position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 120;
  display: flex; align-items: center; gap: 10px;
  background: rgba(10,10,10,0.9); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  padding: 10px 14px; border-radius: 999px; font-size: 13px; color: var(--text-2);
}
.variant-bar a {
  padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line);
  font-weight: 500; transition: all var(--dur-base) var(--ease-out);
}
.variant-bar a:hover { border-color: var(--xc-turquoise); color: var(--xc-white); }
.variant-bar a.on { background: var(--xc-turquoise); border-color: var(--xc-turquoise); color: var(--xc-black); }

/* ============================================================
   SUB-PAGE HERO (product/section banners)
   ============================================================ */
.wb-hero {
  position: relative; min-height: 84svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--nav-h) + 40px) 0 clamp(48px, 7vw, 88px);
  overflow: hidden;
}
.wb-photo { position: absolute; inset: 0; }
.wb-photo img, .wb-photo video { width: 100%; height: 100%; object-fit: cover; opacity: 0.48; }
.wb-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(0,0,0,0.92) 4%, rgba(0,0,0,0.42) 44%, rgba(0,0,0,0.30) 100%);
}
.wb-hero .container { position: relative; z-index: 2; }
.wb-sub { margin-top: clamp(20px, 3vw, 30px); display: flex; align-items: center; gap: 18px; flex-wrap: wrap; color: var(--text-2); }
.wb-prod {
  font-weight: 700; color: var(--xc-turquoise);
  border: 1px solid var(--tq-a40); padding: 6px 14px; border-radius: 2px; font-size: 14px; letter-spacing: 0.04em;
}
.wb-sub > span:not(.wb-prod) { font-size: 15px; }

.crumb { position: absolute; top: calc(var(--nav-h) + 18px); left: 0; right: 0; z-index: 2; }
.crumb .container { display: flex; gap: 10px; font-size: 13px; color: var(--text-3); }
.crumb a:hover { color: var(--xc-turquoise); }

/* ============================================================
   COMPONENTS
   ============================================================ */

/* --- client logo marquee --- */
.marquee { position: relative; overflow: hidden; padding-block: clamp(18px, 2.5vw, 30px); }
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: clamp(60px, 10vw, 160px); z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--xc-black), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--xc-black), transparent); }
.marquee-track { display: flex; align-items: center; gap: clamp(48px, 6vw, 88px); width: max-content; will-change: transform; }
.marquee-track img { height: clamp(68px, 8vw, 112px); width: auto; opacity: 0.8; filter: grayscale(1) brightness(1.5); transition: opacity var(--dur-base); }
.marquee-track img:hover { opacity: 1; }

/* --- logo wall --- */
.logo-wall { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border: 1px solid var(--line); border-radius: 2px; overflow: hidden; }
.logo-cell {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 2.35 / 1; padding: clamp(16px, 2.6vw, 34px);
  border: 0.5px solid var(--line);
  transition: background var(--dur-slow) var(--ease-out);
}
.logo-cell:hover { background: var(--ink-850); }
.logo-cell img { max-height: clamp(52px, 6vw, 80px); width: auto; max-width: 82%; object-fit: contain; opacity: 0.68; filter: grayscale(1) brightness(1.5); transition: opacity var(--dur-slow), filter var(--dur-slow), transform var(--dur-slow) var(--ease-out); }
.logo-cell:hover img { opacity: 1; filter: grayscale(0) brightness(1.15); transform: scale(1.05); }

/* --- numbered item (01/02/03) --- */
.num-item {
  display: grid; grid-template-columns: 84px 1fr; gap: clamp(16px, 3vw, 40px);
  padding: clamp(22px, 3vw, 34px) 0; border-top: 1px solid var(--line);
  transition: background var(--dur-slow) var(--ease-out), padding-left var(--dur-slow) var(--ease-out);
}
.num-item:last-child { border-bottom: 1px solid var(--line); }
.num-item:hover { background: linear-gradient(90deg, var(--tq-a12), transparent 55%); padding-left: 14px; }
.ni-idx { font-size: clamp(15px, 1.6vw, 18px); font-weight: 600; color: var(--xc-turquoise); letter-spacing: 0.08em; padding-top: 4px; }
.ni-title { font-size: clamp(19px, 2.2vw, 26px); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
.ni-body { margin-top: 8px; color: var(--text-2); max-width: 62ch; }

/* --- ghost watermark --- */
.ghost-mark {
  position: absolute; right: -0.06em; bottom: -0.18em; z-index: 0;
  font-size: clamp(200px, 32vw, 460px); font-weight: 700; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.07);
  pointer-events: none; user-select: none;
}
.ghost-mark.filled { color: rgba(255,255,255,0.03); -webkit-text-stroke: 0; }
.ghost-mark.tq { -webkit-text-stroke-color: rgba(14,164,154,0.14); }
.section:has(> .ghost-mark) { overflow: hidden; }
.section > .container { position: relative; z-index: 1; }

/* --- statement --- */
.statement { overflow: hidden; }
.statement .st-text { font-size: clamp(26px, 3.6vw, 44px); font-weight: 600; line-height: 1.22; letter-spacing: -0.015em; max-width: 26ch; }
.statement .st-text .w { color: rgba(255,255,255,0.22); transition: color 360ms var(--ease-out); }
.statement .st-text .w.lit { color: var(--xc-white); }
.statement .st-text .w.accent-w.lit { color: var(--xc-turquoise); }

/* --- product cards --- */
.prod-card {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  background: var(--ink-850); border: 1px solid var(--line); border-radius: 4px;
  padding: clamp(26px, 3vw, 40px); overflow: hidden;
  transition: border-color var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow) var(--ease-out);
}
.prod-card::before {
  content: attr(data-mark); position: absolute; right: -8px; bottom: -34px;
  font-size: 150px; font-weight: 700; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.09);
  transition: -webkit-text-stroke-color var(--dur-slow), transform var(--dur-slow) var(--ease-out);
  pointer-events: none;
}
.prod-card::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--xc-turquoise); transform: scaleY(0); transform-origin: top center;
  transition: transform var(--dur-slow) var(--ease-out);
}
.prod-card:hover { border-color: var(--tq-a40); transform: translateY(-6px); box-shadow: 0 18px 48px rgba(0,0,0,0.4); }
.prod-card:hover::before { -webkit-text-stroke-color: rgba(14,164,154,0.35); transform: translateY(-6px); }
.prod-card:hover::after { transform: scaleY(1); }
.pc-kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); }
.pc-name { font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; letter-spacing: -0.02em; }
.pc-line { color: var(--xc-turquoise); font-weight: 500; font-size: 16px; margin-top: -6px; }
.pc-desc { color: var(--text-2); font-size: 15.5px; flex: 1; }
.prod-card .link-arrow { margin-top: 8px; }

/* --- stats (ALL stat numerals one colour: turquoise) --- */
.stats-band { border-block: 1px solid var(--line); background: var(--ink-950); }
.stats-band .grid-3 { gap: 0; }
.stats-band .stat { padding: clamp(36px, 5vw, 64px) clamp(24px, 3.4vw, 48px); border-left: 1px solid var(--line); }
.stats-band .stat:first-child { border-left: none; }
.stat-num {
  font-size: clamp(52px, 6.4vw, 92px);
  font-weight: 700; line-height: 0.94; letter-spacing: -0.03em;
  color: var(--xc-turquoise);
  font-variant-numeric: tabular-nums;
}
.stat-label { margin-top: 14px; color: var(--text-2); font-size: 15px; max-width: 34ch; }
.stat-src { display: block; margin-top: 12px; font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }

/* mech rows (proof commercial frame) — values same turquoise as all stats */
.mech-row {
  display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: clamp(14px, 2.6vw, 32px);
  padding: clamp(18px, 2.4vw, 26px) 0; border-top: 1px solid var(--line);
}
.mech-row:last-of-type { border-bottom: 1px solid var(--line); }
.m-idx { font-weight: 600; color: var(--text-3); letter-spacing: 0.08em; font-size: 14px; }
.m-name { font-weight: 600; font-size: clamp(16px, 1.8vw, 19px); }
.m-desc { color: var(--text-3); font-size: 14px; margin-top: 3px; }
.m-val { font-size: clamp(24px, 3vw, 40px); font-weight: 700; letter-spacing: -0.02em; color: var(--xc-turquoise); font-variant-numeric: tabular-nums; white-space: nowrap; }
.m-note { font-size: 14px; color: var(--text-2); max-width: 18ch; text-align: right; }

/* --- split media --- */
.split-media { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.split-media.flip > .photo-block { order: 2; }
.photo-block { position: relative; border-radius: 4px; overflow: hidden; aspect-ratio: 4 / 3.1; }
.photo-block img { width: 100%; height: 100%; object-fit: cover; opacity: 0.72; transition: transform 1.1s var(--ease-out); }
.photo-block:hover img { transform: scale(1.045); }
.pb-scrim { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.72), transparent 46%); }
.pb-caption { position: absolute; left: 22px; right: 22px; bottom: 18px; font-size: 14px; color: var(--text-2); }

/* --- matrix (X-System) --- */
.matrix-wrap { display: grid; gap: 14px; }
.matrix { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.matrix-cell {
  position: relative; aspect-ratio: 1.55 / 1;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  padding: clamp(14px, 1.8vw, 22px);
  background: var(--ink-850); border: 1px solid var(--line); border-radius: 3px;
  transition: border-color var(--dur-slow), background var(--dur-slow), transform var(--dur-slow) var(--ease-out);
}
.matrix-cell.informal { border-style: dashed; background: var(--ink-900); }
.matrix-cell:hover { border-color: var(--xc-turquoise); background: var(--ink-800); transform: translateY(-4px); }
.matrix-cell:hover .mc-name { color: var(--xc-turquoise-bright); }
.mc-tag { font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.mc-name { font-size: clamp(15px, 1.8vw, 20px); font-weight: 600; transition: color var(--dur-base); }
.matrix-axis { display: flex; justify-content: space-between; font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }

/* --- AiDA word + stages --- */
.aida-word { display: flex; gap: clamp(8px, 1.6vw, 20px); font-size: clamp(64px, 11vw, 150px); font-weight: 700; line-height: 1; letter-spacing: -0.02em; user-select: none; }
.aida-word span { color: rgba(255,255,255,0.14); transition: color 420ms var(--ease-out), transform 420ms var(--ease-out); }
.aida-word span.lit { color: var(--xc-turquoise); transform: translateY(-6px); }

.stage { border: 1px solid var(--line); border-radius: 3px; background: var(--ink-900); margin-top: 10px; overflow: hidden; transition: border-color var(--dur-slow); }
.stage.open { border-color: var(--tq-a40); background: var(--ink-850); }
.stage-head {
  width: 100%; display: grid; grid-template-columns: 64px 1fr 40px; align-items: center; gap: clamp(12px, 2vw, 24px);
  padding: clamp(18px, 2.4vw, 26px) clamp(18px, 2.6vw, 30px); text-align: left;
}
.st-letter { font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; color: rgba(255,255,255,0.25); transition: color var(--dur-slow); }
.stage.open .st-letter, .stage-head:hover .st-letter { color: var(--xc-turquoise); }
.st-name { font-size: clamp(19px, 2.2vw, 25px); font-weight: 600; }
.st-sub { color: var(--text-3); font-size: 14px; margin-top: 2px; }
.st-toggle { position: relative; width: 20px; height: 20px; justify-self: end; }
.st-toggle::before, .st-toggle::after { content: ""; position: absolute; top: 50%; left: 0; width: 100%; height: 1.6px; background: var(--text-2); transition: transform var(--dur-slow) var(--ease-out); }
.st-toggle::after { transform: rotate(90deg); }
.stage.open .st-toggle::after { transform: rotate(0deg); }
.stage-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 480ms var(--ease-in-out); }
.stage.open .stage-body { grid-template-rows: 1fr; }
.stage-body > .stage-body-inner { overflow: hidden; }
.stage-body-inner {
  display: grid; grid-template-columns: 1.2fr 1fr 1.1fr; gap: clamp(18px, 3vw, 44px);
  padding: 0 clamp(18px, 2.6vw, 30px);
}
.stage.open .stage-body-inner { padding-bottom: clamp(20px, 2.6vw, 30px); }
.stage-body-inner h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--xc-turquoise); margin-bottom: 10px; }
.stage-body-inner ul { display: grid; gap: 6px; }
.stage-body-inner li { font-size: 14.5px; color: var(--text-2); padding-left: 16px; position: relative; }
.stage-body-inner li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 1.5px; background: var(--xc-turquoise); }
.st-outcome { font-size: 15px; color: var(--text-1); font-weight: 400; }

/* --- forces (Momentum) --- */
.forces { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(18px, 2.4vw, 32px); }
.force {
  position: relative; padding: clamp(24px, 3vw, 38px);
  background: var(--ink-850); border: 1px solid var(--line); border-radius: 4px;
  transition: border-color var(--dur-slow), transform var(--dur-slow) var(--ease-out);
}
.force:hover { border-color: var(--tq-a40); transform: translateY(-5px); }
.f-orbit { position: absolute; top: 22px; right: 22px; width: 34px; height: 34px; border: 1px solid var(--tq-a40); border-radius: 50%; }
.f-orbit::after { content: ""; position: absolute; top: -3px; left: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--xc-turquoise); }
.force:hover .f-orbit { animation: orbit-spin 5s linear infinite; }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
.f-name { font-size: clamp(23px, 2.4vw, 30px); font-weight: 700; letter-spacing: -0.015em; }
.f-line { color: var(--xc-turquoise); font-size: 14.5px; font-weight: 500; margin: 2px 0 18px; }
.force ul { display: grid; gap: 14px; }
.force li strong { display: block; font-weight: 600; font-size: 15px; }
.force li span { font-size: 14px; color: var(--text-3); line-height: 1.55; }

/* --- tiers --- */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(16px, 2vw, 26px); align-items: stretch; }
.tier {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: 4px; background: var(--ink-900); overflow: hidden;
  transition: border-color var(--dur-slow), transform var(--dur-slow) var(--ease-out);
}
.tier:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.tier.feature { border-color: var(--tq-a40); background: var(--ink-850); position: relative; }
.tier.feature:hover { border-color: var(--xc-turquoise); }
.tier-head { padding: clamp(20px, 2.6vw, 30px); border-bottom: 1px solid var(--line); }
.t-tag { font-size: 11.5px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--xc-turquoise); }
.t-name { font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; margin-top: 8px; letter-spacing: -0.01em; }
.t-dur { color: var(--text-3); font-size: 13.5px; margin-top: 4px; }
.tier-body { display: grid; gap: 18px; padding: clamp(20px, 2.6vw, 30px); }
.tier-body h4 { font-size: 11.5px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-3); margin-bottom: 6px; }
.tier-body p { font-size: 14.5px; color: var(--text-2); }

/* --- chips --- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; color: var(--text-2);
  transition: border-color var(--dur-base), color var(--dur-base), background var(--dur-base);
}
.chip:hover { border-color: var(--xc-turquoise); color: var(--xc-white); background: var(--tq-a12); }

/* --- principles (how we work) --- */
.principle {
  display: grid; grid-template-columns: 84px 1fr; gap: clamp(16px, 3vw, 40px); align-items: baseline;
  padding: clamp(24px, 3.2vw, 40px) 0; border-top: 1px solid var(--line);
}
.principle:last-child { border-bottom: 1px solid var(--line); }
.p-idx { font-size: 15px; font-weight: 600; color: var(--xc-turquoise); letter-spacing: 0.08em; }
.p-name { font-size: clamp(22px, 3vw, 34px); font-weight: 600; letter-spacing: -0.015em; }
.p-desc { grid-column: 2; color: var(--text-2); max-width: 60ch; margin-top: 6px; }

/* --- process timeline (how we work) --- */
.timeline { position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 1px; background: var(--line); }
.tl-item { position: relative; padding: clamp(18px, 2.4vw, 26px) 0 clamp(18px, 2.4vw, 26px) clamp(36px, 4vw, 52px); }
.tl-item::before {
  content: ""; position: absolute; left: 0; top: calc(clamp(18px, 2.4vw, 26px) + 8px);
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--xc-black); border: 1.6px solid var(--xc-turquoise);
  transition: background var(--dur-base);
}
.tl-item:hover::before { background: var(--xc-turquoise); }
.tl-phase { font-size: 12px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--xc-turquoise); }
.tl-title { font-size: clamp(18px, 2vw, 23px); font-weight: 600; margin-top: 4px; }
.tl-desc { color: var(--text-2); margin-top: 6px; max-width: 62ch; font-size: 15px; }

/* ============================================================
   CASE STUDIES
   ============================================================ */
.cs-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(18px, 2.4vw, 30px); }
.cs-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--ink-900); border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
  transition: border-color var(--dur-slow), transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow);
}
.cs-card:hover { border-color: var(--tq-a40); transform: translateY(-6px); box-shadow: 0 18px 48px rgba(0,0,0,0.42); }
.cs-media { position: relative; aspect-ratio: 16 / 9.4; overflow: hidden; background: var(--ink-800); }
.cs-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(0.8); transition: filter 700ms var(--ease-out), transform 900ms var(--ease-out); }
.cs-card:hover .cs-media img { filter: grayscale(0.1) brightness(0.95); transform: scale(1.05); }
.cs-media .cs-logo {
  position: absolute; left: 18px; bottom: 14px; z-index: 2;
  max-height: 48px; width: auto; max-width: 190px; object-fit: contain;
  filter: brightness(3) grayscale(1);
}
.cs-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.66), transparent 52%); }
.cs-body { display: flex; flex-direction: column; gap: 10px; padding: clamp(20px, 2.4vw, 28px); flex: 1; }
.cs-ind { font-size: 11.5px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-3); }
.cs-title { font-size: clamp(18px, 2vw, 22px); font-weight: 600; line-height: 1.22; letter-spacing: -0.01em; }
.cs-stat { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.cs-stat b { font-size: clamp(26px, 2.8vw, 34px); font-weight: 700; color: var(--xc-turquoise); letter-spacing: -0.02em; }
.cs-stat span { font-size: 13px; color: var(--text-3); max-width: 20ch; line-height: 1.35; }
.cs-body .link-arrow { margin-top: auto; padding-top: 12px; font-size: 14px; }

/* typographic cover for case studies without imagery */
.cs-mark {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 96px; font-weight: 700; letter-spacing: -0.03em;
  color: transparent; -webkit-text-stroke: 1px rgba(14,164,154,0.4);
  background: radial-gradient(90% 90% at 50% 110%, rgba(14,164,154,0.14), transparent 60%), var(--ink-850);
  transition: -webkit-text-stroke-color var(--dur-slow), transform var(--dur-slow) var(--ease-out);
}
.cs-card:hover .cs-mark { -webkit-text-stroke-color: rgba(15,212,197,0.8); }

/* placeholder styling — clearly marked, easy to spot */
.ph-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--xc-turquoise-bright); border: 1px dashed var(--tq-a40); border-radius: 2px;
  padding: 4px 10px; width: fit-content;
}
.ph-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--xc-turquoise-bright); }
.ph-block {
  border: 1px dashed var(--line-strong); border-radius: 3px;
  padding: clamp(18px, 2.4vw, 28px); color: var(--text-3); font-size: 14.5px;
  background: repeating-linear-gradient(-45deg, transparent 0 12px, rgba(255,255,255,0.015) 12px 24px);
}

/* case study detail */
.cs-hero-meta { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 56px); padding-block: clamp(22px, 3vw, 34px); border-block: 1px solid var(--line); }
.cs-hero-meta div { display: grid; gap: 4px; }
.cs-hero-meta dt { font-size: 11.5px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-3); }
.cs-hero-meta dd { font-size: 15.5px; font-weight: 500; }
.cs-quote { border-left: 2px solid var(--xc-turquoise); padding: 10px 0 10px clamp(20px, 3vw, 36px); }
.cs-quote p { font-size: clamp(20px, 2.6vw, 28px); font-weight: 400; line-height: 1.4; }
.cs-quote cite { display: block; margin-top: 16px; font-style: normal; font-size: 14px; color: var(--text-3); }
.cs-quote cite b { color: var(--text-2); font-weight: 600; }

/* ============================================================
   CLIENT CONFIDENTIALITY (proof) — statement over blurred figures
   Figures are decorative and deliberately unreadable; asymmetric
   layout keeps it distinct from the centred CTA band below.
   ============================================================ */
.conf-stage { position: relative; overflow: hidden; }
.conf-blur-field {
  position: absolute; inset: 0; z-index: 0;
  display: flex; align-items: center; gap: clamp(48px, 8vw, 120px);
  white-space: nowrap; pointer-events: none; user-select: none;
  filter: blur(24px); opacity: 0.5;
  animation: confDrift 60s linear infinite;
}
.conf-blur-field span {
  font-size: clamp(110px, 16vw, 230px); font-weight: 700; letter-spacing: -0.03em;
  color: var(--xc-turquoise); font-variant-numeric: tabular-nums;
}
.conf-blur-field span:nth-child(even) { color: rgba(255,255,255,0.5); }
@keyframes confDrift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.conf-inner {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.85fr);
  gap: clamp(32px, 6vw, 96px); align-items: center;
}
.conf-inner .h-1 { font-size: clamp(32px, 4.4vw, 58px); max-width: 15ch; }
.conf-inner .lead { margin-top: clamp(20px, 2.6vw, 28px); max-width: 46ch; }
.conf-split {
  border-left: 2px solid var(--xc-turquoise);
  background: linear-gradient(90deg, rgba(5,5,5,0.72), rgba(5,5,5,0.35));
  backdrop-filter: blur(4px);
}
.conf-split > div { padding: clamp(20px, 2.6vw, 30px) clamp(22px, 3vw, 36px); }
.conf-split > div + div { border-top: 1px solid var(--line); }
.conf-split .cs-k {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 8px;
}
.conf-split .cs-val { font-size: clamp(18px, 2.1vw, 24px); font-weight: 600; letter-spacing: -0.01em; }
.conf-split .cs-val.accent { color: var(--xc-turquoise); }

/* ============================================================
   CTA BAND — calm by design (no busy backgrounds)
   ============================================================ */
.cta-band {
  position: relative; text-align: center; overflow: hidden;
  background:
    radial-gradient(90% 130% at 50% 118%, rgba(14,164,154,0.16) 0%, transparent 58%),
    var(--ink-950);
  border-top: 1px solid var(--line);
}
.cta-inner { display: grid; justify-items: center; gap: clamp(16px, 2.4vw, 24px); max-width: 880px; margin-inline: auto; }
.cta-band .h-display { font-size: clamp(36px, 5.6vw, 72px); }
.cta-contact { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.cta-contact a { display: inline-flex; align-items: center; gap: 9px; color: var(--text-3); font-size: 15px; transition: color var(--dur-base); }
.cta-contact a svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.cta-contact a:hover { color: var(--xc-turquoise); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.contact-info { display: grid; gap: clamp(24px, 3.4vw, 40px); align-content: start; }
.contact-line { display: grid; gap: 5px; padding-top: 18px; border-top: 1px solid var(--line); }
.cl-label { font-size: 11.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); }
.contact-line a { font-size: clamp(19px, 2.2vw, 25px); font-weight: 500; transition: color var(--dur-base); }
.contact-line a:hover { color: var(--xc-turquoise); }

.form { display: grid; gap: 20px; background: var(--ink-900); border: 1px solid var(--line); border-radius: 4px; padding: clamp(24px, 3.4vw, 44px); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 13.5px; font-weight: 500; color: var(--text-2); }
.field .req { color: var(--xc-turquoise); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 13px 16px;
  font: inherit; font-size: 15px; color: var(--xc-white);
  background: var(--ink-850); border: 1px solid var(--line); border-radius: 3px;
  transition: border-color var(--dur-base), box-shadow var(--dur-base), background var(--dur-base);
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230EA49A' stroke-width='1.6' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
  padding-right: 42px;
}
.field select option { background: var(--ink-850); color: var(--xc-white); }
.field textarea { min-height: 128px; resize: vertical; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.3); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-strong); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--xc-turquoise); box-shadow: 0 0 0 3px var(--tq-a12); background: var(--ink-800); }

/* validation — brand rule: turquoise-bright, not red */
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--xc-turquoise-bright); box-shadow: 0 0 0 3px rgba(15,212,197,0.14); }
.err-msg { display: none; font-size: 13px; color: var(--xc-turquoise-bright); }
.field.invalid .err-msg { display: block; }

.form-foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form-note { font-size: 13.5px; color: var(--text-3); }
.form-success { display: none; border: 1px solid var(--tq-a40); border-radius: 4px; background: var(--ink-900); padding: clamp(28px, 4vw, 48px); }
.form-success.show { display: grid; gap: 12px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { border-top: 1px solid var(--line); background: var(--ink-950); padding: clamp(48px, 6vw, 80px) 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, minmax(0,1fr)); gap: clamp(28px, 4vw, 56px); }
.footer-brand img { width: 190px; height: auto; margin-top: 3px; }
.footer-brand p { margin-top: 18px; color: var(--text-3); font-size: 14px; max-width: 34ch; line-height: 1.6; }
.footer-col h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: 14.5px; color: var(--text-2); transition: color var(--dur-base); }
.footer-col a:hover { color: var(--xc-turquoise); }
.footer-bottom {
  margin-top: clamp(36px, 5vw, 56px); padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--text-3);
}

/* ============================================================
   REVEAL SYSTEM
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); will-change: opacity, transform; }
[data-reveal].in-view { opacity: 1; transform: none; will-change: auto; }
.no-js [data-reveal], .static-mode [data-reveal] { opacity: 1; transform: none; transition: none; }

[data-hero-fade] { opacity: 0; transform: translateY(16px); animation: hero-fade 900ms var(--ease-out) forwards; }
[data-hero-fade]:nth-of-type(2), .hero-ctas[data-hero-fade] { animation-delay: 160ms; }
.hero-meta[data-hero-fade] { animation-delay: 340ms; }
@keyframes hero-fade { to { opacity: 1; transform: none; } }
.no-js [data-hero-fade], .static-mode [data-hero-fade] { opacity: 1; transform: none; animation: none; }

/* CSS-timed mask lines (survive rAF throttling; GSAP enhances when available) */
.mask-line > span { transition: transform 900ms var(--ease-out); }
.masks-play .mask-line > span { transform: none; }
.masks-play .mask-line:nth-child(2) > span { transition-delay: 110ms; }
.masks-play .mask-line:nth-child(3) > span { transition-delay: 220ms; }
.static-mode .mask-line > span { transform: none; transition: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-hero-fade], .mask-line > span { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
  .marquee-track { animation: none !important; }
  .conf-blur-field { animation: none !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .stage-body-inner { grid-template-columns: 1fr; gap: 18px; }
  .forces { grid-template-columns: 1fr; }
  .cs-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 920px) {
  .nav-desktop { display: none; }
  .nav-burger { display: flex; }
  .nav-cta { display: none; }
  .sec-head.split { grid-template-columns: 1fr; align-items: start; gap: 18px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .split-media { grid-template-columns: 1fr; }
  .split-media.flip > .photo-block { order: 0; }
  .tiers { grid-template-columns: 1fr; }
  .matrix { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stats-band .grid-3 { grid-template-columns: 1fr; }
  .stats-band .stat { border-left: none; border-top: 1px solid var(--line); }
  .stats-band .stat:first-child { border-top: none; }
  .logo-wall { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mech-row { grid-template-columns: 44px 1fr; }
  .mech-row .m-val, .mech-row .m-note { grid-column: 2; justify-self: start; text-align: left; margin-top: 6px; }
  .hero-meta .prods { gap: 14px; }
  .conf-inner { grid-template-columns: 1fr; }
  .conf-split { max-width: 480px; }
}
@media (max-width: 640px) {
  .cs-grid { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .form-row { grid-template-columns: 1fr; }
  .num-item, .principle { grid-template-columns: 48px 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
  .scroll-cue { display: none; }
  .variant-bar { max-width: calc(100vw - 24px); flex-wrap: wrap; justify-content: center; border-radius: 16px; }
}


/* ============================================================
   V4 ADDITIONS
   ============================================================ */

/* --- XC product icons (from XC Product icons.pptx, rebuilt as SVG) --- */
.prod-card .pc-icon {
  position: absolute; right: 18px; bottom: 14px;
  width: clamp(92px, 8.5vw, 124px); height: clamp(92px, 8.5vw, 124px);
  color: rgba(255,255,255,0.045); margin: 0; pointer-events: none;
  transition: color var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.prod-card:hover .pc-icon { color: rgba(14,164,154,0.28); transform: translateY(-6px); }
.pc-icon { display: block; }
.wb-icon { width: 34px; height: 34px; display: inline-block; color: var(--xc-turquoise); vertical-align: middle; }

/* --- horizontal operating principles (how we work) --- */
.principles-row { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: clamp(14px, 1.8vw, 24px); align-items: stretch; }
.principles-row .principle {
  display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
  padding: clamp(20px, 2.4vw, 30px) clamp(16px, 1.8vw, 24px);
  border: 1px solid var(--line); border-top: 2px solid var(--xc-turquoise); border-radius: 3px;
  background: var(--ink-900);
}
.principles-row .principle:last-child { border-bottom: 1px solid var(--line); }
.principles-row .p-name { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.25; }
.principles-row .p-desc { grid-column: auto; margin-top: 0; font-size: 14px; }
@media (max-width: 1080px) { .principles-row { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 620px) { .principles-row { grid-template-columns: 1fr; } }

/* --- AiDA method: big word beside the accordion (capability pack s22) --- */
.aida-method { display: grid; grid-template-columns: minmax(150px, 240px) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.aida-method .aida-word.vert { flex-direction: column; align-items: center; gap: 0; line-height: 0.92; font-size: clamp(88px, 9.5vw, 150px); position: sticky; top: calc(var(--nav-h) + 32px); }
@media (max-width: 900px) {
  .aida-method { grid-template-columns: 1fr; }
  .aida-method .aida-word.vert { flex-direction: row; position: static; font-size: clamp(64px, 11vw, 110px); gap: clamp(8px, 1.6vw, 20px); }
}

/* --- plain client logo grid (proof page): 5 per row, trimmed assets,
       per-logo widths set inline for equal visual weight --- */
.logo-grid {
  display: grid; grid-template-columns: repeat(5, minmax(0,1fr));
  gap: clamp(40px, 5vw, 64px) clamp(20px, 2.5vw, 36px);
  justify-items: center; align-items: center;
}
.logo-grid img { height: auto; opacity: 0.92; filter: grayscale(1) brightness(1.6); }
.logo-grid img:nth-child(26) { grid-column: 2; }
.logo-grid img:nth-child(27) { grid-column: 4; }
@media (max-width: 900px) {
  .logo-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .logo-grid img:nth-child(26), .logo-grid img:nth-child(27) { grid-column: auto; }
}
@media (max-width: 560px) { .logo-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* --- X-System scroll story --- */
.scrolly { position: relative; margin-top: 8px; }
.scrolly-sticky {
  position: sticky; top: calc(var(--nav-h) + 10px); height: calc(100svh - var(--nav-h) - 22px);
  background: transparent; border: none; border-radius: 0;
  display: flex; flex-direction: column; justify-content: flex-start; align-items: center;
  padding: 20px 0 20px; overflow: hidden;
}
.scrolly-sticky svg { width: auto; max-width: 100%; height: min(52vh, 520px); flex: none; }
.story-zone { position: relative; width: 100%; max-width: 880px; flex: 1; min-height: 150px; margin-top: 1.5vh; }
.story-cap, .story-cards { position: absolute; inset: 0; display: flex; align-items: flex-start; justify-content: center; transition: opacity .45s ease; }
.story-cap { align-items: center; }
.story-cap p { max-width: 56ch; text-align: center; color: var(--xc-white); font-size: clamp(16px, 2.2vw, 21px); font-weight: 400; margin: 0 0 4vh; }
.story-cap p strong { color: var(--xc-turquoise-bright); font-weight: 600; }
.story-cards { gap: 14px; }
.story-cards.hidden, .story-cap.hidden { opacity: 0; pointer-events: none; }
.scard { flex: 1 1 0; max-width: 430px; border-radius: 6px; padding: 16px 20px 14px; background: #17171A; border: 1px solid var(--line); animation: cardin .5s ease; }
@keyframes cardin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.scard.informal { background: #10403C; border-color: rgba(15,212,197,.35); }
.scard .sc-tag { font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--text-3); margin-bottom: 2px; }
.scard.informal .sc-tag { color: #7ECCC4; }
.scard h3 { margin: 0 0 2px; font-size: 18px; font-weight: 600; color: var(--xc-white); }
.scard .q { font-size: 13px; color: var(--text-2); margin: 0 0 8px; }
.scard.informal .q { color: #C8EAE6; }
.scard ul { margin: 0; padding-left: 16px; font-size: 12.5px; color: var(--text-3); }
.scard.informal ul { color: #A9D9D4; }
.scard ul li { margin: 1px 0; }
.story-cue {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  color: var(--xc-turquoise-bright); font-size: 11px; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 2px;
  transition: opacity .4s ease;
}
.story-cue::after { content: '\25BE'; font-size: 16px; animation: cue-bob 1.6s ease-in-out infinite; }
@keyframes cue-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
.story-cue.hidden { opacity: 0; }
.story-step { height: 52vh; }
.story-step:last-child { height: 46vh; }
#storysvg .band { transition: opacity .55s ease, transform .55s ease; }
#storysvg .band polygon { transition: stroke .3s ease; }
#storysvg .st-axes, #storysvg .st-wline, #storysvg .st-zones { transition: opacity .55s ease; }
#storysvg[data-stage="0"] .bf, #storysvg[data-stage="0"] .bi { opacity: 0; }
#storysvg[data-stage="0"] .bf { transform: translateY(-26px); }
#storysvg[data-stage="0"] .bi { transform: translateY(26px); }
#storysvg[data-stage="0"] .st-wline, #storysvg[data-stage="0"] .st-zones { opacity: 0; }
#storysvg[data-stage="1"] .bi { opacity: 0; transform: translateY(26px); }
#storysvg[data-stage="1"] .st-wline { opacity: 0; }
#storysvg[data-stage="2"] .bi { opacity: .08; transform: translateY(0); }
#storysvg[data-stage="3"] .bf { opacity: .35; }
#storysvg.nudge .r0 polygon { animation: bandpulse .9s ease .1s; }
#storysvg.nudge .r1 polygon { animation: bandpulse .9s ease .3s; }
#storysvg.nudge .r2 polygon { animation: bandpulse .9s ease .5s; }
#storysvg.nudge .r3 polygon { animation: bandpulse .9s ease .7s; }
@keyframes bandpulse { 50% { filter: brightness(1.35); } }
#storysvg.hovering .band { opacity: .13; }
#storysvg.hovering .band.hov { opacity: 1 !important; }
#storysvg .band { cursor: pointer; }
#storysvg .u-dotted { transition: opacity .2s ease; }
#storysvg .band:hover .u-dotted, #storysvg .band.hov .u-dotted { opacity: 0; }
#storysvg .u-solid { opacity: 0; transition: opacity .2s ease; }
#storysvg .band:hover .u-solid, #storysvg .band.hov .u-solid { opacity: 1; }
#storysvg text { font-family: 'Poppins', sans-serif; }
.svg-axis { font-size: 11px; font-weight: 600; letter-spacing: 3px; fill: #A8A49B; text-transform: uppercase; }
@media (prefers-reduced-motion: reduce) {
  #storysvg .band, #storysvg .st-wline, #storysvg .st-zones, #storysvg .st-axes { opacity: 1 !important; transform: none !important; }
  .story-cue::after { animation: none; }
  .scard { animation: none; }
}
@media (max-width: 760px) {
  .story-cards { flex-direction: column; align-items: stretch; overflow-y: auto; }
  .scard { max-width: none; padding: 12px 16px 10px; }
  .scrolly-sticky svg { height: min(40vh, 380px); }
}


/* --- logo size overrides: visually oversized marks pulled back --- */
.marquee-track img.logo-sm { height: clamp(28px, 3.2vw, 44px); }

/* --- stat aligned to the right edge of the section rule --- */
.grid-2 > .stat { justify-self: end; text-align: right; }
.grid-2 > .stat .stat-label { margin-left: auto; }
@media (max-width: 920px) {
  .grid-2 > .stat { justify-self: start; text-align: left; }
  .grid-2 > .stat .stat-label { margin-left: 0; }
}

/* --- centred hero (contact) --- */
.hero-center { text-align: center; }
.hero-center .hero-sub { margin-inline: auto; }
.hero-center .kicker { margin-bottom: 10px; }

/* --- Momentum force cards: orbit dots sit at the three ends of a Y --- */
.forces .force:nth-child(1) .f-orbit { transform: rotate(-45deg); }
.forces .force:nth-child(2) .f-orbit { transform: rotate(45deg); }
.forces .force:nth-child(3) .f-orbit { transform: rotate(180deg); }
