/* ---------- Fonts ---------- */
@font-face {
  font-family: "Commercial Grotesk";
  src: url("../fonts/Commercial-Grotesk-Halbfette.otf") format("opentype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Plain";
  src: url("../fonts/Plain-Regular-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --cream: #FFFCF6;
  --red: #F44646;
  --pink: #F598A1;
  --yellow: #FFD66D;
  --blue: #77C9E5;
  --black: var(--brown);  /* no true black on the site: everything "black" is the chocolate */
  --black-hover: #55311F; /* a shade up, for hover on brown buttons */
  --grey: #D9D6D0;
  --grey-dark: #2B2A28;
  --brown: #3F2418;      /* chocolate: the hero strapline */

  /* Three corner radii and no others: large surfaces (the reel, the menu,
     the player, the reel card), everything else (cards, photos, buttons,
     chips, fields), and small thumbnails. */
  --r-lg: 12px;
  --r: 8px;
  --r-sm: 4px;

  --display: "Commercial Grotesk", "Helvetica Neue", Arial, sans-serif;
  --text: "Plain", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(6px, .75vw, 12px);       /* everything */
  --gutter-mark: clamp(8px, 1vw, 16px);    /* the big wordmark only */
  --nav-h: 64px;
  /* Type scale: three display sizes (Commercial Grotesk) and two text sizes
     (Plain), and nothing set outside them. Phones redefine them below. */
  --t-1: clamp(44px, 7.2vw, 132px);   /* titles */
  --t-2: clamp(34px, 4.2vw, 76px);    /* headings, numbers, tiles */
  --t-3: clamp(22px, 2.2vw, 40px);    /* small display: card titles, one-liners, the strapline */
  --t-body: clamp(15px, 1.15vw, 19px);/* paragraphs */
  --small: 15px;                      /* interface: labels, chips, pills, fields, the player */
  --hero-visible: .8;   /* share of the first screen the hero owns; the reel peeks into the rest */
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--red);
  font-family: var(--text);
  font-size: var(--small);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
h1, h2, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
svg { display: block; }

/* Placeholder boxes until real images/video arrive */
.placeholder {
  position: relative;
  background: var(--grey);
  overflow: hidden;
  border-radius: var(--r);
}
.placeholder::after {
  content: attr(data-label);
  position: absolute;
  left: 12px; bottom: 10px;
  font-family: var(--text);
  font-size: var(--small);
  color: rgba(0,0,0,.45);
}
.placeholder--dark { background: var(--grey-dark); }
.placeholder--dark::after { color: rgba(255,252,246,.5); }

/* Real images fill their box */
.photo { position: relative; overflow: hidden; background: var(--grey); border-radius: var(--r); }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--nav-h);
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--red);
  transform: translateY(-100%);
  transition: transform .55s cubic-bezier(.65,0,.2,1);
}
.nav.is-visible { transform: translateY(0); }
/* Each item inverts on its own: cream over images / colour, red over the cream page (set by JS) */
.nav__logo, .nav__burger { color: var(--red); transition: color .2s; }
.nav__logo.is-light, .nav__burger.is-light { color: var(--cream); }
.nav__logo.is-black, .nav__burger.is-black { color: var(--black); }
.nav__logo svg { height: 30px; width: calc(30px * 6.258); }

/* ---------- Menu: a hamburger, and a pop-over under it ---------- */

/* Two rules, crossing when open. Inherits colour from the nav so it inverts
   over film and colour blocks exactly as the links used to. */
.nav__burger {
  -webkit-appearance: none; appearance: none;
  background: none; border: 0; padding: 8px 0 8px 8px;
  display: grid; gap: 5px; justify-items: end;
  cursor: pointer; color: inherit;
}
.nav__burger span {
  display: block; width: 26px; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: transform .3s cubic-bezier(.65,0,.2,1), width .3s ease, opacity .2s ease;
}
/* Three lines; open, the outer two cross and the middle one fades (2px line + 5px gap = 7px apart) */
.nav__burger.is-open span:first-child { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:last-child { transform: translateY(-7px) rotate(-45deg); }
.nav__burger:hover span:last-child { width: 26px; }

/* A red panel down the right, floor to ceiling but for the mini player, which
   goes on sitting below it. Inset from the edges by the same gutter as the
   player, so the two stack as one column in that corner. Its own cross closes
   it, in the panel's top corner. */
.menu {
  position: fixed;
  top: var(--gutter);
  right: var(--gutter);
  /* --player-h is measured in site.js: the player grows while an episode
     plays and goes to nothing when it is dismissed. */
  bottom: calc(var(--gutter) + var(--player-h, 0px));
  z-index: 60;
  /* The same width as the mini player, so the two read as one column in
     that corner rather than two unrelated boxes. */
  width: min(360px, calc(100vw - 2 * var(--gutter)));
  /* Link size from the panel: 'Partnerships' is ~3.5em, so it nearly fills it */
  --menu-t: calc((min(360px, 100vw - 2 * var(--gutter)) - 56px) / 3.9);
  display: flex;
  flex-direction: column;
  padding: 22px 28px 26px;
  border-radius: var(--r-lg);
  background: var(--red);
  color: var(--cream);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
  opacity: 0;
  transform: translateX(8px);
  transition: opacity .3s ease, transform .3s cubic-bezier(.65,0,.2,1);
}
.menu.is-open { opacity: 1; transform: none; }
/* display:flex above beats the browser's own [hidden] rule, which would
   otherwise take it out of the layout. Without this the closed panel still
   covers the corner and swallows the click on the hamburger, so the menu
   cannot be opened at all. */
.menu[hidden] { display: none; }

/* Taken out of the flow so the first link starts at the top of the panel and
   the cross sits level with it, rather than pushing the navigation down a row. */
.menu__close {
  position: absolute;
  /* Level with the cap of the first link, not with its line box. The gap
     between the two is the half-leading plus the difference between the em
     ascent and the cap height, which for this face is about .35 of the type
     size, so it is expressed against the same clamp and holds as the type
     scales. The 6px here cancels the button's own padding. */
  top: calc(22px - 6px + 0.348 * var(--menu-t));
  right: 24px;
  -webkit-appearance: none; appearance: none;
  background: none; border: 0; padding: 6px;
  color: var(--cream);
  cursor: pointer;
  line-height: 0;
}
.menu__close svg { width: 24px; height: 24px; display: block; }
.menu__close:hover { opacity: .7; }

/* The big type sits at the top left, under the cross. The social logos go to
   the foot, matching the footer, so the panel is held top and bottom rather
   than leaving a column of empty red down the middle. */
.menu__links { display: grid; gap: 2px; text-align: left; justify-items: start; }
.menu__social {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
/* Scoped through .menu so it outranks ".menu a", which carries the display
   face and its big type size. */
.menu .menu__social a {
  display: block;
  font-size: 0;
  line-height: 0;
  color: var(--cream);
  transition: opacity .2s;
}
.menu .menu__social a:hover { opacity: .6; }
.menu__social svg { display: block; width: 24px; height: 24px; }
.menu a {
  font-family: var(--display);
  font-size: var(--menu-t);
  line-height: .94;
  letter-spacing: -0.015em;
  color: var(--cream);
}
.menu a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: .05em; }

@media (prefers-reduced-motion: reduce) {
  .menu { transition: none; }
  .nav__burger span { transition: none; }
}

/* ---------- Hero ---------- */
.hero-wrap { height: calc(100vh + 100vh * var(--hero-visible)); }
.hero {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: var(--gutter-mark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;       /* wordmark sits on the same margin as left/right */
  padding-bottom: calc(100vh * (1 - var(--hero-visible)));  /* the reel peeks into this */
}
.hero__wordmark { width: 100%; }
.hero__wordmark svg { width: 100%; height: auto; aspect-ratio: 1552 / 248; }
.hero__gap {                         /* the space between wordmark and reel; line sits in its middle */
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* The strapline is the one chocolate-brown thing on the page: it reads as a
   line in its own right rather than a caption to the wordmark. */
.hero__line {
  color: var(--brown);
  font-family: var(--display);
  font-size: calc(var(--t-3) * 1.25);   /* a step up from small display: 50px max */
  line-height: .95;
  letter-spacing: -0.01em;
  text-align: center;
  max-width: 60ch;
  text-wrap: balance;
}

/* ---------- Reel ---------- */
.reel-wrap {
  position: relative;
  z-index: 2;
  margin-top: -100vh;
}
.reel {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: var(--cream);
}
.reel__media {
  /* starts inset with rounded corners; JS grows it to full bleed as it rises */
  position: absolute;
  top: 0; bottom: 0;
  left: var(--gutter); right: var(--gutter);
  border-radius: var(--r-lg);
  background: #8F8B84 url("../video/reel-poster.jpg") center / cover;  /* poster until the video plays */
  overflow: hidden;
}
/* Self-hosted muted loop, no player chrome */
.reel__media video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
/* A fifth of black over the film, so the cream copy holds against whatever
   the footage is doing underneath it. It sits on .reel__media rather than on
   the video so it inherits the 14px radius and the overflow clip, and so it
   grows to full bleed with the media when GSAP opens it out.
   (This rule previously carried a stray colour and no content, so it painted
   nothing: a leftover from the placeholder styles.) */
/* The copy sits in a red card in the bottom-left corner, so the film is
   seen rather than read through. Inset by two gutters: one for the media's
   own inset while it is still rounded, one for breathing room. */
.reel__copy {
  position: absolute;
  left: var(--gutter);
  bottom: var(--gutter);
  visibility: hidden;   /* GSAP reveals it as the reel arrives; see main.js */
  /* Runs from the left gutter to the mini player's edge, on the same margins
     as the player, so the two sit as one strip along the foot of the frame.
     The type is sized so the longest ending ("make you re-send the link to
     the group chat.", 11.8em in this face) fits that width on one line. */
  --player-w: min(360px, calc(100vw - 2 * var(--gutter)));
  /* Hugs the longest line rather than running the full way to the player */
  width: calc(11.85em + 44px);
  max-width: calc(100% - 3 * var(--gutter) - var(--player-w));
  padding: 12px 22px 6px;
  border-radius: var(--r-lg);
  background: var(--red);
  border: 1px solid var(--red);   /* keeps its height level with the bordered player */
  color: var(--cream);
  font-family: var(--display);
  font-size: min(calc((100vw - 3 * var(--gutter) - var(--player-w) - 44px) / 11.85), 64px);
  white-space: nowrap;
  line-height: .98;
  letter-spacing: -0.015em;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
}
/* The set-up line is small and in the book face; the ending is the headline */
.reel__lead { font-family: var(--text); font-size: var(--t-body); line-height: 1.2; letter-spacing: 0; margin-bottom: 0; }
/* The endings slide up through this box and are clipped at its edges, so the
   movement happens inside the card rather than over the film. */
.reel__endings { position: relative; height: 1.16em; margin-top: -0.12em; overflow: hidden; }
.reel__ending { position: absolute; top: 0; left: 0; right: 0; }

/* ---------- Shows: carousel ---------- */
.shows {
  position: relative;
  z-index: 1;
  background: var(--cream);
  padding: 10vh var(--gutter) 14vh;
}
.shows__label { margin-bottom: 3vh; }
/* Homepage: Our shows is a section title, the same size and brown as Behind the mic */
.shows > .shows__label {
  color: var(--brown);
  font-family: var(--display);
  font-size: var(--t-1);
  line-height: .9;
  letter-spacing: -0.02em;
  margin-bottom: 5vh;
}

/* Square covers. The stage is as tall as the centre card, which is as big as
   the screen allows: about half the width, never taller than the window
   minus room for the label (and, on /shows, the row of names). */
.carousel { --card: min(52vw, calc(100vh - 160px)); }
.shows .carousel { --card: min(calc((100vw - 6 * var(--gutter)) / 2.85), calc(100vh - 300px)); }   /* room for the big Our shows title */
.shows-page .carousel { --card: min(50vw, calc(100vh - 250px)); }
.carousel__stage {
  position: relative;
  margin: 0 calc(-1 * var(--gutter));
  height: var(--card);
  /* Clip sideways only: the cards leave left and right, and the centre card
     fills the full height, so a vertical clip would cut its hover lift. */
  overflow-x: clip;
  overflow-y: visible;
  user-select: none;
}
.carousel__stage.is-arrow { cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='24' viewBox='0 0 40 24'><path d='M2 12h34M26 2l10 10-10 10' fill='none' stroke='%23F44646' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") 20 12, e-resize; }
.carousel__stage.is-arrow.is-back { cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='24' viewBox='0 0 40 24'><path d='M38 12H4M14 2L4 12l10 10' fill='none' stroke='%23F44646' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") 20 12, w-resize; }
.carousel__card {
  position: absolute;
  top: 50%;
  aspect-ratio: 1;
  display: block;
  padding: 0; border: 0;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--grey);
  cursor: pointer;
  transition: transform .75s cubic-bezier(.22, .61, .36, 1), opacity .5s ease, filter .75s ease, translate .3s cubic-bezier(.65,0,.2,1);
  will-change: transform;
}
.carousel__card img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Positions are states: a class change slides a card between them */
/* Every show has a card on the stage; its position is a state. All cards
   share the full size and the neighbours are scaled down, so a step is one
   transform per card and nothing is redrawn mid-move. */
.carousel__card[data-pos] { left: 50%; width: var(--card); transform-origin: 50% 50%; }
.carousel__card[data-pos="current"] { transform: translate(-50%, -50%); z-index: 3; }
/* Neighbours at half size, then the next show either side teased smaller,
   softer and fainter, so it reads as more than three shows */
.carousel__card[data-pos="next"] { transform: translate(calc(-50% + var(--card) * .75 + var(--gutter)), -50%) scale(.5); z-index: 2; filter: brightness(.92); }
.carousel__card[data-pos="prev"] { transform: translate(calc(-50% - var(--card) * .75 - var(--gutter)), -50%) scale(.5); z-index: 2; filter: brightness(.92); }
/* Each tier clear of the next, a gutter apart; the third peeks in at the
   edges. The card size below keeps the first two tiers fully on screen. */
.carousel__card[data-pos="next2"] { transform: translate(calc(-50% + var(--card) * 1.16 + var(--gutter) * 2), -50%) scale(.32); z-index: 1; --wash: .4; filter: blur(1.5px) saturate(.8); }
.carousel__card[data-pos="prev2"] { transform: translate(calc(-50% - var(--card) * 1.16 - var(--gutter) * 2), -50%) scale(.32); z-index: 1; --wash: .4; filter: blur(1.5px) saturate(.8); }
.carousel__card[data-pos="next2"]:hover, .carousel__card[data-pos="prev2"]:hover { --wash: .12; filter: none; }
/* A third show either side, smaller and fainter again (9 Oct) */
.carousel__card[data-pos="next3"] { transform: translate(calc(-50% + var(--card) * 1.43 + var(--gutter) * 3), -50%) scale(.22); z-index: 0; --wash: .6; filter: blur(2px) saturate(.7); }
.carousel__card[data-pos="prev3"] { transform: translate(calc(-50% - var(--card) * 1.43 - var(--gutter) * 3), -50%) scale(.22); z-index: 0; --wash: .6; filter: blur(2px) saturate(.7); }
.carousel__card[data-pos="next3"]:hover, .carousel__card[data-pos="prev3"]:hover { --wash: .25; filter: none; }
/* The outer tiers fade with a cream wash over the card rather than by going
   see-through, so nothing behind them shows while they move */
.carousel__card[data-pos]::before {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: var(--cream); opacity: var(--wash, 0);
  transition: opacity .75s ease;
  pointer-events: none;
}
.carousel__card[data-pos="gone-right"] { transform: translate(calc(-50% + var(--card) * 1.72 + var(--gutter) * 4), -50%) scale(.22); opacity: 0; z-index: 0; pointer-events: none; }
.carousel__card[data-pos="gone-left"] { transform: translate(calc(-50% - var(--card) * 1.72 - var(--gutter) * 4), -50%) scale(.22); opacity: 0; z-index: 0; pointer-events: none; }
.carousel__card[data-pos="prev"]:hover, .carousel__card[data-pos="next"]:hover { filter: brightness(1); }
/* The words belong to the centre card only */
.carousel__card[data-pos]:not([data-pos="current"]) .carousel__chips,
.carousel__card[data-pos]:not([data-pos="current"]) .carousel__words { opacity: 0; }

/* The words on the centre card: chips along the top, title and one-liner in
   cream at the foot over a soft scrim. They only appear once the card has
   locked in, so nothing reads mid-slide. */
.carousel__chips, .carousel__words { position: absolute; left: 14px; right: 14px; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.carousel.is-settled .carousel__chips, .carousel.is-settled .carousel__words { opacity: 1; transform: none; transition: opacity .45s .05s, transform .45s .05s; }
.carousel__chips { top: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.carousel__chip {
  padding: 8px 12px;
  border-radius: var(--r);
  font-size: var(--small);
  line-height: 1.2;
  color: var(--cream);
  background: var(--red);
  white-space: nowrap;
}
.carousel__chip:nth-child(2) {
  color: var(--red);
  background: rgba(255, 252, 246, .6);
  border: 1px solid rgba(244, 70, 70, .25);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
}
.carousel__chip--live::before {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: currentColor;
  vertical-align: 1px;
  animation: rec 1.2s steps(1) infinite;
}
.carousel__card[data-pos="current"]::after, .carousel__card--row::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 55%;
  background: linear-gradient(to top, rgba(0, 0, 0, .55), transparent);
  pointer-events: none;
}
.carousel__words { bottom: 16px; z-index: 1; color: var(--cream); display: grid; gap: 6px; }
.carousel__name {
  font-family: var(--display);
  font-size: var(--t-2);
  line-height: .92;
  letter-spacing: -0.02em;
}
.carousel__line {
  font-family: var(--display);
  font-size: var(--t-3);
  line-height: 1;
  letter-spacing: -0.015em;
  max-width: 52ch;
  text-wrap: pretty;
}
.carousel__card[data-pos="current"]:hover .carousel__name { text-decoration: underline; text-underline-offset: .08em; text-decoration-thickness: .04em; }

/* ---------- Latest ---------- */
.latest {
  position: relative;
  z-index: 1;
  background: var(--red);
  color: var(--cream);
  padding: 10vh var(--gutter) 12vh;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.latest__title {
  font-family: var(--display);
  font-size: var(--t-1);
  line-height: .9;
  letter-spacing: -0.02em;
}
/* Native horizontal scroll: swipe / shift-scroll sideways, or just keep going down the page */
.latest__viewport {
  /* A scroller clips both axes, so give the hover lift room above the cards */
  padding-top: 8px;
  margin-top: -8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.latest__viewport::-webkit-scrollbar { display: none; }
.latest__track {
  display: flex;
  gap: var(--gutter);
  width: max-content;
}
.latest__item {
  width: min(72vw, 900px);  /* big, with the next one peeking in on the right */
  scroll-snap-align: start;
}
.latest__item .placeholder { aspect-ratio: 16 / 9; }
.latest__play {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  background: var(--grey-dark);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
}
.latest__play img { display: block; width: 100%; height: 100%; object-fit: cover; }
.latest__play iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.latest__item p { margin-top: 10px; }

/* The row is its own control, as the shows deck is: an arrow on the right to
   go on, on the left third to go back. Drawn in cream, the colour of type on this red band. */
.latest.is-arrow { cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='24' viewBox='0 0 40 24'><path d='M2 12h34M26 2l10 10-10 10' fill='none' stroke='%23FFFCF6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") 20 12, e-resize; }
.latest.is-arrow.is-back { cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='24' viewBox='0 0 40 24'><path d='M38 12H4M14 2L4 12l10 10' fill='none' stroke='%23FFFCF6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") 20 12, w-resize; }
.latest__frame { position: relative; }
.latest__ctl {
  position: absolute;
  z-index: 2;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(72px, 9vw, 120px); height: clamp(72px, 9vw, 120px);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--cream);
  color: var(--red);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform .3s cubic-bezier(.65,0,.2,1), background .2s;
}
.latest__ctl svg { width: 42%; height: 42%; fill: currentColor; margin-left: 4%; }
.latest__ctl:hover { background: #fff; transform: translate(-50%, -50%) scale(1.05); }
/* YouTube's own controls take over once it is playing; ours would sit over the middle of the picture */
.latest__item.is-playing .latest__ctl { opacity: 0; pointer-events: none; }

/* ---------- Behind the scenes ---------- */
/* Two rows drifting sideways for ever, the second offset and a touch slower,
   pausing under the pointer. Photos and the coloured tiles share one size. */
.bts {
  position: relative;
  z-index: 1;
  background: var(--cream);
  padding-bottom: 12vh;
  --bts-h: clamp(240px, 38vh, 440px);
}
.bts__rows { display: grid; gap: var(--gutter); overflow: hidden; }
.bts__row { overflow: hidden; }
.bts__track {
  list-style: none; margin: 0; padding: 0 0 0 var(--gutter);
  display: flex; gap: var(--gutter);
  width: max-content;
  animation: strip 45s linear infinite;
}
/* The second row runs at the same speed, half a card behind, so the two
   always sit staggered like brickwork */
.bts__row--2 .bts__track { margin-left: calc(var(--bts-h) * -.4 - var(--gutter) / 2); }
.bts__rows:hover .bts__track { animation-play-state: paused; }
.bts__item { position: relative; flex: none; height: var(--bts-h); aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; }
.bts__link { position: absolute; inset: 0; z-index: 1; }
.bts__item:has(.bts__link) { cursor: pointer; }
.bts__item:has(.bts__link) img { transition: transform .5s cubic-bezier(.65,0,.2,1); }
.bts__item:has(.bts__link:hover) img { transform: scale(1.04); }
.bts__item.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bts__item.tile { font-size: calc(var(--t-3) * 1.15); }
@media (prefers-reduced-motion: reduce) { .bts__track { animation: none; } }
@media (max-width: 760px) { .bts { --bts-h: 30vh; padding-bottom: 8vh; } .bts__track { animation-duration: 32s; } }

/* The manifesto lines live on three coloured tiles inside the grid */
.tile {
  aspect-ratio: 4 / 5;
  border-radius: var(--r);
  display: grid;
  place-items: center;
  padding: clamp(16px, 2vw, 32px);
  color: var(--black);
  font-family: var(--display);
  font-size: var(--t-2);
  line-height: 1;
  letter-spacing: -0.01em;
  text-align: center;
}
.tile--pink { background: var(--pink); }
.tile--yellow { background: var(--yellow); }
.tile--blue { background: var(--blue); }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  z-index: 1;
  background: var(--cream);
  padding: 12vh var(--gutter) var(--gutter);
}
.footer__wordmark { margin: 0 calc(var(--gutter-mark) - var(--gutter)); } /* same edge as the hero mark */
.footer__wordmark svg { width: 100%; height: auto; aspect-ratio: 1552 / 248; }
.footer__grid {
  margin-top: 8vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 40px var(--gutter);
  line-height: 1.15;
}
/* Two rows shared across the grid: the signup sits level with About and
   Help, the address level with Socials and Legal. */
.footer__cols {
  grid-column: 1; grid-row: 1 / 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: subgrid;
}
.footer__group { display: flex; flex-direction: column; }
.footer__group a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__label { opacity: .5; margin-bottom: 24px; }
.footer__social { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__social a { display: block; transition: opacity .2s; }
.footer__social a:hover { opacity: .6; }
.footer__social svg { display: block; width: 24px; height: 24px; }
.footer__signup { display: contents; }
.footer__signup .footer__form { grid-column: 2; grid-row: 1; }
.footer__signup .footer__small { grid-column: 2; grid-row: 2; align-self: start; }   /* level with the Socials and Legal headings */
.footer__form label { display: block; margin-bottom: 24px; }
.footer__field {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--red);
  border-radius: var(--r);
  padding: 6px 6px 6px 12px;
}
.footer__field input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  padding: 6px 0;
}
.footer__field input::placeholder { color: var(--red); opacity: .9; }
.footer__field input:focus { outline: none; }
.footer__field:focus-within { box-shadow: 0 0 0 2px rgba(244,70,70,.25); }
.footer__field button {
  width: 30px; height: 30px;
  border: 0;
  border-radius: var(--r-sm);
  background: var(--red);
  cursor: pointer;
}
.footer__small { opacity: .5; }

/* ---------- Hover: anything that takes you somewhere lifts, as the job cards do ---------- */
.show-page__others a, .latest__frame, .show-page__pill, .partners__cta, .plain__cta, .deck__cta, .carousel__cta {
  transition: transform .25s cubic-bezier(.65,0,.2,1), background .2s, color .2s;
}
.show-page__others a:hover, .latest__frame:hover, .show-page__pill:hover, .partners__cta:hover, .plain__cta:hover, .deck__cta:hover, .carousel__cta:hover { transform: translateY(-3px); }
.latest__item.is-playing .latest__frame:hover { transform: none; }   /* not while the film is running */
/* The carousel cards are placed with transforms, so the lift uses the
   separate translate property and only once the slide has settled */
.carousel__card { translate: 0 0; }
.carousel.is-settled .carousel__card[data-pos="current"]:hover { translate: 0 -4px; }

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  /* The reel rises higher into the first screen, and everything reads a size up */
  :root {
    --nav-h: 56px; --hero-visible: .42; --small: 16px;
    --t-1: 44px; --t-2: 34px; --t-3: 24px;
    --t-body: 17px; --small: 15px;
  }
  .nav__logo svg { height: 24px; width: calc(24px * 6.258); }
  /* Full width, and starting at the top so it covers the hamburger: only the
     panel's own cross shows */
  .menu { top: var(--gutter); left: var(--gutter); right: var(--gutter); width: auto; --menu-t: min(calc((100vw - 2 * var(--gutter) - 56px) / 3.9), 96px); }

  .hero__line { line-height: .98; }
  .reel__media { border-radius: var(--r-lg); }


  /* Lifted clear of the mini player, which shares the bottom edge on a phone */
  /* Full width, the same gutters as the player beneath it and one gutter
     above it; the type is sized so the longest ending fits on one line */
  .reel__copy { font-size: calc((100vw - 2 * var(--gutter) - 32px) / 11.85); left: var(--gutter); right: var(--gutter); bottom: calc(var(--gutter) * 2 + var(--player-dock-h, 64px)); width: auto; max-width: none; padding: 10px 16px 8px; }
  .reel__lead { font-size: var(--small); margin-bottom: 2px; }
  .reel__endings { margin-top: 0; }

  .shows { padding: 6vh var(--gutter) 8vh; }
  /* A row the finger scrolls, snapping card to card, the neighbours showing
     at both edges. The browser does the motion (site.js renders this form). */
  .carousel__stage { height: auto; margin: 0 calc(-1 * var(--gutter)); overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .carousel__stage::-webkit-scrollbar { display: none; }
  .carousel__stage.is-arrow, .carousel__stage.is-arrow.is-back { cursor: auto; }
  .carousel__cards { display: flex; gap: var(--gutter); padding: 0 9vw; width: max-content; }
  .carousel__card--row { position: relative; top: auto; flex: none; width: 82vw; aspect-ratio: 1; transform: none; scroll-snap-align: center; translate: none; }
  .carousel__card--row .carousel__chips, .carousel__card--row .carousel__words { opacity: 1; transform: none; }
  .carousel__chips, .carousel__words { left: 10px; right: 10px; }
  .carousel__words { bottom: 12px; }
  .carousel__name { font-size: var(--t-1); }

  .latest__item { width: calc(100vw - 2 * var(--gutter) - 12vw); }
  .latest { padding: 6vh var(--gutter) 6vh; gap: 16px; }

  .tile { padding: 14px; }

  .footer__grid { grid-template-columns: 1fr; grid-template-rows: none; gap: 40px; }
  .footer__cols { grid-row: auto; grid-template-rows: none; row-gap: 40px; }
  .footer__signup .footer__form, .footer__signup .footer__small { grid-column: 1; grid-row: auto; margin-top: 0; }
}

/* Phone browsers: size full-screen blocks to the small viewport so the address bar doesn't push things around */
@supports (height: 100svh) {
  .hero, .reel { height: 100svh; }
  .hero-wrap { height: calc(100svh + 100svh * var(--hero-visible)); }
  .hero { padding-bottom: calc(100svh * (1 - var(--hero-visible))); }
  .reel-wrap { margin-top: -100svh; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .reel__copy { visibility: visible; }
  .nav { transform: none; transition: none; color: var(--red); }
  .hero-wrap { height: auto; }
  .hero { position: static; height: auto; padding-top: calc(var(--nav-h) + 40px); padding-bottom: 40px; }
  .reel-wrap { margin-top: 0; }
  .reel__media { left: 0; right: 0; border-radius: 0; }
  .reel__copy { justify-content: flex-end; }
  .reel__endings { height: auto; }
  .reel__ending { position: static; }
}

/* ---------- Section header (used above About) ---------- */
.section-head {
  position: relative;
  z-index: 1;
  background: var(--cream);
  color: var(--brown);
  padding: 18vh var(--gutter) 6vh;
}
.section-head__label { margin-bottom: 12px; }
@media (max-width: 760px) { .section-head { padding: 8vh var(--gutter) 3vh; } }
.section-head__title {
  font-family: var(--display);
  font-size: var(--t-1);
  line-height: .9;
  letter-spacing: -0.02em;
}

/* ---------- Sticky mini player ---------- */
.player {
  position: fixed;
  right: var(--gutter);
  bottom: var(--gutter);
  z-index: 40;
  width: min(360px, calc(100vw - 2 * var(--gutter)));
  border-radius: var(--r-lg);
  background: rgba(255, 252, 246, .88);
  border: 1px solid rgba(244, 70, 70, .25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  color: var(--red);
  overflow: hidden;
  transform: translateY(calc(100% + var(--gutter) + 8px));
  transition: transform .5s cubic-bezier(.65, 0, .2, 1), width .4s ease;
}
.player.is-visible { transform: translateY(0); }
/* Slid away while the latest episodes are on screen (site.js) */
.player.is-visible.is-tucked { transform: translateY(calc(100% + 2 * var(--gutter))); pointer-events: none; }
/* On the homepage the player is docked level with the glass card on the
   reel, at the same height (measured in site.js). One episode at a time,
   with the still grown to fill the height and the title on two lines; every
   few seconds it slides up and the next one slides in. The chevron and the
   cross stack down the right. */
.player { display: flex; flex-direction: column; }
.player__play, .player__text { transition: transform .35s cubic-bezier(.65,0,.2,1), opacity .3s; }
.player.is-swapping .player__play, .player.is-swapping .player__text { transform: translateY(-120%); opacity: 0; }
.player.is-entering .player__play, .player.is-entering .player__text { transform: translateY(120%); opacity: 0; transition: none; }
@media (min-width: 761px) {
  /* Tight top and bottom: the still runs nearly edge to edge, the J and the
     date sit level with its top, the episode title with its foot. */
  .player.is-docked:not(.is-playing) .player__row {
    height: calc(var(--dock-h, 110px) - 2px);
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    grid-template-rows: 1fr 1fr;
    gap: 0 10px;
    padding: 6px 6px 6px 12px;
  }
  .player.is-docked:not(.is-playing) .player__rec { grid-row: 1 / 3; align-self: start; margin-top: 1px; }
  .player.is-docked:not(.is-playing) .player__play { grid-row: 1 / 3; align-self: start; height: calc(var(--dock-h, 110px) - 14px); width: auto; aspect-ratio: 16 / 10; }
  .player.is-docked:not(.is-playing) .player__text { grid-row: 1 / 3; align-self: stretch; display: flex; flex-direction: column; }
  .player.is-docked:not(.is-playing) .player__when { font-size: var(--small); }
  .player.is-docked:not(.is-playing) .player__show { font-size: var(--small); margin-bottom: auto; }   /* date and show at the top, episode at the foot */
  .player.is-docked:not(.is-playing) .player__rec { height: 22px; }
  /* Two lines of episode title instead of the marquee */
  .player.is-docked:not(.is-playing) .player__marquee { white-space: normal; -webkit-mask-image: none; mask-image: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: var(--small); line-height: 1.2; }
  .player.is-docked:not(.is-playing) .player__marquee span { display: inline; padding: 0; animation: none; }
  .player.is-docked:not(.is-playing) .player__marquee span + span { display: none; }
  .player.is-docked:not(.is-playing) .player__more { grid-column: 4; grid-row: 1; align-self: start; }
  .player.is-docked:not(.is-playing) .player__close { grid-column: 4; grid-row: 2; align-self: end; }
}
.player__row {
  display: grid;
  grid-template-columns: auto 72px 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 14px;
  transition: grid-template-columns .4s ease;
}
/* The drawer: five recent episodes, slid up from behind the row on hover or
   the chevron. A 0fr → 1fr grid row so the height animates without a guess. */
.player__drawer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s cubic-bezier(.65, 0, .2, 1); }
.player.is-open .player__drawer { grid-template-rows: 1fr; }
.player__list { min-height: 0; overflow: hidden; }
.player__list li:first-child { padding-top: 6px; }
.player__list li:last-child { border-bottom: 1px solid rgba(244, 70, 70, .25); }
.player__pick {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 6px 14px;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.player__pick:hover, .player__pick.is-current { background: rgba(244, 70, 70, .1); }
.player__pick img { width: 56px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-sm); display: block; background: var(--grey-dark); }
.player__pick-text { min-width: 0; display: grid; line-height: 1.25; }
.player__pick-show { font-size: var(--small); opacity: .7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__pick-title { font-size: var(--small); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__play {
  position: relative;
  width: 72px;
  aspect-ratio: 16 / 10;
  padding: 0;
  border: 0;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--grey-dark);
  cursor: pointer;
}
.player__play img { width: 100%; height: 100%; object-fit: cover; display: block; }
.player__play iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__rec {
  height: 22px; width: auto;
  color: var(--red);
  animation: rec 1.2s steps(1) infinite;   /* the record light */
}
@keyframes rec { 50% { opacity: .15; } }
.player__text { min-width: 0; line-height: 1.25; }
.player__when { font-size: var(--small); opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__show { font-size: var(--small); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 2px; }
.player__marquee {
  overflow: hidden;
  white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.player__marquee span { display: inline-block; padding-right: 2.5em; animation: marquee 14s linear infinite; }
@keyframes marquee { to { transform: translateX(-100%); } }
.player__more, .player__close {
  width: 28px; height: 28px;
  padding: 0;
  border: 0; border-radius: 50%;
  background: transparent;
  color: var(--red);
  cursor: pointer;
  display: grid; place-items: center;
}
.player__close svg { width: 14px; height: 14px; display: block; }
.player__more svg { width: 16px; height: 16px; transition: transform .3s; }
.player.is-open .player__more svg { transform: rotate(180deg); }
.player__more:hover, .player__close:hover { background: rgba(244, 70, 70, .12); }
.player.is-playing { width: min(420px, calc(100vw - 2 * var(--gutter))); }
/* Phones: the full width, on the same gutters as the reel card above it */
@media (max-width: 760px) { .player, .player.is-playing { width: calc(100vw - 2 * var(--gutter)); } }
.player.is-playing .player__row { grid-template-columns: auto 1fr auto auto; }
.player.is-playing .player__play { width: 100%; aspect-ratio: 16 / 9; grid-column: 1 / -1; grid-row: 1; }
.player.is-playing .player__rec { grid-column: 1; grid-row: 2; }
.player.is-playing .player__text { grid-column: 2; grid-row: 2; }
.player.is-playing .player__more { grid-column: 3; grid-row: 2; }
.player.is-playing .player__close { grid-column: 4; grid-row: 2; }

/* ---------- Shows page (/shows): the homepage carousel, plus a row of names ---------- */
.page-shows { overflow: auto; height: auto; }
.shows-page {
  min-height: 100vh; min-height: 100svh;
  padding: calc(var(--nav-h) + 2vh) var(--gutter) 4vh;
  display: flex; flex-direction: column;
}
.shows-page .carousel { margin: auto 0; }
.shows-page .shows__label { color: var(--brown); font-family: var(--display); font-size: var(--t-1); line-height: .9; letter-spacing: -0.02em; font-weight: 400; margin-bottom: 2vh; }
.shows-page .carousel { --card: min(calc((100vw - 6 * var(--gutter)) / 2.85), calc(100vh - 340px)); }
.carousel__index { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; margin-top: 3vh; }
.carousel__index a { opacity: .5; }
.carousel__index a:hover, .carousel__index a.is-current { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) { .carousel__index { gap: 14px; } }

/* ---------- Shows deck (/shows) ---------- */
/* One screen, no scroll: info left, the current card centred, the next one half off the right edge */
.page-shows { overflow: hidden; height: 100vh; height: 100svh; }
.deck {
  height: 100vh;
  height: 100svh;
  padding: calc(var(--nav-h) + 2vh) var(--gutter) 4vh;
  display: flex;
  flex-direction: column;
}
.deck__title { font-size: var(--small); }
.deck__stage {
  position: relative;
  flex: 1;
  min-height: 0;
  margin: 0 calc(-1 * var(--gutter));
  overflow: hidden;
  user-select: none;
}
.deck__stage.is-arrow { cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='24' viewBox='0 0 40 24'><path d='M2 12h34M26 2l10 10-10 10' fill='none' stroke='%23F44646' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") 20 12, e-resize; }
.deck__stage.is-arrow.is-back { cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='24' viewBox='0 0 40 24'><path d='M38 12H4M14 2L4 12l10 10' fill='none' stroke='%23F44646' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") 20 12, w-resize; }

.deck__info {
  position: absolute;
  left: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  width: 24%;
  cursor: auto;
  transition: opacity .25s;
}
.deck__name {
  font-family: var(--display);
  /* Title size, but never wider than the screen (the line is ~7.4em long) */
  font-size: min(var(--t-1), calc((100vw - 2 * var(--gutter)) / 7.6));
  line-height: .95;
  letter-spacing: -0.015em;
}
.deck__hosts {
  font-family: var(--display);
  font-size: var(--t-3);
  line-height: 1;
  margin-top: 6px;
}
.deck__desc { margin-top: 16px; max-width: 32ch; line-height: 1.35; }
.deck__cta {
  display: inline-block;
  margin-top: 18px;
  padding: 9px 14px;
  border-radius: var(--r);
  background: var(--red);
  color: var(--cream);
}
.deck__cta:hover { background: #d93a3a; }

/* 4:3 cards, vertically centred. Current is centred in the stage; next sits half off the
   right edge at the same height. Positions are states, so a class change animates between them. */
.deck__card {
  position: absolute;
  top: 50%;
  aspect-ratio: 4 / 3;
  display: block;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--grey);
  transition: left .55s cubic-bezier(.65,0,.2,1), width .55s cubic-bezier(.65,0,.2,1), transform .55s cubic-bezier(.65,0,.2,1), opacity .4s, filter .55s;
}
.deck__card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.deck__card--current { left: 50%; width: min(48%, 100vh); transform: translate(-50%, -50%); z-index: 3; }
.deck__card--next { left: 100%; width: min(36%, 70vh); transform: translate(-40%, -50%); z-index: 2; filter: brightness(.92); }
.deck__card--prev { left: 0; width: min(36%, 70vh); transform: translate(-110%, -50%); opacity: 0; z-index: 1; }
.deck__card--gone { left: 100%; width: min(36%, 70vh); transform: translate(60%, -50%); opacity: 0; z-index: 1; }

.deck__index {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 2vh;
}
.deck__index a { opacity: .5; }
.deck__index a:hover, .deck__index a.is-current { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Show page (/shows/<slug>) ---------- */
.show-page {
  padding: calc(var(--nav-h) + 2vh) var(--gutter) 0;
  display: flex;
  flex-direction: column;
}
.show-page__hero {
  aspect-ratio: 16 / 9;
  max-height: 86vh;   /* near full screen; the title sits just below the fold */
}
/* Title band: the show name, large and centred, on its colour */
.show-page__hero--title {
  border-radius: var(--r);
  background: var(--hero-bg, var(--red));
  color: var(--cream);
  display: grid;
  place-items: center;
  padding: clamp(20px, 4.5vw, 72px);
  text-align: center;
}
.show-page__hero--title.is-light-bg { color: var(--black); }
.show-page__hero-title {
  font-family: var(--display);
  font-size: clamp(56px, 11vw, 220px);
  line-height: .88;
  letter-spacing: -0.03em;
  text-wrap: balance;
  max-width: 14ch;
}
/* Or the show's uploaded SVG wordmark, fitted inside the band and centred */
.show-page__hero--title { position: relative; }
.show-page__wordmark {
  position: absolute;
  inset: 16% 10%;
  margin: 0;
}
.show-page__wordmark svg { display: block; width: 100%; height: 100%; }
/* "Match the text": every filled shape in the band's text colour */
.show-page__wordmark--mono svg { fill: currentColor; }
.show-page__wordmark--mono svg :not([fill="none"]) { fill: currentColor !important; }
.show-page__wordmark--mono svg [stroke]:not([stroke="none"]) { stroke: currentColor !important; }
.show-page__wordmark .visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
/* The title in the first column, the one-liner starting on the line the
   description below does, the two sharing a baseline: the one-liner's last
   line sits on the title's */
.show-page__head {
  padding: 5vh 0 4vh;
  border-bottom: 1px solid var(--red);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 var(--gutter);
  align-items: last baseline;
}
.show-page__head .show-page__title { grid-column: 1; grid-row: 1; }
.show-page__head .show-page__line { grid-column: 2 / -1; grid-row: 1; margin-top: 0; }
/* With the name up in the band, the one-liner leads on its own */
.show-page__head--line-only .show-page__line { grid-column: 1 / -1; }
.show-page__title {
  font-family: var(--display);
  font-size: var(--t-1);
  line-height: .9;
  letter-spacing: -0.02em;
}
.show-page__line {
  font-family: var(--display);
  font-size: var(--t-3);
  line-height: .98;
  letter-spacing: -0.015em;
  margin-top: 16px;
  max-width: 30ch;
}

/* Details left, story right */
/* Same three columns as the links section below, so the description starts
   on the line the Follow group does */
.show-page__split {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
  padding: 5vh 0 12vh;
}
.show-page__story { grid-column: 2 / -1; }
.show-page__facts {
  margin: 0;
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 32px;
  row-gap: 8px;
  align-content: start;
  font-size: var(--t-body);
}
.show-page__facts div { display: contents; }
.show-page__facts dt { opacity: .55; }
.show-page__facts dd { margin: 0; }
.show-page__listen { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.show-page__listen a { text-decoration: underline; text-underline-offset: 4px; }
.show-page__about p {
  font-size: clamp(19px, 1.6vw, 28px);
  line-height: 1.22;
  max-width: 40ch;
}
.show-page__about p + p { margin-top: .9em; }

/* Listen / Support / Follow: three groups of pill links under a rule */
.show-page__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4vh var(--gutter);
  margin-bottom: 12vh;
  padding-top: 4vh;
  border-top: 1px solid var(--red);
}
.show-page__group h3 {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: var(--t-3);
  line-height: 1;
  letter-spacing: -0.015em;
}
.show-page__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.show-page__pill {
  display: inline-block;
  padding: 11px 18px;
  border: 1.5px solid var(--red);
  border-radius: var(--r);
  background: var(--red);
  color: var(--cream);
  font-size: var(--t-body);
  line-height: 1.2;
  transition: background .2s, color .2s, transform .25s cubic-bezier(.65,0,.2,1);
}
.show-page__pill:hover { background: var(--red-hover, #e23a3a); border-color: var(--red-hover, #e23a3a); }
/* A platform still to come stays outlined */

/* Ruled section header, title left and a link right */
.show-page__section { padding-bottom: 12vh; }
.sec {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--gutter);
  padding-bottom: 14px;
  margin-bottom: 4vh;
  border-bottom: 1.5px solid var(--red);
}
.sec__title {
  font-family: var(--display);
  font-size: var(--t-1);
  line-height: .9;
  letter-spacing: -0.02em;
}
.sec__link { font-size: var(--t-body); white-space: nowrap; }
.sec__link:hover { text-decoration: underline; text-underline-offset: 4px; }

.show-page__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: calc(var(--gutter) * 4) var(--gutter); }
.show-page__list p { margin-top: 12px; font-size: var(--t-body); line-height: 1.3; max-width: 40ch; }
.show-page__thumb { background: var(--grey); }

/* Behind the scenes: one full-bleed, then a pair, then another full-bleed */
/* The drifting window (shared .bts rules), pulled out to the page edges */
.show-page__bts { margin: 0 calc(-1 * var(--gutter)); }
.show-page__bts { padding-bottom: 0; }

.show-page__others { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(var(--gutter) * 3) var(--gutter); }
.show-page__others a { display: block; }
.show-page__others .photo { display: block; aspect-ratio: 1; margin-bottom: 14px; }
.show-page__other-title { display: block; font-family: var(--display); font-size: var(--t-3); line-height: 1; }
.show-page__other-line { display: block; margin-top: 6px; opacity: .7; max-width: 36ch; }
.show-page__others a:hover .show-page__other-title { text-decoration: underline; text-underline-offset: 4px; }

.show-page__subscribe { max-width: 720px; padding-bottom: 6vh; }
.show-page__subscribe label { font-size: var(--t-3); }
.page-show .footer { padding-top: 12vh; }

@media (max-width: 760px) {
  .page-shows { overflow: auto; height: auto; }
  .deck { height: auto; min-height: 100svh; padding-bottom: 6vh; }
  .deck__stage { flex: none; margin: 2vh 0 0; overflow: visible; display: flex; flex-direction: column; gap: 20px; }
  .deck__stage.is-arrow, .deck__stage.is-arrow.is-back,
  .latest.is-arrow, .latest.is-arrow.is-back { cursor: auto; }
  .deck__info { position: static; transform: none; width: auto; order: 2; }
  .deck__cards { position: relative; aspect-ratio: 4 / 3; order: 1; }
  .deck__card--current { left: 0; top: 0; width: 100%; transform: none; }
  .deck__card--next, .deck__card--prev, .deck__card--gone { display: none; }
  .deck__index { gap: 14px; }

  .show-page__head { padding: 4vh 0 4vh; grid-template-columns: 1fr; }
  .show-page__head .show-page__line { grid-column: 1; grid-row: auto; margin-top: 16px; }
  .show-page__head .show-page__title { grid-row: auto; }
  .show-page__hero--title { aspect-ratio: 1; max-height: none; }
  .show-page__hero-title { font-size: 17vw; }
  .show-page__head--line-only .show-page__line { margin-top: 0; }
  .show-page__split { grid-template-columns: 1fr; gap: 36px; padding: 5vh 0 8vh; }
  .show-page__facts { column-gap: 24px; row-gap: 14px; }
  .show-page__story { grid-column: auto; }
  .show-page__links { grid-template-columns: 1fr; gap: 28px; margin-bottom: 8vh; }
  .show-page__section { padding-bottom: 8vh; }
  .sec { flex-direction: column; align-items: flex-start; gap: 8px; }
  .show-page__list { grid-template-columns: 1fr; gap: 28px; }
  .show-page__others { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- About (/about) ---------- */
.about { padding: calc(var(--nav-h) + 2vh) var(--gutter) 0; }
.about__hero { padding: 14vh 0 12vh; text-align: center; }
.about__h1 {
  font-family: var(--display);
  font-size: var(--t-1);
  line-height: .92;
  letter-spacing: -0.02em;
  max-width: 80%;
  margin: 0 auto;
  text-wrap: balance;
}
.about__h2 {
  font-family: var(--display);
  /* Title size, but never wider than the screen (the line is ~7.4em long) */
  font-size: min(var(--t-1), calc((100vw - 2 * var(--gutter)) / 7.6));
  line-height: .95;
  letter-spacing: -0.015em;
  margin-bottom: 24px;
}
/* "Greedy for the good stuff" sits over the three red cards, so it carries
   the same red rather than the page's default body colour. */
.about__h2--loud { color: var(--red); }
.about__h2 a { text-decoration: underline; text-underline-offset: .1em; text-decoration-thickness: .05em; }
/* Label left, copy right. The copy column is three quarters of the width,
   not half: at 1fr 1fr the Sweet Factory paragraph ran seven lines deep and
   the page became a tall thin ribbon of text. */
.about__split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  gap: var(--gutter);
  padding: 8vh 0;
}
.about__label { font-size: var(--t-body); }
.about__copy p { font-size: var(--t-body); line-height: 1.25; max-width: 75ch; }
.about__copy p + p { margin-top: 1em; }
/* The "Who we are" label carries the display face at size, and the
   paragraphs beside it run in the book face the full width of the column. */
.about__label--loud {
  font-family: var(--display);
  /* Title size, but never wider than the screen (the line is ~7.4em long) */
  font-size: min(var(--t-1), calc((100vw - 2 * var(--gutter)) / 7.6));
  line-height: .95;
  letter-spacing: -0.015em;
}
/* The big label sits on the same baseline as the first line of copy beside it */
.about__split:has(.about__label--loud) { align-items: baseline; }
/* Half and half once there's room; narrower, the copy keeps the wider column
   so it doesn't become a thin ribbon (stacked below 760px) */
@media (min-width: 1100px) {
  .about__split:has(.about__label--loud) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  /* Keep the copy off the right edge */
  .about__split:has(.about__label--loud) .about__copy { padding-right: 5vw; }
}
.about__photo { aspect-ratio: 16 / 9; }

/* Values: three outlined cards, number top-left, title bottom, tag below */
/* The three cards share rows (subgrid): the number at the top, spare space,
   then the titles on one line across all three and the paragraphs at the
   foot, however long each one runs. */
.values {
  list-style: none;
  padding: 0 0 12vh;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: minmax(0, 1fr) auto auto;
  gap: var(--gutter);
}
/* Filled red with the type knocked out in white, rather than outlined.
   The three read as one block that way, which is what they are: the set of
   arguments under "Greedy for the good stuff". */
.values__card {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  min-height: 34vh;
  padding: 22px;
  background: var(--red);
  color: var(--cream);
  border-radius: var(--r);
}
.values__n {
  font-family: var(--display);
  font-size: var(--t-1);
  line-height: .85;
  letter-spacing: -0.02em;
}
.values__title {
  font-family: var(--display);
  font-size: var(--t-3);
  line-height: .98;
  letter-spacing: -0.015em;
  margin: 0;          /* h3 isn't in the base reset; its default margins were padding the row */
  align-self: end;
}
.values__card p { margin-top: 12px; max-width: 34ch; align-self: start; line-height: 1.3; font-size: var(--t-body); }

/* The office: red band with cream type, two places under it */
.about__office {
  margin: 0 calc(-1 * var(--gutter));
  padding: 4vh var(--gutter) 10vh;
  background: var(--red);
  color: var(--cream);
}
.about__split--dark .about__label { opacity: .7; }
/* Where the big label carries the section, the heading beside it steps down
   to the paragraph it introduces: same face, same size */
.about__split:has(.about__label--loud) .about__h2 {
  font-family: var(--text);
  font-size: var(--t-body);
  line-height: 1.25;
  letter-spacing: 0;
  font-weight: 400;
  margin-bottom: 1em;
  color: inherit;
}
.about__split--dark .about__label--loud { opacity: 1; }

/* The building, as a strip that never stops. Full bleed, pauses under the
   pointer. The track holds the nine photos twice and travels half its own
   width, so the second copy lands exactly where the first began. */
.about__strip { margin: 0 calc(-1 * var(--gutter)); overflow: hidden; }
.about__strip-track {
  display: flex;
  gap: var(--gutter);
  width: max-content;
  padding-left: var(--gutter);
  animation: strip 70s linear infinite;
}
.about__strip:hover .about__strip-track { animation-play-state: paused; }
.about__strip-track li { flex: none; width: clamp(240px, 26vw, 460px); aspect-ratio: 4 / 3; border-radius: var(--r); }
@keyframes strip { to { transform: translateX(calc(-50% - var(--gutter) / 2)); } }
@media (prefers-reduced-motion: reduce) { .about__strip-track { animation: none; } }

/* Team: inside the red band, 4-up grid of 3:4 headshots */
.team { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: calc(var(--gutter) * 3) var(--gutter); }
.team .photo { aspect-ratio: 3 / 4; }
/* A seat with no portrait yet. A flat colour block rather than a stranger's
   face from a placeholder service, so an empty seat reads as deliberate. */
.team__open { background: var(--pink); }
.team__open--pink { background: var(--pink); }
.team__open--blue { background: var(--blue); }
.team__name { margin-top: 12px; font-family: var(--display); font-size: var(--t-3); line-height: 1; }
.team__role { margin-top: 4px; opacity: .75; }
.about__more { margin-top: 5vh; font-size: var(--t-body); }
/* "Come and work with us →" scaled up to a display line (9 Oct) */
.about__more--dark { font-family: var(--display); font-size: var(--t-2); line-height: .95; letter-spacing: -0.015em; margin-top: 7vh; }
.about__more a:hover { text-decoration: underline; text-underline-offset: 4px; }
.about__more--dark { margin-bottom: 14vh; }
.about__split--team { padding-top: 10vh; }

.about__cta { padding: 10vh 0 4vh; }
.page-about .footer { padding-top: 10vh; }

@media (max-width: 760px) {
  .about__hero { padding: 8vh 0 6vh; }
  .about__split { grid-template-columns: 1fr; gap: 14px; padding: 5vh 0; }
  .values { grid-template-columns: 1fr; grid-template-rows: none; padding-bottom: 8vh; }
  .values__card { display: flex; flex-direction: column; grid-row: auto; min-height: 0; }
  .values__title { margin-top: 32px; align-self: auto; }
  .values__card p { align-self: auto; }
  .about__strip-track li { width: 70vw; }
  .about__strip-track { animation-duration: 50s; }
  .team { grid-template-columns: repeat(2, 1fr); gap: 28px var(--gutter); }
  .about__more--dark { margin-bottom: 8vh; }
}

/* Page builder (/<page>, builder template): the About sections as blocks, in
   any order. These cover the orders About itself never uses. */
.page-builder .about__office > .about__split:first-child { padding-top: 10vh; }
.page-builder .about__office > :not(.about__split):first-child { margin-top: 6vh; }
.page-builder .about > .about__strip { margin-block: 4vh 8vh; }
.page-builder .about > .about__photo + .about__photo { margin-top: var(--gutter); }
.page-builder .team--light { padding: 4vh 0 10vh; }
.page-builder .about__office + .values { padding-top: 8vh; }
.page-builder .team--light + .about__more { margin-top: -4vh; margin-bottom: 10vh; }
@media (max-width: 760px) { .page-builder .about__office > .about__split:first-child { padding-top: 5vh; } }

/* ---------- Partnerships: red and white ----------
   Two red bands (the pitch with its numbers and the ways to partner, then
   the contact form) with white breaks between them for why it works and the
   brands. Type is white on red, red on white, as on Jobs. */
.page-partners { background: var(--cream); color: var(--red); }
/* The menu is white with red type here: a red panel would vanish into the red bands */
.page-partners .menu { background: var(--cream); color: var(--red); box-shadow: 0 10px 30px rgba(0, 0, 0, .22); }
.page-partners .menu a, .page-partners .menu__close, .page-partners .menu .menu__social a { color: var(--red); }
.sec--black { border-bottom: 1px solid currentColor; }

.partners { padding: 0 var(--gutter); }
.partners__band {
  /* flow-root so the video's top margin stays inside the red rather than
     collapsing through and leaving a cream strip under the nav */
  display: flow-root;
  margin: 0 calc(-1 * var(--gutter));
  padding: 0 var(--gutter);
  background: var(--red);
  color: var(--cream);
}
.partners__hero {
  padding: calc(var(--nav-h) + 2vh) 0 6vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 9vh 0;
  align-items: stretch;
}
/* The image leads the page, the full width of the red band */
.partners__image { grid-column: 1 / -1; aspect-ratio: 21 / 9; margin-bottom: -3vh; }
.partners__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* The top video sits centred under the nav, as large as it can be while the
   whole 16:9 frame (and its burned-in captions) stays on screen: full width
   where the screen is tall enough, otherwise capped by the height left below
   the nav. */
.partners__splash {
  --splash-room: calc(100svh - var(--nav-h) - 2vh - 3vh);
  margin: calc(var(--nav-h) + 2vh) auto 0;
  width: min(100%, var(--splash-room) * 16 / 9);
}
/* No grey placeholder behind the video, and the corners rounded on the video
   itself: iOS Safari antialiases the clipped edge a hair inside the box, and
   the light .photo background showed through as a thin white outline. */
.partners__splash.photo { background: transparent; }
.partners__splash video { width: 100%; height: auto; aspect-ratio: auto 16 / 9; display: block; border-radius: inherit; }
.partners__hero--after-splash { padding-top: 9vh; }
/* Sound toggle over the top video's corner. The reel autoplays muted, as
   browsers require; this lets people opt into the audio. */
.splash-sound {
  position: absolute; right: 16px; bottom: 16px;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  -webkit-appearance: none; appearance: none;
  border: 0; border-radius: 50%; padding: 0;
  background: rgba(0, 0, 0, .45);
  color: var(--cream);
  cursor: pointer;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background .2s, transform .2s;
}
.splash-sound[hidden] { display: none; }
.splash-sound:hover { background: rgba(0, 0, 0, .65); }
.splash-sound:active { transform: scale(.94); }
.splash-sound:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }
.splash-sound svg { grid-area: 1 / 1; width: 22px; height: 22px; display: block; }
.splash-sound__on, .splash-sound[aria-pressed="true"] .splash-sound__off { display: none; }
.splash-sound[aria-pressed="true"] .splash-sound__on { display: block; }
.partners__h1 { grid-column: 1 / -1; font-family: var(--display); font-size: var(--t-1); line-height: .88; letter-spacing: -0.025em; }
/* The pitch is the first cell of the ruled row, the numbers the other half */
.partners__pitch { display: flex; flex-direction: column; padding: 22px 32px 26px 0; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.partners__pitch .partners__cta { margin-top: auto; align-self: flex-start; }
.partners__intro { margin: 0 0 32px; font-size: clamp(20px, 1.9vw, 32px); line-height: 1.2; max-width: 30ch; }
.partners__intro-label { display: block; font-size: var(--t-body); opacity: .75; margin-bottom: 12px; }
.partners__cta {
  display: inline-block;
  padding: 10px 16px;
  border: 0;
  border-radius: var(--r);
  background: var(--cream);
  color: var(--red);
  font: inherit;
  cursor: pointer;
}
.partners__cta:hover { background: #fff; }
.partners__cta:disabled { opacity: .5; cursor: default; }

.stats { display: grid; grid-template-columns: 1fr 1fr; }
.stat { padding: 22px 20px 26px 20px; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid currentColor; border-left: 1px solid currentColor; }
.stat:nth-child(n+3) { border-bottom: 1px solid currentColor; }
.stat__n { font-family: var(--display); font-size: var(--t-2); line-height: .9; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat__l { max-width: 20ch; line-height: 1.25; }

/* Ways: six white cards on the red, an icon top left, as the job cards */
.partners__ways { padding: 10vh 0 12vh; }
.partners__ways .sec { padding-bottom: 28px; margin-bottom: 5vh; }
.ways {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}
.ways li {
  display: flex; flex-direction: column;
  min-height: 34vh;
  padding: 22px 22px 24px;
  border-radius: var(--r);
  background: var(--cream);
  color: var(--red);
}
.ways__icon { display: block; width: clamp(56px, 5vw, 84px); height: clamp(56px, 5vw, 84px); margin-bottom: auto; }
.ways__icon svg { width: 100%; height: 100%; display: block; }
.ways h3 { font-family: var(--display); font-size: calc(var(--t-3) * 1.35); line-height: .95; letter-spacing: -0.01em; margin: 40px 0 14px; }
.ways p { max-width: 32ch; line-height: 1.3; font-size: clamp(17px, 1.35vw, 22px); }
/* Same spacing as the About values cards (9 Oct): the 44vh / 26px override is gone */

/* White breaks */
.partners__why { padding: 14vh 0 6vh; }
.partners__why-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-items: start; }
.partners__why-lead { font-family: var(--display); font-size: var(--t-2); line-height: .95; letter-spacing: -0.015em; max-width: 18ch; }
.partners__why .about__copy p { font-size: clamp(18px, 1.5vw, 24px); line-height: 1.3; max-width: 44ch; }
.partners__logos { padding: 8vh 0 14vh; }
.partners__logos .sec { padding-bottom: 28px; margin-bottom: 0; }
.logos {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.logos li {
  aspect-ratio: 5 / 3;
  display: grid; place-items: center;
  padding: 16px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
}
.logos li:nth-child(5n) { border-right: 0; }
.logos { --logo-h: clamp(30px, 3.4vw, 54px); }
.logos svg { height: calc(var(--logo-h) * var(--f, 1)); width: auto; max-width: 72%; display: block; color: var(--red); }

/* Contact: the second red band */
.partners__contact { padding: 12vh var(--gutter) 12vh; }
.partners__contact .about__split { padding: 0; }
.partners__alt { margin-top: 24px; }
.partners__alt a { text-decoration: underline; text-underline-offset: 4px; }
.pform { display: grid; gap: 18px; max-width: 560px; }
.pform label { display: grid; gap: 8px; }
.pform label span { font-size: var(--small); opacity: .8; }
.pform input, .pform textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--cream);
  border-radius: var(--r);
  background: transparent;
  font: inherit;
  color: inherit;
}
.pform input:focus, .pform textarea:focus { outline: none; box-shadow: 0 0 0 2px rgba(255, 252, 246, .35); }
.pform textarea { resize: vertical; }
.pform button { justify-self: start; }

@media (max-width: 760px) {
  .partners__hero { padding: calc(var(--nav-h) + 4vh) 0 4vh; grid-template-columns: 1fr; gap: 0; }
  .partners__pitch { margin-top: 4vh; padding: 18px 0 22px; border-bottom: 0; }   /* the stats' top rule closes it */
  .stat { padding: 18px 14px 20px 0; border-left: 0; }
  .stat:nth-child(even) { padding-left: 14px; border-left: 1px solid currentColor; }
  .logos { grid-template-columns: repeat(3, 1fr); --logo-h: 30px; }   /* 15 logos: five even rows */
  .logos li { padding: 10px; }
  .logos li:nth-child(5n) { border-right: 1px solid currentColor; }
  .logos li:nth-child(3n) { border-right: 0; }
  .partners__why { padding: 8vh 0 4vh; }
  .partners__why-row { grid-template-columns: 1fr; gap: 24px; }
  .ways { grid-template-columns: 1fr; }
  .ways li { min-height: 0; }
  .partners__image { aspect-ratio: 4 / 3; margin-bottom: 0; }
  .partners__hero--after-splash { padding-top: 6vh; }
  .ways h3 { margin-top: 22px; }
  .partners__contact { padding: 7vh var(--gutter); }
  .partners__ways { padding: 6vh 0 8vh; }
}

/* ---------- Jobs and Contact: red page, white knocked out ---------- */
/* Nothing on these two but a line, a paragraph and the form. */
.page-plain { background: var(--red); color: var(--cream); }
.page-plain .nav__logo, .page-plain .nav__burger { color: var(--cream); }
.page-plain .nav__logo.is-red, .page-plain .nav__burger.is-red { color: var(--red); }
/* On a coloured page the panel is the off-white, flat, with black type:
   the red panel vanished into the red page, and a translucent one read as
   a smeared glass block. */
/* Inverted on the red pages: cream panel, red type. Red and white only — no
   brown in the menu on any page type (9 Oct). */
.page-plain .menu { background: var(--cream); color: var(--red); box-shadow: 0 10px 30px rgba(0, 0, 0, .22); }
.page-plain .menu a, .page-plain .menu__close, .page-plain .menu .menu__social a { color: var(--red); }
.page-plain .footer { background: var(--red); color: var(--cream); padding-top: 10vh; }
.page-plain .footer__field { border-color: var(--cream); }
.page-plain .footer__field input::placeholder { color: rgba(255, 252, 246, .7); }
.page-plain .footer__field button { background: var(--cream); }
.page-plain .footer__field:focus-within { box-shadow: 0 0 0 2px rgba(255, 252, 246, .3); }

.plain { padding: calc(var(--nav-h) + 10vh) var(--gutter) 4vh; }
.plain__head { max-width: 60ch; }
.plain__label { font-size: var(--t-body); opacity: .7; }
.plain__h1 {
  margin-top: 10px;
  font-family: var(--display);
  font-size: var(--t-1);
  line-height: .9;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.plain__lead { margin-top: 28px; font-size: var(--t-body); line-height: 1.25; max-width: 60ch; }

.plain__form { margin-top: 8vh; display: grid; gap: 18px; max-width: 640px; }
.plain__form label { display: grid; gap: 6px; }
.plain__form label span { font-size: var(--small); opacity: .8; }
.plain__form input, .plain__form textarea {
  font-family: var(--text);
  font-size: var(--small);
  color: var(--cream);
  background: transparent;
  border: 1px solid var(--cream);
  border-radius: var(--r);
  padding: 12px 14px;
}
.plain__form input::placeholder, .plain__form textarea::placeholder { color: rgba(255, 252, 246, .55); }
.plain__form input:focus, .plain__form textarea:focus { outline: none; box-shadow: 0 0 0 2px rgba(255, 252, 246, .35); }
.plain__cta {
  justify-self: start;
  font-family: var(--text);
  font-size: var(--small);
  background: var(--cream);
  color: var(--red);
  border: 0;
  border-radius: var(--r);
  padding: 13px 28px;
  cursor: pointer;
}
.plain__cta:hover { background: #fff; }
.plain__cta:disabled { opacity: .5; cursor: default; }
.plain__done { font-size: var(--t-body); }
.plain__alt { margin-top: 5vh; font-size: var(--t-body); }
.plain__alt a { text-decoration: underline; text-underline-offset: 4px; }

/* Jobs: the roles as a grid of cards under the headline, and the open
   conversation (the form) below them */
.plain--jobs .plain__head { max-width: none; }
.plain--jobs .plain__h1 { font-size: min(5.2vw, 96px); white-space: nowrap; text-wrap: initial; }
.plain--jobs .plain__lead { max-width: 70ch; }
@media (max-width: 760px) { .plain--jobs .plain__h1 { font-size: var(--t-1); white-space: normal; } }
.roles { margin-top: 8vh; }
.roles__grid {
  list-style: none; padding: 0; margin: 14px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}
.role {
  display: flex; flex-direction: column; gap: 10px;
  height: 100%;
  padding: 22px 22px 24px;
  border-radius: var(--r);
  background: var(--cream);
  color: var(--red);
  transition: transform .25s cubic-bezier(.65,0,.2,1);
}
.role:hover { transform: translateY(-2px); }
.role__term { font-size: var(--small); opacity: .75; }
.role__title { font-family: var(--display); font-size: var(--t-3); line-height: .98; letter-spacing: -0.015em; }
.role__blurb { max-width: 40ch; line-height: 1.3; }
.role__go { margin-top: auto; padding-top: 14px; }
.role:hover .role__go { text-decoration: underline; text-underline-offset: 4px; }

.plain__spec {
  margin-top: 14vh; padding-top: 6vh; border-top: 1px solid rgba(255, 252, 246, .35);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto auto auto 1fr;   /* heading, lead, email; the spare height goes last */
  column-gap: calc(var(--gutter) * 4);
  align-items: start;
}
.plain__spec > * { grid-column: 1; }
.plain__spec .plain__lead { max-width: 52ch; }
.plain__spec .plain__alt { margin-top: 3vh; }
.plain__h2 {
  font-family: var(--display);
  /* Title size, but never wider than the screen (the line is ~7.4em long) */
  font-size: min(var(--t-1), calc((100vw - 2 * var(--gutter)) / 7.6));
  line-height: .95;
  letter-spacing: -0.015em;
}
.plain__spec .plain__lead { margin-top: 20px; }
.plain__spec .plain__form { grid-column: 2; grid-row: 1 / -1; margin-top: 0; max-width: none; }
@media (max-width: 1100px) { .roles__grid { grid-template-columns: repeat(2, 1fr); } }

/* Contact: red like Jobs, and the whole thing on one screen with the
   form on the right. No footer, so nothing to scroll to. */
.page-contact .plain--screen {
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 4vh) var(--gutter) 6vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 4vh calc(var(--gutter) * 4);
  align-items: center;
}
.page-contact .plain__h1 { font-size: var(--t-1); }
.page-contact .plain__lead { max-width: 44ch; }

/* Legal pages: long-form text, spaced so it reads */
.plain__prose { max-width: 70ch; }
.plain__prose > * + * { margin-top: 1em; }
.plain__prose h2 { margin-top: 2em; font-size: 1.5em; line-height: 1.1; }
.plain__prose h3 { margin-top: 1.6em; font-size: 1em; font-weight: 700; }
.plain__prose h2:first-child { margin-top: 0; }
.plain__prose ul { list-style: disc; padding-left: 1.2em; }
.plain__prose li + li { margin-top: .3em; }
.plain__prose a { color: inherit; text-decoration: underline; }
.page-contact .plain__alt { margin-top: 3vh; }
.page-contact .plain__form { margin: 0; max-width: none; justify-self: stretch; width: 100%; gap: 14px; }

@media (max-width: 760px) {
  .plain { padding-top: calc(var(--nav-h) + 6vh); }
  .plain__form { margin-top: 5vh; }
  .roles__grid { grid-template-columns: 1fr; }
  .plain__spec { margin-top: 8vh; grid-template-columns: 1fr; grid-template-rows: none; }
  .plain__spec .plain__form { grid-column: 1; grid-row: auto; margin-top: 5vh; }
  .page-contact .plain--screen { grid-template-columns: 1fr; align-items: start; min-height: 0; }
  .page-contact .plain__form { justify-self: stretch; }
}

/* ---------- Forms: honeypot and errors ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.plain__error, .pform__error { font-size: var(--small); margin: 0 0 12px; }
.pform__error { color: inherit; }

/* ---------- Homepage hero alternatives (/hero/<v>), for review ---------- */
/* The small nav wordmark hides while the big one is on screen */
.hero-a1:not(.is-past-hero) .nav__logo,
.hero-a2:not(.is-past-hero) .nav__logo,
.hero-b:not(.is-past-hero) .nav__logo,
.hero-b2:not(.is-past-hero) .nav__logo,
.hero-c:not(.is-past-hero) .nav__logo { opacity: 0; pointer-events: none; }
.hero-alt .nav__logo { transition: color .2s, opacity .35s; }

/* A1 / A2: the wordmark at about half width, centred in the space above the reel */
.hero-alt .hero { justify-content: center; }
.hero__wordmark--small { width: min(52vw, 980px); }
.hero-a1 .hero__gap, .hero-a2 .hero__gap { width: 100%; }
.hero__tag {
  color: var(--brown);
  font-family: var(--display);
  font-size: calc(var(--t-3) * 1.25);
  line-height: .95;
  letter-spacing: -0.01em;
}
/* A1: the line on the nav row, top left, where the small wordmark would sit */
.hero-a1 .hero__tag { position: absolute; left: var(--gutter); top: calc((var(--nav-h) - 1em) / 2 + 2px); }
/* A2: the line centred under the mark */
.hero__gap--stack { flex-direction: column; gap: clamp(16px, 3vh, 40px); }
.hero__tag--centre { text-align: center; }

/* B / B2: A1 with a bigger wordmark (50% / 30% up on A1) and the tagline
   small in the sans on the nav row */
.hero__wordmark--b  { width: min(78vw, 1470px); }
.hero__wordmark--b2 { width: min(67.6vw, 1274px); }
/* Centred across the top, level with the menu */
.hero__tag--small {
  position: absolute; left: 0; right: 0; top: 0;
  height: var(--nav-h); display: flex; align-items: center; justify-content: center; text-align: center;
  pointer-events: none;
  font-family: var(--text); font-size: var(--small); letter-spacing: 0; line-height: 1;
}

/* C: no cream hero; the reel is the first screen */
.hero-c .reel-wrap { margin-top: 0; }
.reel__mark {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(12px, 2.5vh, 32px);
  color: var(--cream);
  pointer-events: none;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .25);
}
.reel__mark-word { width: min(60vw, 1100px); filter: drop-shadow(0 4px 30px rgba(0, 0, 0, .25)); }
.reel__mark-word svg { width: 100%; height: auto; aspect-ratio: 1552 / 248; display: block; }
.reel__mark-tag { font-family: var(--display); font-size: calc(var(--t-3) * 1.25); line-height: .95; letter-spacing: -0.01em; }

@media (max-width: 760px) {
  .hero__wordmark--small { width: 78vw; }
  .hero-a1 .hero__tag { font-size: var(--t-3); }
  .hero__wordmark--b { width: 92vw; }
  .hero__wordmark--b2 { width: 86vw; }
  .reel__mark-word { width: 84vw; }
}
/* B (live): the small tagline in the condensed display face */
.hero__tag--display { font-family: var(--display); font-size: clamp(25px, 2vw, 32.5px); letter-spacing: -0.005em; }

/* Placeholder cover: the show's name on a brand colour, until artwork comes in */
.cover-ph { display: grid; place-items: center; width: 100%; height: 100%; padding: 12%; text-align: center; font-family: var(--display); font-size: clamp(28px, 4.4vw, 84px); line-height: .9; letter-spacing: -0.02em; }
.cover-ph--red { background: var(--red); color: var(--cream); }
.cover-ph--pink { background: var(--pink); color: var(--black); }
.cover-ph--blue { background: var(--blue); color: var(--black); }
.cover-ph--yellow { background: var(--yellow); color: var(--black); }

/* ---------- Mini player (homepage, until Our shows) ---------- */
.player { transition-property: transform, width, border-radius, background; transition-duration: .55s, .45s, .45s, .3s; transition-timing-function: cubic-bezier(.65,0,.2,1); }
.player.is-mini { width: 56px; border-radius: 28px; background: var(--red); border-color: transparent; cursor: pointer; overflow: hidden; }
.player.is-mini .player__drawer,
.player.is-mini .player__play,
.player.is-mini .player__text,
.player.is-mini .player__more,
.player.is-mini .player__close { display: none !important; }
.player.is-mini .player__row { height: 54px !important; padding: 0 !important; display: grid !important; grid-template-columns: 1fr !important; grid-template-rows: 1fr !important; place-items: center; }
.player.is-mini .player__rec { grid-row: auto !important; grid-column: auto !important; align-self: center !important; justify-self: center !important; margin: 0 !important; height: 24px !important; color: var(--cream) !important; }
@media (max-width: 760px) { .player.is-mini, .player.is-mini.is-playing { width: 56px; } }

/* ---------- "We make shows that …" as its own section (review, 9 Oct) ----------
   Five options at /reel/s1–s5. Every ending is stacked in one grid cell, so the
   block is always the height of the tallest line and nothing jumps as they
   cycle; main.js fades each one up through the clip. */
.statement { position: relative; z-index: 1; background: var(--cream); color: var(--brown); padding: 14vh var(--gutter); }
.statement__inner { margin: 0 auto; }
.statement__lead { font-family: var(--text); font-size: var(--t-3); line-height: 1.1; }
.statement__endings { display: grid; overflow: hidden; margin-top: .25em; padding-bottom: .08em; }
.statement__ending {
  grid-area: 1 / 1;
  font-family: var(--display);
  font-size: var(--t-1);
  line-height: .95;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

/* 1. Statement, centred — the cream page, huge red endings */
.statement--s1 { text-align: center; padding: 18vh var(--gutter); }
.statement--s1 .statement__inner { max-width: 15em; font-size: var(--t-1); }
.statement--s1 .statement__lead { font-size: var(--t-3); }
.statement--s1 .statement__ending { color: var(--red); font-size: var(--t-1); }

/* 2. Red card, centred — inset from the edges like the other cards */
.statement--s2 { padding: 10vh var(--gutter); }
.statement--s2 .statement__inner {
  background: var(--red); color: var(--cream); border-radius: var(--r-lg);
  padding: 14vh clamp(24px, 6vw, 120px); text-align: center;
}
.statement--s2 .statement__ending { max-width: 15em; margin: 0 auto; }

/* 3. Left-aligned — a hairline rule, the lead as a label, the ending big */
.statement--s3 .statement__inner { border-top: 1px solid var(--red); padding-top: 3vh; }
.statement--s3 .statement__lead { color: var(--red); font-size: var(--small); text-transform: uppercase; letter-spacing: .08em; }
.statement--s3 .statement__endings { margin-top: 4vh; }
.statement--s3 .statement__ending { max-width: 16em; font-size: calc(var(--t-1) * 1.1); }

/* 4. Full-bleed red band — edge to edge, the biggest type */
.statement--s4 { background: var(--red); color: var(--cream); text-align: center; padding: 20vh var(--gutter); }
.statement--s4 .statement__inner { max-width: 14em; font-size: calc(var(--t-1) * 1.15); }
.statement--s4 .statement__ending { font-size: calc(var(--t-1) * 1.15); }

/* 5. Split — the lead fixed on the left, the endings cycling on the right */
.statement--s5 .statement__inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 4vw; align-items: start;
  border-top: 1px solid var(--brown); padding-top: 4vh;
}
.statement--s5 .statement__lead { font-family: var(--display); font-size: calc(var(--t-1) * .8); line-height: .95; letter-spacing: -0.015em; }
.statement--s5 .statement__endings { margin-top: 0; }
.statement--s5 .statement__ending { color: var(--red); font-size: calc(var(--t-1) * .8); }

@media (max-width: 760px) {
  .statement { padding: 10vh var(--gutter); }
  .statement--s2 .statement__inner { padding: 8vh 20px; }
  .statement--s4 { padding: 14vh var(--gutter); }
  .statement--s5 .statement__inner { grid-template-columns: 1fr; gap: 12px; }
}

/* Without motion, the first ending stands on its own */
@media (prefers-reduced-motion: reduce) {
  .statement__ending:not(:first-child) { display: none; }
}

/* ---------- Show page: what guests say (9 Oct) ----------
   Red cards, cream type — the same card as the About values. Placeholders
   (no quotes entered yet) are dashed and pale so they can't pass for real. */
.testimonies__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.testimony {
  background: var(--red); color: var(--cream); border-radius: var(--r);
  padding: 22px; min-height: 34vh; display: flex; flex-direction: column;
}
.testimony__quote { margin: 0 0 auto; font-family: var(--display); font-size: var(--t-3); line-height: 1; letter-spacing: -0.01em; text-wrap: pretty; }
.testimony__name { margin-top: 28px; font-size: var(--t-body); }
.testimony__detail { font-size: var(--small); opacity: .8; }
@media (max-width: 760px) {
  .testimonies__list { grid-template-columns: 1fr; }
  .testimony { min-height: 0; }
}

/* "We make shows that": A, at the top of the header in place of the tagline,
   centred on two lines, small */
.statement--top {
  position: absolute; top: 0; left: 0; right: 0; z-index: 2;
  padding: 10px 0 0; background: none;
  text-align: center; color: var(--brown);
  pointer-events: none;
}
.statement--top .statement__inner { max-width: min(640px, calc(100% - 140px)); }
.statement--top .statement__lead { font-family: var(--text); font-size: var(--small); line-height: 1.2; }
.statement--top .statement__endings { margin-top: 2px; }
.statement--top .statement__ending { font-size: clamp(20px, 1.8vw, 28px); line-height: 1.05; color: var(--brown); }

/* C, the ticker: every full line scrolling past on a red band */
.statement--s6 { background: var(--red); color: var(--cream); padding: 7vh 0; overflow: hidden; }
.ticker { overflow: hidden; }
.ticker__track { display: flex; width: max-content; animation: ticker 120s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item {
  display: inline-flex; align-items: baseline; gap: .28em;
  font-family: var(--display); font-size: calc(var(--t-1) * .85); line-height: 1; letter-spacing: -0.02em;
  white-space: nowrap;
}
.ticker__item::after { content: "\2736"; font-size: .45em; margin: 0 .9em; align-self: center; opacity: .8; }
.ticker__lead { opacity: .55; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }
@media (max-width: 760px) {
  .statement--top .statement__inner { max-width: calc(100% - 110px); }
  .statement--top .statement__ending { font-size: 18px; }
  .ticker__item { font-size: 44px; }
  .ticker__track { animation-duration: 90s; }
}

/* ---------- "We make shows that …", live (since 9 Oct) ----------
   Scoped to .statement--live so the layouts kept for review at /reel/<v>
   keep their own looks. Off the reel and into a red card of its own between the reel and Our
   shows, centred. Every ending is stacked in one grid cell, so the block is
   the height of the tallest line and nothing jumps as they cycle; main.js
   fades each one up through the clip. */
.statement--live { position: relative; z-index: 1; background: var(--cream); padding: 10vh var(--gutter) 0; }   /* the Our shows section's own top padding is the gap below */
.statement--live .statement__inner {
  margin: 0 auto;
  background: var(--red); color: var(--cream); border-radius: var(--r-lg);
  padding: clamp(56px, 9vh, 96px) clamp(24px, 6vw, 120px); text-align: center;
}
.statement--live .statement__lead { font-family: var(--text); font-size: clamp(18px, 1.7vw, 30px); line-height: 1.15; }
/* Room below the line so the descenders (g, p, y) are not clipped */
/* Sized from the headline (not the container's own small text), so the
   descenders of g, p and y always clear the clip */
.statement--live .statement__endings { display: grid; overflow: hidden; margin-top: calc(var(--t-1) * .2); padding-bottom: calc(var(--t-1) * .3); margin-bottom: calc(var(--t-1) * -.3); }
.statement--live .statement__ending {
  grid-area: 1 / 1;
  max-width: 15em; margin: 0 auto;
  font-family: var(--display);
  font-size: var(--t-1);
  line-height: 1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
@media (max-width: 760px) {
  .statement--live { padding: 6vh var(--gutter) 0; }
  .statement--live .statement__inner { padding: 36px 20px; }
}

/* ---------- Load-in and scroll reveals (assets/js/reveal.js) ----------
   The content waits under a cover until reveal.js has set each element's
   starting state, so nothing flashes in its final place first. If the script
   never runs, the cover lifts by itself after a moment. */
.js-reveal:not(.reveal-ready) main,
.js-reveal:not(.reveal-ready) .footer { opacity: 0; animation: reveal-fallback 0s linear 2.5s forwards; }
@keyframes reveal-fallback { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .js-reveal:not(.reveal-ready) main, .js-reveal:not(.reveal-ready) .footer { opacity: 1; animation: none; }
}

/* Preview: the endings typed out (/reel/type). Every ending stays stacked in
   the grid cell, invisible, so the card keeps the height of the longest line;
   the first one is the line being typed. */
.statement--typed.is-typing .statement__ending { visibility: hidden; }
.statement--typed.is-typing .statement__ending:first-child { visibility: visible; }
@keyframes caret { 50% { opacity: 0; } }
.typetag { display: inline-grid; }
.typetag__ghost, .typetag__live { grid-area: 1 / 1; text-align: left; white-space: nowrap; }
.typetag__ghost { visibility: hidden; }
.typetag__live::after { content: ""; display: inline-block; width: .07em; height: .8em; margin-left: .07em; background: currentColor; vertical-align: -.05em; animation: caret 1s steps(1) infinite; }
.hero__tag.is-typed .typetag__live::after { animation: none; opacity: 0; transition: opacity .3s; }
.typetag--wrap .typetag__ghost, .typetag--wrap .typetag__live { white-space: normal; }

/* Phones: the reel is three-quarters of the screen and is not pinned (main.js) */
@media (max-width: 760px) {
  .reel { height: 74vh; height: 74svh; }
}
/* Typed endings: the untyped rest holds its place invisibly; the caret takes no width */
.statement--typed .typetag__rest { visibility: hidden; }
.statement--typed .typetag__caret { position: relative; display: inline-block; width: 0; height: .78em; vertical-align: -.02em; }
.statement--typed .typetag__caret::after { content: ""; position: absolute; left: .03em; top: 0; bottom: 0; width: .06em; background: currentColor; animation: caret 1s steps(1) infinite; }
/* The card's typed text wraps like ordinary text and has the one caret only
   (the .typetag__live rules above were written for the single-line tagline) */
.statement--typed .typetag__live { grid-area: auto; white-space: normal; text-align: inherit; }
.statement--typed .typetag__live::after { content: none; }

/* ---------- Splash (live homepage header, Nov) ----------
   The reel is the first screen, full bleed, and doesn't scroll through.
   JAMPOT sits in the middle of it: main.js brings it in on cream, opens the
   film up underneath it, then shrinks it into the nav logo. The styles here
   are the finished state, so without the script the page still reads. */
.hero-splash .reel-wrap { margin-top: 0; }
.hero-splash .reel { height: 100vh; height: 100svh; }
.hero-splash .reel__media { left: 0; right: 0; border-radius: 0; }
.hero-splash:not(.is-past-hero) .nav__logo { opacity: 0; pointer-events: none; }
.splash {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-items: center;
  pointer-events: none;
  color: var(--cream);
}
.splash { --mark-w: min(78vw, 1470px); }
.splash__mark { width: var(--mark-w); transform-origin: 0 0; }
.splash__mark svg { width: 100%; height: auto; aspect-ratio: 1552 / 248; }
/* The tagline shows only briefly, under JAMPOT, before the mark shrinks into
   the logo. Its finished state is gone (still there for screen readers). */
.splash__tag {
  position: absolute; left: 0; right: 0;
  top: calc(50% + var(--mark-w) * 248 / 1552 / 2 + 2.5vh);
  text-align: center;
  font-family: var(--display);
  font-size: var(--t-2);
  line-height: .95;
  letter-spacing: -0.01em;
  padding: 0 var(--gutter) .16em;   /* the tight line-height leaves the g's descender outside the box */
  opacity: 0;
}
@media (max-width: 760px) {
  .splash { --mark-w: 92vw; }
}
@media (prefers-reduced-motion: reduce) {
  .splash__mark { display: none; }
}
