/* Galleion public site. Night sea, white ink, one amber running light. One family: Hanken Grotesk. */
@font-face { font-family: "Hanken Grotesk"; src: url("/assets/fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/assets/fonts/hanken-grotesk-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/assets/fonts/hanken-grotesk-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/assets/fonts/hanken-grotesk-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #05070a;
  --surface: #0c1117;
  --surface-2: #121922;
  --ink: #f1f3f6;
  --muted: #a3acba;
  --accent: #ffb347;
  --accent-ink: #120c02;
  --paper: #ece8df;
  --paper-ink: #0b1220;
  --paper-muted: #4b5466;
  --sea: #0a1a2a;
  --power: #ffb347; --batt: #7ee0ff; --fuel: #ff8a5c; --fc: #b9ff9e; --payload: #ffe08a; --motor: #ffd27a;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --m: clamp(16px, 3vw, 40px);
  --display: clamp(3rem, 1.2rem + 7.6vw, 8.5rem);
  --head: clamp(2rem, 1.2rem + 3.4vw, 4.25rem);
  --lead: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem);
  --body: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem);
  --small: 0.875rem;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif; font-size: var(--body); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; font-feature-settings: "ss01", "cv11"; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.045em; line-height: 0.95; margin: 0; text-wrap: balance; }
h1 { font-size: var(--display); }
h2 { font-size: var(--head); line-height: 1; }
h3 { font-size: var(--lead); letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--m); }
.lead { font-size: var(--lead); line-height: 1.35; color: var(--ink); max-width: 34ch; }
.note { font-size: var(--small); color: var(--muted); }
.num { font-variant-numeric: tabular-nums lining-nums; }

/* ---------- header and menu ---------- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background-color 400ms var(--ease), transform 500ms var(--ease); }
.top.solid { background: rgba(5, 7, 10, 0.92); }
.top.hide { transform: translateY(-100%); }
.top .bar { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; font-size: 1.125rem; letter-spacing: 0.24em; }
.brand svg { width: 30px; height: 30px; }
.menu { display: flex; align-items: center; gap: 4px; margin-left: 24px; }
.menu > button, .menu > a { appearance: none; border: 0; background: none; color: var(--muted); font: inherit; font-size: 0.97rem; padding: 8px 14px; border-radius: 999px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: color 200ms, background-color 200ms; }
.menu > button:hover, .menu > a:hover, .menu > button[aria-expanded="true"] { color: var(--ink); background: rgba(255, 255, 255, 0.07); }
.menu > a[aria-current="page"] { color: var(--ink); }
.menu .chev { width: 12px; height: 12px; transition: transform 300ms var(--ease); }
.menu button[aria-expanded="true"] .chev { transform: rotate(180deg); }
.top .act { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; background: var(--accent); color: var(--accent-ink); border: 0; cursor: pointer; transition: transform 300ms var(--ease), background-color 200ms; }
.btn:hover { transform: translateY(-2px); background: #ffc56e; }
.btn:active { transform: translateY(0) scale(0.97); }
.btn.ghost { background: rgba(255, 255, 255, 0.08); color: var(--ink); }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.14); }
.btn.sm { min-height: 40px; padding: 0 18px; font-size: 0.95rem; }
.btn svg { width: 16px; height: 16px; transition: transform 300ms var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.mega { position: absolute; left: 0; right: 0; top: 100%; padding: 6px var(--m) 0; display: none; }
.mega.open { display: block; }
.mega .panel { max-width: 1240px; margin: 0 auto; display: flex; background: #141a22; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.9); animation: mega-in 380ms var(--ease) both; }
@keyframes mega-in { from { opacity: 0; transform: translateY(-8px) scale(0.985); } to { opacity: 1; transform: none; } }
.mega .cols { flex: 1; display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); }
.mega .col { padding: 22px 14px 18px; }
.mega .col + .col { background: rgba(255, 255, 255, 0.015); }
.mega .gt { padding: 0 12px 10px; color: var(--muted); font-size: 0.875rem; font-weight: 600; }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega li { animation: mega-item 420ms var(--ease) both; }
@keyframes mega-item { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.mega li a { display: flex; gap: 14px; padding: 11px 12px; border-radius: 14px; text-decoration: none; transition: background-color 200ms; }
.mega li a:hover, .mega li a:focus-visible { background: rgba(255, 255, 255, 0.06); }
.mega .ic { flex: 0 0 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.05); color: var(--muted); transition: color 200ms, background-color 200ms; }
.mega li a:hover .ic { color: var(--accent); background: rgba(255, 179, 71, 0.14); }
.mega .ic svg { width: 18px; height: 18px; }
.mega .t { display: block; font-weight: 500; font-size: 1rem; line-height: 1.3; }
.mega .s { display: block; color: var(--muted); font-size: 0.875rem; line-height: 1.35; margin-top: 2px; }
.mega .tile { flex: 0 0 300px; margin: 14px; border-radius: 16px; background: var(--bg); text-decoration: none; display: flex; flex-direction: column; overflow: hidden; transition: transform 400ms var(--ease); }
.mega .tile:hover { transform: translateY(-3px); }
.mega .tile svg { width: 100%; height: 170px; }
.mega .tile .tt { padding: 16px 18px 4px; font-weight: 600; font-size: 1.0625rem; }
.mega .tile .ts { padding: 0 18px 18px; color: var(--muted); font-size: 0.9rem; }
.burger { display: none; appearance: none; border: 0; background: rgba(255, 255, 255, 0.08); color: var(--ink); width: 44px; height: 44px; border-radius: 999px; cursor: pointer; }
.burger svg { width: 20px; height: 20px; margin: auto; }
.phone-menu { display: none; }

/* ---------- opening: the mark draws, the name spreads, the curtain lifts ---------- */
.curtain { position: fixed; inset: 0; z-index: 120; pointer-events: none; }
.curtain .half { position: absolute; left: 0; right: 0; height: 50.5%; background: #020304; transition: transform 1000ms var(--ease); }
.curtain .half.a { top: 0; } .curtain .half.b { bottom: 0; }
.curtain.lift .half.a { transform: translateY(-100%); } .curtain.lift .half.b { transform: translateY(100%); }
.curtain .stage { position: absolute; inset: 0; display: grid; place-items: center; gap: 16px; align-content: center; transition: opacity 350ms ease, transform 900ms var(--ease); }
.curtain.lift .stage { opacity: 0; transform: scale(1.06); }
.curtain .mark path { stroke-dasharray: 200; stroke-dashoffset: 200; animation: draw 1100ms var(--ease) 120ms forwards; }
.curtain .word { font-size: 1.25rem; font-weight: 600; letter-spacing: 0.9em; opacity: 0; animation: spread 1000ms var(--ease) 700ms forwards; padding-left: 0.3em; }
.curtain .sweep { position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; animation: sweep 700ms var(--ease) 1300ms forwards; }
.curtain.lift .sweep { opacity: 0; transition: opacity 200ms; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes spread { to { opacity: 1; letter-spacing: 0.36em; } }
@keyframes sweep { to { transform: scaleX(1); } }

/* ---------- headline lines rise from behind their baseline ---------- */
.rise { display: block; overflow: hidden; padding-bottom: 0.06em; }
.rise > span { display: block; }
.js .rise > span { transform: translateY(105%); }
.js .ready .rise > span { animation: rise 1100ms var(--ease) forwards; }
.js .ready .rise:nth-child(2) > span { animation-delay: 110ms; }
.js .ready .rise:nth-child(3) > span { animation-delay: 220ms; }
@keyframes rise { to { transform: none; } }
.js .after { opacity: 0; }
.js .ready .after { animation: up 900ms var(--ease) 420ms forwards; }
.js .ready .after.d2 { animation-delay: 560ms; }
@keyframes up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- parts of sections arrive once, one after another ---------- */
.js [data-enter] > * { opacity: 0; transform: translateY(24px); transition: opacity 900ms var(--ease), transform 900ms var(--ease); }
.js [data-enter].in > * { opacity: 1; transform: none; }
.js [data-enter].in > *:nth-child(2) { transition-delay: 80ms; }
.js [data-enter].in > *:nth-child(3) { transition-delay: 160ms; }
.js [data-enter].in > *:nth-child(4) { transition-delay: 240ms; }
.js [data-enter].in > *:nth-child(5) { transition-delay: 320ms; }
.js [data-enter].in > *:nth-child(n+6) { transition-delay: 400ms; }

/* ---------- hero: a long scene that stays in view while the aircraft takes off and transitions ---------- */
.scene { position: relative; height: 420svh; }
.scene .stick { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; }
.scene .art { position: absolute; inset: 0; }
.scene .art::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(5,7,10,0.92) 0%, rgba(5,7,10,0.35) 32%, rgba(5,7,10,0) 55%), linear-gradient(to bottom, rgba(5,7,10,0.6), rgba(5,7,10,0) 22%); }
.scene .copy { position: relative; align-self: end; padding-bottom: 7svh; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 40px; align-items: end; }
.scene h1 { max-width: 11ch; }
.scene .side { display: grid; gap: 22px; justify-items: start; }
.scene .phase { display: flex; gap: 8px; }
.scene .phase span { height: 4px; width: 34px; border-radius: 4px; background: rgba(255, 255, 255, 0.18); transition: background-color 400ms, width 400ms var(--ease); }
.scene .phase span.on { background: var(--accent); width: 56px; }
.scene .caption { min-height: 4.8em; }
.scene .caption b { display: block; font-size: var(--lead); font-weight: 600; letter-spacing: -0.02em; }
.scene .caption span { color: var(--muted); }
/* the hero instrument panel: a tilt dial, the ten propellers seen from above, a power bar */
.scene .readout { position: absolute; right: var(--m); top: 96px; z-index: 3; display: grid; grid-template-columns: repeat(3, auto); padding: 4px; border-radius: 18px;
  background: linear-gradient(180deg, rgba(14, 19, 27, 0.72), rgba(8, 11, 16, 0.72)); border: 1px solid rgba(255, 179, 71, 0.2);
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.05); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--muted); font-size: 0.8125rem; }
.ro-cell { display: grid; grid-template-rows: auto 52px auto; justify-items: center; align-items: center; gap: 6px; padding: 12px 18px 10px; min-width: 132px; }
.ro-cell + .ro-cell { border-left: 1px solid rgba(255, 255, 255, 0.07); }
.ro-k { font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: #8d97a6; }
.ro-cell b { color: var(--ink); font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ro-tilt { grid-template-rows: auto 52px auto auto; }
.dial { width: 104px; height: 60px; overflow: visible; }
.dial .track { fill: none; stroke: rgba(255, 255, 255, 0.12); stroke-width: 3; stroke-linecap: round; }
.dial .ticks path { stroke: rgba(255, 179, 71, 0.45); stroke-width: 1.4; }
.dial .needle { transform-origin: 60px 62px; transform: rotate(calc(var(--tilt) * -1deg)); transition: transform 120ms linear; }
.dial .needle path { stroke: var(--accent); stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 4px rgba(255, 179, 71, 0.8)); }
.dial .needle circle { fill: var(--accent); }
.ro-s { display: flex; justify-content: space-between; width: 104px; margin-top: -4px; font-size: 0.625rem; color: #6f7886; }
.ro-s i { font-style: normal; }
.pips { display: grid; grid-template-columns: repeat(4, 10px) 10px repeat(4, 10px); grid-template-rows: 10px 10px; gap: 8px 5px; align-content: center; }
.pips i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.22); transition: background-color 300ms, border-color 300ms, box-shadow 300ms; }
.pips i.on { border-color: var(--accent); background: radial-gradient(circle, #ffe0a8 0 30%, var(--accent) 31% 100%); box-shadow: 0 0 10px rgba(255, 179, 71, 0.75); animation: pip 0.9s linear infinite; }
@keyframes pip { 50% { box-shadow: 0 0 4px rgba(255, 179, 71, 0.4); } }
.pips em { grid-row: 1; }
.pips .tailrow { grid-column: 1 / -1; grid-row: 2; display: flex; justify-content: center; gap: 22px; }
.ro-bar { position: relative; width: 112px; height: 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.09); align-self: center; }
.ro-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--power) * 100%); border-radius: 8px; background: linear-gradient(90deg, #c98a2e, var(--accent) 70%, #ffe0a8); box-shadow: 0 0 12px rgba(255, 179, 71, 0.6); transition: width 700ms var(--ease); }
.ro-bar .scale { position: absolute; left: 0; right: 0; top: 14px; display: flex; justify-content: space-between; font-size: 0.625rem; color: #6f7886; }
.ro-bar .scale em { font-style: normal; }
.scene .readout .note { grid-column: 1 / -1; text-align: center; font-size: 0.6875rem; color: #6f7886; padding: 6px 0 4px; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.callout { position: absolute; z-index: 3; color: var(--accent); transform: translate(-50%, -100%); padding: 6px 12px; border-radius: 999px; background: rgba(5, 7, 10, 0.82); border: 1px solid rgba(255, 179, 71, 0.35); font-size: 0.875rem; white-space: nowrap; opacity: 0; transition: opacity 500ms var(--ease), transform 500ms var(--ease); pointer-events: none; }
.callout.on { opacity: 1; transform: translate(-50%, calc(-100% - 10px)); }
.callout { color: var(--ink); } .callout i { display: inline-block; color: var(--accent); width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; background: currentColor; vertical-align: 1px; }

/* ---------- sections ---------- */
section.sec { padding: clamp(96px, 14vw, 200px) 0; position: relative; }
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.mt-l { margin-top: clamp(32px, 4vw, 56px); }
.mt-m { margin-top: 24px; }

/* vehicles: one big plate, tabs, words beside */
.plate { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(24px, 4vw, 64px); align-items: stretch; }
.plate .stage { background: var(--surface); border-radius: 24px; aspect-ratio: 4 / 3; position: relative; overflow: hidden; }
.plate .stage svg { position: absolute; inset: 4%; width: 92%; height: 92%; }
.plate .words { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: 8px 0; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tabs button { appearance: none; border: 0; background: rgba(255, 255, 255, 0.06); color: var(--muted); font: inherit; font-size: 1rem; font-weight: 500; padding: 10px 18px; border-radius: 999px; cursor: pointer; transition: background-color 250ms, color 250ms; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.tabs button:hover { color: var(--ink); }
.vpanel[hidden] { display: none; }
.vpanel h3 { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); letter-spacing: -0.035em; line-height: 1.05; }
.vpanel p { margin-top: 18px; max-width: 40ch; }
.facts { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.facts li { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: baseline; }
.facts b { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.facts span { color: var(--muted); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.duo a { display: flex; align-items: center; justify-content: space-between; min-height: 64px; padding: 0 22px; border-radius: 16px; text-decoration: none; font-weight: 600; background: var(--surface-2); transition: background-color 250ms, transform 300ms var(--ease); }
.duo a:first-child { background: var(--ink); color: var(--bg); }
.duo a:hover { transform: translateY(-2px); }

/* the run, printed as a flight strip */
.paperband { background: var(--paper); color: var(--paper-ink); }
.paperband .note { color: var(--paper-muted); }
.strip { background: #fbfaf6; color: var(--paper-ink); border-radius: 18px 18px 0 0; padding: 32px 32px 56px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), 96% 100%, 92% calc(100% - 14px), 88% 100%, 84% calc(100% - 14px), 80% 100%, 76% calc(100% - 14px), 72% 100%, 68% calc(100% - 14px), 64% 100%, 60% calc(100% - 14px), 56% 100%, 52% calc(100% - 14px), 48% 100%, 44% calc(100% - 14px), 40% 100%, 36% calc(100% - 14px), 32% 100%, 28% calc(100% - 14px), 24% 100%, 20% calc(100% - 14px), 16% 100%, 12% calc(100% - 14px), 8% 100%, 4% calc(100% - 14px), 0 100%); font-variant-numeric: tabular-nums; }
.strip h3 { font-size: 1.125rem; letter-spacing: -0.01em; margin-top: 26px; }
.strip h3:first-child { margin-top: 0; }
.strip .row { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: baseline; margin-top: 10px; }
.strip .row i { height: 4px; background-image: radial-gradient(circle, #9aa1ad 1.6px, transparent 2px); background-size: 9px 4px; background-repeat: repeat-x; align-self: center; }
.strip .row span:last-child { font-weight: 600; }
.strip .end { margin: 28px -32px 0; background: var(--paper-ink); color: var(--paper); padding: 12px 32px; display: flex; justify-content: space-between; font-weight: 600; }

/* stacking sheets */
.sheets { position: relative; }
.sheet { position: sticky; min-height: 82svh; border-radius: 28px 28px 0 0; padding: 22px var(--m) 48px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr; align-content: start; gap: 24px; }
.sheet:nth-child(1) { top: 72px; background: #0e151f; }
.sheet:nth-child(2) { top: 132px; background: #142132; }
.sheet:nth-child(3) { top: 192px; background: #ece8df; color: var(--paper-ink); }
.sheet:nth-child(4) { top: 252px; background: #1b2a1f; }
.sheet:nth-child(5) { top: 312px; background: #2a1d10; }
.sheet:nth-child(6) { top: 372px; background: #101114; }
.sheet .name { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.sheet .name h3 { font-size: clamp(1.5rem, 1rem + 1.6vw, 2.5rem); letter-spacing: -0.035em; }
.sheet .name span { font-size: 1rem; opacity: 0.75; }
.sheet ul { grid-column: 1 / 7; list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 22px; align-content: start; }
.sheet li b { display: block; font-weight: 600; font-size: 1.375rem; letter-spacing: -0.02em; line-height: 1.2; }
.sheet li span { display: block; opacity: 0.78; font-size: 1rem; }
.sheet figure { grid-column: 8 / -1; margin: 18px 0 0; border-radius: 18px; overflow: hidden; min-height: 54svh; position: relative; background: rgba(0, 0, 0, 0.25); }
.sheet figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sheet figure svg { position: absolute; inset: 6%; width: 88%; height: 88%; }
.sheet figcaption { position: absolute; left: 14px; bottom: 12px; font-size: 0.875rem; background: rgba(5, 7, 10, 0.72); color: var(--ink); padding: 4px 10px; border-radius: 999px; }

/* ledger of figures aligned on the decimal */
.ledger { display: grid; gap: 22px; }
.ledger .r { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 2fr) minmax(0, 5fr); gap: 0 14px; align-items: baseline; }
.ledger .w { font-size: clamp(3.5rem, 2rem + 5.4vw, 7rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; text-align: right; font-variant-numeric: tabular-nums lining-nums; }
.ledger .d { font-size: clamp(3.5rem, 2rem + 5.4vw, 7rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums lining-nums; color: var(--muted); }
.ledger .c { color: var(--muted); max-width: 30ch; }
.ledger .c b { color: var(--ink); font-weight: 500; }

/* the commitments card, cut by the section edge */
.cardcut { overflow: hidden; padding-bottom: 0; }
.card { width: min(56vw, 760px); margin: 0 auto; background: var(--paper); color: var(--paper-ink); transform: rotate(-1.4deg); padding: 56px 56px 96px; min-height: 620px; border-radius: 4px; }
.card h2 { font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.5rem); text-align: center; }
.card ol { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 20px; }
.card li b { display: block; font-size: 1.25rem; letter-spacing: -0.015em; }
.card li span { color: var(--paper-muted); }

/* photographs, then a field */
.three { display: grid; grid-template-columns: repeat(3, 1fr); }
.three img { width: 100%; height: 42svh; object-fit: cover; transition: transform 1600ms var(--ease); }
.three div { overflow: hidden; }
.three div:hover img { transform: scale(1.05); }
.field { background: var(--accent); color: var(--accent-ink); padding: clamp(48px, 7vw, 96px) 0; }
.field p.big { font-size: clamp(1.625rem, 1.2rem + 1.2vw, 2.25rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; max-width: 26ch; }
.field a.u { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 6px; }
.field a.u:hover { text-decoration-thickness: 6px; }
.field .note { color: rgba(18, 12, 2, 0.78); margin-top: 28px; }

/* interface plates (real screenshots of the console) */
.ui { border-radius: 18px; overflow: hidden; background: var(--surface); }
.ui img { width: 100%; height: auto; }
.uirow { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: end; }

/* platform page: flow of chapters */
.chapter { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: center; }
.chapter + .chapter { margin-top: clamp(80px, 10vw, 160px); }
.chapter .t { grid-column: 1 / 6; }
.chapter .v { grid-column: 7 / -1; }
.chapter.flip .t { grid-column: 8 / -1; grid-row: 1; }
.chapter.flip .v { grid-column: 1 / 7; grid-row: 1; }
.chapter ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.chapter li { padding-left: 22px; position: relative; }
.chapter li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.chapter p { margin-top: 18px; max-width: 42ch; }
.photo { border-radius: 18px; overflow: hidden; position: relative; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.tall { aspect-ratio: 4 / 5; }
.photo.wide { aspect-ratio: 16 / 9; }
.drift img { animation: drift 24s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.12) translate(-2%, -1%); } }

/* page heads for inner pages */
.pagehead { padding: 168px 0 72px; position: relative; overflow: hidden; }
.pagehead .art { height: min(62svh, 620px); margin-top: 40px; position: relative; }
.pagehead .grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 40px; align-items: end; }

/* technology layers, every item shown */
.layers { display: grid; gap: clamp(64px, 8vw, 120px); }
.layer { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.layer .lh { grid-column: 1 / 5; position: sticky; top: 104px; align-self: start; }
.layer .lh p { margin-top: 16px; color: var(--muted); max-width: 30ch; }
.layer .items { grid-column: 6 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.item { background: var(--surface); border-radius: 18px; padding: 24px 24px 28px; transition: background-color 300ms, transform 400ms var(--ease); }
.item:hover { background: var(--surface-2); transform: translateY(-3px); }
.item b { display: block; font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.item span { display: block; margin-top: 10px; color: var(--muted); font-size: 1rem; }
.item em { font-style: normal; color: var(--accent); font-size: 0.875rem; display: block; margin-top: 12px; }
.item.wide { grid-column: 1 / -1; }

/* status timeline */
.steps { display: grid; gap: 8px; }
.stepx { display: grid; grid-template-columns: 180px 1fr auto; gap: 24px; align-items: baseline; padding: 22px 26px; border-radius: 16px; background: var(--surface); }
.stepx.now { background: var(--accent); color: var(--accent-ink); }
.stepx b { font-size: 1.25rem; letter-spacing: -0.015em; }
.stepx .st { font-weight: 600; }

/* live: tilt the wing yourself */
.live { background: var(--surface); border-radius: 24px; padding: clamp(20px, 3vw, 36px); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 32px; align-items: center; }
.live .art { aspect-ratio: 16 / 10; position: relative; }
.live .art svg { position: absolute; inset: 0; }
.live label { font-weight: 600; font-size: 1.125rem; display: block; }
.live input[type="range"] { width: 100%; margin: 18px 0 6px; accent-color: var(--accent); height: 36px; }
.live .scale { display: flex; justify-content: space-between; color: var(--muted); font-size: 0.875rem; }
.live dl { margin: 24px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; }
.live dt { color: var(--muted); }
.live dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }

/* footer: the back of the object */
footer.foot { background: var(--paper); color: var(--paper-ink); padding: 80px 0 28px; }
footer .fcols { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 28px; }
footer .fcols p { color: var(--paper-muted); max-width: 32ch; }
footer h4 { margin: 0 0 12px; font-size: 1rem; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer ul a { text-decoration: none; color: var(--paper-muted); }
footer ul a:hover { color: var(--paper-ink); }
footer .giant { font-size: clamp(4rem, 1rem + 15.5vw, 16rem); font-weight: 600; letter-spacing: -0.06em; line-height: 0.82; margin-top: 64px; }
footer .legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 28px; font-size: 0.875rem; color: var(--paper-muted); }
footer .credits { font-size: 0.8125rem; color: var(--paper-muted); margin-top: 18px; max-width: 120ch; }
footer .credits a { color: var(--paper-muted); }

/* ---------- phone ---------- */
@media (max-width: 960px) {
  .menu, .top .act .signin-text { display: none; }
  .burger { display: grid; }
  .phone-menu.open { display: block; position: fixed; inset: 72px 0 0 0; background: var(--bg); overflow-y: auto; padding: 16px var(--m) 40px; z-index: 49; animation: up 400ms var(--ease) both; }
  .phone-menu details { background: var(--surface); border-radius: 16px; margin-bottom: 8px; }
  .phone-menu summary { list-style: none; cursor: pointer; padding: 16px 18px; font-size: 1.25rem; font-weight: 600; display: flex; justify-content: space-between; }
  .phone-menu summary::-webkit-details-marker { display: none; }
  .phone-menu details ul { list-style: none; margin: 0; padding: 0 18px 14px; display: grid; gap: 4px; }
  .phone-menu details a { display: block; padding: 10px 0; text-decoration: none; }
  .phone-menu details a span { display: block; color: var(--muted); font-size: 0.9rem; }
  .phone-menu > a { display: block; padding: 16px 18px; font-size: 1.25rem; font-weight: 600; text-decoration: none; background: var(--surface); border-radius: 16px; margin-bottom: 8px; }
  .scene { height: 360svh; }
  .scene .art { top: 19svh; bottom: 48svh; }
  .scene .copy { grid-template-columns: 1fr; gap: 18px; padding-bottom: 5svh; }
  .scene .readout { left: 12px; right: 12px; top: 72px; grid-template-columns: repeat(3, 1fr); font-size: 0.75rem; border-radius: 14px; }
  .ro-cell { min-width: 0; padding: 8px 6px 6px; grid-template-rows: auto 40px auto; gap: 4px; }
  .ro-tilt { grid-template-rows: auto 40px auto; }
  .ro-s { display: none; }
  .dial { width: 78px; height: 46px; }
  .pips { grid-template-columns: repeat(4, 7px) 6px repeat(4, 7px); grid-template-rows: 7px 7px; gap: 6px 3px; }
  .pips i { width: 7px; height: 7px; border-width: 1.2px; }
  .pips .tailrow { gap: 14px; }
  .ro-bar { width: 80px; }
  .ro-bar .scale { display: none; }
  .ro-cell b { font-size: 0.9375rem; }
  .scene .readout .note { display: none; }
  .ro-cell { grid-template-rows: auto 30px auto !important; padding: 6px 4px 6px; }
  .dial { width: 60px; height: 34px; }
  .plate, .uirow, .live, .pagehead .grid { grid-template-columns: 1fr; }
  .split > * { grid-column: 1 / -1 !important; }
  .sheet { grid-template-columns: 1fr; top: 64px !important; min-height: 70svh; }
  .sheet:nth-child(2) { top: 100px !important; } .sheet:nth-child(3) { top: 136px !important; } .sheet:nth-child(4) { top: 172px !important; } .sheet:nth-child(5) { top: 208px !important; } .sheet:nth-child(6) { top: 244px !important; }
  .sheet .name h3 { font-size: 1.375rem; }
  .sheet ul, .sheet figure { grid-column: 1 / -1; }
  .sheet figure { order: -1; min-height: 220px; }
  .ledger .r { grid-template-columns: 52% 12% 1fr; }
  .ledger .c { grid-column: 1 / -1; font-size: 0.95rem; }
  .ledger .w, .ledger .d { font-size: 15vw; }
  .card { width: 92vw; padding: 36px 26px 80px; transform: rotate(-1deg); }
  .three { grid-template-columns: 1fr 1fr; }
  .three div:first-child { grid-column: 1 / -1; }
  .three img { height: 30svh; }
  .chapter .t, .chapter .v, .chapter.flip .t, .chapter.flip .v { grid-column: 1 / -1; grid-row: auto; }
  .layer .lh, .layer .items { grid-column: 1 / -1; position: static; }
  .layer .items { grid-template-columns: 1fr; }
  .stepx { grid-template-columns: 1fr; gap: 6px; }
  footer .fcols { grid-template-columns: 1fr 1fr; }
  footer .fcols > div:first-child { grid-column: 1 / -1; }
  .duo { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  .js .rise > span, .js .after, .js [data-enter] > * { transform: none !important; opacity: 1 !important; }
  .curtain { display: none; }
}

/* =================================================================================================
   Second pass: every picture moves. Glowing 3D vehicles, animated drawings and video loops.
   ================================================================================================= */

/* 3D vehicle scenes: a poster first, the live scene fades in over it */
.v3d { position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--bg); }
.v3d .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 900ms var(--ease); }
.v3d .v3d-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; animation: fadein 900ms var(--ease) 80ms forwards; }
.v3d.live3d .poster { opacity: 0; }
@keyframes fadein { to { opacity: 1; } }

/* animated drawings and video loops share one frame style */
canvas.glyph { display: block; width: 100%; height: 100%; }
.frame { position: relative; margin: 0; border-radius: 22px; overflow: hidden; background: #070a0e; box-shadow: inset 0 0 0 1px rgba(255, 179, 71, 0.12); aspect-ratio: 16 / 10; }
.frame > canvas, .frame > video, .frame > .v3d { position: absolute; inset: 0; width: 100%; height: 100%; }
.frame > video { object-fit: cover; }
.frame figcaption { position: absolute; left: 14px; bottom: 12px; z-index: 2; font-size: 0.8125rem; color: var(--ink); background: rgba(5, 7, 10, 0.78); padding: 5px 12px; border-radius: 999px; max-width: calc(100% - 28px); }
.frame figcaption a { color: var(--accent); }
.frame.wide { aspect-ratio: 21 / 9; }
.frame.lg { aspect-ratio: 4 / 3; margin-top: 28px; }
video.loop { display: block; background: #070a0e; }
.pagehead .art > video, .pagehead .art > canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 22px; }
.pagehead .art > .frame { height: 100%; aspect-ratio: auto; }
.pagehead .art { height: min(64svh, 640px); }
.pagehead .art .v3d { border-radius: 22px; }

/* hero */
.scene .copy { z-index: 2; }
.scene .btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* vehicles plate */
.plate .stage { background: var(--bg); box-shadow: inset 0 0 0 1px rgba(255, 179, 71, 0.12); }
.plate .stage .v3d { position: absolute; inset: 0; }
.kicker { color: var(--accent); font-size: 0.875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px !important; }

/* tilt the wing */
.live .art { border-radius: 18px; overflow: hidden; }
.live .art .v3d { position: absolute; inset: 0; }

/* from the box to the station */
.crewband { background: var(--surface); }
.crew { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); gap: 28px; align-items: stretch; }
.crew .frame.big { aspect-ratio: auto; min-height: 520px; }
.crew .strip { border-radius: 18px 18px 0 0; }
.strip .row { transition: color 400ms, transform 500ms var(--ease); border-radius: 6px; }
.strip .row.on { color: #a85a00; transform: translateX(6px); }
.strip .row.on span:first-child::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: 1px; box-shadow: 0 0 10px var(--accent); }

/* fleet in 3D */
.uirow .frame { aspect-ratio: 16 / 9; }
.uirow { align-items: start; }

/* thirty capabilities: dark sheets, every capability listed, a moving drawing for each layer */
.sheet { background: #0b1017 !important; color: var(--ink) !important; box-shadow: 0 -1px 0 rgba(255, 179, 71, 0.25), 0 -30px 60px -20px rgba(0, 0, 0, 0.8); }
.sheet:nth-child(2n) { background: #0e1520 !important; }
.sheet ul.two { grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.sheet ul.two li b { font-size: 1.125rem; }
.sheet li b { font-size: 1.25rem; }
.sheet li span { color: var(--muted); opacity: 1; }
.sheet figure { background: #06090d; box-shadow: inset 0 0 0 1px rgba(255, 179, 71, 0.14); }
.sheet figure canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.sheet figcaption a { text-decoration: none; color: var(--accent); display: inline-flex; gap: 6px; align-items: center; }
.sheet figcaption svg { width: 14px; height: 14px; }

/* numbers: a drawing that builds and figures that count */
.numhead { grid-column: 1 / 7; }
.numcol { grid-column: 8 / -1; align-self: center; }
.ledger .r { grid-template-columns: minmax(0, 5fr) minmax(0, 2fr) minmax(0, 5fr); }
.bp { border-radius: 22px; background: #070a0e; box-shadow: inset 0 0 0 1px rgba(255, 179, 71, 0.12); padding: 10px; }
.blueprint { width: 100%; height: auto; }
.blueprint path { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.blueprint .grid path { stroke: rgba(169, 220, 255, 0.07); stroke-width: 1; }
.blueprint .art path { stroke: #ffb347; stroke-width: 1.4; filter: drop-shadow(0 0 3px rgba(255, 179, 71, 0.6)); }
.blueprint .art [class^="sys-"] { stroke: #ffd58a; }
.blueprint .art .sys-harness { stroke: #a9dcff; }
.blueprint .dim path { stroke: #a9dcff; stroke-width: 1.2; }
.blueprint text { fill: #a9dcff; font-size: 22px; text-anchor: middle; opacity: 0; transition: opacity 800ms 2200ms; }
.blueprint.drawn path { transition: stroke-dashoffset 1800ms var(--ease); stroke-dashoffset: 0; }
.blueprint.drawn .art path { transition-delay: calc(var(--i, 0) * 120ms + 300ms); transition-duration: 2200ms; }
.blueprint.drawn .dim path { transition-delay: 2000ms; }
.blueprint.drawn text { opacity: 1; }
.blueprint.drawn .art .sys-harness { stroke-dasharray: 0.02 0.03; animation: bpflow 3s linear 3s infinite; }
@keyframes bpflow { to { stroke-dashoffset: -1; } }
.no-js .blueprint path, html:not(.js) .blueprint path { stroke-dashoffset: 0; }
html:not(.js) .blueprint text { opacity: 1; }

/* nothing moves without a yes */
.yesband { background: var(--surface); }
.yes { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 32px; align-items: center; }
.yes .frame { aspect-ratio: 16 / 9; }
.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: r; }
.rules li { position: relative; padding-left: 46px; counter-increment: r; }
.rules li::before { content: counter(r); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 0.875rem; font-weight: 600; color: var(--accent); box-shadow: inset 0 0 0 1px rgba(255, 179, 71, 0.5); }
.rules b { display: block; font-size: 1.1875rem; letter-spacing: -0.015em; }
.rules span { color: var(--muted); }

/* watch the fleet run: three loops */
.three { gap: 0; }
.three figure { margin: 0; position: relative; height: 46svh; overflow: hidden; }
.three video, .three canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.three figcaption { position: absolute; left: 14px; bottom: 12px; font-size: 0.8125rem; background: rgba(5, 7, 10, 0.78); padding: 5px 12px; border-radius: 999px; }

/* chapters with moving pictures */
.chapters > .chapter + .chapter, .chapters > .chapter + .peace, .chapters > .peace + .chapter { margin-top: clamp(80px, 10vw, 150px); }
.chapter .v .frame { aspect-ratio: 16 / 10; }
.chapter .lead { max-width: 36ch; }
.peace { text-align: center; display: grid; justify-items: center; }
.insidev { aspect-ratio: 16 / 11; }

/* platform cards */
.pcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pcard { text-decoration: none; display: grid; gap: 10px; transition: transform 400ms var(--ease); }
.pcard:hover { transform: translateY(-4px); }
.pcard .frame { aspect-ratio: 4 / 3; }
.pcard .tt { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; }
.pcard .tt svg { width: 18px; height: 18px; color: var(--accent); }
.pcard .ts { color: var(--muted); }

/* technology: every capability moves */
.layer .lh .frame.lg { display: block; }
.item { display: flex; flex-direction: column; padding: 14px 14px 22px; }
.item canvas.glyph { aspect-ratio: 16 / 10; height: auto; border-radius: 12px; background: #06090d; box-shadow: inset 0 0 0 1px rgba(255, 179, 71, 0.1); margin-bottom: 16px; }
.item b, .item span, .item em { padding: 0 10px; }

/* status */
.stepx .when { color: var(--muted); font-weight: 600; }
.stepx.now .when { color: var(--accent-ink); }
.stepx p { margin-top: 6px; }
.stepx.now { position: relative; overflow: hidden; }
.stepx.now::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%); transform: translateX(-100%); animation: sheen 3.6s var(--ease) infinite; }
@keyframes sheen { 60%, 100% { transform: translateX(100%); } }
.steps .stepx:not(.now) { box-shadow: inset 0 0 0 1px rgba(255, 179, 71, 0.08); }

/* credits */
.credits h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); }
.credits ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.credits li { background: var(--surface); border-radius: 16px; padding: 18px 22px; }
.credits li b { display: block; font-size: 1.0625rem; }
.credits li span { color: var(--muted); font-size: 0.95rem; }
.credits a { color: var(--accent); }

/* menu tiles: a drawing instead of a picture */
.mega .tile canvas.glyph { width: 100%; height: 170px; background: #06090d; }

/* footer: dark, with the name across the full width over a moving sea */
footer.foot { background: #030405; color: var(--ink); padding: 88px 0 28px; border-top: 1px solid rgba(255, 179, 71, 0.14); }
footer .fcols p { color: var(--muted); }
footer ul a { color: var(--muted); }
footer ul a:hover { color: var(--ink); }
footer .giant { position: relative; margin: 72px 0 0; height: clamp(150px, 22vw, 340px); font-size: inherit; letter-spacing: 0; line-height: 1; }
footer .giant canvas.seaglyph { position: absolute; inset: 0; width: 100%; height: 100%; }
footer .giant svg { position: absolute; left: 1vw; right: 1vw; bottom: 0; width: 98vw; height: 100%; }
footer .giant text { font-family: "Hanken Grotesk", system-ui, sans-serif; font-weight: 700; font-size: 230px; letter-spacing: -0.04em; fill: url(#gshine); stroke: rgba(255, 179, 71, 0.55); stroke-width: 1; }
footer .legal { color: var(--muted); }
footer .legal a { color: var(--accent); }

@media (max-width: 960px) {
  .crew, .yes { grid-template-columns: 1fr; }
  .crew .frame.big { min-height: 0; aspect-ratio: 3 / 2; }
  .numhead, .numcol { grid-column: 1 / -1; }
  .sheet ul.two { grid-template-columns: 1fr; }
  .pcards { grid-template-columns: 1fr; }
  .three { grid-template-columns: 1fr; }
  .three figure { height: 34svh; }
  .pagehead .art { height: 52svh; }
  .frame.wide { aspect-ratio: 4 / 3; }
  .yes .frame { aspect-ratio: 4 / 5; }
  .scene .art::after { background: linear-gradient(to top, rgba(5,7,10,0.95) 0%, rgba(5,7,10,0.6) 38%, rgba(5,7,10,0) 62%), linear-gradient(to bottom, rgba(5,7,10,0.6), rgba(5,7,10,0) 18%); }
  .chapter .v .frame { aspect-ratio: 4 / 3; }
  .peace { text-align: left; justify-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  .blueprint path { stroke-dashoffset: 0 !important; }
  .blueprint text { opacity: 1 !important; }
  .stepx.now::after { display: none; }
}
.duo a svg { width: 18px; height: 18px; flex: none; }
canvas.bgsea { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -1; pointer-events: none; }
body { background: transparent; }
html { background: var(--bg); }
.credits li, .credits li span { overflow-wrap: anywhere; }

/* ---- homepage pass 2: tilt the wing, reference aircraft, footer ---- */
/* Tilt the wing yourself: a darker stage, brighter words, a slider that reads */
.live { background: linear-gradient(180deg, #0d131b, #080b10); box-shadow: inset 0 0 0 1px rgba(255, 179, 71, 0.16); }
.live .art { background: #04060a; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.live label { font-size: 1.25rem; color: var(--ink); }
.live .scale { color: #c4ccd8; font-size: 0.9375rem; }
.live dl { gap: 14px 22px; margin-top: 28px; }
.live dt { color: #aeb8c6; font-size: 1rem; align-self: center; }
.live dd { color: #fff; font-size: 1.25rem; }
.live input[type="range"] { -webkit-appearance: none; appearance: none; height: 8px; border-radius: 8px; margin: 22px 0 10px;
  background: linear-gradient(90deg, #c98a2e, var(--accent) calc(var(--v, 50) * 1%), rgba(255, 255, 255, 0.14) calc(var(--v, 50) * 1%)); }
.live input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #ffe0a8; border: 3px solid var(--accent); box-shadow: 0 0 0 6px rgba(255, 179, 71, 0.18), 0 0 16px rgba(255, 179, 71, 0.6); cursor: grab; }
.live input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #ffe0a8; border: 3px solid var(--accent); box-shadow: 0 0 16px rgba(255, 179, 71, 0.6); cursor: grab; }
.live .note { color: #9aa4b2; }

/* Reference aircraft: every number right-aligned in one column, every label beside it, centred on the figure */
.ledger { display: grid; grid-template-columns: max-content max-content minmax(0, 1fr); column-gap: 0.18em; row-gap: 26px; align-items: center;
  font-size: clamp(3rem, 1.6rem + 4.2vw, 6rem); }
.ledger .r { display: contents; }
.ledger .w, .ledger .d { font-size: 1em; line-height: 1; }
.ledger .w { text-align: right; }
.ledger .d { min-width: 0.9em; }
.ledger .c { font-size: 1.0625rem; line-height: 1.4; max-width: 28ch; padding-left: 14px; border-left: 2px solid rgba(255, 179, 71, 0.35); color: #b4bdca; }
.ledger .c b { color: var(--ink); font-weight: 600; }
.blueprint .art path { stroke-width: 1.2; }
.blueprint .art .p-wing, .blueprint .art .p-tail { stroke: #ffc56e; }
.blueprint .art .p-pods { stroke: #e3a14a; }
.blueprint .art .p-ball { stroke: #ff8a3d; }
.blueprint .dim path { stroke: #a9dcff; stroke-width: 1.6; }
.blueprint .dim rect { fill: #04060a; stroke: rgba(169, 220, 255, 0.5); stroke-width: 1; opacity: 0; transition: opacity 800ms 2200ms; }
.blueprint.drawn .dim rect, html:not(.js) .blueprint .dim rect { opacity: 1; }
.blueprint text { font-size: 24px; font-weight: 600; fill: #e8f4ff; }

/* Footer: the wordmark stands clear of the waves */
footer .giant canvas.seaglyph { opacity: 0.45; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 55%); mask-image: linear-gradient(180deg, transparent 0%, #000 55%); }
footer .giant text { stroke: #ffc56e; stroke-width: 1.6; paint-order: stroke; filter: drop-shadow(0 0 18px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 6px rgba(255, 179, 71, 0.35)); }

@media (max-width: 960px) {
  .ledger { font-size: 13vw; row-gap: 20px; }
  .ledger .c { font-size: 0.9375rem; grid-column: auto; padding-left: 10px; }
}
.ledger { grid-template-columns: max-content minmax(0, 1fr); column-gap: 0.32em; }
.ledger .num { display: block; text-align: right; white-space: nowrap; line-height: 1; font-weight: 600; letter-spacing: -0.05em; font-variant-numeric: tabular-nums lining-nums; }
.ledger .num .w, .ledger .num .d { font-size: 1em; }
.ledger .num .d { color: var(--muted); min-width: 0; }
footer .giant text { stroke-linejoin: round; stroke-linecap: round; stroke-miterlimit: 1; }
.ledger .num .d { color: inherit; }

/* Vehicles: the intro on two lines, the aircraft on the page itself with no box around it */
.vehhead h2 { max-width: none; white-space: nowrap; }
.vehhead .lead { max-width: 62ch; }
.plate .stage { background: transparent; box-shadow: none; border-radius: 0; overflow: visible;
  -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); }
.plate .stage .v3d { background: transparent; }
.plate .words { justify-content: center; gap: 36px; }
@media (max-width: 960px) {
  .vehhead h2 { white-space: normal; }
  .plate .stage { aspect-ratio: 4 / 3.2; }
}
/* The font's letter outlines overlap inside a few letters, so an outline stroke shows small notches there.
   The wordmark is a solid gold fill with a soft gold glow instead. */
footer .giant text { stroke: none; filter: drop-shadow(0 0 1px rgba(255, 210, 140, 0.9)) drop-shadow(0 0 14px rgba(255, 179, 71, 0.35)) drop-shadow(0 0 22px rgba(0, 0, 0, 0.95)); }

/* Watch the simulated fleet run: one screen at a time */
.reelwrap { padding-top: clamp(80px, 10vw, 140px); padding-bottom: clamp(56px, 7vw, 96px); }
.reel-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.reel-tabs button { appearance: none; border: 0; background: rgba(255, 255, 255, 0.06); color: #b9c2cf; font: inherit; font-weight: 500; padding: 10px 18px; border-radius: 999px; cursor: pointer; transition: background-color 250ms, color 250ms; }
.reel-tabs button[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); }
.reel-stage { position: relative; }
.reel-item { aspect-ratio: 16 / 9; margin: 0; }
.reel-item[hidden] { display: none; }
.reel-item.on { animation: fadein 600ms var(--ease) both; }
.reel-item figcaption { font-size: 0.9375rem; padding: 7px 14px; }
.reel-bar { height: 3px; margin-top: 12px; border-radius: 3px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.reel-bar i { display: block; height: 100%; width: 0; background: var(--accent); }
.reel.run .reel-bar i { animation: reelbar var(--reel-ms, 9000ms) linear forwards; }
@keyframes reelbar { to { width: 100%; } }

/* Thirty capabilities: footage of our own model and console in each layer */
.sheet figure.layerfilm { background: #04060a; }
.sheet figure.layerfilm video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sheet figure.layerfilm figcaption { display: flex; gap: 14px; align-items: center; justify-content: space-between; left: 12px; right: 12px; bottom: 12px; border-radius: 14px; padding: 8px 12px; background: rgba(5, 7, 10, 0.82); }
.sheet figure.layerfilm figcaption span { color: var(--ink); font-size: 0.875rem; }
@media (max-width: 960px) { .reel-tabs button { padding: 8px 14px; font-size: 0.9375rem; } .sheet figure.layerfilm figcaption span { font-size: 0.8125rem; } }

.reel-tabs { justify-content: center; }
.reel-stage, .reel-bar { max-width: min(100%, calc((100svh - 300px) * 16 / 9)); margin-left: auto; margin-right: auto; }
@media (max-width: 960px) { .reel-stage, .reel-bar { max-width: 100%; } }
.sheet figure.layerfilm figcaption a { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; flex: none; }
.sheet figure.layerfilm figcaption a svg { display: inline-block; width: 14px; height: 14px; }

/* The fleet in 3D: a scene you can turn on desktop; the recording on phones and without script */
.fleet3d .v3d-canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: none; }
.fleet3d .v3d-canvas:active { cursor: grabbing; }
.fleet3d .when-live { display: none; }
.fleet3d.live3d .when-live { display: inline; }
.fleet3d.live3d .when-video { display: none; }
.fleet3d.live3d > video { visibility: hidden; }
.fleet3d.live3d::after { content: "Live 3D"; position: absolute; top: 12px; left: 14px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent); padding: 4px 10px; border-radius: 999px; transition: opacity 600ms; }
.fleet3d.live3d.touched::after { opacity: 0; }

/* Nothing moves without a yes: our own handheld control view, in a phone-shaped frame */
.yes { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.frame.handset { aspect-ratio: 8 / 9; max-width: 520px; width: 100%; justify-self: center; border-radius: 28px; box-shadow: inset 0 0 0 1px rgba(255, 179, 71, 0.22), 0 30px 80px -30px rgba(0, 0, 0, 0.9); }
.frame.handset > video { object-fit: cover; object-position: top; }
.frame.handset figcaption { left: 12px; right: 12px; bottom: 12px; border-radius: 14px; font-size: 0.875rem; line-height: 1.4; }
.rules li::before { transition: background-color 500ms, color 500ms; }
.yes.in .rules li::before { animation: rulepop 700ms var(--ease) both; }
.yes.in .rules li:nth-child(2)::before { animation-delay: 150ms; } .yes.in .rules li:nth-child(3)::before { animation-delay: 300ms; }
.yes.in .rules li:nth-child(4)::before { animation-delay: 450ms; } .yes.in .rules li:nth-child(5)::before { animation-delay: 600ms; }
@keyframes rulepop { 0% { transform: scale(0.4); opacity: 0; } 60% { transform: scale(1.15); background: var(--accent); color: var(--accent-ink); } 100% { transform: none; opacity: 1; } }
@media (max-width: 960px) { .yes { grid-template-columns: 1fr; } .frame.handset { max-width: 100%; } }
/* The handheld view fits its content: no empty space, every value on one line */
.frame.handset { aspect-ratio: 840 / 540; max-width: 680px; border-radius: 20px; }
.frame.handset > video { object-fit: contain; background: #050a16; }
.yes { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; }
.frame.handset figcaption { position: static; display: block; margin: 0; border-radius: 0 0 20px 20px; background: #0a0f17; }
.frame.handset { aspect-ratio: auto; display: flex; flex-direction: column; }
.frame.handset > video { position: static; width: 100%; height: auto; aspect-ratio: 840 / 540; }

/* The new console's vehicle cockpit is landscape */
.yes { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); }
.frame.handset { max-width: none; }
.frame.handset > video { aspect-ratio: 1280 / 838; }
@media (max-width: 960px) { .yes { grid-template-columns: 1fr; } }
