/* ctrl+drift+delete: the album world. */

@font-face {
  font-family: 'Plex Mono';
  src: url('/assets/fonts/plex-mono-300.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Plex Mono';
  src: url('/assets/fonts/plex-mono-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Plex Mono';
  src: url('/assets/fonts/plex-mono-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Wordmark';
  src: url('/assets/fonts/courier-prime-700-wordmark.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  /* colour */
  --ground: #05070b;
  --deep: #0a1c38;
  --halo: rgba(20, 70, 130, 0.42);
  --text: #eef1f4;
  --muted: #9aa3b2;      /* 7.9:1 on the ground */
  --dim: #7f8898;        /* 5.6:1: inactive tracks, still AA */
  --teal: #5fe3e8;       /* 13:1 */
  --teal-soft: rgba(95, 227, 232, 0.12);
  --line: rgba(255, 255, 255, 0.14);
  --split-red: #e0323f;
  --split-cyan: #2fc8d8;
  --wordmark-ink: rgb(245, 248, 249);

  /* type: three sizes, one family, plus the wordmark */
  --mono: 'Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --fs-label: 12px;      /* column labels, footer, tracklist */
  --fs-small: 13px;      /* small print, tracklist */
  --fs-body: 15px;       /* controls, now playing */
  --track-label: 0.14em;

  /* space: one scale */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px;
  --gutter: clamp(16px, 3vw, 40px);
  --control: 48px;       /* height of every control in the band */
  --radius: 6px;
  --rule: 20px;          /* the band's shared bar row; tall enough to grab the progress bar */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100svh;
  color: var(--text);
  font: 400 var(--fs-body)/1.5 var(--mono);
  background: linear-gradient(to top, var(--ground) 0%, var(--ground) 35%, var(--deep) 100%);
  background-color: var(--ground);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; font: inherit; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ── shared text styles ── */
.label {
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: var(--track-label);
  color: var(--teal);
  line-height: 1.4;
}
.small { font-size: var(--fs-small); line-height: 1.6; color: var(--muted); }
.small a { color: var(--text); text-underline-offset: 3px; }
#consent a { white-space: nowrap; }         /* "privacy notice" stays on one line */

/* ── page frame: one screen on desktop, scrolling on mobile ── */
.page {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  min-height: 100svh;
}
@media (min-width: 1024px) and (min-height: 620px) {
  .home { height: 100svh; }
}

/* ── the field ── */
.field {
  position: relative;
  min-height: 60svh;
  overflow: hidden;
}
.field::before {                /* the halo: a gradient, not an image */
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 34% 46% at 50% 44%, var(--halo), transparent 70%);
  pointer-events: none;
}
.figure {
  position: absolute; left: 0; top: 2%;
  width: 100%; height: 96%;
  display: block;
}
.lyric {
  position: absolute; left: 0; top: 0;
  width: max-content;
  font-weight: 300;
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: var(--text);
  opacity: 0;
  transition: opacity 1.2s ease;
  pointer-events: none;
}
.lyric.on { opacity: 1; }
.lyric.instant { transition: none; }

/* ── the band: three columns sharing four rows (label · main · rule · small print) ── */
.band {
  display: grid;
  grid-template-columns: 22fr 39fr 39fr;   /* 22% · 39% · 39%: room for the tracklist on one line */
  grid-template-rows: auto var(--control) var(--rule) auto;
  column-gap: var(--s7);
  row-gap: var(--s3);
  padding: var(--s2) var(--gutter) var(--s5);
}
.col {
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
  align-content: start;
  min-width: 0;
}
.col > :nth-child(2) { align-self: center; }

/* lockup: the record first, echo//exit tight beneath it as a credit, then the
   small print. The wordmark carries the banner's red/cyan split at rest; a
   figure glitch widens it for an instant (see main.js). */
.lockup .wordmark {
  /* scales with its column (22% of the band less the two gaps): 17 characters
     at 0.6em each, with a little room. The band is the size container, so the
     lockup itself stays a subgrid and keeps its rows aligned. */
  font: 700 24px/1 'Wordmark', 'Courier New', monospace;
  letter-spacing: -0.01em;
  color: var(--wordmark-ink);
  white-space: nowrap;
  /* The split is 0.054 of the wordmark's ink height, not its font size: the
     ink of "ctrl+drift+delete" in this face is 0.676em tall, so 0.0365em. */
  --split: 0.0365em;
  text-shadow: calc(var(--split) * -1) 0 var(--split-red), var(--split) 0 var(--split-cyan);
}
.lockup .wordmark.glitch { --split: 0.055em; }
.lockup .credit {
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: var(--track-label);
  line-height: 1.4;
  color: var(--text);
}

/* buttons: one shape for every action in the band */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  height: var(--control); min-width: var(--control);
  padding: 0 var(--s4);
  border: 1px solid var(--teal);
  border-radius: var(--radius);
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 14px; font-weight: 500; letter-spacing: 0.06em;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn:hover { background: var(--teal); color: var(--ground); }
.btn:disabled { border-color: var(--line); background: transparent; color: var(--dim); cursor: default; }
.btn svg { width: 14px; height: 14px; flex: none; fill: currentColor; }

/* player */
.player-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--s4);
}
.play .i-pause { display: none; }
.player:is([data-state='playing'], [data-state='loading']) .play .i-play { display: none; }
.player:is([data-state='playing'], [data-state='loading']) .play .i-pause { display: block; }
.player:is([data-state='playing'], [data-state='loading'], [data-state='paused']) .play { padding: 0; width: var(--control); }
.play-label:empty { display: none; }

.now { font-size: var(--fs-body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.meta, .time { font-size: var(--fs-small); color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.player .now, .player .time { display: none; }
.player:not([data-state='rest']):not([data-state='unavailable']) :is(.now, .time) { display: block; }
.player:not([data-state='rest']):not([data-state='unavailable']) .meta { display: none; }
.player[data-state='unavailable'] .tracks { display: none; }

.detail { display: grid; gap: var(--s2); align-content: start; }
.player .detail { gap: 0; }                 /* tracklist and note run as one block, like the consent text */
.rule { position: relative; height: var(--rule); }
.scrub { cursor: pointer; touch-action: none; }
.rule::before, .scrub-fill {
  content: '';
  position: absolute; left: 0; right: 0; top: 50%;
  height: 2px; margin-top: -1px;
  background: var(--line);
}
.scrub-fill { background: var(--teal); transform-origin: left center; transform: scaleX(0); }

.tracklist { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; font-size: var(--fs-label); line-height: calc(var(--fs-small) * 1.6); }   /* same 20.8px rhythm as the other small print */
.tracklist li:not(:last-child)::after { content: '·'; color: var(--dim); padding: 0 0.35ch; }
.tracklist button {
  background: none; border: 0; padding: 0; cursor: pointer;
  font-size: var(--fs-label); line-height: inherit; color: var(--dim);
}
.tracklist button:hover { color: var(--text); }
.tracklist button[aria-current='true'] { color: var(--teal); }
/* The list is filled in when the track data arrives; hold its space from the
   start so nothing below it moves (layout shift budget: under 0.05). */
.tracklist:empty { min-height: calc(var(--fs-small) * 1.6); }

/* signup */
.signup form { display: flex; min-width: 0; }
.signup input[type='email'] {
  flex: 1; min-width: 0;
  height: var(--control);
  padding: 0 var(--s4);
  font: 400 16px var(--mono);           /* 16px stops iOS zooming in */
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-right: 0;
  border-radius: var(--radius) 0 0 var(--radius);
}
.signup input[type='email']::placeholder { color: var(--dim); }
/* Focus lights the field's own edge rather than drawing an outline around it,
   so the field and button stay one size (password-manager icons included). */
.signup input[type='email']:focus { outline: none; }
.signup input[type='email']:focus-visible,
.signup input[type='email']:focus {
  border-color: var(--teal);
  box-shadow: inset 0 0 0 1px var(--teal);
}
.signup input[aria-invalid='true'] { border-color: #ff9a9a; }
.signup .btn { border-radius: 0 var(--radius) var(--radius) 0; }
.signup .btn:disabled { opacity: 0.6; cursor: wait; color: var(--teal); border-color: var(--teal); }
.signup .trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.signup-error { color: #ffb4b4; }
.done { grid-row: 2 / span 3; align-self: start; outline: none; display: grid; gap: var(--s1); }
.done .line { font-size: var(--fs-body); }

/* The sleeve (phones only): elsewhere its wrappers step aside so the player
   stays part of the band, and the cover, its button and the back's extra
   lines don't show. */
.sleeve, .sleeve-card { display: contents; }
.sleeve-front, .listen-front, .back-head, .back-foot, .lyric-twin, .elsewhere .footer-social { display: none; }
.previews-note { margin-bottom: var(--s2); }

/* ── footer ── */
.footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: var(--s2) var(--s5);
  padding: var(--s3) var(--gutter) var(--s4);
  border-top: 1px solid var(--line);
  font-size: var(--fs-label);
  line-height: 1.6;
  color: var(--muted);
}
.footer a { color: var(--text); text-underline-offset: 3px; }
.elsewhere { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s5); }
.elsewhere ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.social { gap: var(--s1); margin-left: calc(var(--s2) * -1) !important; }
.social a {
  display: grid; place-items: center;
  width: 32px; height: 32px;            /* target size above the 24px minimum */
  color: var(--muted);
  border-radius: var(--radius);
  transition: color 0.2s;
}
.social a:hover { color: var(--text); }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.social li.text a { width: auto; padding: 0 var(--s2); font-size: var(--fs-label); letter-spacing: 0.04em; white-space: nowrap; text-decoration: none; }
/* Home page: the icons sit with the title (top-right on desktop, under the
   title on phones) rather than in the footer. */
.masthead-social { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.links li:not(:last-child)::after { content: '·'; padding: 0 0.7ch; color: var(--dim); }
.links a { color: var(--muted); text-decoration: none; }
.links a:hover, .links a[aria-current='page'] { color: var(--text); text-decoration: underline; }

/* ── desktop home: the title as a masthead top-left, the socials top-right,
      and the band split 50/50 between listening and signing up ── */
@media (min-width: 1024px) {
  .cover { position: relative; }
  .cover .band { grid-template-columns: 1fr 1fr; padding-top: var(--s4); }
  .cover .lockup {
    position: absolute; top: var(--s5); left: var(--gutter); z-index: 2;
    grid-row: auto; grid-template-rows: none; row-gap: var(--s1);
  }
  .cover .lockup .credit { margin-top: 2px; }
  .cover .lockup .small { line-height: 1.3; }
  .cover .lockup .credit + .small { margin-top: var(--s1); }

  /* Keep the hat clear of the top edge: the canvas starts below a margin that
     grows with the window's height, and shrinks to fit. */
  .cover .figure { top: calc(var(--s5) + 3svh); height: calc(98% - var(--s5) - 3svh); }

  /* The tracklist as a short numbered list in three columns, read left to
     right: 01 02 03, then 04 05. */
  .tracklist {
    display: grid; grid-auto-flow: row;
    grid-template-columns: repeat(3, max-content); column-gap: var(--s5);
    counter-reset: track; font-size: var(--fs-small); line-height: 1.4;
    margin-bottom: var(--s2);
  }
  .tracklist li { counter-increment: track; }
  .tracklist li:not(:last-child)::after { content: none; }
  .tracklist button {
    display: flex; align-items: center; gap: var(--s2);
    min-height: 24px; text-align: left;
    font-size: var(--fs-small); color: var(--muted);
  }
  .tracklist button::before { content: counter(track, decimal-leading-zero); color: var(--dim); font-size: var(--fs-label); letter-spacing: 0.06em; }
  .tracklist button:is(:hover, :focus-visible) { color: var(--text); }
  .tracklist button:is(:hover, :focus-visible)::before,
  .tracklist button[aria-current='true']::before { color: var(--teal); }
  .tracklist:empty { min-height: calc(2 * 24px); }
  .cover .masthead-social {
    position: absolute; top: calc(var(--s5) - 8px); right: calc(var(--gutter) - 8px); z-index: 2;
    margin: 0 !important; gap: var(--s2);
  }
  .cover .social a { width: 40px; height: 40px; }
  .cover .social svg { width: 24px; height: 24px; }
  /* A comfortable length for an email address, not the whole column. */
  .cover .signup form, .cover .signup .detail { max-width: 460px; }
}

/* ── narrow screens: stack and scroll ── */
@media (max-width: 1023px) {
  .figure { height: 78%; }          /* the space below it holds the lyric line */
  .band { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 0; padding: 0 var(--gutter); }
  .col { grid-row: auto; grid-template-rows: auto; row-gap: var(--s3); }
  .done { grid-row: auto; }
  .lockup .rule, .signup .rule { display: none; }

  /* Home page on phones: the title sits over the figure like an album cover,
     then the player and signup follow as separate sections. The markup order
     is unchanged; only the visual order moves. */
  .cover { display: flex; flex-direction: column; }
  .cover .band { display: contents; }
  .cover .lockup {
    order: -1;
    padding: var(--s4) var(--gutter) 0;
    justify-items: center; text-align: center;
    row-gap: 0;
  }
  .cover .lockup .wordmark { font-size: clamp(22px, 6.4vw, 28px); }
  .cover .lockup .credit { margin-top: var(--s1); }
  .cover .lockup .small { margin-top: 0; line-height: 1.35; }
  .cover .lockup .credit + .small { margin-top: var(--s2); }
  .cover .lockup .premise { max-width: 34ch; }
  .cover .masthead-social { order: -1; justify-content: center; gap: var(--s2); padding-top: var(--s3); margin-left: 0 !important; }
  .cover .masthead-social a { width: 44px; height: 44px; }
  .cover .masthead-social svg { width: 22px; height: 22px; }
  .cover .field { order: 0; min-height: 50svh; }
  .cover .player, .cover .signup {
    margin: 0 var(--gutter);
    padding: var(--s5) 0;
    border-top: 1px solid var(--line);
  }
  .cover .player { order: 1; }
  .cover .signup { order: 2; padding-bottom: var(--s6); }
  .cover .footer { order: 3; }

  /* The progress bar only appears once there is progress to show. */
  .player:is([data-state='rest'], [data-state='unavailable']) .scrub { display: none; }

  /* The tracklist as a numbered list with comfortable tap targets. */
  .tracklist { flex-direction: column; counter-reset: track; font-size: var(--fs-small); line-height: 1.4; margin-top: var(--s1); }
  .tracklist li { counter-increment: track; border-top: 1px solid rgba(255, 255, 255, 0.06); }
  .tracklist li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
  .cover .tracklist li:last-child { border-bottom: 0; }   /* the signup's rule is the one divider */
  .tracklist li:not(:last-child)::after { content: none; }
  .tracklist button {
    display: flex; align-items: center; gap: var(--s4);
    width: 100%; min-height: 44px; text-align: left;
    font-size: var(--fs-small);
  }
  .tracklist button::before { content: counter(track, decimal-leading-zero); color: var(--dim); font-size: var(--fs-label); letter-spacing: 0.06em; }
  .tracklist button[aria-current='true']::before { color: var(--teal); }
  .tracklist:empty { min-height: calc(5 * 45px + 1px); }   /* five 44px rows and their borders */
  .player .detail { gap: var(--s4); }

  /* Footer on phones: everything centred; the socials as a row of larger
     icons, the text links on a row beneath. */
  .footer { flex-direction: column; align-items: center; text-align: center; gap: var(--s4); padding-top: var(--s5); }
  .elsewhere { flex-direction: column; gap: var(--s2); }
  .elsewhere .social { gap: var(--s4); margin-left: 0 !important; }
  .elsewhere .social a { width: 44px; height: 44px; }
  .elsewhere .social svg { width: 26px; height: 26px; }
}

/* ── phones: the record sleeve. The cover and a listen button on the front,
      the player on the back; pressing listen plays the medley and turns the
      sleeve over. Below it the lyric line, the signup and the footer. Tablets
      and desktops keep the figure and the band. ── */
@media (max-width: 767px) {
  /* The title lines are on the cover itself. They stay in the page for
     screen readers and search. */
  .cover .lockup {
    position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
  .cover .masthead-social { display: none; }
  .cover .elsewhere .footer-social { display: flex; }

  /* The page's ground on phones: a little lighter at the top. */
  body { background: linear-gradient(to bottom, rgb(11, 18, 35) 0, rgb(6, 9, 18) 100svh) rgb(6, 9, 18); }

  /* The sleeve: one square card with a face on each side, lifted off the
     page (a drop shadow, a teal glow, a lit top edge and a faint sheen). */
  .sleeve { display: block; order: 0; padding: 20px 24px 0; perspective: 1400px; }
  .sleeve-card {
    display: grid; aspect-ratio: 1;
    transform-style: preserve-3d; transition: transform 600ms ease-in-out;
  }
  .sleeve.flipped .sleeve-card { transform: rotateY(180deg); }
  .sleeve-front, .cover .sleeve-back {
    grid-area: 1 / 1;
    position: relative;
    min-width: 0; min-height: 0;
    border-radius: 2px;
    backface-visibility: hidden; -webkit-backface-visibility: hidden;
    box-shadow:
      0 28px 40px -8px rgba(0, 0, 0, 0.85),
      0 0 70px rgba(60, 170, 190, 0.45),
      0 0 28px rgba(60, 170, 190, 0.25);
  }
  .sleeve-front { display: block; }
  .sleeve-front img { display: block; width: 100%; height: 100%; border-radius: 2px; }
  .sleeve-front::after, .cover .sleeve-back::after {
    content: '';
    position: absolute; inset: 0; z-index: 1;
    border-radius: 2px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 1px solid rgba(255, 255, 255, 0.07);
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.045) 30%, transparent 60%);
    pointer-events: none;
  }
  /* One control under the sleeve. Its label and look follow the face shown
     (see sleeve.js); its size and place never change. */
  .listen-front { display: flex; width: 100%; min-height: 56px; margin-top: 20px; font-size: 16px; }
  .listen-front :is(.i-play, .i-pause, .i-back) { display: none; }
  .listen-front:is([data-mode='listen'], [data-mode='again'], [data-mode='paused']) .i-play,
  .listen-front[data-mode='playing'] .i-pause,
  .listen-front[data-mode='back'] .i-back { display: block; }
  .listen-front .i-back { font-size: 18px; line-height: 1; }
  .listen-front .front-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  /* Secondary: an outline, no fill */
  .listen-front[data-mode='back'] { background: transparent; }
  .listen-front[data-mode='back']:hover { background: var(--teal-soft); color: var(--teal); }

  /* The back: the same square, dark, laid out like the back of a record. */
  .cover .sleeve-back {
    transform: rotateY(180deg);
    display: flex; flex-direction: column; gap: 8px;
    margin: 0; padding: 10px 14px 12px;
    border: 0;
    background: rgb(7, 10, 18);
  }
  .sleeve-back #listen-heading { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .sleeve-back .detail { display: contents; }
  .sleeve-back .back-head { order: 0; flex: none; display: flex; align-items: center; min-height: 28px; }
  .sleeve-back .tracks { order: 1; flex: 1 1 auto; min-height: 0; display: flex; }
  .sleeve-back .scrub { order: 2; flex: none; }
  .sleeve-back .player-row { order: 3; flex: none; align-self: stretch; }
  .sleeve-back [data-message] { order: 4; }
  .sleeve-back .previews-note { order: 5; }
  .sleeve-back .back-foot { order: 6; display: block; }
  .back-title { font-size: var(--fs-label); letter-spacing: var(--track-label); color: var(--text); }
  /* The tracklist fills the top half: larger type, rows spread evenly. */
  .sleeve-back .tracklist { flex: 1; display: flex; flex-direction: column; margin: 0; font-size: 15.6px; }
  .sleeve-back .tracklist li { flex: 1 1 0; display: flex; min-height: 0; }
  .sleeve-back .tracklist button { flex: 1; min-height: 0; font-size: 15.6px; }
  .sleeve-back .tracklist button::before { font-size: 13px; }
  .sleeve-back .tracklist:empty { min-height: 0; }
  .cover .player:is([data-state='rest'], [data-state='unavailable']) .scrub { display: block; }
  .sleeve-back .play { height: 40px; min-width: 40px; }
  .sleeve-back.player:is([data-state='playing'], [data-state='loading'], [data-state='paused']) .play { width: 40px; }
  /* The small print, pinned to the bottom edge as one block. */
  .sleeve-back .previews-note, .sleeve-back .back-foot {
    font-size: 11px; line-height: 1.3; letter-spacing: 0.04em; color: var(--dim); margin: 0;
  }
  .sleeve-back .previews-note { margin-top: 2px; }
  .sleeve-back .back-foot { margin-top: -2px; padding: 0; border: 0; }   /* 6px under the note */

  /* The lyric line, in the flow below the sleeve */
  .cover .figure, .cover .field::before { display: none; }
  .cover .field { order: 1; min-height: 0; overflow: visible; padding: var(--s5) var(--gutter); }
  /* Two lines in the same place, so one fades in as the other fades out. */
  .cover .field { display: grid; }
  .cover .lyric { grid-area: 1 / 1; display: block; position: static; width: auto; max-width: none !important; text-align: center !important; min-height: 3.2em; }
  .lyric.now { transition: none; }
  .cover .signup { order: 2; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ── inner pages (privacy, 404) ── */
.inner { max-width: 68ch; margin: 0 auto; padding: var(--s7) var(--gutter) var(--s6); }
.inner h1 { font-size: 22px; margin: 0 0 var(--s5); }
.inner h2 { font-size: var(--fs-body); font-weight: 500; margin: var(--s6) 0 var(--s2); color: var(--teal); letter-spacing: 0.04em; }
.inner p, .inner li { color: #d5dae1; line-height: 1.7; }
.inner p + p { margin-top: var(--s3); }
.inner a { color: var(--teal); }
.home-link { font-size: var(--fs-small); color: var(--muted); text-decoration: none; }
.home-link:hover { color: var(--text); }
.updated { margin-top: var(--s6) !important; }

/* ── 404 ── */
.lost-band { display: grid; justify-items: center; text-align: center; gap: var(--s2); padding: 0 var(--gutter) var(--s6); }
.lost-line { font-weight: 300; font-size: clamp(18px, 2.2vw, 24px); }
