/* ==========================================================================
   The Variety Show — "the J-card" restyle (public pages only).
   The cassette is the object: tape black ground, label paper, the red and
   gold stripes from the episode art. Filled shapes, no outlines, no shadows.
   Loaded after style.css and public.css, so it only has to override.
   ========================================================================== */

.public-site {
  --ground: #14110e;
  --ground-2: #1f1b17;
  --ground-3: #2b2620;
  --paper: #ebeae6;
  --paper-2: #dedad1;
  --ink: #15120f;
  --ink-soft: #564d42;
  --light: #f1f0ed;
  --light-soft: #b9b3a9;
  --red: #b8352a;
  --red-deep: #962a21;
  --gold: #e2a43a;

  --m: clamp(16px, 4vw, 56px);          /* the one pair of outer margins */
  --gap-section: clamp(112px, 12vw, 200px);

  /* five type steps (plus the score step) */
  --t-xl: clamp(72px, 12.4vw, 184px);
  --t-l: clamp(56px, 6.4vw, 104px);
  --t-m: clamp(30px, 3.3vw, 48px);
  --t-body: 18px;
  --t-small: 15px;

  --ease: cubic-bezier(.2, .7, .2, 1);

  background: var(--ground);
  color: var(--light);
  font-size: var(--t-body);
  line-height: 1.55;
  overflow-x: clip;
}
.public-site h1, .public-site h2, .public-site h3 { text-wrap: balance; }

/* ---------- header: a plain bar ---------- */
.public-site .site-header { background: var(--ground); border: 0; position: relative; }
.public-site .site-header .container { max-width: none; padding-inline: var(--m); }
.public-site .header-inner { min-height: 84px; }
.public-site .logo-img { width: 56px; height: 56px; }
.public-site .logo-text { font-size: var(--t-m); letter-spacing: .01em; }
.public-site .logo-text::after { display: none; }
.public-site .site-nav a, .public-site .nav-dropdown summary { font-size: var(--t-small); font-weight: 600; color: var(--light); }
.public-site .site-nav a:hover, .public-site .nav-dropdown summary:hover { color: var(--gold); }
.public-site .nav-dropdown__panel { background: var(--ground-3); border: 0; border-radius: 0; box-shadow: none; }

/* ---------- shared pieces ---------- */
.public-site .block-title {
  font-family: 'Bebas Neue', sans-serif; font-weight: 400;
  font-size: var(--t-m); line-height: 1; letter-spacing: 0;
  color: inherit; margin: 0 0 40px;
}
.public-site .block-title .soft { color: inherit; opacity: .78; display: block; }

.cell {
  display: flex; align-items: center; justify-content: center;
  min-height: 64px; padding: 14px 24px;
  font: 700 var(--t-small)/1.2 Inter, sans-serif; text-decoration: none; text-align: center;
  border: 0; border-radius: 0; cursor: pointer;
  transition: background-color .18s var(--ease), transform .12s var(--ease);
}
.cell:active { transform: translateY(2px); }
.cell--ink { background: var(--ink); color: var(--paper); }
.cell--ink:hover { background: var(--red); color: var(--paper); }
.cell--soft { background: var(--paper-2); color: var(--ink); }
.cell--soft:hover { background: var(--gold); color: var(--ink); }
.cell--full { width: 100%; }
.cell--red { background: var(--red); color: var(--paper); }
.cell--red:hover { background: var(--red-deep); color: var(--paper); }
.cell--dark { background: var(--ground-3); color: var(--light); }
.cell--dark:hover { background: var(--gold); color: var(--ink); }

/* full-bleed home: sections own their margins */
.page-home .site-main > .container { max-width: none; padding: 0; }

/* ---------- 1. hero: a stack of tapes ---------- */
.tape-hero { padding-top: clamp(48px, 7vw, 104px); }
.tape-hero__title { text-align: center; padding-inline: var(--m); }
.tape-hero__title h1 {
  font-family: 'Bebas Neue', sans-serif; font-weight: 400;
  font-size: var(--t-xl); line-height: .86; letter-spacing: -.005em;
  margin: 0; color: var(--light); white-space: nowrap;
}
.tape-hero__title p { max-width: 46ch; margin: 28px auto 0; font-size: var(--t-body); color: var(--light); }

.tape-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 32px; }
.tape-hero__actions .cell { min-width: 240px; }
.latest-card { background: var(--paper); color: var(--ink); margin: clamp(48px, 5vw, 72px) var(--m) 0; }
.latest {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(28px, 4vw, 64px); padding: clamp(24px, 3.4vw, 48px);
  align-items: stretch;
}
.latest__art { display: block; overflow: hidden; aspect-ratio: 1; width: 100%; height: auto; align-self: start; background: var(--ink); }
.latest__art img { width: 100%; height: 100%; object-fit: cover; display: block; animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.06) translate(-1%, 1%); } }
.latest__text { display: flex; flex-direction: column; min-width: 0; }
.latest__title {
  font-family: 'Bebas Neue', sans-serif; font-weight: 400;
  font-size: var(--t-m); line-height: 1; color: var(--ink); margin: 8px 0 24px;
}
.latest__snippet { font-size: var(--t-body); color: var(--ink); margin: 0 0 16px; max-width: 46ch; }
.latest__meta { font-size: var(--t-small); color: var(--ink-soft); margin: 0 0 32px; }
.latest__meta a { color: var(--ink); }
.latest__actions { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* ---------- 2. this week's Snack Sack: verdicts set large ---------- */
.sack { padding: var(--gap-section) var(--m) 0; }
.sack__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sack__item {
  display: grid; align-items: center;
  grid-template-columns: 168px minmax(0, .9fr) minmax(0, 2.4fr);
  gap: clamp(20px, 3vw, 48px);
  background: var(--ground-2); padding: 20px clamp(20px, 2.4vw, 32px);
}
.sack__img { width: 168px; height: 168px; object-fit: contain; background: var(--paper); padding: 10px; display: block; }
.sack__img--none { display: block; }
.public-site .sack__name, .public-site .sack__name h3 {
  font: 700 22px/1.25 Inter, sans-serif; color: var(--light); margin: 0;
}
.sack__name a { display: inline-block; margin-top: 8px; font-size: var(--t-small); color: var(--light-soft); }
.sack__scores { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.score { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: baseline; margin: 0; }
.score__num {
  grid-row: span 2; font-family: 'Bebas Neue', sans-serif;
  font-size: var(--t-l); line-height: .82; color: var(--gold); font-variant-numeric: tabular-nums;
}
.score:nth-child(2) .score__num { color: var(--paper); }
.score__who { font-size: var(--t-small); font-weight: 600; color: var(--light-soft); }
.score__verdict {
  font-family: 'Bebas Neue', sans-serif; font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1; color: var(--light); overflow-wrap: anywhere;
}

/* ---------- 3. the ledger: Tom versus Rob ---------- */
.ledger {
  margin-top: var(--gap-section);
  background: var(--red); color: var(--paper);
  padding: clamp(72px, 9vw, 144px) var(--m);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px;
  align-items: center;
}
.ledger__left { grid-column: 1 / span 5; }
.ledger .block-title { color: var(--paper); font-size: var(--t-l); line-height: .92; margin-bottom: 48px; }
.ledger .block-title .soft { opacity: 1; color: var(--ink); }
.verdict { margin: 0; background: var(--paper); color: var(--ink); padding: clamp(24px, 3vw, 40px); transform: rotate(-1.2deg); }
.verdict__quote {
  margin: 0 0 16px; font-family: 'Bebas Neue', sans-serif; font-size: var(--t-m); line-height: 1;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.verdict__who { font-size: var(--t-small); color: var(--ink-soft); margin-bottom: 24px; transition: opacity .2s var(--ease); }
.verdict__who a { color: var(--ink); }
.verdict.is-swapping .verdict__quote { opacity: 0; transform: translateY(10px); }
.verdict.is-swapping .verdict__who { opacity: 0; }
.verdict__next { width: 100%; }
.verdict__next[hidden] { display: none; }

.ledger__figures { grid-column: 7 / span 6; margin: 0; display: grid; gap: 20px; }
.ledger__row { display: grid; grid-template-columns: 2.1em 1.1em minmax(0, 1fr); align-items: baseline; font-size: var(--t-l); }
.ledger__fig { display: contents; margin: 0; }
.ledger__whole, .ledger__dec { font-family: 'Bebas Neue', sans-serif; line-height: 1; font-variant-numeric: tabular-nums; }
.ledger__whole { grid-column: 1; grid-row: 1; text-align: right; }
.ledger__dec { grid-column: 2; grid-row: 1; }
.ledger__caption { grid-column: 3; grid-row: 1; font-size: var(--t-small); font-weight: 600; padding-left: 16px; max-width: 22ch; }

/* ---------- 4. the J-card: every episode as a tracklist ---------- */
.jcard { padding: var(--gap-section) var(--m) 0; }
.jcard__panel { background: var(--paper); color: var(--ink); padding: clamp(24px, 4vw, 64px); container-type: inline-size; }
.jcard__word {
  font-family: 'Bebas Neue', sans-serif; font-weight: 400;
  font-size: var(--t-l); line-height: .9; margin: 0 0 clamp(28px, 3vw, 44px); color: var(--ink);
}
.jcard__cols { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
.jcard__side { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: var(--t-m); line-height: 1; margin: 0 0 20px; color: var(--ink); }
.tracks + .jcard__side, .jcard__lists .pagination + .jcard__side { margin-top: 104px; }
.tracks { display: grid; gap: 6px; }
.track { background: var(--paper-2); transition: background-color .2s var(--ease); }
.track summary {
  list-style: none; cursor: pointer; min-height: 60px;
  display: grid; grid-template-columns: 3.4em minmax(0, 1fr) 24px; gap: 16px; align-items: center;
  padding: 12px 18px;
}
.track summary::-webkit-details-marker { display: none; }
.track__no { font: 700 var(--t-small)/1 Inter, sans-serif; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.track__title { font: 600 var(--t-body)/1.3 Inter, sans-serif; color: var(--ink); }
.track__plus { position: relative; width: 18px; height: 18px; justify-self: end; }
.track__plus::before, .track__plus::after { content: ''; position: absolute; left: 0; top: 8px; width: 18px; height: 2px; background: var(--ink); transition: transform .25s var(--ease); }
.track__plus::after { transform: rotate(90deg); }
.track[open] .track__plus::after { transform: rotate(0); }
.track:hover, .track.is-active { background: var(--gold); }
.track[open] { background: var(--gold); }
.track__body { padding: 0 18px 22px calc(3.4em + 34px); }
.track__body p { margin: 0 0 12px; color: var(--ink); max-width: 56ch; }
.track__body a { color: var(--ink); font-weight: 700; }
.track__body a:hover { color: var(--red-deep); }
.track__thumb { display: none; }
.preview { position: sticky; top: 24px; margin: 0; aspect-ratio: 1; background: var(--ink); overflow: hidden; }
.preview__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .24s var(--ease), transform .4s var(--ease); }
.preview.is-swapping .preview__img { opacity: 0; transform: scale(1.03); }
.jcard .pagination { margin-top: 32px; }
.jcard { padding-top: clamp(64px, 7vw, 112px); }

/* ---------- 5. the reply card ---------- */
.reply {
  margin-top: clamp(96px, 9vw, 144px); background: var(--gold); color: var(--ink);
  overflow: hidden; position: relative; align-items: end;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px;
  padding: clamp(48px, 5vw, 72px) var(--m) 0;
}
.reply__lead {
  grid-column: 1 / span 4; align-self: end; margin: 0 0 120px;
  font-family: 'Bebas Neue', sans-serif; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.05; color: var(--ink);
}
.reply__card {
  grid-column: 6 / span 7; align-self: end;
  background: var(--paper); color: var(--ink);
  padding: clamp(32px, 4vw, 56px); text-align: center;
  transform: rotate(2deg) translateY(60px); transform-origin: 50% 100%;
  min-height: 420px; display: flex; flex-direction: column; justify-content: center; align-items: center;
  transition: transform .4s var(--ease);
}
.reply__card:hover { transform: rotate(1deg) translateY(40px); }
.reply__card h2 { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: var(--t-l); line-height: .9; margin: 0 0 20px; color: var(--ink); }
.reply__card p { margin: 0 auto 32px; max-width: 36ch; color: var(--ink); }

/* ---------- footer: the back of the card ---------- */
.public-site .cardback { background: var(--ground); border: 0; padding: var(--gap-section) var(--m) 32px; margin: 0; text-align: left; }
.cardback__panel {
  background: var(--paper); color: var(--ink);
  padding: clamp(32px, 4vw, 56px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(32px, 5vw, 80px);
}
.cardback__signoff { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: var(--t-m); line-height: 1; margin: 0 0 16px; color: var(--ink); }
.public-site .cardback__message p { margin: 0 0 24px; max-width: 40ch; color: var(--ink); font-size: var(--t-body); }
.public-site .nav-search label { font-size: var(--t-small); }
.cardback__listen { display: flex; flex-wrap: wrap; gap: 8px; }
.cardback__listen a { background: var(--ink); color: var(--paper); padding: 10px 16px; font-size: var(--t-small); font-weight: 600; text-decoration: none; transition: background-color .18s var(--ease); }
.cardback__listen a:hover { background: var(--red); }
.cardback__address { display: grid; gap: 24px; align-items: start; justify-items: end; }
.cardback__address nav { text-align: right; }
.cardback__address nav { display: grid; gap: 12px; }
.cardback__address nav a { color: var(--ink); font-size: var(--t-body); font-weight: 600; text-decoration: none; }
.cardback__address nav a:hover { color: var(--red-deep); text-decoration: underline; }
.cardback__stamp { width: 96px; height: 96px; object-fit: contain; background: var(--ground); padding: 8px; }
.public-site .cardback .site-counter { grid-column: 1 / -1; background: var(--paper-2); border: 0; border-radius: 0; margin: 0; padding: 16px 20px; color: var(--ink); display: block; }
.public-site .cardback .site-counter__choice { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.public-site .cardback .site-counter__choice p { margin: 0; color: var(--ink); font-size: var(--t-small); }
.public-site .cardback .site-counter__choice button { background: var(--ink); color: var(--paper); border: 0; border-radius: 0; padding: 10px 16px; font-size: var(--t-small); cursor: pointer; }
.public-site .cardback .site-counter__choice a { color: var(--ink); font-size: var(--t-small); }
.public-site .cardback .site-counter strong, .public-site .cardback .site-counter span { color: var(--ink); }
.cardback__imprint { grid-column: 1 / -1; margin: 0; font-size: var(--t-small); color: var(--ink-soft); }
.cardback__imprint a { color: var(--ink); }
.cardback__name {
  margin: 24px 0 0; font-family: 'Bebas Neue', sans-serif; font-size: 16.6vw; line-height: .8;
  color: var(--light-soft); white-space: nowrap; text-align: center; letter-spacing: -.01em;
}

/* ---------- listen dock: same red, no outline ---------- */
.listen-dock__toggle { background: var(--red, #b8352a); border: 0; border-radius: 0; font-size: 15px; transition: opacity .25s, transform .25s; }
.listen-dock__hide small { font-size: 13px; }
.listen-dock__toggle:hover { background: var(--red-deep, #962a21); }
.listen-dock__body { background: var(--ground-3, #2b2620); border: 0; border-radius: 0; }
.listen-dock__identity span, .listen-dock__prompt, .listen-dock__contact, .listen-dock__platforms a { font-size: 15px; }
.listen-dock__contact { border-top: 0; }

/* ==========================================================================
   Inner pages: the same inks, filled surfaces instead of outlines.
   ========================================================================== */
.public-site .container { padding-inline: var(--m); }
.public-site .list-page { padding-top: clamp(48px, 6vw, 88px); }
.public-site .page-head { max-width: 980px; margin-bottom: 56px; }
.public-site .page-title { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: var(--t-xl); line-height: .86; color: var(--light); margin: 0 0 24px; }
.public-site .page-title .segment-mark, .public-site .section-title .segment-mark { display: none; }
.public-site .page-lead, .public-site .page-subtitle { font-size: var(--t-body); color: var(--light); max-width: 52ch; margin: 0 0 32px; }
.public-site .eyebrow { text-transform: none; letter-spacing: 0; font-size: var(--t-small); color: var(--light-soft); }

.public-site .filter-bar { border: 0; padding: 0; margin: 0 0 32px; align-items: center; flex-wrap: wrap; gap: 6px; }
.public-site .filter-label { text-transform: none; letter-spacing: 0; font-size: var(--t-small); color: var(--light); margin-right: 10px; }
.public-site .filter-btn { border: 0; border-radius: 0; background: var(--ground-3); color: var(--light); min-width: 48px; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: var(--t-small); }
.public-site .filter-btn:hover { background: var(--gold); color: var(--ink); }
.public-site .filter-btn--active { background: var(--paper) !important; color: var(--ink) !important; }

.tally { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0 0 56px; }
.tally > div { background: var(--red); color: var(--paper); padding: 24px 24px 20px; display: flex; flex-direction: column-reverse; }
.tally dt { font-size: var(--t-small); font-weight: 600; }
.tally dd { margin: 0; font-family: 'Bebas Neue', sans-serif; font-size: var(--t-l); line-height: .9; font-variant-numeric: tabular-nums; }
.tally > div:nth-child(2) { background: var(--gold); color: var(--ink); }
.tally > div:nth-child(3) { background: var(--paper); color: var(--ink); }
.tally > div:nth-child(4) { background: var(--ground-3); color: var(--light); }
.sack--all { padding: 0; }
.sack--episode { padding-inline: 0; padding-top: clamp(64px, 8vw, 120px); }

.public-site .episode-card, .public-site .media-card,
.public-site .dyr-item-card, .public-site .comp-card, .public-site .song-card,
.public-site .comment, .public-site .vote-section, .public-site .comment-form-wrap,
.public-site .section { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.public-site .media-card, .public-site .dyr-item-card, .public-site .comp-card, .public-site .song-card, .public-site .comment { background: var(--ground-2); }
.public-site .section { background: transparent; padding-inline: 0; }
.public-site .media-card__ep, .public-site .episode-card__meta, .public-site .ep-meta, .public-site .dyr-item-card__player, .public-site .score-label, .public-site .badge {
  text-transform: none; letter-spacing: 0; font-size: var(--t-small);
}
.public-site .ep-title { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: var(--t-l); line-height: .92; }
.public-site .ep-artwork { border-radius: 0; box-shadow: none; }
.public-site .ep-description { font-size: var(--t-body); color: var(--light); max-width: 64ch; }
.public-site .section-title { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: var(--t-m); color: var(--light) !important; }
.public-site .btn { border-radius: 0; border: 0; min-height: 52px; font-size: var(--t-small); }
.public-site .btn--outline { background: var(--ground-3); color: var(--light); }
.public-site input, .public-site textarea, .public-site select { border-radius: 0; font-size: 16px; }
.public-site .pagination__btn { border: 0; border-radius: 0; background: var(--ground-3); color: var(--light); min-height: 48px; font-size: var(--t-small); }
.public-site .jcard .pagination__btn { background: var(--paper-2); color: var(--ink); }
.public-site .pagination__btn--current { background: var(--ink) !important; color: var(--paper) !important; }
.public-site .jcard .pagination__info { color: var(--ink-soft); font-size: var(--t-small); }

/* ---------- motion: entrances are opt-in, so nothing hides without script ---------- */
.js-motion [data-reveal] .rv { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 75ms); }
.js-motion [data-reveal].in .rv { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .latest__art img { animation: none; }
    .js-motion [data-reveal] .rv { opacity: 1; transform: none; transition: none; }
  .reply__card, .reply__card:hover { transition: none; }
  .verdict__quote, .verdict__who, .preview__img { transition: none; }
}

/* ---------- tablet ---------- */
@media (max-width: 1024px) {
  .latest { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sack__item { grid-template-columns: 120px minmax(0, 1fr); }
  .sack__img { width: 120px; height: 120px; }
  .sack__scores { grid-column: 1 / -1; }
  .ledger__left { grid-column: 1 / -1; margin-bottom: 64px; }
  .ledger__figures { grid-column: 1 / -1; }
  .jcard__cols { grid-template-columns: 1fr; }
  .preview { display: none; }
  .track__thumb { display: block; float: left; width: 96px; height: 96px; object-fit: cover; margin: 4px 18px 8px 0; }
  .track__body { padding-left: 18px; }
  .track__body::after { content: ''; display: block; clear: both; }
  .reply__lead { grid-column: 1 / -1; align-self: start; margin-bottom: 48px; }
  .reply__card { grid-column: 1 / -1; }
  .tally { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- phone ---------- */
@media (max-width: 640px) {
  .public-site .header-inner { min-height: 72px; }
  .public-site .logo-img { width: 44px; height: 44px; }
  .public-site .logo-text { font-size: 24px; }
  .tape-hero__title h1 { font-size: 15.4vw; white-space: normal; }
  .tape-hero__actions .cell { min-width: 0; width: 100%; }
  .latest-card { margin-inline: 0; }
  .cardback__address { justify-items: start; }
  .cardback__address nav { text-align: left; }
  .latest { grid-template-columns: 1fr; padding: 16px 16px 24px; }
  .latest__actions { grid-template-columns: 1fr; }
  .cell { min-height: 56px; }
  .sack__item { grid-template-columns: 88px minmax(0, 1fr); padding: 16px; gap: 16px; }
  .sack__img { width: 88px; height: 88px; padding: 6px; }
  .sack__scores { grid-template-columns: 1fr; gap: 20px; }
  .ledger__row { grid-template-columns: 52% 1fr; font-size: 15vw; }
  .ledger__whole { grid-column: 1; }
  .ledger__dec { grid-column: 2; }
  .ledger__caption { grid-column: 1 / -1; grid-row: 2; padding: 6px 0 0; font-size: var(--t-small); }
  .ledger__figures { gap: 28px; }
  .jcard__panel { padding: 20px 16px 28px; }
  .track summary { grid-template-columns: 3em minmax(0, 1fr) 18px; padding: 12px 14px; gap: 12px; }
  .reply { min-height: 0; }
  .reply__card { transform: rotate(1deg) translateY(40px); min-height: 0; padding: 32px 20px 72px; }
  .cardback__panel { grid-template-columns: 1fr; }
  .cardback__stamp { width: 64px; height: 64px; }
  .tally > div { padding: 18px 16px 14px; }
}

/* pieces that already carry their own tilt keep it through the entrance */
.js-motion [data-reveal] .verdict.rv { transform: rotate(-1.2deg) translateY(24px); }
.js-motion [data-reveal].in .verdict.rv { transform: rotate(-1.2deg); }
.js-motion [data-reveal] .reply__card.rv { transform: rotate(2deg) translateY(120px); }
.js-motion [data-reveal].in .reply__card.rv { transform: rotate(2deg) translateY(60px); }
.js-motion [data-reveal].in .reply__card.rv:hover { transform: rotate(1deg) translateY(40px); }
@media (max-width: 640px) {
  .js-motion [data-reveal].in .reply__card.rv { transform: rotate(1deg) translateY(40px); }
}
.track:not([open]) .track__body { display: none; }

/* ---------- episode page details ---------- */
.public-site .ep-header { border: 0; padding-bottom: 0; }
.public-site .episode-notes { border: 0; padding-top: clamp(48px, 6vw, 88px); }
.public-site .ep-meta { color: var(--light-soft); margin: 16px 0 0; }
.public-site .dyr-item-card__player { color: var(--gold); text-transform: none; letter-spacing: 0; font-size: var(--t-small); }
.public-site .dyr-item-card__name, .public-site .comp-card__title, .public-site .song-card__title { font-size: 22px; }
.public-site .dyr-item-card__desc, .public-site .comp-card__desc, .public-site .song-card__artist, .public-site .song-card__year { font-size: var(--t-small); color: var(--light); }
.public-site .dyr-score-badge, .public-site .song-card__verdict, .public-site .verdict-badge { border: 0; border-radius: 0; font-size: var(--t-small); font-weight: 700; letter-spacing: 0; }
.public-site .dyr-score-badge--got, .public-site .song-card__verdict--keep, .public-site .verdict-badge--keep { background: var(--gold); color: var(--ink); }
.public-site .dyr-score-badge--miss, .public-site .song-card__verdict--nineties, .public-site .verdict-badge--nineties { background: var(--red); color: var(--paper); }
.public-site .comp-score { border: 0; border-radius: 0; padding: 8px 14px; }
.public-site .comp-score--tom { background: var(--gold); color: var(--ink); }
.public-site .comp-score--rob { background: var(--paper); color: var(--ink); }
.public-site .comp-score__label { text-transform: none; letter-spacing: 0; font-size: var(--t-small); }
.public-site .comp-score__val { color: var(--ink); font-size: 30px; }
.public-site .btn--agree { background: var(--gold); color: var(--ink); }
.public-site .btn--disagree { background: var(--red); color: var(--paper); }
.public-site .poll-bar { border-radius: 0; background: var(--ground-3); }
.public-site .poll-bar__fill { border-radius: 0; }
.public-site .poll-bar__fill--agree { background: var(--gold); }
.public-site .poll-bar__fill--disagree { background: var(--red); }
.public-site .vote-section { background: var(--ground-2); padding: 32px; }
.public-site .vote-title { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: var(--t-m); line-height: 1; }
.public-site .form-group label { text-transform: none; letter-spacing: 0; font-size: var(--t-small); color: var(--light); }
.public-site .comment-form-wrap { background: var(--ground-2); }
.public-site .comment-form input, .public-site .comment-form textarea { background: var(--ground); border: 0; color: var(--light); }
.public-site .hint { font-size: var(--t-small); color: var(--light-soft); }
.public-site .dyr-item-card__img, .public-site .song-card__cover { border-radius: 0; }

/* ---------- inner pages share the header's margins ---------- */
.public-site .site-main > .container { max-width: none; }
.public-site .list-page { max-width: none; }
.public-site .ep-title { font-size: clamp(40px, 4.4vw, 64px); line-height: .95; }
.public-site { padding-bottom: 0; }
.public-site .cardback { padding-top: clamp(96px, 9vw, 144px); }
.public-site .page-title { letter-spacing: -.005em; }
.public-site .ep-artwork-col { flex: 0 0 clamp(260px, 46vw, 660px); width: clamp(260px, 46vw, 660px); }
.public-site .ep-artwork { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.public-site .ep-header { align-items: flex-end; }
.public-site .media-card__art, .public-site .media-card__art-placeholder, .public-site .snack-card__img, .public-site .dyr-item-card__img { background: var(--paper); }
@media (max-width: 1024px) { .public-site .ep-artwork-col { flex-basis: auto; width: 100%; max-width: 520px; } }
@media (max-width: 640px) { .public-site .cardback { padding-bottom: 104px; } }

/* ==========================================================================
   Round two: every list page shares the Snack Sack layout.
   ========================================================================== */
.public-site .page-title { font-size: clamp(56px, 8.4vw, 136px); line-height: .88; }
.filter-label--gap { margin-left: 16px; }
.tally--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sack__img--cover { object-fit: cover; padding: 0; background: var(--ground-3); }
.public-site .sack__sub { margin: 6px 0 0; font-size: var(--t-small); color: var(--light-soft); max-width: 52ch; }
.sack__item--song, .sack__item--dyr { grid-template-columns: 168px minmax(0, 1.6fr) minmax(0, 1fr); }
.ruling {
  justify-self: start; margin: 0; padding: 10px 18px 6px;
  font-family: 'Bebas Neue', sans-serif; font-size: clamp(30px, 3.3vw, 48px); line-height: 1;
}
.ruling--keep { background: var(--gold); color: var(--ink); }
.ruling--nineties { background: var(--red); color: var(--paper); }
.sack__item--dyr .score__num { color: var(--gold); }

.backlink { display: inline-block; margin-bottom: 32px; color: var(--light); font-size: var(--t-small); font-weight: 600; text-decoration: none; }
.backlink::before { content: '← '; }
.backlink:hover { color: var(--gold); }

/* ---------- quizzes ---------- */
.quizlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.quizlist__link {
  display: grid; grid-template-columns: 132px minmax(0, 1fr) auto; gap: clamp(20px, 3vw, 40px); align-items: center;
  background: var(--ground-2); color: var(--light); text-decoration: none; padding: 24px clamp(20px, 2.4vw, 32px);
  transition: background-color .2s var(--ease);
}
.quizlist__link:hover { background: var(--ground-3); }
.quizlist__count { display: flex; flex-direction: column; }
.quizlist__num { font-family: 'Bebas Neue', sans-serif; font-size: var(--t-l); line-height: .85; color: var(--gold); }
.quizlist__unit { font-size: var(--t-small); font-weight: 600; color: var(--light-soft); }
.quizlist__text { display: grid; gap: 8px; min-width: 0; }
.quizlist__title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(28px, 2.6vw, 38px); line-height: 1; color: var(--light); }
.quizlist__desc { color: var(--light); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 72ch; }
.quizlist__meta { font-size: var(--t-small); color: var(--light-soft); }
.quizlist__go { background: var(--gold); color: var(--ink); font-weight: 700; font-size: var(--t-small); padding: 14px 24px; transition: background-color .2s var(--ease); }
.quizlist__link:hover .quizlist__go { background: var(--paper); }

.quiz-play__head { max-width: 980px; margin-bottom: 48px; }
.quiz-play__title { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: clamp(40px, 4.4vw, 64px); line-height: .95; margin: 0 0 24px; color: var(--light); }
.public-site .quiz-play__desc { white-space: pre-line; color: var(--light); max-width: 64ch; margin: 0 0 16px; }
.quiz-play__meta { font-size: var(--t-small); color: var(--light-soft); margin: 0; }
.quiz-play__meta a { color: var(--light); }
.tracks--quiz { max-width: none; }
.public-site .quiz-question { border: 0; padding: 0; margin: 0; background: var(--paper-2); }
.public-site .quiz-question[open] { background: var(--gold); }
.public-site .quiz-question .track__body { padding-left: 18px; }
.public-site .quiz-question audio { width: 100%; max-width: 560px; display: block; margin: 0 0 16px; }
.public-site .quiz-image { max-width: 100%; max-height: 480px; display: block; margin: 0 0 16px; }
.public-site .quiz-answer { margin: 0; border: 0; padding: 0; }
.public-site .quiz-answer summary { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; background: var(--ink); color: var(--paper); font-weight: 700; font-size: var(--t-small); cursor: pointer; list-style: none; }
.public-site .quiz-answer summary::-webkit-details-marker { display: none; }
.public-site .quiz-answer summary:hover { background: var(--red); }
.public-site .quiz-answer[open] summary { background: var(--ink-soft); }
.quiz-answer__text { margin: 16px 0 0; font-family: 'Bebas Neue', sans-serif; font-size: clamp(30px, 3.3vw, 48px); line-height: 1; color: var(--ink); }

/* ---------- contact ---------- */
.reach { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 8px; margin-bottom: clamp(80px, 9vw, 144px); }
.reach h2 { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: var(--t-m); line-height: 1; margin: 0 0 16px; }
.reach p { margin: 0 0 28px; max-width: 46ch; }
.reach .cell { margin-top: auto; align-self: start; min-width: 240px; }
.reach__main { background: var(--red); color: var(--paper); padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; min-height: 420px; }
.reach__main h2 { font-size: var(--t-l); line-height: .9; }
.reach__main a:not(.cell) { color: var(--paper); }
.reach__side { display: grid; gap: 8px; }
.reach__panel { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; }
.reach__panel--gold { background: var(--gold); color: var(--ink); }
.reach__panel--paper { background: var(--paper); color: var(--ink); }
.directory__group { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: start; margin-bottom: 32px; }
.directory__channel { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: clamp(26px, 2.4vw, 34px); line-height: 1; margin: 12px 0 0; color: var(--light); }
.directory__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.directory__row { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; align-items: center; min-height: 60px; padding: 12px 20px; background: var(--ground-2); color: var(--light); text-decoration: none; transition: background-color .2s var(--ease), color .2s var(--ease); }
.directory__row:hover { background: var(--gold); color: var(--ink); }
.directory__who { font-size: var(--t-small); font-weight: 700; }
.directory__handle { overflow-wrap: anywhere; font-weight: 600; }

/* ---------- updates ---------- */
.postlist { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 8px; }
.postlist__link { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--ground-2); color: var(--light); text-decoration: none; transition: background-color .2s var(--ease); }
.postlist__link:hover { background: var(--ground-3); }
.postlist__img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--ground-3); }
.postlist__text { display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 3.4vw, 48px); min-width: 0; }
.postlist__title { font-family: 'Bebas Neue', sans-serif; font-size: var(--t-m); line-height: 1; color: var(--light); }
.postlist__date { font-size: var(--t-small); color: var(--light-soft); }
.postlist__excerpt { color: var(--light); max-width: 60ch; overflow-wrap: anywhere; }
.postlist__more { margin-top: auto; padding-top: 12px; color: var(--gold); font-weight: 700; font-size: var(--t-small); }

.post-v2 { max-width: 880px; margin-inline: auto; }
.post-v2__title { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: clamp(48px, 5.6vw, 88px); line-height: .92; margin: 0 0 16px; color: var(--light); }
.post-v2__date { font-size: var(--t-small); color: var(--light-soft); margin: 0 0 40px; }
.post-v2__feature { display: block; width: 100%; max-height: 640px; object-fit: cover; margin: 0 0 48px; background: var(--ground-2); }
.public-site .post-v2__body { font: 400 19px/1.7 Inter, sans-serif; color: var(--light); }
.public-site .post-v2__body h2, .public-site .post-v2__body h3 { font-family: 'Bebas Neue', sans-serif; font-weight: 400; color: var(--gold); line-height: 1; margin: 48px 0 16px; }
.public-site .post-v2__body h2 { font-size: var(--t-m); }
.public-site .post-v2__body h3 { font-size: clamp(26px, 2.4vw, 34px); }
.public-site .post-v2__body a { color: var(--gold); }
.public-site .post-v2__body blockquote { border: 0; background: var(--paper); color: var(--ink); padding: 24px 28px; font-family: 'Bebas Neue', sans-serif; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.05; }
.public-site .post-v2__body img { border-radius: 0; }
.public-site .post-v2__body figcaption { font-size: var(--t-small); color: var(--light-soft); }
.post-v2__end { margin: 56px 0 0; }
.post-v2__end .cell { display: inline-flex; }

/* ---------- about ---------- */
.public-site .about-v2 { max-width: none; min-height: 0; }
.about-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 4vw, 64px); align-items: center; margin-bottom: 64px; }
.about-hero__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.about-hero__actions .cell { min-width: 220px; }
.about-hero__art { width: 100%; height: auto; display: block; transform: rotate(-6deg); }
.about-story { margin-top: clamp(80px, 9vw, 144px); }
.about-story__cols { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
.about-story__text p { margin: 0 0 20px; font-size: 19px; max-width: 60ch; color: var(--light); }
.about-story__quote { margin: 0; background: var(--paper); color: var(--ink); padding: clamp(28px, 3vw, 40px); font-family: 'Bebas Neue', sans-serif; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.05; transform: rotate(1.5deg); }
.about-segments { margin-top: clamp(80px, 9vw, 144px); }
.segments { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.segments__row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; align-items: center; padding: 22px clamp(20px, 2.4vw, 32px); background: var(--ground-2); color: var(--light); text-decoration: none; transition: background-color .2s var(--ease), color .2s var(--ease); }
.segments__row:hover { background: var(--gold); color: var(--ink); }
.segments__name { font-family: 'Bebas Neue', sans-serif; font-size: var(--t-m); line-height: 1; }
.about-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: clamp(80px, 9vw, 144px); }
.about-note { padding: clamp(28px, 3.4vw, 48px); display: flex; flex-direction: column; color: var(--ink); }
.about-note h2 { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: var(--t-m); line-height: 1; margin: 0 0 16px; color: var(--ink); }
.about-note p { margin: 0 0 16px; max-width: 52ch; color: var(--ink); }
.about-note .cell { margin-top: auto; align-self: start; min-width: 240px; }
.about-note--paper { background: var(--paper); }
.about-note--gold { background: var(--gold); }

/* ---------- advent ---------- */
.advent-v2 .ep-header { align-items: flex-end; }
.advent-v2__lead { max-width: 46ch; margin: 16px 0 24px; color: var(--light); }
.advent-v2__years { margin: 0; }
.jcard--inner { padding: clamp(64px, 7vw, 112px) 0 0; }
.jcard__empty { margin: 0; color: var(--ink); max-width: 52ch; }
.jcard .advent-player { margin: 8px 0 16px; max-width: 640px; }

@media (max-width: 1024px) {
  .sack__item--song, .sack__item--dyr { grid-template-columns: 120px minmax(0, 1fr); }
  .sack__item--song .ruling, .sack__item--dyr .score { grid-column: 2; }
  .quizlist__link { grid-template-columns: 100px minmax(0, 1fr); }
  .quizlist__go { grid-column: 2; justify-self: start; }
  .reach, .about-hero, .about-story__cols, .about-notes { grid-template-columns: 1fr; }
  .about-hero__art { max-width: 420px; }
  .directory__group { grid-template-columns: 1fr; gap: 12px; }
  .postlist__link { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .sack__item--song, .sack__item--dyr { grid-template-columns: 88px minmax(0, 1fr); }
  .sack__item--song .ruling, .sack__item--dyr .score { grid-column: 1 / -1; }
  .quizlist__link { grid-template-columns: 1fr; gap: 16px; }
  .quizlist__count { flex-direction: row; align-items: baseline; gap: 10px; }
  .quizlist__go { grid-column: 1; justify-self: start; }
  .reach__main { min-height: 0; }
  .reach .cell, .about-note .cell, .about-hero__actions .cell { min-width: 0; width: 100%; }
  .directory__row { grid-template-columns: 1fr; gap: 4px; }
  .tally--three { grid-template-columns: 1fr; }
  .segments__row { grid-template-columns: 1fr; gap: 8px; }
}

/* ---------- round two fixes ---------- */
.verdict__quote { font-size: clamp(26px, 2.4vw, 34px); }
.ledger { margin-top: clamp(96px, 9vw, 144px); }
.public-site .sack__sub { font-size: 17px; }
.track[open] .track__no, .track:hover .track__no, .track.is-active .track__no { color: var(--ink); }
.quiz-answer:not([open]) .quiz-answer__text { display: none; }
.public-site .quiz-question audio { color: var(--ink); }
.quiz-play__head { max-width: none; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 4vw, 64px); align-items: end; }
.quiz-play__head:not(:has(.quiz-play__art)) { grid-template-columns: 1fr; }
.quiz-play__art img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.quiz-play__title { font-size: clamp(36px, 3.6vw, 56px); }
.public-site .post-v2 { max-width: 760px; }
.reach__panel, .reach__main { padding-top: clamp(40px, 4vw, 56px); padding-bottom: clamp(40px, 4vw, 56px); }
.about-note { padding-top: clamp(40px, 4vw, 56px); padding-bottom: clamp(40px, 4vw, 56px); }
.about-story__quote { font-size: clamp(26px, 2.2vw, 30px); }
.about-tally-note { margin: -32px 0 0; font-size: var(--t-small); color: var(--light); max-width: 70ch; }
.about-tally-note a { color: var(--gold); }
@media (max-width: 1024px) {
  .public-site .sack__name a { font-size: 18px; }
  .quiz-play__head { grid-template-columns: 1fr; }
  .quiz-play__art { max-width: 360px; }
}
@media (max-width: 640px) { .quiz-play__title { font-size: 30px; } }
.quiz-play__title { font-size: clamp(34px, 3.2vw, 46px); }
@media (max-width: 1024px) { .public-site .sack__item--dyr .sack__name a { font-size: 19px; } }
@media (max-width: 640px) { .quiz-play__title { font-size: 26px; } .about-story__quote { font-size: 22px; } }

/* ---------- Christmas game ---------- */
.public-site .xmas { max-width: none; }
.xmas-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.xmas-hero__art img { display: block; width: 100%; height: auto; transform: rotate(-1.5deg); }
.xmas-hero__title { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: clamp(48px, 5.6vw, 88px); line-height: .9; margin: 0 0 24px; color: var(--light); }
.xmas-hero__lead { margin: 0 0 12px; max-width: 42ch; color: var(--light); }
.xmas-hero__warning { margin: 0 0 32px; color: var(--gold); font-weight: 600; }
.xmas-hero__actions { display: grid; gap: 8px; }
.xmas-play { margin-top: clamp(80px, 9vw, 144px); background: var(--ground-2); padding: clamp(24px, 4vw, 56px); }
.xmas-play__head p { max-width: 70ch; margin: 0 0 24px; color: var(--light); }
.public-site #christmas-player { border: 0; border-radius: 0; background: #0b0a08; margin: 0; }
.public-site #christmas-player .player-troubleshooting { border-top: 0; background: var(--ground-3); }
.public-site #christmas-player .player-troubleshooting button, .public-site #christmas-player #player-retry { border: 0; border-radius: 0; background: var(--paper); color: var(--ink); font-weight: 700; padding: 10px 16px; }
.public-site #christmas-player .player-troubleshooting summary, .public-site #christmas-player a { color: var(--gold); }
.public-site #christmas-player .sound-restart-note { font-size: 14px; color: var(--light-soft); }
.xmas-play__note { margin: 20px 0 0; font-size: var(--t-small); color: var(--light-soft); }
.xmas-play__note a { color: var(--light); }
.xmas-keys { margin-top: clamp(80px, 9vw, 144px); }
.xmas-keys__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; margin: 0; }
.xmas-keys__list > div { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; background: var(--ground-2); padding: 16px 20px; }
.xmas-keys__list dt { min-width: 64px; text-align: center; background: var(--paper); color: var(--ink); font-family: 'Bebas Neue', sans-serif; font-size: 34px; line-height: 1; padding: 10px 12px 6px; }
.xmas-keys__list dd { margin: 0; color: var(--light); }
.xmas-copy { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 64px); margin-top: clamp(80px, 9vw, 144px); }
.xmas-copy p { margin: 0 0 18px; max-width: 60ch; color: var(--light); }
.xmas-copy strong { color: var(--gold); }
.xmas-copy__clock { font-family: 'Bebas Neue', sans-serif; font-size: clamp(30px, 3.3vw, 48px); line-height: 1; color: var(--gold) !important; }
.xmas-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: clamp(64px, 7vw, 112px); }
.xmas-note { padding: clamp(32px, 3.4vw, 48px); color: var(--ink); }
.xmas-note h2 { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: var(--t-m); line-height: 1; margin: 0 0 16px; color: var(--ink); }
.xmas-note ul { margin: 0; padding-left: 20px; }
.xmas-note li, .xmas-note p { margin: 0 0 8px; color: var(--ink); }
.xmas-note code { font-family: inherit; font-weight: 700; background: var(--ink); color: var(--paper); padding: 2px 8px; }
.xmas-note--paper { background: var(--paper); }
.xmas-note--gold { background: var(--gold); }
.xmas-dedication { margin: 48px 0 0; font-size: var(--t-small); color: var(--light-soft); }
@media (max-width: 1024px) { .xmas-hero, .xmas-copy, .xmas-notes { grid-template-columns: 1fr; } }

/* ---------- shared ledger and reply card on inner pages ---------- */
.reply__actions { display: grid; gap: 8px; width: 100%; }
.reply__card p { margin-bottom: 28px; }
.list-page .ledger, .list-page .reply { margin-inline: calc(-1 * var(--m)); }
.list-page .ledger { margin-top: 0; margin-bottom: clamp(64px, 7vw, 112px); }
.list-page .reply { margin-top: clamp(96px, 9vw, 144px); }
.reply__card { padding-bottom: calc(clamp(32px, 4vw, 56px) + 72px); }

/* ==========================================================================
   Round three: jump menu, smaller square art, updates filter, form, search.
   Square artwork is processed at 500 × 500 on upload, so it is never shown
   much larger than that; on big screens it stays sharp.
   ========================================================================== */

/* ---------- episode jump menu ---------- */
.ep-jump {
  display: flex; flex-wrap: nowrap; gap: 6px; overflow-x: auto; scrollbar-width: none;
  margin: 40px 0 0; padding: 0;
}
.ep-jump::-webkit-scrollbar { display: none; }
.ep-jump a {
  flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px;
  background: var(--ground-2); color: var(--light); font-size: var(--t-small); font-weight: 700; text-decoration: none;
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.ep-jump a:hover, .ep-jump a:focus-visible { background: var(--gold); color: var(--ink); }
.public-site [id] { scroll-margin-top: 24px; }

/* ---------- square artwork: shown at or below its 500px source ---------- */
.public-site .ep-artwork-col { flex: 0 0 clamp(240px, 30vw, 420px); width: clamp(240px, 30vw, 420px); }
.public-site .ep-header { align-items: center; }
.latest { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); }
.preview { max-width: 420px; }
.jcard__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); }
.quiz-play__head { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); }

/* Do you remember? and the 90s songs on an episode page: picture beside the words */
.public-site .dyr-grid, .public-site .songs-showdown { grid-template-columns: 1fr 1fr; gap: 8px; }
.public-site .dyr-item-card, .public-site .song-card {
  display: grid; grid-template-columns: 200px minmax(0, 1fr); align-items: stretch; overflow: hidden;
}
.public-site .dyr-item-card__img, .public-site .song-card__cover {
  width: 200px; height: 200px; aspect-ratio: 1; object-fit: cover; padding: 0; background: var(--ground-3); align-self: start;
}
.public-site .song-card__cover--placeholder { width: 200px; height: 200px; }
.public-site .dyr-item-card__body, .public-site .song-card__body { padding: 20px 24px; }
.public-site .dyr-grid + .dyr-grid { margin-top: 8px; }

/* ---------- updates: smaller pictures, any shape ---------- */
.postlist__link { grid-template-columns: 320px minmax(0, 1fr); align-items: start; }
.postlist__img { width: 320px; height: 240px; aspect-ratio: auto; object-fit: contain; background: var(--ground-3); }
.postlist__text { padding: 28px 32px; }
.filter-bar--months { margin-top: -20px; }
.filter-btn--parent { background: var(--gold) !important; color: var(--ink) !important; }
.filter-btn__count { font-weight: 400; margin-left: 4px; }
.updates-v2__showing { margin: 0 0 24px; color: var(--light); }
.updates-v2__showing a { color: var(--gold); }
.post-v2__feature { width: auto; max-width: 100%; max-height: 460px; object-fit: contain; margin: 0 0 48px; background: none; }

/* ---------- send an idea ---------- */
.suggest-v2__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 8px; align-items: start; }
.suggest-v2__form { background: var(--paper); color: var(--ink); padding: clamp(28px, 4vw, 56px); display: grid; gap: 28px; }
.suggest-v2__error { margin: 0; background: var(--red); color: var(--paper); padding: 14px 18px; font-weight: 600; }
.choice { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.choice legend { font-weight: 700; margin-bottom: 12px; color: var(--ink); padding: 0; }
.choice__option { position: relative; display: block; cursor: pointer; }
.choice__option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice__label { display: block; height: 100%; padding: 16px 18px; background: var(--paper-2); color: var(--ink); font-size: var(--t-small); transition: background-color .18s var(--ease); }
.choice__label strong { display: block; font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: 30px; line-height: 1; margin-bottom: 4px; }
.choice__option:hover .choice__label { background: var(--gold); }
.choice__option input:checked + .choice__label { background: var(--ink); color: var(--paper); }
.choice__option input:focus-visible + .choice__label { outline: 3px solid var(--red); outline-offset: 3px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 700; color: var(--ink); font-size: var(--t-small); }
.field__optional { font-weight: 400; color: var(--ink-soft); margin-left: 6px; }
.public-site .field input, .public-site .field textarea {
  width: 100%; border: 0; border-radius: 0; background: #fff; color: var(--ink); font: 400 17px/1.5 Inter, sans-serif; padding: 14px 16px;
  box-shadow: inset 0 -3px 0 var(--paper-2);
}
.public-site .field input:focus, .public-site .field textarea:focus { outline: 3px solid var(--gold); outline-offset: 0; }
.suggest-v2__send { justify-self: start; min-width: 280px; border: 0; }
.suggest-v2__aside { background: var(--ground-2); padding: clamp(28px, 3vw, 40px); }
.suggest-v2__aside h2 { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: var(--t-m); line-height: 1; margin: 0 0 16px; color: var(--light); }
.suggest-v2__aside p { margin: 0 0 14px; color: var(--light); }
.suggest-v2__aside a { color: var(--gold); }
.suggest-v2__done { background: var(--gold); color: var(--ink); padding: clamp(32px, 4vw, 56px); max-width: 720px; }
.suggest-v2__done h2 { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: var(--t-l); line-height: .9; margin: 0 0 16px; color: var(--ink); }
.suggest-v2__done p { margin: 0 0 28px; color: var(--ink); }
.suggest-v2__done .cell { display: inline-flex; }

/* ---------- search ---------- */
.search-v2__form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin: 0 0 40px; max-width: 980px; }
.public-site .search-v2__form input { border: 0; border-radius: 0; background: var(--paper); color: var(--ink); font: 400 20px/1.3 Inter, sans-serif; padding: 18px 20px; min-height: 64px; }
.public-site .search-v2__form input:focus { outline: 3px solid var(--gold); outline-offset: 0; }
.search-v2__form .cell { min-width: 160px; border: 0; }
.search-v2__count { margin: 0 0 20px; color: var(--light); }
.search-v2__results { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 6px; }
.search-v2__row { display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 18px 24px; background: var(--ground-2); color: var(--light); text-decoration: none; transition: background-color .18s var(--ease); }
.search-v2__row:hover { background: var(--ground-3); }
.search-v2__kind { justify-self: start; padding: 6px 12px; font-size: var(--t-small); font-weight: 700; background: var(--paper); color: var(--ink); }
.search-v2__kind--snack { background: var(--gold); }
.search-v2__kind--song { background: var(--red); color: var(--paper); }
.search-v2__kind--dyr { background: var(--paper-2); }
.search-v2__text { display: grid; gap: 4px; min-width: 0; }
.search-v2__title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(26px, 2.4vw, 34px); line-height: 1; }
.search-v2__detail { font-size: var(--t-small); color: var(--light-soft); overflow-wrap: anywhere; }
.search-v2__ep { font-size: var(--t-small); font-weight: 700; color: var(--gold); }

@media (max-width: 1024px) {
  .latest { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .public-site .ep-artwork-col { flex-basis: auto; width: 100%; max-width: 420px; }
  .public-site .dyr-grid, .public-site .songs-showdown { grid-template-columns: 1fr; }
  .suggest-v2__grid { grid-template-columns: 1fr; }
  .postlist__link { grid-template-columns: 240px minmax(0, 1fr); }
  .postlist__img { width: 240px; height: 180px; }
  .search-v2__row { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 640px) {
  .latest { grid-template-columns: 1fr; }
  .latest__art { max-width: 420px; }
  .public-site .dyr-item-card, .public-site .song-card { grid-template-columns: 120px minmax(0, 1fr); }
  .public-site .dyr-item-card__img, .public-site .song-card__cover, .public-site .song-card__cover--placeholder { width: 120px; height: 120px; }
  .public-site .dyr-item-card__body, .public-site .song-card__body { padding: 14px 16px; }
  .postlist__link { grid-template-columns: 1fr; }
  .postlist__img { width: 100%; height: auto; max-height: 260px; aspect-ratio: 4 / 3; }
  .choice { grid-template-columns: 1fr; }
  .suggest-v2__send { justify-self: stretch; min-width: 0; }
  .search-v2__form { grid-template-columns: 1fr; }
}

/* the episode preview sits in a fixed frame at the top of its column */
.preview { position: static; top: auto; background: var(--ink); padding: 14px; }
.preview__img { aspect-ratio: 1; height: auto; }
.preview__caption { margin: 12px 2px 2px; color: var(--paper); font-size: var(--t-small); font-weight: 600; min-height: 2.6em; }
.public-site .ep-page .section { margin-top: clamp(64px, 7vw, 112px); padding-top: 0; }
.postlist__img--none { display: none; } .postlist__link:has(.postlist__img--none) { grid-template-columns: 1fr; }
.reach__panel--gold a:not(.cell), .reach__panel--paper a:not(.cell) { color: var(--ink); }

/* ---------- voicemail recorder ---------- */
.recorder { background: var(--ink); color: var(--paper); padding: clamp(24px, 3vw, 36px); display: grid; gap: 16px; }
.recorder__clock { margin: 0; font-family: 'Bebas Neue', sans-serif; font-size: var(--t-l); line-height: .9; color: var(--paper); font-variant-numeric: tabular-nums; }
.recorder__clock span { color: var(--light-soft); font-size: .5em; }
.recorder.is-recording .recorder__clock { color: var(--gold); }
.recorder__status { margin: 0; color: var(--paper); }
.recorder__status a { color: var(--gold); }
.recorder__buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.recorder__buttons .cell { min-width: 180px; border: 0; }
.recorder.is-recording #rec-stop { animation: rec-pulse 1.2s ease-in-out infinite; }
@keyframes rec-pulse { 50% { background: var(--red); } }
.recorder audio { width: 100%; max-width: 520px; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; color: var(--ink); font-size: var(--t-small); }
.consent input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--red); }
.consent a { color: var(--ink); }
.suggest-v2__send:disabled { opacity: .55; cursor: not-allowed; }
@media (prefers-reduced-motion: reduce) { .recorder.is-recording #rec-stop { animation: none; } }

/* ---------- privacy and cookies ---------- */
.public-site .policy-page { max-width: 880px; padding-top: clamp(48px, 6vw, 88px); }
.public-site .policy-card { background: var(--ground-2); border: 0; border-radius: 0; box-shadow: none; padding: clamp(24px, 3vw, 40px); margin: 0 0 8px; }
.public-site .policy-card h2 { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: var(--t-m); line-height: 1; color: var(--light); margin: 0 0 16px; }
.public-site .policy-card p { color: var(--light); }
.public-site .policy-card a { color: var(--gold); }
.public-site [hidden] { display: none !important; }
.tape-hero__title h1 { white-space: normal; font-size: clamp(56px, 9vw, 136px); line-height: .9; text-wrap: balance; }
@media (max-width: 640px) { .tape-hero__title h1 { font-size: 13vw; } }

/* ==========================================================================
   Round four: phone fixes for the episode list, and a simpler Tom v Rob panel.
   ========================================================================== */
@media (max-width: 1024px) {
  .jcard__cols { grid-template-columns: minmax(0, 1fr); }
  .preview { display: none; }
}
@media (max-width: 640px) {
  .jcard { padding-inline: 0; }
  .jcard__panel { padding: 24px 16px 28px; }
  .jcard__word { font-size: 56px; }
  .jcard__side { font-size: 30px; }
  .track summary { grid-template-columns: 2.8em minmax(0, 1fr) 18px; gap: 10px; padding: 14px 12px; }
  .track__title { font-size: 16px; }
  .pagination { flex-wrap: wrap; justify-content: flex-start; gap: 6px; }
  .pagination__pages { display: flex; gap: 6px; }
  .pagination__info { flex-basis: 100%; }
}

/* Tom versus Rob: figures as tiles, the same on every screen */
.ledger__figures { grid-column: 7 / span 6; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ledger__row {
  display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px;
  background: var(--red-deep); padding: clamp(18px, 2vw, 28px); font-size: inherit;
}
.ledger__row:last-child { grid-column: 1 / -1; }
.ledger__fig { display: block; margin: 0; font-family: 'Bebas Neue', sans-serif; font-size: clamp(56px, 6vw, 96px); line-height: .9; color: var(--paper); font-variant-numeric: tabular-nums; }
.ledger__whole, .ledger__dec { display: inline; grid-column: auto; grid-row: auto; text-align: left; }
.ledger__caption { grid-column: auto; grid-row: auto; padding: 0; max-width: none; font-size: 18px; font-weight: 600; line-height: 1.3; color: var(--paper); }
.verdict__who { font-size: 16px; }
.verdict__quote { font-size: clamp(30px, 3vw, 42px); }
@media (max-width: 1024px) {
  .ledger__figures { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .ledger { padding: 64px 16px; }
  .ledger .block-title { font-size: 44px; }
  .ledger__row { grid-template-columns: none; font-size: inherit; padding: 16px; }
  .ledger__whole { grid-column: auto; }
  .ledger__dec { grid-column: auto; }
  .ledger__caption { grid-column: auto; grid-row: auto; padding: 0; font-size: 16px; }
  .ledger__fig { font-size: 56px; }
  .verdict { transform: rotate(-.8deg); }
  .verdict__quote { font-size: 30px; }
}
.advent-v2 .track summary { grid-template-columns: 4.2em minmax(0, 1fr) 18px; }
.advent-v2 .track__no { white-space: nowrap; }
@media (max-width: 640px) { .advent-v2 .jcard--inner { padding-inline: 0; } }

/* Tom versus Rob, final: one score per row. Score box on the left, what it means on the right. */
.ledger__figures { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.ledger__row {
  display: grid; grid-template-columns: clamp(108px, 9vw, 150px) minmax(0, 1fr); gap: 0; align-items: stretch;
  background: var(--red-deep); padding: 0;
}
.ledger__row:last-child { grid-column: auto; }
.ledger__fig {
  grid-column: 1; grid-row: 1; display: flex; align-items: center; justify-content: center;
  background: var(--paper); color: var(--ink); padding: 14px 10px 10px;
  font-size: clamp(48px, 4.4vw, 68px); line-height: 1;
}
.ledger__caption {
  grid-column: 2; grid-row: 1; display: flex; align-items: center;
  padding: 14px 24px; font-size: 20px; font-weight: 600; line-height: 1.3; color: var(--paper);
}
@media (max-width: 640px) {
  .ledger__row { grid-template-columns: 96px minmax(0, 1fr); padding: 0; }
  .ledger__fig { font-size: 44px; padding: 12px 6px 8px; }
  .ledger__caption { font-size: 17px; padding: 12px 16px; }
}
