/* visualhull.eu: a live shipyard at golden hour, with glass over it */

@font-face { font-family: "Geist"; src: url("../fonts/geist-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-style: italic; font-display: swap; }

:root {
  --ink: #06080b;
  --ink-2: #0a0e13;
  --ink-3: #111821;
  --glass: rgba(7, 10, 15, 0.58);
  --glass-2: rgba(7, 10, 15, 0.74);
  --line: rgba(200, 220, 240, 0.12);
  --line-2: rgba(200, 220, 240, 0.22);
  --fg: #f1f4f7;
  --fg-2: #b3bdc7;
  --fg-3: #77838f;
  --signal: #ff6a2a;
  --signal-2: #ff925f;
  --cyan: #7fe3ff;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --serif: "Instrument Serif", "Iowan Old Style", "Times New Roman", serif;
  --gutter: clamp(16px, 4vw, 56px);
  --radius: 18px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --nav-h: 64px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--fg);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.035em; line-height: 1; }
h1 em, h2 em, h3 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
p { margin: 0; }
::selection { background: var(--signal); color: #120800; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--signal); color: #120800; padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-2);
}
.eyebrow i { font-style: normal; color: var(--fg-3); }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 0 rgba(255, 106, 42, 0.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(255, 106, 42, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 106, 42, 0); } }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--line-2);
  font: 500 15px/1 var(--sans); letter-spacing: -0.01em; text-decoration: none; cursor: pointer;
  transition: transform 0.35s var(--ease), background-color 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.35s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--signal); border-color: var(--signal); color: #160900; box-shadow: 0 12px 34px -12px rgba(255, 106, 42, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn-primary:hover { background: var(--signal-2); box-shadow: 0 20px 46px -14px rgba(255, 106, 42, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.btn-ghost { background: rgba(255, 255, 255, 0.05); color: var(--fg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.1); }
.btn-dark { background: var(--fg); border-color: var(--fg); color: var(--ink); }
.btn-dark:hover { background: #fff; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------------------------------------------------------- stage */
#stage {
  position: fixed; inset: 0; width: 100%; height: 100vh; height: 100lvh; z-index: 0;
  opacity: 0; transition: opacity 1.6s var(--ease);
}
body.ready #stage { opacity: 1; }
.stage-fallback { position: fixed; inset: 0; z-index: 0; display: none; place-items: center; padding: 10vh 4vw 4vh 38vw; background: radial-gradient(ellipse at 65% 45%, #2a1d1b, var(--ink) 70%); }
.stage-fallback img { width: min(1100px, 100%); height: auto; filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.6)); }
body.no-webgl .stage-fallback { display: grid; }
.labels { position: fixed; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
main { position: relative; z-index: 2; }

/* 3D labels */
.tag {
  position: absolute; left: 0; top: 0; will-change: transform, opacity; opacity: 0;
  font: 500 11px/1.2 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg); white-space: nowrap;
}
.tag::before { content: ""; position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px rgba(255, 106, 42, 0.2), 0 0 18px 2px rgba(255, 106, 42, 0.8); }
.tag span { position: absolute; left: 14px; bottom: 10px; padding: 7px 10px; border: 1px solid var(--line-2); border-radius: 9px; background: rgba(6, 9, 13, 0.62); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.tag span::before { content: ""; position: absolute; left: -11px; bottom: -10px; width: 12px; height: 12px; border-left: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); transform: skewX(-38deg); transform-origin: bottom left; }
.tag small { display: block; color: var(--fg-3); letter-spacing: 0.1em; font-size: 9.5px; margin-bottom: 3px; }
.tag-cog::before { background: var(--cyan); box-shadow: 0 0 0 4px rgba(127, 227, 255, 0.2), 0 0 18px 2px rgba(127, 227, 255, 0.8); }
.tag-cog span { border-color: rgba(127, 227, 255, 0.45); }
.tag-row::before { display: none; }
.tag-row span { left: 0; bottom: 6px; background: rgba(6, 9, 13, 0.5); }
.tag-row span::before { display: none; }

/* ---------------------------------------------------------------- nav */
.nav {
  position: fixed; z-index: 50; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(1180px, calc(100% - 24px)); height: var(--nav-h);
  display: flex; align-items: center; gap: 20px; padding: 0 10px 0 22px;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(7, 10, 14, 0.36); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  transition: background-color 0.4s, border-color 0.4s;
}
.nav.scrolled { background: rgba(7, 10, 14, 0.68); border-color: var(--line-2); }
.brand { display: inline-flex; align-items: baseline; gap: 6px; text-decoration: none; line-height: 1; }
.brand-script { font: italic 400 27px/1 var(--serif); letter-spacing: -0.01em; }
.brand-caps { font: 700 13px/1 var(--sans); letter-spacing: 0.28em; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a { padding: 9px 13px; border-radius: 999px; font-size: 14px; color: var(--fg-2); text-decoration: none; transition: color 0.2s, background-color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--fg); background: rgba(255, 255, 255, 0.07); }
.nav-app { color: var(--fg-3) !important; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; position: relative; cursor: pointer; }
.nav-toggle span:not(.sr) { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform 0.35s var(--ease), top 0.35s var(--ease); }
.nav-toggle span:nth-child(1) { top: 18px; }
.nav-toggle span:nth-child(2) { top: 25px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

/* ---------------------------------------------------------------- reveal + tilt */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), rotate 0.6s var(--ease); transition-delay: var(--d, 0s), var(--d, 0s), 0s; }
.js .reveal.in { opacity: 1; transform: none; }
[data-tilt] { position: relative; transition: rotate 0.6s var(--ease); }
[data-tilt]::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.14), transparent 46%); opacity: 0; transition: opacity 0.4s; }
[data-tilt]:hover::after { opacity: 1; }
.tilt-zone { perspective: 1200px; }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px;
  padding: calc(var(--nav-h) + 80px) var(--gutter) 120px;
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(5, 7, 10, 0.72) 0%, rgba(5, 7, 10, 0.35) 38%, transparent 62%), linear-gradient(0deg, rgba(5, 7, 10, 0.55), transparent 35%); }
.hero-copy { max-width: 680px; display: grid; gap: 28px; }
.display { font-size: clamp(56px, 8.6vw, 140px); line-height: 0.88; letter-spacing: -0.055em; font-weight: 600; text-shadow: 0 10px 60px rgba(0, 0, 0, 0.45); }
.display .line { display: block; }
.display em { font-size: 1.08em; letter-spacing: -0.03em; background: linear-gradient(100deg, #fff 15%, #ffd5bf 50%, var(--signal-2) 92%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-right: 0.08em; }
.lede { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; color: #d2d9e0; max-width: 520px; text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6); }
.hud {
  position: relative; font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em;
  padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: rgba(6, 9, 13, 0.42);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); min-width: 280px;
}
.hud::before, .hud::after { content: ""; position: absolute; width: 12px; height: 12px; border: 1px solid var(--signal); }
.hud::before { left: -1px; top: -1px; border-right: 0; border-bottom: 0; border-top-left-radius: 12px; }
.hud::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; border-bottom-right-radius: 12px; }
.hud-title { color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.14em; font-size: 10.5px; margin-bottom: 12px; }
.hud dl { margin: 0; display: grid; gap: 8px; }
.hud dl div { display: flex; justify-content: space-between; gap: 24px; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.hud dt { color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.1em; font-size: 11px; }
.hud dd { margin: 0; color: var(--fg); font-variant-numeric: tabular-nums; }
.hud-load { margin-top: 14px; display: grid; gap: 8px; color: var(--fg-3); font-size: 11px; transition: opacity 0.8s 0.6s; }
.hud-load i { display: block; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; position: relative; }
.hud-load i::after { content: ""; position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--signal), var(--cyan)); transition: transform 0.3s; }
.hud-load.done { opacity: 0; }
.scroll-cue { position: absolute; left: 50%; bottom: 42px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font: 500 11px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-2); }
.scroll-cue span { width: 1px; height: 38px; background: linear-gradient(var(--fg-3), transparent); position: relative; overflow: hidden; }
.scroll-cue span::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--signal); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { to { top: 110%; } }
.ruler {
  position: absolute; left: 0; right: 0; bottom: 0; height: 18px; opacity: 0.55; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 96px) bottom / 100% 14px no-repeat,
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 12px) bottom / 100% 6px no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}

/* ---------------------------------------------------------------- story */
.story { position: relative; }
.chapter { min-height: 150vh; display: flex; align-items: center; padding: 0 var(--gutter); }
.chapter-right { justify-content: flex-end; }
#ch-produce, #ch-sync { min-height: 190vh; }
.card {
  position: sticky; top: calc(50vh - 260px);
  width: min(460px, 100%); display: grid; gap: 20px; padding: 30px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--glass);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.card h2 { font-size: clamp(34px, 3.4vw, 50px); line-height: 0.98; }
.card p { color: var(--fg-2); }
.ch-num { font: 500 12px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); display: flex; gap: 8px; align-items: center; }
.ch-num b { color: var(--signal); font-weight: 600; }
.ch-num span { margin-left: auto; color: var(--fg-2); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font: 500 12px/1 var(--mono); padding: 8px 11px; border-radius: 999px; border: 1px solid rgba(255, 106, 42, 0.5); color: #ffcdb5; background: rgba(255, 106, 42, 0.1); box-shadow: 0 0 20px -6px rgba(255, 106, 42, 0.6); }
.figures { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.figures-3 { grid-template-columns: repeat(3, 1fr); }
.figures div { background: rgba(6, 9, 13, 0.88); padding: 14px 16px; display: grid; gap: 6px; }
.figures b { font: 500 26px/1 var(--sans); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.figures span { font: 500 10.5px/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); }
#cut-km { color: var(--signal-2); text-shadow: 0 0 18px rgba(255, 106, 42, 0.7); }
.note { font: 400 12px/1.5 var(--mono); color: var(--fg-3) !important; }

.term { border: 1px solid var(--line); border-radius: 12px; background: rgba(3, 6, 9, 0.86); font: 400 11.5px/1.5 var(--mono); overflow: hidden; }
.term-head { display: flex; justify-content: space-between; padding: 9px 12px; border-bottom: 1px solid var(--line); color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.1em; font-size: 10.5px; }
.term-head span:last-child { color: var(--cyan); font-variant-numeric: tabular-nums; text-shadow: 0 0 12px rgba(127, 227, 255, 0.7); }
.term ol { list-style: none; margin: 0; padding: 8px 12px 10px; min-height: 178px; display: grid; align-content: end; gap: 3px; }
.term li { display: grid; grid-template-columns: 54px 58px 1fr 64px; gap: 8px; color: var(--fg-2); white-space: nowrap; animation: rowin 0.45s var(--ease); }
.term li b { color: var(--cyan); font-weight: 500; }
.term li em { font-style: normal; color: var(--fg-3); overflow: hidden; text-overflow: ellipsis; }
.term li i { font-style: normal; text-align: right; color: var(--fg); }
@keyframes rowin { from { opacity: 0; transform: translateY(6px); } }

.bom { width: 100%; border-collapse: collapse; font: 400 12.5px/1.2 var(--mono); font-variant-numeric: tabular-nums; }
.bom th { text-align: left; font-weight: 500; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.08em; font-size: 10.5px; padding: 0 0 8px; border-bottom: 1px solid var(--line); }
.bom td { padding: 7px 0; border-bottom: 1px dashed var(--line); color: var(--fg-2); }
.bom th:not(:first-child), .bom td:not(:first-child) { text-align: right; }
.bom td:first-child { display: flex; align-items: center; gap: 9px; color: var(--fg); }
.bom .sw { width: 10px; height: 10px; border-radius: 3px; flex: none; box-shadow: 0 0 10px currentColor; }
.bom tfoot td { border-bottom: 0; color: var(--fg); font-weight: 600; padding-top: 10px; }
.cog-line { font: 500 12px/1.4 var(--mono); color: var(--cyan) !important; letter-spacing: 0.04em; text-shadow: 0 0 14px rgba(127, 227, 255, 0.6); }

.docfan { position: relative; height: 170px; margin-top: 6px; }
.docfan img { position: absolute; width: 62%; height: auto; border-radius: 6px; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.8); border: 1px solid rgba(255, 255, 255, 0.25); transition: transform 0.6s var(--ease); }
.docfan img:nth-child(1) { left: 0; top: 18px; transform: rotate(-7deg); }
.docfan img:nth-child(2) { left: 19%; top: 4px; transform: rotate(1deg); z-index: 1; }
.docfan img:nth-child(3) { left: 38%; top: 20px; transform: rotate(7deg); z-index: 2; }
.card:hover .docfan img:nth-child(1) { transform: rotate(-11deg) translate(-10px, 4px); }
.card:hover .docfan img:nth-child(3) { transform: rotate(11deg) translate(12px, 4px); }

.rail {
  position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 3; list-style: none; margin: 0; padding: 0;
  display: grid; gap: 14px; opacity: 0; pointer-events: none; transition: opacity 0.5s;
  font: 500 10.5px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3);
}
.rail.on { opacity: 1; }
.rail li { display: flex; align-items: center; justify-content: flex-end; gap: 10px; transition: color 0.3s; }
.rail li b { order: 2; width: 26px; text-align: center; padding: 5px 0; border: 1px solid var(--line); border-radius: 6px; font-weight: 500; transition: all 0.3s; background: rgba(6, 9, 13, 0.5); }
.rail li.active { color: var(--fg); }
.rail li.active b { border-color: var(--signal); background: var(--signal); color: #160900; box-shadow: 0 0 20px rgba(255, 106, 42, 0.7); }

/* ---------------------------------------------------------------- inspector */
.inspector { position: relative; height: 100svh; min-height: 680px; pointer-events: none; overflow: hidden; }
.inspector > * { pointer-events: auto; }
.insp-stage { position: absolute; inset: 0; pointer-events: auto; cursor: grab; touch-action: pan-y; }
.insp-stage.dragging { cursor: grabbing; }
.insp-stage.over-part { cursor: pointer; }
.insp-head { position: absolute; left: var(--gutter); top: calc(var(--nav-h) + 48px); max-width: 430px; display: grid; gap: 16px; pointer-events: none; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.7); }
.insp-head h2 { font-size: clamp(44px, 5vw, 80px); }
.insp-head p:not(.eyebrow) { color: #cfd6dd; }
.insp-head b { color: var(--fg); font-weight: 500; }
.insp-tools { position: absolute; right: var(--gutter); top: calc(var(--nav-h) + 48px); display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; max-width: 640px; }
.seg { display: inline-flex; padding: 4px; gap: 2px; border: 1px solid var(--line); border-radius: 12px; background: rgba(6, 9, 13, 0.62); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.seg button, .zoom button { border: 0; background: transparent; padding: 8px 12px; border-radius: 9px; font: 500 12.5px/1 var(--sans); color: var(--fg-2); cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.seg button:hover, .zoom button:hover { color: var(--fg); background: rgba(255, 255, 255, 0.07); }
.seg button[aria-pressed="true"] { background: var(--fg); color: var(--ink); }
.slider { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(6, 9, 13, 0.62); font: 500 12.5px/1 var(--sans); color: var(--fg-2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 130px; height: 20px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: var(--line-2); border-radius: 2px; }
input[type="range"]::-moz-range-track { height: 2px; background: var(--line-2); border-radius: 2px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -7px; border-radius: 50%; background: var(--signal); border: 3px solid #1a0b03; box-shadow: 0 0 14px rgba(255, 106, 42, 0.8); }
input[type="range"]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--signal); border: 3px solid #1a0b03; }
.zoom { display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: rgba(6, 9, 13, 0.62); }
.zoom button { width: 34px; font-size: 16px; padding: 6px 0; }

.part-card {
  position: absolute; right: var(--gutter); top: 50%; transform: translateY(-40%); width: 300px;
  padding: 20px; border: 1px solid var(--line-2); border-radius: var(--radius); background: rgba(6, 9, 13, 0.8);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); font-family: var(--mono); font-size: 12px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9), 0 0 60px -30px rgba(255, 106, 42, 0.6);
}
.part-card::before { content: ""; position: absolute; left: 20px; right: 20px; top: -1px; height: 2px; background: linear-gradient(90deg, var(--signal), transparent); }
.pc-kicker { display: flex; justify-content: space-between; gap: 12px; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.1em; font-size: 10.5px; }
.pc-idn { display: flex; align-items: baseline; gap: 10px; margin: 12px 0 14px; }
.pc-idn small { color: var(--fg-3); font-size: 10.5px; letter-spacing: 0.1em; }
.pc-idn b { font: 600 44px/0.9 var(--sans); letter-spacing: -0.04em; color: var(--fg); }
.pc-idn span { color: var(--signal-2); }
.part-card dl { margin: 0; display: grid; gap: 0; }
.part-card dl div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-top: 1px dashed var(--line); }
.part-card dt { color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.08em; font-size: 10.5px; }
.part-card dd { margin: 0; text-align: right; color: var(--fg); font-variant-numeric: tabular-nums; }
.pc-foot { margin-top: 12px; color: var(--fg-3); font-size: 10.5px; letter-spacing: 0.06em; }

.cmd-wrap { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); width: min(720px, calc(100% - 2 * var(--gutter))); display: grid; gap: 10px; }
.cmd-log { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font: 400 12px/1.45 var(--mono); color: var(--fg-2); max-height: 120px; overflow: hidden; align-content: end; -webkit-mask-image: linear-gradient(transparent, #000 40%); mask-image: linear-gradient(transparent, #000 40%); text-shadow: 0 1px 10px rgba(0, 0, 0, 0.9); }
.cmd-log li { padding: 0 4px; animation: rowin 0.35s var(--ease); }
.cmd-log li.err { color: #ff9b85; }
.cmd-log li.ok::before { content: "› "; color: var(--signal); }
.cmdline { position: relative; display: flex; align-items: center; gap: 10px; padding: 0 8px 0 18px; height: 56px; border: 1px solid var(--line-2); border-radius: 14px; background: rgba(4, 7, 10, 0.84); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 20px 60px -30px rgba(0, 0, 0, 0.9), inset 0 0 0 1px rgba(255, 255, 255, 0.02); }
.cmdline:focus-within { border-color: rgba(255, 106, 42, 0.75); box-shadow: 0 0 0 4px rgba(255, 106, 42, 0.14), 0 0 40px -10px rgba(255, 106, 42, 0.6); }
.cmdline label { font: 500 13px/1 var(--mono); color: var(--signal); }
.cmdline input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: var(--fg); font: 400 15px/1 var(--mono); caret-color: var(--signal); }
.cmdline input::placeholder { color: var(--fg-3); }
.cmd-suggest { position: absolute; left: 0; right: 0; bottom: calc(100% + 8px); list-style: none; margin: 0; padding: 6px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(6, 9, 13, 0.95); display: none; font: 400 13px/1.3 var(--mono); }
.cmd-suggest.open { display: grid; }
.cmd-suggest li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 12px; border-radius: 8px; cursor: pointer; color: var(--fg-2); }
.cmd-suggest li b { color: var(--fg); font-weight: 500; }
.cmd-suggest li span { color: var(--fg-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmd-suggest li[aria-selected="true"], .cmd-suggest li:hover { background: rgba(255, 106, 42, 0.14); }
.cmd-hint { font: 400 11px/1 var(--mono); color: var(--fg-3); text-align: center; letter-spacing: 0.04em; }
.cmd-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.cmd-chips button { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; background: rgba(6, 9, 13, 0.6); font: 500 11.5px/1 var(--mono); color: var(--fg-2); cursor: pointer; transition: all 0.2s; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.cmd-chips button:hover { border-color: var(--signal); color: var(--fg); box-shadow: 0 0 20px -6px rgba(255, 106, 42, 0.8); }
.insp-fallback { display: none; }
body.no-webgl .inspector { height: auto; min-height: 0; padding: calc(var(--nav-h) + 48px) var(--gutter) 64px; display: grid; gap: 28px; }
body.no-webgl .insp-head { position: static; }
body.no-webgl .insp-stage, body.no-webgl .insp-tools, body.no-webgl .cmd-wrap, body.no-webgl .part-card { display: none; }
body.no-webgl .insp-fallback { display: grid; gap: 16px; color: var(--fg-2); max-width: 900px; }

/* ---------------------------------------------------------------- sections floating over the scene */
.paper { position: relative; }
.sec-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head h2 { font-size: clamp(44px, 6.2vw, 96px); line-height: 0.92; letter-spacing: -0.05em; text-shadow: 0 10px 50px rgba(0, 0, 0, 0.5); }
.sec-head p:not(.eyebrow) { font-size: 18px; color: #c9d1d9; max-width: 600px; text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7); }
.sec-head-row { max-width: none; grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; }
.panel { border: 1px solid var(--line-2); border-radius: 22px; background: var(--glass); backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%); box-shadow: 0 40px 100px -50px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.06); }

.vault, .reel, .pricing, .faq, .team { position: relative; padding: clamp(110px, 13vw, 180px) var(--gutter); }
.faq, .team { padding-top: clamp(40px, 6vw, 80px); }
.vault-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(16px, 2vw, 28px); }
.doc { margin: 0; grid-column: span 2; display: grid; gap: 14px; cursor: zoom-in; outline: none; border-radius: 10px; }
.doc-wide { grid-column: span 4; grid-row: span 2; }
.doc img { width: 100%; height: auto; aspect-ratio: 1600 / 1131; object-fit: cover; background: #f4f2ee; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.3); box-shadow: 0 40px 70px -35px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(0, 0, 0, 0.3); transform: rotate(var(--r, 0deg)); transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease); }
.doc:nth-child(2) { --r: -1.4deg; }
.doc:nth-child(3) { --r: 1.2deg; }
.doc:nth-child(4) { --r: -0.8deg; }
.doc:nth-child(5) { --r: 1.6deg; }
.doc:nth-child(6) { --r: -1.1deg; }
.doc:hover img, .doc:focus-visible img { transform: rotate(0deg) translateY(-8px) scale(1.02); box-shadow: 0 60px 90px -40px rgba(0, 0, 0, 0.95), 0 0 50px -20px rgba(255, 146, 95, 0.55); }
.doc-dark img { background: #070a0e; object-fit: contain; }
.doc figcaption { font-size: 14px; color: #c3ccd5; line-height: 1.45; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.8); }
.doc figcaption b { display: inline-block; margin-right: 8px; padding: 3px 7px; border-radius: 5px; background: var(--fg); color: var(--ink); font: 600 11px/1.2 var(--mono); letter-spacing: 0.06em; text-shadow: none; }
.files { list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.files a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px 12px 12px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); text-decoration: none; font-weight: 500; transition: all 0.25s; }
.files a:hover { background: rgba(20, 26, 34, 0.85); border-color: rgba(255, 106, 42, 0.6); transform: translateY(-2px); }
.files span { font: 600 10.5px/1 var(--mono); padding: 5px 6px; border-radius: 5px; background: #d9472d; color: #fff; letter-spacing: 0.06em; }

.reel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.clip { margin: 0; display: grid; gap: 12px; position: relative; padding: 10px 10px 14px; border-radius: 18px; border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.clip::before {
  content: ""; position: absolute; left: 10px; right: 10px; top: 10px; aspect-ratio: 16 / 10; z-index: 1; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 56'%3E%3Ccircle cx='28' cy='28' r='27' fill='rgba(6,9,13,0.62)' stroke='rgba(255,255,255,0.35)'/%3E%3Cpath d='M23 19l14 9-14 9z' fill='white'/%3E%3C/svg%3E") center / 56px no-repeat;
  transition: opacity 0.3s;
}
.clip.playing::before { opacity: 0; }
.clip video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 11px; background: var(--ink-3) linear-gradient(135deg, #0e151d, #070a0e); cursor: pointer; }
.clip figcaption { font-size: 14px; color: var(--fg-2); padding: 0 4px; }
.clip figcaption b { display: block; color: var(--fg); font-weight: 500; margin-bottom: 2px; }

.proof { position: relative; padding: clamp(140px, 16vw, 220px) var(--gutter); }
.proof::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(5, 7, 10, 0.7), transparent 65%); }
.proof-inner { position: relative; max-width: 1180px; display: grid; gap: 30px; }
.proof h2 { font-size: clamp(44px, 6.2vw, 96px); line-height: 0.92; letter-spacing: -0.05em; max-width: 900px; text-shadow: 0 10px 50px rgba(0, 0, 0, 0.5); }
.proof-lede { font-size: 18px; color: #cdd5dc; max-width: 620px; text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7); }
.stats { margin: 24px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); }
.stats div { padding: 24px 20px 0 0; display: grid; gap: 8px; }
.stats dt { font: 500 11px/1.3 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-2); order: 2; }
.stats dd { margin: 0; font: 500 clamp(46px, 5.2vw, 80px)/1 var(--sans); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; text-shadow: 0 0 40px rgba(255, 146, 95, 0.35); }
blockquote { margin: 32px 0 0; max-width: 760px; padding-left: 24px; border-left: 2px solid var(--signal); }
blockquote p { font: italic 400 clamp(24px, 2.4vw, 34px)/1.25 var(--serif); color: var(--fg); text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7); }
blockquote cite { display: block; margin-top: 14px; font: 500 12px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); font-style: normal; }

.plans { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 18px; align-items: stretch; }
.plan, .calc { display: grid; align-content: start; gap: 18px; padding: 30px; border-radius: 22px; border: 1px solid var(--line-2); background: var(--glass); backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%); box-shadow: 0 40px 100px -50px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.plan h3, .calc h3 { font-size: 34px; letter-spacing: -0.04em; }
.plan-tag { font: 500 11px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); }
.price { font-size: 16px; color: var(--fg-2); }
.price b { font: 600 48px/1 var(--sans); letter-spacing: -0.05em; color: var(--fg); margin-right: 6px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; font-size: 15px; color: #d3dae1; }
.plan li::before { content: ""; width: 16px; height: 16px; margin-top: 3px; flex: none; border-radius: 5px; background: rgba(255, 255, 255, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.5 7.2l2.2 2.2 4.8-4.8' fill='none' stroke='white' stroke-width='1.6'/%3E%3C/svg%3E") center / 14px no-repeat; }
.plan .btn { margin-top: auto; }
.plan-hot { background: linear-gradient(160deg, rgba(255, 106, 42, 0.24), rgba(7, 10, 15, 0.72) 58%); border-color: rgba(255, 106, 42, 0.55); box-shadow: 0 50px 120px -50px rgba(255, 106, 42, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
.plan-hot .plan-tag { color: var(--signal-2); }
.plan-hot li::before { background-color: var(--signal); }
.calc { border-style: dashed; }
.calc label { display: grid; grid-template-columns: 1fr auto; gap: 8px; font-size: 14px; color: var(--fg-2); }
.calc output { font: 600 14px/1 var(--mono); color: var(--fg); }
.calc input[type="range"] { grid-column: 1 / -1; width: 100%; }
.calc-out { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.calc-out div { background: rgba(6, 9, 13, 0.82); padding: 14px; display: grid; gap: 6px; }
.calc-out b { font: 600 26px/1 var(--sans); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; color: var(--signal-2); }
.calc-out span, .calc-note { font: 400 11.5px/1.45 var(--mono); color: var(--fg-3); }

.faq-list { display: grid; border-top: 1px solid var(--line-2); padding: 0 28px; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq details:last-child { border-bottom: 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-size: clamp(19px, 1.8vw, 24px); font-weight: 500; letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); background: linear-gradient(var(--fg), var(--fg)) center / 10px 1.5px no-repeat, linear-gradient(var(--fg), var(--fg)) center / 1.5px 10px no-repeat; transition: transform 0.4s var(--ease), background-color 0.3s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: rgba(255, 106, 42, 0.35); }
.faq details p { padding: 0 0 28px; max-width: 760px; color: var(--fg-2); font-size: 17px; }
.faq .sec-head p a { color: var(--fg); }

.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.person { padding: 28px; border-radius: 22px; border: 1px solid var(--line-2); background: var(--glass); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); display: grid; gap: 10px; align-content: start; box-shadow: 0 40px 100px -50px rgba(0, 0, 0, 0.9); }
.mono-badge { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(140deg, #fff, #ffd2bd 60%, var(--signal-2)); color: var(--ink); font: italic 400 30px/1 var(--serif); margin-bottom: 10px; box-shadow: 0 0 40px -10px rgba(255, 106, 42, 0.7); }
.person h3 { font-size: 24px; letter-spacing: -0.03em; }
.role { font: 500 11px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--signal-2); }
.person p:last-child { color: var(--fg-2); }

/* ---------------------------------------------------------------- cta + footer */
.cta { position: relative; padding: clamp(160px, 20vw, 280px) var(--gutter); text-align: center; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 55%, rgba(5, 7, 10, 0.55), transparent 65%); }
.cta-inner { position: relative; display: grid; justify-items: center; gap: 28px; }
.cta h2 { font-size: clamp(52px, 8.4vw, 136px); line-height: 0.88; letter-spacing: -0.055em; max-width: 1100px; text-shadow: 0 10px 60px rgba(0, 0, 0, 0.6); }
.cta p { color: #d2d9e0; font-size: 18px; max-width: 560px; text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8); }
.cta .actions { justify-content: center; }

.titleblock { position: relative; z-index: 2; background: linear-gradient(transparent, var(--ink) 40%); padding: 40px var(--gutter) 28px; }
.tb { display: grid; grid-template-columns: 2.2fr repeat(5, 1fr); border: 1px solid var(--line-2); font: 400 13px/1.4 var(--mono); color: var(--fg-2); background: rgba(6, 9, 13, 0.7); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.tb-cell { padding: 14px 16px; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); display: grid; gap: 6px; align-content: start; }
.tb-cell small { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); }
.tb-brand { grid-row: span 2; align-content: center; gap: 4px; color: var(--fg); }
.tb-brand .brand-script { font-size: 44px; }
.tb-brand .brand-caps { font-size: 16px; }
.tb-brand small { margin-top: 8px; letter-spacing: 0.08em; }
.tb-links { grid-column: span 3; display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: end; }
.tb-links small { width: 100%; }
.tb-links a { color: var(--fg); text-decoration: none; border-bottom: 1px solid var(--line-2); }
.tb-links a:hover { border-color: var(--signal); }
.tb-copy { grid-column: span 2; }
.tb-cell:nth-child(6), .tb-copy { border-right: 0; }

/* ---------------------------------------------------------------- lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1400px, 94vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(6, 8, 11, 0.86); backdrop-filter: blur(6px); }
.lightbox img { max-width: 100%; max-height: 92vh; border-radius: 8px; background: #fff; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6); }
.lb-close { position: absolute; right: -14px; top: -14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--signal); color: #160900; font-size: 22px; cursor: pointer; z-index: 1; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .reel-grid { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr 1fr; }
  .calc { grid-column: 1 / -1; }
  .insp-tools { left: var(--gutter); right: auto; top: auto; bottom: 228px; justify-content: flex-start; max-width: none; }
  .part-card { top: auto; bottom: 228px; transform: none; }
}

@media (max-width: 860px) {
  :root { --nav-h: 56px; }
  .nav { top: 10px; padding: 0 6px 0 18px; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; left: 0; right: 0; top: calc(var(--nav-h) + 18px); margin: 0; padding: 12px;
    flex-direction: column; align-items: stretch; gap: 2px;
    border: 1px solid var(--line-2); border-radius: 20px; background: rgba(7, 10, 14, 0.96);
    opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity 0.3s, transform 0.3s var(--ease);
  }
  .nav.open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 14px 16px; font-size: 17px; color: var(--fg) !important; }

  .hero { grid-template-columns: 1fr; align-items: start; padding-top: calc(var(--nav-h) + 56px); padding-bottom: 140px; }
  .hero::before { background: linear-gradient(180deg, rgba(5, 7, 10, 0.75) 0%, rgba(5, 7, 10, 0.3) 45%, transparent 70%); }
  .hero-copy { gap: 22px; }
  .hud-hero { display: none; }
  .scroll-cue { bottom: 28px; }

  .chapter, .chapter-right { min-height: 150vh; align-items: flex-end; justify-content: center; padding: 0 12px; }
  .card { top: auto; bottom: 12px; position: sticky; padding: 22px; gap: 14px; background: rgba(6, 9, 13, 0.8); margin-bottom: 12px; }
  .card h2 { font-size: 32px; }
  .card p { font-size: 15px; }
  .term ol { min-height: 120px; }
  .term li { grid-template-columns: 46px 52px 1fr 56px; font-size: 10.5px; }
  .docfan { height: 120px; }
  .rail { display: none; }

  .inspector { min-height: 640px; }
  .insp-head { top: calc(var(--nav-h) + 28px); right: var(--gutter); gap: 10px; }
  .insp-head h2 { font-size: 40px; }
  .insp-head p:not(.eyebrow) { font-size: 14px; }
  .insp-tools { left: 0; right: 0; bottom: 200px; padding: 0 12px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .insp-tools::-webkit-scrollbar { display: none; }
  .insp-tools > * { flex: none; }
  .part-card { left: 12px; right: 12px; width: auto; bottom: 252px; padding: 14px 16px; }
  .pc-idn { margin: 6px 0 8px; }
  .pc-idn b { font-size: 32px; }
  .part-card dl { grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .pc-foot { display: none; }
  .cmd-wrap { bottom: 16px; width: calc(100% - 24px); }
  .cmd-log { max-height: 60px; }
  .cmd-hint { display: none; }
  .cmdline { height: 50px; }
  .cmdline input { font-size: 16px; }

  .vault-grid { grid-template-columns: 1fr 1fr; }
  .doc, .doc-wide { grid-column: span 1; grid-row: auto; }
  .doc-wide { grid-column: 1 / -1; }
  .sec-head-row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; }
  .people { grid-template-columns: 1fr; }
  .faq-list { padding: 0 18px; }
  .tb { grid-template-columns: 1fr 1fr; }
  .tb-brand, .tb-links, .tb-copy { grid-column: 1 / -1; grid-row: auto; }
  .tb-cell { border-right: 0; }
  .tb-cell:nth-child(odd):not(.tb-brand):not(.tb-links):not(.tb-copy) { border-right: 1px solid var(--line-2); }
}

@media (max-width: 520px) {
  .reel-grid { grid-template-columns: 1fr; }
  .vault-grid { grid-template-columns: 1fr; }
  .figures b { font-size: 21px; }
  .actions .btn { flex: 1 1 auto; }
  .stats dd { font-size: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { transition: opacity 0.4s; transform: none; }
  .pulse, .scroll-cue span::after { animation: none; }
}
