/* STUDLINE RS-01 — one film under a camera viewfinder; every chapter is laid out its own way.
   Black, warm white, one lime. Each section pins a full screen (.pin) and JS writes its progress. */
@font-face { font-family: 'Anton'; src: url('./fonts/Anton.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Inter'; src: url('./fonts/Inter-var.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
:root {
  --bg: #050506; --ink: #f2f0ea; --soft: #d4d3cd; --mute: #9a9ca3; --line: rgba(242, 240, 234, .14); --lime: #dfff4f; --lime-ink: #10120a;
  --paper: #eeece5; --paper-ink: #121214; --paper-mute: #66676d;
  --display: 'Anton', 'Impact', sans-serif; --text: 'Inter', system-ui, sans-serif;
  --pad: clamp(16px, 4vw, 64px); --vh: 100vh;
  /* brick icons: top, left face, right face, stud, edge */
  --i-t: #34353b; --i-l: #141517; --i-r: #1f2024; --i-s: #4a4b52; --i-e: rgba(242, 240, 234, .32);
}
@supports (height: 100svh) { :root { --vh: 100svh; } }
* { box-sizing: border-box; }
html { background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; }
body { margin: 0; font: 400 16px/1.55 var(--text); overflow-x: clip; background: var(--bg); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; border-radius: 4px; }
.lime { color: var(--lime); }
.skip { position: fixed; left: 12px; top: -60px; z-index: 60; background: var(--lime); color: var(--lime-ink); padding: 10px 14px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.tag { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--mute); }
.tag i { width: 36px; height: 1px; background: var(--lime); }

/* ------------------------------------------------------------ the film */
#film { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; z-index: 0; will-change: clip-path; }
.shade { position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 50%, rgba(5, 5, 6, 0) 55%, rgba(5, 5, 6, .55) 100%),
              linear-gradient(0deg, rgba(5, 5, 6, .5) 0%, rgba(5, 5, 6, 0) 22%); }
.loader { position: fixed; inset: 0; z-index: 50; display: grid; place-content: center; justify-items: center; gap: 10px; background: var(--bg); transition: opacity .7s ease, visibility .7s; }
.loader b { font: 400 clamp(56px, 9vw, 120px)/1 var(--display); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.loader span { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--mute); }
.loader i { width: 160px; height: 2px; background: var(--line); }
.loader em { display: block; height: 100%; width: 0; background: var(--lime); }
.loaded .loader { opacity: 0; visibility: hidden; }

/* letterbox bars (the detail chapter goes 2.39:1) */
.lb { position: fixed; left: 0; right: 0; z-index: 2; height: min(max(0px, calc((100vh - 100vw / 2.39) / 2)), 15vh); min-height: 9vh; background: #000; pointer-events: none;
  transform: scaleY(0); transition: transform .7s cubic-bezier(.7, 0, .2, 1); }
.lb-t { top: 0; transform-origin: top; } .lb-b { bottom: 0; transform-origin: bottom; }
[data-ch="detail"] .lb { transform: scaleY(1); }

/* ------------------------------------------------------------ chrome */
.bar { position: fixed; inset: 0 0 auto; z-index: 30; display: flex; align-items: center; gap: 24px; padding: 16px var(--pad);
  background: linear-gradient(180deg, rgba(5, 5, 6, .72), rgba(5, 5, 6, 0)); }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; min-height: 44px; align-items: center; }
.brand b { font: 400 22px/1 var(--display); letter-spacing: .14em; }
.brand span { font-size: 11px; letter-spacing: .24em; color: var(--lime); font-weight: 600; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { font-size: 13px; letter-spacing: .06em; text-decoration: none; color: var(--mute); padding: 10px 12px; border-radius: 999px; transition: color .2s, background .2s; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover, .nav a.is-on { color: var(--ink); background: rgba(242, 240, 234, .07); }
.nav a.is-on { box-shadow: inset 0 -2px 0 var(--lime); }
.flag { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; border: 1px solid var(--line); padding: 8px 12px; border-radius: 999px; color: var(--mute); white-space: nowrap; }

/* the viewfinder: JS sets --t --r --b --l (px) — the hero window first, then the full frame */
.vf { position: fixed; inset: 0; z-index: 20; pointer-events: none; --t: 80px; --r: 24px; --b: 24px; --l: 24px; transition: opacity .5s ease; }
.vf-c { position: absolute; width: 26px; height: 26px; border: 0 solid var(--ink); opacity: .8; }
.vf-c.tl { top: var(--t); left: var(--l); border-width: 1.5px 0 0 1.5px; }
.vf-c.tr { top: var(--t); right: var(--r); border-width: 1.5px 1.5px 0 0; }
.vf-c.bl { bottom: var(--b); left: var(--l); border-width: 0 0 1.5px 1.5px; }
.vf-c.br { bottom: var(--b); right: var(--r); border-width: 0 1.5px 1.5px 0; }
.vf-l, .vf-r { position: absolute; bottom: calc(var(--b) + 18px); display: grid; gap: 6px; font: 500 12px/1.2 var(--text); letter-spacing: .12em; color: var(--soft); font-variant-numeric: tabular-nums; transition: opacity .4s ease; }
.vf-l { left: calc(var(--l) + 18px); }
.vf-r { right: calc(var(--r) + 18px); text-align: right; width: 200px; justify-items: end; }
.vf-l b { font: 400 30px/1 var(--display); letter-spacing: .04em; color: var(--ink); }
.rec { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; letter-spacing: .2em; }
.rec i { width: 8px; height: 8px; border-radius: 50%; background: #ff3b2f; box-shadow: 0 0 12px #ff3b2f; animation: rec 1.6s steps(2, jump-none) infinite; }
@keyframes rec { 50% { opacity: .25; } }
.vf-k { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--mute); }
.vf-n { font: 400 44px/1 var(--display); letter-spacing: .02em; color: var(--ink); }
.vf-n em { font-style: normal; font-size: 18px; color: var(--mute); margin-left: 4px; }
.vf-bar { width: 100%; height: 2px; background: var(--line); display: block; }
.vf-bar em { display: block; height: 100%; width: 0; background: var(--lime); }
.past-film .vf { opacity: 0; }
[data-ch="build"] .vf-r, [data-ch="drive"] .vf-r, [data-ch="body"] .vf-r, [data-ch="hero"] .vf-r { opacity: 0; }
[data-ch="detail"] .vf-l, [data-ch="detail"] .vf-r { opacity: .55; }

/* ------------------------------------------------------------ sections */
main { position: relative; z-index: 10; }
.sx { position: relative; }
.pin { position: sticky; top: 0; height: 100vh; height: var(--vh); overflow: hidden; }
.s-hero { height: 175vh; } .s-apart { height: 230vh; } .s-build { height: 470vh; } .s-body { height: 290vh; }
.s-wings { height: 180vh; } .s-detail { height: 360vh; } .s-drive { height: 330vh; } .s-built { height: 250vh; }

/* 00 · hero — the words frame the window, then part as it opens */
.hero-word { margin: 0; font: 400 clamp(110px, 21.5vw, 420px)/.8 var(--display); text-transform: uppercase; letter-spacing: -.005em; }
.hero-word span { position: absolute; display: block; will-change: transform; }
.hw1 { top: 10vh; left: calc(var(--pad) - .03em); }
.hw2 { bottom: 3vh; right: calc(var(--pad) - .02em); color: var(--lime); }
.hero-k { position: absolute; left: var(--pad); top: 50%; width: calc(20vw - var(--pad) - 20px); margin: 0; display: grid; gap: 14px; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--soft); line-height: 1.7; }
.hero-k i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 16px var(--lime); }
.hero-cta { position: absolute; left: var(--pad); bottom: 22vh; margin: 0; display: grid; gap: 14px; font: 400 26px/1 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.hero-cta em { font-style: normal; color: var(--lime); }
.hero-cta i { width: 1px; height: 52px; background: linear-gradient(var(--lime), transparent); animation: cue 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0%, 100% { transform: scaleY(.35); opacity: .5; } 50% { transform: scaleY(1); opacity: 1; } }
.meta { position: absolute; right: var(--pad); top: 34vh; width: calc(20vw - var(--pad) - 20px); margin: 0; display: grid; gap: 16px; text-align: right; }
.meta div { display: grid; gap: 3px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.meta dt { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }
.meta dd { margin: 0; font-weight: 600; }
.s-hero .hero-k, .s-hero .meta, .s-hero .hero-cta { opacity: calc(1 - var(--p, 0) * 2.4); }

/* 01 · apart — one number, centred, counting down */
.s-apart .tag { position: absolute; left: var(--pad); top: 15vh; }
.count { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 4px; pointer-events: none;
  transform: scale(calc(1.18 - var(--p, 0) * .18)); opacity: calc(var(--p, 0) * 6); }
.count b { font: 400 min(38vw, 64vh)/.8 var(--display); letter-spacing: -.01em; font-variant-numeric: tabular-nums; color: transparent; -webkit-text-stroke: 1.5px var(--lime); text-shadow: 0 0 80px rgba(223, 255, 79, .12); }
.count span { font-size: 12px; letter-spacing: .4em; text-transform: uppercase; color: var(--soft); }
.under { position: absolute; right: var(--pad); bottom: 15vh; max-width: 34ch; margin: 0; color: var(--soft); font-size: 17px; }

/* 02 · build — an instruction-book card that turns a page per step */
.build-l { position: absolute; left: var(--pad); top: 16vh; bottom: 150px; display: flex; flex-direction: column; gap: 22px; max-width: 46vw; }
.build-title { margin: 0; font: 400 clamp(56px, 7.4vw, 128px)/.9 var(--display); text-transform: uppercase; }
.steps { list-style: none; margin: auto 0 0; padding: 0; display: flex; gap: 8px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; gap: 8px; width: 92px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); transition: color .3s; }
.steps li::before { content: '0' counter(s); font: 400 28px/1 var(--display); letter-spacing: .02em; }
.steps li::after { content: ''; height: 2px; background: var(--line); order: -1; transition: background .3s; }
.steps li.is-on { color: var(--ink); } .steps li.is-on::after { background: var(--lime); }
.steps li.is-done::after { background: rgba(223, 255, 79, .4); }
.manual { position: absolute; right: var(--pad); top: 50%; translate: 0 -50%; width: min(440px, 34vw); padding: 26px 26px 20px; border-radius: 6px;
  background: var(--paper); color: var(--paper-ink); box-shadow: 0 40px 90px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .06);
  --i-t: #3b3c42; --i-l: #16171a; --i-r: #24252a; --i-s: #56575e; --i-e: #08080a; transform-origin: 0 50%; }
.manual.turn { animation: turn .55s cubic-bezier(.2, .7, .2, 1); }
@keyframes turn { from { transform: perspective(1400px) rotateY(-24deg) translateX(24px); opacity: .2; } }
.manual header { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; padding-bottom: 18px; border-bottom: 2px solid var(--paper-ink); }
.step-no { font: 400 92px/.8 var(--display); }
.step-of { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--paper-mute); font-weight: 600; margin-bottom: 8px; }
.manual header p { margin: 0; font-size: 15px; line-height: 1.45; }
.tray-k { margin: 16px 0 10px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--paper-mute); font-weight: 600; }
.tray { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tray li { display: grid; grid-template-rows: 64px auto auto; gap: 2px; padding: 10px; border: 1px solid rgba(18, 18, 20, .14); border-radius: 4px; background: #f7f6f1; }
.tray svg { width: 100%; height: 64px; }
.tray b { font: 400 22px/1 var(--display); }
.tray span { font-size: 11px; color: var(--paper-mute); line-height: 1.3; }
.manual footer { display: flex; justify-content: space-between; margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(18, 18, 20, .16); font-size: 12px; letter-spacing: .06em; color: var(--paper-mute); font-variant-numeric: tabular-nums; }
.manual footer b { color: var(--paper-ink); }

/* 03 · body — three words land with the bodywork, a zipper runs along the bottom */
.click { margin: 0; font: 400 clamp(80px, 15vw, 280px)/.84 var(--display); text-transform: uppercase; }
.click span { position: absolute; display: block; clip-path: inset(calc((1 - var(--r, 0)) * 100%) 0 0 0); transform: translateY(calc((1 - var(--r, 0)) * 18%)); }
.c1, .c2 { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.c1 { top: 13vh; left: var(--pad); }
.c2 { top: 34vh; right: var(--pad); }
.c3 { bottom: 20vh; left: 27vw; }
.aside { position: absolute; right: var(--pad); bottom: 140px; max-width: 32ch; margin: 0; color: var(--soft); font-size: 15px; }
.aside b { font: 400 30px/1 var(--display); color: var(--lime); margin-right: 4px; }
.zip { position: absolute; left: calc(var(--pad) + 190px); right: calc(var(--pad) + 40px); bottom: 44px; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 281fr 150fr 579fr 288fr; gap: 6px; }
.zip li { display: grid; grid-template-columns: 1fr auto; gap: 8px 10px; align-items: baseline; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.zip li b { font: 400 20px/1 var(--display); letter-spacing: .02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.zip li i { grid-column: 1 / -1; height: 4px; background: var(--line); display: block; }
.zip li em { display: block; height: 100%; background: var(--lime); transform-origin: left; transform: scaleX(var(--z, 0)); }

/* 04 · wings — the word comes in from both edges */
.split { position: absolute; left: 0; right: 0; top: 13vh; margin: 0; display: flex; justify-content: center; gap: .06em; font: 400 clamp(84px, 16vw, 300px)/.84 var(--display); text-transform: uppercase; white-space: nowrap; }
.split span { display: block; will-change: transform; }
.sl { transform: translateX(calc((1 - var(--e, 0)) * -62vw)); }
.sr { transform: translateX(calc((1 - var(--e, 0)) * 62vw)); }
.wing-facts { position: absolute; left: calc(var(--pad) + 190px); right: calc(var(--pad) + 230px); bottom: 44px; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.wing-facts li { padding-top: 14px; border-top: 1px solid var(--line); color: var(--soft); font-size: 14px; opacity: calc(var(--p, 0) * 3 - .6); }
.wing-facts b { display: block; font: 400 44px/1 var(--display); color: var(--ink); margin-bottom: 8px; }

/* 05 · detail — letterboxed and subtitled */
.s-detail .tag { position: absolute; left: var(--pad); top: calc(min(max(0px, calc((100vh - 100vw / 2.39) / 2)), 15vh) + 18px); }
.subs { position: absolute; left: 50%; bottom: 0; translate: -50% 0; width: min(780px, calc(100vw - 2 * var(--pad))); height: max(min(max(0px, calc((100vh - 100vw / 2.39) / 2)), 15vh), 9vh); display: grid; place-items: center; }
.subs p { grid-area: 1 / 1; text-wrap: balance; margin: 0; text-align: center; font-size: clamp(16px, 1.5vw, 21px); line-height: 1.45; color: var(--ink); opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease; }
.subs p b { display: block; font: 600 11px/1 var(--text); letter-spacing: .3em; color: var(--lime); margin-bottom: 8px; }
.subs p.is-on { opacity: 1; transform: none; }

/* 06 · drive — a dash */
.drive-title { position: absolute; left: var(--pad); top: 14vh; margin: 0; font: 400 clamp(52px, 6.4vw, 112px)/.9 var(--display); text-transform: uppercase; }
.drive-title span { display: block; }
.drive-note { position: absolute; left: var(--pad); top: calc(14vh + clamp(52px, 6.4vw, 112px) * 1.9 + 24px); max-width: 34ch; margin: 0; color: var(--soft); font-size: 15px; }
.dash { position: absolute; left: 50%; bottom: 5vh; translate: -50% 0; width: 340px; display: grid; justify-items: center;
  opacity: calc(var(--p, 0) * 8); }
.dash::before { content: ''; position: absolute; inset: -40px -80px -30px; z-index: -1; background: radial-gradient(closest-side, rgba(5, 5, 6, .8), rgba(5, 5, 6, 0)); }
.gauge { width: 100%; height: auto; overflow: visible; }
.g-bg, .g-fg { fill: none; stroke-width: 6; stroke-linecap: round; }
.g-bg { stroke: var(--line); }
.g-fg { stroke: var(--lime); stroke-dasharray: 1 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 8px rgba(223, 255, 79, .55)); }
.dash-n { margin-top: -86px; display: grid; justify-items: center; gap: 4px; }
.dash-n b { font: 400 76px/.9 var(--display); font-variant-numeric: tabular-nums; }
.dash-n span { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--mute); }
.dash-row { display: flex; gap: 26px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.dash-row span { display: grid; gap: 4px; justify-items: center; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--mute); }
.dash-row b { font: 400 24px/1 var(--display); color: var(--ink); letter-spacing: .03em; font-variant-numeric: tabular-nums; min-width: 3ch; text-align: center; }
.dash-row span:first-child b { color: var(--lime); }

/* 07 · built — rings, the end title, the way out */
.rings { position: absolute; left: 50%; top: 58%; width: 0; height: 0; }
.rings i { position: absolute; left: 50%; top: 50%; width: 70vmin; height: 70vmin; margin: -35vmin; border: 1px solid var(--lime); border-radius: 50%;
  transform: scaleY(.32) scale(calc(.5 + var(--p, 0) * 1.4 + var(--k) * .35)); opacity: calc((1 - var(--p, 0)) * .6 - var(--k) * .12); }
.rings i:nth-child(1) { --k: 0; } .rings i:nth-child(2) { --k: 1; } .rings i:nth-child(3) { --k: 2; }
.end-title { position: absolute; left: 0; right: 0; top: 13vh; margin: 0; text-align: center; font: 400 clamp(56px, 8vw, 150px)/.88 var(--display); text-transform: uppercase;
  opacity: calc(var(--p, 0) * 4); transform: translateY(calc((1 - min(1, var(--p, 0) * 3)) * 40px)); }
.end-title span { display: block; }
.built-note { position: absolute; left: 50%; bottom: calc(6vh + 80px); translate: -50% 0; width: min(560px, calc(100vw - 2 * var(--pad))); margin: 0; text-align: center; color: var(--soft); font-size: 15px; opacity: calc(var(--p, 0) * 3 - 1); }
.ctas { position: absolute; left: 50%; bottom: 6vh; translate: -50% 0; display: flex; gap: 12px; opacity: calc(var(--p, 0) * 3 - 1.2); }
.btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--lime); background: var(--lime); color: var(--lime-ink); font: 600 15px var(--text); letter-spacing: .02em; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
.btn.ghosted { background: rgba(5, 5, 6, .4); color: var(--ink); }
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }

/* ------------------------------------------------------------ 08 · the parts list */
.kit { position: relative; z-index: 10; background: var(--bg); padding: 20vh var(--pad) 16vh; }
.kit::before { content: ''; position: absolute; left: 0; right: 0; bottom: 100%; height: 30vh; background: linear-gradient(0deg, var(--bg), rgba(5, 5, 6, 0)); pointer-events: none; }
.kit-in { max-width: 1280px; margin: 0 auto; }
.kit-head { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: end; }
.kit-head .tag { grid-column: 1 / -1; }
.kit-title { margin: 0; font: 400 clamp(48px, 6.6vw, 110px)/.9 var(--display); text-transform: uppercase; }
.kit-title span { display: block; }
.kit-lede { margin: 0; max-width: 30ch; color: var(--mute); font-size: 15px; }
.inv { list-style: none; margin: 56px 0 0; padding: 1px; display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 1px; background: var(--line); border-radius: 6px; overflow: hidden; }
.inv li { position: relative; display: grid; grid-template-rows: 1fr auto auto; gap: 4px; min-height: 196px; padding: 16px; background: #0a0a0c; transition: background .25s; }
.inv li:hover { background: #111214; }
.inv svg { width: 100%; height: 92px; align-self: center; }
.inv b { font: 400 30px/1 var(--display); font-variant-numeric: tabular-nums; }
.inv b small { font-size: 16px; color: var(--mute); margin-right: 2px; }
.inv span { font-size: 13px; color: var(--soft); }
.inv em { font-style: normal; color: var(--mute); }
.inv li.big { grid-column: span 2; grid-row: span 2; }
.inv li.big svg { height: 220px; }
.inv li.big b { font-size: 64px; }
.inv li.big::after { content: 'The most of any part'; position: absolute; top: 16px; left: 16px; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--lime); }
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 72px; }
.how div { padding-top: 18px; border-top: 1px solid var(--lime); }
.how b { font: 400 26px/1 var(--display); letter-spacing: .04em; text-transform: uppercase; }
.how p { margin: 12px 0 0; color: #c9c8c2; }
.js .inv li, .js .how div { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .inv li.in, .js .how div.in { opacity: 1; transform: none; }

/* brick icons */
.ico .t { fill: var(--i-t); } .ico .l { fill: var(--i-l); } .ico .r { fill: var(--i-r); } .ico .s { fill: var(--i-s); }
.ico .t, .ico .l, .ico .r, .ico .s { stroke: var(--i-e); stroke-width: 1px; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.ico .lime { --i-t: #ecff86; --i-l: #8fae12; --i-r: #b9d935; --i-s: #f5ffbe; }
.ico .ns { stroke: none; }
.ico .w { fill: none; stroke: var(--i-r); stroke-linecap: round; stroke-linejoin: round; }
.ico .w2 { fill: none; stroke: var(--i-s); stroke-linecap: round; }

/* ------------------------------------------------------------ footer: a lime curtain */
.foot-wrap { position: relative; z-index: 10; height: 78vh; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.foot { position: fixed; left: 0; right: 0; bottom: 0; height: 78vh; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 var(--pad) 28px; background: var(--lime); color: var(--lime-ink); }
.foot-mark { margin: 0 0 2vh; font: 400 clamp(90px, 22.6vw, 420px)/.8 var(--display); letter-spacing: .005em; text-align: center; white-space: nowrap; }
.foot-row { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding-top: 18px; border-top: 1.5px solid var(--lime-ink); font-size: 13px; }
.foot-row p { margin: 0; max-width: 64ch; }
.foot-row a { font-weight: 700; }
.foot-link { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; font: 400 22px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; }

@media (prefers-reduced-motion: reduce) {
  .js .inv li, .js .how div { opacity: 1; transform: none; transition: none; }
  .hero-cta i, .rec i { animation: none; }
  .manual.turn { animation: none; }
}

/* ------------------------------------------------------------ phones */
@media (max-width: 860px) {
  .nav { display: none; }
  .flag { margin-left: auto; }
  .vf-c { width: 18px; height: 18px; }
  /* phones: the viewfinder reads as one line under the top-right corner, clear of every chapter's own layout */
  .vf-r { display: none; }
  .vf-l { bottom: auto; left: auto; top: calc(var(--t) + 10px); right: calc(var(--r) + 12px); display: flex; align-items: baseline; gap: 8px; font-size: 10px; letter-spacing: .08em; }
  .vf-l b { font: 600 11px/1 var(--text); letter-spacing: .08em; }
  .rec { letter-spacing: .12em; gap: 5px; } .rec i { width: 6px; height: 6px; }
  [data-ch="detail"] .vf-l { opacity: .8; }
  .s-build { height: 430vh; }

  .hero-word { font-size: 27vw; }
  .hw1 { top: 11vh; } .hw2 { bottom: 17vh; }
  .hero-k, .meta { display: none; }
  .hero-cta { left: 0; right: 0; bottom: 6vh; justify-items: center; font-size: 22px; }
  .hero-cta i { display: none; }

  .s-apart .tag { top: 13vh; }
  .count b { font-size: 34vw; -webkit-text-stroke-width: 1.2px; }
  .under { left: var(--pad); right: var(--pad); bottom: 9vh; font-size: 15px; }

  .build-l { top: 12vh; bottom: auto; max-width: none; right: var(--pad); gap: 14px; }
  .build-title { font-size: 14vw; }
  .steps { display: none; }
  .manual { left: 12px; right: 12px; top: auto; bottom: 12px; translate: none; width: auto; padding: 16px 16px 12px; }
  .manual header { gap: 12px; padding-bottom: 12px; }
  .step-no { font-size: 56px; }
  .manual header p { font-size: 13px; }
  .tray-k { display: none; }
  .tray { grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 12px; }
  .tray li { grid-template-rows: 40px auto; padding: 6px; }
  .tray li:nth-child(n + 5) { display: none; }
  .tray svg { height: 40px; }
  .tray b { font-size: 17px; }
  .tray span { display: none; }
  .manual footer { margin-top: 10px; padding-top: 8px; font-size: 11px; }

  .click { font-size: 23vw; }
  .c1 { top: 12vh; } .c2 { top: 25vh; } .c3 { bottom: 26vh; left: var(--pad); }
  .aside { display: none; }
  .zip { grid-template-columns: 1fr 1fr; gap: 14px 12px; left: var(--pad); right: var(--pad); bottom: 5vh; }

  .split { top: 15vh; font-size: 17vw; }
  .wing-facts { grid-template-columns: 1fr; gap: 10px; left: var(--pad); right: var(--pad); bottom: 5vh; }
  .wing-facts li { display: grid; grid-template-columns: 52px 1fr; align-items: baseline; padding-top: 10px; font-size: 13px; }
  .wing-facts b { font-size: 28px; margin: 0; }

  .s-detail .tag { top: calc(9vh + 14px); }
  .subs { height: auto; bottom: 2vh; }

  .drive-title { top: 12vh; font-size: 12vw; }
  .drive-note { display: none; }
  .dash { width: 270px; bottom: 3vh; }
  .dash-n { margin-top: -70px; } .dash-n b { font-size: 58px; }

  .end-title { font-size: 14vw; top: 12vh; }
  .built-note { bottom: calc(5vh + 130px); font-size: 14px; }
  .ctas { flex-direction: column; width: calc(100vw - 2 * var(--pad)); bottom: 5vh; }
  .ctas .btn { justify-content: center; }

  .kit { padding-top: 14vh; }
  .kit-head { grid-template-columns: 1fr; }
  .kit-title { font-size: 13vw; }
  .inv { grid-template-columns: repeat(2, 1fr); margin-top: 36px; }
  .inv li { min-height: 170px; }
  .inv li.big { grid-row: span 1; }
  .inv li.big svg { height: 120px; }
  .inv li.big b { font-size: 46px; }
  .how { grid-template-columns: 1fr; }
  .foot-wrap, .foot { height: 62vh; }
  .foot-row { flex-direction: column; align-items: flex-start; }
}
