/* Beamshelf · the website. Direction: the name as a monument (tasteskill seed 1850499705), in the brand's
   own type (Figtree) and colours: OLED black, warm white, the gold of the beam, sapphire only in the hall's
   light. The palette is the one sampled from the brand sheets (docs/brand/beamshelf): ground #0b1029, sapphire
   #25368c, silver #9aa3b2, gold #eecc86, white. */

/* The two faces, served from this site (2026-11-18; they came from Google Fonts, a second address to connect to
   before any text could settle, and a third party the privacy page had to name). Variable files, so one file
   covers every weight. Figtree and Outfit are under the SIL Open Font License 1.1. */
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("/assets/fonts/figtree-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("/assets/fonts/figtree-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/outfit-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/outfit-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #010101;
  --surface: #0d0e11;
  --surface-2: #17191d;
  --ink: #f1f0ee;
  --muted: #a9adb4;
  --accent: #eecc86;
  --accent-hover: #f6dca6;
  --accent-ink: #14100a;
  --inv-bg: #ebeae6;
  --inv-ink: #080808;
  --inv-muted: #4a4c50;

  --font: "Figtree", ui-sans-serif, system-ui, sans-serif;
  --font-head: "Outfit", "Figtree", ui-sans-serif, system-ui, sans-serif; /* the logo's face: wordmark and headings */
  --font-display: var(--font);
  --font-text: var(--font);

  --step-small: 0.875rem;
  --step-body: clamp(1.0625rem, 0.95rem + 0.25vw, 1.4rem);
  --step-head: clamp(1.5rem, 1.2rem + 0.7vw, 2.75rem);
  --step-h3: clamp(1.25rem, 1.05rem + 0.3vw, 1.625rem);
  --step-display: clamp(3.5rem, 1.2rem + 6vw, 8.25rem);
  --step-monument: clamp(7.9rem, 20.2vw, 26.6rem); /* only places the name on its side on phones (see below) */
  /* The name across the cover and across the foot, set the same way (user, 2026-11-12: "sync the title alignment"):
     sized from the width so all nine letters fit between the margins (BEAMSHELF in Outfit 800 at this tracking is
     5.47 em wide, measured 2026-11-20), and its B starting on the margin like the text above it. */
  --name-size: calc((100vw - 2 * var(--margin)) / 5.47);
  --name-track: -0.055em;
  --name-left: calc(var(--margin) - 0.06em);

  --margin: clamp(1rem, 2vw, 1.75rem);
  --gutter: clamp(1rem, 1.6vw, 1.5rem);
  --section: clamp(6rem, 11vw, 12rem);
  --pad: clamp(5rem, 9vw, 9.5rem);
  --edge: max(var(--margin), calc((100vw - 1760px) / 2));
  --band: #0d0f13;
  --plate: #15171b;
  /* the night: the brand's ground navy, the one field colour besides black and the light close */
  --night: #0b1029;
  /* chapter titles at display size (2026-11-14, "make it spectacular"); a title beside its content keeps the old size */
  --step-title: clamp(2.375rem, 0.5rem + 7.8vw, 9.5rem);
  --step-title-side: clamp(2.375rem, 1rem + 4.4vw, 5.5rem);
  /* a part of a chapter with a name of its own (Works with, On your phone, Everything in step, What works where,
     Beamshelf Server…): between the chapter's title and a lead, so a long chapter can be scanned by its parts */
  --step-sub: clamp(1.75rem, 1.1rem + 1.6vw, 2.75rem);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--step-body);
  line-height: 1.55; font-kerning: normal; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, p, figure, dl, dd, ul, ol, blockquote { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
img, video, canvas { display: block; max-width: 100%; }
img, video { height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; text-wrap: balance; }
.plan-name, .plan-figure { font-family: var(--font-head); }
p { text-wrap: pretty; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
/* a section a link jumped to holds focus so Tab carries on from there, but isn't drawn as a control */
:is(section, footer)[tabindex="-1"]:focus { outline: none; }
.wrap { padding-inline: var(--margin); }

.head { font-size: var(--step-head); line-height: 1.12; letter-spacing: -0.015em; font-weight: 600; }

.skip { position: absolute; left: var(--margin); top: -100px; z-index: 50; background: var(--accent); color: var(--accent-ink); padding: 12px 18px; font-weight: 600; text-decoration: none; }
.skip:focus { top: var(--margin); }

/* buttons: one shape for the page, a flat rectangle */
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: 0 1.6rem;
  background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: var(--step-body);
  text-decoration: none; white-space: nowrap;
  transition: background-color 180ms ease, transform 140ms var(--ease-out);
}
.button:hover { background: var(--accent-hover); }
.button:active { transform: scale(0.97); }
.button-ink { background: var(--inv-ink); color: var(--inv-bg); }
.button-ink:hover { background: #2a2b2e; }

.link { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.25em; text-decoration-thickness: 0.07em; transition: text-decoration-color 180ms ease, color 180ms ease; }
.link:hover { text-decoration-color: currentColor; }
.link-plain { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 0.07em; transition: color 180ms ease; }

/* ---------- the bar ---------- */
.bar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-top: var(--margin); padding-inline: var(--edge); font-size: var(--step-body);
}
/* The lockup as the brand sheets set it: the mark, then the name in plain white in a light geometric face
   (Outfit is the nearest we have to the sheets' typeface, which hasn't been identified). */
.wordmark { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.wordmark img { width: 38px; height: auto; } /* the shelves about 1.7x the name's cap height, near the lockup's 1.9x */
.wordmark span {
  font-family: var(--font-head); font-weight: 500; font-size: 1.3rem; line-height: 1;
  letter-spacing: 0.01em; color: #fff;
  padding-block: 0.08em 0.16em;
}
.wordmark:hover span, .wordmark:focus-visible span { filter: brightness(1.15); }
.bar-links { display: flex; gap: clamp(1rem, 2.4vw, 2.25rem); }
.bar-links a { color: var(--ink); text-decoration-thickness: 0.07em; }

/* ---------- the dock: the bar again, fixed, once the hall is behind you ----------
   Away while the hall is on screen (the hall has its own bar), then fixed at the top with the section you're in
   lit and a hairline of how far down the page you are. On a phone it tucks up while you read down and comes back
   as soon as you scroll up; there the links are one Menu button. */
html { scroll-padding-top: 4.5rem; }
.dock {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  background: rgba(1, 1, 1, 0.8); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  transition: transform 360ms var(--ease-out), opacity 240ms ease;
}
.dock[data-state="away"], .dock[data-state="tucked"] { transform: translateY(-100%); opacity: 0; }
.dock-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 3.75rem; padding-inline: var(--edge); }
.dock-links { display: flex; gap: clamp(1.25rem, 2.2vw, 2.25rem); font-size: 1rem; }
.dock-links a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--muted); }
.dock-links a:hover, .dock-links a[aria-current] { color: var(--ink); }
.dock-links a[aria-current] { text-decoration-color: var(--accent); }
.dock-menu, .bar-menu, .menu-close {
  display: none; align-items: center; min-height: 2.75rem; padding: 0 1.1rem; font-weight: 600; font-size: 1rem;
  background: var(--surface-2); color: var(--ink); transition: background-color 180ms ease, transform 140ms var(--ease-out);
}
.dock-menu:hover, .bar-menu:hover, .menu-close:hover { background: #22252a; }
.dock-menu:active, .bar-menu:active, .menu-close:active { transform: scale(0.97); }
.dock-progress {
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent);
  transform-origin: 0 50%; transform: scaleX(var(--read, 0));
}

/* the menu: the whole page as a list, over everything */
.menu {
  position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--bg); color: var(--ink); overflow: auto; overscroll-behavior: contain;
}
.menu[open] { display: flex; flex-direction: column; }
.menu::backdrop { background: rgba(0, 0, 0, 0.6); }
html:has(.menu[open]) { overflow: hidden; }
.menu-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.75rem; padding-inline: var(--margin); }
.menu-title { font-size: var(--step-small); color: var(--muted); }
.menu .menu-close { display: inline-flex; }
/* The list reads as the page does: a chapter in the logo's face at the large size, the parts of a chapter smaller
   and set in under it. Where you are is underlined in the accent, as in the dock. (It was twenty numbered lines at
   one size, all in the soft ink.) */
ol.menu-list { padding: 0.5rem var(--margin) 2rem; }
.menu-list a {
  display: flex; align-items: center; min-height: 3.25rem; padding-block: 0.3rem;
  font-family: var(--font-head); font-size: clamp(1.625rem, 1rem + 3vw, 2.5rem); line-height: 1.15; letter-spacing: -0.02em; font-weight: 500; color: var(--ink);
  text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 0.07em; text-underline-offset: 0.2em;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}
.menu-list .menu-part a { min-height: 2.75rem; padding-left: 1.25rem; font-family: var(--font); font-size: 1.125rem; letter-spacing: 0; color: var(--muted); }
.menu-list a:hover { color: #fff; }
.menu-list .menu-part a:hover, .menu-list .menu-part a[aria-current] { color: var(--ink); }
.menu-list a[aria-current] { text-decoration-color: var(--accent); }
.menu-foot { margin-top: auto; padding: 1rem var(--margin) 1.5rem; }
.menu-foot a { display: inline-flex; align-items: center; min-height: 2.75rem; }
@media (prefers-reduced-motion: no-preference) {
  .menu[open] { animation: menu-in 320ms var(--ease-out); }
  .menu[open] .menu-list li { animation: rise 420ms var(--ease-out) both; animation-delay: calc(60ms + var(--n, 0) * 28ms); }
}
@keyframes menu-in { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 959px) {
  .dock-links { display: none; }
  .dock-menu { display: inline-flex; }
}

/* ---------- touch: every control a finger can find ---------- */
@media (pointer: coarse) {
  .wordmark, .bar-links a, .close-links a, .close-links button { display: inline-flex; align-items: center; min-height: 2.75rem; }
  /* the corner of Home is a picture of the TV at its own scale; its buttons reach further than they look */
  .g-item { position: relative; }
  .g-item::after { content: ""; position: absolute; inset: -0.75rem 0; }
}

/* ---------- the hall ---------- */
.hall { position: relative; background: var(--bg); }
.hall-stage { position: relative; height: 100svh; min-height: 560px; overflow: clip; isolation: isolate; }
.hall-poster, .hall-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hall-canvas { opacity: 0; transition: opacity 900ms var(--ease-soft); }
.hall.gl-ready .hall-canvas { opacity: 1; }

/* The monument: white letters in a near-black field, multiplied over the hall, so the hall shows
   only through the letters. Without script it works the same over the still picture. */
.knock {
  position: absolute; inset: 0; z-index: 2; background: #101113; mix-blend-mode: multiply; overflow: hidden;
  transform-origin: 50% 80%;
}
/* a faint warm glass in the letters, added to the hall before the cut-out, so every letter reads */
.glass { position: absolute; inset: 0; z-index: 1; mix-blend-mode: screen; overflow: hidden; transform-origin: 50% 80%; pointer-events: none; }
.glass .monument { color: #1c2246; }
.glass-word::before { content: "Beamshelf"; }
/* The word can't be selected: a selection colour drawn inside the multiplied cut-out darkens the hall and pulls the
   two stacked copies apart (2026-11-07). Screen readers still read the h1. */
.knock, .glass, .monument { -webkit-user-select: none; user-select: none; }
.monument::selection, .monument *::selection { background: transparent; color: inherit; }
/* Two copies of the word stacked exactly (the glass span and the h1 cut-out): the face is set here, on the shared
   class, so both are Outfit and their edges meet. */
.monument {
  position: absolute; left: var(--name-left); bottom: -0.075em;
  font-family: var(--font-head); font-size: var(--name-size); line-height: 0.8; font-weight: 800; letter-spacing: var(--name-track);
  text-transform: uppercase; white-space: nowrap; color: #fff;
}
/* The frosted glass and its beam (js/frost.js): over the cut-out, so the hall glows through the glass and shows sharp only
   where the name is wiped clear. It fades in once it has drawn; scrolling into the hall fades it out (hall.js). */
.hall-frost {
  position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; opacity: 0;
  /* what a wiped patch shows: the hall's still, sharp, placed like .hall-poster (the letters show it too) */
  background: #010101 url("assets/hall/hall-poster.jpg") 50% 50% / cover no-repeat;
}
.hall.is-frosted .hall-frost { opacity: 1; animation: frost-in 1400ms var(--ease-soft); }
@keyframes frost-in { from { opacity: 0; } }
.hero-copy { position: absolute; z-index: 3; top: calc(var(--margin) + 6.5rem); left: 0; padding-inline: var(--edge); max-width: calc(min(48rem, 62vw) + 2 * var(--edge)); }
/* The line leads and the sentence under it steps back (2026-11-18): the sentence was set at the chapter-lead size,
   five lines nearly as heavy as the line above it. */
.hero-line { font-family: var(--font-head); font-size: clamp(2.5rem, 1.1rem + 3.7vw, 4.75rem); line-height: 1.02; letter-spacing: -0.02em; font-weight: 500; max-width: 10.5em; padding-bottom: 0.08em; } /* "Everything you watch," is 9.8 em: two lines */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero-line { background: linear-gradient(90deg, #9aa3b2 0%, #c6c4b0 50%, #eecc86 100%); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; }
}
.keep { white-space: nowrap; } /* words that break badly apart ("in" left at a line's end) */
.hero-sub { margin-top: 1.4rem; font-size: clamp(1.125rem, 0.95rem + 0.45vw, 1.5rem); line-height: 1.45; max-width: 38ch; }
.hero-soon { margin-top: 1.1rem; font-size: 1rem; }
.hero-soon span { display: block; }
.hero-copy .button { margin-top: 1.75rem; }

.beats { position: absolute; z-index: 3; left: var(--edge); bottom: 13svh; width: min(34ch, 36vw); }
.beat { position: absolute; left: 0; bottom: 0; width: 100%; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity 380ms ease, transform 520ms var(--ease-out), visibility 0s linear 380ms; pointer-events: none; }
.beat.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity 380ms ease, transform 520ms var(--ease-out), visibility 0s; }
.beat-title { font-size: var(--step-head); line-height: 1.12; letter-spacing: -0.015em; }
.beat-line { margin-top: 0.75rem; }
.beat-count { position: absolute; z-index: 3; left: var(--edge); bottom: calc(13svh - 2.4rem); font-size: var(--step-small); color: var(--muted); opacity: 0; transition: opacity 300ms ease; }
.hall.has-beat .beat-count { opacity: 1; }
.hall:not(.is-live) .beats, .hall:not(.is-live) .beat-count { display: none; }
.hall.is-live .hall-rest { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hall.is-live .hall-rest img { display: none; }
/* while the hall may still run, its fallback pictures aren't fetched (a lazy picture that isn't shown waits) */
.hall-wait .hall-rest img { display: none; }

/* the finished composition: the rooms as pictures */
.hall-rest { padding-block: calc(var(--section) / 2); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem var(--gutter); }
.hall-rest .head { grid-column: 1 / -1; }
.room img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--surface); }
.room figcaption { margin-top: 1rem; max-width: 52ch; }

/* ---------- Home, working: the square plate ---------- */
.showcase { position: relative; z-index: 1; background: var(--bg); }
.plate { aspect-ratio: 1; width: 100%; }
.split.showcase-split { align-items: stretch; }
.split.showcase-split > .s-media { grid-column: 1 / span 7; }
/* Beside the plate: the pages, what this is, the row as a list, and the two buttons at the foot. The words follow the
   tabs and the buttons close the column, so nothing between them is left empty (it used to be a third of the column). */
.split.showcase-split > .s-text { display: flex; flex-direction: column; gap: clamp(1.5rem, 2.4vw, 2.25rem); padding-block: 0.25rem; }
.tabs { display: flex; gap: 1.75rem; font-size: 1.125rem; }
.tab { position: relative; min-height: 2.75rem; color: var(--muted); font-weight: 500; padding: 0.4rem 0; transition: color 180ms ease; }
.tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.2rem; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform 260ms var(--ease-out); }
.tab[aria-selected="true"] { color: var(--ink); font-weight: 600; }
.tab[aria-selected="true"]::after { transform: none; }
.tab:hover { color: var(--ink); }
.showcase-text p { max-width: 34ch; }
.showcase-text .lead { max-width: 16ch; }
/* the row as a list: the title you're on sits on a tile one tone up, the others wait in the soft ink */
.tv-index { margin: clamp(1.5rem, 2.4vw, 2.25rem) -0.9rem 0; display: grid; gap: 2px; }
.tv-index button {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; width: 100%; min-height: 2.75rem;
  padding: 0.5rem 0.9rem; text-align: left; color: var(--muted);
  transition: background-color 200ms ease, color 200ms ease, transform 140ms var(--ease-out);
}
.tv-index button span:last-child { flex: none; font-size: var(--step-small); font-variant-numeric: tabular-nums; }
.tv-index button:hover { color: var(--ink); background: var(--surface); }
.tv-index button:active { transform: scale(0.99); }
.tv-index button[aria-current="true"] { background: var(--surface-2); color: var(--ink); font-weight: 600; }
.tv-index button[aria-current="true"] span:last-child { font-weight: 400; color: var(--muted); }
.cells { display: grid; grid-template-columns: 1fr 1fr; margin-top: auto; }
.cell { min-height: 72px; padding: 0 1.25rem; text-align: left; font-weight: 600; background: var(--surface-2); color: var(--ink); transition: background-color 180ms ease, transform 140ms var(--ease-out); }
.cell:hover { background: #22252a; }
.cell:active { transform: scale(0.985); }
.cell-ink { background: var(--ink); color: var(--bg); }
.cell-ink:hover { background: #ffffff; }

/* the TV inside the plate: a square crop of a 16:9 Home, drawn in units of its height */
.tv {
  --glass: rgba(38, 40, 46, 0.62);
  /* a sideways swipe moves along the row (main.js); an up-and-down one still scrolls the page */
  position: relative; width: 100%; height: 100%; overflow: hidden; background: #000; container-type: size; touch-action: pan-y;
  font-family: var(--font); color: #fff;
}
.tv-backdrop { position: absolute; top: 0; right: -77.8cqh; width: 177.8cqh; height: 100cqh; max-width: none; object-fit: cover; object-position: 70% 40%; }
.tv-backdrop-next { opacity: 0; transition: opacity 420ms ease; }
.tv-backdrop-next.is-on { opacity: 1; }
.tv-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.62) 38%, rgba(0, 0, 0, 0.08) 78%), /* taste-skill-ignore: the launcher's own neutral scrim over its backdrop */
    linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.35) 34%, rgba(0, 0, 0, 0) 52%); /* taste-skill-ignore: same scrim, from the foot */
}
.tv-top { position: absolute; top: 6cqh; left: 4.4cqh; right: -40cqh; display: flex; align-items: center; gap: 9cqh; }
.tv-search { width: 6cqh; height: 6cqh; border-radius: 50%; background: var(--glass); }
.tv-tabs { display: flex; gap: 0.5cqh; padding: 0.6cqh; border-radius: 4cqh; background: var(--glass); margin-left: 22cqh; }
.tv-tab { padding: 1.1cqh 2.6cqh; font-size: 2.2cqh; font-weight: 500; color: rgba(255, 255, 255, 0.78); border-radius: 3cqh; white-space: nowrap; transition: background-color 240ms ease, color 240ms ease; }
.tv-tab.is-on { background: #fff; color: #0a0a0a; font-weight: 600; }
.tv-hero { position: absolute; left: 4.4cqh; top: 18cqh; width: 62cqh; }
.tv-chip { display: inline-block; font-size: 1.9cqh; font-weight: 500; padding: 0.7cqh 1.8cqh; border: 0.25cqh solid rgba(255, 255, 255, 0.8); border-radius: 3cqh; }
.tv-title { margin-top: 2.4cqh; font-size: 8.4cqh; line-height: 0.95; font-weight: 800; letter-spacing: -0.03em; text-transform: uppercase; }
.tv-meta { margin-top: 2.2cqh; font-size: 2.2cqh; color: rgba(255, 255, 255, 0.86); display: flex; align-items: center; gap: 1.2cqh; }
.tv-badge { font-size: 1.5cqh; font-weight: 700; padding: 0.15cqh 0.8cqh; border: 0.2cqh solid rgba(255, 255, 255, 0.75); border-radius: 0.6cqh; }
.tv-synopsis { margin-top: 1.8cqh; font-size: 2.2cqh; line-height: 1.4; color: rgba(255, 255, 255, 0.86); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tv-buttons { margin-top: 2.8cqh; display: flex; gap: 1.6cqh; align-items: center; }
.tv-play { display: inline-flex; align-items: center; height: 5.6cqh; padding: 0 3cqh 0 2.6cqh; border-radius: 3cqh; background: var(--glass); font-size: 2.2cqh; font-weight: 600; }
.tv-play::before { content: ""; width: 0; height: 0; margin-right: 1.4cqh; border-left: 1.5cqh solid #fff; border-top: 0.95cqh solid transparent; border-bottom: 0.95cqh solid transparent; }
.tv-round { width: 5.6cqh; height: 5.6cqh; border-radius: 50%; background: var(--glass); display: grid; place-items: center; font-size: 2.2cqh; font-weight: 700; font-style: italic; }
.tv-row {
  --shift: 0px;
  position: absolute; left: 4.4cqh; bottom: 7cqh; display: flex; column-gap: 2.4cqh;
  transform: translateX(var(--shift)); transition: transform 420ms var(--ease-out);
}
.tv-card { position: relative; flex: 0 0 31cqh; text-align: left; color: #fff; border-radius: 1.2cqh; outline: none; transition: transform 300ms var(--ease-out); transform-origin: 50% 40%; }
.tv-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 1.2cqh; background: #111; }
.tv-card[aria-current="true"] { transform: scale(1.07); }
.tv-card[aria-current="true"] img { outline: 0.4cqh solid #fff; outline-offset: 0.35cqh; }
.tv-card:not([aria-current="true"]):hover { transform: scale(1.03); }
.tv-card:focus-visible img { outline-color: var(--accent); }
.tv-bar { position: absolute; left: 2cqh; right: 2cqh; top: calc(31cqh * 9 / 16 - 2.6cqh); height: 0.6cqh; border-radius: 1cqh; background: rgba(255, 255, 255, 0.28); overflow: hidden; }
.tv-bar span { display: block; height: 100%; background: #3fd28a; }
.tv-name { display: block; margin-top: 1.7cqh; font-size: 2.2cqh; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv-sub { display: block; margin-top: 0.4cqh; font-size: 1.8cqh; color: rgba(255, 255, 255, 0.72); white-space: nowrap; }

/* ---------- chapters: one system for everything after Home ----------
   One 12-column grid, read in thirds: running text starts at column 1, 5 or 9 and nowhere else. Every chapter
   opens with its title, at one size. A picture and its words are an 8 + 4 split, flipped from one to the next;
   lists run three across (two beside a title). Alternate chapters step up one tone, which separates them
   without a line. */
.chapter { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-content: start; padding-block: var(--pad); padding-inline: var(--edge); }
.chapter-flush { padding-block: 0; }
.band { background: var(--band); }
.night { background: var(--night); }
.c-title { grid-column: 1 / -1; margin-bottom: clamp(2.5rem, 4.5vw, 4.5rem); font-size: var(--step-title); line-height: 1; letter-spacing: -0.035em; font-weight: 600; }
.c-title.tight { margin-bottom: 1.25rem; }
/* The section titles: Outfit 500, open spacing, silver into gold (the palette's two metals). The fill spans the
   words only (fit-content), so a short title still runs from silver to gold. */
.c-title, .live-title { font-weight: 500; letter-spacing: -0.02em; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .c-title, .live-title {
    background: linear-gradient(90deg, #9aa3b2 0%, #c6c4b0 50%, #eecc86 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    width: fit-content; padding-bottom: 0.08em; /* the g and y keep their tails inside the fill */
  }
}
.lead { font-size: var(--step-head); line-height: 1.2; letter-spacing: -0.012em; font-weight: 500; text-wrap: balance; }
.lead + p { margin-top: 1.25rem; }
ul.wrap { padding-inline: var(--edge); }

/* a picture and its words: 8 columns and 4, the words flipped to the left in every second one */
.split { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: center; padding-block: 2rem; }
.split + .split { margin-top: calc(clamp(4rem, 7vw, 7rem) - 4rem); }
.split > .s-media { grid-column: 1 / span 8; grid-row: 1; min-width: 0; margin: 0; }
.split > .s-text { grid-column: 9 / -1; grid-row: 1; min-width: 0; padding-left: clamp(0rem, 1.2vw, 1.5rem); }
.split.flip > .s-media { grid-column: 5 / -1; }
.split.flip > .s-text { grid-column: 1 / span 4; padding-left: 0; padding-right: clamp(0rem, 1.2vw, 1.5rem); }
.s-text > p { max-width: 40ch; }
/* two paragraphs in a row were set solid, with no space between them */
.s-text > p:not(.lead) + p { margin-top: 0.9rem; }
.s-text h3, .facts h3, .facts dt { font-size: var(--step-h3); line-height: 1.25; font-weight: 600; }
.s-text h3 + p { margin-top: 0.6rem; }
/* the name of a part of a chapter: the logo's face in the full ink, one step under the chapter's title */
.sub-title, .s-text h3.sub-title { font-size: var(--step-sub); line-height: 1.1; letter-spacing: -0.02em; font-weight: 500; color: var(--ink); }
.s-text h3.sub-title + p { margin-top: 1.1rem; }

/* a title on the left with its content in the two columns beside it */
.chapter-side .side-title { grid-column: 1 / span 4; align-self: start; position: sticky; top: calc(var(--margin) * 2); }
.chapter-side .c-title { margin-bottom: 1.5rem; font-size: var(--step-title-side); }
.side-body { grid-column: 5 / -1; min-width: 0; }

/* lists: three across, or two beside a title, or one in a split's words */
.facts { --cols: 3; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gutter); row-gap: clamp(2rem, 3.5vw, 3.5rem); }
.facts p, .facts dd { margin: 0.5rem 0 0; max-width: 40ch; }
.side-body.facts { --cols: 2; }
.s-text.facts, .s-text .facts { --cols: 1; row-gap: 1.75rem; }
.s-text > .facts { margin-top: 2.25rem; }

/* screenshots: one crop, one caption */
.shot img, .shot video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--plate); }
.shot figcaption { margin-top: 0.75rem; max-width: 52ch; font-size: var(--step-small); color: var(--muted); }
.shot figcaption strong { color: var(--ink); font-weight: 600; }
.shot-card { position: relative; aspect-ratio: 16 / 9; background: var(--plate); }
.shot.shot-card img { position: absolute; inset: 5% 0; margin-inline: auto; width: auto; height: 90%; aspect-ratio: 608 / 684; object-fit: contain; background: none; }

/* ---------- Intelligent features: the six names, the family word set back ---------- */
ul.smart-list { grid-column: 1 / -1; display: grid; row-gap: clamp(1.75rem, 2.6vw, 2.5rem); }
.smart-list li { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: baseline; }
.smart-list h3 { grid-column: 1 / span 8; font-size: var(--step-sub); line-height: 1.1; letter-spacing: -0.02em; font-weight: 600; }
.smart-list h3 span { color: var(--muted); font-weight: 500; }
.smart-list p { grid-column: 9 / -1; max-width: 40ch; }

/* ---------- Intelligent Search: asking about what's playing, then the rest ---------- */
.asks-title { font-size: var(--step-h3); line-height: 1.25; font-weight: 600; }
.asks { margin-top: 1.5rem; display: grid; gap: 1.5rem; }
.ask dt { font-size: var(--step-h3); line-height: 1.25; letter-spacing: -0.01em; font-weight: 500; }
.ask dd { margin: 0.4rem 0 0; }
.search-note { margin-top: 2rem; color: var(--muted); }


/* the in-player question panel, as the film player draws it: top right over the paused picture */
.ask-shot { position: relative; overflow: hidden; container-type: inline-size; background: #000; font-family: var(--font); color: #fff; }
.ask-frame { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: brightness(0.62); }
.ask-panel {
  position: absolute; top: 4.5%; right: 3.5%; width: 47.9%;
  padding: 1.9cqw; border-radius: 1.7cqw; background: rgba(28, 30, 35, 0.86);
  display: grid; gap: 1.05cqw; align-content: start;
}
.ask-head { display: flex; justify-content: space-between; align-items: center; font-size: 2.05cqw; font-weight: 600; }
.ask-pill { font-size: 1.35cqw; font-weight: 600; padding: 0.55cqw 1.3cqw; border-radius: 3cqw; background: rgba(255, 255, 255, 0.12); }
.ask-field { font-size: 1.4cqw; color: rgba(255, 255, 255, 0.6); padding: 1.05cqw 1.25cqw; border-radius: 1cqw; background: rgba(255, 255, 255, 0.07); }
.ask-ideas { display: flex; flex-wrap: wrap; gap: 0.75cqw; }
.ask-idea { font-size: 1.3cqw; font-weight: 500; padding: 0.6cqw 1.2cqw; border-radius: 3cqw; background: rgba(255, 255, 255, 0.1); }
.ask-idea.is-on { background: #f1f0ee; color: #0b0b0b; }
.ask-q { margin-top: 0.5cqw; font-size: 1.3cqw; color: rgba(255, 255, 255, 0.62); }
.ask-a { font-size: 1.6cqw; line-height: 1.45; }

.glance-stage { position: relative; aspect-ratio: 4 / 3; overflow: hidden; container-type: size; background: #000; font-family: var(--font); color: #fff; }
.g-ground { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.45) saturate(0.9); }
.g-ico { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.12em; }
.g-bar { position: absolute; top: 4.5cqh; left: 3.5cqw; right: 3.5cqw; display: flex; align-items: center; gap: 2.2cqw; font-size: 2.15cqw; }
.g-search { display: grid; place-items: center; width: 5.6cqw; height: 5.6cqw; border-radius: 50%; background: rgba(38, 40, 46, 0.7); font-size: 2.6cqw; }
.g-item { font: inherit; color: #fff; display: inline-flex; align-items: center; gap: 0.7cqw; padding: 0.9cqw 1.4cqw; border-radius: 3cqw; white-space: nowrap; transition: background-color 200ms ease, color 200ms ease; }
.g-item:hover { background: rgba(255, 255, 255, 0.12); }
.g-item[aria-expanded="true"] { background: #f1f0ee; color: #0b0b0b; }
.g-ticker b { color: #ff5a4f; font-weight: 700; font-size: 0.8em; letter-spacing: 0.02em; }
.g-item[aria-expanded="true"] b { color: #c62a20; }
.g-ticker i { font-style: normal; opacity: 0.8; font-size: 0.9em; }
.g-tabs { display: none; }
.g-tabs span { padding: 0.75cqw 1.5cqw; border-radius: 3cqw; color: rgba(255, 255, 255, 0.78); }
.g-tabs .is-on { background: #fff; color: #0b0b0b; font-weight: 600; }
.g-status { display: flex; align-items: center; gap: 0.6cqw; margin-left: auto; }
.g-sep { width: 0.2cqw; height: 2.8cqw; background: rgba(255, 255, 255, 0.4); }
.g-avatar { width: 5.6cqw; height: 5.6cqw; border-radius: 50%; background: #4a5a6a; }
.g-card {
  position: absolute; top: 15cqh; width: 40cqw; padding: 2.4cqw 2.6cqw; border-radius: 2.2cqw;
  background: rgba(30, 32, 37, 0.88); font-size: 1.75cqw; display: none; gap: 1.5cqw;
}
.g-card.is-open { display: grid; }
.g-scores { left: 10cqw; }
.g-weathercard { right: 13cqw; }
.g-coming { right: 3.5cqw; }
.g-row { display: flex; justify-content: space-between; align-items: center; gap: 1cqw; }
.g-top { font-size: 1.5cqw; color: rgba(255, 255, 255, 0.72); text-transform: none; }
.g-live { color: #ff5a4f; font-weight: 700; }
.g-match { display: grid; grid-template-columns: 1fr auto auto auto 1fr; align-items: center; gap: 1.2cqw; font-size: 1.9cqw; font-weight: 600; }
.g-match .g-team:last-child { text-align: right; }
.g-crest { display: grid; place-items: center; width: 4.2cqw; height: 4.2cqw; border-radius: 50%; background: rgba(255, 255, 255, 0.14); font-size: 1.15cqw; font-weight: 700; }
.g-score { font-size: 3.4cqw; font-weight: 600; font-variant-numeric: tabular-nums; }
.g-small { font-size: 1.45cqw; color: rgba(255, 255, 255, 0.72); }
.g-centre { text-align: center; }
.g-sub { font-size: 1.3cqw; color: rgba(255, 255, 255, 0.6); margin-top: 0.6cqw; }
.g-pill { justify-self: start; font-size: 1.45cqw; font-weight: 600; padding: 0.8cqw 1.5cqw; border-radius: 3cqw; background: rgba(255, 255, 255, 0.12); }
.g-temp { font-size: 5cqw; line-height: 1; font-weight: 500; }
.g-hours { display: grid; grid-template-columns: repeat(5, 1fr); text-align: center; gap: 0.4cqw; padding-block: 1.2cqw; }
.g-hours span { display: grid; justify-items: center; gap: 0.5cqw; font-size: 1.45cqw; }
.g-hours i { font-style: normal; color: rgba(255, 255, 255, 0.72); font-size: 1.3cqw; }
.g-hours .g-ico { font-size: 2.2cqw; }
.g-days { display: grid; gap: 0.9cqw; }
.g-days p { display: grid; grid-template-columns: 4.6cqw 2.6cqw 3.4cqw 1fr 3.4cqw; align-items: center; gap: 0.8cqw; font-size: 1.5cqw; }
.g-days i { font-style: normal; }
.g-days span:nth-of-type(1) { color: rgba(255, 255, 255, 0.6); text-align: right; }
.g-range { position: relative; height: 0.55cqw; border-radius: 1cqw; background: rgba(255, 255, 255, 0.14); }
.g-range span { position: absolute; top: 0; bottom: 0; left: calc(var(--a) * 100%); right: calc((1 - var(--b)) * 100%); border-radius: 1cqw; background: var(--accent); }
.g-credit { font-size: 1.2cqw; color: rgba(255, 255, 255, 0.5); }
.g-date { font-size: 2.2cqw; font-weight: 600; }
.g-list { list-style: none; margin: 0; padding: 1.2cqw 0 0; display: grid; gap: 1.6cqw; }
.g-list li { display: grid; grid-template-columns: 2cqw 7cqw 1fr; gap: 1.2cqw; align-items: start; font-size: 1.6cqw; }
.g-list .g-ico { font-size: 1.7cqw; color: rgba(255, 255, 255, 0.72); margin-top: 0.2cqw; }
.g-when, .g-what { display: grid; gap: 0.2cqw; }
.g-when i, .g-what span { font-style: normal; color: rgba(255, 255, 255, 0.55); }
.g-what b, .g-when b { font-weight: 500; }

/* ---------- Intelligent Connect ---------- */
.connect { padding-block: var(--pad); }
/* the line and the paragraph beside it share a first baseline */
.connect-head { align-items: first baseline; }
.connect-lead { grid-column: 1 / span 8; }
.connect-body { grid-column: 9 / -1; max-width: 40ch; }
.connect .facts { margin-top: clamp(3rem, 5vw, 4.5rem); }
/* Everything in step: the row in the devices chapter that ties the screens together. */
.together { grid-column: 1 / -1; padding-block: clamp(3.5rem, 6vw, 6rem) 2rem; }
/* The names of the parts of a chapter (Works with, Everything in step, What works where). They were the size of a
   caption's heading, in the soft ink, under a title five times as tall: a long chapter read as one run. */
.together-title { font-size: var(--step-sub); line-height: 1.1; letter-spacing: -0.02em; font-weight: 500; color: var(--ink); margin-bottom: clamp(1.5rem, 2.5vw, 2.25rem); }
.together-lead { max-width: 52ch; font-size: var(--step-head); line-height: 1.25; margin: -0.25rem 0 clamp(2rem, 3.5vw, 3rem); }
/* What works where: features down the side, devices across the top. It scrolls sideways inside its own box on a
   small screen, with the feature names held at the left. */
.where { grid-column: 1 / -1; padding-block: 1rem 2rem; }
.where-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.where-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.where-table { width: 100%; min-width: 46rem; border-collapse: collapse; font-size: 0.9375rem; }
.where-table th, .where-table td { padding: 0.85rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.where-table thead th { font-family: var(--font-head); font-weight: 500; font-size: 1rem; color: var(--muted); vertical-align: bottom; }
.where-table tbody th { font-weight: 500; width: 34%; position: sticky; left: 0; background: var(--bg); }
.where-table td.yes { color: var(--ink); }
.where-table td.no { color: rgba(255, 255, 255, 0.32); }
.where-table td.part { color: var(--muted); }
.where-table td.soon { color: #eecc86; }
.where-hint, .where-pick { display: none; }
@media (max-width: 767px) {
  .where-hint { display: block; margin: -0.75rem 0 1rem; color: var(--muted); font-size: 0.875rem; }
  .where-scroll { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); } /* taste-skill-ignore: a mask on the scrolling table without script, not a fill */
  .where-table { min-width: 40rem; font-size: 0.875rem; }
  .where-table tbody th { width: 10rem; }
  /* With script, one device at a time: a button for each, and the table is the features and that device's column.
     Five columns never fitted a phone, and a table cut at the edge reads as broken, not as something to swipe. */
  .where.has-pick .where-hint { display: none; }
  .where.has-pick .where-pick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; margin-bottom: 0.75rem; }
  .where-pick button { min-height: 2.75rem; padding: 0 0.4rem; font-weight: 600; font-size: 0.9375rem; background: var(--surface-2); color: var(--ink); transition: background-color 180ms ease, color 180ms ease, transform 140ms var(--ease-out); }
  .where-pick button:active { transform: scale(0.97); }
  .where-pick button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
  .where.has-pick .where-scroll { overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .where.has-pick .where-table { min-width: 0; font-size: 0.9375rem; }
  .where.has-pick .where-table tbody th { width: 56%; position: static; }
  .where.has-pick .where-table :is(th, td) { padding-inline: 0 0.75rem; }
  .where.has-pick .where-table :is(th, td):not(:first-child) { display: none; padding-inline: 0.75rem 0; }
  .where.has-pick[data-col="1"] .where-table :is(th, td):nth-child(2),
  .where.has-pick[data-col="2"] .where-table :is(th, td):nth-child(3),
  .where.has-pick[data-col="3"] .where-table :is(th, td):nth-child(4),
  .where.has-pick[data-col="4"] .where-table :is(th, td):nth-child(5) { display: table-cell; }
}
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Works with: four names set large in the logo's face, a line under each. */
.works { grid-column: 1 / -1; padding-top: clamp(4rem, 7vw, 7rem); }
.works-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 2.5rem; }
.works-name { font-family: var(--font-head); font-size: clamp(2rem, 1.3rem + 2vw, 3.5rem); line-height: 1; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 0.9rem; }
.works-logo img { display: block; height: 1em; width: auto; } /* Plex's logo, its own colours, about the height of the names beside it */
.works-list p:not(.works-name) { color: var(--muted); max-width: 30ch; }
.works > .fine { margin-top: 2.5rem; }
@media (max-width: 1100px) { .works-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .works-list { grid-template-columns: 1fr; } }
/* Get Beamshelf: a card for each place to get it. */
.plans .c-title { grid-column: 1 / -1; }
.store-cards { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gutter); }
/* a card is one tone up from the field; the hairline ring round it is gone */
.store-card { display: flex; flex-direction: column; gap: 0.6rem; padding: clamp(1.25rem, 2vw, 1.75rem); border-radius: 18px; background: rgba(255, 255, 255, 0.06); }
.store-for { color: var(--muted); font-size: var(--step-small); }
.store-name { font-family: var(--font-head); font-size: clamp(1.5rem, 1.1rem + 1vw, 2.1rem); line-height: 1.1; font-weight: 500; }
/* The store badges at one visible height (44 px). Google's PNG is 250 tall with its badge in the middle 168, so it's
   drawn 65 px tall and its transparent margin (41/250) pulled in. Clear space around Apple's: a quarter of 44. */
.store-badge { display: flex; align-items: center; min-height: 44px; padding-block: 11px 4px; }
.store-badge img { display: block; width: auto; }
.badge-apple { height: 44px; }
.badge-google { height: 65.5px; margin: -10.7px 0 -10.7px -10.7px; }
.store-own { display: flex; align-items: center; gap: 0.6rem; }
.store-own img { width: 28px; height: auto; flex: none; }
.store-link { color: inherit; text-decoration: none; }
.store-link:hover, .store-link:focus-visible { text-decoration: underline; text-decoration-thickness: 0.06em; }
.store-line { color: var(--muted); font-size: 1rem; line-height: 1.45; }
.store-status { margin-top: auto; padding-top: 0.75rem; font-weight: 600; font-size: var(--step-small); letter-spacing: 0.02em; }
.store-status.is-soon { color: #eecc86; }
.store-status.is-out { color: #9aa3b2; }
.store-status.is-later { color: var(--muted); }
.plans > .fine { grid-column: 1 / -1; margin-top: 2rem; max-width: 62ch; }
@media (max-width: 1280px) { .store-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .store-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .store-cards { grid-template-columns: 1fr; } }
/* Ask Beamshelf anything: the lead line and the six things its AI does, above the Ask about this scene demo. */
.ai-lead { grid-column: 1 / span 8; font-size: var(--step-head); line-height: 1.25; max-width: 40ch; margin: -1rem 0 clamp(2.5rem, 4vw, 3.5rem); }
.ai-facts { grid-column: 1 / -1; margin-bottom: clamp(3rem, 5vw, 5rem); }
@media (max-width: 767px) { .ai-lead { grid-column: 1 / -1; } }
.soon-tag { display: inline-block; margin-left: 0.4em; padding: 0.2em 0.6em; border-radius: 999px; background: rgba(255, 255, 255, 0.12); font-family: var(--font); font-size: 0.6em; font-weight: 600; letter-spacing: 0.02em; vertical-align: 0.25em; }
.connect-stage { position: relative; margin-top: 3.5rem; overflow: hidden; container-type: inline-size; background: #000; font-family: var(--font); color: #fff; }
.ic-ground { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 45%; filter: brightness(0.85); }
.ic-card { position: absolute; border-radius: 1.2cqw; background: rgba(24, 26, 31, 0.86); }
.ic-steps { left: 3cqw; bottom: 3.4cqw; width: 30cqw; padding: 1.4cqw 1.6cqw; display: grid; gap: 0.75cqw; }
.ic-name { font-size: 0.95cqw; font-weight: 600; color: rgba(255, 255, 255, 0.55); letter-spacing: 0.02em; }
.ic-step { display: flex; align-items: center; gap: 0.9cqw; font-size: 1.25cqw; }
.ic-mark { position: relative; flex: none; width: 1.3cqw; height: 1.3cqw; border-radius: 50%; }
/* the finished state: a tick for what checked out, a ring on what's still running */
.ic-mark::after { content: ""; position: absolute; left: 0.42cqw; top: 0.18cqw; width: 0.38cqw; height: 0.7cqw; border-right: 0.2cqw solid #3fd28a; border-bottom: 0.2cqw solid #3fd28a; transform: rotate(45deg); }
.ic-run .ic-mark::after { content: none; }
.ic-run .ic-mark { border: 0.2cqw solid rgba(255, 255, 255, 0.25); border-top-color: #fff; }
.ic-offer { left: 50%; bottom: 3.4cqw; width: 36cqw; transform: translateX(-12%); padding: 1.5cqw 1.8cqw; display: grid; gap: 0.8cqw; }
.ic-title { font-size: 1.5cqw; font-weight: 600; }
.ic-body { font-size: 1.25cqw; color: rgba(255, 255, 255, 0.8); }
.ic-pills { display: flex; gap: 0.7cqw; margin-top: 0.4cqw; }
.ic-pill { font-size: 1.15cqw; font-weight: 600; padding: 0.55cqw 1.3cqw; border-radius: 3cqw; background: rgba(255, 255, 255, 0.12); }
.ic-pill.is-on { background: #f1f0ee; color: #0b0b0b; }
/* the stall plays out once as the stage comes into view: checks tick in turn, then the offer rises */
@media (prefers-reduced-motion: no-preference) {
  .js .connect-stage .ic-step .ic-mark::after { opacity: 0; transition: opacity 240ms ease; transition-delay: calc(600ms + var(--n) * 650ms); }
  .js .connect-stage .ic-step .ic-mark { border: 0.2cqw solid rgba(255, 255, 255, 0.25); border-top-color: #fff; }
  /* they turn only while the stall plays out: four endless spins kept the whole page redrawing every frame */
  .js .connect-stage.is-playing:not(.is-done) .ic-step .ic-mark { animation: ic-spin 900ms linear infinite; }
  .js .connect-stage.is-playing .ic-step:not(.ic-run) .ic-mark { border-color: transparent; animation: none; transition: border-color 200ms ease; transition-delay: calc(600ms + var(--n) * 650ms); }
  .js .connect-stage.is-playing .ic-step:not(.ic-run) .ic-mark::after { opacity: 1; }
  .js .connect-stage .ic-step { opacity: 0.35; transition: opacity 300ms ease; transition-delay: calc(300ms + var(--n) * 650ms); }
  .js .connect-stage.is-playing .ic-step { opacity: 1; }
  .js .connect-stage .ic-offer { opacity: 0; transform: translate(-12%, 1.5cqw); transition: opacity 500ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: 3200ms; }
  .js .connect-stage.is-playing .ic-offer { opacity: 1; transform: translate(-12%, 0); }
}
@keyframes ic-spin { to { transform: rotate(360deg); } }

/* ---------- the player: small proofs beside text ---------- */
.player .lead { grid-column: 1 / span 8; margin-bottom: clamp(2.5rem, 4.5vw, 4.5rem); }
.proofs { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: clamp(3rem, 5vw, 4.5rem); }
.proof-text { margin-top: 1.25rem; }
.proof-text h3 { font-size: var(--step-h3); line-height: 1.25; font-weight: 600; }
.proof-text p { margin-top: 0.5rem; max-width: 36ch; }
.proof-text p + p { color: var(--muted); }

.panel { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--surface); font-family: var(--font); color: #fff; }
.panel img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.ui-card { position: absolute; top: 14px; right: 14px; display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 12px; background: rgba(22, 24, 28, 0.82); font-size: 0.875rem; }
.ui-card-name { font-weight: 600; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.72); }
.ui-card-line { font-weight: 600; }
.panel-dialogue, .panel-audio { padding: 14px; display: grid; gap: 6px; align-content: center; }
.ui-row { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 12px 16px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); font-size: 0.9375rem; font-weight: 500; }
.ui-row span:last-child { color: rgba(255, 255, 255, 0.72); }
.ui-row.is-picked { background: #f3f1ec; color: #0b0b0b; }
.ui-row.is-picked span:last-child { color: #2b2c30; }
.ui-skip { position: absolute; right: 16px; bottom: 16px; padding: 10px 18px; border-radius: 999px; background: #f3f1ec; color: #0b0b0b; font-weight: 600; font-size: 0.9375rem; }
.panel-ends { padding: 22px 18px 18px; display: grid; align-content: center; }
.ui-time { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.9375rem; font-weight: 600; }
.ui-ends { color: var(--accent); font-variant-numeric: tabular-nums; }
.ui-progress { margin-top: 16px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.18); overflow: hidden; }
.ui-progress span { display: block; height: 100%; background: #fff; }
.ui-time-small { margin-top: 10px; font-weight: 500; font-size: 0.875rem; color: rgba(255, 255, 255, 0.72); font-variant-numeric: tabular-nums; }
.ui-next { position: absolute; right: 14px; bottom: 14px; display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px; background: rgba(22, 24, 28, 0.86); font-size: 0.875rem; }
.ui-next-label { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.72); font-weight: 600; }
.ui-next-name { font-weight: 600; }
.ui-next-play { margin-top: 8px; align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: #f3f1ec; color: #0b0b0b; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- Live TV: the pinned title, its screens passing ---------- */
.live { position: relative; padding-top: var(--pad); background: var(--night); }
.live-pin { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; z-index: 2; pointer-events: none; }
.live-title { font-size: var(--step-display); line-height: 0.9; text-align: center; max-width: 6ch; }
/* the screens pass beside the title, two to a screen, never behind it */
.live-run {
  position: relative; z-index: 1; margin-top: -100svh; padding-top: 8svh; padding-bottom: var(--pad); padding-inline: var(--edge);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 7svh; align-items: start;
}
.portrait { width: 100%; }
.p1 { grid-column: 1 / span 4; grid-row: 1; }
.p2 { grid-column: 9 / span 4; grid-row: 1; margin-top: 8svh; }
.p3 { grid-column: 1 / span 4; grid-row: 2; }
.p4 { grid-column: 9 / span 4; grid-row: 2; margin-top: 8svh; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--surface); }
.p3 img { aspect-ratio: 4 / 3; }
.portrait figcaption { margin-top: 1rem; max-width: 300px; display: grid; gap: 0.2rem; }
.p-name { font-weight: 600; font-size: 1.125rem; }
.p-role { font-size: var(--step-small); color: var(--muted); }
.p-line { margin-top: 0.5rem; }

/* ---------- devices: figures beside a picture ---------- */
.split-text-wide > .s-text { grid-column: 1 / span 8; padding-left: 0; }
.split-text-wide > .s-media { grid-column: 9 / -1; }
.figure-list { display: grid; gap: 1.75rem; }
.figure-row { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); column-gap: var(--gutter); align-items: baseline; }
.figure-row dt { grid-column: 1 / span 2; text-align: right; font-size: var(--step-head); font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; white-space: nowrap; }
.figure-row dd { grid-column: 3 / -1; margin: 0; max-width: 44ch; }
.needs .figure-row dt { font-family: var(--font-head); }
.devices-photo { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--plate); }
/* Beamshelf Server: its own window beside the words, the two downloads, the fine print. */
.split.computer { margin-top: clamp(3rem, 6vw, 6rem); }
.split.computer h3 + p, .split.computer p + p { margin-top: 1rem; }
.computer-shot { width: 100%; height: auto; border-radius: 14px; }
/* The phone apps: three iPhone screens side by side, the middle one raised a little. */
.phone-trio { display: flex; justify-content: center; align-items: center; gap: clamp(0.75rem, 2vw, 2rem); }
.phone-trio img { flex: 0 1 30%; min-width: 0; width: 30%; height: auto; border-radius: clamp(14px, 2.4vw, 34px); }
.phone-trio img:nth-child(2) { transform: translateY(-6%); }
.split > .phone-trio { max-width: 820px; margin-inline: auto; }
.downloads { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.button-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(241, 240, 238, 0.35); }
.button-line:hover { background: rgba(241, 240, 238, 0.08); }
.fine { margin-top: 1rem; color: var(--muted); font-size: var(--step-small); }
/* Set up by an AI assistant: the conversation as it happens, the command each step ran written under it. */
.split.assistant { margin-top: clamp(4rem, 8vw, 8rem); }
.split.assistant h3 + p, .split.assistant p + p { margin-top: 1rem; }
.agent-chat {
  display: grid; gap: 1.1rem; padding: clamp(1.25rem, 2.6vw, 2.5rem); border-radius: 14px; background: var(--plate);
  font-size: clamp(0.9375rem, 0.85rem + 0.3vw, 1.125rem); line-height: 1.5;
}
.agent-you { justify-self: end; max-width: 30em; padding: 0.7em 1.05em; border-radius: 1.1em 1.1em 0.35em 1.1em; background: rgba(241, 240, 238, 0.1); }
.agent-turn { display: grid; gap: 0.8rem; max-width: 40em; }
.agent-step { display: grid; grid-template-columns: 1.1em minmax(0, 1fr); column-gap: 0.7em; }
.agent-tick { grid-row: 1 / span 2; position: relative; height: 1.1em; margin-top: 0.2em; }
.agent-tick::after { content: ""; position: absolute; left: 0.36em; top: 0.08em; width: 0.32em; height: 0.64em; border-right: 2px solid #3fd28a; border-bottom: 2px solid #3fd28a; transform: rotate(45deg); }
.agent-step code, .faq code { font-family: ui-monospace, "Cascadia Code", Menlo, Consolas, monospace; font-size: 0.82em; }
.agent-step code { grid-column: 2; display: block; margin-top: 0.2rem; color: var(--muted); overflow-wrap: anywhere; }
.agent-step code span { white-space: nowrap; } /* a flag and its value stay together */
.agent-say { color: var(--ink); }

/* ---------- plans: the names are the heading, the answer beside them ---------- */
.plans { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); padding-block: var(--pad); padding-inline: var(--edge); align-items: start; }
.plan-names { grid-column: 1 / span 4; display: flex; flex-direction: column; align-items: flex-start; }
.plan-name {
  position: relative; font-size: var(--step-title); line-height: 1.1; letter-spacing: -0.035em; font-weight: 600; white-space: nowrap;
  color: var(--muted); text-align: left; padding-left: 0.5em; transition: color 200ms ease;
}
.plan-name::before { content: ""; position: absolute; left: 0.04em; top: 0.52em; width: 0.26em; height: 0.26em; border-radius: 50%; background: var(--ink); opacity: 0; transform: scale(0.4); transition: transform 300ms var(--ease-out), opacity 200ms ease; }
.plan-name[aria-selected="true"] { color: var(--ink); }
.plan-name[aria-selected="true"]::before { opacity: 1; transform: none; }
.plan-name:hover { color: var(--ink); }
.plan-stage { grid-column: 5 / -1; padding-top: 0.3rem; transition: opacity 200ms ease; }
.plan-stage.is-swapping { opacity: 0; }
.plan-figure { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.25em 1rem; }
#plan-figure { font-size: var(--step-title); line-height: 1.1; letter-spacing: -0.035em; font-weight: 600; }
.plan-text { margin-top: 1.75rem; max-width: 40ch; }

/* ---------- questions ---------- */
.faq-list { display: grid; gap: 0.75rem; }
/* the padding sits on the summary, so the whole row is the thing you press */
.faq details { padding: 0 1.25rem; margin-inline: calc(min(1.25rem, var(--margin)) * -1); transition: background-color 240ms ease; }
.faq details[open] { background: var(--surface); padding-bottom: 1.5rem; }
.faq summary { list-style: none; cursor: pointer; padding-block: 0.9rem; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; font-size: var(--step-head); line-height: 1.25; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 0.42em; height: 0.42em; margin-right: 0.2em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-0.12em) rotate(45deg); transition: transform 240ms var(--ease-out); }
.faq details[open] summary::after { transform: translateY(0.1em) rotate(225deg); }
.faq summary:hover { color: #fff; }
.faq details p { margin-top: 1rem; max-width: 48ch; }

/* ---------- the close: the name, inverted, cut by the foot of the page ---------- */
.close { position: relative; min-height: 100svh; background: var(--inv-bg); color: var(--inv-ink); overflow: hidden; display: flex; flex-direction: column; }
.close-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); padding-inline: var(--edge); padding-top: calc(var(--section) * 0.55); }
.close-ask { grid-column: 1 / 8; }
.close-title { font-size: var(--step-display); line-height: 0.95; letter-spacing: -0.04em; font-weight: 600; max-width: 10ch; }
.close-soon { margin-top: 1.5rem; font-size: var(--step-head); line-height: 1.25; max-width: 26ch; color: var(--inv-ink); }
.close-links { grid-column: 10 / 13; display: grid; gap: 0.6rem; align-content: start; padding-top: 0.6rem; }
.close-links a:hover, .close-links button:hover { color: #000; text-decoration-thickness: 0.12em; }
.close-links button { font-size: inherit; padding: 0; text-align: left; }
/* An outside service's own icon before its name (Discord's), kept at its own colours */
.link-yt { display: inline-flex; align-items: center; gap: 0.45em; }
.yt-icon { width: 1.35em; height: auto; flex: none; }
/* the legal lines in two columns of readable measure; across the whole screen they ran to 200 characters a line */
.close-legal { padding-inline: var(--edge); margin-top: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem var(--gutter); align-items: start; font-size: var(--step-small); color: var(--inv-muted); padding-top: 4rem; padding-bottom: 1rem; }
.close-legal p { max-width: 62ch; }
/* The name across the foot, in the logo's face, set like the cover's (--name-size, --name-track, --name-left). */
.close-name {
  font-family: var(--font-head);
  font-size: var(--name-size); line-height: 0.8; font-weight: 800; letter-spacing: var(--name-track); text-transform: uppercase; white-space: nowrap;
  margin-left: var(--name-left); margin-bottom: -0.17em; color: var(--inv-ink); transform-origin: 50% 100%;
}

/* a picture that settles from a slight scale stays inside its frame */
[data-reveal="shutter"] { overflow: clip; }
.shot { position: relative; }

/* ---------- entrances ----------
   Each part rises into place as it comes into view, tied to the scroll where the browser can do that
   and fired once by script where it can't. Nothing starts below 35% opacity, so the page reads before,
   during and without any of it. */
@media (prefers-reduced-motion: no-preference) {
  .js.sda [data-reveal] {
    animation: enter linear both; animation-timeline: view();
    animation-range: entry calc(var(--i, 0) * 5%) cover calc(16% + var(--i, 0) * 5%);
  }
  .js.sda [data-reveal="shutter"] { animation-name: open; animation-range: entry 0% cover 24%; }
  .js.sda [data-reveal="shutter"] > img, .js.sda [data-reveal="shutter"] > video { animation: settle linear both; animation-timeline: view(); animation-range: entry 0% cover 34%; }

  .js.no-sda [data-reveal] { opacity: 0.35; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
  .js.no-sda [data-reveal].is-in { opacity: 1; transform: none; }
  .js.no-sda [data-reveal="shutter"] { opacity: 1; transform: none; clip-path: inset(0 0 40% 0); transition: clip-path 900ms var(--ease-out); }
  .js.no-sda [data-reveal="shutter"].is-in { clip-path: inset(0); }

  .js .hero-copy > * { animation: rise 900ms var(--ease-out) both; }
  .js .hero-copy > :nth-child(2) { animation-delay: 90ms; }
  .js .hero-copy > :nth-child(3) { animation-delay: 180ms; }

  /* A chapter's title clears as it arrives, the way a fogged pane does when it's wiped: soft and a little low,
     then sharp. Opacity, transform and blur only. */
  .js.sda .c-title[data-reveal] { transform-origin: 0 100%; animation-name: clear; animation-range: entry 0% cover 36%; }
  .js.no-sda .c-title[data-reveal] { filter: blur(10px); transition: opacity 900ms var(--ease-out), transform 1100ms var(--ease-out), filter 1200ms var(--ease-out); }
  .js.no-sda .c-title[data-reveal].is-in { filter: none; }

  /* Light across the glass: each TV picture catches a passing light once as it scrolls into the middle of the
     screen (and again on the way back, since it follows the scroll). */
  .js.sda :is(.shot, .ask-shot, .glance-stage, .plate)[data-reveal="shutter"]::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
    background: linear-gradient(102deg, transparent 0 38%, rgba(255, 255, 255, 0.06) 44%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.06) 56%, transparent 62% 100%); /* taste-skill-ignore: a reflection on the screen's glass, the site's idea */
    animation: sheen linear both; animation-timeline: view(); animation-range: cover 18% cover 52%;
  }
  .js.sda .shot[data-reveal="shutter"]::after { bottom: auto; aspect-ratio: 16 / 9; }
  .js.sda .plate[data-reveal="shutter"] { position: relative; }
}
@keyframes clear {
  from { opacity: 0.35; filter: blur(14px); transform: translateY(0.12em) scale(1.015); }
  65% { filter: blur(1.5px); }
  to { opacity: 1; filter: blur(0); transform: none; }
}
@keyframes sheen { from { transform: translateX(-105%); } to { transform: translateX(105%); } }
@keyframes enter { from { opacity: 0.35; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes open { from { clip-path: inset(0 0 40% 0); } to { clip-path: inset(0); } }
@keyframes settle { from { transform: scale(1.05); } to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ?poster: the hall alone, for its still picture */
.poster .knock, .poster .glass, .poster .hall-frost, .poster .hero-copy, .poster .bar, .poster .beats, .poster .beat-count { display: none; }
.poster .hall-canvas { opacity: 1; transition: none; }

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
  /* the thirds need width: below this a chapter is one column, the picture and then its words */
  .chapter { display: block; }
  .chapter-flush { display: grid; }
  .c-title { margin-bottom: 2.25rem; }
  .c-title.tight { margin-bottom: 1rem; }
  .split:not(.showcase-split) { display: block; }
  .split + .split { margin-top: 1rem; }
  .split:not(.showcase-split) > .s-text { margin-top: 2rem; padding: 0; max-width: 60ch; }
  .split.showcase-split > .s-media { grid-column: 1 / span 6; }
  .split.showcase-split > .s-text { grid-column: 7 / -1; padding-left: 0; }
  .chapter-side .side-title { position: static; }
  .side-body { margin-top: 2.5rem; }
  .facts, .side-body.facts, .s-text.facts, .s-text .facts { --cols: 2; }
  .proofs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .smart-list li { display: block; }
  .smart-list p { margin-top: 0.6rem; }
  .player .lead, .connect-lead { grid-column: 1 / -1; max-width: 30ch; }
  .connect-body { grid-column: 1 / -1; margin-top: 1.5rem; }
  .split > .devices-photo { width: min(100%, 22rem); margin-top: 3rem; }
  .tv-index { display: none; }
  .split.computer > .s-media { grid-column: 1 / -1; grid-row: 1; }
  .split.computer > .s-text { grid-column: 1 / -1; grid-row: 2; }
  .split.computer > .computer-shot { margin-top: 2.5rem; } /* the window sat hard under the small print */
  .plan-names { grid-column: 1 / span 6; }
  .plan-stage { grid-column: 7 / -1; }
  /* no pin on narrower screens: the title heads the section and the screens follow in two columns */
  .live-pin { position: static; height: auto; display: block; padding-inline: var(--margin); }
  .live-title { text-align: left; max-width: none; }
  .live-run { margin-top: 3rem; padding-top: 0; row-gap: 4rem; }
  .p1, .p3 { grid-column: 1 / span 6; }
  .p2, .p4 { grid-column: 7 / span 6; margin-top: 10rem; }
  .close { min-height: 0; }
  .close-legal { padding-top: 6rem; }
}

/* ---------- phone: its own composition ---------- */
@media (max-width: 767px) {
  /* The bar is the wordmark and Menu (the list the dock opens): four links on a second row ran into the name down
     the right edge. Without script, or where a dialog can't open, the links keep that row. */
  .bar { flex-wrap: wrap; row-gap: 0.85rem; }
  .bar-links { flex-basis: 100%; gap: 1.1rem; font-size: var(--step-small); }
  .js:not(.no-menu) .bar.has-menu .bar-links { display: none; }
  .js:not(.no-menu) .bar.has-menu .bar-menu { display: inline-flex; }
  .monument {
    writing-mode: vertical-rl; left: auto; right: calc(var(--step-monument) * -0.2); bottom: auto; top: 50%;
    font-size: 33vw; line-height: 0.8; transform: translateY(-50%); /* 5.47 em of name: as long as the nine-letter name was before */
  }
  /* The words take the room the name leaves (its letters start about 80% across): the line sits on two lines at every
     phone width (its longer half is 7.9 em wide), and the sentence under it runs six lines instead of eight. */
  .hero-copy { top: calc(var(--margin) + 6.5rem); max-width: 76vw; }
  .js:not(.no-menu) .hero-copy { top: calc(var(--margin) + 5rem); }
  .hero-line { font-size: min(2rem, 8.2vw); line-height: 1.08; max-width: none; }
  .hero-sub { font-size: 1.125rem; line-height: 1.35; margin-top: 0.75rem; }
  /* one sentence that wraps where it fits; as two set lines it broke four ways in a narrow column */
  .hero-soon span { display: inline; }
  .hero-copy .button { margin-top: 1.5rem; padding: 0 1.2rem; }
  .beats { left: var(--margin); right: var(--margin); width: auto; bottom: 9svh; }
  .beat-count { bottom: calc(9svh - 2.2rem); }

  .hall-rest { grid-template-columns: 1fr; }

  /* the picture of Home comes first, then the tabs, the words and the buttons */
  .showcase-split { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
  .split.showcase-split > .s-media, .split.showcase-split > .s-text { grid-column: 1; }
  .split.showcase-split > .showcase-side { display: contents; }
  .tabs { order: 2; font-size: 1.0625rem; gap: 1.4rem; }
  .plate { order: 1; }
  .showcase-text { order: 3; }
  .cells { order: 4; grid-template-columns: 1fr; margin-top: 0; }
  .cell { min-height: 60px; }

  .facts, .side-body.facts, .s-text.facts, .s-text .facts { --cols: 1; }
  .proofs { grid-template-columns: 1fr; }
  .connect-body { margin-top: 1rem; }
  .asks { gap: 1.75rem; }

  /* on a phone the panels leave the picture and sit under it, at reading size */
  .ask-shot { container-type: normal; }
  .ask-panel { position: static; width: auto; padding: 18px; border-radius: 0; gap: 12px; background: #16181c; }
  .ask-head { font-size: 1.125rem; }
  .ask-pill, .ask-idea { font-size: 0.875rem; padding: 6px 12px; border-radius: 999px; }
  .ask-field { font-size: 0.9375rem; padding: 10px 12px; border-radius: 10px; }
  .ask-ideas { gap: 8px; }
  .ask-q { font-size: 0.875rem; margin-top: 4px; }
  .ask-a { font-size: 1rem; }
  .glance-stage { aspect-ratio: 3 / 4; }
  .g-bar { font-size: 3.4cqw; gap: 2cqw; top: 3cqh; }
  .g-tabs { display: none; }
  .g-search, .g-avatar { width: 8cqw; height: 8cqw; }
  .g-card { left: 4cqw; right: 4cqw; width: auto; top: 13cqh; font-size: 3.4cqw; gap: 2.6cqw; padding: 4.5cqw; border-radius: 4cqw; }
  .g-top, .g-small, .g-pill, .g-hours span, .g-days p { font-size: 3cqw; }
  .g-sub, .g-hours i, .g-credit { font-size: 2.7cqw; }
  .g-match { font-size: 3.4cqw; }
  .g-crest { width: 8cqw; height: 8cqw; font-size: 2.2cqw; }
  .g-score { font-size: 6cqw; }
  .g-temp { font-size: 10cqw; }
  .g-hours .g-ico { font-size: 4.4cqw; }
  .g-days p { grid-template-columns: 9cqw 5cqw 7cqw 1fr 7cqw; }
  .g-range { height: 1.1cqw; }
  .g-date { font-size: 4.4cqw; }
  .g-list li { grid-template-columns: 4cqw 14cqw 1fr; font-size: 3.3cqw; gap: 2.4cqw; }
  .g-list .g-ico { font-size: 3.4cqw; }
  .connect-stage { margin-top: 2.5rem; container-type: normal; }
  .ic-ground { aspect-ratio: 4 / 3; }
  .ic-card { position: static; transform: none; width: auto; border-radius: 0; background: #16181c; }
  .ic-steps { padding: 16px 18px; gap: 10px; }
  .ic-name { font-size: 0.8125rem; }
  .ic-step { font-size: 0.9375rem; gap: 10px; }
  .ic-mark { width: 16px; height: 16px; }
  .ic-mark::after { left: 5px; top: 2px; width: 5px; height: 9px; border-right-width: 2px; border-bottom-width: 2px; }
  .ic-run .ic-mark { border-width: 2px; }
  .ic-offer { padding: 16px 18px; gap: 8px; border-top: 0; margin-top: 2px; }
  .ic-title { font-size: 1.0625rem; }
  .ic-body { font-size: 0.9375rem; }
  .ic-pill { font-size: 0.875rem; padding: 6px 12px; border-radius: 999px; }
  .ic-pills { flex-wrap: wrap; gap: 8px; }
  .js .connect-stage .ic-offer, .js .connect-stage.is-playing .ic-offer { transform: none; }

  .figure-row { grid-template-columns: 88px minmax(0, 1fr); column-gap: 1rem; }
  .figure-row dt { grid-column: 1; font-size: 1.5rem; }
  .needs .figure-row { grid-template-columns: 96px minmax(0, 1fr); }
  .needs .figure-row dt { font-size: 1.125rem; white-space: normal; text-align: left; }
  .figure-row dd { grid-column: 2; }
  .split > .devices-photo { width: 56%; margin: 3rem 0 0 auto; }
  /* under a part's name the size of a lead, the lead steps down so the two don't read as one */
  .together-lead { font-size: 1.25rem; line-height: 1.35; }
  .downloads .button { flex: 1 1 100%; }
  /* three screens side by side came out a hundred pixels wide each: Home stands in front at over half the width,
     Live TV and the library lean out behind it */
  .split > .phone-trio { display: grid; justify-items: center; align-items: center; gap: 0; }
  .phone-trio img { grid-area: 1 / 1; width: 44%; }
  .phone-trio img:nth-child(1) { width: 56%; z-index: 1; }
  .phone-trio img:nth-child(2) { transform: translateX(-64%) rotate(-3deg); filter: brightness(0.62); }
  .phone-trio img:nth-child(3) { transform: translateX(64%) rotate(3deg); filter: brightness(0.62); }

  .plans { display: block; }
  .plan-stage { margin-top: 2.5rem; padding-top: 0; }
  .plan-stage .button { width: 100%; }

  .faq details { margin-inline: calc(var(--margin) * -1); padding-inline: var(--margin); }
  .faq summary { font-size: 1.125rem; }

  .live-run { display: block; margin-top: 2.5rem; padding-bottom: calc(var(--section) / 2); }
  .portrait { width: 72%; margin-top: 0; }
  .portrait + .portrait { margin-top: 48px; }
  .p2, .p4 { margin-left: auto; }

  .close-top { display: block; }
  .close-legal { grid-template-columns: 1fr; }
  .close-title { font-size: var(--step-display); }
  .close-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-top: 2.5rem; font-size: 0.9375rem; }
}

/* Community: the Discord card, beside its title like Questions */
.discord-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(1rem, 2vw, 1.75rem); padding: clamp(1.25rem, 2.4vw, 2.25rem); border-radius: 18px; background: rgba(255, 255, 255, 0.06); }
.discord-mark { width: clamp(2.5rem, 2rem + 1.5vw, 3.5rem); height: auto; align-self: start; }
.discord-text { display: grid; gap: 0.6rem; }
.discord-text .store-line { max-width: 52ch; }
.discord-live { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: var(--step-small); letter-spacing: 0.02em; color: #9fd8a8; }
.discord-live[hidden] { display: none; }
.discord-dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: #23a55a; }
@media (max-width: 767px) {
  .discord-card { grid-template-columns: auto minmax(0, 1fr); }
  .discord-card .button { grid-column: 1 / -1; }
}


/* ---------- picture credits and the 404 page ---------- */
/* Lost in 7bb49f22 (one layout for every section) and back 2026-11-12: without them the title sat under the bar. */
.bar-static { position: relative; }
.credits { padding-block: 4rem var(--section); max-width: 60rem; }
.credits-title { font-family: var(--font-head); font-size: var(--step-display); line-height: 0.95; letter-spacing: -0.04em; font-weight: 600; }
.credits-block { margin-top: 4rem; }
.credits-block p { margin-top: 1rem; max-width: 62ch; }
.credits-list { margin-top: 1.25rem; display: grid; gap: 0.9rem; max-width: 70ch; }

/* ---------- the other pages: privacy, support, Fire TV, Beamshelf Server, press kit ----------
   They share the credits page's column (.credits, .credits-title, .credits-block) and add a lead under the title,
   plain lists, a picture, the press kit's downloads and one foot for all of them. */
.page-lead { margin-top: 1.5rem; max-width: 32ch; font-size: var(--step-head); line-height: 1.25; letter-spacing: -0.012em; text-wrap: balance; }
.page-note { margin-top: 1rem; color: var(--muted); font-size: var(--step-small); }
.page-status { margin-top: 1.25rem; padding-top: 0; }
.credits-block h3 { margin-top: 2.25rem; font-size: var(--step-h3); line-height: 1.25; }
.credits-block h3 + p, .credits-block h3 + ul { margin-top: 0.5rem; }
.credits-block ul:not([class]) { margin-top: 1rem; padding-left: 1.15em; max-width: 62ch; display: grid; gap: 0.7rem; }
.credits-block li::marker { color: var(--muted); }
.credits-block .faq-list { margin-top: 1.5rem; }
.credits-block .faq summary { font-size: var(--step-h3); }
.page-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.page-figure { margin-top: 2.5rem; }
.page-figure img { width: 100%; height: auto; border-radius: 14px; }
.page-facts { --cols: 2; margin-top: 1.5rem; }
.page-facts dd { margin: 0.4rem 0 0; }
.press-shots { margin-top: 1.75rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem var(--gutter); }
.press-shots img { width: 100%; height: auto; background: var(--plate); }
/* the logo files differ in shape (wide, square, wider): each preview sits whole in one 16:9 frame on its own ground */
.press-logos img { aspect-ratio: 16 / 9; object-fit: contain; background: #0b142d; }
.press-logos img.on-navy { background: #0a1329; }
.press-logos img.on-white { background: #fff; }
.press-logos img.on-black { background: #000; }
.press-shots figcaption { margin-top: 0.75rem; font-size: var(--step-small); color: var(--muted); max-width: none; }
.press-shots figcaption strong { color: var(--ink); font-weight: 600; }
.press-colours { --cols: 4; margin-top: 2.5rem; }
.swatch { display: inline-block; width: 0.9em; height: 0.9em; margin-right: 0.5em; border-radius: 50%; vertical-align: -0.05em; }
.page-foot { margin-top: 0; padding-block: 3rem 3.5rem; background: var(--band); font-size: var(--step-small); color: var(--muted); }
.page-foot p { margin-top: 0.75rem; max-width: 76ch; }
.page-links { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; margin-bottom: 1.5rem; font-size: 1rem; color: var(--ink); }
.page-links a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.page-links a:hover { color: #fff; text-decoration-thickness: 0.12em; }
@media (max-width: 767px) {
  .page-facts, .press-colours, .press-shots { --cols: 1; grid-template-columns: 1fr; }
}
