/* ============================================================
   AERØ

   Palette note: the brief asked for a light gray canvas with black
   type. The supplied footage is the inverse, a white aircraft on a
   dark ground (measured rgb 40,49,60), so a light page would put a
   dark letterbox in the middle of it and lose the one thing that
   makes the reference work: the product appearing to sit in the
   page rather than inside a picture box.

   The palette is therefore inverted and the ground is matched to
   the footage exactly. Everything else from the reference is kept:
   Swiss editorial structure, oversized masked type, hairline rules,
   tiny technical labels, near-monochrome, product first. To flip it
   back, swap --void/--ink below; nothing else reads a literal.
   ============================================================ */

:root {
  --void: #222A34;          /* sampled from the footage background */
  --void-2: #1B222B;        /* section separation */
  --void-3: #161C24;
  --ink: #EDEBE7;           /* primary type */
  --ink-2: #9AA1AA;         /* secondary */
  --ink-3: #6B727C;         /* tertiary / metadata */
  --line: rgba(237, 235, 231, .14);
  --line-2: rgba(237, 235, 231, .07);
  --accent: #F0A030;        /* the propeller tips, used almost nowhere */

  --gutter: clamp(16px, 3.4vw, 56px);
  --ui: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-io: cubic-bezier(.5, .05, .3, 1);
}

* { box-sizing: border-box; }

html {
  background: var(--void);
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--ui);
  color: var(--ink);
  background: var(--void);
  overflow-x: clip;
  font-feature-settings: "tnum" 1, "cv05" 1;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; height: 100vh; }

a { color: inherit; text-decoration: none; }
canvas { display: block; }
::selection { background: var(--ink); color: var(--void); }

.sr {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

/* small uppercase technical label, used everywhere */
.tag {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 clamp(28px, 5vh, 64px);
  font-size: 10px; font-weight: 600;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--ink-3);
}
.tag i {
  width: 5px; height: 5px; flex: none;
  background: var(--accent);
  border-radius: 50%;
}

/* ============================================================
   LOADING
   ============================================================ */
.boot {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-content: center;
  background: var(--void);
  transition: opacity .9s var(--ease) .15s, visibility .9s var(--ease) .15s;
}
.boot.is-done { opacity: 0; visibility: hidden; }
.boot__inner { display: grid; gap: 14px; justify-items: center; width: min(340px, 76vw); }
.boot__mark {
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 800; letter-spacing: .14em;
}
.boot__mark span { color: var(--accent); }
.boot__state, .boot__note {
  margin: 0;
  font-size: 9.5px; font-weight: 500;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--ink-3);
}
.boot__track { width: 100%; height: 1px; background: var(--line); overflow: hidden; }
.boot__track i {
  display: block; height: 100%; width: 0;
  background: var(--ink);
  transition: width .25s linear;
}
.boot__pct { margin: 0; font-size: 11px; letter-spacing: .18em; color: var(--ink-2); }
.boot__skip {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  appearance: none; background: none; border: 0; cursor: pointer;
  font-family: inherit; font-size: 10px; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--ink-3);
  opacity: 0; pointer-events: none;
  transition: opacity .5s var(--ease), color .25s;
}
.boot__skip.is-on { opacity: 1; pointer-events: auto; }
.boot__skip:hover { color: var(--ink); }

/* ============================================================
   THE SEQUENCE STAGE
   ============================================================ */
.stage { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.stage__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
/* pulls the frame edges down so the fixed canvas dissolves into the
   page instead of ending on a visible rectangle */
.stage__vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(128% 108% at 50% 46%,
      rgba(34, 42, 52, 0) 44%, rgba(34, 42, 52, .55) 78%, rgba(27, 34, 43, .92) 100%),
    linear-gradient(180deg, rgba(27, 34, 43, .72) 0%, rgba(27, 34, 43, 0) 16%);
}
/* film grain, stepped so it never interpolates into a moving gradient */
.stage__grain {
  position: absolute; inset: -60%;
  opacity: .085;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='150' height='150' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(5) infinite;
  will-change: transform;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); }
  20% { transform: translate(-1.6%, 1.2%); }
  40% { transform: translate(1.4%, -.9%); }
  60% { transform: translate(-.8%, -1.7%); }
  80% { transform: translate(1.1%, 1.5%); }
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 120;
  display: flex; align-items: center; gap: 20px;
  padding: 18px var(--gutter);
  border-bottom: 1px solid transparent;
  transition: background .45s var(--ease), backdrop-filter .45s var(--ease),
              border-color .45s var(--ease);
}
.nav.is-stuck {
  background: rgba(34, 42, 52, .62);
  backdrop-filter: blur(12px) saturate(120%);
  border-bottom-color: var(--line-2);
}
.nav__brand {
  display: flex; align-items: center; gap: 9px; margin-right: auto;
  font-size: 14px; font-weight: 800; letter-spacing: .16em;
}
.nav__o { color: var(--accent); }
.nav__glyph {
  width: 13px; height: 13px; flex: none;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  position: relative;
}
.nav__glyph::after {
  content: ""; position: absolute; inset: 3px;
  background: var(--ink);
  border-radius: 1px;
}
.nav__links { display: flex; gap: clamp(14px, 2vw, 30px); }
.nav__links a {
  font-size: 9.5px; font-weight: 600;
  letter-spacing: .22em; color: var(--ink-3);
  padding: 4px 0;
  position: relative;
  transition: color .3s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--ink);
  transition: right .45s var(--ease);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.is-active::after { right: 0; }
.nav__menu {
  appearance: none; cursor: pointer;
  display: flex; align-items: center; gap: 9px;
  background: none; border: 1px solid var(--line);
  border-radius: 2px; padding: 8px 13px;
  font-family: inherit; font-size: 9.5px; font-weight: 600;
  letter-spacing: .22em; color: var(--ink);
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.nav__menu i {
  width: 11px; height: 7px; flex: none;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transition: transform .35s var(--ease);
}
.nav__menu:hover { border-color: var(--ink); background: rgba(237,235,231,.05); }
.nav__menu[aria-expanded="true"] i { transform: rotate(90deg); }

/* ============================================================
   THE JOURNEY
   One pinned viewport; the whole sequence runs across its runway.
   ============================================================ */
.journey { position: relative; z-index: 1; height: 800vh; }
.journey__pin {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
}

/* --- giant type -------------------------------------------------
   Script writes --gx/--gy (the anchor, in %), --gs (font size in
   px, fitted) and --go (opacity) every frame from the measured
   occupancy of that frame, so the word lives in real negative
   space and recedes when the aircraft fills the viewport.

   `screen` is what makes it share space with the product: over the
   dark void the word reads at full strength, and where the white
   airframe crosses it the aircraft simply overpowers it. The
   product wins without any per-pixel masking work. */
.giant {
  position: absolute; inset: 0;
  display: grid;
  pointer-events: none;
  mix-blend-mode: screen;
  will-change: opacity;
}
.giant__word {
  position: absolute;
  left: var(--gx, 50%);
  top: var(--gy, 50%);
  transform: translate(-50%, -50%) scale(var(--gsc, 1));
  font-size: var(--gs, 12vw);
  line-height: .82;
  font-weight: 800;
  letter-spacing: -.035em;
  white-space: nowrap;
  color: rgba(237, 235, 231, .9);
  opacity: var(--go, 1);
  -webkit-text-stroke: .006em rgba(237, 235, 231, .35);
  transition: opacity .5s var(--ease);
  will-change: transform, opacity, font-size;
}

/* --- HUD -------------------------------------------------------- */
.hud { position: absolute; inset: 0; pointer-events: none; }
.hud p {
  position: absolute; margin: 0;
  font-size: 9.5px; font-weight: 500;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--ink-3);
  transition: opacity .6s var(--ease);
}
.hud__tl { top: 74px; left: var(--gutter); }
.hud__tc { top: 74px; left: 50%; transform: translateX(-50%); color: var(--ink-2); }
.hud__tr { top: 74px; right: var(--gutter); }
.hud__tr i { display: inline-block; margin-left: 5px; animation: nudge 1.9s var(--ease-io) infinite; }
@keyframes nudge { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
.hud__bl { bottom: 30px; left: var(--gutter); }

/* --- chapter caption -------------------------------------------- */
.chapter {
  position: absolute;
  left: var(--gutter);
  bottom: clamp(74px, 13vh, 130px);
  max-width: min(34ch, 42vw);
  pointer-events: none;
}
.chapter__idx {
  margin: 0 0 12px;
  font-size: 10px; font-weight: 600; letter-spacing: .26em;
  color: var(--accent);
}
.chapter__title {
  margin: 0;
  font-size: clamp(22px, 2.5vw, 38px);
  font-weight: 600; line-height: 1.06; letter-spacing: -.022em;
}
.chapter__body {
  margin: 14px 0 0;
  font-size: 13px; line-height: 1.62; color: var(--ink-2);
  max-width: 30ch;
}
.chapter.is-swapping .chapter__title,
.chapter.is-swapping .chapter__body,
.chapter.is-swapping .chapter__idx { opacity: 0; transform: translateY(9px); }
.chapter__title, .chapter__body, .chapter__idx {
  transition: opacity .34s var(--ease), transform .34s var(--ease);
}

/* --- floating card ---------------------------------------------
   Engineered, not decorative: one hairline border, square corners
   except a 2px softening, no shadow stack. Script places it in a
   free grid cell so it never sits over the aircraft. */
.card {
  position: absolute;
  left: var(--cx, 72%);
  top: var(--cy, 26%);
  /* Deliberately small. The gaps this footage leaves beside the
     aircraft are about two grid cells wide, so a wider card simply
     never finds a home and silently never appears. */
  width: clamp(150px, 11vw, 172px);
  padding: 12px 13px 11px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(27, 34, 43, .58);
  backdrop-filter: blur(9px);
  opacity: var(--co, 0);
  transform: translateY(calc((1 - var(--co, 0)) * 10px));
  transition: opacity .5s var(--ease), transform .5s var(--ease),
              left .9s var(--ease-io), top .9s var(--ease-io);
  pointer-events: none;
}
.card__label {
  margin: 0 0 11px; padding-bottom: 9px;
  border-bottom: 1px solid var(--line-2);
  font-size: 9px; font-weight: 600; letter-spacing: .24em;
  color: var(--ink-3);
}
.card__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.card__list li {
  font-size: 11.5px; letter-spacing: .01em; color: var(--ink);
  display: flex; align-items: baseline; gap: 8px;
}
.card__list li::before {
  content: "+"; color: var(--ink-3); font-size: 10px; flex: none;
}
.card__cta {
  display: flex; align-items: center; gap: 7px;
  margin-top: 13px; padding-top: 11px;
  border-top: 1px solid var(--line-2);
  font-size: 9px; font-weight: 600; letter-spacing: .22em;
  color: var(--ink-2);
}
.card__cta i { transition: transform .3s var(--ease); }
.card:hover .card__cta i { transform: translateX(4px); }

/* --- technical micro-labels with leader lines -------------------- */
.tags { position: absolute; inset: 0; pointer-events: none; }
.tags b {
  position: absolute;
  left: var(--tx); top: var(--ty);
  display: block;
  font-size: 8.5px; font-weight: 600; letter-spacing: .2em;
  color: var(--ink-2);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.tags b.is-on { opacity: 1; transform: none; }
.tags b::before {
  content: ""; position: absolute;
  top: 50%; right: calc(100% + 7px);
  width: var(--tw, 34px); height: 1px;
  background: var(--line);
  transform-origin: right center;
  transform: scaleX(var(--tl, 0));
  transition: transform .7s var(--ease) .1s;
}
.tags b.is-on::before { --tl: 1; }
.tags b[data-side="left"]::before { right: auto; left: calc(100% + 7px); transform-origin: left center; }
.tags b::after {
  content: ""; position: absolute;
  top: 50%; right: calc(100% + var(--tw, 34px) + 7px);
  width: 3px; height: 3px; margin-top: -1.5px;
  border-radius: 50%; background: var(--accent);
  opacity: 0; transition: opacity .4s var(--ease) .5s;
}
.tags b.is-on::after { opacity: 1; }
.tags b[data-side="left"]::after { right: auto; left: calc(100% + var(--tw, 34px) + 7px); }

/* --- progress ---------------------------------------------------- */
.progress {
  position: absolute; bottom: 30px; right: var(--gutter);
  display: flex; align-items: center; gap: 12px;
}
.progress__n {
  font-size: 10px; font-weight: 600; letter-spacing: .16em;
  color: var(--ink); font-variant-numeric: tabular-nums;
}
.progress__n--dim { color: var(--ink-3); }
.progress__track {
  width: clamp(90px, 13vw, 190px); height: 1px;
  background: var(--line); position: relative; overflow: hidden;
}
.progress__track i {
  position: absolute; inset: 0 auto 0 0;
  width: 0; background: var(--ink);
}

/* ============================================================
   EDITORIAL FEATURE SECTIONS
   ============================================================ */
.feat {
  position: relative; z-index: 1;
  padding: clamp(90px, 16vh, 190px) var(--gutter);
  background: var(--void);
  border-top: 1px solid var(--line-2);
  overflow: hidden;
}
.feat > .tag, .feat__grid { max-width: 1560px; margin-inline: auto; }
.feat__grid {
  position: relative; z-index: 2;
  display: grid; align-items: center;
  gap: clamp(32px, 5vw, 86px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
}

.statement {
  margin: 0;
  font-size: clamp(38px, 6.4vw, 104px);
  font-weight: 800; line-height: .93; letter-spacing: -.036em;
}
.statement--wide {
  max-width: 1560px; margin-inline: auto;
  font-size: clamp(44px, 8.6vw, 156px);
}
.line { display: block; overflow: hidden; }
.line > span { display: block; }

.feat__body {
  margin: clamp(20px, 3vh, 34px) 0 0;
  max-width: 40ch;
  font-size: 14px; line-height: 1.68; color: var(--ink-2);
}

.spec {
  margin: clamp(26px, 4vh, 44px) 0 0;
  display: grid; gap: 0;
  border-top: 1px solid var(--line-2);
}
.spec div {
  display: grid; grid-template-columns: minmax(0, 11ch) minmax(0, 1fr);
  gap: 18px; padding: 11px 0;
  border-bottom: 1px solid var(--line-2);
}
.spec dt {
  font-size: 9px; font-weight: 600; letter-spacing: .2em;
  color: var(--ink-3); padding-top: 2px;
}
.spec dd { margin: 0; font-size: 12.5px; color: var(--ink); }

/* the still. A canvas rather than an <img> so the same decoded
   frame set feeds both the sequence and these compositions. */
.feat__shot { margin: 0; }
.feat__shotBox {
  position: relative; overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  aspect-ratio: 16 / 10;
  background: var(--void-2);
}
.feat__shotBox canvas {
  width: 100%; height: 100%;
  transform: scale(1.045);
  transition: transform 1.5s var(--ease);
}
.feat__shot.is-in .feat__shotBox canvas { transform: none; }
.feat__shot figcaption {
  margin-top: 11px;
  font-size: 9px; font-weight: 600; letter-spacing: .22em;
  color: var(--ink-3);
}
.feat__grid--right .feat__shot { order: -1; }

/* the oversized background word, cropped by the viewport edge and
   filled with the frame it belongs to */
.megaword {
  position: absolute; z-index: 1;
  bottom: -.16em;
  font-size: clamp(120px, 25vw, 420px);
  font-weight: 900; line-height: .74; letter-spacing: -.05em;
  white-space: nowrap;
  pointer-events: none;
  color: transparent;
  background-image: var(--fill);
  background-size: cover;
  background-position: center 42%;
  -webkit-background-clip: text;
          background-clip: text;
  /* A word filled with a dark frame against a dark ground loses its
     edges and stops reading as a word. The hairline is what keeps
     the letterforms; sized in em so it tracks a font that ranges
     from 120px on a phone to 420px on a wide display. */
  -webkit-text-stroke: .009em rgba(237, 235, 231, .5);
  opacity: .44;
}
.megaword--right { right: -.06em; }
.megaword--left { left: -.06em; }

/* ============================================================
   COMPONENT INDEX
   Numbered typographic rows, not cards.
   ============================================================ */
.index {
  position: relative; z-index: 1;
  padding: clamp(90px, 16vh, 190px) var(--gutter);
  background: var(--void-2);
  border-top: 1px solid var(--line-2);
}
.index > .tag, .index > .statement, .index__list { max-width: 1560px; margin-inline: auto; }
.index__list {
  list-style: none; padding: 0;
  margin: clamp(46px, 8vh, 96px) auto 0;
  max-width: 1560px;
}
.index__list li {
  position: relative;
  display: grid; align-items: center;
  grid-template-columns: 5ch minmax(0, 1fr) minmax(0, 30ch);
  gap: clamp(14px, 3vw, 54px);
  padding: clamp(18px, 3vh, 34px) 0;
  border-top: 1px solid var(--line-2);
  overflow: hidden;
}
.index__list li:last-child { border-bottom: 1px solid var(--line-2); }
.index__n {
  font-size: 9px; font-weight: 600; letter-spacing: .2em;
  color: var(--ink-3);
}
.index__list h3 {
  margin: 0;
  font-size: clamp(28px, 5.2vw, 84px);
  font-weight: 800; letter-spacing: -.032em; line-height: .96;
  color: transparent;
  /* flat ink covers the frame; hovering wipes the cover away.
     Percentages, not `cover`, or there is nothing to interpolate
     and the reveal snaps instead of wiping. */
  background-image: linear-gradient(var(--ink), var(--ink)), var(--fill);
  background-repeat: no-repeat, no-repeat;
  background-size: 100% 100%, cover;
  background-position: right center, center 45%;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-stroke: .007em rgba(237, 235, 231, .4);
  transition: background-size 780ms var(--ease-io);
}
.index__list li:hover h3, .index__list li.is-open h3 { background-size: 0% 100%, cover; }
.index__list p {
  margin: 0; font-size: 12px; color: var(--ink-3);
  letter-spacing: .01em;
  transition: color .4s var(--ease);
}
.index__list li:hover p, .index__list li.is-open p { color: var(--ink); }

/* ============================================================
   FINAL HERO
   ============================================================ */
.outro { position: relative; z-index: 1; height: 190vh; background: var(--void); }
.outro__pin {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: grid; place-items: center;
}
.outro__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.outro__type {
  position: relative; z-index: 2;
  font-size: clamp(44px, 10.5vw, 190px);
  font-weight: 900; letter-spacing: -.045em; line-height: .9;
  mix-blend-mode: screen;
  color: rgba(237, 235, 231, .92);
  -webkit-text-stroke: .005em rgba(237, 235, 231, .3);
  /* lifted so the word crosses the propeller line and the empty sky
     above the shell, not the camera head */
  transform: translateY(-13vh);
  pointer-events: none;
}
.outro__foot {
  position: absolute; z-index: 3;
  left: var(--gutter); right: var(--gutter); bottom: 34px;
  display: flex; flex-wrap: wrap; gap: 20px;
  align-items: center; justify-content: space-between;
}
.cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 22px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 10px; font-weight: 600; letter-spacing: .22em;
  transition: background .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease);
}
.cta i { transition: transform .35s var(--ease); }
.cta:hover { background: var(--ink); color: var(--void); border-color: var(--ink); }
.cta:hover i { transform: translateX(5px); }
.outro__meta {
  margin: 0; font-size: 9px; font-weight: 600;
  letter-spacing: .24em; color: var(--ink-3);
}

.foot {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
  padding: 24px var(--gutter);
  border-top: 1px solid var(--line-2);
  background: var(--void-3);
  font-size: 9px; font-weight: 600; letter-spacing: .22em;
  color: var(--ink-3);
}

/* ============================================================
   REVEALS
   Scoped to .js because the hidden state hides real content: a
   heading line is pushed a full line down inside overflow:hidden,
   so without script the section headings would never appear.
   ============================================================ */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .line > span { transform: translateY(105%); transition: transform 1.05s cubic-bezier(.16,.84,.28,1); }
.js .line.is-in > span, .js .is-in .line > span { transform: none; }

/* ============================================================
   RESPONSIVE
   Recomposed, not shrunk. The aircraft keeps the viewport; the
   furniture around it thins out and the giant word moves to the
   bands where the footage actually leaves room.
   ============================================================ */
@media (max-width: 1080px) {
  .feat__grid { grid-template-columns: minmax(0, 1fr); }
  .feat__grid--right .feat__shot { order: 0; }
  .card { width: clamp(168px, 26vw, 200px); }
  .index__list li { grid-template-columns: 4ch minmax(0, 1fr); }
  .index__list p { display: none; }
}

@media (max-width: 780px) {
  .nav__links { display: none; }
  .journey { height: 620vh; }

  /* On a phone the giant word takes the whole upper void, so the
     corner metadata is dropped rather than stacked underneath it.
     Four labels around a 390px viewport is clutter, and two of them
     were landing directly on the word and on the progress row. What
     survives is the word, one caption and the progress. */
  .hud__tc, .hud__tr, .hud__tl, .hud__bl { display: none; }

  /* caption sits along the bottom, clear of both the word above and
     the progress row below */
  .chapter {
    left: var(--gutter); right: var(--gutter);
    bottom: 62px; top: auto;
    max-width: none;
  }
  .chapter__idx { margin-bottom: 7px; }
  .chapter__body { display: none; }

  .card {
    left: var(--gutter) !important;
    right: var(--gutter);
    top: auto !important;
    bottom: 132px;
    width: auto;
  }
  .card__list { display: grid; grid-template-columns: 1fr 1fr; }
  .tags { display: none; }
  .progress { left: var(--gutter); right: var(--gutter); bottom: 24px; justify-content: space-between; }
  .progress__track { width: auto; flex: 1; }
  .megaword { font-size: clamp(96px, 34vw, 200px); opacity: .38; }
  .outro__type { transform: translateY(-16vh); }
}

@media (max-width: 520px) {
  .foot__mid { display: none; }
  .spec div { grid-template-columns: minmax(0, 9ch) minmax(0, 1fr); gap: 12px; }
  .boot__inner { width: 78vw; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stage__grain, .hud__tr i { animation: none; }
  .js .reveal, .js .line > span { transition-duration: .01ms; }
  .giant__word, .card { transition-duration: .01ms; }
}
