/* John Greenman reads
   Warm paper, pine-dark ink, one green. Unshowy on purpose.
   Display type is Newsreader, a bookish serif. Everything you read at length is Hanken Grotesk. */

@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 400 500; font-display: swap; src: url('fonts/newsreader-latin.woff2') format('woff2'); }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 400 500; font-display: swap; src: url('fonts/newsreader-italic-latin.woff2') format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('fonts/hanken-grotesk-latin.woff2') format('woff2'); }

:root {
  /* Paper, pine ink and one green. Light only: the engraved portrait is dark ink and would read as a negative on a dark page. */
  --bg: #f5f3ec;
  --raise: #ffffff;
  --raise-2: #e8e5da;
  --text: #1c2622;
  --muted: #5a655f;
  --line: rgba(28, 38, 34, 0.15);
  --edge: rgba(28, 38, 34, 0.52); /* the outline of a field: 3:1 against the paper */
  --accent: #2f5f4a;
  --accent-ink: #ffffff;
  --glass: rgba(255, 255, 255, 0.8);
  --shade: rgba(40, 52, 46, 0.24);

  --display: 'Newsreader', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* The size of everything read beside the main text: bylines, captions, sources, notes. Never under 16 pixels. */
  --small: 1rem;
  --pad: clamp(20px, 5vw, 72px);
  --max: 1320px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  color-scheme: light;
}
@media (min-width: 901px) {
  :root { --small: 1.0625rem; }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding: 96px 0 24px; }
html.has-player { scroll-padding-bottom: 150px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.125rem/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
.has-player body { padding-bottom: 116px; }

h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
button { font: inherit; color: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
svg { fill: currentColor; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
/* Headings take focus when the page changes, so screen readers announce it. They need no ring. */
[tabindex='-1']:focus { outline: none; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 60; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
/* The second one leads to the player, so it is only there while the player is. */
html:not(.has-player) #skip-player { display: none; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* The pages are filled in by script. Until then the space for them is a screen tall, so the footer does not show under the menu and then jump away. */
main { min-height: 100svh; }
.loading { padding-block: 40vh; color: var(--muted); }
.i-pause, .is-playing .i-play { display: none; }
.is-playing .i-pause { display: block; }

/* ---------- top bar ---------- */

.top { position: fixed; inset: 0 0 auto 0; z-index: 30; transition: background-color 0.3s ease, border-color 0.3s ease; border-bottom: 1px solid transparent; }
.top.is-stuck { background: var(--glass); -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4); border-bottom-color: var(--line); }
.top__in { max-width: var(--max); margin-inline: auto; padding: 14px var(--pad); display: flex; align-items: center; gap: 10px 28px; }
/* The name, led by the four bars of the voice: the same mark as the tab icon. */
/* The display cut of the type, as in the big headline. The icon is centered on the capitals: the name has no descenders, so centering on the whole line would leave it hanging low. */
.mark { display: inline-flex; align-items: center; gap: 0.42em; font-family: var(--display); font-size: 2.2rem; font-variation-settings: 'opsz' 72; line-height: 1.2; letter-spacing: -0.015em; text-decoration: none; margin-right: auto; white-space: nowrap; }
.mark svg { flex: none; position: relative; top: -0.1em; width: 0.83em; height: 0.9em; fill: var(--accent); }
.top nav { display: flex; gap: 2px; }
.top nav a { white-space: nowrap; text-decoration: none; padding: 9px 16px; border-radius: 999px; font-weight: 500; color: var(--muted); transition: color 0.2s ease, background-color 0.2s ease; }
.top nav a:hover { color: var(--text); }
.top nav a[aria-current='page'] { color: var(--text); background: var(--line); }

/* ---------- buttons ---------- */

.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 26px; border: 0; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none; transition: transform 0.2s var(--ease), filter 0.2s ease; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--line { background: none; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn--line:hover { box-shadow: inset 0 0 0 1px var(--text); filter: none; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: 3px; }
.more:hover { color: var(--accent); }
button.more { border-width: 0 0 1px; border-radius: 0; background: none; padding-inline: 0; }

/* ---------- hero ---------- */

.hero { position: relative; min-height: min(100svh, 900px); display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.hero__glow { position: absolute; inset: -20% -10% auto -10%; height: 90%; background: radial-gradient(60% 60% at 70% 30%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 70%); pointer-events: none; }
/* The waveform has a band of its own between the headline and the play button, so it never runs through text. */
.hero__wave { display: block; width: 100%; height: clamp(44px, 8vh, 84px); margin-top: clamp(10px, 2.4vh, 26px); }
.hero__in { position: relative; width: 100%; max-width: var(--max); margin-inline: auto; padding: 110px var(--pad) clamp(28px, 5vh, 56px); display: grid; grid-template-columns: minmax(0, 1fr) clamp(250px, 29vw, 430px); column-gap: clamp(24px, 3vw, 56px); align-items: end; }
.hero__main { padding-bottom: clamp(8px, 2vh, 28px); }
.hero .facts { grid-column: 1 / -1; }

/* The engraved portrait is a mask, so the ink is whatever the text colour is: it suits any background. */
.portrait { aspect-ratio: 798 / 1088; background: var(--text); -webkit-mask: url('john.webp') center bottom / contain no-repeat; mask: url('john.webp') center bottom / contain no-repeat; }
@media (forced-colors: active) { .portrait { forced-color-adjust: none; background: CanvasText; } }
.hero__portrait { margin-bottom: -6px; }
.about__top { display: grid; grid-template-columns: minmax(0, 1fr) clamp(240px, 30vw, 420px); gap: 24px clamp(28px, 5vw, 80px); align-items: center; }
.nw { white-space: nowrap; }
.hero h1 { font-size: clamp(2.7rem, 7.3vw, 7.2rem); font-weight: 400; line-height: 0.98; letter-spacing: -0.035em; text-wrap: initial; }
.hero h1 .who { display: block; }
/* The names stand in a column behind a one-line window; the column rolls to the name wanted. */
/* Each name has room above and below for its tall and hanging letters, so no part of the next one shows. */
.hero h1 .what { display: block; font-style: italic; font-weight: 400; color: var(--accent); height: 1.26em; margin-top: -0.14em; overflow-y: clip; }
.hero h1 .drum { display: block; transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1); }
.hero h1 .drum > span { display: block; white-space: nowrap; padding-block: 0.14em; opacity: 0.35; transition: opacity 0.35s ease; }
.hero h1 .drum > .is-on { opacity: 1; }
.hero__go { display: flex; align-items: center; gap: 20px; margin-top: clamp(14px, 3vh, 30px); }
.disc { position: relative; flex: none; width: 88px; height: 88px; border: 0; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; transition: transform 0.25s var(--ease); }
.disc::after { content: ''; position: absolute; inset: -9px; border-radius: 50%; border: 1px solid var(--accent); opacity: 0.4; transition: inset 0.3s var(--ease), opacity 0.3s ease; }
.disc:hover { transform: scale(1.05); }
.disc:hover::after { inset: -14px; opacity: 0.7; }
.disc svg { width: 34px; height: 34px; }
.hero__what strong { display: block; font-size: 1.25rem; font-weight: 600; }
.hero__what span { color: var(--muted); }
.facts { display: flex; flex-wrap: wrap; gap: 10px clamp(28px, 6vw, 88px); margin: 0; padding: 22px 0 0; border-top: 1px solid var(--line); list-style: none; }
.facts li { display: flex; align-items: baseline; gap: 10px; color: var(--muted); }
.facts b { font-family: var(--display); font-weight: 400; font-size: 2.1rem; letter-spacing: -0.02em; color: var(--text); font-variant-numeric: lining-nums; }
/* On a computer the figures are set large, each centred over its word in one of four equal columns. Set from the left, "40 million" ran almost into "18" and the row looked lopsided. */
@media (min-width: 901px) {
  .hero .facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 24px; padding-top: 28px; }
  .hero .facts li { flex-direction: column; align-items: center; gap: 8px; font-size: 1.1rem; }
  .hero .facts b { font-size: clamp(2.8rem, 4vw, 3.9rem); line-height: 1; letter-spacing: -0.03em; }
}

.rise { animation: rise 0.9s var(--ease) both; animation-delay: calc(var(--d, 0) * 90ms); }
@keyframes rise { from { transform: translateY(26px); filter: blur(6px); } to { transform: none; filter: none; } }

/* ---------- section scaffolding ---------- */

.band { padding-block: clamp(72px, 11vw, 160px) 0; }
.band__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.band__head h2 { font-size: clamp(2.3rem, 5.2vw, 4.6rem); }
.band__head p { color: var(--muted); max-width: 46ch; margin-top: 14px; }
/* On a computer the line under each heading is read at arm's length, beside headings four times its size. */
@media (min-width: 901px) { .band__head p { font-size: 1.22rem; line-height: 1.5; color: color-mix(in srgb, var(--text) 72%, transparent); } }
.arrows { display: flex; gap: 8px; }
.arrows button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: none; display: grid; place-items: center; }
.arrows button:hover { border-color: var(--text); }
.arrows button[aria-disabled='true'] { opacity: 0.35; }
.arrows svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* the statement that lights up as it scrolls through */
.say { font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 4.2vw, 3.7rem); line-height: 1.14; letter-spacing: -0.02em; max-width: 24ch; text-wrap: pretty; }
.say i { color: var(--accent); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .say span { opacity: 0.2; animation: light linear both; animation-timeline: view(); animation-range: cover 12% cover 38%; }
  }
}
@keyframes light { to { opacity: 1; } }

/* ---------- covers and cards ---------- */

.rail { list-style: none; margin-block: 0; display: flex; gap: clamp(16px, 2vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); padding: 6px var(--pad) 26px; margin-inline: calc(var(--pad) * -1); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { flex: none; scroll-snap-align: start; }
.rail .card__wrap { width: clamp(210px, 22vw, 300px); }
.rail .film { width: clamp(280px, 34vw, 460px); }

.grid { list-style: none; padding: 0; margin-bottom: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(150px, 15vw, 210px), 1fr)); gap: clamp(28px, 3vw, 44px) clamp(16px, 2vw, 28px); margin-top: 36px; }

.card__wrap { position: relative; }
.card { display: block; text-decoration: none; }
.art { position: relative; display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--raise-2); box-shadow: 0 18px 40px -22px var(--shade); }
.art img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .art img { transform: scale(1.045); }
.art__t { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 14px; font-family: var(--display); font-size: 1.3rem; line-height: 1.05; background: linear-gradient(160deg, var(--raise-2), var(--raise)); }
.card__play { position: absolute; z-index: 2; right: 10px; top: 0; margin-top: calc(100% - 62px); width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; opacity: 0; transform: translateY(8px); transition: opacity 0.25s ease, transform 0.25s var(--ease); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.6); }
.card__play svg { width: 20px; height: 20px; }
.card__wrap:hover .card__play, .card__play:focus-visible, .card__play.is-playing { opacity: 1; transform: none; }
@media (hover: none) { .card__play { opacity: 1; transform: none; } }
.card__t { margin-top: 14px; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.card__by { display: block; margin-top: 4px; color: var(--muted); font-size: var(--small); }

/* ---------- library ---------- */

.page { padding-top: clamp(120px, 16vh, 190px); }
.page h1 { font-size: clamp(3rem, 8.5vw, 7.5rem); letter-spacing: -0.03em; }
.page__sub { margin-top: 18px; color: var(--muted); font-size: 1.2rem; max-width: 52ch; }
.page__next { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 16px 36px; }

.tools { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 14px; margin-top: 44px; }
.search { position: relative; flex: 1 1 280px; max-width: 460px; }
.search svg { position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; margin-top: -10px; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; pointer-events: none; }
.search input { width: 100%; min-height: 54px; padding: 10px 46px 10px 50px; border: 1px solid var(--edge); border-radius: 999px; background: var(--raise); color: var(--text); font: inherit; }
.search input:focus-visible { border-color: var(--accent); outline-offset: 2px; }
.search input::placeholder { color: var(--muted); opacity: 1; }
.search input::-webkit-search-cancel-button { display: none; }
.search__x { position: absolute; right: 7px; top: 7px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; font-size: 1.4rem; line-height: 1; color: var(--muted); }
.search__x:hover { background: var(--line); color: var(--text); }
.pick { display: flex; flex-direction: column; gap: 6px; flex: 0 1 auto; min-width: 0; }
.pick span { padding-left: 18px; font-size: var(--small); font-weight: 600; color: var(--muted); }
.pick select { width: 100%; max-width: 300px; min-height: 54px; padding: 8px 18px; border: 1px solid var(--edge); border-radius: 999px; background: var(--raise); color: var(--text); font: inherit; text-overflow: ellipsis; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips button { min-height: 44px; padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; background: none; color: var(--muted); font-weight: 500; transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease; }
.chips button:hover { color: var(--text); border-color: var(--text); }
.chips button[aria-pressed='true'] { background: var(--text); border-color: var(--text); color: var(--bg); }
.chips small { margin-left: 7px; font-size: 0.85em; font-weight: 400; }
.found { margin-top: 30px; color: var(--muted); }
.found b { color: var(--text); font-weight: 600; }
.found:empty { margin: 0; }
.away { margin-top: clamp(64px, 9vw, 130px); padding-top: 34px; border-top: 1px solid var(--line); }
.away h2 { font-size: clamp(1.7rem, 3.2vw, 2.8rem); }
.away > p { margin-top: 14px; color: var(--muted); max-width: 52ch; }
.card__out { display: inline-block; margin-top: 8px; font-weight: 600; border-bottom: 1px solid var(--accent); padding-bottom: 2px; }
.card:hover .card__out { color: var(--accent); }
.hits { list-style: none; margin: 16px 0 0; padding: 0; max-width: 860px; }

/* ---------- chapter rows ---------- */

.ch { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 0 16px; width: 100%; padding: 14px 14px 14px 10px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; transition: background-color 0.2s ease; }
.ch:hover { background: color-mix(in srgb, var(--text) 6%, transparent); }
.ch__i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); }
.ch__i svg { width: 15px; height: 15px; }
.ch__t { overflow-wrap: anywhere; }
.ch__t small { display: block; color: var(--muted); font-size: var(--small); }
.ch__len { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 1rem; }
.ch.is-current { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.ch.is-current .ch__i { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.ch.is-current .ch__t { font-weight: 600; }
.ch.is-done .ch__t { color: var(--muted); }

/* little equaliser on the chapter that is playing */
.eq { display: none; align-items: flex-end; gap: 3px; height: 16px; }
.eq i { width: 3px; height: 100%; background: currentColor; border-radius: 2px; transform-origin: bottom; animation: eq 0.9s ease-in-out infinite alternate; }
.eq i:nth-child(2) { animation-duration: 0.6s; }
.eq i:nth-child(3) { animation-duration: 1.1s; }
@keyframes eq { from { transform: scaleY(0.25); } to { transform: scaleY(1); } }
.ch.is-playing .eq { display: flex; }
.ch.is-playing .i-pause { display: none; }

/* ---------- a book ---------- */

.book { position: relative; padding-top: clamp(110px, 15vh, 170px); }
.book__glow { position: absolute; inset: 0 0 auto 0; height: 760px; overflow: hidden; pointer-events: none; -webkit-mask-image: linear-gradient(#000 30%, transparent); mask-image: linear-gradient(#000 30%, transparent); }
.book__glow img { width: 100%; height: 100%; object-fit: cover; filter: blur(90px) saturate(1.4); opacity: 0.3; transform: scale(1.3); }
.book__in { position: relative; display: grid; grid-template-columns: minmax(240px, 400px) minmax(0, 1fr); gap: 40px clamp(36px, 6vw, 96px); align-items: start; }
.book__art { position: sticky; top: 100px; }
.book__art .art { border-radius: 16px; box-shadow: 0 40px 80px -34px var(--shade), 0 12px 30px -18px var(--shade); view-transition-name: cover; }
.back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); text-decoration: none; font-weight: 500; }
.back:hover { color: var(--text); }
.back.back--top { display: none; }
.back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.book h1 { margin-top: 22px; font-size: clamp(2.4rem, 5.4vw, 5rem); }
.book__by { margin-top: 16px; font-family: var(--display); font-style: italic; font-size: 1.5rem; }
.book__facts { display: flex; flex-wrap: wrap; gap: 2px 0; margin: 26px 0 0; padding: 0; list-style: none; color: var(--muted); }
.book__facts li:not(:last-child)::after { content: '·'; margin-inline: 10px; }
.book__facts a:hover { color: var(--text); }
.book__heard { margin-top: 4px; color: var(--muted); }
.book__heard::first-letter { text-transform: uppercase; }
.book__note { margin-top: 18px; color: var(--muted); max-width: 60ch; }
.book__go { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.book__desc { margin-top: 36px; max-width: 64ch; color: color-mix(in srgb, var(--text) 86%, transparent); }
.book__desc p + p, .book__desc details p { margin-top: 1em; }
.book__desc summary { display: inline-block; margin-top: 12px; padding-block: 8px; font-weight: 600; cursor: pointer; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; list-style: none; }
.book__desc summary::-webkit-details-marker { display: none; }
.book__desc details[open] summary { display: none; }
.book__links { margin-top: 26px; display: flex; gap: 8px 28px; flex-wrap: wrap; font-size: var(--small); color: var(--muted); }
.book__links a:hover { color: var(--text); }
.chapters { margin-top: 64px; }
.chapters h2 { font-size: 2rem; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.chapters ol { list-style: none; margin: 0; padding: 0; }

/* ---------- films ---------- */

.film { display: block; text-decoration: none; }
.frame { position: relative; display: block; aspect-ratio: 16 / 9; background: #000; overflow: hidden; border-radius: 14px; }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease), opacity 0.3s ease; opacity: 0.92; }
.film:hover .frame img { transform: scale(1.04); opacity: 1; }
.frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.frame__len { position: absolute; right: 10px; bottom: 10px; padding: 3px 9px; border-radius: 6px; background: rgba(0, 0, 0, 0.72); color: #fff; font-size: 0.88rem; font-variant-numeric: tabular-nums; }
.frame__play { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; transition: transform 0.25s var(--ease); }
.frame__play svg { width: 36px; height: 36px; }
button.frame { width: 100%; padding: 0; border: 0; }
button.frame:hover .frame__play { transform: scale(1.07); }
.film__t { display: block; margin-top: 14px; font-weight: 600; line-height: 1.25; }
.film__d { margin-top: 6px; color: var(--muted); font-size: var(--small); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.film[aria-current='true'] .frame { outline: 2px solid var(--accent); outline-offset: 4px; }

.stage { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 28px clamp(28px, 4vw, 64px); align-items: start; }
.stage .frame { border-radius: 20px; box-shadow: 0 40px 80px -36px var(--shade); }
.stage__text { display: grid; gap: 20px; }
.stage__text h2 { font-size: clamp(1.8rem, 3.4vw, 3rem); }
.stage__meta { margin-top: 12px; color: var(--muted); }
.stage__note { margin-top: 18px; color: var(--muted); font-size: var(--small); }
.stage__desc { white-space: pre-line; overflow-wrap: anywhere; color: color-mix(in srgb, var(--text) 86%, transparent); }
.reel { margin-top: clamp(64px, 8vw, 110px); }
.reel h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); }
.reel ul { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 44px 28px; }

/* ---------- about ---------- */

.about__lead { margin-top: 30px; font-family: var(--display); font-weight: 400; font-size: clamp(1.5rem, 2.8vw, 2.3rem); line-height: 1.25; letter-spacing: -0.012em; max-width: 34ch; }
.about__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 20px clamp(36px, 7vw, 120px); margin-top: clamp(64px, 9vw, 130px); padding-top: 34px; border-top: 1px solid var(--line); }
.about__grid h2 { font-size: clamp(1.7rem, 3.2vw, 2.8rem); }
.about__grid div p { max-width: 60ch; color: color-mix(in srgb, var(--text) 88%, transparent); }
.about__grid div p + p { margin-top: 1.1em; }
.about__next { margin-top: 22px; max-width: 58ch; font-size: 1.12rem; color: color-mix(in srgb, var(--text) 88%, transparent); }
.about__side { align-self: start; }
.stills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; margin-top: 28px; }
.stills .film:first-child { grid-column: 1 / -1; }
.stills .film__t { margin-top: 10px; font-size: var(--small); }
.stills .film__d { display: none; }
.about__wave { display: block; width: 100%; height: 64px; margin-top: 30px; }
.listen { display: flex; align-items: center; gap: 22px; margin-top: 26px; padding-left: 9px; }
.listen a { display: block; font-size: 1.15rem; font-weight: 600; line-height: 1.25; text-decoration: none; }
.listen a:hover { color: var(--accent); }
.listen span { display: block; margin-top: 3px; color: var(--muted); }
.about__side .tape__src { margin-top: 18px; }
.shelf { grid-column: 1 / -1; margin-top: 18px; }
/* The drawing is ink on white; multiplying it into the page leaves only the ink. */
.desk { margin: clamp(28px, 4vw, 56px) 0 0; }
.desk img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.desk figcaption { margin-top: 4px; text-align: center; color: var(--muted); font-size: var(--small); }
.about__quote { margin: clamp(64px, 9vw, 130px) 0 0; }
.about__quote p { font-family: var(--display); font-style: italic; font-size: clamp(1.9rem, 4.4vw, 3.7rem); line-height: 1.08; letter-spacing: -0.022em; max-width: 24ch; color: var(--accent); text-wrap: balance; }
.about__quote cite { display: block; margin-top: 20px; font-style: normal; color: var(--muted); }
/* The shelf is a rail to swipe on small screens and a single row of covers on wide ones. */
@media (min-width: 901px) {
  .shelf { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); overflow: visible; margin-inline: 0; padding: 0; }
  .shelf .card__wrap { width: auto; }
}
/* On a wide, tall screen the heading and what goes with it stay beside the text as it is read. */
@media (min-width: 901px) and (min-height: 800px) {
  .about__side { position: sticky; top: 104px; }
}
.count { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin: clamp(64px, 9vw, 130px) 0 0; padding: 0; list-style: none; }
.count li { padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); }
.count b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(2.6rem, 6.5vw, 5.6rem); line-height: 1; letter-spacing: -0.03em; color: var(--text); }
/* Three or four across, each figure is centred under its rule, as the facts on the home page are. Set from the left, "3,870" ran almost into "43". */
@media (min-width: 901px) { .count li { text-align: center; } }
.press { list-style: none; margin: 0; padding: 0; }
.press li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.press li:first-child { padding-top: 0; }
.press a { font-weight: 600; text-decoration: none; }
.press a:hover { color: var(--accent); }
.press span { display: block; color: var(--muted); font-size: var(--small); margin-top: 2px; }

.teaser { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 28px 64px; align-items: end; padding-top: 34px; border-top: 1px solid var(--line); }
.teaser h2 { font-size: clamp(2.3rem, 5.2vw, 4.6rem); }
.teaser p { color: var(--muted); max-width: 40ch; }
.teaser .more { margin-top: 22px; }

/* ---------- from listeners ---------- */

.count--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.count--3 b { font-size: clamp(2.4rem, 5.2vw, 4.4rem); white-space: nowrap; }
.band .count { margin-top: 0; }
.heard__q { margin: clamp(44px, 6vw, 88px) 0 clamp(28px, 3vw, 40px); }
.heard__q blockquote { margin: 0; }
.heard__q p { max-width: 26ch; font-family: var(--display); font-style: italic; font-size: clamp(1.6rem, 3.3vw, 2.8rem); line-height: 1.16; letter-spacing: -0.01em; text-wrap: balance; }
.heard__q figcaption { margin-top: 18px; color: var(--muted); font-size: var(--small); }
/* Under figures centred in their columns, the quote and its link are centred too, so the band reads as one block. */
@media (min-width: 901px) {
  .heard__q, .heard__more { text-align: center; }
  .heard__q p { margin-inline: auto; }
}
.pull { margin: clamp(64px, 9vw, 130px) 0 0; }
/* Every quote sits in the same grid cell, so the tallest one sets the height and nothing jumps. */
.pull__stage { display: grid; }
.pull blockquote { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 0.6s ease, transform 0.6s var(--ease), visibility 0s 0.6s; }
.pull blockquote.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.pull blockquote p { font-family: var(--display); font-style: italic; font-size: clamp(2rem, 5vw, 4.3rem); line-height: 1.07; letter-spacing: -0.022em; max-width: 20ch; color: var(--accent); text-wrap: balance; }
.pull blockquote.is-long p { font-size: clamp(1.6rem, 3.4vw, 2.9rem); max-width: 28ch; }
.pull footer { margin-top: 22px; color: var(--muted); }
.pull__nav { display: flex; align-items: center; gap: 14px; margin-top: 26px; color: var(--muted); font-variant-numeric: tabular-nums; }
.pull__nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: none; display: grid; place-items: center; }
.pull__nav button:hover { border-color: var(--text); }
.pull__nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Contact: one of the About page's quiet sections, at the foot of About and of the home page. */
.contact__form { display: grid; gap: 8px; max-width: 34rem; }
.contact__form[hidden] { display: none; }
.about__grid .contact__form p { margin: 0 0 14px; color: var(--muted); }
.contact__form label { font-weight: 600; }
.contact__form input, .contact__form textarea { width: 100%; min-height: 54px; margin-bottom: 14px; padding: 12px 16px; border: 1px solid var(--edge); border-radius: 12px; background: var(--raise); color: var(--text); font: inherit; }
.contact__form textarea { resize: vertical; line-height: 1.5; }
.contact__form input:focus-visible, .contact__form textarea:focus-visible { border-color: var(--accent); outline-offset: 2px; }
.about__grid .contact__form .contact__err { color: var(--text); font-weight: 600; }
.contact__form .btn { justify-self: start; margin-top: 4px; }
.contact__form .btn:disabled { filter: saturate(0.4); transform: none; }
.contact__done { font-family: var(--display); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.25; }
.contact__done:focus { outline: none; }

/* "Featured in" */
/* Last on the home page, after the story: most of these pieces sit behind a newspaper's paywall, and a row of
   newspaper names under the hero read as "as seen in". Set off by a rule, as About John is above it. */
.strip { padding-top: 34px; border-top: 1px solid var(--line); }
/* Each column as wide as its name, so none breaks: the first under the heading, the last under its link. */
.strip__list { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 24px; margin: 0; padding: 0; list-style: none; }
.strip__list a { display: flex; flex-direction: column; gap: 6px; text-decoration: none; }
.strip__o { font-family: var(--display); font-size: clamp(1.6rem, 2.3vw, 2rem); line-height: 1.15; }
.strip__w { color: var(--muted); }
.strip__list a:hover .strip__o { color: var(--accent); }
/* Four across needs about 1100 pixels before "The New York Times" has to break. */
@media (max-width: 1100px) { .strip__list { grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: normal; gap: 26px 24px; } }
.press .press__o { display: block; color: var(--muted); font-size: var(--small); margin: 0 0 4px; }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.bars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; align-items: baseline; }
.bars a { font-weight: 600; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bars a:hover { color: var(--accent); }
.bars__n { color: var(--muted); font-variant-numeric: tabular-nums; }
.bars__track { grid-column: 1 / -1; height: 10px; border-radius: 5px; background: var(--line); overflow: hidden; }
.bars__track i { display: block; height: 100%; width: var(--w); border-radius: 5px; background: var(--accent); transform-origin: left center; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .bars__track i { animation: grow linear both; animation-timeline: view(); animation-range: entry 10% cover 32%; }
  }
}
@keyframes grow { from { transform: scaleX(0); } }
.notes { list-style: none; margin: 0; padding: 0; }
.notes li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.notes li:first-child { padding-top: 0; }
.notes p { max-width: 58ch; }
.notes__q { font-family: var(--display); font-style: italic; font-size: 1.35rem; line-height: 1.3; }
.notes q { font-family: var(--display); font-style: italic; font-size: 1.1em; }
.notes a { display: inline-block; margin-top: 6px; color: var(--muted); font-size: var(--small); }
.notes a:hover { color: var(--accent); }
.fine { margin-top: 28px; color: var(--muted); font-size: var(--small); max-width: 68ch; }
.about > .fine { margin-top: clamp(48px, 7vw, 90px); }

/* ---------- radio ---------- */

.tape-first { display: flex; align-items: flex-start; gap: clamp(18px, 3vw, 32px); margin-top: clamp(40px, 6vw, 72px); max-width: 780px; }
.tape-first h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
.tape-first p { margin-top: 12px; max-width: 56ch; }
.tapes { list-style: none; margin: 0; padding: 0; }
.about__grid div p + .tapes { margin-top: 22px; }
.tapes li { padding-bottom: 30px; }
.tapes li p { margin-top: 12px; padding-inline: 10px 14px; }
.about__grid div .tape__src, .tape__src { margin-top: 6px; color: var(--muted); font-size: var(--small); }
.tape__src a:hover { color: var(--accent); }
.about__grid div .press { margin-top: 26px; }

/* ---------- footer ---------- */

.foot { margin-top: clamp(100px, 14vw, 180px); border-top: 1px solid var(--line); }
.foot__in { padding-block: 44px 48px; }
.foot__cols { display: flex; justify-content: space-between; gap: 28px 64px; flex-wrap: wrap; }
.foot__cols p { max-width: 62ch; color: var(--muted); font-size: var(--small); }
.foot nav { display: flex; flex-direction: column; }
.foot nav a { text-decoration: none; padding-block: 8px; }
.foot nav a:hover { color: var(--accent); }

/* ---------- the player dock ---------- */

.dock { position: fixed; left: 50%; bottom: 14px; z-index: 40; width: min(1080px, calc(100% - 28px)); transform: translateX(-50%); background: var(--glass); -webkit-backdrop-filter: blur(26px) saturate(1.5); backdrop-filter: blur(26px) saturate(1.5); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 30px 60px -20px var(--shade); animation: dock-in 0.5s var(--ease); }
.dock[hidden] { display: none; }
@keyframes dock-in { from { transform: translate(-50%, 30px); } to { transform: translate(-50%, 0); } }
.dock__in { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(180px, 1.15fr) auto; align-items: center; gap: 10px 22px; padding: 10px; }
.dock__now { display: flex; align-items: center; gap: 14px; min-width: 0; text-decoration: none; }
.dock__now img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; flex: none; background: var(--raise-2); }
.dock__text { min-width: 0; line-height: 1.3; }
.dock__title { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock__chapter { display: block; font-size: var(--small); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock__buttons { display: flex; align-items: center; gap: 2px; }
.pbtn { position: relative; width: 46px; height: 46px; border: 0; border-radius: 50%; background: none; display: grid; place-items: center; }
@media (hover: hover) { .pbtn:hover { background: var(--line); } }
.pbtn svg { width: 22px; height: 22px; }
.pbtn[aria-disabled='true'] { opacity: 0.35; }
.pbtn--skip svg { width: 30px; height: 30px; }
.pbtn--skip span { position: absolute; top: 55%; left: 50%; transform: translate(-50%, -50%); font-size: 0.6rem; font-weight: 700; }
.pbtn--main { width: 58px; height: 58px; margin-inline: 6px; background: var(--accent); color: var(--accent-ink); }
.pbtn--main:hover { background: var(--accent); filter: brightness(1.1); }
.pbtn--main svg { width: 26px; height: 26px; }
.dock__seek { display: flex; align-items: center; gap: 12px; }
.dock__time { font-size: 0.88rem; font-variant-numeric: tabular-nums; color: var(--muted); min-width: 3.2em; }
.dock__time:first-child { text-align: right; }
.dock__close { margin-left: -12px; color: var(--muted); }
.dock__close:hover, .dock__close:focus-visible { color: var(--text); }
.dock__note { margin: 0; padding: 0 18px 12px; color: var(--accent); font-size: var(--small); }
.dock__note a { font-weight: 600; }

.egg { position: fixed; left: 50%; bottom: 28px; z-index: 50; transform: translateX(-50%); margin: 0; padding: 12px 24px; border-radius: 999px; background: var(--text); color: var(--bg); font-family: var(--display); font-style: italic; font-size: 1.2rem; white-space: nowrap; box-shadow: 0 20px 40px -16px var(--shade); animation: egg 7s ease both; }
.has-player .egg { bottom: 170px; }
@keyframes egg { 0% { opacity: 0; } 8%, 88% { opacity: 1; } 100% { opacity: 0; } }

/* Greg, drawn on the page in the portrait's ink (`greet` in app.js). He stands in front of the page, which stays
   where it was and can still be used around him. Only the button takes a tap. */
.greeting { --room: 100dvh; position: fixed; inset: 0; z-index: 50; display: grid; grid-template-columns: min(100vw, calc(var(--room) * 0.55), 560px); place-content: end center; justify-items: center; pointer-events: none; opacity: 0; transition: opacity 0.7s ease; }
.greeting.is-on { opacity: 1; }
.greeting canvas { grid-area: 1 / 1; width: 100%; aspect-ratio: 3 / 5; }
.greeting video { position: absolute; width: 1px; height: 1px; opacity: 0; }
.greeting__words { grid-area: 1 / 1; align-self: end; max-width: min(92vw, 34ch); margin: 0 0 26px; padding: 10px 22px; border-radius: 22px; background: var(--text); color: var(--bg); font-family: var(--display); font-style: italic; font-size: 1.3rem; line-height: 1.3; text-align: center; text-wrap: balance; }
.greeting__words:empty { display: none; }
.greeting__close { grid-area: 1 / 1; place-self: start end; margin: 8px 14px 0; min-height: 52px; padding: 0 26px; border: 1px solid var(--edge); border-radius: 999px; background: var(--raise); font-weight: 600; pointer-events: auto; }
.greeting__close:hover { border-color: var(--text); }
.has-player .greeting { --room: calc(100dvh - 142px); bottom: 142px; }

input[type='range'] { -webkit-appearance: none; appearance: none; flex: 1; min-width: 0; height: 28px; background: none; cursor: pointer; --p: 0%; }
input[type='range']::-webkit-slider-runnable-track { height: 5px; border-radius: 3px; background: linear-gradient(90deg, var(--accent) var(--p), var(--line) var(--p)); }
input[type='range']::-moz-range-track { height: 5px; border-radius: 3px; background: var(--line); }
input[type='range']::-moz-range-progress { height: 5px; border-radius: 3px; background: var(--accent); }
input[type='range']::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -5.5px; border-radius: 50%; background: var(--text); border: 0; }
input[type='range']::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--text); border: 0; }

/* ---------- page transitions ---------- */

@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: 0.22s ease both vt-out; }
  ::view-transition-new(root) { animation: 0.38s var(--ease) both vt-in; }
  ::view-transition-group(cover) { animation-duration: 0.5s; animation-timing-function: var(--ease); }
}
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

/* ---------- smaller screens ---------- */

@media (max-width: 900px) {
  /* The name and the five links no longer fit on one line, so the links go underneath, and each page starts lower to clear them. */
  html { scroll-padding-top: 130px; }
  .top__in { flex-wrap: wrap; gap: 6px 10px; }
  .top nav { order: 3; width: 100%; margin-left: -16px; }
  .page { padding-top: clamp(150px, 16vh, 190px); }
  .book { padding-top: clamp(140px, 15vh, 170px); }
  .book__in { grid-template-columns: minmax(0, 1fr); }
  .book__art { position: relative; top: 0; width: min(56vw, 240px); }
  /* On tall, narrow screens a full-height hero is mostly empty space. Let it fit its content. */
  .hero { min-height: 0; }
  .hero__in { padding-top: 150px; }
  /* Four facts no longer fit on one line. Two and two, so none is left on a line by itself. */
  .facts { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; }
  .stage, .about__grid, .teaser { grid-template-columns: minmax(0, 1fr); }
  .about__top { grid-template-columns: minmax(0, 1fr); }
  .about__top .portrait { width: min(56vw, 240px); order: -1; }
  .count { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .count--3 { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  /* Two rows: what's playing beside the five buttons, then the timeline at full width. */
  .dock__in { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: 'now buttons close' 'seek seek seek'; padding: 8px 8px 6px 10px; gap: 2px 12px; }
  .dock__now { grid-area: now; }
  .dock__buttons { grid-area: buttons; }
  .dock__close { grid-area: close; margin-left: -8px; }
  .dock__seek { grid-area: seek; gap: 8px; }
  .dock__time { min-width: 2.6em; font-size: 0.82rem; }
  .dock__now img { width: 46px; height: 46px; }
  .has-player body { padding-bottom: 150px; }
  .back.back--top { display: inline-flex; margin-bottom: 18px; }
  .book__in > div > .back { display: none; }
}
@media (max-width: 620px) {
  body { font-size: 1.06rem; }
  .top__in { padding-block: 10px; }
  .mark { font-size: 1.8rem; }
  /* Five links on one line down to the iPhone mini's 375 pixels, the first word in line with the name above. */
  .top nav { margin-left: -6px; }
  .top nav a { padding: 7px 6px; font-size: 0.94rem; }
  /* A line of text is a thin target for a thumb. These links take a touch across 44 pixels, centred on their words, and nothing moves to make room. */
  .top nav a, .more, .back { position: relative; }
  .top nav a::after, .more::after, .back::after { content: ''; position: absolute; inset: calc(50% - 22px) 0; }
  .page { padding-top: clamp(120px, 16vh, 190px); }
  .book { padding-top: clamp(110px, 15vh, 170px); }
  /* The portrait is kept small enough for the play button and what it plays to show on a phone's first screen. */
  .hero__in { padding-top: 112px; grid-template-columns: minmax(0, 1fr); row-gap: 14px; }
  .hero__portrait { order: -1; width: min(40vw, 250px); margin-bottom: 0; }
  .hero__main { padding-bottom: 14px; }
  .disc { width: 72px; height: 72px; }
  .facts b { font-size: 1.6rem; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search { flex-basis: 100%; max-width: none; }
  .pick { flex: 1 1 0; }
  .pick select { max-width: none; }
  /* A row that scrolls sideways also clips above and below, so it is given room for the buttons' edges and focus ring. */
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 12px calc(var(--pad) * -1) -6px; padding: 6px var(--pad); scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chips button { flex: none; }
  .rail .card__wrap { width: 62vw; }
  .rail .film { width: 80vw; }
  /* Three rows on a phone: the title, the timeline, then all five buttons in easy reach of a thumb. */
  .dock { bottom: 8px; width: calc(100% - 16px); border-radius: 18px; }
  .dock__in { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'now close' 'seek seek' 'buttons buttons'; gap: 0 10px; padding: 8px 6px 6px 10px; }
  .dock__now img { width: 40px; height: 40px; border-radius: 8px; }
  .dock__buttons { justify-content: space-between; padding-inline: 4px; }
  .has-player body { padding-bottom: 180px; }
  html.has-player { scroll-padding-bottom: 190px; }
  .has-player .egg { bottom: 190px; }
  .has-player .greeting { --room: calc(100dvh - 162px); bottom: 162px; }
  .arrows { display: none; }
  .card__play { width: 44px; height: 44px; margin-top: calc(100% - 54px); }
  .card__play svg { width: 17px; height: 17px; }
  /* Two columns broke every name over two lines. One a line, with what it was under it. */
  .strip__list { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .strip__list a { gap: 2px; }
}

/* Under the iPhone mini's width the links sit a little closer, so a 360-pixel phone still has one line of them. */
@media (max-width: 374px) {
  .top nav { margin-left: -4px; }
  .top nav a { padding-inline: 4px; }
}

/* The narrowest phones cannot fit five links on one line: let them wrap, and let the header scroll away. */
@media (max-width: 350px) {
  .top { position: absolute; }
  .top nav { flex-wrap: wrap; }
  .tape-first { flex-direction: column; }
}

/* Short windows (a phone on its side, or a page zoomed to 400%): the header scrolls away and the player shrinks to one row. */
@media (max-height: 560px) {
  .top { position: absolute; }
  .dock__in { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: 'buttons seek close'; padding: 6px 6px 6px 10px; gap: 0 8px; }
  .dock__now, #pl-prev, #pl-next { display: none; }
  .dock__buttons { justify-content: flex-start; padding: 0; }
  .pbtn--main { width: 46px; height: 46px; margin-inline: 2px; }
  .has-player body { padding-bottom: 84px; }
  html, html.has-player { scroll-padding: 16px 0 84px; }
}

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