/* detentdesigns.com. Detent's world: night, the 18 mm grid, hairlines and tick pairs, Detent's own
   lettering for DETENT, SLATE-01 and every big number, Barlow for words. One accent, Mandarin Orange, for every
   "your move". Every other colour is a real filament: Sunflower Yellow, Terracotta and Charcoal for Mod Revival.
   Controls take the shape of the D: square on the left, round on the right. */

@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("fonts/Barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url("fonts/Barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("fonts/Barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-display: swap; src: url("fonts/Barlow-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 500; font-display: swap; src: url("fonts/BarlowSemiCondensed-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 600; font-display: swap; src: url("fonts/BarlowSemiCondensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 700; font-display: swap; src: url("fonts/BarlowSemiCondensed-700.woff2") format("woff2"); }

:root {
  --night: #060607;              /* the film's own dark: the page and the 3D meet with no edge */
  --night-2: #101012;
  --ink: #0b0b0c;                /* text on Mandarin */
  --white: #f4f4f2;
  --mandarin: #f99963;           /* Mandarin Orange: the one accent, for every "your move" */
  --mandarin-up: color-mix(in oklch, var(--mandarin) 82%, white);
  --sun: #fec600; --terra: #b15533; --char: #3c3d40;
  --film-paper: #f1ece2;         /* the trick run's own warm paper: inside its frame only */

  --cond: "Barlow Semi Condensed", "Barlow", system-ui, sans-serif;
  --sans: "Barlow", system-ui, sans-serif;
  --t-label: 0.8125rem;
  --t-body: clamp(1rem, 0.96rem + 0.18vw, 1.0625rem);
  --t-lead: clamp(1.0625rem, 0.98rem + 0.4vw, 1.3125rem);
  --t-3: clamp(1.375rem, 1.1rem + 1.1vw, 2rem);
  --t-4: clamp(2rem, 1.25rem + 3vw, 4.25rem);
  --t-5: clamp(2.6rem, 1.4rem + 5vw, 6rem);
  --gutter: clamp(1rem, 0.4rem + 3vw, 3.5rem);
  --bar-h: 4rem;
  --d-r: 0.95rem;                /* the D's one outer radius, on controls */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --snap: cubic-bezier(0.34, 1.42, 0.5, 1);   /* a magnet catching: a small overshoot, then home */

  color-scheme: dark;
  interpolate-size: allow-keywords;
  text-wrap: pretty;
  overflow-wrap: break-word;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-padding-block-start: calc(var(--bar-h) + 1rem);
  scrollbar-color: color-mix(in oklch, var(--white) 26%, transparent) var(--night);
  background: var(--night);
}
@media (max-width: 47.99rem) { :root { --bar-h: 3.5rem; } }
@media (hover: hover) and (pointer: fine) { html { overscroll-behavior-y: none; } }

*, *::before, *::after { box-sizing: border-box; min-width: 0; }
body {
  margin: 0; min-height: 100svh;
  font: 400 var(--t-body)/1.55 var(--sans);
  color: var(--fg); background: var(--night);
  caret-color: var(--mandarin);
}
h1, h2, h3, h4 { text-wrap: balance; margin: 0; }
p { margin: 0; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a, button, [role="button"] { touch-action: manipulation; }
button { font: inherit; color: inherit; }
input { font: inherit; font-size: max(16px, 1rem); }
::selection { background: var(--mandarin); color: var(--ink); }
:focus-visible { outline: max(2px, 0.08em) solid currentColor; outline-offset: 0.25em; }

/* one world: the night, on every section and every page, so the bar never changes (Kyler, 2026-10-19) */
:root {
  color-scheme: dark;
  --fg: var(--white);
  --fg-2: color-mix(in oklch, var(--white) 70%, transparent);
  --fg-3: color-mix(in oklch, var(--white) 46%, transparent);
  --rule: color-mix(in oklch, var(--white) 14%, transparent);
  --rule-2: color-mix(in oklch, var(--white) 26%, transparent);
  --field: color-mix(in oklch, var(--white) 6%, transparent);
  --ground: var(--night);
}

[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip {
  position: fixed; inset-block-start: 0.75rem; inset-inline-start: 0.75rem; z-index: 100;
  padding: 0.6rem 1rem; background: var(--mandarin); color: var(--ink); font-weight: 600; text-decoration: none;
  transform: translateY(-200%);
}
.skip:focus-visible { transform: none; }

/* labels: small capitals in the condensed face */
.title-series, .facts dt, .specs-list dt, .shot span, .bout-meta, .rail span {
  font-family: var(--cond); font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase;
}

/* ---------------------------------------------------------------------------------------- the D-shaped controls */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-block-size: 3.25rem; padding-inline: 1.4rem 1.6rem;
  border: 0; border-radius: 0 var(--d-r) var(--d-r) 0;
  font: 700 1rem/1 var(--cond); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; user-select: none; white-space: nowrap;
}
.btn-go { background: var(--mandarin); color: var(--ink); }
.btn:active { transform: scale(0.97); }
.btn[disabled], .btn[aria-busy="true"] { opacity: 0.6; cursor: progress; }
@media (hover: hover) and (pointer: fine) { .btn-go:hover { background: var(--mandarin-up); } }
@media (prefers-reduced-motion: no-preference) { .btn { transition: background-color 160ms var(--ease-out), transform 140ms var(--ease-out); } }
.btn-go:focus-visible { outline-color: var(--fg); }

.join { display: grid; grid-template-columns: minmax(0, 1fr) auto; max-inline-size: 30rem; }
.join input {
  min-block-size: 3.25rem; padding-inline: 1rem;
  background: var(--field); color: var(--fg);
  border: 1px solid var(--rule-2); border-inline-end: 0; border-radius: 0;
}
.join input::placeholder { color: color-mix(in oklch, var(--fg) 58%, transparent); }
.join input:focus-visible { outline: 2px solid var(--mandarin); outline-offset: -2px; }
.join input:user-invalid { border-color: var(--mandarin); }
.join-msg { grid-column: 1 / -1; min-block-size: 0; font-size: 0.9375rem; color: var(--fg-2); }
.join-msg:not(:empty) { margin-block-start: 0.65rem; }
.join[data-state="ok"] input, .join[data-state="ok"] button { display: none; }
.join[data-state="ok"] .join-msg { margin: 0; color: var(--fg); font-weight: 500; }

/* ---------------------------------------------------------------------------------------- the bar */
.bar {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 50;
  display: flex; align-items: center; gap: 2rem;
  block-size: calc(var(--bar-h) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) var(--gutter) 0;
  color: var(--fg);
  border-block-end: 1px solid transparent;
}
.bar::before {                    /* the bar's ground: always there, so the film starts under the bar, not behind it */
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ground);
}
.bar { border-block-end-color: var(--rule); }
@media (prefers-reduced-motion: no-preference) {
  .bar::before { transition: background-color 240ms var(--ease-out); }
  .bar { transition: color 240ms var(--ease-out), border-color 240ms var(--ease-out), opacity 600ms var(--ease-out); }
}
.brand { display: flex; align-items: center; gap: 0.7rem; color: inherit; text-decoration: none; flex: none; }
.brand svg { fill: currentColor; block-size: 1.375rem; inline-size: auto; flex: none; }
.brand .brand-word { block-size: 0.875rem; }
/* the product on show, named in the bar: SLATE-01 in Detent's lettering, and what it is */
.bar-sep { flex: none; inline-size: 1px; block-size: 1.9rem; margin-inline: -0.75rem; background: var(--rule-2); }
.product { display: grid; gap: 0.36rem; flex: none; margin: 0; color: var(--fg); }
.product-word { display: block; block-size: 1.125rem; inline-size: auto; fill: currentColor; }
.product-what { font: 600 0.6875rem/1 var(--cond); letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-2); white-space: nowrap; }
.bar-nav { display: flex; gap: 1.75rem; margin-inline-start: auto; }
.bar-nav a {
  position: relative; color: var(--fg-2); text-decoration: none;
  font: 600 0.875rem/1 var(--cond); letter-spacing: 0.08em; text-transform: uppercase;
}
.bar-nav a::after {               /* a hairline under the section in view */
  content: ""; position: absolute; inset-inline: 0; inset-block-end: -0.55rem; block-size: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
}
.bar-nav a[aria-current="true"] { color: var(--fg); }
.bar-nav a[aria-current="true"]::after { transform: none; }
@media (prefers-reduced-motion: no-preference) { .bar-nav a::after { transition: transform 300ms var(--ease-out); } }
@media (hover: hover) and (pointer: fine) { .bar-nav a:hover { color: var(--fg); } }
.bar-cta { min-block-size: 2.5rem; padding-inline: 1rem 1.2rem; font-size: 0.875rem; }
@media (max-width: 79.99rem) { .bar-nav { gap: 1.4rem; } }   /* seven links and the product name, on a smaller laptop */
@media (max-width: 71.99rem) {
  .bar-nav { display: none; }
  .bar-cta { margin-inline-start: auto; }
}
@media (max-width: 47.99rem) {
  .bar { gap: 1.25rem; }
  .bar-sep { margin-inline: -0.35rem; block-size: 1.6rem; }
  .product { gap: 0.3rem; }
  .product-word { block-size: 0.95rem; }
  .product-what { font-size: 0.5625rem; letter-spacing: 0.12em; }
  .bar-cta { padding-inline: 0.8rem 0.95rem; font-size: 0.8125rem; }
}
@media (max-width: 30rem) { .brand .brand-word { display: none; } }

/* ---------------------------------------------------------------------------------------- the rail */
/* The slider's ticks, down the right edge: one pair for every stop of the page */
.rail {
  position: fixed; inset-inline-end: calc(var(--gutter) * 0.6); inset-block-start: 50%; z-index: 40;
  display: flex; flex-direction: column; gap: 0.95rem; transform: translateY(-50%);
  color: var(--white); mix-blend-mode: difference;
}
.rail a { position: relative; display: block; inline-size: 1.25rem; block-size: 0.75rem; color: inherit; text-decoration: none; }
.rail i {                         /* a tick pair */
  position: absolute; inset-block: 0; inset-inline-end: 0; inline-size: 7px;
  border-inline: 1.5px solid currentColor; opacity: 0.38; transform-origin: right center;
}
.rail a[aria-current="true"] i { opacity: 1; transform: scaleY(1.6); }
.rail span {
  position: absolute; inset-inline-end: 1.6rem; inset-block-start: 50%; translate: 0 -50%;
  font-size: 0.6875rem; white-space: nowrap; opacity: 0; pointer-events: none;
}
.rail a:hover span { opacity: 0.85; }
@media (prefers-reduced-motion: no-preference) {
  .rail i { transition: transform 360ms var(--snap), opacity 240ms var(--ease-out); }
  .rail span { transition: opacity 240ms var(--ease-out); }
}
@media (max-width: 59.99rem) { .rail { display: none; } }

/* ---------------------------------------------------------------------------------------- the opening */
html[data-act="opening"] { overflow: hidden; }
html[data-act="opening"] .bar,
html[data-act="opening"] .rail,
html[data-act="opening"] .hero-copy > *,
html[data-act="opening"] .cue { opacity: 0; visibility: hidden; }
#doors, #mark, #beam { display: none; }
html[data-act="opening"] #doors, html[data-act="opening"] #mark, html[data-act="opening"] #beam { display: block; }
#doors { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
#doors .door { position: absolute; inset-inline: 0; block-size: 50.2%; background: var(--night); will-change: transform; }
#doors .top { inset-block-start: 0; }
#doors .bot { inset-block-end: 0; }
#mark {
  position: absolute; inset-inline-start: 50%; inset-block-start: 50%; z-index: 4;
  inline-size: min(34svh, 52vw); block-size: auto; aspect-ratio: 1.24 / 2.8;
  transform: translate(-50%, -50%); overflow: visible; pointer-events: none;
}
#mark path { fill: var(--white); }
#mark g { transform-box: view-box; }
#markUp, #markDown, #markWord { opacity: 0; }
#beam { position: absolute; inset-inline: 0; inset-block-start: 50%; block-size: 0; z-index: 4; pointer-events: none; }
#beam i {
  position: absolute; inset-inline-start: 50%; inset-block-start: -0.75px; block-size: 1.5px; inline-size: 100vw;
  transform: translateX(-50%) scaleX(0);
  background: linear-gradient(to right, transparent, #e9e6e0 18%, #ffffff 50%, #e9e6e0 82%, transparent);
}

/* ---------------------------------------------------------------------------------------- the stage */
.story { position: relative; background: var(--night); }
.stage {
  position: sticky; inset-block-start: 0; block-size: 100svh; overflow: clip; z-index: 0;
  background: var(--night);
}
.stage canvas { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; opacity: 0; }
@media (prefers-reduced-motion: no-preference) { .stage canvas { transition: opacity 500ms var(--ease-out); } }
.stage .poster {
  position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; opacity: 0;
  filter: brightness(0.5) saturate(0.95);
}
html:not(.js) .stage .poster, .stage.no3d .poster { opacity: 1; }
/* shade behind the words: from the left on a wide screen, from below on a tall one; gone as the lights come up */
.shade {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  opacity: calc(1 - var(--lit, 0));
  background: linear-gradient(to right, rgb(6 6 7 / 0.72) 0%, rgb(6 6 7 / 0.38) 30%, rgb(6 6 7 / 0) 56%);
}
@media (max-aspect-ratio: 9 / 10) {
  .shade { background: linear-gradient(to top, rgb(6 6 7 / 0.9) 0%, rgb(6 6 7 / 0.55) 32%, rgb(6 6 7 / 0) 58%),
                       linear-gradient(to bottom, rgb(6 6 7 / 0.55) 0%, rgb(6 6 7 / 0) 22%); }
}
#ruler { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
#ruler svg { position: absolute; block-size: 0.75rem; inline-size: auto; transform: translate(-50%, 0); fill: var(--white); overflow: visible; }
/* the reveal's callouts: a hairline from the slider to a short label, one feature at a time */
#callouts { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
#callouts .leads { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; overflow: visible; }
#callouts line { stroke: var(--white); stroke-width: 1; stroke-opacity: 0.75; }
#callouts circle { fill: none; stroke: var(--white); stroke-width: 1.5; }
.call {
  position: absolute; inset-block-start: 0; inset-inline-start: 0; display: grid; gap: 0.25rem;
  max-inline-size: 15rem; padding: 0.7rem 0.9rem; opacity: 0;
  background: rgb(6 6 7 / 0.78); border: 1px solid rgb(244 244 242 / 0.18);
}
.call b { font: 700 1rem/1.1 var(--cond); letter-spacing: 0.05em; text-transform: uppercase; color: var(--white); }
.call span { font-size: 0.875rem; line-height: 1.4; color: rgb(244 244 242 / 0.78); }
@media (max-aspect-ratio: 9 / 10) {
  .call { max-inline-size: 10.5rem; padding: 0.5rem 0.65rem; }
  .call b { font-size: 0.875rem; }
  .call span { font-size: 0.8125rem; }
}
#debug { position: absolute; inset-block-end: 0.5rem; inset-inline-start: 0.5rem; z-index: 9; font: 12px/1 ui-monospace, monospace; color: var(--mandarin); }

.beats { position: relative; z-index: 2; margin-block-start: -100svh; }

/* ---------------------------------------------------------------------------------------- the hero */
.hero {
  position: relative; min-block-size: 100svh;
  display: grid; align-content: center;
  padding: calc(var(--bar-h) + 2rem) var(--gutter) 5rem;
}
.hero { --tw: min(37rem, 35vw); }
.hero-copy { display: grid; justify-items: start; max-inline-size: max(min(36rem, 44vw), var(--tw)); opacity: var(--o, 1); }
.hero .cue { opacity: var(--o, 1); }
.title { display: grid; gap: 0.04em; inline-size: var(--tw); font-size: calc(var(--tw) * 0.164); }
.title-word { inline-size: 100%; block-size: auto; fill: var(--fg); }
.title-look {
  font: 700 1em/0.9 var(--cond); letter-spacing: 0.012em; text-transform: uppercase;
  color: var(--fg); margin-block-start: 0.08em;
}
.title-series {                   /* one line under the name, parted by a hairline: as the lid's text runs */
  display: flex; align-items: center; gap: 0.9rem; inline-size: var(--tw); margin-block-start: 1.1rem;
  font-size: var(--t-label); color: var(--fg-2);
}
.title-series::after { content: ""; order: 1; flex: 1; block-size: 1px; background: var(--rule-2); }
.title-series span { order: 2; color: var(--fg); }
.verbs {
  position: relative; display: flex; gap: 0.55em; margin-block-start: clamp(1.6rem, 3.5svh, 2.6rem);
  font: 700 var(--t-3)/1 var(--cond); letter-spacing: 0.01em;
}
.verbs [data-verb] { color: var(--fg-3); }
.verbs [data-verb].on { color: var(--fg); }
html:not(.js) .verbs [data-verb], .verbs.still span { color: var(--fg); }
.verb-tick {                      /* a tick pair under the verb in motion */
  position: absolute; inset-block-start: calc(100% + 0.5rem); inset-inline-start: 0;
  inline-size: 7px; block-size: 0.6rem; border-inline: 2px solid var(--mandarin);
  translate: var(--x, 0) 0; opacity: var(--tick-o, 0);
}
@media (prefers-reduced-motion: no-preference) {
  .verbs [data-verb] { transition: color 280ms var(--ease-out); }
  .verb-tick { transition: translate 520ms var(--snap), opacity 300ms var(--ease-out); }
}
.deck { margin-block-start: 1.6rem; max-inline-size: 34ch; font-size: var(--t-lead); line-height: 1.45; color: var(--fg-2); }
.hero .join { margin-block-start: 1.6rem; inline-size: min(30rem, 100%); }
.status { display: flex; align-items: center; gap: 0.7rem; margin-block-start: 1rem; font: 500 0.9375rem/1.3 var(--sans); color: var(--fg-2); }
.status::before { content: ""; inline-size: 6px; block-size: 0.7rem; border-inline: 1.5px solid var(--mandarin); flex: none; }

/* the hero's words arrive after the opening, one after another */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *, .cue { transition: opacity 700ms var(--ease-out), translate 900ms var(--ease-out), visibility 0s; transition-delay: calc(var(--i, 0) * 110ms); }
  html[data-act="opening"] .hero-copy > *, html[data-act="opening"] .cue { translate: 0 0.9rem; }
}
.hero-copy > :nth-child(1) { --i: 0; } .hero-copy > :nth-child(2) { --i: 1; } .hero-copy > :nth-child(3) { --i: 2; }
.hero-copy > :nth-child(4) { --i: 3; } .hero-copy > :nth-child(5) { --i: 4; } .hero-copy > :nth-child(6) { --i: 5; }
.cue { --i: 7; }

.cue {
  position: absolute; inset-block-end: 1.6rem; inset-inline-start: 50%; translate: -50% 0;
  display: grid; justify-items: center; gap: 0.6rem; color: var(--fg-2); text-decoration: none;
  font: 600 0.75rem/1 var(--cond); letter-spacing: 0.12em; text-transform: uppercase;
}
.cue i { inline-size: 1px; block-size: 2.4rem; background: linear-gradient(var(--fg-2), transparent); }
@media (hover: hover) and (pointer: fine) { .cue:hover { color: var(--fg); } }

/* the verbs are buttons: press one and the slider does that trick; the line under them says what it gives */
.verbs [data-verb] { padding: 0; border: 0; background: none; font: inherit; letter-spacing: inherit; cursor: pointer; }
.verbs [data-verb]:active { transform: scale(0.97); }
.verbs [data-verb]:focus-visible { outline-offset: 0.15em; }
@media (hover: hover) and (pointer: fine) { .verbs [data-verb]:not(.on):hover { color: var(--fg-2); } }
.trick { margin-block-start: 1.6rem; max-inline-size: 34ch; min-block-size: 2.9em; font: 500 var(--t-lead)/1.45 var(--sans); color: var(--fg); }
.hero .trick + .deck { margin-block-start: 0.6rem; font-size: var(--t-body); }

/* ---------------------------------------------------------------------------------------- the lead */
/* The film is the first thing anyone sees, under the bar (never behind it). On a wide screen the lead is as tall as the
   film, so the film fills it and the next section shows below; on a tall screen the film keeps its whole frame, and the
   buttons sit under it. */
.lead {
  --top: calc(var(--bar-h) + env(safe-area-inset-top, 0px));
  position: relative; margin-block-start: var(--top); block-size: min(calc(100svh - var(--top)), 56.25vw); min-block-size: 20rem;
  background: var(--night); overflow: clip;
}
.lead-film { position: absolute; inset: 0; display: block; inline-size: 100%; block-size: 100%; object-fit: contain; background: var(--night); }
.lead-foot {
  position: absolute; z-index: 2; inset-inline-end: var(--gutter); inset-block-end: clamp(1rem, 3.2vh, 2.25rem);
  display: flex; align-items: center; gap: 0.75rem;
}
.lead-meta { margin-inline-end: 0.75rem; font: 600 var(--t-label)/1 var(--cond); letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-2); }
.lead-pause {
  display: grid; place-items: center; inline-size: 3.25rem; block-size: 3.25rem; padding: 0; cursor: pointer;
  border: 1px solid var(--rule-2); background: rgb(6 6 7 / 0.55); color: var(--white);
}
.lead-pause svg { inline-size: 1.05rem; block-size: 1.05rem; fill: currentColor; }
.lead-pause .i-play, .lead-pause[data-state="paused"] .i-pause { display: none; }
.lead-pause[data-state="paused"] .i-play { display: block; }
.lead-pause:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) { .lead-pause:hover { border-color: var(--white); } }
.film-play {
  position: absolute; inset: 0; z-index: 2; margin: auto; display: grid; place-items: center;
  inline-size: 4.75rem; block-size: 4.75rem; padding: 0; border: 0; border-radius: 0 1.25rem 1.25rem 0;
  background: var(--mandarin); color: var(--ink); cursor: pointer;
}
.film-play svg { inline-size: 1.7rem; block-size: 1.7rem; fill: currentColor; }
.film-play:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) { .film-play:hover { background: var(--mandarin-up); } }
@media (max-aspect-ratio: 1 / 1) {
  .lead { block-size: calc(100svh - var(--top)); }
  .lead-film { inset-block-end: 5.25rem; }
  .lead-foot { inset-inline: var(--gutter); inset-block-end: 1rem; }
  .lead-meta { display: none; }
  .lead-foot .btn { flex: 1; }
}

/* ---------------------------------------------------------------------------------------- the tricks */
/* The live 3D in a frame, and the verbs that drive it beside it: press one and the slider does that trick */
.tricks { background: var(--night); color: var(--fg); padding: clamp(3.5rem, 8vw, 7rem) var(--gutter); border-block-start: 1px solid var(--rule); }
.tricks-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 4.5vw, 5rem); }
.tricks-stage {
  position: relative; aspect-ratio: 16 / 11; max-block-size: calc(100svh - var(--bar-h) - 4rem);
  background: var(--night); border: 1px solid var(--rule); overflow: clip;
}
.tricks-stage .stage { position: absolute; inset: 0; block-size: auto; }
.tricks-stage .stage:not(.live):not(.no3d) .poster { opacity: 0.9; filter: none; }
.tricks-side { --tw: min(28rem, 32vw); display: grid; justify-items: start; }
.tricks-side .title { inline-size: var(--tw); font-size: calc(var(--tw) * 0.164); }
.tricks-side .join { margin-block-start: 1.6rem; inline-size: min(30rem, 100%); }
.tricks-side .btn-buy { margin-block-start: 1.6rem; inline-size: auto; min-inline-size: min(22rem, 100%); }
@media (max-width: 59.99rem) {
  .tricks-grid { grid-template-columns: 1fr; }
  .tricks-stage { aspect-ratio: 4 / 5; max-block-size: 72svh; }
  .tricks-side { --tw: min(22rem, 80vw); }
}

/* ---------------------------------------------------------------------------------------- the trick run */
/* The run: the words, and the film beside them (under them on a phone). The film is a drawing on its own warm
   paper, so it sits in a hairline frame, a print on the page. It plays by itself while it is on the screen. Its pause
   button sits under it, clear of the film's own captions. The film and its caption row fit in one screen. */
.run {
  --run-pad: clamp(4rem, 8vw, 8rem);
  padding: var(--run-pad) var(--gutter) 0;
  /* a link to the run lands on the film, so the film and its caption row are all on the screen */
  scroll-margin-block-start: calc(0.5rem - var(--run-pad));
}
.run-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr); align-items: center; gap: clamp(2rem, 4.5vw, 5rem);
  padding-block-end: var(--run-pad); border-block-end: 1px solid var(--rule);
}
.run-words h2 { font: 700 var(--t-5)/0.92 var(--cond); letter-spacing: -0.01em; }
.run-deck { margin-block-start: 1.4rem; max-inline-size: 34ch; font-size: var(--t-lead); line-height: 1.45; color: var(--fg-2); }
.run-gain { margin-block-start: 1rem; max-inline-size: 34ch; font: 500 var(--t-lead)/1.45 var(--sans); color: var(--fg); }
.run-figure { margin: 0; justify-self: end; inline-size: min(100%, (100svh - var(--bar-h) - 6rem) * 16 / 9); }
.run-frame { position: relative; aspect-ratio: 16 / 9; background: var(--film-paper); color: var(--ink); border: 1px solid var(--rule); overflow: clip; }   /* Ink on the frame's paper */
.run-film { position: absolute; inset: 0; display: block; inline-size: 100%; block-size: 100%; object-fit: cover; }
.run[data-cut="tall"] .run-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
.run[data-cut="tall"] .run-figure { justify-self: end; inline-size: min(100%, (100svh - var(--bar-h) - 6rem) * 9 / 16); }
.run[data-cut="tall"] .run-frame { aspect-ratio: 9 / 16; }
.run-cap {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-block-start: 0.75rem;
  font: 600 var(--t-label)/1 var(--cond); letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-2);
}
.run-pause, .loop-pause {
  display: grid; place-items: center; inline-size: 3.25rem; block-size: 3.25rem; padding: 0; cursor: pointer;
  border: 1px solid var(--rule-2); background: transparent; color: var(--fg);
}
.run-pause svg, .loop-pause svg { inline-size: 1.05rem; block-size: 1.05rem; fill: currentColor; }
.run-pause .i-play, .run-pause[data-state="paused"] .i-pause, .loop-pause .i-play, .loop-pause[data-state="paused"] .i-pause { display: none; }
.run-pause[data-state="paused"] .i-play, .loop-pause[data-state="paused"] .i-play { display: block; }
.run-pause:active, .loop-pause:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) { .run-pause:hover, .loop-pause:hover { border-color: var(--fg); } }
.run-play {
  position: absolute; inset: 0; z-index: 2; margin: auto; display: grid; place-items: center;
  inline-size: 4.75rem; block-size: 4.75rem; padding: 0; border: 0; border-radius: 0 1.25rem 1.25rem 0;
  background: var(--mandarin); color: var(--ink); cursor: pointer;
}
.run-play svg { inline-size: 1.7rem; block-size: 1.7rem; fill: currentColor; }
.run-play:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) { .run-play:hover { background: var(--mandarin-up); } }
@media (max-width: 59.99rem) {
  .run-grid { grid-template-columns: minmax(0, 1fr); }
  .run-figure { justify-self: start; }
}
@media (max-width: 39.99rem) {
  .run[data-cut="tall"] .run-grid { grid-template-columns: minmax(0, 1fr); }
  .run[data-cut="tall"] .run-figure { justify-self: start; }
}

/* ---------------------------------------------------------------------------------------- the beats */
.beat {
  position: relative; min-block-size: 115svh;
  display: grid; align-content: center;
  padding: var(--bar-h) var(--gutter);
}
.beat--lights { min-block-size: 85svh; }
.beat-copy {
  max-inline-size: min(31rem, 40vw);
  opacity: var(--o, 1); translate: 0 calc((1 - var(--o, 1)) * 1.5rem);
}
.beat h2 { font: 700 var(--t-4)/0.98 var(--cond); letter-spacing: -0.005em; }
/* the big numbers at collision scale: as wide as the column, out to the object */
.beat h2 .num { block-size: clamp(6rem, 1rem + 17vw, 20rem); inline-size: auto; fill: var(--fg); margin-block-end: 0.18em;
                margin-inline-start: calc(-1 * var(--gutter) - 0.045 * clamp(6rem, 1rem + 17vw, 20rem)); }
.beat h2 .gnum { position: relative; display: block; inline-size: fit-content; margin-block-end: 0.18em;
                 margin-inline-start: calc(-1 * var(--gutter) - 0.045 * clamp(6rem, 1rem + 17vw, 20rem)); }
.beats { overflow-x: clip; }
.beat h2 .gnum .num { margin: 0; }
.gnum .num:first-child { fill: color-mix(in oklch, var(--fg) 24%, transparent); }
.gnum .num-fill { position: absolute; inset: 0; clip-path: inset(0 calc((1 - var(--p, 1)) * 100%) 0 0); }
.beat p { margin-block-start: 1.2rem; max-inline-size: 38ch; font-size: var(--t-lead); line-height: 1.5; color: var(--fg-2); }
.beat .still { display: none; }
.no3d ~ .beats .beat .still, html:not(.js) .beat .still {
  display: block; inline-size: min(36rem, 100%); margin-block-start: 2rem; aspect-ratio: 3 / 2; object-fit: cover;
}

@media (max-aspect-ratio: 9 / 10) {
  .hero { align-content: stretch; padding-block-end: 2rem; }
  .hero-copy { max-inline-size: none; grid-template-rows: auto auto 1fr auto auto auto auto auto; min-block-size: calc(100svh - var(--bar-h) - 4rem); }
  .hero { --tw: min(22rem, 78vw); }
  .title-series { margin-block-start: 0.8rem; }
  .verbs { grid-row: 4; margin-block-start: 0; font-size: 1.5rem; }
  .trick { grid-row: 5; margin-block-start: 1.2rem; font-size: 1rem; }
  .deck { grid-row: 6; margin-block-start: 0.7rem; font-size: 0.9375rem; }
  .hero .join { grid-row: 7; margin-block-start: 1rem; }
  .status { grid-row: 8; }
  .cue { display: none; }
  .beat { align-content: end; padding-block-end: 6svh; min-block-size: 110svh; }
  .beat h2 .num { block-size: clamp(6rem, 32vw, 10.5rem); }
  .beat h2 .num, .beat h2 .gnum { margin-inline-start: calc(-1 * var(--gutter) - 0.045 * clamp(6rem, 32vw, 10.5rem)); }
  .beat h2 .gnum .num { margin-inline-start: 0; }
  .beat--lights { min-block-size: 55svh; }
  .beat-copy { max-inline-size: 34rem; }
  .beat h2 { font-size: clamp(1.9rem, 1.3rem + 3vw, 2.6rem); }
  .beat p { font-size: 1rem; margin-block-start: 0.8rem; }
}

/* ---------------------------------------------------------------------------------------- the reading sections */
.run, .gallery, .series, .specs, .faq { background: var(--night); color: var(--fg); }
.head { display: grid; gap: 0.8rem; margin-block-end: clamp(2rem, 4vw, 3.5rem); }
.head h2 { font: 700 var(--t-5)/0.92 var(--cond); letter-spacing: -0.01em; }
.head p { font-size: var(--t-lead); color: var(--fg-2); max-inline-size: 46ch; }

.gallery { padding: clamp(4rem, 8vw, 8rem) var(--gutter) clamp(5rem, 9vw, 9rem); }
.shots {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(0.5rem, 0.9vw, 0.875rem);
}
.shot { grid-column: span 4; }
.s-hero { grid-column: 1 / span 8; grid-row: 1 / span 2; }
.s-a { grid-column: 9 / span 4; grid-row: 1; }
.s-b { grid-column: 9 / span 4; grid-row: 2; }
.s-c { grid-column: 1 / span 4; grid-row: 4; }
.s-d { grid-column: 1 / span 4; grid-row: 5; }
.s-wide { grid-column: 5 / span 8; grid-row: 4 / span 2; }
.shot button {
  position: relative; display: block; inline-size: 100%; block-size: 100%; padding: 0; border: 0;
  background: #a9a9a7; cursor: zoom-in; overflow: clip;
}
.shot img { inline-size: 100%; block-size: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.s-hero img, .s-wide img { aspect-ratio: auto; }
.shot span {                      /* a night label, so the caption reads over any part of the render */
  position: absolute; inset-inline-start: 0.6rem; inset-block-end: 0.6rem; padding: 0.3rem 0.5rem 0.25rem;
  background: var(--night); font-size: 0.75rem; line-height: 1.2; color: var(--fg); text-align: start;
}
.shot button:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .shot img { transition: scale 600ms var(--ease-out); }
  @media (hover: hover) and (pointer: fine) { .shot button:hover img { scale: 1.025; } }
}
/* No tile shows the slider much bigger than it is, and the grid stops growing where it would grow taller than the
   screen. The viewer gives the detail. A small tile stays wide enough (about 13.5rem) for its caption on one line. */
@media (min-width: 48rem) and (max-width: 79.99rem) {
  .shots { max-inline-size: max(42rem, (100svh - 10rem) * 0.9); }
}
/* a wide screen: five columns and three rows across the full width, the whole gallery on one screen. A row is 3:2 to
   its column when the screen has the height. On a shorter screen the rows get shorter, and each render is cut a
   little at the top and bottom (to 1.85:1 at most) so the rows fit. */
@media (min-width: 80rem) {
  .gallery {
    container-type: inline-size;
    --g-pad: clamp(2rem, 4svh, 4rem);
    --g-gap: clamp(0.5rem, 0.9vw, 0.875rem);
    --g-head: calc(var(--t-5) * 0.92 + clamp(2rem, 4vw, 3.5rem));          /* the head on one line, and its margin */
    --g-w: 100cqw;
    --g-cell: calc((var(--g-w) - 4 * var(--g-gap)) / 5);
    --g-fit: calc((100svh - var(--bar-h) - 1rem - 2 * var(--g-pad) - var(--g-head) - 2 * var(--g-gap)) / 3);
    padding-block: var(--g-pad);
  }
  .gallery .head { grid-template-columns: auto minmax(0, 46ch); align-items: end; column-gap: clamp(1.5rem, 3vw, 3rem); }
  .shots {
    grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--g-gap);
    grid-template-rows: repeat(3, clamp(var(--g-cell) / 1.85, var(--g-fit), var(--g-cell) / 1.5));
  }
  .shot img { aspect-ratio: auto; }
  .shot { grid-column: auto; }
  .s-hero { grid-column: 1 / span 2; grid-row: 1 / span 2; }
  .s-a { grid-column: 3; grid-row: 1; }
  .s-b { grid-column: 4; grid-row: 1; }
  .s-c { grid-column: 2; grid-row: 3; }
  .s-d { grid-column: 3; grid-row: 3; }
  .s-wide { grid-column: 4 / span 2; grid-row: 2 / span 2; }
  /* the three tiles with no place of their own fill the gaps in order: row 1 column 5, row 2 column 3, row 3 column 1 */
}
/* an ultra-wide screen (21:9 and wider): the head moves to a column on the left, and the grid takes the full height */
@media (min-width: 100rem) and (min-aspect-ratio: 21 / 10) {
  .gallery {
    --g-headw: clamp(16rem, 14vw, 24rem); --g-colgap: clamp(2rem, 3vw, 4rem);
    --g-head: 0rem; --g-w: calc(100cqw - var(--g-headw) - var(--g-colgap));
    display: grid; grid-template-columns: var(--g-headw) minmax(0, 1fr); column-gap: var(--g-colgap); align-items: start;
  }
  .gallery .head { grid-template-columns: none; margin: 0; }
}
@media (max-width: 47.99rem) {
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shot, .s-a, .s-b, .s-c, .s-d { grid-column: span 1; grid-row: auto; }
  .s-hero, .s-wide { grid-column: 1 / -1; grid-row: auto; }
  .s-hero img, .s-wide img { aspect-ratio: 3 / 2; }
  .shot button { background: transparent; block-size: auto; overflow: visible; }
  .shot img { display: block; }
  .shot img { background: #a9a9a7; }
  .shot span { position: static; display: block; padding: 0.45rem 0 0; background: none; font-size: 0.6875rem; color: var(--fg-2); }
}

/* the picture viewer */
.viewer {
  inline-size: 100vw; block-size: 100dvh; max-inline-size: none; max-block-size: none; margin: 0; padding: 0;
  border: 0; background: rgb(6 6 7 / 0.97); color: var(--white);
  grid-template-rows: 1fr auto; place-items: center;
}
.viewer[open] { display: grid; }
.viewer::backdrop { background: rgb(6 6 7 / 0.7); }
html:has(.viewer[open]) { overflow: hidden; }
.viewer figure { margin: 0; display: grid; gap: 0.9rem; justify-items: center; padding: 1.5rem var(--gutter) 0; }
.viewer img { max-inline-size: min(92vw, 1600px); max-block-size: calc(100dvh - 9rem); inline-size: auto; object-fit: contain; background: #a9a9a7; }
.viewer figcaption { font-size: 0.9375rem; color: color-mix(in oklch, var(--white) 72%, transparent); text-align: center; max-inline-size: 60ch; }
.viewer-bar { display: flex; align-items: center; gap: 0.5rem; padding: 1rem; }
.viewer-count { min-inline-size: 4.5rem; text-align: center; font: 600 0.8125rem/1 var(--cond); letter-spacing: 0.1em; color: color-mix(in oklch, var(--white) 72%, transparent); }
.vbtn {
  display: grid; place-items: center; inline-size: 2.75rem; block-size: 2.75rem; padding: 0;
  background: transparent; border: 1px solid color-mix(in oklch, var(--white) 24%, transparent); color: var(--white); cursor: pointer;
}
.vbtn[data-close] { margin-inline-start: 1rem; border-radius: 0 var(--d-r) var(--d-r) 0; }
.vbtn svg { inline-size: 1.15rem; block-size: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: square; }
.vbtn:active { transform: scale(0.95); }
@media (hover: hover) and (pointer: fine) { .vbtn:hover { border-color: var(--white); } }
@media (prefers-reduced-motion: no-preference) {
  .viewer[open] { animation: viewer-in 260ms var(--ease-out); }
  @keyframes viewer-in { from { opacity: 0; } }
}

/* ---------------------------------------------------------------------------------------- the drop */
.drop {
  --band: clamp(4rem, 2.6rem + 3.5vw, 6.25rem);
  --drop-pad: clamp(3rem, 6vw, 6rem);
  background: var(--night); color: var(--fg); padding-block-end: clamp(4rem, 8vw, 8rem);
  /* a link to the drop lands on the slider itself, with the band just above the screen */
  scroll-margin-block-start: calc(0.25rem - var(--band) - var(--drop-pad));
}
.edge {                           /* the slider's own reeded edge, cut from the render: yellow over terracotta */
  block-size: var(--band);
  background: url("img/edge.webp") repeat-x left center / auto 100%;
}
.drop-grid {
  /* the views' column is as wide as the picture can be while it fits the screen's height; the panel sits beside it */
  display: grid; grid-template-columns: minmax(0, min(58%, calc((100svh - var(--bar-h) - 12rem) * 1.5))) minmax(0, 36rem);
  gap: clamp(2rem, 4vw, 4.5rem); align-items: start; padding: var(--drop-pad) var(--gutter) 0;
}
/* the drop's views: the main picture never grows taller than the screen leaves room for, so the whole slider
   always shows; the views sit under it as a row of labelled thumbnails */
.drop-shot {
  margin: 0; position: sticky; inset-block-start: calc(var(--bar-h) + 1.25rem);
  display: grid; gap: 0.75rem; align-content: start;
}
.cfg-main { aspect-ratio: 3 / 2; background: #a9a9a7; overflow: clip; }
.cfg-main img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.cfg-main img.swap { opacity: 0.35; }
@media (prefers-reduced-motion: no-preference) { .cfg-main img { transition: opacity 220ms var(--ease-out); } }
.cfg-cap { font: 600 var(--t-label)/1.3 var(--cond); letter-spacing: 0.09em; text-transform: uppercase; color: var(--fg-2); }
.cfg-thumbs { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.5rem; }
.cfg-thumbs button {
  display: grid; gap: 0.4rem; padding: 0; border: 0; background: none; color: var(--fg-2); cursor: pointer; text-align: start;
  font: 600 0.6875rem/1.2 var(--cond); letter-spacing: 0.08em; text-transform: uppercase;
}
.cfg-thumbs img { inline-size: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: #a9a9a7; opacity: 0.5; }
.cfg-thumbs button[aria-pressed="true"] { color: var(--fg); }
.cfg-thumbs button[aria-pressed="true"] img { opacity: 1; outline: 2px solid var(--fg); outline-offset: 2px; }
.cfg-thumbs button:focus-visible { outline: 2px solid var(--fg); outline-offset: 4px; }
.cfg-thumbs button:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .cfg-thumbs button:hover img { opacity: 0.85; } .cfg-thumbs button:hover { color: var(--fg); } }
@media (prefers-reduced-motion: no-preference) { .cfg-thumbs img { transition: opacity 200ms var(--ease-out); } }
.drop-title { display: grid; gap: 0.9rem; font-size: var(--t-5); }
.drop-batch { display: flex; align-items: flex-end; gap: 0.35em; font: 700 var(--t-5)/0.8 var(--cond); text-transform: uppercase; letter-spacing: 0; }
.drop-batch .num { block-size: 0.8em; inline-size: auto; fill: var(--fg); }
.drop-name { display: flex; align-items: center; gap: 0.55em; font: 700 var(--t-3)/1 var(--cond); text-transform: uppercase; letter-spacing: 0.02em; }
.drop-word { block-size: 0.74em; inline-size: auto; fill: currentColor; }
.drop-series { margin-block-start: 1rem; color: var(--fg-2); font-size: var(--t-lead); }
.facts { margin: 2rem 0 0; border-block-start: 1px solid var(--rule); }
.facts div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-block: 0.85rem; border-block-end: 1px solid var(--rule); }
.facts dt { font-size: var(--t-label); color: var(--fg-2); }
.facts dd { margin: 0; font-weight: 500; text-align: end; font-variant-numeric: tabular-nums; }
.gauge { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-block-start: 1.2rem; }
.gauge i { inline-size: 7px; block-size: 1.15rem; border-inline: 2px solid var(--fg); }
.gauge i.gone { opacity: 0.22; }
.spools { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 0.7rem; }
.spools li { display: grid; grid-template-columns: 2.4rem auto 1fr; align-items: center; gap: 0.85rem; }
.spools i { block-size: 1.1rem; background: var(--c); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12); border-radius: 0 0.35rem 0.35rem 0; }
.spools b { font-weight: 600; }
.spools span { color: var(--fg-2); font-size: 0.9375rem; }
.join--drop { margin-block-start: 2rem; max-inline-size: none; }
.btn-buy { margin-block-start: 2rem; inline-size: 100%; min-block-size: 3.75rem; font-size: 1.0625rem; }
.hero .btn-buy, .close .btn-buy { inline-size: auto; min-inline-size: min(22rem, 100%); }
.hero .btn-buy { margin-block-start: 1.6rem; }
.drop-note { margin-block-start: 1rem; font-size: 0.875rem; color: var(--fg-2); line-height: 1.5; }

.how {
  list-style: none; margin: clamp(4rem, 7vw, 7rem) var(--gutter) 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem;
  border-block-start: 1px solid var(--rule-2);
}
.how li { position: relative; padding-block-start: 1.8rem; }
.how li::before {                 /* a tick pair on the line, at each step */
  content: ""; position: absolute; inset-block-start: -0.45rem; inset-inline-start: 0;
  inline-size: 7px; block-size: 0.9rem; border-inline: 2px solid var(--fg);
}
.how .num { block-size: 2.4rem; inline-size: auto; fill: var(--fg); margin-block-end: 1rem; }
.how h3 { font: 700 var(--t-3)/1.05 var(--cond); }
.how p { margin-block-start: 0.6rem; color: var(--fg-2); max-inline-size: 30ch; }
@media (max-width: 59.99rem) {
  .drop-grid { grid-template-columns: 1fr; }
  .drop-shot { position: static; inline-size: 100%; }
  .cfg-thumbs { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 6.25rem; overflow-x: auto;
                scroll-snap-type: x mandatory; overscroll-behavior-x: contain; padding-block-end: 0.4rem; scrollbar-width: none; }
  .cfg-thumbs button { scroll-snap-align: start; }
  .how { grid-template-columns: 1fr; gap: 0; border: 0; }
  .how li { border-block-start: 1px solid var(--rule-2); padding-block: 1.8rem 1.4rem; }
}
/* an ultra-wide screen (21:9 and wider): the drop is one screen of three columns, so nothing waits below the fold.
   The views on the left, as tall as the screen allows, with their thumbnails in a column beside the main picture;
   the panel in the middle; the three steps on the right. Any width left over goes between the columns. */
@media (min-width: 100rem) and (min-aspect-ratio: 21 / 10) {
  .drop {
    --d-gap: clamp(3rem, 4vw, 6rem);
    --d-main-h: calc(100svh - var(--bar-h) - 3rem - 2.2rem);       /* the screen, less the bar, a margin and the caption */
    --d-thumb-w: calc(((var(--d-main-h) - 3rem) / 7 - 1.25rem) * 1.5); /* seven thumbnails and their labels, as tall as it */
    display: grid; align-items: start; row-gap: var(--drop-pad);
    grid-template-columns:
      var(--gutter) minmax(0, calc(var(--d-main-h) * 1.5 + var(--d-thumb-w) + 0.75rem)) minmax(var(--d-gap), 1fr)
      minmax(0, 38rem) minmax(var(--d-gap), 1fr) minmax(0, 30rem) calc(var(--gutter) + 1.75rem);
  }
  .edge { grid-column: 1 / -1; }
  .drop-grid { display: contents; }
  .drop-shot {
    grid-column: 2; position: static;
    grid-template-columns: var(--d-thumb-w) minmax(0, 1fr); grid-template-areas: "thumbs main" ". cap"; column-gap: 0.75rem;
  }
  .cfg-main { grid-area: main; }
  .cfg-cap { grid-area: cap; }
  .cfg-thumbs { grid-area: thumbs; grid-template-columns: none; grid-template-rows: repeat(7, minmax(0, 1fr)); block-size: 0; min-block-size: 100%; }
  .cfg-thumbs button { grid-template-rows: minmax(0, 1fr) auto; min-block-size: 0; }
  .cfg-thumbs img { block-size: 100%; min-block-size: 0; aspect-ratio: auto; }
  .drop-panel { grid-column: 4; }
  .drop .how { grid-column: 6; margin: 0; grid-template-columns: 1fr; gap: 0; border: 0; }
  .how li { border-block-start: 1px solid var(--rule-2); padding-block: 1.8rem 1.4rem; }
}

/* ---------------------------------------------------------------------------------------- the series */
/* An undercard: the entry that is open sets the biggest type, and each entry after it a smaller size */
.series { padding: clamp(4rem, 8vw, 8rem) var(--gutter); background: var(--night); }
.card { list-style: none; margin: 0; padding: 0; border-block-start: 2px solid var(--fg); }
.bout {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center;
  column-gap: clamp(1rem, 2.5vw, 2.5rem); padding-block: clamp(1rem, 2vw, 1.6rem);
  border-block-end: 1px solid var(--rule-2); overflow: clip;
}
.bout .num { inline-size: auto; fill: var(--fg); }
.bout-name { font: 700 1em/0.9 var(--cond); text-transform: uppercase; letter-spacing: 0.005em; }
.bout-meta { display: grid; justify-items: end; gap: 0.35rem; font-size: var(--t-label); color: var(--fg-2); text-align: end; }
.bout-meta b { color: var(--fg); font-weight: 700; }
.bout-meta .era { text-transform: none; }
.bout:has(img) { padding-inline-end: calc(min(34%, 30rem) + 1.5rem); }
.bout img {                        /* a blurred close-up of the entry: its colours, and nothing more */
  position: absolute; inset-block: 0; inset-inline-end: 0; inline-size: min(34%, 30rem); block-size: 100%;
  object-fit: cover; z-index: 0;
  mask-image: linear-gradient(to right, transparent, black 45%);
}
.bout > :not(img) { position: relative; z-index: 1; }
.bout--1 { font-size: var(--t-5); padding-block: clamp(1.4rem, 3vw, 2.6rem); }
.bout--1 .num { block-size: 1.35em; }
.bout--2 { font-size: clamp(1.8rem, 1.1rem + 2.6vw, 3.5rem); }
.bout--2 .num { block-size: 1.2em; }
.bout--3 { font-size: clamp(1.4rem, 1rem + 1.5vw, 2.3rem); }
.bout--3 .num { block-size: 1.15em; }
.bout--4 { grid-template-columns: 1fr; font-size: clamp(1rem, 0.9rem + 0.5vw, 1.25rem); }
.bout--4 .bout-name { letter-spacing: 0.08em; color: var(--fg-2); }
.bout--2 .bout-meta, .bout--3 .bout-meta { color: var(--fg); }
.redact {                          /* a bar parted by one open line, as the D is */
  display: inline-block; inline-size: calc(var(--w, 8) * 0.55em); block-size: 0.74em; vertical-align: -0.02em;
  background: linear-gradient(var(--fg) 0 46%, transparent 46% 54%, var(--fg) 54%);
}
@media (max-width: 47.99rem) {
  .bout { grid-template-columns: auto minmax(0, 1fr); row-gap: 0.6rem; }
  .bout-meta { grid-column: 1 / -1; justify-items: start; text-align: start; grid-auto-flow: column; justify-content: start; gap: 0.8rem; }
  .bout:has(img) { padding-inline-end: 0; }
  .bout img { inline-size: 55%; }
}

/* ---------------------------------------------------------------------------------------- the numbers */
.specs { padding: clamp(4rem, 8vw, 8rem) var(--gutter); }
.specs-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.drawing { margin: 0; border: 1px solid var(--rule-2); background: var(--night); }
.drawing svg { inline-size: 100%; block-size: auto; overflow: visible; font-family: var(--cond); }
.drawing figcaption { padding: 0 1rem 0.9rem; font-size: 0.8125rem; color: var(--fg-2); }
.drawing [class^="dw-"] { vector-effect: non-scaling-stroke; }
.dw-grid { fill: none; stroke: var(--rule); stroke-width: 1; vector-effect: non-scaling-stroke; }
.dw-part rect, .dw-part circle { fill: color-mix(in oklch, var(--white) 8%, var(--night-2)); stroke: var(--fg); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.dw-part .dw-thin, .dw-thin { fill: none; stroke: var(--fg); stroke-width: 0.8; vector-effect: non-scaling-stroke; }
.dw-part path.dw-thin { stroke-opacity: 0.7; }
.dw-ghost rect { fill: none; stroke: var(--fg); stroke-opacity: 0.45; stroke-width: 1; stroke-dasharray: 6 4; vector-effect: non-scaling-stroke; }
.dw-hidden circle { fill: none; stroke: var(--fg); stroke-opacity: 0.55; stroke-width: 1; stroke-dasharray: 3 2.5; vector-effect: non-scaling-stroke; }
.dw-centre path { fill: none; stroke: var(--fg); stroke-opacity: 0.35; stroke-width: 0.8; stroke-dasharray: 12 3 2 3; vector-effect: non-scaling-stroke; }
.dw-dim path { fill: none; stroke: var(--fg); stroke-opacity: 0.75; stroke-width: 0.9; vector-effect: non-scaling-stroke; }
.dw-dim path.dw-arrow { fill: var(--fg); stroke: none; }
.dw-dim text { font-size: 3.6px; font-weight: 600; fill: var(--fg); text-anchor: middle; letter-spacing: 0.02em; }
.dw-dim text.dw-v { text-anchor: middle; writing-mode: vertical-rl; }
.dw-dim text.dw-l { text-anchor: start; }
.specs-list { margin: 0; border-block-start: 2px solid var(--fg); }
.specs-list div { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1rem; padding-block: 0.8rem; border-block-end: 1px solid var(--rule-2); }
.specs-list dt { font-size: var(--t-label); color: var(--fg-2); padding-block-start: 0.2rem; }
.specs-list dd { margin: 0; font-weight: 500; }
.cols { display: flex; flex-wrap: wrap; gap: 0.35rem 1.1rem; }
.cols > span { display: inline-flex; align-items: center; gap: 0.5rem; }
.cols i { flex: none; inline-size: 0.95rem; block-size: 0.95rem; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 28%, transparent); }
.fine { margin-block-start: 1.6rem; font-size: 0.875rem; color: var(--fg-2); }
@media (max-width: 59.99rem) {
  .specs-grid { grid-template-columns: 1fr; }
  .dw-dim text { font-size: 5px; }
}
@media (max-width: 30rem) { .specs-list div { grid-template-columns: 6.5rem minmax(0, 1fr); } }

/* ---------------------------------------------------------------------------------------- questions */
.faq { padding: 0 var(--gutter) clamp(5rem, 9vw, 9rem); }
.faq .head { border-block-start: 1px solid var(--rule-2); padding-block-start: clamp(4rem, 7vw, 6rem); }
.faq-list { border-block-start: 2px solid var(--fg); max-inline-size: 60rem; }
.faq details { border-block-end: 1px solid var(--rule-2); }
.faq summary {
  position: relative; display: block; padding: 1.2rem 3rem 1.2rem 0; cursor: pointer; list-style: none;
  font: 700 var(--t-3)/1.15 var(--cond);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {   /* a plus that closes to a line */
  content: ""; position: absolute; inset-inline-end: 0.4rem; inset-block-start: 50%;
  inline-size: 1.1rem; block-size: 2px; background: var(--fg); translate: 0 -50%;
}
.faq summary::after { rotate: 90deg; }
.faq details[open] summary::after { rotate: 0deg; }
.faq details p { padding-block-end: 1.4rem; max-inline-size: 62ch; color: var(--fg-2); font-size: var(--t-lead); }
.faq summary:focus-visible { outline-offset: 4px; }
@media (min-width: 64rem) {       /* on a wide screen the questions fill the width: two columns, three from 100rem */
  .faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 4vw, 5rem); align-items: start; max-inline-size: none; }
}
@media (min-width: 100rem) { .faq-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: no-preference) {
  .faq summary::after { transition: rotate 300ms var(--snap); }
  .faq details::details-content { block-size: 0; overflow: clip; transition: block-size 320ms var(--ease-out), content-visibility 320ms allow-discrete; }
  .faq details[open]::details-content { block-size: auto; }
}

/* ---------------------------------------------------------------------------------------- the close */
.close {
  background: var(--night); color: var(--fg);
  display: grid; justify-items: center; text-align: center; gap: 2rem;
  padding: clamp(6rem, 12vw, 11rem) var(--gutter) clamp(5rem, 9vw, 8rem);
}
.close-mark { block-size: clamp(6rem, 4rem + 9vw, 12rem); inline-size: auto; fill: var(--white); overflow: visible; }
.close-mark .up { translate: 0 var(--part, 0); }
.close-mark .down { translate: 0 calc(var(--part, 0) * -1); }
@media (prefers-reduced-motion: no-preference) {
  .close-mark:not(.met) { --part: -0.12px; }
  .close-mark:not(.met) .down { translate: 0 0.12px; }
  .close-mark path { transition: translate 1100ms var(--snap); }
}
.close h2 { font: 700 var(--t-5)/0.95 var(--cond); max-inline-size: 14ch; }
.close-maker { max-inline-size: 44ch; margin-block-start: -0.6rem; color: var(--fg-2); font-size: var(--t-lead); }
.close .join { inline-size: min(30rem, 100%); text-align: start; }

.foot {
  background: var(--night); color: var(--fg-2);
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem;
  padding: 2rem var(--gutter) calc(2rem + env(safe-area-inset-bottom, 0px));
  border-block-start: 1px solid var(--rule); font-size: 0.875rem;
}
.foot-word { block-size: 0.8rem; inline-size: auto; fill: var(--fg); }
.foot-links { display: flex; gap: 1.5rem; }
.foot-links a { color: var(--fg); text-underline-offset: 0.25em; text-decoration-thickness: 1px; }
.foot p:last-child { margin-inline-start: auto; }

/* the bar and rail stay out of the way of the picture viewer */
html:has(.viewer[open]) .bar, html:has(.viewer[open]) .rail { visibility: hidden; }

/* where the rail stands, the content keeps clear of it */
@media (min-width: 60rem) {
  .run, .gallery, .series, .specs, .faq, .drop-grid { padding-inline-end: calc(var(--gutter) + 1.75rem); }
  .how { margin-inline-end: calc(var(--gutter) + 1.75rem); }
}

/* a phone on its side: a shorter title, and the deck gives way to the form */
@media (max-height: 32rem) and (min-aspect-ratio: 9 / 10) {
  .hero { --tw: min(26rem, 32vw); padding-block: calc(var(--bar-h) + 0.75rem) 1.5rem; }
  .hero .deck, .hero .cue { display: none; }
  .verbs { margin-block-start: 1rem; }
  .hero .join { margin-block-start: 1rem; }
}

/* ---------------------------------------------------------------------------------------- the guides */
/* The reading pages in guides/. They are on Night, as the home page is, with the bar solid from the start, and they
   end with SLATE-01. Nothing on them moves on scroll: their trick loops play while they are on the screen. */
.bar-nav a[aria-current="page"] { color: var(--fg); }
.bar-nav a[aria-current="page"]::after { transform: none; }

.guide { padding: calc(var(--bar-h) + clamp(3rem, 7vw, 6rem)) var(--gutter) clamp(4rem, 8vw, 7rem); }
.guide-head { max-inline-size: 60rem; }
.guide-head h1 { font: 700 var(--t-5)/0.92 var(--cond); letter-spacing: -0.01em; max-inline-size: 17ch; }
.guide-line {                     /* one line under the title, parted by a hairline, as the lid's text runs */
  display: flex; align-items: center; gap: 0.9rem; margin-block-start: 1.4rem;
  font: 600 var(--t-label)/1 var(--cond); letter-spacing: 0.09em; text-transform: uppercase; color: var(--fg-2);
}
.guide-line::after { content: ""; order: 1; flex: 1; block-size: 1px; background: var(--rule-2); }
.guide-line a { color: inherit; text-underline-offset: 0.25em; text-decoration-thickness: 1px; }
.guide-line > span { order: 2; color: var(--fg); }
.answer { margin-block-start: clamp(1.75rem, 3vw, 2.5rem); max-inline-size: 46ch; font-size: var(--t-lead); line-height: 1.5; }

.prose { margin-block-start: clamp(2.5rem, 5vw, 4rem); }
.prose > * { max-inline-size: 40rem; }
.prose > .wide, .prose > .span { max-inline-size: 60rem; }
.prose > :first-child, .prose > :first-child > :first-child { margin-block-start: 0; }
.prose h2 { margin-block-start: 3rem; padding-block-start: 1.25rem; border-block-start: 1px solid var(--rule-2); font: 700 var(--t-3)/1.08 var(--cond); }
.prose p { margin-block-start: 1rem; }
.prose ul { display: grid; gap: 0.6rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.prose ul > li { position: relative; padding-inline-start: 1.5rem; }
.prose ul > li::before {          /* a tick pair for each point */
  content: ""; position: absolute; inset-inline-start: 0.1rem; inset-block-start: 0.42em;
  inline-size: 6px; block-size: 0.72em; border-inline: 1.5px solid var(--fg);
}
.prose b { font-weight: 600; }
.prose a, .answer a { color: var(--fg); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
.note { margin-block-start: 1.5rem; padding-inline-start: 1rem; border-inline-start: 2px solid var(--fg); color: var(--fg-2); }
.eg {                             /* SLATE-01's own figure for the point above, as one row of the numbers */
  display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1rem; margin: 1.1rem 0 0;
  padding-block: 0.75rem; border-block: 1px solid var(--rule-2);
}
.eg dt { font: 600 var(--t-label)/1.6 var(--cond); letter-spacing: 0.09em; text-transform: uppercase; color: var(--fg-2); }
.eg dd { margin: 0; font-weight: 500; }

/* pictures and drawings in a guide */
.prose figure { margin: 1.5rem 0 0; }
.prose figcaption { margin-block-start: 0.6rem; font-size: 0.875rem; color: var(--fg-2); }
.prose .drawing figcaption { margin: 0; padding: 0 1rem 0.9rem; }
.render img { inline-size: 100%; background: #a9a9a7; }
/* a trick loop: SLATE-01 doing one trick on the stage's Night, in a hairline frame (tools/clips.py), and under it
   the caption with one pause button for the figure. A row of loops shows several tricks side by side. */
.loop-frame { aspect-ratio: 3 / 2; background: var(--night); border: 1px solid var(--rule-2); overflow: clip; }
.loop-frame.paper { aspect-ratio: 16 / 9; background: var(--film-paper); }
.loop-frame[data-cut="tall"] { aspect-ratio: 9 / 16; max-inline-size: calc((100svh - var(--bar-h) - 7rem) * 9 / 16); }
.loop-film { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; }
.prose .loop figcaption { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.loop-pause { flex: none; inline-size: 2.75rem; block-size: 2.75rem; }   /* the trick run's button, a step smaller */
.loop-pause[hidden] { display: none; }
.loop-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(0.75rem, 1.4vw, 1.25rem); }
.loop-row span { display: block; margin-block-start: 0.5rem; font: 600 var(--t-label)/1.3 var(--cond); letter-spacing: 0.09em; text-transform: uppercase; color: var(--fg-2); }
@media (max-width: 30rem) { .loop-row { grid-template-columns: minmax(0, 1fr); } }
@container (min-width: 75rem) { .loop-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); } }   /* a full row: all the loops side by side */
.dw-curve { fill: none; stroke: var(--fg); stroke-width: 1.8; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.dw-ball { fill: var(--fg); }
.dw-move { fill: none; stroke: var(--fg); stroke-opacity: 0.75; stroke-width: 1; stroke-dasharray: 4 3; vector-effect: non-scaling-stroke; }
.dw-head { fill: var(--fg); fill-opacity: 0.75; }
.dw-label { font: 600 4px/1 var(--cond); letter-spacing: 0.04em; fill: var(--fg); text-anchor: middle; }
.dw-label.dw-s { text-anchor: start; }
.dw-label.dw-e { text-anchor: end; }
@media (max-width: 40rem) { .dw-label { font-size: 6px; } }

/* a table that compares, ruled as the numbers are */
.compare { inline-size: 100%; margin-block-start: 1.5rem; border-collapse: collapse; border-block-start: 2px solid var(--fg); table-layout: fixed; }
.compare tr > :first-child { inline-size: 8.5rem; }
.compare th, .compare td { padding: 0.85rem 1rem 0.85rem 0; border-block-end: 1px solid var(--rule-2); text-align: start; vertical-align: top; }
.compare thead th { font: 700 1.125rem/1.15 var(--cond); }
.compare tbody th { inline-size: 8.5rem; font: 600 var(--t-label)/1.6 var(--cond); letter-spacing: 0.09em; text-transform: uppercase; color: var(--fg-2); }
@media (max-width: 47.99rem) {    /* on a phone, each row of the table becomes a short ruled list */
  .compare thead { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; }
  .compare tr > :first-child, .compare tbody th { inline-size: auto; }
  .compare tr { padding-block: 0.9rem; border-block-end: 1px solid var(--rule-2); }
  .compare th, .compare td { padding: 0; border: 0; }
  .compare td { margin-block-start: 0.45rem; }
  .compare td::before { content: attr(data-label) ". "; font-weight: 600; }
}

/* the list of guides, on the guides page, under each guide and under the home page's questions */
.guide-list { margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding: 0; list-style: none; max-inline-size: 60rem; border-block-start: 2px solid var(--fg); }
.guide-list li { border-block-end: 1px solid var(--rule-2); }
.guide-list a { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr) auto; align-items: baseline; gap: 1rem; padding: 1.3rem 0.75rem 1.3rem 0; color: inherit; text-decoration: none; transition: background-color 0.2s; }
.guide-list .n { font: 600 var(--t-label)/1 var(--cond); letter-spacing: 0.09em; color: var(--fg-2); font-variant-numeric: tabular-nums; }
.guide-list b { font: 700 var(--t-3)/1.08 var(--cond); }
.guide-list .go { font: 700 var(--t-3)/1 var(--cond); color: var(--fg-2); transition: transform 0.2s, color 0.2s; }
.guide-list a:focus-visible { outline-offset: 2px; }
.guide-list a:focus-visible .go { color: var(--fg); transform: translateX(0.35rem); }
@media (hover: hover) and (pointer: fine) {
  .guide-list a:hover { background: var(--rule); }
  .guide-list a:hover b { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.12em; }
  .guide-list a:hover .go { color: var(--fg); transform: translateX(0.35rem); }
}
@media (prefers-reduced-motion: reduce) { .guide-list a, .guide-list .go { transition: none; } }
.guide-more { padding: 0 var(--gutter) clamp(4rem, 8vw, 7rem); }
.guide-more h2 { padding-block-start: clamp(3rem, 6vw, 4.5rem); border-block-start: 1px solid var(--rule-2); font: 700 var(--t-4)/0.98 var(--cond); }
.guide-more .guide-list { margin-block-start: clamp(1.5rem, 3vw, 2.5rem); }
.guide-more .guide-list b, .faq-guides .guide-list b { font-size: 1.375rem; }
.faq-guides { max-inline-size: 60rem; margin-block-start: clamp(3rem, 6vw, 4.5rem); }
.faq-guides h3 { font: 700 var(--t-3)/1.08 var(--cond); }
.faq-guides .guide-list { margin-block-start: 1.25rem; }

/* On a wide screen every guide page uses the full width, as the gallery does: no column of empty Night on the right
   (Kyler, 2026-10-19). The parts of a guide (tools/guides.py) stand side by side and grow to fill each row: three in a
   row on a wide screen, two on a laptop. A wide figure can share a row with a part, and a wide table takes a full row.
   The words in a part keep a length of line that is easy to read. When a part with a figure gets a row of its own, the
   figure stands beside the words and stays on the screen while you read them. From 64rem the title and the answer
   stand side by side, and the lists of guides are grids: two columns, and three from 100rem (a 21:9 screen). */
@media (min-width: 48rem) {
  .prose { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 3rem clamp(2rem, 4vw, 5rem); }
  .prose > *, .prose > .wide, .prose > .span { flex: 1 1 27rem; max-inline-size: none; margin-block-start: 0; }
  .prose > .wide { flex: 3 1 48rem; container-type: inline-size; }
  .prose > .span { flex-basis: 100%; }
  .prose > .wide:has(.paper) { max-inline-size: calc((100svh - var(--bar-h) - 8rem) * 16 / 9); }   /* the trick run, one screen high */
  .part { container-type: inline-size; }
  .part > :first-child { margin-block-start: 0; }
  .part > :not(h2, figure, table) { max-inline-size: 46rem; }
  .part.show {                    /* one column, until the part is wide enough for the figure beside the words */
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: repeat(var(--rows), auto) 1fr;
    column-gap: clamp(2rem, 4vw, 5rem); align-items: start;
  }
  .part.show > * { grid-column: 1 / -1; }
}
@container (min-width: 52rem) {
  .part.show > * { grid-column: 1; }
  .part.show > h2 { grid-column: 1 / -1; }
  .part.show > figure { grid-column: 2; grid-row: 2 / -1; position: sticky; inset-block-start: calc(var(--bar-h) + 1.5rem); margin: 0; }
  .part.show:not(:has(> h2)) > figure { grid-row: 1 / -1; }
}
@container (min-width: 70rem) {   /* a list in a part with a full row of its own: its points in columns */
  .part:not(.show) > ul { display: block; columns: 3 16rem; column-gap: clamp(2rem, 4vw, 5rem); max-inline-size: none; }
  .part:not(.show) > ul > li { break-inside: avoid; margin-block-end: 0.6rem; }
}
@media (min-width: 64rem) {
  .guide { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: clamp(3rem, 6vw, 9rem); align-items: end; }
  .guide-head { max-inline-size: none; }
  .guide .answer { margin: 0; }
  .guide .prose, .guide-index .guide-list { grid-column: 1 / -1; }
  .faq-guides { max-inline-size: none; }
  .guide-index .guide-list, .guide-more .guide-list, .faq-guides .guide-list {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 4vw, 5rem); max-inline-size: none;
  }
  .guide-index .guide-list a, .guide-more .guide-list a, .faq-guides .guide-list a { grid-template-columns: minmax(0, 1fr) auto; row-gap: 0; padding-block: 1.5rem 1.75rem; }
  .guide-index .guide-list .n, .guide-more .guide-list .n, .faq-guides .guide-list .n { grid-column: 1 / -1; padding: 0 0 0.5rem; }
}
@media (min-width: 100rem) {
  .guide-index h1 { font-size: min(9rem, 1.4rem + 5vw); }
  .guide .answer { justify-self: end; font-size: min(1.75rem, 0.6rem + 0.9vw); }
  .guide-index .guide-list, .guide-more .guide-list, .faq-guides .guide-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .guide-index .guide-list b { font-size: min(2.75rem, 0.5rem + 1.2vw); }
}

/* SLATE-01 at the foot of every guide, on a hairline */
.guide-slate { background: var(--night); color: var(--fg); border-block-start: 1px solid var(--rule); padding: clamp(4rem, 8vw, 7rem) var(--gutter); }
.guide-slate-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.guide-slate img { inline-size: 100%; background: #a9a9a7; }
.guide-slate h2 { display: grid; gap: 0.6rem; }
.slate-word { inline-size: min(24rem, 100%); block-size: auto; fill: var(--fg); }
.slate-look { font: 700 var(--t-3)/1 var(--cond); letter-spacing: 0.012em; text-transform: uppercase; }
.guide-slate p { margin-block-start: 1.2rem; max-inline-size: 36ch; font-size: var(--t-lead); line-height: 1.45; color: var(--fg-2); }
.slate-go { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-block-start: 1.8rem; }
.slate-go a:not(.btn) {
  color: var(--fg); text-underline-offset: 0.3em; text-decoration-thickness: 1px;
  font: 700 0.9375rem/1 var(--cond); letter-spacing: 0.06em; text-transform: uppercase;
}
@media (max-width: 59.99rem) { .guide-slate-grid { grid-template-columns: 1fr; } }
@media (min-width: 100rem) {        /* on a 21:9 screen the render and the words take half each, the render one screen high at most */
  .guide-slate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-slate img { block-size: auto; max-block-size: calc(100svh - var(--bar-h) - 8rem); object-fit: cover; }
  .slate-word { inline-size: min(34rem, 100%); }
}
