/* ============================================================
   AccelerateMyBiz.ai — THE SITUATION ROOM
   After-hours executive command center. Navy = the unlit room.
   Gold = the light a decision emits. Mono = the AI officers speaking.
   Fraunces (display) · Hanken Grotesk (UI/body) · JetBrains Mono (machine)
   ============================================================ */

@property --val { syntax: "<number>"; inherits: false; initial-value: 0; }

:root {
  /* ---- room ---- */
  --abyss:      #050E22;   /* deepest void */
  --navy:       #0A1B3D;   /* command navy (desk) */
  --console:    #102A57;   /* raised panel */
  --console-2:  #16336a;

  /* ---- light ---- */
  --blue:       #2D6CFF;   /* horizon — data flowing */
  --ion:        #5B8DFF;   /* cool key light */
  --gold:       #F4B740;   /* the decision color */
  --forge:      #C9881A;   /* gold depth / pressed */

  /* ---- exec channels ---- */
  --olivia:     #5B8DFF;   /* operations · time */
  --max:        #E0934A;   /* marketing · leads (copper — distinct from the CTA gold) */
  --grace:      #E0719B;   /* revenue · growth */

  /* ---- status ---- */
  --green:      #34D399;   /* on-track / live */
  --amber:      #FF7A45;   /* at-risk / gap (orange-red — heat/danger, clearly NOT gold) */

  /* ---- ink on dark ---- */
  --ivory:      #EEF3FF;
  --slate:      #93A3C8;
  --slate-dim:  #8493BC;   /* AA-passing dim text on dark */

  /* ---- paper (the lights-on sections) ---- */
  --paper:      #F4F1EA;
  --paper-2:    #ECE7DB;
  --ink:        #15203A;
  --ink-soft:   #5b647c;

  /* ---- hairlines ---- */
  --edge-lit:   rgba(255,255,255,.14);
  --edge-dim:   rgba(5,14,34,.6);
  --line-dark:  rgba(255,255,255,.10);

  /* ---- space (8px base) ---- */
  --s1:.25rem; --s2:.5rem; --s3:.75rem; --s4:1rem; --s5:1.5rem;
  --s6:2rem; --s7:3rem; --s8:4rem; --s9:6rem; --s10:7.5rem;

  /* ---- fluid type scale ---- */
  --step--1: clamp(.78rem, .76rem + .1vw, .88rem);
  --step-0:  clamp(1rem, .96rem + .2vw, 1.125rem);
  --step-1:  clamp(1.2rem, 1.08rem + .55vw, 1.5rem);
  --step-2:  clamp(1.5rem, 1.28rem + 1vw, 2.05rem);
  --step-3:  clamp(2rem, 1.55rem + 2.1vw, 3.2rem);
  --step-4:  clamp(2.6rem, 1.9rem + 3.4vw, 4.4rem);
  --step-5:  clamp(3rem, 1.9rem + 5.6vw, 5.8rem);

  --maxw: 1200px;
  --r: 14px; --r-lg: 22px; --r-xl: 28px;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Hanken Grotesk", -apple-system, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --ease: cubic-bezier(.22,1,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--abyss);
  color: var(--ivory);
  line-height: 1.55;
  overflow-x: hidden;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
.svg-defs { position: absolute; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.display { font-family: var(--font-display); font-optical-sizing: auto; font-weight: 420; letter-spacing: -.02em; line-height: 1.04; }
em { font-style: italic; }

.skip { position: fixed; top: -60px; left: 12px; z-index: 2000; background: var(--gold); color: var(--abyss); padding: .6rem 1rem; border-radius: 8px; font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ============================================================ ATMOSPHERE */
.atmosphere { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.light { position: absolute; width: 75vw; height: 75vw; border-radius: 50%; filter: blur(40px); opacity: .5; will-change: transform; }
.light-cool { top: -22vw; left: -14vw; background: radial-gradient(circle, rgba(91,141,255,.34), rgba(91,141,255,0) 64%); }
.light-warm { bottom: -28vw; right: -16vw; background: radial-gradient(circle, rgba(244,183,64,.26), rgba(244,183,64,0) 62%); }
.grain { position: absolute; inset: 0; opacity: .07; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.scanlines { position: absolute; inset: 0; opacity: .35;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,.018) 0 1px, transparent 1px 4px); }

.progress-rule { position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 1500;
  background: linear-gradient(90deg, var(--forge), var(--gold)); box-shadow: 0 0 14px rgba(244,183,64,.7); }
.cursor-glow { position: fixed; top: 0; left: 0; width: 380px; height: 380px; border-radius: 50%; z-index: 1; pointer-events: none;
  transform: translate(-50%,-50%); opacity: 0; transition: opacity .4s;
  background: radial-gradient(circle, rgba(91,141,255,.10), rgba(91,141,255,0) 60%); mix-blend-mode: screen; }

/* ============================================================ TYPE / LAYOUT */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
/* dark sections are transparent → the fixed atmosphere reads as ONE continuous room */
.section { padding: clamp(72px, 9vw, 124px) 0; position: relative; z-index: 1; isolation: isolate; background: transparent; }
.section.void { background: radial-gradient(100% 60% at 50% 0%, rgba(45,108,255,.06), transparent 72%); }
.section::before, .section::after { content: ""; position: absolute; left: 0; right: 0; height: 90px; pointer-events: none; z-index: -1; background: transparent; }
.section::before { top: 0; }
.section::after { bottom: 0; }

.eyebrow, .folio { display: inline-block; font-family: var(--font-mono); font-size: var(--step--1);
  letter-spacing: .2em; text-transform: uppercase; color: var(--slate); }
.sec-head { margin-bottom: var(--s7); max-width: 760px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: var(--step-3); margin-top: var(--s3); }
.sec-head h2 em, .display em { color: var(--gold); }
.lede { font-size: var(--step-1); color: var(--slate); max-width: 46ch; line-height: 1.5; }
.lede.center { margin-inline: auto; }
.body { font-size: var(--step-0); color: #c4cfe6; max-width: 60ch; margin-top: var(--s4); }
.body.soft { color: var(--slate); }
.body strong { color: var(--ivory); }

.paper { background: var(--paper); color: var(--ink); }
.paper::before { background: linear-gradient(180deg, rgba(5,14,34,.35), transparent); }
.paper::after { background: linear-gradient(0deg, rgba(5,14,34,.35), transparent); }
.paper .folio { color: #6E6346; }
.paper h2, .paper .display { color: var(--ink); }
.paper .lede { color: var(--ink-soft); }
.paper .body { color: #46506a; }
.paper .body strong { color: var(--ink); }
.at-risk { color: var(--amber); }
/* darker at-risk on ivory islands so it clears WCAG AA on #F4F1EA */
.paper .at-risk, .paper .fig-tag { color: #B23A12; border-color: #B23A12; }

/* ============================================================ BUTTONS */
.btn { --bd: transparent; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 600; font-size: .96rem; line-height: 1; white-space: nowrap;
  padding: .9rem 1.5rem; border-radius: 100px; border: 1px solid var(--bd); cursor: pointer;
  position: relative; transition: transform .3s var(--ease), box-shadow .3s, background .3s, color .3s, border-color .3s; }
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-gold { background: linear-gradient(180deg, var(--gold), var(--forge)); color: #1a1303;
  box-shadow: 0 14px 36px -14px rgba(244,183,64,.6), inset 0 1px 0 rgba(255,255,255,.4); }
.btn-gold:hover { box-shadow: 0 20px 50px -14px rgba(244,183,64,.85), inset 0 1px 0 rgba(255,255,255,.5); }
.btn-gold:active { transform: translateY(1px); }
/* magnetic CTAs are positioned by the rAF loop — keep transform out of the CSS transition so it isn't double-smoothed */
.btn[data-magnetic] { transition: box-shadow .3s, background .3s, color .3s, border-color .3s; }
.btn-line { background: rgba(255,255,255,.03); --bd: rgba(255,255,255,.22); color: var(--ivory); backdrop-filter: blur(6px); }
.btn-line:hover { --bd: var(--gold); color: var(--gold); }
.paper .btn-line { background: transparent; --bd: rgba(21,32,58,.22); color: var(--ink); }
.paper .btn-line:hover { --bd: var(--ink); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--slate); padding: .7rem 1rem; }
.btn-ghost:hover { color: var(--ivory); }
.btn-ink { background: var(--ink); color: var(--paper); box-shadow: 0 14px 30px -16px rgba(21,32,58,.6); }
.btn-ink:hover { background: #0c1428; }

/* ============================================================ NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; display: flex; align-items: center; gap: 1.4rem;
  padding: 15px 24px; transition: background .3s, padding .3s, box-shadow .3s, backdrop-filter .3s; }
.nav.scrolled { background: rgba(5,14,34,.72); backdrop-filter: blur(16px) saturate(150%); padding: 10px 24px; box-shadow: 0 1px 0 var(--line-dark); }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ivory); font-weight: 700; }
.seal { width: 32px; height: 32px; display: grid; place-items: center; }
.seal svg { width: 32px; height: 32px; }
.seal-ring { fill: none; stroke: var(--gold); stroke-width: 2.5; opacity: .5; }
.seal-a { stroke: var(--gold); stroke-width: 8; }
.seal-dot { fill: var(--gold); }
.brand-name { font-family: var(--font-display); font-size: 1.16rem; letter-spacing: -.02em; }
.brand-my { color: var(--ivory); } .brand-ai { color: var(--ion); }
.nav-links { display: flex; gap: 1.5rem; margin-left: auto; }
.nav-links a { color: var(--slate); font-size: .92rem; font-weight: 500; position: relative; transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -5px; height: 1.5px; width: 0; background: var(--gold); transition: width .3s var(--ease); }
.nav-links a:hover { color: var(--ivory); } .nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: .5rem; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; margin-left: auto; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ivory); border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0 0 0 auto; width: min(330px, 86vw); z-index: 999; background: var(--abyss);
  border-left: 1px solid var(--line-dark); padding: 92px 26px 26px; display: flex; flex-direction: column; gap: 1rem;
  transform: translateX(110%); visibility: hidden; transition: transform .42s var(--ease), visibility 0s linear .42s; }
.mobile-menu.open { transform: none; visibility: visible; transition: transform .42s var(--ease), visibility 0s; }
.mobile-menu a:not(.btn) { font-family: var(--font-display); font-size: 1.4rem; color: var(--ivory); }
.mobile-menu .btn { margin-top: .3rem; }

/* ============================================================ HERO */
.hero { position: relative; padding: clamp(140px, 17vh, 200px) 0 clamp(60px, 8vh, 96px); z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero .eyebrow { display: inline-flex; align-items: center; margin-bottom: var(--s5); color: var(--ion); }
.caret { display: inline-block; width: 8px; height: 1.05em; background: var(--ion); margin-left: 4px; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-title { font-size: var(--step-5); font-weight: 420; letter-spacing: -.032em; line-height: 1.0; }
.hero-title .line { display: block; overflow: clip; padding-bottom: .06em; }
.hero-title .line-in { display: block; transform: translateY(115%); transition: transform 1s var(--ease); }
.hero-title.in .line:nth-child(1) .line-in { transition-delay: .06s; }
.hero-title.in .line:nth-child(2) .line-in { transition-delay: .16s; }
.hero-title.in .line:nth-child(3) .line-in { transition-delay: .26s; }
.hero-title.in .line-in { transform: none; }
.hero-title em { color: var(--gold); }
.hero-sub { font-size: var(--step-1); color: var(--slate); max-width: 40ch; margin: var(--s5) 0 var(--s6); line-height: 1.5; }
.hero-sub strong { color: var(--ivory); font-weight: 600; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-micro { font-family: var(--font-mono); font-size: var(--step--1); color: var(--slate-dim); margin-top: var(--s4); letter-spacing: .02em; }
.trust { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: var(--s6); }
.trust li { position: relative; padding-left: 1.1rem; font-size: .9rem; color: var(--slate); }
.trust li::before { content: ""; position: absolute; left: 0; top: .5em; width: 6px; height: 6px; border-radius: 50%; background: var(--slate); }
.scroll-cue { position: absolute; left: 24px; bottom: 24px; display: flex; align-items: center; gap: .5rem; color: var(--slate-dim); font-family: var(--font-mono); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; }
.scroll-cue i { width: 1px; height: 28px; background: linear-gradient(var(--slate), transparent); }

/* ---- ORG CHART ---- */
.orgchart { display: flex; flex-direction: column; align-items: center; }
.org-top { display: flex; justify-content: center; }
.org-node { background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); border: 1px solid var(--edge-lit);
  border-radius: var(--r); padding: .8rem 1.4rem; text-align: center; box-shadow: 0 1px 0 var(--edge-lit) inset, 0 18px 40px -24px rgba(0,0,0,.7); }
.node-you .node-k { display: block; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--slate); }
.node-you .node-v { font-family: var(--font-display); font-size: 1.15rem; color: var(--ivory); }
.org-wires { position: relative; width: 100%; height: 56px; }
.wire { position: absolute; background: var(--line-dark); }
.wire-stem { left: 50%; top: 0; width: 2px; height: 28px; transform: translateX(-50%) scaleY(0); transform-origin: top; transition: transform .5s var(--ease) .1s; }
.wire-bus { left: 16.6%; right: 16.6%; top: 28px; height: 2px; transform: scaleX(0); transform-origin: center; transition: transform .6s var(--ease) .4s; }
.wire-drop { top: 28px; width: 2px; height: 28px; transform: scaleY(0); transform-origin: top; transition: transform .5s var(--ease) .8s; }
.drop-o { left: 16.6%; background: var(--olivia); }
.drop-m { left: 50%; transform: translateX(-50%) scaleY(0); background: var(--max); }
.drop-g { left: 83.3%; background: var(--grace); }
.orgchart.in .wire-stem { transform: translateX(-50%) scaleY(1); }
.orgchart.in .wire-bus { transform: scaleX(1); }
.orgchart.in .drop-o { transform: scaleY(1); }
.orgchart.in .drop-m { transform: translateX(-50%) scaleY(1); }
.orgchart.in .drop-g { transform: scaleY(1); }
.org-execs { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; width: 100%; }
.org-exec { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 8px;
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.015)); border: 1px solid var(--edge-lit); border-radius: var(--r);
  box-shadow: 0 1px 0 var(--edge-lit) inset; transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; }
.org-exec:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--ch), transparent 40%); box-shadow: 0 18px 40px -22px var(--ch); }
.org-port { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; border: 2px solid var(--ch); position: relative; background: var(--console); }
.org-port img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.5) brightness(.92) contrast(1.05); }
.org-port.no-img img { display: none; }
.org-port.no-img::after { content: attr(data-fallback); position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); color: var(--ch); font-size: 1.5rem; }
.org-name { font-family: var(--font-display); font-size: 1.05rem; }
.org-ch { font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.org-ch b { color: var(--ch); }

/* ============================================================ PROBLEM (paper) */
.problem-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px,5vw,64px); align-items: start; }
.problem-lede h2 { font-size: var(--step-3); margin-bottom: var(--s4); }
.dropcap { float: left; font-family: var(--font-display); font-size: 3.6em; line-height: .78; padding: .05em .12em 0 0; color: var(--gold); font-weight: 500; }
.problem-lede .lede { margin-bottom: var(--s4); }
.problem-figs { display: flex; flex-direction: column; gap: var(--s4); border-left: 1px solid var(--paper-2); padding-left: clamp(20px,3vw,40px); }
.fig { display: grid; grid-template-columns: auto 1fr; gap: 0 var(--s4); align-items: baseline; }
.fig-n { font-size: clamp(2.4rem,1.8rem+3vw,3.8rem); color: var(--ink); font-weight: 500; }
.fig-n span { font-size: .4em; color: var(--ink-soft); }
.fig-tag { display: inline-block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; padding: .35rem .7rem; border: 1px solid var(--amber); border-radius: 8px; }
.fig p { color: #5a647c; font-size: .96rem; grid-column: 2; }
.fig:not(:last-child) { border-bottom: 1px solid var(--paper-2); padding-bottom: var(--s4); }
.paper-note { font-size: .76rem; color: #6B6048; margin-top: var(--s6); letter-spacing: .04em; }
.paper-note.center { text-align: center; }
.paper-note a { color: var(--forge); border-bottom: 1px solid currentColor; }

/* ============================================================ SOLUTION + DASHBOARD */
.solution-body { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px,4vw,56px); align-items: center; }
.ticks { display: flex; flex-direction: column; gap: .75rem; margin: var(--s5) 0; }
.ticks li { position: relative; padding-left: 1.9rem; color: #c4cfe6; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: -1px; width: 1.3rem; height: 1.3rem; border-radius: 50%;
  background: rgba(52,211,153,.14); color: var(--green); display: grid; place-items: center; font-size: .72rem; font-weight: 700; }
.dash { position: relative; background: linear-gradient(165deg, #0c2150, #081834); border: 1px solid var(--edge-lit);
  border-radius: var(--r-lg); padding: 22px; overflow: hidden;
  box-shadow: 0 1px 0 var(--edge-lit) inset, 0 40px 90px -40px #000, 0 0 0 1px var(--edge-dim); }
.dash-frame { position: absolute; inset: 10px; pointer-events: none; }
.br { position: absolute; width: 14px; height: 14px; border: 1.5px solid rgba(91,141,255,.5); }
.br-tl { top: 0; left: 0; border-right: 0; border-bottom: 0; } .br-tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.br-bl { bottom: 0; left: 0; border-right: 0; border-top: 0; } .br-br { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.radar { position: absolute; top: -40%; left: -10%; width: 120%; height: 180%; pointer-events: none; opacity: .5;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(91,141,255,.12) 24deg, transparent 50deg); animation: sweep 7s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
.dash-top { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 2; }
.dash-title { font-size: .72rem; letter-spacing: .18em; color: var(--slate); }
.dash-live { font-size: .68rem; letter-spacing: .16em; color: var(--green); display: inline-flex; align-items: center; gap: .4rem; }
.dash-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); position: relative; }
.dash-live i::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 1px solid var(--green); animation: ping 1.8s ease-out infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
.dash-seal { display: block; font-size: .58rem; letter-spacing: .18em; color: var(--gold); opacity: .55; margin: 4px 0 16px; position: relative; z-index: 2; }
.dash-rev { background: rgba(5,14,34,.55); border: 1px solid var(--line-dark); border-radius: 12px; padding: 14px; margin-bottom: 12px; position: relative; z-index: 2; }
.lbl { font-size: .62rem; letter-spacing: .12em; color: var(--slate-dim); }
.rev-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 9px; }
.rev-pct { font-size: 1.35rem; color: var(--gold); font-weight: 600; }
.rev-bar { height: 8px; border-radius: 100px; background: rgba(255,255,255,.07); overflow: hidden; }
.rev-fill { display: block; height: 100%; width: 0; border-radius: 100px; background: linear-gradient(90deg, var(--blue), var(--gold)); box-shadow: 0 0 14px rgba(244,183,64,.5); transition: width 1.5s var(--ease); }
.rev-nums { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 13px; }
.rev-nums .v { display: block; font-size: 1rem; font-weight: 600; color: var(--ivory); margin-top: 2px; }
.rev-nums .v.at-risk { color: var(--amber); }
.gap-tag { display: block; font-style: normal; font-size: .58rem; letter-spacing: .1em; color: var(--green); }
.dash-scores { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-bottom: 12px; position: relative; z-index: 2; }
.score { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.ring { --val: 0; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: conic-gradient(var(--c) calc(var(--val) * 1%), rgba(255,255,255,.07) 0); }
.ring::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #0a1c3e; }
.ring-n { position: relative; font-size: .92rem; font-weight: 600; color: var(--ivory); }
.score-l { font-size: .58rem; letter-spacing: .06em; color: var(--slate-dim); }
.dash-actions { background: rgba(5,14,34,.55); border: 1px solid var(--line-dark); border-radius: 12px; padding: 13px 15px; margin-bottom: 12px; position: relative; z-index: 2; }
.da-title { font-size: .62rem; letter-spacing: .14em; color: var(--slate-dim); }
.dash-actions ul { margin-top: 9px; display: flex; flex-direction: column; gap: 8px; }
.dash-actions li { display: flex; align-items: center; gap: .6rem; font-size: .85rem; color: #c4cfe6; }
.dash-actions li i { width: 8px; height: 8px; border-radius: 2px; flex: none; background: var(--ch); box-shadow: 0 0 8px var(--ch); }
.dash-actions li b { color: var(--ivory); font-weight: 600; }
.dash-ask { position: relative; z-index: 2; }
.ask-btns { display: flex; gap: 7px; margin-top: 8px; flex-wrap: wrap; }
.ask { display: inline-flex; align-items: center; gap: .4rem; background: rgba(255,255,255,.05); border: 1px solid var(--line-dark);
  color: var(--ivory); padding: .4rem .7rem; border-radius: 100px; font-family: var(--font-body); font-weight: 600; font-size: .8rem; cursor: pointer; transition: .2s; }
.ask:hover { border-color: var(--ch); transform: translateY(-1px); }
.ask-av { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: .6rem; font-weight: 700; color: #10182e; background: var(--ch); }
.ask-reply { min-height: 1.2rem; margin-top: 10px; font-size: .8rem; color: var(--gold); }

/* ============================================================ TEAM */
.braid { width: 100%; height: 70px; margin-bottom: var(--s2); }
.braid svg { width: 100%; height: 100%; overflow: visible; }
.bp { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1100; stroke-dashoffset: 1100; transition: stroke-dashoffset 1.6s var(--ease); }
.bp-o { stroke: var(--olivia); } .bp-m { stroke: var(--max); } .bp-g { stroke: var(--grace); }
.bp-one { stroke: var(--gold); stroke-width: 3.5; filter: drop-shadow(0 0 6px rgba(244,183,64,.6)); transition-delay: .6s; }
.braid.in .bp { stroke-dashoffset: 0; }
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(18px,2.5vw,28px); margin-top: var(--s5); }
.member { background: linear-gradient(165deg, rgba(255,255,255,.05), rgba(255,255,255,.012)); border: 1px solid var(--edge-lit); border-radius: var(--r-lg); padding: 18px;
  box-shadow: 0 1px 0 var(--edge-lit) inset, 0 24px 56px -36px #000; transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; }
.member:hover { transform: translateY(-7px); border-color: color-mix(in srgb, var(--ch), transparent 45%); box-shadow: 0 1px 0 var(--edge-lit) inset, 0 36px 70px -32px var(--ch); }
.member-port { aspect-ratio: 1/1; border-radius: var(--r); overflow: hidden; position: relative; margin-bottom: 16px; background: var(--console); }
.member-port img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.85) contrast(1.05) brightness(.88); transition: filter .5s; }
.member-port .port-tint { position: absolute; inset: 0; background: var(--ch); mix-blend-mode: color; opacity: .55; transition: opacity .5s; pointer-events: none; }
.member-port::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,14,34,.5), transparent 45%); }
.member:hover .member-port img { filter: grayscale(.2) contrast(1.02) brightness(1); }
.member:hover .member-port .port-tint { opacity: .12; }
.member-port.no-img img { display: none; }
.member-port.no-img::before { content: attr(data-fallback); position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; font-family: var(--font-display); font-style: italic; font-size: 2rem; color: var(--ivory); }
.member-tag { display: inline-block; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ch); margin-bottom: .3rem; }
.member h3 { font-size: var(--step-2); }
.member-desc { color: var(--slate); margin: .5rem 0 1rem; font-size: .95rem; }
.member-out { display: flex; align-items: center; gap: .5rem; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ivory); padding-top: 1rem; border-top: 1px solid var(--line-dark); }
.member-out i { width: 8px; height: 8px; border-radius: 50%; background: var(--ch); box-shadow: 0 0 10px var(--ch); }

/* ============================================================ THEATER */
.theater-stage { margin-top: var(--s6); }
.theater-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,64px); align-items: start; }
.theater-steps { display: flex; flex-direction: column; gap: clamp(40px, 14vh, 120px); padding: 8vh 0; }
.t-step { opacity: .35; transition: opacity .4s; }
.t-step.active { opacity: 1; }
.t-step .t-n { font-size: clamp(2.4rem,2rem+2vw,3.4rem); color: var(--gold); display: block; }
.t-step h3 { font-family: var(--font-display); font-size: var(--step-2); margin: .2rem 0 .4rem; }
.t-step p { color: var(--slate); max-width: 42ch; }
.theater-console { position: sticky; top: 16vh; align-self: start; background: linear-gradient(165deg, #0c2150, #081834);
  border: 1px solid var(--edge-lit); border-radius: var(--r-lg); padding: 24px; min-height: 320px; overflow: hidden;
  box-shadow: 0 1px 0 var(--edge-lit) inset, 0 40px 90px -40px #000; }
.tc-top { display: flex; justify-content: space-between; font-size: .7rem; letter-spacing: .16em; color: var(--slate); }
.tc-status { transition: color .5s; }
.theater-console[data-state="1"] .tc-status { color: var(--amber); }
.theater-console[data-state="2"] .tc-status, .theater-console[data-state="3"] .tc-status { color: var(--ion); }
.theater-console[data-state="4"] .tc-status { color: var(--green); }
.theater-console[data-state="2"] .tc-status::after { content: " · STABILISING"; }
.theater-console[data-state="3"] .tc-status::after { content: " · EXECUTING"; }
.theater-console[data-state="4"] .tc-status::after { content: " · ON TRACK"; }
.tc-gap { margin: 18px 0; }
.tc-gap-v { display: block; font-size: clamp(2.4rem,1.8rem+3vw,3.8rem); transition: color .5s; }
.theater-console[data-state="1"] .tc-gap-v { color: var(--amber); }
.theater-console[data-state="2"] .tc-gap-v, .theater-console[data-state="3"] .tc-gap-v { color: var(--ion); }
.theater-console[data-state="4"] .tc-gap-v { color: var(--green); }
.tc-bars { display: flex; gap: 8px; margin-bottom: 18px; }
.tc-bars span { height: 8px; flex: 1; border-radius: 100px; background: rgba(255,255,255,.08); position: relative; overflow: hidden; }
.tc-bars span::after { content: ""; position: absolute; inset: 0; width: 15%; background: var(--lane); border-radius: 100px; transition: width .6s var(--ease); box-shadow: 0 0 8px var(--lane); }
.theater-console[data-state="1"] .tc-bars span::after { width: 18%; }
.theater-console[data-state="2"] .tc-bars span::after { width: 45%; }
.theater-console[data-state="3"] .tc-bars span::after { width: 72%; }
.theater-console[data-state="4"] .tc-bars span::after { width: 94%; }
.tc-feed { display: flex; flex-direction: column; gap: 6px; font-size: .8rem; }
.tc-feed li { display: flex; align-items: center; gap: .4rem; }
.tc-feed li.a { color: var(--amber); } .tc-feed li.b { color: var(--green); }
.theater-console[data-state="1"] .tc-feed li.b,
.theater-console[data-state="2"] .tc-feed li.b { display: none; }
.theater-console[data-state="3"] .tc-feed li.a,
.theater-console[data-state="4"] .tc-feed li.a { display: none; }

/* ============================================================ MEMBERSHIP RATE-CARD */
.ratecard { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--edge-lit); border-radius: var(--r-xl); overflow: hidden;
  background: linear-gradient(165deg, rgba(255,255,255,.04), rgba(255,255,255,.01)); box-shadow: 0 1px 0 var(--edge-lit) inset, 0 40px 90px -50px #000; }
.tier { padding: clamp(24px,3vw,38px) clamp(20px,2.4vw,30px); display: flex; flex-direction: column; border-right: 1px solid var(--line-dark); position: relative; transition: background .3s; }
.tier:last-child { border-right: 0; }
.tier:hover { background: rgba(255,255,255,.02); }
.tier.featured { background: linear-gradient(180deg, rgba(244,183,64,.07), transparent 40%); }
.tier.featured::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(var(--gold), var(--forge)); box-shadow: 0 0 18px rgba(244,183,64,.5); }
.tier-badge { position: absolute; top: 16px; right: 16px; font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ivory); background: rgba(255,255,255,.06); border: 1px solid var(--edge-lit); padding: .3rem .6rem; border-radius: 100px; }
.tier-k { font-size: .68rem; letter-spacing: .16em; color: var(--ion); }
.tier-h h3 { font-size: var(--step-2); margin: .3rem 0 .8rem; line-height: 1.05; }
.tier .tm { color: var(--slate-dim); font-size: .55em; vertical-align: super; }
.tier-aud { font-size: .64rem; letter-spacing: .1em; color: var(--slate-dim); margin-bottom: .9rem; }
.tier-goal { color: var(--slate); font-size: .95rem; margin-bottom: 1.2rem; }
.tier-list { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1.6rem; flex: 1; }
.tier-list li { position: relative; padding-left: 1.4rem; font-size: .9rem; color: #c4cfe6; }
.tier-list li::before { content: "→"; position: absolute; left: 0; color: var(--slate); }

/* ============================================================ KNOWLEDGE BENTO */
.bento { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.cap { background: linear-gradient(165deg, rgba(255,255,255,.05), rgba(255,255,255,.012)); border: 1px solid var(--edge-lit); border-radius: var(--r-lg); padding: 24px;
  position: relative; overflow: hidden; transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; box-shadow: 0 1px 0 var(--edge-lit) inset; }
.cap::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 100% at 100% 0%, color-mix(in srgb, var(--ch), transparent 88%), transparent 60%); pointer-events: none; }
.cap.big { grid-column: span 2; }
.cap:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--ch), transparent 45%); box-shadow: 0 1px 0 var(--edge-lit) inset, 0 26px 56px -34px var(--ch); }
.cap-ico { display: inline-flex; width: 44px; height: 44px; border-radius: 11px; align-items: center; justify-content: center; margin-bottom: 14px;
  background: color-mix(in srgb, var(--ch), transparent 86%); border: 1px solid color-mix(in srgb, var(--ch), transparent 60%); }
.cap-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--ch); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cap h4 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: .3rem; }
.cap p { color: var(--slate); font-size: .9rem; }
.cap-by { position: absolute; top: 22px; right: 22px; font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ch); }

/* ============================================================ ENTERPRISE SIGNAL (paper) */
.ent-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px,5vw,64px); align-items: center; }
.ent-copy h2 { font-size: var(--step-3); margin: var(--s3) 0 var(--s4); }
.ent-copy .body { margin-bottom: var(--s5); }
.ent-markets { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: var(--s6); }
.ent-markets span { font-family: var(--font-mono); font-size: .76rem; padding: .45rem .8rem; border-radius: 100px; background: rgba(21,32,58,.05); border: 1px solid var(--paper-2); color: #46506a; }
.ent-signal { position: relative; aspect-ratio: 1/1; max-width: 400px; width: 100%; margin: 0 auto; }
.ent-signal svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sig-lines path { fill: none; stroke: rgba(21,32,58,.18); stroke-width: 1.5; }
.sig-pulses circle { fill: var(--blue); filter: drop-shadow(0 0 5px rgba(45,108,255,.7)); }
.sig-node { position: absolute; transform: translate(-50%,-50%); font-family: var(--font-mono); font-size: .72rem; white-space: nowrap;
  padding: .4rem .7rem; border-radius: 100px; background: var(--paper); border: 1px solid var(--paper-2); color: var(--ink); box-shadow: 0 6px 16px -10px rgba(21,32,58,.4); }
.sig-core { left: 50%; top: 50%; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; text-align: center; line-height: 1.1;
  font-family: var(--font-display); font-size: 1rem; color: #1a1303; background: linear-gradient(160deg, var(--gold), var(--forge)); border: 0; box-shadow: 0 14px 36px -14px rgba(244,183,64,.7); }
.s1 { left: 50%; top: 13%; } .s2 { left: 82%; top: 31%; } .s3 { left: 82%; top: 69%; }
.s4 { left: 50%; top: 87%; } .s5 { left: 18%; top: 69%; } .s6 { left: 18%; top: 31%; }

/* ============================================================ PROOF / LOGS */
.illus { display: inline-block; margin-top: var(--s3); font-size: .72rem; letter-spacing: .1em; padding: .3rem .7rem; border: 1px solid var(--amber); border-radius: 8px; }
.logs { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(18px,2.5vw,26px); }
.log { background: linear-gradient(165deg, rgba(255,255,255,.05), rgba(255,255,255,.012)); border: 1px solid var(--edge-lit); border-radius: var(--r-lg); padding: 24px;
  display: flex; flex-direction: column; gap: 1rem; box-shadow: 0 1px 0 var(--edge-lit) inset; border-top: 2px solid var(--ch); transition: transform .35s var(--ease); }
.log:hover { transform: translateY(-5px); }
.log figcaption { font-size: .64rem; letter-spacing: .12em; color: var(--slate); }
.log blockquote { font-family: var(--font-display); font-size: 1.12rem; line-height: 1.4; color: var(--ivory); }
.spark { width: 100%; height: 30px; }
.spark path { fill: none; stroke: var(--ch); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 200; stroke-dashoffset: 200; transition: stroke-dashoffset 1.4s var(--ease) .2s; filter: drop-shadow(0 0 5px color-mix(in srgb, var(--ch), transparent 40%)); }
.log.in .spark path { stroke-dashoffset: 0; }
.log-metric { margin-top: auto; font-size: .78rem; color: var(--slate); display: flex; align-items: center; gap: .5rem; }
.log-metric b { color: var(--ch); }

/* ============================================================ FINAL */
.final { text-align: center; }
.final-wrap { max-width: 760px; margin: 0 auto; }
.final-title { font-size: var(--step-4); margin: var(--s3) 0 var(--s4); }
.final-sub { font-size: var(--step-1); color: var(--slate); max-width: 52ch; margin: 0 auto var(--s6); line-height: 1.5; }
.cta-form { max-width: 520px; margin: 0 auto; }
.field { display: flex; gap: 8px; background: rgba(255,255,255,.05); border: 1px solid var(--edge-lit); border-radius: 100px; padding: 7px 7px 7px 8px; transition: border-color .3s, box-shadow .3s; }
.field:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(244,183,64,.12); }
.field input { flex: 1; background: transparent; border: 0; outline: none; color: var(--ivory); font-family: var(--font-body); font-size: 1rem; padding: 0 1rem; }
.field input::placeholder { color: var(--slate-dim); }
.form-msg { min-height: 1.3rem; margin-top: var(--s4); font-size: .9rem; letter-spacing: .02em; }
.form-msg.ok { color: var(--green); } .form-msg.err { color: #ff8a8a; }
.final-micro { font-family: var(--font-mono); font-size: var(--step--1); color: var(--slate-dim); margin-top: var(--s4); }
.final-alt { margin-top: var(--s6); display: flex; gap: 1rem; align-items: center; justify-content: center; flex-wrap: wrap; color: var(--slate); }
.form-success { display: flex; flex-direction: column; gap: .4rem; }

/* ============================================================ FOOTER */
.footer { padding: var(--s8) 0; border-top: 1px solid var(--line-dark); text-align: center; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: .7rem; }
.brand-lg .seal, .brand-lg .seal svg { width: 40px; height: 40px; }
.brand-lg .brand-name { font-size: 1.4rem; }
.footer-tag { font-size: 1.25rem; color: var(--ivory); margin-top: .3rem; }
.footer-sub { color: var(--slate); font-size: .95rem; max-width: 46ch; }
.footer-legal { font-size: .72rem; color: var(--slate-dim); margin-top: .5rem; letter-spacing: .03em; }

/* ============================================================ REVEAL */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; } .reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; } .reveal[data-d="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-title .line-in { transform: none; }
  .bp, .spark path { stroke-dashoffset: 0; }
  .caret, .radar, .sig-pulses { display: none; }
}

/* ============================================================ RESPONSIVE */
@media (max-width: 1000px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; width: 44px; height: 44px; padding: 0; align-items: center; justify-content: center; }
  .hero-grid, .solution-body, .ent-grid, .problem-grid, .theater-grid { grid-template-columns: 1fr; }
  .orgchart { max-width: 460px; margin: 0 auto; }
  .team-grid, .bento, .logs, .ratecard { grid-template-columns: 1fr; }
  .ratecard { border-radius: var(--r-lg); }
  .tier { border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .tier:last-child { border-bottom: 0; }
  .cap.big { grid-column: span 1; }
  .theater-console { position: relative; top: 0; margin-top: var(--s5); }
  .theater-steps { padding: 0; gap: var(--s6); }
  .t-step { opacity: 1; }
  .scroll-cue { display: none; }
}
@media (hover: none), (pointer: coarse) {
  .ask { min-height: 40px; padding: .55rem .9rem; }
}
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .wrap { padding: 0 18px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .dash-scores { grid-template-columns: repeat(2,1fr); gap: 14px; }
  .rev-nums { grid-template-columns: 1fr 1fr; }
  .rev-nums .v { font-size: .9rem; }
  .field { flex-direction: column; border-radius: var(--r-lg); padding: 9px; }
  .field input { text-align: center; padding: .7rem; }
  .field .btn { width: 100%; }
  .org-execs { gap: 8px; }
  .problem-figs { padding-left: 18px; }
  .bento { gap: 12px; }
}
