/* Barrels & Boardrooms: the site's brand layer, on top of the kit (system.css, layout.css, motion.css).
   Colours and type come from brand-system/project/tokens.json. Shared by every page.
   The Cut (the mark's two 45-degree corners) is kept for the buttons only; the Contour carries the mark's
   shape everywhere else. */

:root {
  --p-bg: #f3f0e9; --p-surface: #e8e3d8; --p-ink: #14110f; --p-muted: #5f574f;
  --p-accent: #5a1a2b; --p-accent-ink: #f3f0e9; --p-action: #5a1a2b; --p-action-ink: #f3f0e9;
  --p-inv-bg: #14110f; --p-inv-surface: #201d1b; --p-inv-ink: #f3f0e9; --p-inv-muted: #a69d92;
  --p-inv-accent: #f3f0e9; --p-inv-accent-ink: #14110f; --p-inv-action: #f3f0e9; --p-inv-action-ink: #14110f;
  --font-display: "Google Sans Flex", "Geist", system-ui, sans-serif;
  --font-text: "Google Sans Flex", "Geist", system-ui, sans-serif;
  --font-data: "Geist", system-ui, sans-serif;
  --display-weight: 460; --display-tracking: -0.035em; --display-tracking-xl: -0.045em;
  --crude: #14110f; --claret: #5a1a2b; --ledger: #f3f0e9; --bonny: #d4b06a; --accent-text: #7a5b1c;
  --ledger-raised: #fbfaf6; --claret-raised: #6a2536; --claret-sunken: #47131f; --claret-muted: #d9b8be; --crude-raised: #1f1a17;
  --cut-s: 8px; --frame: 12px; --pad: clamp(72px, 8.5vw, 128px);
  --ease-arrive: cubic-bezier(.16, 1, .3, 1); --ease-move: cubic-bezier(.83, 0, .17, 1);
  --r-sm: 0px; --r-md: 0px; --r-lg: 0px; --r-btn: 0px;
}
html[data-radius="sharp"] { --r-sm: 0px; --r-md: 0px; --r-lg: 0px; --r-btn: 0px; }
h1, h2, h3 { font-optical-sizing: auto; }

/* ---------- the Claret frame round the whole site */
html { background: var(--claret); }
body::after { content: ""; position: fixed; inset: 0; z-index: 40; pointer-events: none; border: var(--frame) solid var(--claret); }
@media (max-width: 639px) { :root { --frame: 6px; } }

/* ---------- every band is as tall as what it holds, at every window size: nothing can overlap the next band */
html main > section.section:not(.hero), html footer.footer.closing { height: auto; min-height: 0; display: block; padding-block: var(--pad); }
html main > section.section:not(.hero) > .wrap, html footer.footer.closing > .wrap { height: auto; min-height: 0; display: block; }

/* ---------- grounds: Ledger (the page), Crude (the working dark), Claret (brand moments) */
.bb-claret {
  --bg: var(--claret); --surface: var(--claret-raised); --ink: var(--ledger); --muted: var(--claret-muted); --card: var(--claret-raised);
  --accent: var(--bonny); --accent-ink: var(--crude); --action: var(--bonny); --action-ink: var(--crude);
  --line: color-mix(in oklab, var(--ledger) 16%, transparent); --line-strong: color-mix(in oklab, var(--ledger) 42%, transparent);
  background: var(--bg); color: var(--ink);
}
.ground-inverse { --action: var(--bonny); --action-ink: var(--crude); --surface: var(--crude-raised); --muted: #a69d92; }
:is(.bb-claret, .ground-inverse, .bb-hero) :focus-visible { outline-color: var(--bonny); }
.bb-stop { color: var(--accent-text); }
:is(.bb-claret, .ground-inverse, .bb-hero) .bb-stop { color: var(--bonny); }
.bb-tone { color: var(--claret); }
:is(.bb-claret, .ground-inverse, .bb-hero) .bb-tone { color: var(--muted); }

/* ---------- type helpers */
.bb-label { font-family: var(--font-data); font-size: 12px; font-weight: 500; line-height: 1.2; letter-spacing: .12em; text-transform: uppercase; }
.bb-eyebrow { display: inline-flex; align-items: center; gap: var(--s-3); color: var(--muted); }
.bb-eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--bonny); }
.bb-num { font-family: var(--font-data); font-size: var(--t-small); font-variant-numeric: tabular-nums; color: var(--muted); }
.link::after { content: ""; width: 12px; height: 12px; background: currentColor; -webkit-mask: var(--btn-glyph) center / contain no-repeat; mask: var(--btn-glyph) center / contain no-repeat; }

/* ---------- the brand's buttons: the Cut painted as a background (top-left and bottom-right at 45 degrees) */
.btn--primary, html[data-buttons] .btn--secondary {
  --notch: var(--cut-s);
  background: linear-gradient(135deg, transparent calc(var(--notch) * .7071), var(--notch-bg) 0) left / 50.5% 100% no-repeat,
              linear-gradient(-45deg, transparent calc(var(--notch) * .7071), var(--notch-bg) 0) right / 50.5% 100% no-repeat;
}
.btn--primary { --notch-bg: var(--action); color: var(--action-ink); }
html .btn--primary:hover { --notch-bg: var(--ink); color: var(--bg);
  background: linear-gradient(135deg, transparent calc(var(--notch) * .7071), var(--notch-bg) 0) left / 50.5% 100% no-repeat,
              linear-gradient(-45deg, transparent calc(var(--notch) * .7071), var(--notch-bg) 0) right / 50.5% 100% no-repeat; }
html[data-buttons] .btn--secondary { --notch-bg: var(--ledger-raised); color: var(--crude); border: 0; padding-inline: var(--s-5); text-decoration: none; }
html[data-buttons] .btn--secondary:hover { --notch-bg: var(--bonny); color: var(--crude); text-decoration: none;
  background: linear-gradient(135deg, transparent calc(var(--notch) * .7071), var(--notch-bg) 0) left / 50.5% 100% no-repeat,
              linear-gradient(-45deg, transparent calc(var(--notch) * .7071), var(--notch-bg) 0) right / 50.5% 100% no-repeat; }
main > section:not(.bb-claret, .ground-inverse, .bb-hero) .btn--secondary { --notch-bg: var(--p-surface); }

/* ---------- the header: Ledger, the primary logo, three words, the notched action */
.nav__logo img { height: 40px; width: auto; }
@media (max-width: 639px) { .nav__logo img { height: 32px; } .nav:not(.is-open) .nav__actions { display: none; } .nav:not(.is-open) .nav__actions + .nav__toggle { margin-left: auto; } }

/* ---------- the live Contour on a canvas layer (assets/brand/contour.js) */
[data-bb-field] { position: relative; isolation: isolate; overflow: clip; --ring: rgba(243, 240, 233, .13); }
.bb-field { position: absolute; left: 0; top: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.hero > .bb-field { top: var(--nav); height: calc(100% - var(--nav)); }
.bb-centre { position: absolute; left: var(--cx, 50%); top: var(--cy, 50%); width: var(--cs, 190px); aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; }

/* ---------- the hero: a dark picture edge to edge, the Contour drawing over it, the words on its calm side */
.hero.bb-hero { background: var(--crude); color: var(--ledger); min-height: 600px;
  --bg: var(--crude); --ink: var(--ledger); --muted: #b3aa9f; --action: var(--bonny); --action-ink: var(--crude); --line-strong: rgba(243, 240, 233, .4); }
.bb-hero > .hero__bg { position: absolute; left: 0; top: var(--nav); z-index: 0; width: 100%; height: calc(100% - var(--nav)); max-width: none; object-fit: cover; object-position: var(--pos, 50% 50%); }
.bb-hero > .hero__bg--right { left: auto; right: 0; width: 62%; }
.bb-hero > .hero__bg--contain { object-fit: contain; object-position: 82% 100%; padding-top: var(--s-7); }
.bb-hero > .wrap { position: relative; z-index: 2; }
.bb-hero .hero-text { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.bb-hero--right .hero-text { justify-content: center; }
.bb-hero__text { display: grid; gap: var(--s-5); justify-items: start; max-width: 600px; }
.bb-hero--right .bb-hero__text { margin-left: auto; width: min(100%, 560px); }
.bb-hero h1 { font-size: clamp(44px, 6.1vw, 88px); line-height: .98; letter-spacing: var(--display-tracking-xl); color: var(--ledger); max-width: 12ch; }
.bb-hero .hero__lead { color: rgba(243, 240, 233, .88); font-size: var(--t-lead); max-width: 36ch; }
.bb-hero .btn-row { margin-top: var(--s-2); }
.bb-follow { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-5); }
.bb-follow .bb-label { color: var(--muted); }
.bb-follow a { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; font-weight: 500; color: var(--ink); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--line-strong); }
.bb-follow a:hover { text-decoration-color: currentColor; }
.bb-follow img { width: 22px; height: 22px; transition: transform 500ms var(--ease-arrive); }
@media (hover: hover) and (pointer: fine) { .bb-follow a:hover img { transform: translateY(-3px); } }
@media (prefers-reduced-motion: no-preference) {
  /* the picture drifts very slowly, so the first screen is never still */
  @keyframes bb-drift { from { transform: scale(1); } to { transform: scale(1.06); } }
  .bb-hero > .hero__bg:not(.hero__bg--contain) { animation: bb-drift 26s ease-in-out infinite alternate; }
  @keyframes bb-stop-land { 0% { opacity: 0; transform: translateY(-.45em); } 60% { opacity: 1; } }
  .bb-hero h1 .bb-stop { display: inline-block; animation: bb-stop-land 700ms var(--ease-arrive) 1050ms both; }
  @keyframes bb-rise { from { transform: translateY(48px); opacity: 0; } }
  .bb-hero > .hero__bg--contain { animation: bb-rise 1200ms var(--ease-arrive) 250ms both; }
}
@media (max-width: 1023px) {
  /* the picture takes the top of the screen, the words stand under it on Crude */
  .hero.bb-hero { --ph: clamp(240px, 44svh, 460px); height: auto; min-height: 100svh; }
  .bb-hero > .hero__bg, .bb-hero > .hero__bg--right { left: 0; right: auto; width: 100%; height: var(--ph); }
  .bb-hero > .wrap { height: auto; padding-top: calc(var(--ph) - var(--s-5)); }
  .bb-hero .hero-text { height: auto; }
  .bb-hero > .bb-field { height: var(--ph); }
  .bb-hero > .hero__bg--contain { object-position: 50% 100%; }
  .bb-hero .hero-text, .bb-hero--right .hero-text { justify-content: flex-end; }
  .bb-hero--right .bb-hero__text { margin-left: 0; }
  .bb-hero h1 { font-size: clamp(40px, 8.6vw, 64px); }
  .bb-centre { left: var(--cx-sm, 50%); top: var(--cy-sm, 30%); width: 120px; }
}

/* ---------- section heads */
.bb-head { display: grid; justify-items: center; text-align: center; gap: var(--s-4); margin: 0 auto var(--s-8); }
.bb-head h2 { max-width: 18ch; }
.bb-head--left { justify-items: start; text-align: left; margin-inline: 0; }
.bb-after { margin-top: var(--s-7); }
.bb-centre-row { display: flex; justify-content: center; }

/* ---------- the about band: the brand's sign-off set large in two tones, then three facts */
.bb-statement { font: var(--display-weight) clamp(30px, 4.6vw, 66px)/1.08 var(--font-display); letter-spacing: -0.03em; text-align: center; max-width: 21ch; margin: 0 auto; text-wrap: balance; }
.bb-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: var(--s-9) 0 0; }
.bb-facts > div { display: grid; justify-items: center; gap: var(--s-2); padding-inline: var(--s-5); text-align: center; }
.bb-facts > div + div { border-left: 1px solid var(--line); }
.bb-fig { font: 400 clamp(32px, 4vw, 56px)/1 var(--font-data); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; color: var(--ink); }
.bb-facts dt { color: var(--muted); }
.bb-facts dd { margin: 0; order: -1; }
@media (max-width: 639px) { .bb-facts { grid-template-columns: minmax(0, 1fr); gap: var(--s-5); margin-top: var(--s-7); } .bb-facts > div + div { border-left: 0; border-top: 1px solid var(--line); padding-top: var(--s-5); } }

/* ---------- show art (CoverArt): a square of Crude or Claret with the Contour inside */
.bb-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); }
.bb-art { position: relative; overflow: hidden; aspect-ratio: 1; display: flex; flex-direction: column; justify-content: space-between; padding: var(--s-5); background: var(--crude); color: var(--ledger); transition: transform 600ms var(--ease-arrive); }
.bb-art--claret { background: var(--claret); }
.bb-claret .bb-art--claret { background: var(--claret-sunken); }
.bb-art__rings { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: transform 1200ms var(--ease-arrive); }
.bb-art > :not(.bb-art__rings) { position: relative; z-index: 1; }
.bb-art__top { display: flex; justify-content: space-between; align-items: center; }
.bb-art__top img { width: 28px; height: 28px; }
.bb-art__top .bb-label { font-size: 11px; color: color-mix(in oklab, var(--ledger) 78%, transparent); }
.bb-art__name { font: var(--display-weight) clamp(22px, 2.1vw, 30px)/1.05 var(--font-display); letter-spacing: -0.03em; color: var(--ledger); }
.bb-art__name .bb-stop { color: var(--bonny); }
@media (hover: hover) and (pointer: fine) { a.bb-art:hover { transform: translateY(-4px); } a.bb-art:hover .bb-art__rings { transform: scale(1.12); } }
@media (max-width: 1023px) { .bb-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .bb-tiles { gap: 12px; } .bb-art { padding: var(--s-3); } .bb-art__name { font-size: 18px; } .bb-art__top img { width: 22px; height: 22px; } .bb-art__top .bb-label { font-size: 10px; } }

/* ---------- the questions: an editorial index */
.bb-qs { margin: 0; padding: 0; list-style: none; }
.bb-qs > li { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--gutter); align-items: baseline; padding-block: var(--s-5); border-bottom: 1px solid var(--line); }
.bb-qs > li:first-child { padding-top: 0; }
.bb-qtag { color: var(--claret); }
:is(.bb-claret, .ground-inverse) .bb-qtag { color: var(--bonny); }
.bb-q { position: relative; font: var(--display-weight) clamp(22px, 2.8vw, 40px)/1.12 var(--font-display); letter-spacing: -0.025em; text-wrap: balance; }
.bb-q::after { content: ""; position: absolute; left: 0; bottom: -10px; width: 56px; height: 3px; background: var(--bonny); transform: scaleX(0); transform-origin: left; transition: transform 700ms var(--ease-arrive); }
.bb-q .bb-stop { color: var(--claret); }
:is(.bb-claret, .ground-inverse) .bb-q .bb-stop { color: var(--bonny); }
@media (hover: hover) and (pointer: fine) { .bb-qs > li:hover .bb-q::after { transform: scaleX(1); } }
@media (max-width: 639px) { .bb-qs > li { grid-template-columns: minmax(0, 1fr); gap: var(--s-2); padding-block: var(--s-4); } }

/* ---------- a split: words beside one picture */
.bb-split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: center; }
.bb-split > :first-child { grid-column: 1 / span 5; }
.bb-split > :last-child { grid-column: 7 / -1; }
.bb-pic { margin: 0; overflow: hidden; aspect-ratio: 3 / 2; }
.bb-pic > img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1023px) { .bb-split { grid-template-columns: minmax(0, 1fr); gap: var(--s-7); } .bb-split > :first-child, .bb-split > :last-child { grid-column: auto; } }

/* ---------- short numbered lists and the principle plates */
.bb-steps { margin: 0; padding: 0; list-style: none; }
.bb-steps > li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s-3); padding-block: var(--s-4); border-bottom: 1px solid var(--line); font-size: var(--t-lead); }
.bb-steps > li:first-child { padding-top: 0; }
.bb-steps .bb-num { padding-top: .25em; }
.bb-principles { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.bb-principles > li { display: grid; gap: var(--s-8); align-content: space-between; padding: var(--s-5) var(--s-5) var(--s-6); background: var(--surface); }
.bb-principles p { font: var(--display-weight) clamp(22px, 2.4vw, 34px)/1.12 var(--font-display); letter-spacing: -0.02em; text-wrap: balance; }
@media (max-width: 1023px) { .bb-principles { grid-template-columns: minmax(0, 1fr); gap: var(--s-3); } .bb-principles > li { gap: var(--s-5); } }
.bb-names { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--gutter); }
.bb-names > li { padding-block: var(--s-5); border-bottom: 1px solid var(--line); font: var(--display-weight) clamp(20px, 2.1vw, 28px)/1.15 var(--font-display); letter-spacing: -0.02em; }
@media (max-width: 1023px) { .bb-names { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .bb-names { grid-template-columns: minmax(0, 1fr); } }

/* ---------- subscribe: one field, centred */
.bb-sub .form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-3); align-items: end; width: min(100%, 560px); margin-inline: auto; text-align: left; }
.bb-sub .form > .btn-row { grid-column: auto; margin: 0; }
.bb-sub .form .field input { background: transparent; }
.bb-sub .bb-follow { justify-content: center; margin-top: var(--s-7); }
@media (max-width: 639px) { .bb-sub .form { grid-template-columns: minmax(0, 1fr); } }

/* ---------- the footer: the headline on the left, the Contour travelling on the right */
html footer.footer.closing { padding-block: var(--pad) var(--s-7); --ring: rgba(243, 240, 233, .16); }
html footer.footer.closing > .wrap { position: relative; z-index: 2; display: grid; gap: var(--s-9); }
.bb-foot { display: grid; gap: var(--s-6); justify-items: start; max-width: 640px; padding-bottom: var(--s-8); }
.bb-foot h2 { font-size: clamp(44px, 6.4vw, 96px); line-height: .98; letter-spacing: var(--display-tracking-xl); max-width: 10ch; }
html footer.footer .bb-foot-nav { display: flex; flex-wrap: wrap; gap: 0 var(--s-6); margin: 0 0 var(--s-5); padding: 0; list-style: none; }
html footer.footer .bb-foot-nav > li { margin: 0; }
.bb-foot-nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; }
.footer__legal { justify-content: flex-start; align-items: center; margin-top: 0; }
footer .bb-centre { --cx: 80%; --cy: 44%; --cs: 150px; }
@media (max-width: 1023px) { footer .bb-centre { --cx-sm: 88%; --cy-sm: 22%; } .bb-foot h2 { font-size: clamp(40px, 9vw, 64px); } }

/* ---------- plain pages (privacy, credits) */
.bb-plain { padding: calc(var(--nav) + var(--s-9)) 0 var(--s-9); background: var(--p-bg); }
.bb-plain .bb-prose { max-width: 62ch; display: grid; gap: var(--s-4); }
.bb-plain h1 { font-size: var(--t-h2); line-height: 1.1; margin-bottom: var(--s-4); }

@media (prefers-reduced-motion: reduce) { .bb-art, .bb-art__rings, .bb-q::after, .bb-follow img { transition: none; } }

/* a hero picture given as <picture> (a phone crop of its own) */
.bb-hero > picture.hero__bg { display: block; overflow: hidden; }
.bb-hero > picture.hero__bg > img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--pos, 50% 50%); }

/* picture heroes on wide screens: the hero is never taller than its picture, so the picture is always sized by
   its width and the people keep their half of the frame while the words keep the other (--ar: the picture's shape) */
@media (min-width: 1024px) {
  html .hero.bb-hero.bb-hero--pic { height: min(100svh, calc(var(--nav) + 100vw / var(--ar, 1.85))); min-height: 0; }
  .bb-hero--pic.bb-hero--right .bb-hero__text { width: min(560px, 42vw); }
}

/* ================= round 8: more bands ================= */

/* ---------- the ticker: the five areas of focus travelling across one line */
.bb-ticker { overflow: hidden; padding-block: var(--s-4); border-block: 1px solid var(--line); }
.bb-ticker__track { display: flex; width: max-content; }
.bb-ticker__set { display: flex; align-items: center; flex: none; margin: 0; padding: 0; list-style: none; }
.bb-ticker__set > li { display: flex; align-items: center; gap: var(--s-6); padding-right: var(--s-6); font: var(--display-weight) clamp(20px, 2.4vw, 32px)/1.2 var(--font-display); letter-spacing: -0.02em; white-space: nowrap; }
.bb-ticker__set > li::after { content: ""; width: 9px; height: 9px; background: var(--bonny); }
@media (prefers-reduced-motion: no-preference) {
  @keyframes bb-ticker { to { transform: translateX(-50%); } }
  .bb-ticker__track { animation: bb-ticker 38s linear infinite; }
  .bb-ticker:hover .bb-ticker__track { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) { .bb-ticker__track { width: auto; } .bb-ticker__set { flex-wrap: wrap; justify-content: center; row-gap: var(--s-2); padding-inline: var(--s-5); } .bb-ticker__set[aria-hidden] { display: none; } }

/* ---------- the name: its two halves set large either side of the ampersand */
.bb-pair { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: var(--gutter); align-items: center; }
.bb-pair > div { display: grid; gap: var(--s-3); }
.bb-pair > div:first-child { justify-items: end; text-align: right; }
.bb-pair__word { font: var(--display-weight) clamp(36px, 5.6vw, 84px)/1 var(--font-display); letter-spacing: var(--display-tracking-xl); }
.bb-pair__line { font-size: var(--t-lead); color: var(--muted); max-width: 22ch; }
.bb-pair__amp { font: 400 clamp(64px, 9vw, 140px)/1 var(--font-display); color: var(--claret); transition: transform 900ms var(--ease-arrive); }
@media (hover: hover) and (pointer: fine) { .bb-pair:hover .bb-pair__amp { transform: rotate(-8deg) scale(1.06); } }
@media (max-width: 1023px) {
  .bb-pair { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: var(--s-3); }
  .bb-pair > div, .bb-pair > div:first-child { justify-items: center; text-align: center; }
  .bb-pair__word { font-size: clamp(44px, 12vw, 80px); }
  .bb-pair__amp { font-size: clamp(56px, 14vw, 96px); }
}

/* ---------- a split with the picture first */
.bb-split--flip > :first-child { grid-column: 1 / span 6; }
.bb-split--flip > :last-child { grid-column: 8 / -1; }
@media (max-width: 1023px) { .bb-split--flip > :first-child, .bb-split--flip > :last-child { grid-column: auto; } }
.bb-split .bb-head--left { margin-bottom: var(--s-6); }
.bb-pic > img { transition: transform 1400ms var(--ease-arrive); }
@media (hover: hover) and (pointer: fine) { .bb-pic:hover > img { transform: scale(1.04); } }

/* ---------- who listens: six plates */
.bb-aud { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.bb-aud > li { display: grid; gap: var(--s-3); align-content: start; padding: var(--s-5) var(--s-5) var(--s-6); background: var(--surface); border-top: 3px solid transparent; transition: border-color 500ms var(--ease-arrive), transform 500ms var(--ease-arrive); }
.bb-aud h3 { font: var(--display-weight) clamp(20px, 2vw, 27px)/1.12 var(--font-display); letter-spacing: -0.02em; margin-top: var(--s-6); }
.bb-aud p { color: var(--muted); max-width: 30ch; }
@media (hover: hover) and (pointer: fine) { .bb-aud > li:hover { border-top-color: var(--bonny); transform: translateY(-4px); } }
@media (max-width: 1023px) { .bb-aud { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .bb-aud { grid-template-columns: minmax(0, 1fr); gap: var(--s-3); } .bb-aud h3 { margin-top: var(--s-3); } }

/* ---------- where to listen: three rows, each a whole link */
.bb-plats { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.bb-plats > li { border-bottom: 1px solid var(--line); }
.bb-plats a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--s-4); min-height: 72px; color: var(--ink); text-decoration: none; font: var(--display-weight) clamp(20px, 2.1vw, 28px)/1.15 var(--font-display); letter-spacing: -0.02em; transition: padding 500ms var(--ease-arrive), color 300ms; }
.bb-plats i { width: 26px; height: 26px; background: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.bb-plats a::after { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--btn-glyph) center / contain no-repeat; mask: var(--btn-glyph) center / contain no-repeat; transition: transform 500ms var(--ease-arrive); }
@media (hover: hover) and (pointer: fine) { .bb-plats a:hover { padding-left: var(--s-3); color: var(--bonny); } .bb-plats a:hover::after { transform: translateX(6px); } }

/* ---------- the shows at a glance */
.bb-table { width: 100%; border-collapse: collapse; text-align: left; }
.bb-table th, .bb-table td { padding: var(--s-4) var(--s-4) var(--s-4) 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.bb-table thead th { font-family: var(--font-data); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-bottom-color: var(--line-strong); }
.bb-table tbody th { font: var(--display-weight) clamp(20px, 2.1vw, 28px)/1.15 var(--font-display); letter-spacing: -0.02em; white-space: nowrap; }
.bb-table tbody th a { color: inherit; text-decoration: none; }
.bb-table tbody th a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--bonny); text-decoration-thickness: 3px; }
.bb-table td { color: color-mix(in oklab, var(--ink) 84%, var(--bg)); }
.bb-table td.bb-num { white-space: nowrap; }
@media (max-width: 767px) {
  .bb-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .bb-table, .bb-table tbody, .bb-table tr, .bb-table th, .bb-table td { display: block; }
  .bb-table tr { padding-block: var(--s-4); border-bottom: 1px solid var(--line); }
  .bb-table th, .bb-table td { padding: 2px 0; border: 0; }
  .bb-table tbody th { margin-bottom: var(--s-2); white-space: normal; }
}

/* ---------- the things the show is not: five words, each struck through in gold */
.bb-nots { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3) var(--s-7); }
.bb-nots > li { position: relative; font: var(--display-weight) clamp(34px, 5.4vw, 80px)/1.05 var(--font-display); letter-spacing: var(--display-tracking-xl); color: color-mix(in oklab, var(--ink) 62%, var(--bg)); }
.bb-nots > li::after { content: ""; position: absolute; left: -4%; right: -4%; top: 54%; height: clamp(3px, .5vw, 6px); background: var(--bonny); transform-origin: left; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    @keyframes bb-strike { from { transform: scaleX(0); } to { transform: scaleX(1); } }
    .bb-nots > li::after { animation: bb-strike linear both; animation-timeline: view(); animation-range: entry 60% cover 42%; }
  }
}

/* ---------- three pictures in a row */
.bb-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); margin: 0; }
.bb-gallery figure { margin: 0; display: grid; gap: var(--s-3); }
.bb-gallery .bb-pic { aspect-ratio: 4 / 5; }
.bb-gallery figcaption { color: var(--muted); }
@media (max-width: 767px) { .bb-gallery { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); } .bb-gallery .bb-pic { aspect-ratio: 3 / 2; } }

/* ---------- a centred closing question */
.bb-ask { display: grid; justify-items: center; text-align: center; gap: var(--s-6); }
.bb-ask h2 { font-size: clamp(34px, 5vw, 72px); line-height: 1.02; letter-spacing: var(--display-tracking-xl); max-width: 14ch; text-wrap: balance; }
@media (prefers-reduced-motion: reduce) { .bb-pair__amp, .bb-pic > img, .bb-aud > li, .bb-plats a, .bb-plats a::after { transition: none; } }
.bb-plats .i-applepodcasts { --icon: url(../icons/applepodcasts.svg); }
.bb-plats .i-spotify { --icon: url(../icons/spotify.svg); }
.bb-plats .i-youtube { --icon: url(../icons/youtube.svg); }
/* the ticker is one line tall at every width (the kit sizes every band to the screen; :not(.hero) outranks its phone rule) */
html main > section.bb-ticker:not(.hero) { height: auto; min-height: 0; display: block; padding-block: var(--s-3); }
.bb-ticker__set > li { font-size: clamp(17px, 1.9vw, 26px); }
.bb-ticker__set > li::after { width: 7px; height: 7px; }

/* ================= round 10: motion (assets/brand/live.js adds the classes) ================= */
@media (prefers-reduced-motion: no-preference) {
  /* reveal: each part of a band rises in, one after another */
  .rv { opacity: 0; transform: translateY(28px); }
  .rv.is-in { opacity: 1; transform: none; transition: opacity 700ms ease calc(var(--i, 0) * 80ms), transform 900ms var(--ease-arrive) calc(var(--i, 0) * 80ms); }
  .bb-pair__amp.rv { transform: rotate(-70deg) scale(.4); }
  .bb-pair__amp.rv.is-in { transform: none; transition-duration: 700ms, 1200ms; }
  /* the gold bar of an eyebrow draws itself, and the gold stop of a headline drops into place */
  .bb-eyebrow.rv::before { transform: scaleX(0); transform-origin: left; }
  .bb-eyebrow.rv.is-in::before { transform: scaleX(1); transition: transform 700ms var(--ease-arrive) 350ms; }
  @keyframes bb-stop-drop { from { opacity: 0; transform: translateY(-.5em); } }
  .rv .bb-stop { display: inline-block; }
  .rv.is-in .bb-stop { animation: bb-stop-drop 600ms var(--ease-arrive) calc(var(--i, 0) * 80ms + 550ms) both; }
  /* pictures wipe open from the top */
  .rv-pic > img { clip-path: inset(0 0 100% 0); }
  .rv-pic.is-in > img { clip-path: inset(0 0 0 0); transition: clip-path 1200ms var(--ease-arrive) 120ms; }
  /* a question keeps its gold underline once it has been read */
  .bb-qs > li.seen .bb-q::after { transform: scaleX(1); transition-delay: 500ms; }
  /* the rings inside the show art breathe, each tile out of step with the next */
  @keyframes bb-breathe { to { scale: 1.1; } }
  .bb-art__rings { animation: bb-breathe 7s ease-in-out infinite alternate; }
  .bb-tiles > :nth-child(2) .bb-art__rings { animation-delay: -2s; }
  .bb-tiles > :nth-child(3) .bb-art__rings { animation-delay: -4s; }
  .bb-tiles > :nth-child(4) .bb-art__rings { animation-delay: -6s; }
  /* the hero as you scroll away from it: the words lift and fade, the picture moves in */
  @media (min-width: 1024px) {
    .bb-hero .hero-text { transform: translateY(calc(var(--hs, 0) * -70px)); opacity: calc(1 - var(--hs, 0) * 1.25); }
  }
  .bb-hero > picture.hero__bg > img { transform: scale(calc(1 + var(--hs, 0) * .1)); }
  /* the ampersand of the name sways, the arrows of the listen rows nudge */
  @keyframes bb-sway { from { rotate: -4deg; } to { rotate: 4deg; } }
  .bb-pair__amp { animation: bb-sway 5s ease-in-out infinite alternate; }
  /* pictures drift inside their frames as the page moves (where the browser can tie motion to the scroll) */
  @supports (animation-timeline: view()) {
    @keyframes bb-par { from { transform: translateY(-5%) scale(1.12); } to { transform: translateY(5%) scale(1.12); } }
    .bb-pic > img { animation: bb-par linear both; animation-timeline: view(); }
  }
}
/* the reading line along the top of the window */
.bb-progress { position: fixed; left: 0; top: 0; z-index: 60; width: 100%; height: 3px; background: var(--bonny); transform: scaleX(0); transform-origin: left; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .bb-progress { display: none; } }
@media print { .rv, .rv-pic > img { opacity: 1 !important; transform: none !important; clip-path: none !important; } .bb-progress { display: none; } }

/* phones and tablets: the hero picture and its rings fade into the Crude ground under them, so no edge shows */
@media (max-width: 1023px) {
  .bb-hero > .hero__bg, .bb-hero > .bb-field { -webkit-mask-image: linear-gradient(to bottom, #000 52%, transparent 100%); mask-image: linear-gradient(to bottom, #000 52%, transparent 100%); }
}
/* phones and tablets: the hero is as tall as its picture and words, so no empty dark gap sits between them */
@media (max-width: 1023px) { html .hero.bb-hero { min-height: 0; } .bb-hero .hero-text { padding-bottom: var(--s-7); } }
