/* ============================================================
   Newsboard marketing site (by Inkmere) — "The Lit Page"
   Ground-up object-site redesign (NEW-197, 2026-07-09).
   Dark precision-hardware showroom: the real machined-aluminium
   unit as transparent cutouts floating on near-black; the warm
   e-ink page is the only lit thing. One grotesque family for all
   chrome (serif lives only on the device's screen, in the photos).
   Static, vanilla JS, self-hosted fonts, zero third-party requests.
   Spec: docs/superpowers/specs/2026-07-09-site-object-redesign-design.md
   ============================================================ */

/* ---------- Font: Schibsted Grotesk (self-hosted variable, wght 400–900).
   A news-publisher grotesque — the heritage nod without pastiche. ---------- */
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("assets/fonts/schibsted-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("assets/fonts/schibsted-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Near-black ground, faintly cool (OKLCH ~0.14 0.004 265). */
  --ink:      #0a0a0b;
  --ink-1:    #0e0e10;
  --ink-2:    #141417;
  --ink-3:    #1b1b20;
  /* Silvers / off-whites, warm to sit with the aluminium and paper. */
  --text:     #e9e7e2;   /* body: ~15:1 on --ink */
  --text-dim: #c4c1b8;
  --muted:    #a29e94;   /* labels/meta: ~7.3:1 on --ink */
  --line:     #232327;
  --line-2:   #33333b;
  /* Warm paper-white — the e-ink page's own tone. The single accent. */
  --paper:    #f2ede1;
  --paper-dim:#ded8c9;
  --paper-2:  #cbc5b5;
  --on-paper: #0f0f10;
  --err:      #f0b7a0;   /* form error text: 11:1 on --ink */
  /* Steel-blue accent — the interactive/brand colour. The device's warm screen
     glow stays warm (that light belongs to the e-ink page); blue carries the UI. */
  --accent:       #41729a; /* filled buttons, selection: white text = 4.8:1 */
  --accent-hover: #4d80a8;
  --accent-2:     #6ea3cf; /* on-dark: links, emphasis, marks, focus ring — 7.3:1 on ink */
  --on-accent:    #f6f9fc;
  /* Hero world-at-night backdrop (WebP primary, JPEG fallback). */
  --hero-world: image-set(url("assets/photos/hero-world.webp") type("image/webp"),
                          url("assets/photos/hero-world.jpg") type("image/jpeg"));
  /* Reserve wall of real Newsboard editions. */
  --news-wall: image-set(url("assets/photos/news-wall.webp") type("image/webp"),
                         url("assets/photos/news-wall.jpg") type("image/jpeg"));
  /* The light the page throws into the dark room. */
  --glow:     255, 249, 234;   /* rgb, used at low alpha for pools */

  --font: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --shell: 1180px;
  --r: 12px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);        /* quint-ish */
  --ease-out-expo: cubic-bezier(.16, 1, .3, 1);

  /* z-index scale (semantic, never arbitrary) */
  --z-sticky: 20;
  --z-nav: 40;
  --z-drawer: 50;
  --z-skip: 60;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font);
  font-size: 1.0625rem;              /* 17px */
  line-height: 1.62;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1;
  /* clip (not hidden): stops horizontal overflow without turning body into a
     scroll container, which would break the pinned turntable's position:sticky
     (symptom: on resize the sticky stops following and the section goes blank). */
  overflow-x: clip;
}

/* Faint machined-grain wash over the whole dark page — barely there. */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body > * { position: relative; z-index: 1; }

::selection { background: var(--accent); color: var(--on-accent); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.shell {
  width: 100%; max-width: var(--shell); margin-inline: auto;
  padding-inline: clamp(1.2rem, 4.5vw, 2.4rem);
}

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  text-wrap: balance;
}
p { text-wrap: pretty; }

.skip {
  position: absolute; left: -999px; top: 0; z-index: var(--z-skip);
  background: var(--paper); color: var(--on-paper);
  padding: .7em 1.1em; font-weight: 600; font-size: .9rem; border-radius: 0 0 var(--r) 0;
}
.skip:focus { left: 0; }

:where(a, button, input, [tabindex]):focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Agate: the small tracked-caps label. Used sparingly, not on every section. */
.eyebrow {
  font-size: .72rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted);
  font-feature-settings: "tnum" 1;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font: inherit; font-weight: 600; font-size: .98rem; letter-spacing: -0.01em;
  padding: .82em 1.35em; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: background-color .3s var(--ease-out), color .3s var(--ease-out),
    border-color .3s var(--ease-out), transform .3s var(--ease-out), opacity .3s;
}
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-line {
  background: transparent; color: var(--text); border-color: var(--line-2);
}
.btn-line:hover { border-color: var(--accent-2); color: var(--accent-2); }
.btn-text {
  padding: .82em .2em; color: var(--muted); border-radius: 4px;
}
.btn-text:hover { color: var(--accent-2); }
.btn-text .arrow { transition: transform .3s var(--ease-out); }
.btn-text:hover .arrow { transform: translateY(3px); }

/* ============================================================
   Header / nav
   ============================================================ */
.top {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: color-mix(in srgb, var(--ink) 78%, transparent);
  border-bottom: 1px solid transparent;
  transition: background-color .4s var(--ease-out), border-color .4s var(--ease-out);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.top.scrolled {
  background: color-mix(in srgb, var(--ink) 92%, transparent);
  border-bottom-color: var(--line);
}
.top .shell {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 68px;
}
.wordmark {
  font-weight: 700; font-size: 1.18rem; letter-spacing: -0.03em;
  color: var(--text); display: inline-flex; align-items: baseline; gap: .5ch;
}
.wordmark-sub {
  font-size: .72rem; font-weight: 500; letter-spacing: .04em;
  color: var(--muted); text-transform: none;
}
.nav { margin-left: auto; display: flex; align-items: center; gap: clamp(.6rem, 2vw, 1.9rem); }
.nav a:not(.btn) {
  font-size: .92rem; font-weight: 500; color: var(--muted);
  letter-spacing: -0.005em; transition: color .25s var(--ease-out);
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--text); }
.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line-2); border-radius: 10px;
  color: var(--text); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 0 0 auto 0; top: 68px; z-index: var(--z-drawer);
    flex-direction: column; align-items: stretch; gap: 0;
    margin: 0; padding: .5rem clamp(1.2rem, 4.5vw, 2.4rem) 1.4rem;
    background: var(--ink-1); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .25s var(--ease-out), transform .25s var(--ease-out);
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a:not(.btn) { padding: .85rem 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 1rem; justify-content: center; }
}

/* ============================================================
   Section rhythm
   ============================================================ */
.band { padding-block: clamp(4.5rem, 11vw, 9rem); }
.band-tight { padding-block: clamp(3.2rem, 7vw, 5.5rem); }
.section-head { max-width: 40ch; margin-bottom: clamp(2rem, 5vw, 3.4rem); }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.15rem); }
.section-head p { margin-top: 1rem; color: var(--text-dim); font-size: 1.12rem; }
.lead-in { color: var(--muted); font-weight: 600; font-size: .82rem;
  letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1rem; }

/* ============================================================
   Hero — the lit page
   ============================================================ */
.hero {
  position: relative; padding-top: clamp(2rem, 6vw, 4.5rem); padding-bottom: clamp(3rem, 7vw, 5.5rem);
  overflow: clip;
  /* Earth-at-night backdrop, darkened toward the copy side so text stays crisp. */
  background-image:
    linear-gradient(90deg, #0a0a0b 0%, rgba(10, 10, 11, .78) 36%, rgba(10, 10, 11, .42) 100%),
    var(--hero-world);
  background-size: cover; background-position: right center; background-repeat: no-repeat;
}
/* Warm light the page throws into the room */
.hero::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  right: clamp(-6%, 8vw, 14%); top: 14%;
  width: min(70vw, 720px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle,
    rgba(var(--glow), .17) 0%, rgba(var(--glow), .07) 34%, transparent 66%);
  filter: blur(8px);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}
.hero-copy { max-width: 34rem; }
.hero-kicker { color: var(--muted); font-size: .82rem; font-weight: 500;
  letter-spacing: .04em; margin-bottom: 1.4rem; }
.hero h1 {
  font-size: clamp(2.9rem, 7.2vw, 5.4rem);
  letter-spacing: -0.035em; line-height: .98;
}
.soft { color: var(--accent-2); }   /* emphasis word: "ink." / "on your desk." */
.hero-sub {
  margin-top: 1.5rem; font-size: clamp(1.1rem, 1.8vw, 1.28rem);
  color: var(--text-dim); max-width: 30rem; line-height: 1.5;
}
.hero-cta { margin-top: 2.2rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.hero-agate {
  margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line);
  display: flex; gap: 1.8rem; flex-wrap: wrap; list-style: none;
  font-size: .82rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.hero-agate li { display: flex; align-items: center; gap: .6ch; }
.hero-agate li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-2); }

.hero-figure { position: relative; justify-self: center; }
.hero-figure img { width: min(100%, 460px); filter: drop-shadow(0 42px 60px rgba(0,0,0,.6)); }
/* The e-ink refresh flash, positioned over just the screen region of the cutout. */
.hero-screen {
  position: absolute; pointer-events: none; overflow: hidden;
  left: 8.4%; right: 7.9%; top: 6.2%; bottom: 12.7%;
  border-radius: 2px;
}
.hero-screen .sweep {
  position: absolute; inset: 0; opacity: 0;
  background: linear-gradient(180deg, transparent 0%,
    rgba(var(--glow), .5) 46%, rgba(var(--glow), .5) 54%, transparent 100%);
  background-size: 100% 220%;
}
.js .hero-screen .sweep { animation: einkRefresh 9s var(--ease-out) 3.5s infinite; }
@keyframes einkRefresh {
  0%, 84% { opacity: 0; background-position: 0 -60%; }
  85% { opacity: .0; background-position: 0 -60%; }
  88% { opacity: .9; }
  96% { opacity: .55; background-position: 0 160%; }
  100% { opacity: 0; background-position: 0 160%; }
}

/* Hero entrance: one orchestrated load. Only when JS is on (so no-JS sees
   content immediately); reduced-motion collapses the animation to instant. */
.js .hero .anim { opacity: 0; transform: translateY(14px); animation: heroIn .8s var(--ease-out-expo) forwards; }
.js .hero .hero-kicker.anim { animation-delay: .05s; }
.js .hero h1.anim { animation-delay: .14s; }
.js .hero .hero-sub.anim { animation-delay: .26s; }
.js .hero .hero-cta.anim { animation-delay: .36s; }
.js .hero .hero-agate.anim { animation-delay: .46s; }
.js .hero .hero-figure.anim { transform: translateY(0) scale(.985); opacity: 0; animation: heroFigIn 1.1s var(--ease-out-expo) .1s forwards; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
@keyframes heroFigIn { to { opacity: 1; transform: none; } }

/* ============================================================
   Turntable — the object in the round
   ============================================================ */
.turntable { position: relative; }
.turntable .shell { display: grid; }
/* Base (no-JS / reduced-motion): a static row of the real angles. */
.turn-inner {
  display: grid; grid-template-columns: minmax(0, 24rem) 1fr; gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.turn-copy h2 { font-size: clamp(2rem, 4.4vw, 3.15rem); }
.turn-copy p { margin-top: 1rem; color: var(--text-dim); font-size: 1.12rem; }
.turn-copy .angle-count { margin-top: 1.6rem; color: var(--muted); font-size: .82rem;
  letter-spacing: .14em; text-transform: uppercase; }
.turn-stage {
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; align-items: end;
}
.turn-frame {
  width: clamp(120px, 17vw, 200px); filter: drop-shadow(0 22px 34px rgba(0,0,0,.55));
}
.turn-frame img { width: 100%; }

/* Enhanced (JS + motion allowed): pinned turntable, frames crossfade on scroll. */
.js-turntable { height: 275vh; }
.js-turntable .turntable-sticky {
  position: sticky; top: 0; height: 100vh; display: flex; align-items: center;
}
.js-turntable .turn-stage {
  position: relative; display: block; height: min(66vh, 560px);
}
.js-turntable .turn-frame {
  position: absolute; inset: 0; width: auto; height: 100%; margin-inline: auto;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .5s var(--ease-out);
}
.js-turntable .turn-frame img { height: 100%; width: auto; }
.js-turntable .turn-frame.active { opacity: 1; }
/* the light pool follows the pinned unit */
.js-turntable .turntable-sticky::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 50%;
  width: min(60vw, 620px); aspect-ratio: 1; transform: translate(-15%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--glow), .1) 0%, transparent 62%);
}

/* ============================================================
   Split sections (machined / anodised) with hairline callouts
   ============================================================ */
.split {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.8rem, 5vw, 4.5rem);
  align-items: center;
}
.split.flip .split-copy { order: 2; }
.split-copy { max-width: 34rem; }
.split-copy h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.split-copy p { margin-top: 1.1rem; color: var(--text-dim); }
.split-copy p + p { margin-top: .9rem; }
.spec-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.8rem; }
.spec-pills span {
  font-size: .8rem; font-weight: 500; letter-spacing: .01em; color: var(--text-dim);
  padding: .42em .9em; border: 1px solid var(--line-2); border-radius: 999px;
}
.split-follow { margin-top: 1.8rem; }

.media { position: relative; }
.media > img {
  width: 100%; filter: drop-shadow(0 34px 46px rgba(0,0,0,.55));
}
.media::before {   /* soft pool under each floating part */
  content: ""; position: absolute; z-index: -1; inset: 12% 6%;
  background: radial-gradient(ellipse at 50% 46%, rgba(var(--glow), .06) 0%, transparent 68%);
}
/* Callouts: a dot on the part, a hairline to a small label. Desktop overlay.
   A dark text-halo keeps the label legible even where it grazes bright metal. */
.callouts { list-style: none; }
.callout { font-size: .8rem; letter-spacing: .02em; color: var(--text-dim);
  text-shadow: 0 0 5px var(--ink), 0 0 11px var(--ink), 0 1px 2px rgba(0,0,0,.7); }
.callout b { display: block; color: var(--paper); font-weight: 600; letter-spacing: -0.01em; font-size: .92rem;
  text-shadow: 0 0 5px var(--ink), 0 0 11px var(--ink), 0 1px 2px rgba(0,0,0,.85); }
@media (min-width: 721px) {
  .callouts { position: absolute; inset: 0; pointer-events: none; }
  .callout {
    position: absolute; max-width: 12.5rem; padding-left: 1rem;
    top: var(--t, auto); left: var(--l, auto); right: var(--r, auto); bottom: var(--b, auto);
  }
  .callout::before {   /* connector line + dot */
    content: ""; position: absolute; left: 0; top: .5em;
    width: 1px; height: 1px;
    box-shadow: 0 0 0 3px var(--paper), 0 0 0 4.5px rgba(10, 10, 11, .55);
    border-radius: 50%;
  }
  .callout::after {
    content: ""; position: absolute; left: 3px; top: calc(.5em + 1px);
    width: var(--lead, 2.4rem); height: 1px; background: var(--line-2);
    transform-origin: left center;
  }
  .callout-r { text-align: right; padding-left: 0; padding-right: 1rem; }
  .callout-r::before { left: auto; right: 0; }
  .callout-r::after { left: auto; right: 3px; }
}
@media (max-width: 720px) {
  .callouts {
    margin-top: 1.4rem; display: grid; gap: .9rem 1.4rem;
    grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
  }
  .callout { position: relative; padding-left: 1rem; }
  .callout::before {
    content: ""; position: absolute; left: 0; top: .55em;
    width: 5px; height: 5px; border-radius: 50%; background: var(--paper-2);
  }
}

/* ============================================================
   The page, close up (§ front page) with anatomy labels
   ============================================================ */
.page-close { position: relative; overflow: clip; }
.page-stage {
  position: relative; max-width: 560px; margin-inline: auto;
}
.page-stage::before {
  content: ""; position: absolute; inset: -8% -12%; z-index: -1;
  background: radial-gradient(ellipse at 50% 44%, rgba(var(--glow), .12) 0%, transparent 66%);
}
.page-stage img {
  width: 100%; border-radius: 4px;
  box-shadow: 0 0 0 1px var(--line), 0 40px 70px rgba(0,0,0,.6),
    0 0 60px rgba(var(--glow), .06);
}
.page-anatomy { margin-top: 2.4rem; display: grid; gap: 1.4rem 2.4rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); max-width: 52rem; margin-inline: auto; }
.page-anatomy dt { font-weight: 600; color: var(--text); font-size: .98rem; display: flex; align-items: baseline; gap: .6ch; }
.page-anatomy dt .idx { color: var(--paper-2); font-size: .78rem; font-variant-numeric: tabular-nums; }
.page-anatomy dd { color: var(--muted); font-size: .92rem; margin-top: .25rem; }

/* ============================================================
   How it works — three steps
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 3.5vw, 2.6rem); counter-reset: step; }
.step { position: relative; padding-top: 2.6rem; border-top: 1px solid var(--line); }
.step .n {
  position: absolute; top: -.1rem; left: 0;
  font-size: 1rem; font-weight: 600; color: var(--paper-2); font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
}
.step h3 { font-size: 1.28rem; }
.step p { margin-top: .7rem; color: var(--text-dim); font-size: 1rem; }

/* ============================================================
   On the desk
   ============================================================ */
.desk .split-copy h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }

/* ============================================================
   Specs — the agate page, dotted leaders
   ============================================================ */
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(2rem, 6vw, 5rem); }
.specs dl { margin: 0; }
.spec-row {
  display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: .4rem;
  padding: 1.05rem 0; border-bottom: 1px solid var(--line);
}
.spec-row dt { color: var(--muted); font-size: .95rem; }
.spec-row .dots { border-bottom: 1px dotted var(--line-2); transform: translateY(-.28em); }
.spec-row dd { color: var(--text); font-weight: 500; font-size: .98rem; text-align: right; }

/* ============================================================
   Privacy promises — quiet two-column list (no cards)
   ============================================================ */
.promises {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.6rem, 4vw, 2.8rem) clamp(2rem, 6vw, 4.5rem);
  max-width: 60rem;
}
.promise { padding-top: 1.4rem; border-top: 1px solid var(--line); }
.promise h3 { font-size: 1.12rem; }
.promise p { margin-top: .55rem; color: var(--muted); font-size: .98rem; }
.promise-cta { margin-top: clamp(2rem, 5vw, 3rem); }

/* ============================================================
   Reserve — the quiet close
   ============================================================ */
.reserve-band {
  position: relative; overflow: clip;
  /* A wall of real Newsboard editions behind the close, vignetted dark toward
     the centre so the copy + form stay legible over the bright newsprint. */
  background-image:
    radial-gradient(ellipse 86% 98% at 50% 45%, rgba(10, 10, 11, .82) 0%, rgba(10, 10, 11, .34) 55%, rgba(10, 10, 11, .66) 100%),
    var(--news-wall);
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
/* Keep the close legible over the busy wall. */
.reserve h2, .reserve .maker, .reserve .eyebrow, .reserve-form .fineprint, .reserve-form .status {
  text-shadow: 0 1px 12px rgba(10, 10, 11, .9), 0 0 3px rgba(10, 10, 11, .8);
}
.reserve-band::before {
  content: ""; position: absolute; z-index: 0; inset: auto 0 -40% 0; height: 80%;
  background: radial-gradient(ellipse at 50% 100%, rgba(var(--glow), .06) 0%, transparent 62%);
  pointer-events: none;
}
.reserve { position: relative; z-index: 1; max-width: 34rem; margin-inline: auto; text-align: center; }
.reserve h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
.reserve .maker { margin-top: 1.2rem; color: var(--text-dim); font-size: 1.1rem; }
.reserve-form { margin-top: 2.2rem; }
.reserve-row { display: flex; gap: .7rem; }
.reserve-row input[type="email"] {
  flex: 1; min-width: 0; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--ink-2); border: 1px solid var(--line-2); border-radius: 999px;
  padding: .95em 1.3em;
  transition: border-color .25s var(--ease-out), background-color .25s;
}
.reserve-row input::placeholder { color: var(--muted); }
.reserve-row input:focus { outline: none; border-color: var(--paper); background: var(--ink-3); }
.reserve-form .fineprint { margin-top: 1rem; color: var(--muted); font-size: .84rem; }
.reserve-form .status { margin-top: 1rem; font-size: .95rem; font-weight: 500; display: none; }
.reserve-form.is-ok .ok, .reserve-form.is-err .err { display: block; }
.reserve-form.is-ok .fineprint, .reserve-form.is-err .fineprint { display: none; }
.reserve-form .ok { color: var(--accent-2); }
.reserve-form .err { color: var(--err); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.reserve-form.is-loading button { opacity: .6; pointer-events: none; }

/* ============================================================
   Footer
   ============================================================ */
footer { border-top: 1px solid var(--line); padding-block: clamp(2.6rem, 6vw, 4rem); }
footer .shell { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }
footer .wordmark { font-size: 1.05rem; }
footer .colophon { color: var(--muted); font-size: .88rem; max-width: 34ch; }
footer .meta { margin-left: auto; color: var(--muted); font-size: .84rem; }
/* Expand the tap area without shifting the inline layout (negative margin
   offsets the padding), so the link is comfortable to hit on touch. */
footer .meta a { color: var(--text-dim); display: inline-block; padding: .5em .35em; margin: -.5em -.35em; }
footer .meta a:hover { color: var(--text); }

/* ============================================================
   Long-form pages (Build Log + privacy) — shared prose
   ============================================================ */
.legal { max-width: 44rem; padding-block: clamp(3.5rem, 8vw, 6rem); }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-top: .6rem; }
.legal .updated, .legal .byline { color: var(--muted); font-size: .9rem; margin-top: 1rem; }
.legal h2 { font-size: 1.4rem; margin-top: 2.6rem; }
.legal h3 { font-size: 1.15rem; margin-top: 1.8rem; }
.legal p, .legal li { color: var(--text-dim); line-height: 1.72; max-width: 68ch; }
.legal p { margin-top: 1.05rem; }
.legal ul { margin-top: 1.05rem; padding-left: 1.2rem; }
.legal li { margin-top: .55rem; }
.legal li::marker { color: var(--paper-2); }
.legal a:not(.btn) { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, var(--accent-2) 45%, transparent); transition: text-decoration-color .25s; }
.legal a:not(.btn):hover { text-decoration-color: var(--accent-2); }
.legal strong { color: var(--text); font-weight: 600; }
.legal .hero-figure { margin: 2rem 0; }
.legal .hero-figure img { width: 100%; border-radius: var(--r); border: 1px solid var(--line); }
.legal .hero-figure figcaption, .legal figure figcaption {
  margin-top: .7rem; color: var(--muted); font-size: .86rem; }
.legal .back { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.legal .back a { color: var(--muted); text-decoration: none; }
.legal .back a:hover { color: var(--text); }

/* Build Log index */
.blog-head { max-width: 42rem; margin-bottom: clamp(2.4rem, 6vw, 4rem); }
.blog-head h1 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); margin-top: .8rem; }
.blog-head .lede { margin-top: 1.2rem; color: var(--text-dim); font-size: 1.18rem; }
.post-list { list-style: none; display: grid; gap: 0; }
.post-card { border-top: 1px solid var(--line); }
.post-card:last-child { border-bottom: 1px solid var(--line); }
.post-card a {
  display: grid; grid-template-columns: 9rem 1fr auto; gap: .4rem 2rem; align-items: baseline;
  padding: clamp(1.4rem, 3vw, 2rem) 0;
  transition: background-color .3s var(--ease-out);
}
.post-card a:hover { background: linear-gradient(90deg, transparent, var(--ink-1) 40%, transparent); }
.post-date { color: var(--muted); font-size: .86rem; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.post-card h2 { font-size: 1.4rem; letter-spacing: -0.02em; }
.post-excerpt { grid-column: 2; color: var(--text-dim); font-size: 1rem; margin-top: .5rem; max-width: 60ch; }
.post-more { grid-column: 2; color: var(--muted); font-size: .86rem; font-weight: 500; margin-top: .7rem; transition: color .25s; }
.post-card a:hover .post-more { color: var(--accent-2); }
.post-card a:hover h2 { color: var(--accent-2); }
@media (max-width: 680px) {
  .post-card a { grid-template-columns: 1fr; gap: .35rem; }
  .post-excerpt, .post-more { grid-column: 1; }
}

/* ============================================================
   Reveal motion (enhances an already-visible default)
   ============================================================ */
.reveal { opacity: 1; }              /* visible by default; JS opts in to animating */
/* Hidden ONLY once script.js confirms it ran (adds .reveals-armed) AND motion is
   allowed. If the script fails to load, reveals stay visible — never blank. */
.reveals-armed .reveal { opacity: 0; transform: translateY(18px); }
.reveals-armed .reveal.in { opacity: 1; transform: none;
  transition: opacity .7s var(--ease-out) var(--d, 0s), transform .7s var(--ease-out) var(--d, 0s); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: left; }
  .hero-copy { max-width: none; order: 2; }
  .hero-figure { order: 1; margin-bottom: 1rem; }
  .hero-figure img { width: min(78%, 360px); }
  .hero::before { top: 2%; right: -10%; }
  /* Darken the backdrop vertically on mobile so the stacked copy stays readable. */
  .hero {
    background-image:
      linear-gradient(180deg, rgba(10, 10, 11, .5) 0%, rgba(10, 10, 11, .9) 55%, #0a0a0b 100%),
      var(--hero-world);
    background-position: center top;
  }
}
@media (max-width: 760px) {
  .split, .split.flip .split-copy { grid-template-columns: 1fr; order: 0; }
  .split { gap: 2rem; }
  .split .media { order: -1; }
  .turn-inner { grid-template-columns: 1fr; gap: 2rem; }
  .specs { grid-template-columns: 1fr; }
  .promises { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { padding-top: 2.2rem; }
}
@media (max-width: 460px) {
  .reserve-row { flex-direction: column; }
  .reserve-row .btn { justify-content: center; }
  .hero-agate { gap: 1rem 1.4rem; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .reveals-armed .reveal { opacity: 1; transform: none; }
  .hero-screen { display: none; }
  /* turntable never enters pinned mode (JS also guards this) */
  .js-turntable { height: auto; }
  .js-turntable .turntable-sticky { position: static; height: auto; }
  .js-turntable .turn-stage { position: static; display: flex; height: auto; }
  .js-turntable .turn-frame { position: static; opacity: 1; width: clamp(120px,17vw,200px); height: auto; }
}
