/* VyzAI "In Flight" draft. Daylight studio: pale sky, warm paper, H&M navy linework, gold used sparingly. */
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-latin-wght-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Martian Mono"; src: url("../fonts/martian-mono-latin-wght-normal.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; }

:root {
  --navy: #0b2a5e; --navy-2: #123a7a; --ink: #13213d; --ink-2: #3c4a66;
  --gold: #a8822f; --gold-l: #d8bc7c;
  --paper: #f6f2ea; --paper-2: #ede6d8; --sky: #e4edf4; --sky-2: #cddceb;
  --line: rgba(11, 42, 94, 0.16); --line-2: rgba(11, 42, 94, 0.32);
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Martian Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --g: clamp(16px, 4vw, 56px);
  --flight-h: 1000svh;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; line-height: 1.05; margin: 0; color: var(--navy); }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: var(--paper); padding: 10px 14px; border-radius: 3px; text-decoration: none; }
.skip:focus { top: 12px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

/* ---------- buttons */
.btn { --b: var(--navy); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--b); color: #fbf8f2; font: 600 15px/1 var(--sans); letter-spacing: 0.005em; text-decoration: none; border: 0; cursor: pointer; position: relative; overflow: hidden; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 8px 22px -12px rgba(11,42,94,.6); }
.btn::after { content: ""; width: 7px; height: 7px; border-top: 1.6px solid var(--gold-l); border-right: 1.6px solid var(--gold-l); transform: rotate(45deg); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.btn::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120px 60px at var(--mx, 50%) var(--my, 50%), rgba(216,188,124,.32), transparent 70%); opacity: 0; transition: opacity .3s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 14px 28px -14px rgba(11,42,94,.7); }
.btn:hover::before { opacity: 1; }
.btn:hover::after { transform: translateX(3px) rotate(45deg); }
.btn:active { transform: translateY(0) scale(.985); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 13.5px; }
.btn-wide { width: 100%; }
.btn-ghost { --b: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line-2); }

/* ---------- header */
.top { position: fixed; inset: 0 0 auto 0; z-index: 30; display: flex; align-items: center; gap: 28px; height: 64px; padding: 0 var(--g); transition: background .4s, box-shadow .4s; }
.top.solid { background: rgba(246, 242, 234, 0.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; margin-right: auto; }
.wm { font: 500 26px/1 var(--serif); color: var(--navy); letter-spacing: -0.02em; }
.wm em, .wm-xl em { font-style: italic; color: var(--gold); }
.by { display: flex; align-items: center; gap: 8px; font: 500 10px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); padding-left: 14px; border-left: 1px solid var(--line-2); }
.by img { width: 76px; height: auto; }
.nav { display: flex; gap: 26px; }
.nav a { font: 500 14px/1 var(--sans); text-decoration: none; color: var(--ink); position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); }
.review { display: flex; align-items: center; gap: 8px; }
.tag-preview { font: 600 9.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--gold); border: 1px solid rgba(168,130,47,.5); padding: 6px 8px; border-radius: 3px; background: rgba(246,242,234,.7); white-space: nowrap; }
.all-drafts { font: 500 12px/1 var(--sans); color: var(--ink-2); text-decoration: none; padding: 6px 2px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.all-drafts:hover { color: var(--navy); border-color: var(--gold); }

/* ---------- flight: base (no JS, reduced motion) is a plain stack of chapters with stills */
.flight { position: relative; }
.stage { position: relative; display: none; }
.chapters { padding: 96px var(--g) 40px; display: grid; gap: 72px; max-width: 1240px; margin: 0 auto; }
.chapter { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.chapter .still { margin: 0; border-radius: 4px; overflow: hidden; background: var(--sky); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgba(11,42,94,.5); aspect-ratio: 1200 / 744; }
.chapter .still img { width: 100%; height: 100%; object-fit: cover; }
html.stills-ready .still .real { display: none; }
.chapter.hero .still .real { object-position: 50% 42%; }
.kicker { display: flex; align-items: center; gap: 10px; font: 500 11px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); margin-bottom: 22px; }
.kicker img { width: 22px; height: 22px; }
h1 { font-size: clamp(40px, 6.2vw, 92px); line-height: .98; font-weight: 350; }
.wm-xl { display: block; font-weight: 500; font-size: .5em; letter-spacing: -0.02em; margin-bottom: .3em; }
.lead { font-size: clamp(17px, 1.35vw, 20px); color: var(--ink-2); margin-top: 22px; max-width: 34ch; }
.actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.num { font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; display: flex; gap: 12px; align-items: center; }
.num span { color: var(--ink-2); }
.num::after { content: ""; flex: 0 0 34px; height: 1px; background: currentColor; opacity: .5; order: 1; }
.chapter h2 { font-size: clamp(30px, 3.3vw, 48px); }
.chapter .card > p:not(.num):not(.kicker):not(.lead):not(.actions) { margin-top: 16px; color: var(--ink-2); max-width: 38ch; }
.specs { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 0; font: 500 12px/1.4 var(--mono); color: var(--navy); }
.specs li { padding: 9px 0; border-top: 1px solid var(--line); }

/* ---------- flight: motion mode, a sticky stage with chapter cards scrolling over it */
html.motion .flight { height: var(--flight-h); }
html.motion .stage { display: block; position: sticky; top: 0; height: 100svh; overflow: hidden; background: linear-gradient(180deg, #cfdeec 0%, #e6edf1 52%, #efe9de 100%); }
html.motion .stage canvas.gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: crosshair; opacity: 0; transition: opacity 1s ease; }
html.motion.gl-on .stage canvas.gl { opacity: 1; }
.stage .poster { display: none; }
html.motion .stage .poster { display: block; position: absolute; inset: 0; transition: opacity 1s ease 0.3s; }
html.motion .stage .poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
html.motion.gl-on .stage .poster, html.nogl .stage .poster { opacity: 0; pointer-events: none; }
.stage .fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s; }
html.nogl .stage .fallback { opacity: 1; }
html.nogl .stage .fallback + .hud, html.nogl .labels, html.nogl .arcs, html.nogl .radar-wrap, html.nogl .callouts, html.nogl .leaders { display: none; }
html.motion .chapters { position: absolute; inset: 0; padding: 0; display: block; max-width: none; margin: 0; pointer-events: none; }
html.motion .chapter { position: absolute; left: 0; right: 0; top: calc(var(--at) * (var(--flight-h) - 100svh)); height: 100svh; display: flex; align-items: center; padding: 64px var(--g) 0; }
html.motion .chapter .still { display: none; }
html.motion .chapter .card { pointer-events: auto; width: min(420px, 34vw); padding: 30px 30px 32px; background: rgba(248, 245, 238, 0.8); backdrop-filter: blur(14px) saturate(1.1); -webkit-backdrop-filter: blur(14px) saturate(1.1); border: 1px solid rgba(255,255,255,.7); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -36px rgba(11,42,94,.45); border-radius: 4px; will-change: opacity, transform; }
html.motion .chapter.hero .card { width: min(560px, 44vw); background: none; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0; }
html.motion .chapter.hero { align-items: flex-start; padding-top: max(118px, 17svh); }
html.motion.gl-on .chapter.box .specs { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* HUD */
.hud { position: absolute; left: var(--g); bottom: 26px; display: flex; gap: 22px; font: 500 10.5px/1 var(--mono); letter-spacing: .06em; color: var(--navy); opacity: .9; z-index: 2; }
.hud i { font-style: normal; color: var(--ink-2); opacity: .7; margin-right: 4px; }
.hud b { font-weight: 600; font-variant-numeric: tabular-nums; }
.hud .mode b { padding: 3px 5px; border-radius: 2px; transition: background .4s, color .4s; }
html.mode-shape .hud .mode b { background: linear-gradient(90deg, #2bd4c4, #4f7cff 55%, #d14fd6); color: #fff; }
.hud .passive b { color: var(--gold); }

/* labels */
.labels, .arcs, .callouts { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.tag { position: absolute; left: 0; top: 0; padding: 6px 8px 7px; background: rgba(250, 247, 240, 0.92); border: 1px solid var(--navy); border-radius: 2px; font: 500 9.5px/1.45 var(--mono); color: var(--navy); white-space: nowrap; display: grid; opacity: 0; will-change: transform, opacity; box-shadow: 0 6px 14px -8px rgba(11,42,94,.5); }
.tag b { font-weight: 700; font-size: 10px; letter-spacing: .04em; }
.tag i { font-style: normal; font-variant-numeric: tabular-nums; }
.tag::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: calc(16px + var(--lift, 0px)); background: var(--navy); }
.tag::before { content: ""; position: absolute; left: calc(50% - 2px); top: calc(100% + 15px + var(--lift, 0px)); width: 5px; height: 5px; border-radius: 50%; background: var(--navy); }
.tag { margin-top: -20px; }
.tag.moving { border-color: var(--gold); box-shadow: inset 3px 0 0 var(--gold), 0 6px 14px -8px rgba(11,42,94,.5); }
.tag.moving::after, .tag.moving::before { background: var(--gold); }
.arc { position: absolute; left: 0; top: 0; font: 600 10px/1 var(--mono); color: #fff; background: rgba(11, 42, 94, .82); padding: 4px 6px; border-radius: 2px; opacity: 0; }
.radar-wrap { position: absolute; right: var(--g); bottom: 26px; margin: 0; width: 222px; padding: 10px 10px 8px; background: rgba(248,245,238,.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 4px; z-index: 3; opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s; }
html.radar-on .radar-wrap { opacity: 1; transform: none; }
.radar-wrap canvas { width: 200px; height: 116px; display: block; }
.radar-wrap figcaption { font: 500 8.5px/1.3 var(--mono); color: var(--ink-2); letter-spacing: .04em; margin-top: 4px; }

/* exploded view callouts */
.leaders { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; overflow: visible; }
.leaders path { fill: none; stroke: var(--navy); stroke-width: 1; opacity: 0; }
.leaders circle { fill: var(--gold); opacity: 0; }
.call { position: absolute; left: 0; top: 0; max-width: 230px; padding: 8px 11px 9px; background: rgba(250,247,240,.9); border: 1px solid var(--line-2); border-radius: 3px; display: grid; gap: 2px; opacity: 0; pointer-events: none; transition: border-color .25s, background .25s, box-shadow .25s; }
.call.on { pointer-events: auto; cursor: default; }
.call b { font: 600 10px/1.2 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--navy); }
.call.nc b { text-transform: none; letter-spacing: .02em; }
.call span { font: 400 13px/1.35 var(--sans); color: var(--ink-2); }
.call.hot { border-color: var(--gold); background: #fffdf8; box-shadow: 0 10px 24px -14px rgba(168,130,47,.8); }

/* chapter rail */
.rail { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; z-index: 3; }
.rail li { width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--navy); opacity: .45; transition: background .3s, opacity .3s, transform .3s; }
.rail li.on { background: var(--gold); border-color: var(--gold); opacity: 1; transform: scale(1.25); }
.scroll-cue { position: absolute; left: 50%; bottom: 74px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font: 500 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); z-index: 3; transition: opacity .4s; }
.scroll-cue i { width: 1px; height: 38px; background: linear-gradient(var(--navy), transparent); animation: cue 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
html.scrolled .scroll-cue { opacity: 0; }

/* ---------- calm sections */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--g); }
.sec-head { max-width: 640px; }
.sec-head h2 { font-size: clamp(36px, 5vw, 72px); font-weight: 350; }
.sec-head > p:not(.num) { margin-top: 18px; color: var(--ink-2); font-size: 18px; max-width: 46ch; }
.proof { padding: clamp(96px, 14vw, 180px) 0 clamp(80px, 10vw, 140px); background: linear-gradient(180deg, var(--paper) 0%, #f1ece1 100%); }
.proof-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; margin-top: 56px; align-items: start; }
.frame { margin: 0; padding: 10px; background: #fffdf9; border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 30px 60px -44px rgba(11,42,94,.55); }
.frame img { border-radius: 2px; }
.frame figcaption { font: 400 13.5px/1.45 var(--sans); color: var(--ink-2); padding: 12px 4px 2px; }
.cmp-box { position: relative; aspect-ratio: 1200 / 879; overflow: hidden; border-radius: 2px; touch-action: pan-y; }
.cmp-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp-top { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cmp-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fffdf9; box-shadow: 0 0 0 1px rgba(11,42,94,.25); pointer-events: none; }
.cmp-line i { position: absolute; top: 50%; left: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; background: #fffdf9; box-shadow: 0 0 0 1px var(--line-2), 0 8px 18px -8px rgba(11,42,94,.6); transition: transform .25s; }
.cmp-line i::before, .cmp-line i::after { content: ""; position: absolute; top: 50%; width: 6px; height: 6px; border-top: 1.5px solid var(--navy); border-left: 1.5px solid var(--navy); }
.cmp-line i::before { left: 9px; transform: translateY(-50%) rotate(-45deg); }
.cmp-line i::after { right: 9px; transform: translateY(-50%) rotate(135deg); }
.compare:hover .cmp-line i, .compare.drag .cmp-line i { transform: scale(1.12); }
.cmp-tag { position: absolute; top: 12px; font: 600 9.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(11,42,94,.72); padding: 5px 7px; border-radius: 2px; pointer-events: none; }
.cmp-tag.l { left: 12px; } .cmp-tag.r { right: 12px; }
.cmp-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.compare:focus-within { outline: 2px solid var(--gold); outline-offset: 3px; }
.stats { list-style: none; padding: 0; margin: 72px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); }
.stats li { padding: 26px 24px 8px 0; display: grid; gap: 10px; align-content: start; }
.stats li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.stats b { font: 350 clamp(34px, 3.6vw, 54px)/1 var(--serif); color: var(--navy); letter-spacing: -0.02em; }
.stats span { font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.ontheway { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; margin-top: 80px; align-items: center; }
.ontheway h3 { font-size: 30px; margin-bottom: 16px; }
.ontheway ul { list-style: none; padding: 0; margin: 0; }
.ontheway li { padding: 12px 0 12px 24px; border-top: 1px solid var(--line); position: relative; color: var(--ink-2); }
.ontheway li::before { content: ""; position: absolute; left: 0; top: 21px; width: 9px; height: 9px; border: 1px solid var(--gold); border-radius: 50%; }

.paths { background: var(--navy); color: #e9e4d8; padding: clamp(96px, 12vw, 160px) 0; position: relative; overflow: hidden; }
.paths::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(216,188,124,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(216,188,124,.07) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 80% 0%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 80% 0%, #000 0%, transparent 70%); pointer-events: none; }
.paths .wrap { position: relative; }
.paths h2, .paths h3 { color: #fbf8f2; }
.paths .sec-head > p:not(.num) { color: #c3c9d6; }
.path-list { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.path { display: flex; flex-direction: column; gap: 14px; padding: 26px 24px 24px; border: 1px solid rgba(216,188,124,.24); border-radius: 4px; background: rgba(255,255,255,.025); transition: border-color .35s, background .35s, transform .45s cubic-bezier(.2,.8,.2,1); min-height: 300px; }
.path:hover, .path:focus-within { border-color: rgba(216,188,124,.7); background: rgba(255,255,255,.05); transform: translateY(-4px); }
.pn { font: 500 11px/1 var(--mono); color: var(--gold-l); letter-spacing: .1em; }
.path h3 { font-size: 27px; }
.path p { color: #c3c9d6; font-size: 15px; line-height: 1.5; }
.path-go { margin-top: auto; align-self: flex-start; background: none; border: 0; padding: 8px 0; color: var(--gold-l); font: 600 14px/1 var(--sans); cursor: pointer; display: inline-flex; align-items: center; gap: 10px; border-bottom: 1px solid rgba(216,188,124,.4); }
.path-go::after { content: ""; width: 6px; height: 6px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .3s; }
.path-go:hover::after { transform: translateX(3px) rotate(45deg); }

.request { padding: clamp(96px, 12vw, 160px) 0 clamp(96px, 12vw, 150px); background: var(--paper); }
.req-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
.note { margin-top: 22px !important; font: 500 11px/1.4 var(--mono) !important; letter-spacing: .06em; color: var(--gold) !important; text-transform: uppercase; }
.form, .thanks { background: #fffdf9; border: 1px solid var(--line); border-radius: 6px; padding: clamp(20px, 3vw, 36px); box-shadow: 0 40px 80px -60px rgba(11,42,94,.6); display: grid; gap: 18px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font: 600 13px/1.3 var(--sans); color: var(--navy); margin-bottom: 10px; padding: 0; }
legend small, .f small { font: 400 12px var(--sans); color: var(--ink-2); margin-left: 6px; }
.req { color: var(--gold); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; font: 500 14px/1 var(--sans); color: var(--ink); cursor: pointer; transition: background .25s, border-color .25s, color .25s; }
.chips label:hover { border-color: var(--navy); }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips label:has(input:checked) { background: var(--navy); border-color: var(--navy); color: #fbf8f2; }
.chips label:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.chips.sm label { min-height: 36px; font-size: 13.5px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.f { display: grid; gap: 7px; min-width: 0; }
.f > span { font: 600 13px/1.3 var(--sans); color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.f input, .f select { width: 100%; min-height: 46px; padding: 0 13px; border: 1px solid var(--line-2); border-radius: 4px; background: #fff; font: 400 15.5px var(--sans); color: var(--ink); transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none; }
.f select { background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 32px; }
.f input:focus, .f select:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(216,188,124,.45); outline: none; }
.f input[aria-invalid="true"], .f select[aria-invalid="true"] { border-color: #a1452f; }
.err { font: 500 12.5px/1.3 var(--sans); color: #a1452f; font-style: normal; min-height: 0; }
.err:empty { display: none; }
.aud.invalid .chips label { border-color: rgba(161,69,47,.6); }
/* display: grid above would otherwise override the hidden attribute and show the thank-you before any submit */
.form[hidden], .thanks[hidden] { display: none; }
.thanks h3 { font-size: 40px; }
.thanks p:not(.num) { color: var(--ink-2); }
.thanks .btn { justify-self: start; }

.foot { background: #0a2552; color: #c9cfdb; padding: 56px 0 120px; }
.foot .wrap { display: grid; grid-template-columns: 200px 1fr; gap: 40px; align-items: center; }
.foot img { width: 170px; }
.foot p { font-size: 13.5px; line-height: 1.6; max-width: 80ch; }

.mcta { display: none; }

/* reveals: only hidden once JS and GSAP are in place */
html.rv-ready .rv { opacity: 0; transform: translateY(26px); }

/* ---------- reduced motion keeps the stills, drops all movement */
html.reduced *, html.reduced *::before, html.reduced *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.reduced .chapter.hero .card { padding: 40px 0 0; }

/* ---------- tablet and phone */
@media (max-width: 1080px) {
  .nav { display: none; }
  .path-list { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats li:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .top { height: 56px; gap: 12px; }
  .by, .top-cta { display: none; }
  .wm { font-size: 23px; }
  .tag-preview { font-size: 8.5px; padding: 5px 6px; }
  .all-drafts { font-size: 11px; }
  .chapters { padding-top: 80px; gap: 56px; }
  .chapter { grid-template-columns: 1fr; gap: 22px; }
  .chapter .still { order: -1; }
  html.motion .chapter { align-items: flex-end; padding: 0 16px calc(84px + env(safe-area-inset-bottom)); }
  html.motion .chapter .card { width: 100%; padding: 20px 20px 22px; }
  html.motion .chapter.hero { align-items: flex-start; padding-top: 82px; }
  html.motion .chapter.box { --at: 0.965 !important; }
  html.motion .chapter.hero .card { width: 100%; }
  html.motion.gl-on .chapter.box .specs { position: static; width: auto; height: auto; overflow: visible; clip: auto; display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; margin-top: 12px; font-size: 9.5px; }
  html.motion.gl-on .chapter.box .specs li { padding: 6px 0; }
  .call span { display: none; }
  .call { padding: 4px 7px; }
  .call b { font-size: 9px; }
  html.motion .hud { transition: opacity .4s; }
  html.motion:not(.scrolled) .hud { opacity: 0; }
  html.motion.exploded .hud { opacity: 0; }
  h1 { font-size: clamp(36px, 10.5vw, 46px); }
  .lead { font-size: 16px; margin-top: 14px; }
  .actions { display: none; }
  .chapter h2 { font-size: 27px; }
  .chapter .card > p:not(.num):not(.kicker):not(.lead):not(.actions) { margin-top: 10px; font-size: 15px; }
  .hud { top: 64px; bottom: auto; left: 16px; gap: 6px 12px; font-size: 8.5px; flex-wrap: wrap; max-width: calc(100vw - 196px); }
  .hud .passive { display: none; }
  .radar-wrap { top: 62px; right: 12px; bottom: auto; width: 140px; padding: 6px; }
  .radar-wrap canvas { width: 128px; height: 76px; }
  .radar-wrap figcaption { display: none; }
  .rail { display: none; }
  .scroll-cue { bottom: 100px; }
  .tag { font-size: 8.5px; padding: 4px 6px 5px; }
  .tag b { font-size: 9px; }
  .call { max-width: 160px; padding: 6px 8px; }
  .call span { font-size: 11.5px; }
  .proof-grid, .ontheway, .req-grid { grid-template-columns: 1fr; }
  .proof-grid { margin-top: 36px; }
  .stats { grid-template-columns: 1fr; margin-top: 48px; }
  .stats li, .stats li + li { padding: 20px 0; border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .stats li:first-child { border-top: 0; }
  .ontheway { margin-top: 48px; gap: 28px; }
  .path-list { grid-template-columns: 1fr; }
  .path { min-height: 0; }
  .req-grid { gap: 32px; }
  .row2, .row3 { grid-template-columns: 1fr; }
  .foot .wrap { grid-template-columns: 1fr; gap: 22px; }
  .foot { padding-bottom: 130px; }
  .mcta { display: block; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .3s; }
  .mcta .btn { min-height: 52px; box-shadow: 0 14px 30px -12px rgba(11,42,94,.75); }
  html.mcta-off .mcta { transform: translateY(140%); opacity: 0; pointer-events: none; }
}

/* ---------- without WebGL: the real shape view stands in, softened so the copy keeps its contrast */
html.nogl .stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(246,242,234,.55), rgba(246,242,234,.12) 60%); pointer-events: none; }
html.motion.nogl .chapter.hero .card { width: min(560px, 44vw); padding: 34px 34px 36px; background: rgba(248, 245, 238, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.7); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -36px rgba(11,42,94,.45); border-radius: 4px; }
html.nogl .scroll-cue, html.nogl .hud { display: none; }
@media (max-width: 760px) { html.motion.nogl .chapter.hero .card { width: 100%; padding: 22px; } }
/* a soft paper wash under the header keeps the nav legible over the 3D */
html.motion .top:not(.solid)::before { content: ""; position: absolute; inset: 0 0 -28px 0; background: linear-gradient(180deg, rgba(240,236,228,.78), rgba(240,236,228,0)); pointer-events: none; z-index: -1; }

/* the glide: a single caption so the approach to the module is not silent */
html.motion .chapter.caption { align-items: flex-end; padding-bottom: 96px; }
html.motion .chapter.caption .card { width: auto; padding: 18px 24px 20px; }
html.motion .chapter.caption .num { margin-bottom: 10px; }
html.motion .chapter.caption h2 { font-size: clamp(24px, 2.2vw, 32px); }
@media (max-width: 760px) { html.motion .chapter.caption { padding-bottom: calc(84px + env(safe-area-inset-bottom)); } html.motion .chapter.caption .card { width: 100%; } }
