/* hatchwaygame.com: the game's own title screen, as a page, then the game's best sights a screen at a time. The tokens
   are the game's (src/ui/skin.css, hud.css, menu.css): charcoal plates, warm ivory type, the four-colour stripe, and
   the condensed HUD face. No script is needed to read it; with one, things ease in as they're scrolled to. */

@font-face { font-family: 'Hatchway Condensed'; src: url('fonts/oswald-latin-500.woff2') format('woff2'); font-weight: 400 800; font-display: swap; }
@font-face { font-family: 'Hatchway Stencil'; src: url('fonts/big-shoulders-stencil-display-latin-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --orange: #e8742c;
  --mustard: #e3b23c;
  --teal: #2e8c8a;
  --red: #b8453a;
  --stripes: linear-gradient(to bottom, var(--orange) 0 25%, var(--mustard) 25% 50%, var(--teal) 50% 75%, var(--red) 75%);
  --stripes-x: linear-gradient(to right, var(--orange) 0 25%, var(--mustard) 25% 50%, var(--teal) 50% 75%, var(--red) 75%);
  --ink: #ebe4cf;
  --muted: #b0aea2;
  --faint: #8e9089;
  --line: #626864;
  --hairline: rgba(221, 218, 193, 0.2);
  --bg: #171d20;
  --bg-deep: #11161a;
  --bg-pit: #0b0f12;
  --plate: #1b2326;
  --plate-hi: #232d30;
  --primary: #efbc42;
  --primary-hi: #ffd167;
  --dark-ink: #181d1b;
  --paper: #e6dcc3;
  --pencil: #3d3a33;
  /* The HUD's face (hud.css --hud-font); the bundled one only where none of those is installed. */
  --display: 'DIN Condensed', 'Avenir Next Condensed', Bahnschrift, 'Roboto Condensed', 'Hatchway Condensed', 'Arial Narrow', sans-serif;
  --text: 'Avenir Next', 'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial, sans-serif;
  --stencil: 'Hatchway Stencil', Bahnschrift, 'Arial Narrow', sans-serif;
  --gutter: clamp(16px, 5vw, 76px);
  --wide: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px / 1.6 var(--text); letter-spacing: .1px;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
b { font-weight: 650; color: var(--ink); }
code { font: 14px ui-monospace, 'SF Mono', Menlo, Consolas, monospace; background: #0b100e; border: 1px solid var(--hairline); border-radius: 2px; padding: 1px 5px; }
::selection { background: var(--primary); color: var(--dark-ink); }
:focus-visible { outline: 2px solid #f2c857; outline-offset: 4px; }
button { font: inherit; color: inherit; }

[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--primary); color: var(--dark-ink); font: 700 16px var(--display); text-transform: uppercase; letter-spacing: 1px; text-decoration: none; border-radius: 3px; }
.skip:focus { top: 12px; }

/* ---------- The type, as the menus set it ---------- */
.eyebrow, .label, .hero-meta, .aside, figcaption, .caption {
  font-family: var(--display); font-weight: 600; font-stretch: condensed; text-transform: uppercase; letter-spacing: 2px; color: var(--muted);
}
.eyebrow { margin: 0 0 14px; font-size: 13px; display: flex; align-items: center; gap: 14px; }
.label { margin: 0 0 14px; font-size: 14px; color: var(--ink); }
.heading {
  margin: 0 0 18px; font: 700 clamp(34px, 4.2vw, 54px) / 1 var(--display); font-stretch: condensed; text-transform: uppercase; letter-spacing: .5px;
  color: var(--ink); text-wrap: balance;
}
p { margin: 0 0 16px; color: #d9d3bf; text-wrap: pretty; }

.stripe { display: inline-block; width: .15em; align-self: stretch; background: var(--stripes); flex-shrink: 0; }
/* The title's stripe, as menu.css .stripe-title draws it: cap top to baseline in any font, a little in from the word. It's
   a cap tall, and as a flex item with no text its baseline is its bottom edge, which baseline alignment puts on the word's. */
.title { display: flex; align-items: baseline; gap: .27em; }
.wordmark { display: inline-flex; align-items: baseline; gap: .27em; }
:is(.title, .wordmark) > .stripe { align-self: auto; height: 1cap; }

/* ---------- The menu's buttons ---------- */
.button {
  position: relative; display: inline-flex; align-items: center; min-height: 52px; padding: 13px 24px 10px; border: 1px solid var(--line); border-radius: 3px;
  background: #1b2326d9; color: var(--ink); text-decoration: none; cursor: pointer;
  font: 700 22px / 1.1 var(--display); font-stretch: condensed; letter-spacing: 1.2px; text-transform: uppercase;
  transition: background .15s, border-color .15s, box-shadow .15s, translate .15s var(--ease);
}
.button:hover { background: #343e3c; border-color: var(--ink); }
.button:active { translate: 0 1px; }
.button.primary { background: var(--primary); color: var(--dark-ink); border-color: #f9cc5c; box-shadow: 0 3px 12px #0003; }
.button.primary:hover { background: var(--primary-hi); border-color: #ffe39c; box-shadow: 0 6px 22px #efbc4233; }
.button.arrow { padding-right: 52px; }
.button.arrow::after { content: '›'; position: absolute; right: 21px; top: 50%; transform: translateY(-54%); font: 300 30px / 1 var(--text); transition: translate .2s var(--ease); }
.button.arrow:hover::after { translate: 4px 0; }
.button[aria-disabled='true'] { opacity: .45; pointer-events: none; box-shadow: none; }

/* ---------- The bar ---------- */
.bar {
  position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px var(--gutter); transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent;
}
.bar.solid { background: #12181bde; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom-color: var(--hairline); }
/* (how far down the page: the four colours along the bar's foot, where the browser can tie an animation to the scroll) */
.bar::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--stripes-x); transform-origin: left; scale: 0 1; opacity: 0; }
.wordmark { font: 700 26px / 1 var(--display); font-stretch: condensed; text-transform: uppercase; letter-spacing: 1px; text-decoration: none; text-shadow: 0 1px 8px #0006; }
.bar nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); }
.bar nav a { font: 600 16px var(--display); font-stretch: condensed; text-transform: uppercase; letter-spacing: 1.6px; text-decoration: none; color: var(--ink); opacity: .86; padding: 6px 0 3px; border-bottom: 2px solid transparent; text-shadow: 0 1px 8px #0008; transition: opacity .15s, border-color .15s; }
.bar nav a:hover { opacity: 1; border-bottom-color: var(--orange); }
.bar nav .bar-cta { opacity: 1; padding: 9px 16px 6px; border: 1px solid var(--line); border-radius: 3px; background: #1b2326c0; text-shadow: none; }
.bar nav .bar-cta:hover { border-color: var(--ink); background: #343e3c; }

/* ---------- The title screen ---------- */
.hero {
  position: relative; isolation: isolate; min-height: max(640px, 100svh); display: flex; align-items: center;
  padding: 120px var(--gutter) 96px; overflow: hidden; background: var(--bg-pit);
}
.hero-shot, .hero-shot img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
/* The picture settles as the page opens, then breathes: a slow push in and back, as the title screen's does. */
.hero-shot img { object-fit: cover; object-position: 60% 50%; scale: 1.02; animation: settle 2.4s var(--ease) both, breathe 38s 2.4s ease-in-out infinite alternate; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, #0e1519e6 0%, #121819a8 32%, #13191b26 58%, #13191b00 74%),
    linear-gradient(0deg, var(--bg) 0%, #171d2099 12%, transparent 34%, transparent 80%, #10151880);
}
@keyframes settle { from { opacity: .55; filter: brightness(.6) saturate(.8); } to { opacity: 1; filter: none; } }
@keyframes breathe { from { scale: 1.02; } to { scale: 1.09; } }
.hero-body { width: min(620px, 100%); }
.hero-body > * { animation: rise .9s var(--ease) both; }
.hero-body > :nth-child(1) { animation-delay: .1s; }
.hero-body > :nth-child(2) { animation-delay: .18s; }
.hero-body > :nth-child(3) { animation-delay: .3s; }
.hero-body > :nth-child(4) { animation-delay: .4s; }
.hero-body > :nth-child(5) { animation-delay: .5s; }
.hero-body > :nth-child(6) { animation-delay: .6s; }
@keyframes rise { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: none; } }
.title {
  margin: 0 0 6px; font: 800 clamp(84px, 12.5vw, 176px) / 1 var(--display); font-stretch: condensed;
  letter-spacing: -.025em; text-transform: uppercase; color: var(--ink); text-shadow: 0 2px 1px #1114, 0 8px 60px #0006;
}
.title .stripe { animation: stripe 1s .45s var(--ease) both; transform-origin: bottom; }
@keyframes stripe { from { scale: 1 0; } }
.tagline { margin: 12px 0 20px; max-width: 23em; font: 600 clamp(25px, 2.5vw, 32px) / 1.2 var(--display); font-stretch: condensed; letter-spacing: .6px; text-transform: uppercase; color: var(--ink); text-wrap: balance; text-shadow: 0 1px 14px #0008; }
.lede { font-size: 19px; line-height: 1.55; color: #e2dcc8; max-width: 34em; margin-bottom: 30px; text-shadow: 0 1px 12px #000a; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .primary { min-width: 280px; font-size: 26px; min-height: 58px; }
.hero-meta { margin: 18px 0 0 2px; font-size: 13px; color: #c6c1b2; text-shadow: 0 1px 8px #0008; }
.signature { position: absolute; right: var(--gutter); bottom: 34px; margin: 0; font: 600 10px / 1.5 var(--display); font-stretch: condensed; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); text-shadow: 0 1px 6px #000a; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border: 1px solid #ebe4cf80; border-radius: 13px; animation: rise 1s 1.4s var(--ease) both; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 2px; height: 8px; margin-left: -1px; border-radius: 1px; background: var(--primary); animation: cue 1.8s 2s ease-in-out infinite; }
@keyframes cue { 0% { translate: 0 0; opacity: 1; } 70%, 100% { translate: 0 14px; opacity: 0; } }

.stamp {
  display: inline-block; padding: 4px 9px 1px; border: 2px solid var(--orange); border-radius: 2px; color: var(--orange);
  font: 700 16px / 1 var(--stencil); letter-spacing: 2.5px; text-transform: uppercase; transform: rotate(-3deg);
  background: #e8742c14;
}

/* ---------- Pictures: every one opens full size ---------- */
section { position: relative; }
.shot { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 3px; background: var(--plate); cursor: zoom-in; overflow: hidden; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: scale .9s var(--ease), filter .4s; }
.shot::after { content: ''; position: absolute; inset: 0; border: 1px solid var(--hairline); border-radius: inherit; pointer-events: none; transition: border-color .3s; }
.shot:hover img, .gallery button:hover img { scale: 1.035; filter: brightness(1.06); }
.shot:hover::after { border-color: #ebe4cf66; }
figcaption, .caption { margin: 12px 0 0; font-size: 12px; color: var(--muted); }

/* ---------- The game in a sentence ---------- */
.creed { padding: clamp(72px, 11vw, 150px) var(--gutter) clamp(20px, 3vw, 44px); text-align: center; }
.creed-line {
  max-width: 21em; margin: 0 auto; font: 700 clamp(30px, 4.6vw, 62px) / 1.06 var(--display); font-stretch: condensed; text-transform: uppercase; letter-spacing: .4px;
  color: var(--ink); text-wrap: balance;
}
.creed-line em { font-style: normal; color: var(--muted); }
.creed-sub { max-width: 36em; margin: 26px auto 0; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: #d9d3bf; }
.creed::before { content: ''; display: block; width: 72px; height: 6px; margin: 0 auto 34px; background: var(--stripes-x); }

/* ---------- Life on the island ---------- */
.pillars, .screens, .download, .early, .feedback, .build, .below { padding-inline: var(--gutter); }
.pillars {
  max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; display: grid;
  gap: clamp(72px, 10vw, 130px); padding-block: clamp(56px, 8vw, 110px);
}
.pillar { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(28px, 4.5vw, 64px); align-items: center; }
.pillar.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); }
.pillar.flip .pillar-shots { order: 2; }
/* A second, smaller picture laid over the first one's corner, as a print on a print. */
.pillar-shots { position: relative; margin: 0; min-width: 0; padding-bottom: clamp(26px, 5vw, 64px); }
.pillar-shots > .shot:first-child { aspect-ratio: 16 / 9; box-shadow: 0 24px 70px #0006; }
.pillar-shots .inset { position: absolute; right: clamp(-28px, -2vw, -10px); bottom: 0; width: 44%; aspect-ratio: 16 / 9; box-shadow: 0 0 0 6px var(--bg), 0 18px 50px #000a; }
.pillar.flip .pillar-shots .inset { right: auto; left: clamp(-28px, -2vw, -10px); }
.pillar-shots figcaption { position: absolute; left: 0; bottom: 14px; max-width: 50%; white-space: nowrap; }
.pillar.flip .pillar-shots figcaption { left: auto; right: 0; text-align: right; }
.pillar-text { max-width: 30em; }
.pillar-text .eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--orange); }
.pillar:nth-child(3) .eyebrow::before { background: var(--mustard); }
.pillar:nth-child(4) .eyebrow::before { background: var(--teal); }
.pillar .heading { font-size: clamp(30px, 3.4vw, 44px); }

/* ---------- Sections' heads ---------- */
.section-head { max-width: var(--wide); margin: 0 auto 36px; display: grid; grid-template-columns: auto 1fr; column-gap: 40px; align-items: end; }
.section-head .eyebrow { grid-column: 1 / -1; }
.section-head .heading { margin: 0; }
.section-head .aside { margin: 0 0 4px; justify-self: end; text-align: right; font-size: 13px; letter-spacing: 1.6px; max-width: 34em; }

/* ---------- Dig, build, move in ---------- */
.build { padding-block: clamp(64px, 9vw, 120px); background: var(--bg-deep); border-block: 1px solid var(--hairline); }
.build .heading { font-size: clamp(40px, 5.6vw, 76px); }
.steps { list-style: none; max-width: var(--wide); margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.2vw, 30px); counter-reset: step; }
.step { position: relative; }
.step .shot { aspect-ratio: 3 / 2; box-shadow: 0 18px 50px #0005; }
/* (the first two are first-person: what's in the hand is at the frame's right, so the cut keeps that side) */
.step:nth-child(1) .shot img, .step:nth-child(2) .shot img { object-position: 100% 50%; }
.step-n { position: absolute; left: 14px; top: 10px; margin: 0; font: 700 44px / 1 var(--stencil); letter-spacing: 1px; color: var(--ink); text-shadow: 0 2px 14px #000c; pointer-events: none; }
.step .label { margin: 20px 0 8px; font-size: 22px; letter-spacing: 1.4px; display: flex; align-items: center; gap: 12px; }
.step .label::before { content: ''; width: 22px; height: 3px; background: var(--orange); }
.step:nth-child(2) .label::before { background: var(--mustard); }
.step:nth-child(3) .label::before { background: var(--teal); }
.step p:last-child { margin: 0; font-size: 16px; color: #d2ccb9; max-width: 26em; }

/* ---------- Beneath ---------- */
.below {
  padding-block: clamp(72px, 10vw, 130px); background: radial-gradient(120% 90% at 20% 0%, #1b2326 0%, var(--bg-pit) 62%);
  display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 48px); justify-items: center;
}
.below-text { width: 100%; max-width: var(--wide); }
.below-text > * { max-width: 36rem; }
.below-text .heading { font-size: clamp(38px, 5.2vw, 70px); }
.below-shots { list-style: none; width: 100%; max-width: var(--wide); margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 12px; }
.below-shots .tall { grid-row: span 2; }
.below-shots li { min-height: 0; }
.below-shots .shot { height: 100%; aspect-ratio: 16 / 9; }
.below-shots .tall .shot { aspect-ratio: auto; }

/* ---------- Screens ---------- */
.screens { padding-block: clamp(56px, 8vw, 100px); }
.gallery { list-style: none; margin: 0 auto; padding: 0; max-width: var(--wide); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.gallery .wide { grid-column: span 2; grid-row: span 2; }
.gallery .half { grid-column: span 2; }
.gallery button { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: var(--plate); cursor: zoom-in; border-radius: 3px; overflow: hidden; }
.gallery button::after { content: ''; position: absolute; inset: 0; border: 1px solid var(--hairline); border-radius: inherit; pointer-events: none; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: scale .9s var(--ease), filter .4s; }

html:has(.viewer[open]) { overflow: hidden; }
.viewer { padding: 0; border: 0; background: none; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; overflow: hidden; }
.viewer::backdrop { background: #0a0e10f2; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.viewer[open] { display: grid; place-items: center; animation: fade .25s ease both; }
@keyframes fade { from { opacity: 0; } }
.viewer img { max-width: min(94vw, 1920px); max-height: 86vh; width: auto; border-radius: 3px; box-shadow: 0 20px 80px #000; opacity: 0; scale: .985; transition: opacity .3s ease, scale .5s var(--ease); }
.viewer img.in { opacity: 1; scale: 1; }
.viewer-caption { position: fixed; left: 0; right: 0; bottom: 16px; margin: 0; padding: 0 70px; text-align: center; font: 600 13px var(--display); font-stretch: condensed; letter-spacing: 1.8px; text-transform: uppercase; color: var(--muted); }
.viewer-close, .viewer-step {
  position: fixed; border: 1px solid #999b90; border-radius: 2px; background: #1b2326d9; color: var(--ink); cursor: pointer;
  font: 600 14px var(--display); font-stretch: condensed; letter-spacing: 2px; text-transform: uppercase; transition: background .15s, border-color .15s;
}
.viewer-close { top: 18px; right: 18px; padding: 8px 12px 5px; }
.viewer-step { top: 50%; transform: translateY(-50%); width: 46px; height: 64px; font: 300 36px / 1 var(--text); }
.viewer-step.prev { left: 18px; }
.viewer-step.next { right: 18px; }
.viewer-close:hover, .viewer-step:hover { background: #343e3c; border-color: var(--ink); }

/* ---------- Download ---------- */
.download { padding-top: clamp(72px, 10vw, 120px); padding-bottom: clamp(56px, 8vw, 96px); background: var(--bg-deep); border-top: 1px solid var(--hairline); }
.build-line {
  max-width: var(--wide); margin: 0 auto 18px; font: 600 15px var(--display); font-stretch: condensed; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted);
}
.build-line strong { color: var(--ink); font-weight: 700; }
.platforms { max-width: var(--wide); margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.platform {
  position: relative; display: flex; flex-direction: column; padding: 24px 24px 18px; background: var(--plate); border: 1px solid #a6a68a4d; border-radius: 3px;
  box-shadow: 0 10px 40px #0003; transition: translate .3s var(--ease), border-color .3s, box-shadow .3s;
}
.platform:hover { translate: 0 -3px; border-color: #e6dec166; box-shadow: 0 18px 50px #0006; }
.platform.mine { border-color: #e6dec18c; box-shadow: inset 6px 0 var(--orange), 0 10px 40px #0004; background: var(--plate-hi); }
.platform.mine:hover { box-shadow: inset 6px 0 var(--orange), 0 18px 50px #0006; }
.platform header { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.platform h3 { margin: 0; font: 700 32px / 1 var(--display); font-stretch: condensed; text-transform: uppercase; letter-spacing: .5px; padding-top: 4px; }
.os-icon { width: 26px; height: 26px; fill: var(--ink); flex-shrink: 0; }
.yours { margin-left: auto; padding: 4px 8px 2px; background: var(--ink); color: var(--dark-ink); border-radius: 2px; font: 700 12px var(--display); font-stretch: condensed; letter-spacing: 1.5px; text-transform: uppercase; }
.req { margin: 6px 0 20px; color: var(--muted); font-size: 15px; }
.platform .get { justify-content: flex-start; width: 100%; font-size: 21px; }
.platform:not(.mine) .get { background: #1b2326d9; color: var(--ink); border-color: var(--line); box-shadow: none; }
.platform:not(.mine) .get:hover { background: #343e3c; border-color: var(--ink); }
.file { display: flex; justify-content: space-between; gap: 12px; margin: 12px 0 14px; font: 600 13px var(--display); font-stretch: condensed; letter-spacing: 1.2px; text-transform: uppercase; color: var(--faint); }
.file-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.first-run { margin-top: auto; border-top: 1px solid var(--hairline); padding-top: 12px; }
.first-run summary { cursor: pointer; list-style: none; font: 600 14px var(--display); font-stretch: condensed; letter-spacing: 1.6px; text-transform: uppercase; color: var(--ink); display: flex; align-items: center; justify-content: space-between; }
.first-run summary::-webkit-details-marker { display: none; }
.first-run summary::after { content: '+'; font: 400 20px / 1 var(--text); color: var(--muted); }
.first-run[open] summary::after { content: '−'; }
.first-run p { margin: 10px 0 2px; font-size: 15px; line-height: 1.55; color: #cfc9b6; }

.specs { max-width: var(--wide); margin: 14px auto 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--hairline); border-radius: 3px; background: var(--bg-pit); }
.spec { padding: 18px 22px 8px; }
.spec + .spec { border-left: 1px solid var(--hairline); }
.spec .label { margin-bottom: 8px; color: var(--muted); font-size: 13px; }
.spec p { font-size: 15px; line-height: 1.5; color: #d2ccb9; }
.checksums { max-width: var(--wide); margin: 16px auto 0; font: 12px / 1.7 ui-monospace, 'SF Mono', Menlo, Consolas, monospace; color: var(--faint); overflow-wrap: anywhere; }
.checksums b { font: 600 12px var(--display); font-stretch: condensed; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-right: 8px; }

/* ---------- Early access ---------- */
.early { padding-top: clamp(48px, 7vw, 80px); padding-bottom: clamp(56px, 8vw, 96px); background: var(--bg-deep); }
.early-grid { max-width: var(--wide); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.panel { padding: 24px 26px 14px; background: var(--plate); border: 1px solid #a6a68a4d; border-radius: 3px; }
.panel p { font-size: 16px; }
.controls { padding-bottom: 24px; }
.controls .keys { margin-top: 22px; }
.requirements { max-width: var(--wide); margin: 24px auto 0; padding-top: 16px; border-top: 1px solid var(--hairline); }
.requirements summary, .controls summary { cursor: pointer; font: 600 16px / 1.4 var(--display); letter-spacing: 1.5px; text-transform: uppercase; }
.requirements summary::marker, .controls summary::marker { color: var(--primary); }
.keys { margin: 0; display: grid; gap: 9px; }
.keys div { display: grid; grid-template-columns: 128px 1fr; gap: 12px; align-items: center; }
.keys dt { display: flex; gap: 4px; flex-wrap: wrap; }
.keys dd { margin: 0; font-size: 15px; color: #d6d0bc; line-height: 1.3; }
kbd {
  display: inline-grid; place-items: center; min-width: 27px; height: 27px; padding: 3px 6px 0; border: 1px solid #999b90; border-radius: 2px;
  font: 600 13px var(--display); font-stretch: condensed; letter-spacing: 1px; text-transform: uppercase; color: var(--ink); background: #0b100e80;
}

/* ---------- Feedback ---------- */
.feedback { padding-bottom: clamp(64px, 9vw, 110px); background: var(--bg-deep); }
.feedback-card {
  max-width: var(--wide); margin: 0 auto; display: flex; gap: 28px; padding: clamp(28px, 4vw, 44px); border-radius: 3px;
  background: linear-gradient(110deg, #1f292bf2, #18201fd9), url('img/island-coast-960.webp') center / cover; border: 1px solid #a6a68a4d;
}
.feedback-card .stripe { width: 8px; }
.feedback-card p { max-width: 44em; }
.feedback-how { color: var(--muted); font-family: var(--display); font-stretch: condensed; font-weight: 600; text-transform: uppercase; letter-spacing: 1.6px; font-size: 14px; }

/* ---------- Foot ---------- */
.foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 26px var(--gutter) 30px; border-top: 1px solid var(--hairline); background: var(--bg-pit); }
.foot p { margin: 0; font: 600 12px var(--display); font-stretch: condensed; letter-spacing: 2px; text-transform: uppercase; color: var(--faint); }
.wordmark.small { font-size: 20px; }

/* ---------- Easing in, where there's a script to say what's been scrolled to (site.js sets .js and .in) ---------- */
.js [data-reveal] { opacity: 0; translate: 0 30px; transition: opacity .9s var(--ease), translate .9s var(--ease); }
.js [data-reveal].in { opacity: 1; translate: none; }
.js [data-reveal].d1 { transition-delay: .12s; }
.js [data-reveal].d2 { transition-delay: .24s; }
@media print {
  .js [data-reveal] { opacity: 1; translate: none; }
}

/* ---------- Tied to the scroll, where the browser can: the title screen sinks and dims as it's left, the bar's foot
   fills. Nothing here is needed to read the page. ---------- */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-shot { animation: sink linear both; animation-timeline: scroll(root); animation-range: 0 100svh; }
    @media (min-height: 720px) {
      .hero-body { animation: leave linear both; animation-timeline: scroll(root); animation-range: 10svh 80svh; }
    }
    @keyframes sink { to { translate: 0 16%; filter: brightness(.55); } }
    @keyframes leave { to { translate: 0 -40px; opacity: 0; } }
    .bar::after { opacity: 1; animation: fill linear both; animation-timeline: scroll(root); }
    @keyframes fill { to { scale: 1 1; } }
  }
}

/* ---------- Narrower ---------- */
@media (max-width: 1080px) {
  .platforms, .early-grid { grid-template-columns: 1fr; }
  .platform.mine { order: -1; }
  .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec:nth-child(3) { border-left: 0; }
  .spec:nth-child(n + 3) { border-top: 1px solid var(--hairline); }
}
@media (max-width: 960px) {
  .pillar, .pillar.flip { grid-template-columns: 1fr; }
  .pillar.flip .pillar-shots { order: 0; }
  .pillar-shots .inset, .pillar.flip .pillar-shots .inset { right: 10px; left: auto; }
  .pillar.flip .pillar-shots figcaption { left: 0; right: auto; text-align: left; }
  .section-head { grid-template-columns: 1fr; }
  .section-head .aside { justify-self: start; text-align: left; margin-top: 12px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .step .shot { aspect-ratio: 16 / 9; }
  .signature { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .bar { padding-block: 10px; }
  .bar nav a:not(.bar-cta) { display: none; }
  .hero { align-items: flex-end; padding-top: 96px; padding-bottom: 76px; }
  .hero::after {
    background: linear-gradient(0deg, var(--bg) 0%, #12181aeb 30%, #13191b80 58%, #13191b1a 100%);
  }
  .hero-shot img { object-position: 80% 50%; }
  .title { font-size: clamp(56px, 18.5vw, 110px); }
  .pillar-shots { padding-bottom: 0; }
  .pillar-shots figcaption, .pillar.flip .pillar-shots figcaption { position: static; max-width: 50%; min-height: 64px; white-space: normal; }
  .lede { font-size: 17px; }
  .hero-actions .button { width: 100%; }
  .hero-actions .primary { min-width: 0; }
  .scroll-cue { display: none; }
  .below-shots { grid-template-columns: 1fr; grid-template-rows: none; }
  .below-shots .tall { grid-row: auto; }
  .below-shots .tall .shot { aspect-ratio: 16 / 9; }
  .gallery .wide { grid-column: span 2; grid-row: span 1; }
  .specs { grid-template-columns: 1fr; }
  .spec + .spec { border-left: 0; border-top: 1px solid var(--hairline); }
  .feedback-card { flex-direction: column; gap: 18px; }
  .feedback-card .stripe { width: 64px; height: 6px; background: var(--stripes-x); }
  .viewer-step { display: none; }
  .viewer-caption { padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; translate: none; }
}
