/* Pyrinas scrollstory — site.css
   Tokens mirror pyrinas.co/styles.css (bg, panel, line, text, muted, blue) and add
   a light band, an ember accent reserved for the hero floor line and the close. */

:root {
  --bg: #050910;
  --panel: #0a1524;
  --panel-2: #0f1d30;
  --line: #17304c;
  --line-soft: rgba(37, 184, 255, 0.14);
  --text: #f4f8ff;
  --muted: #97a9be;
  --faint: #52657c;
  --blue: #25b8ff;
  --blue-deep: #0a7fc2;
  --ember: #ff8a3d;

  --light-bg: #eef2f6;
  --light-panel: #ffffff;
  --light-line: #d5dde6;
  --light-text: #0b1220;
  --light-muted: #4b5a6b;
  --light-faint: #8795a6;

  --max: 1220px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 22px;
  --radius-sm: 12px;
  --notch: 40px;

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--blue); color: #021018; padding: 8px 14px; border-radius: 999px;
}
.skip:focus { left: 8px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: 0.8; }
.eyebrow--plain::before { display: none; }

.h-xl { font-size: clamp(40px, 7.2vw, 104px); line-height: 0.98; letter-spacing: -0.035em; font-weight: 600; }
.h-l  { font-size: clamp(34px, 5vw, 68px);  line-height: 1.02; letter-spacing: -0.03em;  font-weight: 600; }
.h-m  { font-size: clamp(26px, 3.2vw, 42px); line-height: 1.08; letter-spacing: -0.025em; font-weight: 600; }
.h-s  { font-size: clamp(20px, 2vw, 26px);   line-height: 1.2;  letter-spacing: -0.015em; font-weight: 600; }
.lede { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; color: var(--muted); max-width: 60ch; }
.body { color: var(--muted); max-width: 62ch; }
.light .lede, .light .body { color: var(--light-muted); }
.tabular { font-variant-numeric: tabular-nums; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  height: 48px; padding: 0 22px 0 24px; border-radius: 999px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  white-space: nowrap; transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn .arrow { width: 14px; height: 14px; transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--primary { background: var(--blue); color: #021018; }
.btn--primary:hover { background: #5ccaff; }
.btn--ghost { border: 1px solid rgba(244, 248, 255, 0.22); color: var(--text); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.light .btn--ghost { border-color: rgba(11, 18, 32, 0.22); color: var(--light-text); }
.light .btn--ghost:hover { border-color: var(--blue-deep); color: var(--blue-deep); }
.btn--ember { background: var(--ember); color: #1a0a00; }
.btn--ember:hover { background: #ffa366; }
.btn--sm { height: 40px; padding: 0 16px 0 18px; font-size: 11px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: transform .5s var(--ease), background .4s, backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-solid { background: rgba(5, 9, 16, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: rgba(23, 48, 76, 0.6); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__row { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.nav__brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; letter-spacing: 0.08em; font-size: 14px; }
.nav__brand img { width: 28px; height: 28px; }
.nav__links { display: flex; gap: 28px; font-size: 14px; color: var(--muted); white-space: nowrap; }
@media (max-width: 1180px) { .nav__links { gap: 18px; } .nav__cta .btn--ghost { display: none; } }
.nav__links a { position: relative; padding: 6px 0; transition: color .25s; }
.nav__links a:hover { color: var(--text); }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--blue); transition: right .35s var(--ease); }
.nav__links a:hover::after { right: 0; }
.nav__cta { display: flex; gap: 10px; align-items: center; }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(244,248,255,.18); position: relative; }
.nav__burger span, .nav__burger span::before, .nav__burger span::after { content: ""; position: absolute; left: 13px; width: 18px; height: 1.5px; background: var(--text); transition: transform .3s, opacity .3s; }
.nav__burger span { top: 21px; }
.nav__burger span::before { left: 0; top: -6px; }
.nav__burger span::after { left: 0; top: 6px; }
.nav.is-open .nav__burger span { background: transparent; }
.nav.is-open .nav__burger span::before { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__burger span::after { transform: translateY(-6px) rotate(-45deg); }
.nav__sheet { display: none; }

@media (max-width: 900px) {
  .nav__links, .nav__cta .btn--ghost { display: none; }
  .nav__cta .btn--primary { display: none; }
  .nav__burger { display: block; }
  .nav__sheet .btn { margin-top: 16px; justify-content: center; }
  .nav__sheet {
    display: flex; flex-direction: column; gap: 4px;
    position: fixed; inset: 72px 0 auto 0; padding: 12px var(--gutter) 28px;
    background: rgba(5, 9, 16, 0.96); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease);
  }
  .nav.is-open .nav__sheet { opacity: 1; transform: none; pointer-events: auto; }
  .nav__sheet a { padding: 14px 0; border-bottom: 1px solid rgba(23,48,76,.5); font-size: 18px; }
}

/* ---------- bands & notch ---------- */
.band { position: relative; }
.band--light {
  background: var(--light-bg); color: var(--light-text);
  background-image:
    linear-gradient(to right, rgba(11,18,32,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11,18,32,.06) 1px, transparent 1px);
  background-size: 96px 96px;
}
.band--light::before {
  /* + marks at grid intersections */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(11,18,32,.28) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11,18,32,.28) 1px, transparent 1px);
  background-size: 96px 96px;
  -webkit-mask: radial-gradient(circle 5px at 0 0, #000 98%, transparent) 0 0 / 96px 96px;
          mask: radial-gradient(circle 5px at 0 0, #000 98%, transparent) 0 0 / 96px 96px;
}
.band--dark-grid {
  background-image:
    linear-gradient(to right, rgba(37,184,255,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(37,184,255,.05) 1px, transparent 1px);
  background-size: 96px 96px;
}
.band--notch { border-top-left-radius: var(--notch); border-top-right-radius: var(--notch); margin-top: calc(-1 * var(--notch)); z-index: 2; }
.band--notch-bottom { border-bottom-left-radius: var(--notch); border-bottom-right-radius: var(--notch); z-index: 2; padding-bottom: calc(var(--notch) + 24px); }
.notch-tab {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  background: var(--bg); color: var(--blue);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 10px 22px 12px; border-radius: 0 0 16px 16px; z-index: 3;
}
.section { padding: clamp(88px, 11vw, 160px) 0; position: relative; }
.section__head { display: grid; gap: 22px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 920px; }
.section__head .h-l { max-width: 16ch; }
.light .section__head .eyebrow { color: var(--blue-deep); }

/* ---------- reveals ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); }
[data-reveal].is-in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal="fade"] { transform: none; }
.reduced [data-reveal] { opacity: 1; transform: none; }

/* ---------- 01 hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: var(--bg); }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(to top, rgba(5,9,16,.92) 0%, rgba(5,9,16,.35) 38%, rgba(5,9,16,0) 70%),
  linear-gradient(to right, rgba(5,9,16,.55), rgba(5,9,16,0) 55%); pointer-events: none; }
.hero__copy { position: absolute; left: 0; right: 0; bottom: clamp(48px, 9vh, 110px); }
.hero__state { position: absolute; left: 0; right: 0; bottom: 0; opacity: 0; transform: translateY(14px); pointer-events: none; }
.hero__state.is-on { opacity: 1; transform: none; pointer-events: auto; transition: opacity .55s var(--ease), transform .55s var(--ease); }
.hero__state .h-xl { max-width: 12ch; margin-top: 18px; }
.hero__state .lede { margin-top: 20px; color: rgba(244,248,255,.78); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__labels { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.hero__labels span { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.hero__state.is-on .hero__labels span { opacity: 1; transform: none; }
.hero__labels span:nth-child(1) { transition-delay: .05s } .hero__labels span:nth-child(2) { transition-delay: .12s }
.hero__labels span:nth-child(3) { transition-delay: .19s } .hero__labels span:nth-child(4) { transition-delay: .26s }
.hero__labels span:nth-child(5) { transition-delay: .33s } .hero__labels span:nth-child(6) { transition-delay: .40s }
.hero__labels span:nth-child(7) { transition-delay: .47s }
.hero__scroll { position: absolute; right: var(--gutter); bottom: 28px; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); display: flex; align-items: center; gap: 10px; }
.hero__scroll i { width: 1px; height: 36px; background: linear-gradient(var(--blue), transparent); display: block; animation: drop 1.8s var(--ease) infinite; }
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top } 50% { transform: scaleY(1); transform-origin: top } 51% { transform-origin: bottom } 100% { transform: scaleY(0); transform-origin: bottom } }
.hero__state .l { display: block; }
.hero.is-scrub .hero__state { transition: none; }
.hero.is-scrub .hero__labels span { transition: none; }
.hero__load { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--blue); transform: scaleX(var(--p, 0)); transform-origin: left; opacity: .9; transition: opacity .6s .4s; z-index: 2; }
.hero.is-ready .hero__load { opacity: 0; }
.hero__progress { position: absolute; left: var(--gutter); bottom: 28px; display: flex; gap: 6px; align-items: center; }
.hero__progress span { margin-left: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.hero__progress b { width: 28px; height: 2px; background: rgba(244,248,255,.18); border-radius: 2px; overflow: hidden; position: relative; }
.hero__progress b::after { content: ""; position: absolute; inset: 0; background: var(--blue); transform: scaleX(var(--p, 0)); transform-origin: left; }

/* ---------- 02 thesis ---------- */
.thesis { min-height: 100vh; display: grid; place-items: center; }
.thesis__text { font-size: clamp(30px, 5.4vw, 76px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 600; max-width: 22ch; }
.thesis__text .w { color: var(--faint); transition: color .25s; }
.thesis__text .w.is-lit { color: var(--text); }
.thesis__text .line { display: block; }
.thesis__text .line--small { font-size: .5em; font-weight: 500; margin-top: .9em; max-width: 36ch; letter-spacing: -0.01em; }
.thesis__text .cursor { display: inline-block; width: .5em; height: .9em; background: var(--blue); vertical-align: -0.1em; margin-left: .08em; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0 } }

/* ---------- 03 doctrine ---------- */
.doctrine { position: relative; min-height: 100vh; overflow: hidden; }
.doctrine__bg { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.doctrine__bg video, .doctrine__bg img { width: min(120vh, 120vw); height: auto; opacity: .22; filter: blur(2px) saturate(1.1); }
.doctrine__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(5,9,16,0) 25%, rgba(5,9,16,.95) 72%); }
.doctrine__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; min-height: 100vh; padding: 120px 0; }
.doctrine__svg { width: 100%; height: auto; }
.doctrine__svg .ring { fill: none; stroke: var(--blue); stroke-width: 1; opacity: .35; }
.doctrine__svg .core { fill: var(--blue); filter: drop-shadow(0 0 18px rgba(37,184,255,.9)); }
.doctrine__svg .spoke { fill: none; stroke: var(--blue); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .9; }
.doctrine__svg .spoke--dashed { stroke-dasharray: 6 6; }
.doctrine__svg .node { fill: var(--bg); stroke: var(--blue); stroke-width: 1.5; opacity: 0; }
.doctrine__svg .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; fill: var(--muted); text-transform: uppercase; opacity: 0; }
.doctrine__svg .lbl { paint-order: stroke; stroke: var(--bg); stroke-width: 8px; stroke-linejoin: round; }
.doctrine__svg .lbl--core { fill: var(--text); opacity: 1; }
.doctrine__svg .is-drawn .spoke { stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s var(--ease); }
.doctrine__svg .is-drawn .node, .doctrine__svg .is-drawn .lbl { opacity: 1; transition: opacity .6s .5s; }
.doctrine__lines { display: grid; gap: 18px; margin-top: 36px; }
.doctrine__line { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: baseline; color: var(--faint); transition: color .5s; font-size: clamp(18px, 1.7vw, 24px); font-weight: 500; letter-spacing: -0.01em; }
.doctrine__line i { font-family: var(--mono); font-style: normal; font-size: 12px; letter-spacing: .12em; }
.doctrine__line.is-on { color: var(--text); }
.doctrine__line.is-on i { color: var(--blue); }
@media (max-width: 900px) { .doctrine__grid { grid-template-columns: 1fr; gap: 24px; padding: 100px 0 80px; } .doctrine__svg { max-width: 420px; margin-inline: auto; } }

/* ---------- 04 trust ---------- */
.trust__promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--light-line); border: 1px solid var(--light-line); border-radius: var(--radius); overflow: hidden; }
.trust__promise { background: var(--light-panel); padding: 28px 26px; display: grid; gap: 14px; min-height: 160px; }
.trust__promise i { font-family: var(--mono); font-style: normal; font-size: 12px; letter-spacing: .14em; color: var(--blue-deep); }
.trust__promise p { font-weight: 600; letter-spacing: -0.01em; font-size: 18px; line-height: 1.3; }
.marks { margin-top: 56px; }
.marks__label { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--light-faint); margin-bottom: 18px; }
.marks__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; background: var(--light-line); border: 1px solid var(--light-line); border-radius: var(--radius-sm); overflow: hidden; }
.marks__grid--8 { grid-template-columns: repeat(8, 1fr); }
.mark { background: var(--light-bg); display: grid; place-items: center; height: 84px; font-weight: 700; letter-spacing: -0.02em; font-size: 15px; color: #202a38; filter: grayscale(1); opacity: .78; transition: opacity .3s; }
.mark:hover { opacity: 1; }
.mark--sector { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; text-align: center; padding: 0 10px; }
.trust__note { margin-top: 18px; font-size: 13px; color: var(--light-faint); }
@media (max-width: 900px) { .trust__promises { grid-template-columns: 1fr 1fr } .marks__grid { grid-template-columns: repeat(4, 1fr) } .marks__grid--8 { grid-template-columns: repeat(4, 1fr) } }
@media (max-width: 520px) { .trust__promises { grid-template-columns: 1fr } .marks__grid, .marks__grid--8 { grid-template-columns: repeat(2, 1fr) } }

/* ---------- 05 doors ---------- */
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.door { background: var(--light-panel); border: 1px solid var(--light-line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-rows: auto 1fr; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.door:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(11,18,32,.14); }
.door__media { aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg); }
.door__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.door:hover .door__media img { transform: scale(1.04); }
.door__body { padding: 26px 26px 28px; display: grid; gap: 12px; align-content: start; }
.door__body .eyebrow { color: var(--blue-deep); }
.door__body h3 { font-size: 24px; letter-spacing: -0.02em; line-height: 1.15; }
.door__body p { color: var(--light-muted); font-size: 15.5px; }
.door__body .btn { margin-top: 10px; justify-self: start; }
@media (max-width: 900px) { .doors { grid-template-columns: 1fr; } .door { grid-template-columns: 1fr; } }

/* ---------- 06 benchmark calculator ---------- */
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.calc > * { min-width: 0; }
.calc__inputs { display: grid; gap: 22px; background: var(--light-panel); border: 1px solid var(--light-line); border-radius: var(--radius); padding: 30px; }
.field { display: grid; gap: 10px; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--light-muted); display: flex; justify-content: space-between; }
.field label output { color: var(--light-text); font-weight: 600; }
.field input[type="range"] { width: 100%; accent-color: var(--blue-deep); }
.field select, .field input[type="email"], .field input[type="text"], .field textarea {
  width: 100%; height: 48px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--light-line); background: #f7f9fb; color: var(--light-text); font: inherit; font-size: 15px;
}
.field textarea { height: auto; padding: 12px 14px; min-height: 120px; resize: vertical; }
.calc__result { background: var(--bg); color: var(--text); border-radius: var(--radius); padding: 34px 32px; display: grid; gap: 26px; position: sticky; top: 100px; overflow: hidden; }
.calc__result::after { content: ""; position: absolute; inset: auto -40% -60% auto; width: 70%; aspect-ratio: 1; background: radial-gradient(circle, rgba(37,184,255,.28), transparent 60%); pointer-events: none; }
.calc__big { font-size: clamp(56px, 7vw, 96px); line-height: 1; letter-spacing: -0.04em; font-weight: 600; }
.calc__big small { font-size: .32em; color: var(--muted); letter-spacing: 0; margin-left: 8px; font-weight: 500; }
.calc__rows { display: grid; gap: 14px; border-top: 1px solid rgba(244,248,255,.12); padding-top: 20px; }
.calc__row { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; color: var(--muted); }
.calc__row b { color: var(--text); font-weight: 600; }
.calc__foot { font-size: 12.5px; color: var(--faint); line-height: 1.5; }
.calc__lead { display: grid; gap: 10px; }
.calc__lead .btn { justify-content: center; }
.calc__lead input { min-width: 0; height: 48px; border-radius: 999px; border: 1px solid rgba(244,248,255,.18); background: rgba(244,248,255,.06); color: var(--text); padding: 0 18px; font: inherit; font-size: 15px; }
.calc__lead input::placeholder { color: var(--faint); }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr } .calc__result { position: static } .calc__lead { flex-direction: column } }

/* ---------- 07 system tabs ---------- */
.system { position: relative; }
.system__stage { min-height: 100vh; display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; padding: 110px 0 80px; }
.system__tabs { display: grid; gap: 4px; margin-top: 30px; }
.tab { display: grid; grid-template-columns: 26px 1fr; gap: 16px; align-items: start; padding: 18px 0; border-top: 1px solid rgba(23,48,76,.8); text-align: left; color: var(--faint); transition: color .4s; }
.tab:last-child { border-bottom: 1px solid rgba(23,48,76,.8); }
.tab__dot { width: 10px; height: 10px; margin-top: 7px; border-radius: 50%; border: 1px solid currentColor; position: relative; }
.tab__dot::after { content: ""; position: absolute; inset: 2px; border-radius: 50%; background: var(--blue); transform: scale(0); transition: transform .4s var(--ease); }
.tab__title { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.tab__name { font-size: clamp(20px, 2vw, 26px); font-weight: 600; letter-spacing: -0.02em; margin-top: 6px; color: inherit; }
.tab__body { color: var(--muted); font-size: 15.5px; margin-top: 8px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--ease), opacity .4s; }
.tab__more { display: flex; width: max-content; align-items: center; gap: 8px; margin-top: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.tab.is-on { color: var(--text); }
.tab.is-on .tab__title { color: var(--blue); }
.tab.is-on .tab__dot::after { transform: scale(1); }
.tab.is-on .tab__body { max-height: 220px; opacity: 1; }
.system__visual { position: relative; aspect-ratio: 1344 / 752; border-radius: var(--radius); overflow: hidden; background: var(--bg); box-shadow: 0 40px 100px rgba(0,0,0,.5); border: 1px solid rgba(23,48,76,.7); }
.system__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease); }
.system__visual img.is-on { opacity: 1; }
.system__visual .cap { position: absolute; left: 20px; bottom: 16px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); background: rgba(5,9,16,.6); padding: 6px 10px; border-radius: 6px; }
.system__progress { position: absolute; right: 20px; top: 16px; display: flex; gap: 5px; }
.system__progress b { width: 22px; height: 2px; background: rgba(244,248,255,.18); border-radius: 2px; }
.system__progress b.is-on { background: var(--blue); }
@media (max-height: 860px) and (min-width: 901px) {
  .system__stage { padding: 84px 0 40px; }
  .system__stage > div:first-child > .body { display: none; }
  .tab { padding: 13px 0; }
  .tab__body { font-size: 14.5px; }
}
@media (max-width: 900px) { .system__stage { grid-template-columns: 1fr; gap: 22px; padding: 100px 0 60px; align-content: start; } .system__visual { order: -1; } .tab.is-on .tab__body { max-height: 320px; } }

/* ---------- 08 research ---------- */
.research__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.chart { width: 100%; height: auto; }
.chart .bar { fill: rgba(244,248,255,.16); transform: scaleY(0); transform-origin: bottom; transform-box: fill-box; }
.chart.is-in .bar { transform: scaleY(1); transition: transform 1.1s var(--ease); }
.chart .bar--win { fill: var(--blue); }
.chart.is-in .bar--win { transition-delay: .9s; filter: drop-shadow(0 0 12px rgba(37,184,255,.8)); }
.chart .tick { font-family: var(--mono); font-size: 10.5px; fill: var(--muted); letter-spacing: .08em; }
.chart .tick--win { fill: var(--blue); }
.chart .band { fill: rgba(37,184,255,.06); stroke: rgba(37,184,255,.35); stroke-dasharray: 4 4; }
.chart .band-lbl { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; fill: var(--blue); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 56px; }
.fact { background: var(--panel); padding: 30px 28px; display: grid; gap: 10px; }
.fact b { font-size: clamp(36px, 4vw, 54px); line-height: 1; letter-spacing: -0.035em; font-weight: 600; }
.fact > span { color: var(--muted); font-size: 15px; }
.research__line { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.research__line .words { font-family: var(--mono); letter-spacing: .14em; text-transform: uppercase; font-size: 13px; color: var(--blue); }
@media (max-width: 900px) { .research__grid { grid-template-columns: 1fr } .facts { grid-template-columns: 1fr } }

/* ---------- 09 deploy ---------- */
.deploy__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.deploy__svg { width: 100%; height: auto; }
.deploy__svg .link { fill: none; stroke: var(--blue); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; }
.deploy__svg .link--ext { stroke-dasharray: 7 7; stroke: rgba(37,184,255,.7); }
.deploy__svg .box { fill: var(--panel); stroke: var(--line); stroke-width: 1; }
.deploy__svg .box--core { stroke: var(--blue); }
.deploy__svg .t { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; fill: var(--text); text-transform: uppercase; }
.deploy__svg .t--sub { fill: var(--muted); font-size: 10px; letter-spacing: .1em; }
.deploy__svg .t--ext { fill: var(--muted); }
.deploy__svg.is-in .link { stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s var(--ease); }
.deploy__svg.is-in .link:nth-of-type(2) { transition-delay: .2s } .deploy__svg.is-in .link:nth-of-type(3) { transition-delay: .4s } .deploy__svg.is-in .link--ext { transition-delay: .9s }
.deploy__list { display: grid; gap: 14px; margin-top: 28px; }
.deploy__list li { display: grid; grid-template-columns: 14px 1fr; gap: 14px; align-items: start; color: var(--muted); }
.deploy__list li::before { content: ""; width: 14px; height: 1px; background: var(--blue); margin-top: 13px; }
.deploy__list li.ext::before { background: repeating-linear-gradient(to right, var(--blue) 0 3px, transparent 3px 6px); }
.deploy__list b { color: var(--text); font-weight: 600; }
@media (max-width: 900px) { .deploy__grid { grid-template-columns: 1fr } }

/* ---------- 10 people ---------- */
.people__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: start; }
.quote { background: var(--light-panel); border: 1px solid var(--light-line); border-radius: var(--radius); padding: 36px; position: relative; }
.quote::before { content: "“"; position: absolute; top: 8px; left: 26px; font-size: 96px; line-height: 1; color: var(--blue); opacity: .35; font-weight: 700; }
.quote p { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.3; letter-spacing: -0.02em; font-weight: 500; padding-top: 24px; }
.quote footer { margin-top: 22px; display: grid; gap: 2px; }
.quote footer b { font-weight: 600; }
.quote footer span { font-size: 14px; color: var(--light-muted); }
.people__side { display: grid; gap: 22px; }
.people__pods { display: grid; gap: 1px; background: var(--light-line); border: 1px solid var(--light-line); border-radius: var(--radius-sm); overflow: hidden; }
.pod { background: var(--light-panel); padding: 18px 20px; display: grid; gap: 4px; }
.pod b { font-size: 15px; font-weight: 600; }
.pod span { font-size: 13.5px; color: var(--light-muted); }
.people__marks { display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 700; color: #202a38; opacity: .7; font-size: 14px; letter-spacing: -0.01em; }
@media (max-width: 900px) { .people__grid { grid-template-columns: 1fr } }

/* ---------- 11 objections + form ---------- */
.obj__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.faq__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.faq__tab { height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: all .25s; }
.faq__tab.is-on, .faq__tab:hover { border-color: var(--blue); color: var(--blue); }
.faq__panel { display: none; }
.faq__panel.is-on { display: block; }
.q { border-top: 1px solid var(--line); }
.q:last-child { border-bottom: 1px solid var(--line); }
.q__btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; text-align: left; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.q__btn .plus { width: 22px; height: 22px; position: relative; flex: none; }
.q__btn .plus::before, .q__btn .plus::after { content: ""; position: absolute; background: var(--blue); left: 50%; top: 50%; transform: translate(-50%, -50%); width: 14px; height: 1.5px; transition: transform .35s var(--ease); }
.q__btn .plus::after { width: 1.5px; height: 14px; }
.q.is-open .q__btn .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.q__a { max-height: 0; overflow: hidden; color: var(--muted); transition: max-height .5s var(--ease); }
.q__a p { padding-bottom: 22px; max-width: 54ch; }
.q.is-open .q__a { max-height: 300px; }
.form { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: grid; gap: 16px; position: relative; overflow: hidden; }
.form::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, rgba(37,184,255,.6), transparent 40%, transparent 60%, rgba(37,184,255,.25)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.form .field label { color: var(--muted); }
.form .field input, .form .field textarea { background: rgba(244,248,255,.05); border-color: var(--line); color: var(--text); }
.form .field input::placeholder, .form .field textarea::placeholder { color: var(--faint); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__hp { position: absolute; left: -9999px; }
.form__note { font-size: 12.5px; color: var(--faint); line-height: 1.5; }
.form__status { font-size: 14px; color: var(--blue); min-height: 1.4em; }
.form__status.is-error { color: var(--ember); }
@media (max-width: 900px) { .obj__grid { grid-template-columns: 1fr } .form__row { grid-template-columns: 1fr } }

/* ---------- 12 ignition ---------- */
.ignition { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: var(--bg); }
.ignition video, .ignition img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ignition__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,9,16,.9) 0%, rgba(5,9,16,.2) 50%, rgba(5,9,16,.35) 100%); }
.ignition__copy { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 0 var(--gutter) 22vh; }
.ignition__copy > div { display: grid; gap: 22px; justify-items: center; opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.ignition.is-lit .ignition__copy > div { opacity: 1; transform: none; }
.ignition__copy .h-xl { max-width: 12ch; }
.ignition__copy .lede { color: rgba(244,248,255,.8); }
.ignition__copy .eyebrow { color: var(--ember); }
.ignition__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.ignition__line { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ember); box-shadow: 0 0 24px 4px rgba(255,138,61,.7); transform: scaleX(0); transform-origin: center; transition: transform 1.4s var(--ease); }
.ignition.is-lit .ignition__line { transform: scaleX(1); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 64px 0 36px; background: var(--bg); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }
.footer ul { display: grid; gap: 10px; font-size: 15px; color: var(--muted); }
.footer ul a:hover { color: var(--text); }
.footer__principle { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.025em; font-weight: 600; line-height: 1.15; max-width: 14ch; }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--faint); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero__canvas { display: none; } .hero__still { display: block; }
  .hero__state { opacity: 1; transform: none; position: static; }
  .hero__state:not(:first-child) { display: none; }
  .hero__scroll i { animation: none; }
  .thesis__text .w { color: var(--text); } .thesis__text .cursor { display: none; }
  .doctrine__svg .spoke { stroke-dashoffset: 0; } .doctrine__svg .node, .doctrine__svg .lbl { opacity: 1; }
  .doctrine__line { color: var(--text); }
  .chart .bar { transform: none; } .deploy__svg .link { stroke-dashoffset: 0; }
  .ignition__copy > div, .ignition__line { opacity: 1; transform: none; }
  [data-reveal] { opacity: 1; transform: none; }
}
