/* ==================================================================
   Deal42 — official site
   One long instrument: intake → adversarial bench → deterministic
   verdict. Night graphite drench, sea-glass light, verdict signals
   appear only where a verdict is rendered.
   ================================================================== */
:root {
  color-scheme: dark;
  --bg: oklch(14.5% 0.012 195);
  --bg-2: oklch(17.5% 0.012 195);
  --card: oklch(20% 0.013 195);
  --raised: oklch(24% 0.014 195);
  --inset: oklch(12.5% 0.01 195);
  --ink: oklch(94% 0.008 190);
  --ink2: oklch(80% 0.014 190);
  --muted: oklch(67% 0.016 190);
  --line: oklch(29% 0.012 195);
  --line2: oklch(36% 0.014 195);
  /* The Signal palette: the verdict IS the brand. Electric pursue-green
     leads; watch-amber and pass-red complete the triad. */
  --sea: oklch(83% 0.16 160);
  --sea-bright: oklch(90% 0.12 162);
  --sea-ink: oklch(15% 0.02 195);
  --bear: oklch(71% 0.13 25);
  --v-green: oklch(75% 0.13 160);
  --v-amber: oklch(80% 0.12 80);
  --v-red: oklch(70% 0.15 25);
  --font: 'Hanken Grotesk', 'Segoe UI', system-ui, sans-serif;
  --mono: 'Spline Sans Mono', 'Cascadia Code', Consolas, monospace;
  --shadow-lg: 0 18px 48px oklch(0% 0 0 / 0.42);
  --ring: 0 0 0 2px color-mix(in oklab, var(--sea) 55%, transparent);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-quint: cubic-bezier(0.23, 1, 0.32, 1);
  --pad-x: clamp(20px, 5vw, 64px);
  /* Liquid Glass — the terminal's floating-layer material (DESIGN.md §4) */
  --glass-bg: oklch(15% 0.012 195 / 0.62);
  --glass-panel: oklch(16% 0.013 195 / 0.68);
  --glass-rim-hi: oklch(100% 0 0 / 0.13);
  --glass-rim-lo: oklch(100% 0 0 / 0.04);
  --glass-spec: oklch(100% 0 0 / 0.08);
  --node-fill: oklch(20% 0.013 195 / 0.85);
}

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html[data-theme="day"] {
  color-scheme: light;
  --bg: oklch(97% 0.004 190);
  --bg-2: oklch(94.8% 0.005 190);
  --card: oklch(100% 0 0);
  --raised: oklch(100% 0 0);
  --inset: oklch(94.5% 0.005 190);
  --ink: oklch(23% 0.015 210);
  --ink2: oklch(38% 0.016 205);
  --muted: oklch(47% 0.016 200);
  --line: oklch(88.5% 0.007 190);
  --line2: oklch(81% 0.01 190);
  --sea: oklch(46% 0.13 160);
  --sea-bright: oklch(38% 0.14 162);
  --sea-ink: oklch(99% 0.003 190);
  --bear: oklch(52% 0.15 25);
  --v-green: oklch(50% 0.12 160);
  --v-amber: oklch(55% 0.115 78);
  --v-red: oklch(52% 0.16 25);
  --shadow-lg: 0 18px 44px oklch(20% 0.02 200 / 0.14);
  --glass-bg: oklch(98% 0.003 190 / 0.62);
  --glass-panel: oklch(99.5% 0.002 190 / 0.74);
  --glass-rim-hi: oklch(100% 0 0 / 0.9);
  --glass-rim-lo: oklch(30% 0.01 195 / 0.05);
  --glass-spec: oklch(100% 0 0 / 0.55);
  --node-fill: oklch(100% 0 0 / 0.88);
}

/* Theme switch: colors crossfade instead of snapping */
html.theme-anim, html.theme-anim body,
html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after {
  transition: background-color 400ms var(--ease), color 400ms var(--ease),
              border-color 400ms var(--ease), fill 400ms var(--ease),
              stroke 400ms var(--ease), box-shadow 400ms var(--ease) !important;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
/* soft cross-fade when moving between the landing page and the docs */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 260ms; }
body {
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.6;
  color: var(--ink); background: var(--bg); overflow-x: clip;
}
::selection { background: color-mix(in oklab, var(--sea) 32%, transparent); color: var(--ink); }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }
b, strong { font-weight: 650; }
h1, h2, h3 { text-wrap: balance; }
code { font-family: var(--mono); font-size: 0.9em; color: var(--sea); }

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 60;
  padding: 9px 16px; border-radius: 8px; background: var(--raised);
  border: 1px solid var(--line2); color: var(--ink); font-size: 0.875rem;
  font-weight: 600; text-decoration: none; transition: top 160ms var(--ease);
}
.skip-link:focus-visible { top: 12px; }

/* ------------------------------ Nav ------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  display: flex; align-items: center; gap: clamp(16px, 3vw, 40px);
  padding: 14px var(--pad-x);
  transition: background 320ms var(--ease), backdrop-filter 320ms var(--ease), border-color 320ms var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom-color: var(--line);
  box-shadow: inset 0 1px 0 var(--glass-rim-hi);
}
/* the terminal's lensed glass, when the engine can refract */
@supports (backdrop-filter: url(#liquid-lens)) {
  .nav.scrolled {
    -webkit-backdrop-filter: url(#liquid-lens);
    backdrop-filter: url(#liquid-lens);
  }
}
.nav-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.nav-glyph {
  width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex: 0 0 auto;
  color: var(--sea); background: color-mix(in oklab, var(--sea) 13%, var(--bg-2));
  border: 1px solid color-mix(in oklab, var(--sea) 30%, var(--line));
}
.nav-glyph svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav-name { font-weight: 700; font-size: 0.9375rem; letter-spacing: -0.01em; white-space: nowrap; }
.nav-links { display: flex; gap: clamp(12px, 2.2vw, 28px); }
.nav-links a {
  position: relative; color: var(--ink2); text-decoration: none; font-size: 0.875rem; font-weight: 600;
  padding: 6px 2px; transition: color 160ms var(--ease);
}
.nav-links a::after {
  content: ''; position: absolute; left: 2px; right: 2px; bottom: 0; height: 2px;
  border-radius: 1px; background: var(--sea);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 300ms var(--ease-quint);
}
.nav-links a:hover, .nav-links a[aria-current="page"], .nav-links a.is-here { color: var(--ink); }
.nav-links a.is-here::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.theme-btn {
  flex: 0 0 auto; width: 34px; height: 34px; display: grid; place-items: center;
  border: 1px solid var(--line2); border-radius: 8px; background: transparent;
  color: var(--ink2); cursor: pointer;
  transition: background 160ms var(--ease), color 160ms var(--ease), transform 160ms var(--ease);
}
.theme-btn:hover { background: var(--bg-2); color: var(--ink); }
.theme-btn:active { transform: scale(0.94); }
.theme-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform 400ms var(--ease-quint); }
.theme-btn .i-sun { display: block; }
.theme-btn .i-moon { display: none; }
html[data-theme="day"] .theme-btn .i-sun { display: none; }
html[data-theme="day"] .theme-btn .i-moon { display: block; }
.theme-btn:hover svg { transform: rotate(18deg); }

.nav-cta {
  flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 34px; padding: 6px 15px;
  border-radius: 7px; background: var(--sea); color: var(--sea-ink); text-decoration: none;
  font-size: 0.875rem; font-weight: 650;
  background-image: linear-gradient(180deg, oklch(100% 0 0 / 0.18), transparent 46%);
  transition: background-color 160ms var(--ease), transform 160ms var(--ease);
}
.nav-cta:hover { background-color: color-mix(in oklab, var(--sea) 86%, var(--ink)); }
.nav-cta:active { transform: scale(0.97); }

/* ------------------------------ Hero ------------------------------ */
.ch-boot { position: relative; }
#currents { position: absolute; inset: 0; width: 100%; height: 100%; }
/* the pocket of calm the typography stands in, carved from the field,
   plus the dual aurora: scrutiny overhead, consensus underfoot */
.j-pin::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(52% 46% at 80% 12%, color-mix(in oklab, var(--v-amber) 10%, transparent), transparent 70%),
    radial-gradient(44% 40% at 8% 88%, color-mix(in oklab, var(--sea) 9%, transparent), transparent 70%),
    radial-gradient(86% 72% at 26% 46%, color-mix(in oklab, var(--bg) 72%, transparent), transparent 68%),
    linear-gradient(180deg, transparent 78%, color-mix(in oklab, var(--bg) 85%, transparent));
}
.hero-inner {
  position: relative; z-index: 1;
  width: min(100%, 1240px); margin: 0 auto; padding: 96px var(--pad-x) 120px;
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: clamp(40px, 6vw, 96px); align-items: center;
}
.hero-copy { min-width: 0; will-change: transform, opacity; }
.ch-boot h1 {
  font-size: clamp(2.3rem, 3.55vw, 3.6rem); font-weight: 700; line-height: 1.03;
  letter-spacing: -0.03em;
}
.boot-sub {
  margin-top: 28px; max-width: 58ch; font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
  line-height: 1.65; color: var(--ink2);
}
.boot-sub .v-pursue { color: var(--v-green); }
.boot-sub .v-watch { color: var(--v-amber); }
.boot-sub .v-pass { color: var(--v-red); }
.boot-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-plate {
  position: absolute; left: 0; right: 0; bottom: 22px; z-index: 1;
  text-align: center; font-family: var(--mono); font-size: 0.75rem; color: var(--muted);
  padding: 0 var(--pad-x);
}

/* The living schematic — one deal traveling the real architecture:
   deck → extraction → firewalled analysts → synthesis → deterministic
   engine → verdict lamp → Airtable. Translucent instrument face; the
   blur keeps the etched lines legible over the moving field. */
.hero-viz {
  position: relative; justify-self: end; width: min(430px, 100%); min-width: 0;
  background: var(--glass-panel);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px 14px;
  box-shadow: var(--shadow-lg), inset 0 1px 0 var(--glass-rim-hi), inset 0 -1px 0 var(--glass-rim-lo);
  will-change: transform;
}
@supports (backdrop-filter: url(#liquid-lens)) {
  .hero-viz {
    -webkit-backdrop-filter: url(#liquid-lens);
    backdrop-filter: url(#liquid-lens);
  }
}
/* specular highlight that follows the cursor — glass, not a card */
.spec-track { position: relative; }
.spec-track::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: 1;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, -30%), var(--glass-spec), transparent 62%);
  opacity: 0; transition: opacity 350ms var(--ease); pointer-events: none;
}
.spec-track:hover::before { opacity: 1; }
.viz-head {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 0.71875rem; color: var(--muted);
  padding-bottom: 13px; border-bottom: 1px solid var(--line);
}
.viz-tabs {
  display: flex; gap: 2px; margin: 12px 0 2px; padding: 2px;
  background: var(--inset); border: 1px solid var(--line); border-radius: 9px;
}
.viz-tabs button {
  flex: 1 1 auto; min-height: 26px; padding: 3px 8px; border: none; border-radius: 7px;
  background: transparent; color: var(--muted); cursor: pointer;
  font-family: var(--mono); font-size: 0.65625rem; font-weight: 500; white-space: nowrap;
  transition: background 200ms var(--ease), color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.viz-tabs button:hover { color: var(--ink); }
.viz-tabs button[aria-pressed="true"] {
  background: var(--card); color: var(--sea);
  box-shadow: 0 1px 2px oklch(0% 0 0 / 0.25), inset 0 1px 0 var(--glass-rim-hi);
}
.viz-caption {
  font-size: 0.75rem; color: var(--muted); line-height: 1.5;
  min-height: calc(2 * 1.5em); margin-top: 8px; text-wrap: pretty;
}
.schematic { opacity: 1; transition: opacity 220ms var(--ease); }
.schematic.is-fading { opacity: 0; }
.schematic[hidden] { display: none; }
.viz-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sea); flex: 0 0 auto; }
.js .viz-dot { animation: vizPulse 2.2s var(--ease) infinite; }
@keyframes vizPulse {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--sea) 45%, transparent); }
  55% { box-shadow: 0 0 0 5px transparent; }
}
.schematic { display: block; width: 100%; height: auto; }

/* signal paths: a faint current is always flowing */
.sp { fill: none; stroke: var(--line2); stroke-width: 1.5; stroke-dasharray: 3 9; }
.js .sp { animation: spFlow 2.8s linear infinite; }
@keyframes spFlow { to { stroke-dashoffset: -12; } }
.sch-junction { fill: var(--line2); }

/* nodes: etched instrument faces */
.sch-node rect { fill: var(--node-fill); stroke: var(--line2); stroke-width: 1; transition: stroke 300ms var(--ease), filter 300ms var(--ease); }
.sch-node text { transition: fill 300ms var(--ease); }
.t-title { fill: var(--ink); font-family: var(--font); font-size: 13px; font-weight: 650; text-anchor: middle; letter-spacing: -0.01em; }
.t-sub { fill: var(--ink2); font-family: var(--font); font-size: 11.5px; font-weight: 600; text-anchor: middle; }
.t-mono { fill: var(--muted); font-family: var(--mono); font-size: 10px; text-anchor: middle; }
.tone-bull { fill: var(--sea); }
.tone-dim { fill: var(--muted); }
.tone-bear { fill: var(--bear); }
.sch-node.on rect { stroke: color-mix(in oklab, var(--sea) 65%, var(--line2)); filter: drop-shadow(0 0 7px color-mix(in oklab, var(--sea) 35%, transparent)); }
.sch-node.on .t-mono { fill: var(--ink2); }

/* firewall: lit while the analysts must not talk */
.sch-firewall line { stroke: var(--line2); stroke-width: 1.5; stroke-dasharray: 2 6; transition: stroke 300ms var(--ease); }
.sch-firewall .t-mono { transition: fill 300ms var(--ease); }
.sch-firewall.on line { stroke: color-mix(in oklab, var(--bear) 60%, var(--line2)); }
.sch-firewall.on .t-mono { fill: var(--bear); }

/* engine gates: flash as the pulse passes; the deciding gate holds */
.sch-gate line { stroke: var(--line2); stroke-width: 1.5; transition: stroke 260ms var(--ease); }
.sch-gate.flash line { stroke: var(--sea); }
.sch-gate.flash .t-mono { fill: var(--sea); }
.sch-gate.hold-watch line { stroke: var(--v-amber); }
.sch-gate.hold-watch .t-mono { fill: var(--v-amber); }
.sch-gate.hold-pass line { stroke: var(--v-red); }
.sch-gate.hold-pass .t-mono { fill: var(--v-red); }

/* verdict lamp */
.sch-lamp rect { fill: none; stroke-width: 2.5; transition: stroke 300ms var(--ease), fill 300ms var(--ease); }
.sch-lamp .t-word { font-family: var(--font); font-size: 20px; font-weight: 700; text-anchor: middle; letter-spacing: 0.02em; }
.sch-lamp .t-mono { font-size: 10.5px; }
.sch-lamp.v-pursue rect { stroke: var(--v-green); fill: color-mix(in oklab, var(--v-green) 8%, transparent); }
.sch-lamp.v-pursue text { fill: var(--v-green); }
.sch-lamp.v-watch rect { stroke: var(--v-amber); fill: color-mix(in oklab, var(--v-amber) 8%, transparent); }
.sch-lamp.v-watch text { fill: var(--v-amber); }
.sch-lamp.v-pass rect { stroke: var(--v-red); fill: color-mix(in oklab, var(--v-red) 8%, transparent); }
.sch-lamp.v-pass text { fill: var(--v-red); }
.js .sch-lamp.await { opacity: 0.35; }
.sch-lamp { transition: opacity 300ms var(--ease); transform-box: fill-box; transform-origin: center; }
.js .sch-lamp.on { animation: lampIn 420ms var(--ease-quint); }
@keyframes lampIn { from { transform: scale(1.28); } }

/* traveling pulses */
.sch-pulse {
  fill: var(--sea-bright); opacity: 0;
  filter: drop-shadow(0 0 4px color-mix(in oklab, var(--sea) 60%, transparent));
}

.cta {
  display: inline-flex; align-items: center; gap: 9px;
  min-height: 46px; padding: 11px 24px; border-radius: 9px; border: 1px solid transparent;
  font-size: 0.9875rem; font-weight: 650; text-decoration: none; cursor: pointer;
  font-family: inherit; white-space: nowrap;
  transition: background-color 160ms var(--ease), color 160ms var(--ease),
              border-color 160ms var(--ease), transform 160ms var(--ease);
}
.cta:active { transform: scale(0.97); }
.cta-primary {
  background: var(--sea); color: var(--sea-ink);
  background-image: linear-gradient(180deg, oklch(100% 0 0 / 0.18), transparent 46%);
}
.cta-primary:hover { background-color: color-mix(in oklab, var(--sea) 86%, var(--ink)); }
.cta-ghost { background: transparent; border-color: var(--line2); color: var(--ink2); }
.cta-ghost:hover { background: var(--bg-2); color: var(--ink); border-color: color-mix(in oklab, var(--sea) 40%, var(--line2)); }
.cta-arrow { font-size: 1.05em; line-height: 1; transition: transform 200ms var(--ease); }
.cta:hover .cta-arrow { transform: translateY(2px); }
.cta-ghost[href="#how"]:hover .cta-arrow { transform: translateY(3px); }

/* ------------------------------ Acts ------------------------------ */
.act { position: relative; height: 250vh; }
.act-pin {
  position: sticky; top: 0; min-height: 100vh; overflow: hidden;
  display: flex; align-items: center;
}
.act-grid {
  width: min(100%, 1240px); margin: 0 auto; padding: 96px var(--pad-x);
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.act-grid-stack { grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vh, 48px); }
.act-grid-stack .act-copy { max-width: 62ch; }

.act-plate {
  display: inline-block; font-family: var(--mono); font-size: 0.75rem; font-weight: 500;
  color: var(--sea); border: 1px solid color-mix(in oklab, var(--sea) 35%, var(--line));
  border-radius: 5px; padding: 4px 11px; margin-bottom: 22px;
  background: color-mix(in oklab, var(--sea) 7%, transparent);
}
.act-copy h2, .spec h2, .room h2, .manual h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.9rem); font-weight: 700; line-height: 1.08;
  letter-spacing: -0.028em; margin-bottom: 20px;
}
.act-copy p { color: var(--ink2); max-width: 54ch; }
.act-copy p + p { margin-top: 14px; }
.act-note { font-size: 0.875rem; color: var(--muted); font-style: italic; }

/* ------------------------ Act I — intake stage -------------------- */
.act-stage {
  display: grid; grid-template-columns: minmax(0, 0.9fr) 44px minmax(0, 1.1fr);
  gap: 14px; align-items: center; min-width: 0;
}
.deck-card {
  position: relative;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; box-shadow: var(--shadow-lg);
  transform: translateY(calc(var(--p, 0) * -14px));
  will-change: transform;
}
/* the reading beam: sweeps the deck while the scene is live */
.deck-scan {
  position: absolute; left: 0; right: 0; top: -46px; height: 46px; z-index: 1;
  background: linear-gradient(180deg, transparent, color-mix(in oklab, var(--sea) 16%, transparent) 50%, transparent);
  opacity: 0; transition: opacity 400ms var(--ease); pointer-events: none;
}
.act-intake.live .deck-scan { opacity: 1; }
.js .deck-scan { animation: deckScan 2.7s cubic-bezier(0.45, 0, 0.55, 1) infinite; }
@keyframes deckScan { from { transform: translateY(0); } to { transform: translateY(300px); } }
.deck-chrome {
  display: flex; justify-content: space-between; gap: 10px; align-items: center;
  padding: 10px 14px; border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 0.71875rem; color: var(--muted);
}
.deck-pages b { color: var(--ink2); font-weight: 600; font-variant-numeric: tabular-nums; }
.deck-body { padding: 18px 16px 22px; display: flex; flex-direction: column; gap: 11px; }
.deck-body i { display: block; height: 9px; border-radius: 4px; background: var(--line2); }
.deck-body .dl-title { height: 15px; width: 62%; background: color-mix(in oklab, var(--ink2) 55%, var(--line2)); }
.dl-w80 { width: 80%; } .dl-w62 { width: 62%; } .dl-w71 { width: 71%; } .dl-w45 { width: 45%; } .dl-w58 { width: 58%; }

.extract-flow { display: flex; flex-direction: column; gap: 9px; align-items: center; }
.extract-flow i { display: block; width: 26px; height: 2px; border-radius: 2px; background: color-mix(in oklab, var(--sea) 55%, var(--line)); }
.js .extract-flow i { animation: flowPulse 1.7s var(--ease) infinite; }
.js .extract-flow i:nth-child(2) { animation-delay: 0.28s; }
.js .extract-flow i:nth-child(3) { animation-delay: 0.56s; }
@keyframes flowPulse { 0%, 100% { opacity: 0.25; transform: translateX(-5px); } 50% { opacity: 1; transform: translateX(5px); } }

.extract-card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px 16px;
}
.extract-title { font-size: 0.8125rem; font-weight: 650; color: var(--ink); margin-bottom: 8px; }
.xrow {
  display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: baseline;
  padding: 8px 0; border-bottom: 1px solid var(--line);
}
.xlabel { font-family: var(--mono); font-size: 0.71875rem; color: var(--muted); }
.xval { font-size: 0.875rem; color: var(--ink); min-height: 1.5em; }
.xstatus {
  display: flex; align-items: center; gap: 9px; padding-top: 12px;
  font-family: var(--mono); font-size: 0.71875rem; color: var(--v-green);
}
.xdot { width: 7px; height: 7px; border-radius: 50%; background: var(--v-green); flex: 0 0 auto; }

/* ------------------------ Act II — the bench ----------------------- */
.bench { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.bench-col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.bench { flex-direction: row; flex-wrap: wrap; }
.bench-col { flex: 1 1 320px; }
.bench-head {
  font-family: var(--mono); font-size: 0.75rem; color: var(--sea); padding: 2px 0 4px;
}
.bench-head-bear { color: var(--bear); order: 10; padding: 4px 0 0; text-align: right; }
.finding {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 13px 16px;
  display: flex; flex-direction: column; gap: 7px;
}
.bench-bull .finding { border-color: color-mix(in oklab, var(--sea) 26%, var(--line)); }
.bench-bear .finding { border-color: color-mix(in oklab, var(--bear) 24%, var(--line)); }
.finding p { font-size: 0.875rem; line-height: 1.5; color: var(--ink); }
.f-model {
  align-self: flex-start; font-family: var(--mono); font-size: 0.6875rem; font-weight: 600;
  padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line2); color: var(--muted);
}
.bench-bull .f-model { color: var(--sea); border-color: color-mix(in oklab, var(--sea) 35%, var(--line2)); }
.bench-bear .f-model { color: var(--bear); border-color: color-mix(in oklab, var(--bear) 35%, var(--line2)); }
.f-tier { font-family: var(--mono); font-size: 0.6875rem; color: var(--muted); }
.f-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
/* synthesis proves two sides argued the same fact */
.f-xval { font-family: var(--mono); font-size: 0.6875rem; color: var(--sea); opacity: 0; transition: opacity 500ms var(--ease); }
.finding.xval-on .f-xval { opacity: 1; }
.finding[data-xval] { transition: border-color 500ms var(--ease), box-shadow 500ms var(--ease); }
.finding.xval-on { border-color: color-mix(in oklab, var(--sea) 45%, var(--line)) !important; box-shadow: 0 0 14px color-mix(in oklab, var(--sea) 12%, transparent); }

.bench-synth {
  flex: 1 1 100%; display: flex; align-items: center; gap: 16px;
  font-family: var(--mono); font-size: 0.75rem; color: var(--ink2); white-space: nowrap;
  margin-top: 6px;
}
.synth-line { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line2)); transform-origin: right center; }
.synth-line:last-child { background: linear-gradient(270deg, transparent, var(--line2)); transform-origin: left center; }

/* ----------------------- Act III — the verdict --------------------- */
.verdict-sec { padding: clamp(96px, 16vh, 180px) var(--pad-x); }
.verdict-grid {
  width: min(100%, 1240px); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.verdict-grid .cta { margin-top: 26px; }
.verdict-machine {
  position: relative; overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px;
  padding: clamp(20px, 3vw, 32px); min-height: 380px;
  display: flex; flex-direction: column;
}
.verdict-machine > * { position: relative; z-index: 1; }
.verdict-machine .mlines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.verdict-deal-row { border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 14px; }
.verdict-deal { font-family: var(--mono); font-size: 0.75rem; color: var(--muted); }
.trace { display: flex; flex-direction: column; gap: 7px; font-family: var(--mono); font-size: 0.78125rem; color: var(--ink2); min-height: 122px; }
/* trace lines type themselves on, left to right */
.js .trace-line { clip-path: inset(0 100% 0 0); }
.js .trace-line.on { clip-path: inset(0 -2% 0 0); transition: clip-path 460ms var(--ease-quint); }
.trace-line .t-key { color: var(--muted); }
/* rerun: the machine exhales before the next deal loads */
.trace, .stamp-zone, .verdict-deal-row { transition: opacity 150ms var(--ease), transform 150ms var(--ease); }
.verdict-machine.swapping .trace,
.verdict-machine.swapping .stamp-zone,
.verdict-machine.swapping .verdict-deal-row { opacity: 0.15; transform: translateY(-3px); }
.stamp-zone { display: grid; place-items: center; flex: 1; padding: 26px 0 8px; }
.stamp {
  --stamp-color: var(--v-green);
  display: inline-flex; flex-direction: row; align-items: baseline; justify-content: center; gap: 14px;
  padding: 12px 20px; border: 2px solid var(--stamp-color); border-radius: 10px;
  color: var(--stamp-color); background: color-mix(in oklab, var(--stamp-color) 8%, transparent);
  white-space: nowrap;
}
.stamp[data-verdict="watch"] { --stamp-color: var(--v-amber); }
.stamp[data-verdict="pass"] { --stamp-color: var(--v-red); }
.stamp-word { font-size: clamp(1.4rem, 2.2vw, 1.85rem); font-weight: 700; letter-spacing: 0.02em; line-height: 1; }
.stamp-grade { font-family: var(--mono); font-size: 0.8125rem; font-weight: 600; }
.js .stamp { opacity: 0; }
.js .stamp.stamped { opacity: 1; animation: stampIn 460ms var(--ease-quint); }
@keyframes stampIn {
  0% { opacity: 0; transform: scale(1.16); }
  100% { opacity: 1; transform: scale(1); }
}

/* --------------------------- Spec plate ---------------------------- */
.spec { position: relative; padding: clamp(88px, 14vh, 160px) var(--pad-x); background: var(--bg-2); border-block: 1px solid var(--line); }
.spec .dotgrid { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.spec-inner { position: relative; }
.spec-inner { width: min(100%, 920px); margin: 0 auto; }
.spec h2 { margin-bottom: 40px; }
.spec-plate { display: flex; flex-direction: column; }
.spec-row {
  display: grid; grid-template-columns: 176px minmax(0, 1fr); gap: clamp(16px, 3vw, 40px);
  padding: 24px 0; border-top: 1px solid var(--line);
}
.spec-row dt { font-family: var(--mono); font-size: 0.78125rem; color: var(--sea); padding-top: 3px; }
.spec-row dd { color: var(--ink2); font-size: 0.9375rem; line-height: 1.62; max-width: 62ch; }
.spec-row dd strong { display: block; color: var(--ink); font-size: 1.0625rem; margin-bottom: 4px; letter-spacing: -0.01em; }
.spec-row dd code { color: var(--sea); }

/* --------------------------- Control room -------------------------- */
.room { padding: clamp(88px, 14vh, 170px) var(--pad-x); }
.room-inner {
  width: min(100%, 1240px); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.room .cta { margin-top: 26px; }
.room-frame {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: clamp(14px, 2vw, 22px); box-shadow: var(--shadow-lg);
}
.mini {
  display: grid; grid-template-columns: 46px minmax(0, 1fr);
  background: var(--inset); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
}
.mini-rail { display: flex; flex-direction: column; gap: 12px; align-items: center; padding: 16px 0; border-right: 1px solid var(--line); }
.mini-dot { width: 9px; height: 9px; border-radius: 3px; background: var(--line2); }
.mini-dot.on { background: var(--sea); }
.mini-main { padding: 18px 20px 20px; min-width: 0; }
.mini-sentence { font-size: 0.8125rem; color: var(--ink); }
.mini-bar { display: flex; height: 6px; border-radius: 999px; overflow: hidden; margin: 12px 0 16px; }
.mini-bar i { display: block; height: 100%; }
.mini-bar .b-ok { width: 69%; background: var(--v-green); }
.mini-bar .b-warn { width: 16%; background: var(--v-amber); }
.mini-bar .b-err { width: 15%; background: var(--v-red); }
/* the miniature performs its "one glance" when it arrives */
.js .room-frame .mini-bar i { transform: scaleX(0); transform-origin: left center; transition: transform 800ms var(--ease-quint); }
.js .room-frame.in .mini-bar .b-ok { transform: scaleX(1); transition-delay: 200ms; }
.js .room-frame.in .mini-bar .b-warn { transform: scaleX(1); transition-delay: 420ms; }
.js .room-frame.in .mini-bar .b-err { transform: scaleX(1); transition-delay: 580ms; }
.js .room-frame .mini-row b { opacity: 0; transform: translateY(3px); transition: opacity 420ms var(--ease-quint), transform 420ms var(--ease-quint); }
.js .room-frame.in .mini-row:nth-child(1) b { opacity: 1; transform: none; transition-delay: 700ms; }
.js .room-frame.in .mini-row:nth-child(2) b { opacity: 1; transform: none; transition-delay: 850ms; }
.js .room-frame.in .mini-row:nth-child(3) b { opacity: 1; transform: none; transition-delay: 1000ms; }
.js .room-frame.in .mini-run { animation: miniRunPulse 900ms var(--ease-quint) 1250ms 1; }
@keyframes miniRunPulse {
  0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--sea) 55%, transparent); }
  100% { box-shadow: 0 0 0 10px transparent; }
}
.mini-rows { display: flex; flex-direction: column; }
.mini-row {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 8px 0; border-top: 1px solid var(--line); font-size: 0.78125rem; color: var(--ink2);
}
.mini-row b { font-family: var(--mono); font-size: 0.6875rem; font-weight: 600; }
.m-pursue { color: var(--v-green); } .m-watch { color: var(--v-amber); } .m-pass { color: var(--v-red); }
.mini-run {
  margin-top: 14px; display: inline-block; padding: 6px 14px; border-radius: 6px;
  background: var(--sea); color: var(--sea-ink); font-size: 0.75rem; font-weight: 650;
}

/* --------------------------- Field manual -------------------------- */
.manual { padding: clamp(88px, 14vh, 160px) var(--pad-x) clamp(72px, 10vh, 120px); background: var(--bg-2); border-top: 1px solid var(--line); }
.manual-inner { width: min(100%, 920px); margin: 0 auto; }
.manual h2 { margin-bottom: 28px; }
.manual-links { display: flex; flex-direction: column; }
.manual-link {
  display: flex; align-items: baseline; gap: clamp(16px, 3vw, 40px);
  padding: 22px 4px; border-top: 1px solid var(--line); text-decoration: none;
  transition: background 160ms var(--ease);
}
.manual-link:hover { background: color-mix(in oklab, var(--sea) 5%, transparent); }
.manual-link strong { flex: 0 0 176px; color: var(--ink); font-size: 1.125rem; font-weight: 650; letter-spacing: -0.01em; }
.manual-link span { color: var(--ink2); font-size: 0.9375rem; }
.manual-link::after { content: '\2192'; margin-left: auto; color: var(--muted); transition: transform 200ms var(--ease), color 200ms var(--ease); }
.manual-link:hover::after { transform: translateX(5px); color: var(--sea); }

/* ------------------------------ Footer ----------------------------- */
.foot { border-top: 1px solid var(--line); padding: 40px var(--pad-x) 48px; }
.foot-inner {
  width: min(100%, 1240px); margin: 0 auto;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.foot-brand { display: flex; align-items: center; gap: 10px; color: var(--ink2); font-size: 0.875rem; }
.foot-links { display: flex; gap: 22px; margin-left: auto; flex-wrap: wrap; }
.foot-links a { color: var(--muted); text-decoration: none; font-size: 0.8125rem; font-weight: 600; transition: color 160ms var(--ease); }
.foot-links a:hover { color: var(--ink); }
.foot-note { flex: 1 1 100%; font-family: var(--mono); font-size: 0.71875rem; color: var(--muted); }

/* ------------------------------ Reveals ---------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 550ms var(--ease-quint), transform 650ms var(--ease-quint); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ============================ Docs layout =========================== */
.docs-main { width: min(100%, 1180px); margin: 0 auto; padding: 118px var(--pad-x) 96px; display: grid; grid-template-columns: 228px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); }
.docs-toc { position: sticky; top: 96px; align-self: start; }
.docs-toc-title { font-size: 0.8125rem; font-weight: 650; color: var(--ink); margin-bottom: 10px; }
.docs-toc ol { list-style: none; display: flex; flex-direction: column; }
.docs-toc a {
  display: block; padding: 6px 10px; border-left: 1px solid var(--line);
  color: var(--muted); text-decoration: none; font-size: 0.8125rem; font-weight: 500;
  transition: color 140ms var(--ease), border-color 140ms var(--ease);
}
.docs-toc a:hover { color: var(--ink); }
.docs-toc a.active { color: var(--sea); border-left-color: var(--sea); }
.docs-body { min-width: 0; max-width: 72ch; }
.docs-body > h1 { font-size: clamp(2.1rem, 4vw, 2.9rem); font-weight: 700; letter-spacing: -0.028em; line-height: 1.08; margin-bottom: 14px; }
.docs-kicker { color: var(--ink2); font-size: 1.0625rem; margin-bottom: 40px; max-width: 58ch; }
.docs-body section { padding-top: 26px; margin-top: 26px; border-top: 1px solid var(--line); }
.docs-body section:first-of-type { border-top: none; margin-top: 0; }
.docs-body h2 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 14px; scroll-margin-top: 96px; }
.docs-body h3 { font-size: 1.0625rem; font-weight: 650; margin: 22px 0 8px; scroll-margin-top: 96px; }
.docs-body p { color: var(--ink2); font-size: 0.9375rem; line-height: 1.7; margin-bottom: 12px; text-wrap: pretty; }
.legal-main { grid-template-columns: 244px minmax(0, 1fr); }
.legal-body { max-width: 76ch; }
.legal-eyebrow {
  margin: 0 0 12px;
  font-family: var(--mono); font-size: 0.75rem; font-weight: 600;
  color: var(--sea); letter-spacing: 0.035em; text-transform: uppercase;
}
.legal-body a { color: var(--sea); text-underline-offset: 0.18em; }
.legal-body strong { color: var(--ink); }
.legal-table td:first-child { white-space: nowrap; font-weight: 650; color: var(--ink); }
.docs-body p strong, .docs-body li strong { color: var(--ink); }
.docs-body ul, .docs-body ol { margin: 0 0 14px 22px; color: var(--ink2); font-size: 0.9375rem; line-height: 1.7; }
.docs-body li { margin-bottom: 5px; }
.docs-body li::marker { color: var(--muted); }
.docs-body pre {
  background: var(--inset); border: 1px solid var(--line); border-radius: 10px;
  padding: 14px 18px; margin: 14px 0 18px; overflow-x: auto;
  font-family: var(--mono); font-size: 0.78125rem; line-height: 1.65; color: var(--ink2);
}
.docs-body pre code { color: inherit; font-size: inherit; }
.docs-body code { background: var(--inset); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; font-size: 0.8125rem; }
.docs-body pre code { background: none; border: none; padding: 0; }
.docs-table { width: 100%; border-collapse: collapse; margin: 14px 0 18px; font-size: 0.875rem; }
.docs-table th { text-align: left; font-weight: 650; color: var(--ink); padding: 8px 14px 8px 0; border-bottom: 1px solid var(--line2); }
.docs-table td { padding: 9px 14px 9px 0; border-bottom: 1px solid var(--line); color: var(--ink2); vertical-align: top; }
.docs-table td code { white-space: nowrap; }
.docs-callout {
  border: 1px solid color-mix(in oklab, var(--sea) 30%, var(--line));
  background: color-mix(in oklab, var(--sea) 6%, transparent);
  border-radius: 10px; padding: 14px 18px; margin: 14px 0 18px;
  font-size: 0.875rem; color: var(--ink2); line-height: 1.65;
}
.docs-callout strong { color: var(--ink); }
.verdict-rules { list-style: none; margin-left: 0 !important; }
.verdict-rules li {
  display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 16px; align-items: baseline;
  padding: 9px 0; border-bottom: 1px solid var(--line); margin: 0;
}
.verdict-rules .vr {
  font-family: var(--mono); font-size: 0.75rem; font-weight: 600; text-align: center;
  padding: 3px 0; border-radius: 999px; border: 1px solid;
}
.vr-pursue { color: var(--v-green); border-color: color-mix(in oklab, var(--v-green) 35%, transparent); background: color-mix(in oklab, var(--v-green) 9%, transparent); }
.vr-watch { color: var(--v-amber); border-color: color-mix(in oklab, var(--v-amber) 35%, transparent); background: color-mix(in oklab, var(--v-amber) 9%, transparent); }
.vr-pass { color: var(--v-red); border-color: color-mix(in oklab, var(--v-red) 35%, transparent); background: color-mix(in oklab, var(--v-red) 9%, transparent); }

/* ==================================================================
   Premium layer — 2026-07 redesign
   Grain, machined edges, the opening sequence, the deal tape,
   border beams, split-text reveals, spotlight rows, stamp glint.
   ================================================================== */

/* film grain: a whisper of texture over every surface */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 90; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.86' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  opacity: 0.034;
}
html[data-theme="day"] body::after { opacity: 0.022; }

/* machined edges: a 1px light catch on instrument surfaces */
.extract-card, .finding, .verdict-machine, .mini { box-shadow: inset 0 1px 0 var(--glass-rim-lo); }
.room-frame { box-shadow: var(--shadow-lg), inset 0 1px 0 var(--glass-rim-lo); }
.deck-card { box-shadow: var(--shadow-lg), inset 0 1px 0 var(--glass-rim-lo); }

/* ------------------------ Opening sequence ------------------------- */
.js .boot-stage .boot-sub,
.js .boot-stage .boot-actions { opacity: 0; transform: translateY(16px); }
.js .boot-stage .boot-line { opacity: 0; }
.js .boot-stage .tape { opacity: 0; }
.js .boot-stage #currents { opacity: 0; }
.js .boot-stage.boot-go .boot-sub {
  opacity: 1; transform: none;
  transition: opacity 700ms var(--ease-quint) 780ms, transform 800ms var(--ease-quint) 780ms;
}
.js .boot-stage.boot-go .boot-actions {
  opacity: 1; transform: none;
  transition: opacity 700ms var(--ease-quint) 940ms, transform 800ms var(--ease-quint) 940ms;
}
.js .boot-stage.boot-go .boot-line { opacity: 1; transition: opacity 400ms var(--ease); }
.js .boot-stage .flow-wrap { opacity: 0; transform: translateX(28px); }
.js .boot-stage.boot-go .flow-wrap {
  opacity: 1; transform: none;
  transition: opacity 800ms var(--ease-quint) 460ms, transform 950ms var(--ease-quint) 460ms;
}
.js .boot-stage.boot-go .tape { opacity: 1; transition: opacity 900ms var(--ease) 1250ms; }
.js .boot-stage.boot-go #currents { opacity: 1; transition: opacity 1400ms var(--ease) 150ms; }
.viz-wrap { min-width: 0; }

/* split-text reveals: words rise out of a blur, one at a time */
.sw { display: inline-block; }
.swi { display: inline-block; }
.js .split-run .swi { opacity: 0; transform: translateY(0.55em); filter: blur(7px); }
.js .split-run.split-in .swi {
  opacity: 1; transform: none; filter: none;
  transition: opacity 550ms var(--ease-quint), transform 680ms var(--ease-quint), filter 460ms var(--ease-quint);
  transition-delay: calc(var(--wi, 0) * 60ms);
}

/* --------------------------- The deal tape ------------------------- */
.tape {
  border-block: 1px solid var(--line); background: var(--bg-2);
  overflow: hidden; padding: 12px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.tape-track { display: flex; width: max-content; }
.js .tape-track { animation: tapeRun 52s linear infinite; }
.tape:hover .tape-track { animation-play-state: paused; }
@keyframes tapeRun { to { transform: translateX(-50%); } }
.tape-row { display: flex; align-items: center; gap: 44px; padding-right: 44px; }
.tape-item {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 0.75rem; color: var(--ink2); white-space: nowrap;
}
.tv { font-weight: 600; }
.tv-pursue { color: var(--v-green); }
.tv-watch { color: var(--v-amber); }
.tv-pass { color: var(--v-red); }
.tape-sep { width: 4px; height: 4px; rotate: 45deg; background: var(--line2); flex: 0 0 auto; }

/* ------------------------- CTA border beam ------------------------- */
@property --beam { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.cta { transform: translate(var(--magx, 0px), var(--magy, 0px)) scale(var(--press, 1)); }
.cta:active { --press: 0.97; }
.cta-beam::before {
  content: ''; position: absolute; inset: -1.5px; border-radius: 10.5px; padding: 1.5px;
  background: conic-gradient(from var(--beam), transparent 0deg 245deg, var(--sea-bright) 305deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0.55; pointer-events: none;
}
.cta-beam { position: relative; }
.js .cta-beam::before { animation: beamSpin 3.8s linear infinite; }
.cta-beam:hover::before { opacity: 1; }
@keyframes beamSpin { to { --beam: 360deg; } }

/* ------------------------ Verdict stamp glint ---------------------- */
.stamp { overflow: hidden; }
.stamp::after {
  content: ''; position: absolute; top: -20%; bottom: -20%; left: 0; width: 34%;
  background: linear-gradient(105deg, transparent, oklch(100% 0 0 / 0.28), transparent);
  transform: translateX(-240%) skewX(-12deg); pointer-events: none;
}
.js .stamp.stamped::after { animation: stampGlint 850ms var(--ease) 480ms forwards; }
@keyframes stampGlint { to { transform: translateX(430%) skewX(-12deg); } }

/* ---------------------- Spotlight ledger rows ---------------------- */
.spec-row { position: relative; }
.spec-row::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%),
    color-mix(in oklab, var(--sea) 8%, transparent), transparent 72%);
  opacity: 0; transition: opacity 300ms var(--ease);
}
.spec-row:hover::after { opacity: 1; }
.spec-row dt { transition: color 250ms var(--ease); }
.spec-row:hover dt { color: var(--sea-bright); }

/* ==================================================================
   Cinematic chapters (2026-07 restructure)
   Minimal chrome + chapter rail, boot title card, split bench,
   full-screen verdict, promoted architecture chapter.
   ================================================================== */

/* Chrome: floating, not a bar */
.chrome {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 3.5vw, 44px); pointer-events: none;
}
.chrome > * { pointer-events: auto; }
.chrome-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.chrome-name { font-family: var(--mono); font-size: 0.78125rem; color: var(--ink2); letter-spacing: 0.01em; }
.chrome-side { display: flex; align-items: center; gap: 10px; }
.chrome-docs {
  display: inline-flex; align-items: center; min-height: 34px; padding: 6px 15px;
  border: 1px solid var(--line2); border-radius: 8px; text-decoration: none;
  color: var(--ink2); font-size: 0.875rem; font-weight: 600;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  backdrop-filter: blur(12px) saturate(1.3);
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}
.chrome-docs:hover { color: var(--ink); border-color: color-mix(in oklab, var(--sea) 40%, var(--line2)); }
.chrome .theme-btn {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  backdrop-filter: blur(12px) saturate(1.3);
}

/* Boot: copy overlays the camera's rest frame, vertically centered */
.boot-inner {
  position: absolute; left: 0; top: 0; bottom: 0; z-index: 3;
  display: flex; flex-direction: column; justify-content: center;
  width: min(620px, 41vw); padding-left: clamp(20px, 4vw, 56px);
  pointer-events: none; will-change: transform, opacity;
}
.boot-inner .boot-line, .boot-inner .boot-copy { pointer-events: auto; }
.boot-copy { min-width: 0; }
/* the living pipeline rides the camera stage */
.flow-wrap { min-width: 0; }
.flowline { display: block; width: 100%; height: auto; }
.flowline .t-title { font-size: 20px; }
.flowline .t-sub { font-size: 16.5px; }
.flowline .t-mono { font-size: 13.5px; }
.flowline .t-word-sm {
  font-family: var(--font); font-size: 30px; font-weight: 700;
  text-anchor: middle; letter-spacing: 0.02em;
}
.boot-line {
  font-family: var(--mono); font-size: 0.78125rem; color: var(--v-amber);
  margin-bottom: 20px; min-height: 1.4em;
  text-shadow: 0 0 18px color-mix(in oklab, var(--v-amber) 35%, transparent);
}
.boot-copy h1 { text-wrap: balance; }
.boot-sub { margin-top: 26px; }
.ch-boot .tape {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4;
  border-bottom: none; background: color-mix(in oklab, var(--bg) 55%, transparent);
  -webkit-backdrop-filter: blur(10px) saturate(1.3);
  backdrop-filter: blur(10px) saturate(1.3);
}

/* The bench splits the screen: bull world | firewall | bear world */
.act-bench .act-grid { width: 100%; max-width: none; padding: 0; gap: 0; grid-template-rows: auto 1fr; height: 100vh; align-items: stretch; }
.act-bench .act-copy {
  max-width: 62ch; margin: 0 auto; text-align: center;
  padding: clamp(84px, 12vh, 128px) var(--pad-x) 20px;
}
.act-bench .act-copy p { margin-inline: auto; }
.act-bench .act-plate { margin-inline: auto; }
.act-bench .bench {
  position: relative; flex-wrap: nowrap; gap: 0; min-height: 0; align-items: stretch;
}
.act-bench .bench-col {
  flex: 1 1 50%; min-width: 0;
  padding: clamp(18px, 3.5vh, 40px) clamp(20px, 4vw, 72px) clamp(70px, 9vh, 110px);
  justify-content: flex-start; gap: 14px;
  transition: opacity 600ms var(--ease-quint), filter 600ms var(--ease-quint);
}
.bench-bull { background: color-mix(in oklab, var(--sea) 6%, transparent); }
.bench-bear { background: color-mix(in oklab, var(--bear) 5%, transparent); }
.act-bench .bench-col.bench-bull { padding-right: 0; }
.act-bench .bench-col.bench-bear { padding-left: 0; }
.act-bench .bench-head { font-size: 0.8125rem; padding: 0 0 8px; }
.act-bench .bench-head-bear { text-align: right; order: -1; padding: 0 0 8px; }
.act-bench .finding { max-width: 480px; width: 100%; }
.bench-bull .finding { margin-left: auto; margin-right: clamp(16px, 2.5vw, 40px); }
.bench-bear .finding { margin-right: auto; margin-left: clamp(16px, 2.5vw, 40px); }
.act-bench .bench-head { margin-right: clamp(16px, 2.5vw, 40px); text-align: right; }
.act-bench .bench-head-bear { margin-right: 0; margin-left: clamp(16px, 2.5vw, 40px); text-align: left; }
/* the firewall seam */
.act-bench .bench::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; z-index: 1;
  transform: translateX(-0.5px);
  background: linear-gradient(180deg, transparent,
    color-mix(in oklab, var(--bear) calc(30% + var(--p, 0) * 45%), var(--line2)) 18%,
    color-mix(in oklab, var(--bear) calc(30% + var(--p, 0) * 45%), var(--line2)) 82%, transparent);
  box-shadow: 0 0 calc(var(--p, 0) * 22px) color-mix(in oklab, var(--bear) 30%, transparent);
  transition: opacity 600ms var(--ease-quint);
}
/* synthesis: the argument collapses into one line */
.act-bench .bench-synth {
  position: absolute; left: 50%; top: 50%; width: min(720px, 86%);
  transform: translate(-50%, -50%); margin: 0;
  font-size: 0.875rem; color: var(--ink); z-index: 2;
}
.act-bench.synth-on .bench-col { opacity: 0.22; filter: blur(3px); }
.act-bench.synth-on .bench::before { opacity: 0.25; }

/* The verdict goes full screen */
.verdict-sec {
  min-height: 100svh; display: flex; align-items: center;
  background:
    radial-gradient(50% 55% at 14% 16%, color-mix(in oklab, var(--v-red) 6%, transparent), transparent 72%),
    radial-gradient(44% 48% at 88% 84%, color-mix(in oklab, var(--v-green) 6%, transparent), transparent 72%);
}
.verdict-grid { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 30px; }
.verdict-grid .act-copy { max-width: 62ch; }
.verdict-grid .act-copy p { margin-inline: auto; }
.verdict-grid .act-plate { margin-inline: auto; }
.verdict-machine { width: min(760px, 100%); }
.trace { font-size: 0.875rem; align-items: flex-start; text-align: left; }
.stamp-word { font-size: clamp(1.55rem, 2.6vw, 2rem); }
.stamp { padding: 12px 22px; }
.verdict-grid .cta { margin-top: 4px; }

/* Architecture: promoted to its own chapter */
/* (architecture chapter dissolved back into the boot hero, 2026-07-03) */
.arch-inner { width: min(100%, 860px); margin: 0 auto; text-align: center; }
.arch-inner h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.9rem); font-weight: 700; line-height: 1.08;
  letter-spacing: -0.028em; margin-bottom: 14px;
}
.arch-lead { color: var(--ink2); max-width: 52ch; margin: 0 auto 40px; }
.ch-arch .hero-viz { justify-self: unset; width: min(560px, 100%); margin: 0 auto; text-align: left; }

/* ==================================================================
   ReactBits polish layer (2026-07-03): variable-proximity headline,
   click sparks, circular theme reveal, rotating status text,
   count-up instruments, magnet lines, blinking dot grid, rail dock,
   idle float on framed panels.
   ================================================================== */

/* headline chars: the cursor dents the weight of the type */
.ch-boot h1 .chx { display: inline-block; font-variation-settings: 'wght' 700; }

/* click sparks: a small verdict-green burst wherever you click */
.spark {
  position: fixed; left: 0; top: 0; width: 0; height: 0;
  z-index: 80; pointer-events: none;
}
.spark i {
  position: absolute; left: -1px; top: -9px; width: 2px; height: 9px;
  border-radius: 1px; background: var(--sea);
  transform-origin: 50% calc(100% + 9px);
  transform: rotate(var(--a)) translateY(0) scaleY(1);
  animation: sparkFly 480ms var(--ease-quint) forwards;
}
@keyframes sparkFly {
  0% { opacity: 1; transform: rotate(var(--a)) translateY(-2px) scaleY(1); }
  100% { opacity: 0; transform: rotate(var(--a)) translateY(-26px) scaleY(0.4); }
}

/* rotating suffix on the boot status line */
.rot-slot { display: inline-block; vertical-align: bottom; }
.rot-slot span { display: inline-block; }
.rot-out span { opacity: 0; transform: translateY(-0.8em); transition: opacity 260ms var(--ease), transform 260ms var(--ease); }
.rot-in span { opacity: 1; transform: none; transition: opacity 300ms var(--ease-quint), transform 300ms var(--ease-quint); }

/* count-up figures hold their width so the sentence never jumps */
.cnt { display: inline-block; text-align: right; font-variant-numeric: tabular-nums; font-weight: 650; color: var(--ink); }

/* Theme changes use the stable whole-frame View Transition above. */

/* idle float: the framed instruments breathe */
@keyframes idleFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
.flow-wrap { animation: idleFloat 8.5s ease-in-out 2.6s infinite; }
.room-frame { animation: idleFloat 9.5s ease-in-out 1s infinite; }

/* ==================================================================
   v4 — the zoom journey, formations, and the anti-portfolio
   ================================================================== */

.hl { color: var(--sea); }
.hl-amber { color: var(--v-amber); }

/* ------------------------- The journey ----------------------------- */
.journey { position: relative; height: 900vh; }
.j-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.j-stagewrap { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; }
.j-stage { width: min(1120px, 88vw); will-change: transform; transform-origin: 0 0; }
.jstep {
  position: absolute; top: 50%; transform: translateY(-50%);
  left: clamp(20px, 4vw, 56px); width: min(440px, 34vw); z-index: 2; opacity: 0;
  padding: 22px 26px; border-radius: 16px;
  background: color-mix(in oklab, var(--bg) 64%, transparent);
  -webkit-backdrop-filter: blur(10px) saturate(1.3);
  backdrop-filter: blur(10px) saturate(1.3);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 var(--glass-rim-lo);
  pointer-events: none;
}
/* the copy card floats just left of the cluster it explains (left set
   per stop by the camera JS); riding over dimmed nodes, it carries a
   deeper glass and a feathered dark halo so the overlap never gets busy */
.j-pin .jstep {
  background: color-mix(in oklab, var(--bg) 80%, transparent);
  box-shadow: inset 0 1px 0 var(--glass-rim-lo),
              0 0 90px 46px color-mix(in oklab, var(--bg) 82%, transparent);
}
.jstep-k {
  font-family: var(--mono); font-size: 0.75rem; color: var(--v-amber);
  margin-bottom: 10px;
}
.jstep-t {
  font-size: clamp(1.7rem, 2.6vw, 2.4rem); font-weight: 700; line-height: 1.1;
  letter-spacing: -0.025em; margin-bottom: 12px; text-wrap: balance;
}
.jstep-s { color: var(--ink2); font-size: 0.9875rem; line-height: 1.6; }
.j-mobile { display: none; }

/* ------------------------- Formations ------------------------------ */
.formations {
  padding: clamp(96px, 15vh, 176px) var(--pad-x);
  background: var(--bg-2); border-block: 1px solid var(--line);
}
.formations-inner { width: min(100%, 1240px); margin: 0 auto; }
.formations h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.9rem); font-weight: 700; line-height: 1.08;
  letter-spacing: -0.028em; margin-bottom: 14px;
}
.formations-lead { color: var(--ink2); max-width: 56ch; margin-bottom: 48px; }
.form-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3.5vw, 56px); align-items: start;
}
.form-fig { margin: 0; min-width: 0; }
.form-fig-split { order: 2; }
.form-fig-math { order: 3; }
.form-fig svg { display: block; width: 100%; height: auto; }
.form-fig figcaption { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.form-fig figcaption strong {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 0.8125rem; font-weight: 600; color: var(--sea);
  margin-bottom: 7px;
}
.form-tag {
  font-style: normal; font-family: var(--mono); font-size: 0.6875rem; font-weight: 500;
  color: var(--muted); border: 1px solid var(--line2); border-radius: 999px; padding: 2px 9px;
}
.form-tag-amber { color: var(--v-amber); border-color: color-mix(in oklab, var(--v-amber) 35%, var(--line2)); }
.form-fig figcaption span { display: block; color: var(--ink2); font-size: 0.875rem; line-height: 1.6; max-width: 40ch; }

/* ----------------------- The anti-portfolio ------------------------ */
.anti { padding: clamp(96px, 15vh, 176px) var(--pad-x); }
.anti-inner {
  width: min(100%, 1240px); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(32px, 5vw, 80px); align-items: center;
}
.anti-copy h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.9rem); font-weight: 700; line-height: 1.08;
  letter-spacing: -0.028em; margin-bottom: 18px;
}
.anti-copy p { color: var(--ink2); max-width: 54ch; margin-bottom: 14px; }
.anti-stat {
  font-family: var(--mono); font-size: 0.8125rem; color: var(--ink);
  margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line);
}
.cnt2 { color: var(--v-amber); font-weight: 600; font-variant-numeric: tabular-nums; display: inline-block; text-align: right; }
.ghost-ledger {
  border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px 10px;
  background: color-mix(in oklab, var(--card) 72%, transparent);
  box-shadow: inset 0 1px 0 var(--glass-rim-lo);
}
.ghost-head {
  font-family: var(--mono); font-size: 0.71875rem; color: var(--muted);
  padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.ghost-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px; align-items: baseline; padding: 12px 0;
  border-bottom: 1px solid var(--line); font-size: 0.875rem;
}
.ghost-row:last-child { border-bottom: none; }
.ghost-row span { color: var(--ink); font-weight: 600; }
.ghost-row em { font-style: normal; font-family: var(--mono); font-size: 0.71875rem; color: var(--muted); }
.gh { font-family: var(--mono); font-size: 0.71875rem; font-weight: 500; color: var(--ink2); }
.gh-hot { color: var(--v-amber); }
.gh-dim { color: var(--muted); }

/* ==================================================================
   v5 — one continuous camera (2026-07-07): the hero IS the journey.
   The rest frame holds the pipeline mid-to-right, vertically centered;
   scroll hands the same SVG to the zoom, stop by stop. Left rail
   retired. The graph carries the formations' combined complexity:
   specialist bus above, math lane below, retro sweep underneath.
   ================================================================== */
.ch-boot.journey { min-height: 0; }
.j-anchor { position: absolute; left: 0; top: 88.8889vh; width: 1px; height: 1px; }
.flowline .t-lane {
  fill: var(--muted); font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase; text-anchor: start;
}
.flowline .t-retro { fill: var(--muted); font-family: var(--mono); font-size: 11.5px; text-anchor: middle; }
.sp-retro { stroke-dasharray: 2 10; opacity: 0.65; }
.flow-wrap-m { display: none; }
.m-hero { position: relative; }

/* ==================================================================
   v6 — cast highlighting (2026-07-10): at each zoom stop the featured
   nodes hold the step's accent (green main line, amber formations)
   while the rest of the machine dims; transitions inherit the nodes'
   300ms stroke/fill easings, opacity rides the damped camera.
   ================================================================== */
.sch-node.feat rect {
  stroke: color-mix(in oklab, var(--sea) 75%, var(--line2));
  filter: drop-shadow(0 0 12px color-mix(in oklab, var(--sea) 40%, transparent));
}
.sch-node.feat .t-title, .sch-node.feat .t-sub { fill: var(--ink); }
.sch-node.feat .t-mono { fill: var(--ink2); }
.sch-node.feat-amber rect {
  stroke: color-mix(in oklab, var(--v-amber) 80%, var(--line2));
  filter: drop-shadow(0 0 12px color-mix(in oklab, var(--v-amber) 42%, transparent));
}
.sch-node.feat-amber .t-mono { fill: var(--v-amber); }
.sch-firewall.feat line { stroke: color-mix(in oklab, var(--bear) 70%, var(--line2)); }
.sch-firewall.feat .t-mono { fill: var(--bear); }
text.t-lane.feat { fill: var(--sea); }
text.t-lane.feat-amber { fill: var(--v-amber); }
.flowline .t-lane, .flowline .t-retro { transition: fill 300ms var(--ease); }

/* ==================================================================
   v8 — the challenge loop (2026-07-11): current_baseline_loop is the
   main line. Amber-tinted dashed arcs carry blind re-checks from the
   initial synthesis back to the bench on loop cycles.
   ================================================================== */
.sp-loop { stroke: color-mix(in oklab, var(--v-amber) 65%, var(--line2)); stroke-dasharray: 2 7; }
.sp-loop.on, .sp-loop.feat { stroke: var(--v-amber); }
/* doubts flying back to the bench are amber pulses */
.sch-pulse-loop { fill: var(--v-amber); filter: drop-shadow(0 0 4px color-mix(in oklab, var(--v-amber) 60%, transparent)); }
/* the blind re-check turns the bench amber for the loop pass */
.sch-node.recheck rect { stroke: color-mix(in oklab, var(--v-amber) 60%, var(--line2)); filter: drop-shadow(0 0 7px color-mix(in oklab, var(--v-amber) 30%, transparent)); }
.sch-node.recheck .t-mono { fill: var(--v-amber); }
.sch-firewall.recheck line { stroke: color-mix(in oklab, var(--v-amber) 60%, var(--line2)); }
.sch-firewall.recheck .t-mono { fill: var(--v-amber); }
.flowline text.t-lane.on { fill: var(--v-amber); }

/* --------------------------- Responsive ---------------------------- */
@media (max-width: 1080px) {
  .chrome-name { display: none; }
  .boot-inner { width: min(520px, 46vw); }
  .ch-boot h1 { font-size: clamp(2.5rem, 7vw, 3.6rem); }
  .form-grid { grid-template-columns: 1fr; gap: 48px; }
  .form-fig svg { max-width: 420px; }
  .anti-inner { grid-template-columns: 1fr; }
}
@media (max-width: 880px) {
  /* mobile adaptation: the camera yields to a stacked walk-through,
     led by its own static hero + live pipeline */
  .journey { height: auto; }
  .j-anchor { top: 100vh; }
  .j-pin { display: none; }
  .j-mobile { display: block; padding: 0 0 clamp(64px, 10vh, 96px); }
  .m-hero { padding: 104px var(--pad-x) 8px; }
  .m-hero .boot-sub { max-width: 60ch; }
  .flow-wrap-m { display: block; margin: 30px 0 6px; }
  .j-mobile .tape { position: relative; margin: 0 0 34px; }
  .j-mobile .jstep {
    position: static; transform: none; opacity: 1;
    width: min(560px, calc(100% - 2 * var(--pad-x)));
    margin: 0 auto 18px; pointer-events: auto;
  }
}
@media (max-width: 480px) {
  .ghost-row { grid-template-columns: minmax(0, 1fr) auto; }
  .ghost-row b { grid-column: 1 / -1; justify-self: end; }
}
@media (max-width: 980px) {
  .act { height: 230vh; }
  .act-grid { grid-template-columns: 1fr; gap: 30px; padding-block: 84px 40px; align-content: center; }
  .verdict-grid, .room-inner { grid-template-columns: 1fr; gap: 36px; }
  .docs-main { grid-template-columns: 1fr; padding-top: 96px; }
  .docs-toc { position: static; order: -1; }
  .docs-toc ol { flex-direction: row; flex-wrap: wrap; gap: 2px 10px; }
  .docs-toc a { border-left: none; padding: 4px 2px; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .act-stage { grid-template-columns: 1fr; }
  .extract-flow { flex-direction: row; justify-content: center; padding: 2px 0; }
  .extract-flow i { width: 2px; height: 18px; }
  @keyframes flowPulse { 0%, 100% { opacity: 0.25; transform: translateY(-4px); } 50% { opacity: 1; transform: translateY(4px); } }
  .bench-head-bear { text-align: left; order: -1; }
  .act-bench .act-grid { height: auto; }
  .act-bench .bench { flex-wrap: wrap; }
  .act-bench .bench-col { flex: 1 1 100%; padding: 20px var(--pad-x) 28px; }
  .act-bench .bench::before { left: 0; right: 0; top: auto; bottom: 50%; width: auto; height: 1px; }
  .act-bench .bench-synth { position: static; transform: none; width: auto; margin: 8px 0; }
  .spec-row { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
  .manual-link { flex-wrap: wrap; gap: 6px 16px; }
  .manual-link strong { flex-basis: 100%; }
  .boot-actions .cta { flex: 1 1 auto; justify-content: center; }
  .ch-boot h1 { font-size: clamp(2.4rem, 11vw, 6rem); }
  .verdict-rules li { grid-template-columns: 92px minmax(0, 1fr); }
}

/* ------------------- Mobile revision (2026-07-25) ------------------ */
/* Placed after every other media block so these win the cascade. */
@media (max-width: 880px) {
  /* the portrait diagram sets its own type scale, matching the desktop
     schematic's EFFECTIVE rendered sizes (1440 viewBox draws at ~0.8x;
     this 420 viewBox draws at ~0.93x — same nominal sizes overflow) */
  #svg-m .t-title { font-size: 17.5px; }
  #svg-m .t-sub { font-size: 14.5px; }
  #svg-m .t-mono { font-size: 11.5px; }
  #svg-m .t-lane { font-size: 10.5px; }
  #svg-m .t-retro { font-size: 10.5px; }
  #svg-m .t-word-sm { font-size: 27px; }
  .boot-line { text-wrap: balance; }
  /* air between the story's chapters: the diagram, the tape, the cards */
  .m-hero { padding-bottom: 18px; }
  .flow-wrap-m { margin: 44px 0 22px; }
  .j-mobile .tape { margin: 0 0 46px; }
  .j-mobile .jstep { margin-bottom: 28px; }
  /* the Currents field rides sticky beneath the whole mobile journey */
  .j-mobile { position: relative; }
  .m-field { position: sticky; top: 0; height: 100vh; margin-bottom: -100vh;
             z-index: 0; pointer-events: none; }
  .m-field canvas { position: absolute; inset: 0; width: 100%; height: 100%;
                    display: block; }
  .j-mobile > :not(.m-field) { position: relative; z-index: 1; }
  .flow-wrap-m { animation: idleFloat 8.5s ease-in-out 2.6s infinite; }
  /* chrome becomes a glass bar so copy never tangles with the buttons */
  .chrome {
    background: color-mix(in oklab, var(--bg) 78%, transparent);
    -webkit-backdrop-filter: blur(14px) saturate(1.3);
    backdrop-filter: blur(14px) saturate(1.3);
    border-bottom: 1px solid color-mix(in oklab, var(--ink) 7%, transparent);
    padding-top: 12px; padding-bottom: 12px;
  }
  /* scroll stages flow naturally on phones; no pinned dead space */
  .act { height: auto; }
  .act-pin { position: static; min-height: 0; overflow: visible; display: block; }
  .act-grid { padding-block: 84px 56px; }
  .act-bench .act-grid { height: auto; }
  /* the walk-through cards materialize: focus-pull in, inner stagger,
     then one specular sweep — the same physics as the pipeline's glass */
  .j-mobile .jstep { position: relative; overflow: hidden; }
  .js .j-mobile .jstep { opacity: 0; transform: translateY(28px) scale(0.965);
    filter: blur(7px);
    transition: opacity 720ms var(--ease), transform 720ms var(--ease),
                filter 720ms var(--ease); }
  .js .j-mobile .jstep.mv { opacity: 1; transform: none; filter: none; }
  .js .j-mobile .jstep .jstep-k,
  .js .j-mobile .jstep .jstep-t,
  .js .j-mobile .jstep .jstep-s { opacity: 0; transform: translateY(14px);
    transition: opacity 540ms var(--ease), transform 540ms var(--ease); }
  .js .j-mobile .jstep.mv .jstep-k { opacity: 1; transform: none; transition-delay: 140ms; }
  .js .j-mobile .jstep.mv .jstep-t { opacity: 1; transform: none; transition-delay: 260ms; }
  .js .j-mobile .jstep.mv .jstep-s { opacity: 1; transform: none; transition-delay: 380ms; }
  .j-mobile .jstep::after { content: ''; position: absolute; top: -2px; bottom: -2px;
    left: 0; width: 34%; transform: skewX(-18deg) translateX(-220%);
    background: linear-gradient(90deg, transparent, oklch(100% 0 0 / 0.06), transparent);
    pointer-events: none; }
  .js .j-mobile .jstep.mv::after { animation: sheen 940ms var(--ease) 460ms; }
  /* the kicker carries a live pulse — the loop never sleeps */
  .j-mobile .jstep-k::before { content: ''; display: inline-block; width: 7px;
    height: 7px; border-radius: 2px; background: var(--v-amber);
    margin-right: 9px; vertical-align: 1px; animation: stepPulse 2.6s ease-in-out infinite; }
}
@keyframes stepPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
