/* Self-hosted latin — Clash Display (display) + Geist (text) + Geist Mono (system).
   No third-party render-block, no FOUT cliff: all preloaded, font-display swap. */
@font-face{font-family:'Clash Display';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/clashdisplay-500.woff2') format('woff2');}
@font-face{font-family:'Clash Display';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/clashdisplay-600.woff2') format('woff2');}
@font-face{font-family:'Geist';font-style:normal;font-weight:400 700;font-display:swap;src:url('/assets/fonts/geist.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Geist Mono';font-style:normal;font-weight:400 500;font-display:swap;src:url('/assets/fonts/geistmono.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}

/* =================================================================
   AXIOM — AI Operations for small businesses
   "Invisible. Revealed by what it moves."
   Material: matte metal · hard plastic · frosted device glass. Not shiny.
   Voice of the type: Clash Display carries the argument (editorial,
   deliberate); Geist carries the prose; Geist Mono carries the machine —
   every telemetry readout, status word, and index is system UI.
   The only color on the page is the live state of the system itself:
   one phosphor tell (--live) when an agent is RUNNING or has resolved,
   and on the hover of the action that starts yours. Color = state.
   Bar: Apple spacing · Nike type confidence · Stripe/Linear discipline.
   Inevitable, not flashy.
   ================================================================= */

:root {
  --bg:    #080808;   /* primary substrate */
  --bg-2:  #111111;   /* secondary */
  --bg-3:  #161616;   /* elevated panel / glass */

  --t1: #f5f5f5;      /* bone */
  --t2: #b8b8b8;
  --t3: #7c7c7c;      /* spec tone — nudged from #777 by one step to clear AA (4.5:1) on #080808 */

  /* machined edges / hairlines */
  --line:        rgba(245,245,245,0.10);
  --line-soft:   rgba(245,245,245,0.055);
  --edge-hi:     rgba(245,245,245,0.16);   /* where an edge catches light */

  /* light through glass — the reveal (never a fill) */
  --reveal:      rgba(236,242,248,0.92);
  --reveal-mid:  rgba(222,232,242,0.40);
  --reveal-soft: rgba(216,228,240,0.08);
  --reveal-faint:rgba(216,228,240,0.045);
  --light:       #f2f3f4;                   /* the one clear light: primary CTA */

  /* THE accent — phosphor. Only ever means "the system is live / it resolved."
     Never decoration, never a fill, sub-2% of any viewport. */
  --live:      #a8e85c;
  --live-dim:  rgba(168,232,92,0.16);
  --live-glow: rgba(168,232,92,0.34);

  --display: 'Clash Display', 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* system type scale — the micro tier is exactly three steps. Nothing
     below body size exists outside these. */
  --fs-micro: 0.6875rem;  /* 11px — stage labels, tags */
  --fs-mono:  0.75rem;    /* 12px — section labels, nav, acts, footer */
  --fs-tele:  0.8125rem;  /* 13px — telemetry readouts, indices, node numerals */

  --maxw: 1200px;
  --gutter: clamp(1.4rem, 5vw, 4rem);
  --beat-pad: clamp(6rem, 15vw, 13rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--t1);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }

/* Atmosphere — a quiet machined void. A faint cool wash, the whisper of
   brushed metal, a trace of grain. Nothing decorative. */
.bg-layer { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.bg-wash { background: radial-gradient(115% 70% at 50% -12%, rgba(216,228,240,0.04), transparent 56%); }
/* Glacial light — a near-subliminal shift across the surface over ~2 minutes,
   like sun crossing a glass house. You only notice it if you sit with it. */
.bg-drift { background: radial-gradient(55% 45% at 28% 30%, rgba(244,247,250,0.03), transparent 62%); animation: drift 120s ease-in-out infinite; will-change: transform; }
@keyframes drift { 0%,100% { transform: translate3d(-7%,-5%,0); } 50% { transform: translate3d(7%,6%,0); } }
.bg-brushed {
  opacity: 0.5;
  background-image: repeating-linear-gradient(90deg, rgba(245,245,245,0.012) 0 1px, transparent 1px 3px);
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 72%);
          mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 72%);
}
.bg-grain {
  opacity: 0.022; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--reveal); color: #0a0d10; }
:focus-visible { outline: 2px solid var(--reveal); outline-offset: 3px; border-radius: 1px; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 110; background: var(--light); color: #0a0d10; padding: 0.6rem 1rem; border-radius: 3px; font-family: var(--mono); font-size: var(--fs-tele); }
.skip-link:focus { left: 0.6rem; top: 0.6rem; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); position: relative; z-index: 1; }
.beat { padding-block: var(--beat-pad); position: relative; }
/* machined divider: hairline + a 1px highlight above it catching light */
.beat + .beat { border-top: 1px solid var(--line-soft); box-shadow: 0 -1px 0 rgba(245,245,245,0.02); }

/* mono system label */
.label { font-family: var(--mono); font-size: var(--fs-mono); font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--t3); }
.label .on { color: var(--reveal); }

/* type voices — Clash Display argues, Geist explains, Mono operates */
.display { font-family: var(--display); font-weight: 600; letter-spacing: -0.022em; line-height: 1.0; font-size: clamp(2.7rem, 7vw, 5.7rem); }
.statement { font-family: var(--display); font-weight: 500; letter-spacing: -0.018em; line-height: 1.07; font-size: clamp(1.9rem, 4.4vw, 3.4rem); }
.statement .soft, .display .soft { color: var(--t3); }
.lede { font-size: clamp(1.1rem, 1.55vw, 1.32rem); line-height: 1.5; color: var(--t2); font-weight: 400; max-width: 50ch; letter-spacing: -0.012em; }

/* ---------- Buttons ---------- */
.btn { font-family: var(--sans); font-size: 1rem; font-weight: 500; letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.95rem 1.55rem; border-radius: 4px; border: 1px solid transparent; cursor: pointer; white-space: nowrap; line-height: 1; position: relative; overflow: hidden; transition: transform 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--light); color: #0a0d10; border-color: var(--light); font-weight: 600; }
/* the one place the live tell touches an action: hover says "this starts the system" */
.btn-primary:hover { box-shadow: 0 0 0 1px var(--live), 0 12px 40px -16px var(--live-glow); }
.btn-ghost { background: transparent; color: var(--t1); border-color: var(--edge-hi); }
.btn-ghost:hover { border-color: var(--reveal-mid); background: rgba(245,245,245,0.022); }
.btn-sm { padding: 0.66rem 1.05rem; font-size: 0.875rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease); }
.site-header.scrolled { background: rgba(8,8,8,0.66); backdrop-filter: blur(18px) saturate(130%); -webkit-backdrop-filter: blur(18px) saturate(130%); border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--display); font-weight: 600; letter-spacing: 0.1em; font-size: 1rem; }
.brand .dot { width: 7px; height: 7px; border-radius: 50%; background: transparent; border: 1px solid var(--reveal-mid); box-shadow: inset 0 0 4px var(--reveal-soft); }
.nav-links { display: flex; align-items: center; gap: 2.1rem; list-style: none; padding: 0; }
.nav-links a { font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--t3); transition: color 0.2s var(--ease); position: relative; padding-block: 0.4rem; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--reveal); transition: width 0.3s var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--t1); }
.nav-links a.active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 0.85rem; }

/* hamburger — machined, mono, only below 880px */
.nav-toggle { display: none; appearance: none; background: transparent; border: 1px solid var(--edge-hi); border-radius: 4px; width: 42px; height: 42px; cursor: pointer; position: relative; transition: border-color 0.3s var(--ease); }
.nav-toggle:hover { border-color: var(--reveal-mid); }
.nav-toggle .nt-bar { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--t1); transition: transform 0.3s var(--ease), top 0.3s var(--ease); }
.nav-toggle .nt-bar:nth-child(1) { top: 16px; }
.nav-toggle .nt-bar:nth-child(2) { top: 24px; }
.nav-toggle[aria-expanded="true"] .nt-bar:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nt-bar:nth-child(2) { top: 20px; transform: rotate(-45deg); }

/* mobile menu — a matte panel, not a drawer. Section index in system mono,
   destinations in the display voice. */
.mobile-menu { position: fixed; inset: 0; z-index: 40; background: rgba(8,8,8,0.94); backdrop-filter: blur(22px) saturate(130%); -webkit-backdrop-filter: blur(22px) saturate(130%); padding: calc(72px + 2rem) var(--gutter) 2.5rem; display: flex; flex-direction: column; justify-content: space-between; opacity: 0; visibility: hidden; transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease); }
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu ul { list-style: none; padding: 0; display: grid; gap: 0.2rem; }
.mobile-menu li a { display: flex; align-items: baseline; gap: 1.1rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line-soft); }
.mobile-menu li a .mi { font-family: var(--mono); font-size: var(--fs-mono); color: var(--t3); letter-spacing: 0.06em; }
.mobile-menu li a .mt { font-family: var(--display); font-weight: 500; font-size: 1.7rem; letter-spacing: -0.015em; color: var(--t1); }
.mobile-menu .mm-actions { display: grid; gap: 1rem; justify-items: start; }
.mobile-menu .mm-actions .btn { width: 100%; justify-content: center; }
.mobile-menu .mm-mail { font-family: var(--mono); font-size: var(--fs-tele); color: var(--t3); }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}
@media (max-width: 460px) {
  .nav-actions .btn-sm { padding: 0.6rem 0.8rem; font-size: var(--fs-tele); }
}

/* ---------- Hero — cinematic, near-empty ---------- */
.hero { min-height: clamp(620px, 92vh, 980px); display: flex; align-items: center; padding-top: clamp(3rem, 7vw, 6rem); padding-bottom: clamp(3rem, 7vw, 5rem); }
.hero-inner { width: 100%; }
.hero .label { display: inline-flex; align-items: center; gap: 0.6rem; }
.hero .label .live { width: 6px; height: 6px; border-radius: 50%; background: transparent; border: 1px solid var(--reveal-mid); box-shadow: 0 0 6px var(--reveal-soft); }
.hero h1 { margin-top: 2rem; max-width: 17ch; }
.hero h1 .l1 { color: var(--t3); }
.hero h1 .l2 { color: var(--t1); display: block; }
.hero .lede { margin-top: 1.9rem; max-width: 54ch; font-size: clamp(1.14rem, 1.7vw, 1.4rem); }
.hero-actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 0.85rem; }
/* instrument readout strip — not a card; a hairline-divided meta row */
.hero-strip { margin-top: clamp(3rem, 7vw, 5rem); padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 1.2rem 3.5rem; font-family: var(--mono); font-size: var(--fs-tele); letter-spacing: 0.03em; color: var(--t3); font-variant-numeric: tabular-nums; }
.hero-strip b { color: var(--t2); font-weight: 500; }
.hero-strip .k { color: var(--t3); font-size: var(--fs-mono); text-transform: uppercase; letter-spacing: 0.12em; }

/* ---------- Editorial sequence (problem / lanes / process) — NO cards ---------- */
.beat-head { max-width: 26ch; }
.beat-head.wide { max-width: 30ch; }
.beat-sub { margin-top: 1.6rem; max-width: 60ch; }
.tone { color: var(--t3); }

.seq { margin-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--line); }
.seq-row { display: grid; grid-template-columns: 4.5rem 1fr; gap: clamp(1rem, 4vw, 3.5rem); align-items: start; padding: clamp(1.7rem, 3vw, 2.6rem) 0; border-bottom: 1px solid var(--line-soft); position: relative; transition: background 0.4s var(--ease); }
.seq-row::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--reveal); transition: width 0.5s var(--ease); }
.seq-row:hover::before { width: 100%; }
.seq-i { font-family: var(--mono); font-size: var(--fs-tele); color: var(--t3); letter-spacing: 0.06em; padding-top: 0.45rem; }
.seq-row:hover .seq-i { color: var(--reveal); }
.seq-h { font-family: var(--display); font-size: clamp(1.45rem, 2.7vw, 2.2rem); font-weight: 500; letter-spacing: -0.015em; line-height: 1.08; color: var(--t1); }
.seq-row p { margin-top: 0.7rem; color: var(--t2); font-size: 1.04rem; line-height: 1.5; max-width: 60ch; }
.seq-tag { display: inline-block; margin-left: 0.9rem; font-family: var(--mono); font-size: var(--fs-micro); letter-spacing: 0.14em; text-transform: uppercase; color: var(--reveal); border: 1px solid var(--reveal-mid); border-radius: 100px; padding: 0.25rem 0.6rem; vertical-align: middle; white-space: nowrap; }
@media (max-width: 640px) { .seq-row { grid-template-columns: 1fr; gap: 0.6rem; } .seq-i { padding-top: 0; } }

/* a single oversized statement beat (problem spine) */
.spine { max-width: 22ch; }
.spine-sub { margin-top: 2rem; max-width: 56ch; }

/* pull line — quiet tone statements between beats */
.pull { font-family: var(--display); font-size: clamp(1.4rem, 3vw, 2.3rem); font-weight: 500; letter-spacing: -0.015em; line-height: 1.2; max-width: 24ch; color: var(--t1); }
.pull .soft { color: var(--t3); }

/* =================================================================
   Method sim — the cinematic centerpiece, behind glass.
   Reverent, calm. The mover is a refraction, not an object.
   ================================================================= */
.method { position: relative; }
/* In the sticky frame the glass pipeline is the star — the headline supports it */
.method-head { margin-bottom: clamp(1.8rem, 3.5vw, 2.8rem); }
.method-head h2 { margin-top: 1rem; font-size: clamp(1.35rem, 2.1vw, 2rem); font-weight: 500; letter-spacing: -0.015em; line-height: 1.1; max-width: 34ch; }
/* the runline — an instrument cluster. Keys uppercase micro, values tabular.
   This is where "operating infrastructure" is visible, not stated. */
.method-head .runline { margin-top: 1.7rem; font-family: var(--mono); font-size: var(--fs-tele); letter-spacing: 0.03em; color: var(--t3); display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.6rem 0; font-variant-numeric: tabular-nums; }
.method-head .runline > span { padding-right: 1.5rem; }
.method-head .runline > span + span { border-left: 1px solid var(--line); padding-left: 1.5rem; }
.method-head .runline .ro-k { font-size: var(--fs-mono); text-transform: uppercase; letter-spacing: 0.12em; color: var(--t3); margin-right: 0.55rem; }
.method-head .runline .ro-v { color: var(--t2); }
.method-head .runline .ro-v[data-state="idle"] { color: var(--t3); }
.method-head .runline .ro-v[data-state="run"] { color: var(--live); }
.method-head .runline .ro-v[data-state="hold"] { color: var(--t1); }
.method-head .runline .ro-v[data-state="done"] { color: var(--live); }
/* The single heartbeat — the only pulsing indicator anywhere on the page.
   Phosphor: the system is live. */
.heartbeat { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--t2); font-size: var(--fs-mono); text-transform: uppercase; letter-spacing: 0.12em; }
.hb { width: 7px; height: 7px; border-radius: 50%; background: var(--live); box-shadow: 0 0 8px var(--live-glow); animation: heartbeat 5s ease-in-out infinite; }
@keyframes heartbeat { 0%, 100% { opacity: 0.45; transform: scale(0.92); } 50% { opacity: 1; transform: scale(1.18); } }

/* the glass plane the deployment runs behind */
.glass {
  position: relative; border: 1px solid var(--line); border-radius: 8px;
  background: linear-gradient(180deg, rgba(245,245,245,0.022), transparent 30%), var(--bg-2);
  box-shadow: inset 0 1px 0 var(--edge-hi), inset 0 0 80px -40px rgba(216,228,240,0.12);
  padding: clamp(1.6rem, 3vw, 2.6rem) clamp(1.5rem, 4vw, 3.2rem);
  overflow: hidden;
}
.glass::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(90deg, rgba(245,245,245,0.01) 0 1px, transparent 1px 4px); opacity: 0.5; }

.track { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(0.6rem, 1.4vw, 1.1rem); }
.rail { position: absolute; left: 0; right: 0; top: 21px; height: 1px; background: var(--line); z-index: 0; }
/* compositor-only progress: full-width bar scaled, never layout */
.rail-fill { position: absolute; left: 0; top: -0.5px; height: 2px; width: 100%; transform: scaleX(0); transform-origin: left center; background: linear-gradient(90deg, var(--reveal-mid), var(--reveal)); box-shadow: 0 0 10px var(--reveal-soft); transition: transform 0.12s linear; will-change: transform; }

.stage { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 0.85rem; }
.stage .node { width: 44px; height: 44px; border: 1px solid var(--edge-hi); border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: var(--fs-tele); color: var(--t3); background: var(--bg-2); transition: all 0.45s var(--ease); position: relative; }
.stage .node .tick { position: absolute; opacity: 0; transition: opacity 0.3s var(--ease); color: var(--reveal); }
.stage-label { font-family: var(--mono); font-size: var(--fs-micro); letter-spacing: 0.12em; text-transform: uppercase; color: var(--t3); transition: color 0.45s var(--ease); }
.stage h3 { font-size: clamp(0.98rem, 1.25vw, 1.14rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.12; color: var(--t1); }
.stage p { font-size: 0.875rem; color: var(--t2); line-height: 1.5; }
.acts { list-style: none; padding: 0; margin-top: 0.2rem; display: grid; gap: 0.45rem; }
.acts li { font-family: var(--mono); font-size: var(--fs-mono); color: var(--t3); display: flex; align-items: center; gap: 0.5rem; transition: color 0.3s var(--ease); }
.acts li::before { content: ""; width: 5px; height: 5px; border-radius: 1px; background: var(--t3); transition: all 0.3s var(--ease); }
.acts li.done { color: var(--t2); }
.acts li.done::before { background: var(--reveal); box-shadow: 0 0 7px var(--reveal-soft); }

.stage.active .node { border-color: var(--reveal-mid); color: var(--t1); box-shadow: 0 0 0 4px var(--reveal-soft), 0 0 20px var(--reveal-soft); }
.stage.active .stage-label { color: var(--t1); }
.stage.done .node { border-color: var(--reveal-mid); }
.stage.done .node .num { opacity: 0; }
.stage.done .node .tick { opacity: 1; }

/* the approval gate is the HUMAN in the loop — it holds in bone, not color.
   Color belongs to the machine's live state alone. */
.stage.gate .node { border-style: dashed; }
.stage.gate.holding .node { border-color: var(--t1); color: var(--t1); box-shadow: 0 0 0 4px var(--reveal-soft), 0 0 18px var(--reveal-soft); }
.stage.gate.holding .stage-label { color: var(--t1); }

.outcome-metric { font-family: var(--mono); font-size: var(--fs-tele); color: var(--t3); font-weight: 500; transition: color 0.45s var(--ease); font-variant-numeric: tabular-nums; }
.stage.outcome.done .node { border-color: var(--live); color: var(--live); box-shadow: 0 0 0 5px var(--live-dim), 0 0 30px var(--live-glow); }
.stage.outcome.done .node .tick { color: var(--live); }
.stage.outcome.done .outcome-metric { color: var(--live); }
/* decorative hairline (an empty span — no letterforms): a beam of light that
   widens as the outcome lands. scaleX here scales a 1px gradient line, never type. */
.outcome-support { position: absolute; left: -6%; right: -6%; top: 21px; height: 1px; background: linear-gradient(90deg, transparent, var(--reveal), transparent); opacity: 0; transform: scaleX(0.7); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); pointer-events: none; }
.stage.outcome.reveal-support .outcome-support { opacity: 0.85; transform: scaleX(1); }

.pipe-note { margin-top: clamp(1.8rem, 3.5vw, 2.6rem); font-family: var(--mono); font-size: var(--fs-mono); color: var(--t3); letter-spacing: 0.04em; }

@media (max-width: 900px) {
  .track { grid-template-columns: 1fr; gap: 0.7rem; }
  .rail, .rail-fill, .outcome-support { display: none; }
  .stage { flex-direction: row; align-items: flex-start; gap: 1rem; border-top: 1px solid var(--line-soft); padding-top: 1.3rem; }
  .stage:first-child { border-top: none; }
  .stage .node { flex: 0 0 auto; }
  .stage .sbody { display: flex; flex-direction: column; gap: 0.55rem; }
  .method-head .runline > span { padding-right: 1.1rem; }
  .method-head .runline > span + span { padding-left: 1.1rem; }
}

/* ---------- Proof ---------- */
.proof-grid { margin-top: clamp(3rem, 6vw, 4.5rem); display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.proof-body p { color: var(--t2); font-size: 1.1rem; line-height: 1.62; max-width: 54ch; }
.proof-body p + p { margin-top: 1.2rem; }
.proof-body strong { color: var(--t1); font-weight: 600; }
.proof-quote { margin-top: 2.4rem; font-family: var(--display); font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 500; letter-spacing: -0.015em; line-height: 1.2; color: var(--t1); max-width: 22ch; }
/* live lanes — an instrument readout, hairline-divided (not a card) */
.lanes { border-top: 1px solid var(--line); }
.lanes .lanes-head { font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--t3); padding: 1rem 0; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line-soft); }
.lanes .lanes-head .running { color: var(--t2); display: inline-flex; align-items: center; gap: 0.45rem; }
.lanes .lanes-head .running::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--live); box-shadow: 0 0 7px var(--live-glow); }
.lane-row { display: flex; align-items: center; justify-content: space-between; padding: 0.95rem 0; font-size: 0.98rem; border-bottom: 1px solid var(--line-soft); }
.lane-row .lane-name { color: var(--t1); }
.lane-row .lane-state { font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--t2); display: inline-flex; align-items: center; gap: 0.45rem; }
.lane-row .lane-state .pip { width: 5px; height: 5px; border-radius: 50%; background: var(--live); box-shadow: 0 0 6px var(--live-glow); }
@media (max-width: 820px) { .proof-grid { grid-template-columns: 1fr; } }

/* ---------- Final CTA ---------- */
.cta { text-align: center; }
.cta .display { margin-inline: auto; max-width: 18ch; }
.cta .lede { margin: 1.6rem auto 0; text-align: center; max-width: 50ch; }
.cta-actions { margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; justify-content: center; }
.cta-mail { font-family: var(--mono); font-size: var(--fs-tele); color: var(--t3); letter-spacing: 0.02em; transition: color 0.2s var(--ease); }
.cta-mail:hover { color: var(--t1); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 2.8rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center; justify-content: space-between; }
.footer-meta { font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: 0.04em; color: var(--t3); display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; }
.footer-meta a { color: var(--t3); transition: color 0.2s var(--ease); }
.footer-meta a:hover { color: var(--t2); }

/* ---------- Reveal — calm, below-the-fold only ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.9s var(--ease-io), transform 0.9s var(--ease-io); will-change: opacity, transform; }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal[data-d="1"] { transition-delay: 0.09s; }
.js .reveal[data-d="2"] { transition-delay: 0.18s; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hb, .bg-drift { animation: none !important; }
  .btn, .stage, .rail-fill, .outcome-support, .seq-row, .mobile-menu, .nav-toggle .nt-bar { transition: none !important; }
}
