/* ============================================================
   You've Never Seen What? — shared styles
   Retro video-rental aesthetic. CSS variables drive the theme;
   the Tweaks panel rewrites them in :root via JS.
   ============================================================ */

:root {
  /* Palette: "Manila Tape" (default) */
  --paper:      #f0e7d2;
  --paper-2:    #e6dcc1;
  --ink:        #1f1610;
  --ink-soft:   #3a2c20;
  --accent:     #c8412c;  /* blockbuster red */
  --accent-2:   #d9a534;  /* sun-faded mustard */
  --accent-3:   #2f7d6a;  /* rental-counter teal */
  --hairline:   rgba(31, 22, 16, 0.18);

  /* Typography */
  --font-display: 'Yeseva One', 'Times New Roman', serif;
  --font-body:    'Newsreader', Georgia, serif;
  --font-mono:    'DM Mono', ui-monospace, 'SF Mono', monospace;

  /* Scale */
  --container: 1200px;
  --radius: 6px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
  min-height: 100vh;
}

/* Paper grain — a subtle SVG noise overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.12  0 0 0 0 0.09  0 0 0 0 0.06  0 0 0 0.18 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ============================================================
   Layout
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ============================================================
   Top nav
   ============================================================ */

.site-header {
  border-bottom: 1.5px solid var(--ink);
  padding: 18px 0;
  position: relative;
  z-index: 10;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.01em;
}

.brand-tagline {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-left: 1.5px solid var(--hairline);
  padding-left: 12px;
}

.site-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.site-nav a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 1.5px solid transparent;
  transition: border-color 120ms ease;
}

.site-nav a:hover,
.site-nav a.is-active { border-bottom-color: var(--accent); }

/* ============================================================
   Hero
   ============================================================ */

.hero {
  padding: 56px 0 64px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  height: 1.5px;
  width: 26px;
  background: var(--accent);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 6.2vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  margin: 0 0 22px;
  font-weight: 400;
  text-wrap: balance;
}

.hero h1 .underline-it {
  background: linear-gradient(transparent 64%, var(--accent-2) 64%, var(--accent-2) 92%, transparent 92%);
  padding: 0 0.05em;
}

.hero-lede {
  font-size: 21px;
  line-height: 1.45;
  color: var(--ink-soft);
  margin: 0 0 32px;
  max-width: 540px;
  text-wrap: pretty;
}

/* Listen-on buttons (sticker-style) */
.listen-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.listen-row .lead {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-right: 4px;
}

.btn-listen {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: var(--paper-2);
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 2px 2px 0 var(--ink);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.btn-listen:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--ink);
}

.btn-listen.is-primary {
  background: var(--accent);
  color: var(--paper);
}

.btn-listen svg { width: 14px; height: 14px; }

/* Hero artwork — tilted polaroid */
.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-art-frame {
  position: relative;
  background: var(--paper);
  padding: 14px 14px 50px;
  border: 1.5px solid var(--ink);
  box-shadow:
    10px 14px 0 -2px rgba(31, 22, 16, 0.08),
    0 22px 40px -16px rgba(31, 22, 16, 0.35);
  transform: rotate(-2.2deg);
  max-width: 460px;
  width: 100%;
}

.hero-art-frame img {
  width: 100%;
  height: auto;
  display: block;
  background: #d8c7a3;
}

.hero-art-frame .caption {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Sticker — reusable rotated label */
.sticker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  background: var(--accent-2);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 3px;
  transform: rotate(-3deg);
  box-shadow: 2px 2px 0 rgba(31, 22, 16, 0.18);
  white-space: nowrap;
}

.sticker.red { background: var(--accent); color: var(--paper); }
.sticker.teal { background: var(--accent-3); color: var(--paper); }
.sticker.paper { background: var(--paper); }

.sticker.tilt-right { transform: rotate(3deg); }

.hero-sticker {
  position: absolute;
  top: -14px;
  right: -8px;
  z-index: 2;
  font-size: 12px;
  padding: 8px 14px;
}

/* ============================================================
   Section headers
   ============================================================ */

.section {
  padding: 56px 0;
  border-top: 1.5px solid var(--ink);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.section-head .kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 8px;
}

.section-head .meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: right;
}

/* ============================================================
   Episode cards (feed)
   ============================================================ */

.ep-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1.5px solid var(--ink);
}

.ep-card {
  display: grid;
  grid-template-columns: 92px 1fr 200px;
  gap: 28px;
  align-items: start;
  padding: 28px 4px;
  border-bottom: 1.5px solid var(--hairline);
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: background 160ms ease;
}

.ep-card:hover {
  background: rgba(200, 65, 44, 0.04);
}

.ep-num {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 0.9;
  color: var(--ink);
  position: relative;
}

.ep-num .lbl {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 4px;
  font-weight: 400;
}

.ep-body { min-width: 0; }

.ep-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.1;
  margin: 0 0 8px;
  font-weight: 400;
  letter-spacing: -0.005em;
  color: var(--ink);
}

.ep-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.ep-meta .dot {
  width: 4px; height: 4px;
  background: var(--ink-soft);
  border-radius: 50%;
  display: inline-block;
}

.ep-desc {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.55;
  max-width: 62ch;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ep-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  justify-self: end;
}

.ep-arrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ep-arrow::after {
  content: '→';
  font-size: 18px;
  transition: transform 140ms ease;
}

.ep-card:hover .ep-arrow::after { transform: translateX(4px); }

/* "NEW RELEASE" sticker on the first card */
.ep-card .ribbon {
  position: absolute;
  top: 22px;
  right: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 10px;
  background: var(--accent);
  color: var(--paper);
  border: 1.5px solid var(--ink);
  transform: rotate(-2deg);
  box-shadow: 2px 2px 0 rgba(31, 22, 16, 0.2);
}

/* ============================================================
   "About" / Pull-quote section
   ============================================================ */

.about-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-band .pull {
  font-family: var(--font-display);
  font-size: clamp(28px, 2.8vw, 38px);
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}

.about-band .pull .accent { color: var(--accent); }

.about-band .body p {
  margin: 0 0 1em;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.about-band .sig {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 18px;
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  border-top: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  padding: 48px 0 32px;
  margin-top: 56px;
}

.site-footer .container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}

.site-footer h3 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin: 0 0 14px;
  font-weight: 500;
}

.site-footer a {
  color: var(--paper);
  text-decoration: none;
  display: block;
  padding: 4px 0;
  font-size: 15px;
}
.site-footer a:hover { color: var(--accent-2); }

.site-footer .lockup {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.05;
  color: var(--paper);
  margin: 0 0 14px;
}

.site-footer .blurb {
  font-size: 15px;
  color: rgba(240, 231, 210, 0.72);
  max-width: 38ch;
}

.site-footer .colophon {
  border-top: 1px solid rgba(240, 231, 210, 0.15);
  margin-top: 36px;
  padding-top: 20px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(240, 231, 210, 0.55);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================================
   Loading / empty states
   ============================================================ */

.loading {
  padding: 60px 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.loading::after {
  content: '';
  display: inline-block;
  margin-left: 6px;
  animation: dots 1.6s steps(4, end) infinite;
}

@keyframes dots {
  0%   { content: ''; }
  25%  { content: '.'; }
  50%  { content: '..'; }
  75%  { content: '...'; }
  100% { content: ''; }
}

.error-box {
  margin: 32px 0;
  padding: 18px 22px;
  border: 1.5px solid var(--accent);
  background: rgba(200, 65, 44, 0.06);
  font-size: 15px;
  color: var(--ink);
}

.error-box strong { color: var(--accent); }

/* ============================================================
   Episode detail page
   ============================================================ */

.ep-detail-hero {
  padding: 48px 0 32px;
  border-bottom: 1.5px solid var(--ink);
}

.ep-detail-back {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
}
.ep-detail-back:hover { color: var(--accent); }
.ep-detail-back::before { content: '←'; font-size: 16px; }

.ep-detail-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}

.ep-detail-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.ep-detail-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 5.2vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  margin: 0 0 18px;
  font-weight: 400;
  text-wrap: balance;
}

.ep-detail-sub {
  font-size: 19px;
  color: var(--ink-soft);
  margin: 0 0 28px;
  max-width: 56ch;
}

.ep-detail-stats {
  display: flex;
  gap: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-top: 1.5px solid var(--hairline);
  border-bottom: 1.5px solid var(--hairline);
  padding: 14px 0;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.ep-detail-stats .stat .v {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink);
  letter-spacing: 0;
  text-transform: none;
  margin-top: 2px;
}

.ep-detail-art {
  position: relative;
  background: var(--paper);
  padding: 12px 12px 44px;
  border: 1.5px solid var(--ink);
  box-shadow:
    8px 12px 0 -2px rgba(31, 22, 16, 0.08),
    0 22px 40px -16px rgba(31, 22, 16, 0.35);
  transform: rotate(1.5deg);
}
.ep-detail-art img { width: 100%; display: block; }
.ep-detail-art .caption {
  position: absolute;
  bottom: 14px; left: 0; right: 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Custom audio player */
.player {
  margin: 24px 0 0;
  padding: 18px 20px;
  background: var(--ink);
  color: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  box-shadow: 4px 4px 0 rgba(31, 22, 16, 0.2);
}

.player-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--accent);
  border: 1.5px solid var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--paper);
  font-size: 18px;
  padding: 0;
  flex-shrink: 0;
}
.player-btn:hover { background: var(--accent-2); color: var(--ink); }

.player-track { min-width: 0; }
.player-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240, 231, 210, 0.6);
  margin-bottom: 4px;
}
.player-title {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.2;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-bar {
  height: 5px;
  background: rgba(240, 231, 210, 0.18);
  border-radius: 999px;
  position: relative;
  cursor: pointer;
}
.player-bar .fill {
  position: absolute; inset: 0;
  background: var(--accent-2);
  border-radius: 999px;
  width: 0%;
}
.player-bar .knob {
  position: absolute;
  top: 50%;
  width: 12px; height: 12px;
  background: var(--paper);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  left: 0%;
}

.player-time {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(240, 231, 210, 0.7);
  white-space: nowrap;
}

/* Show-notes body */
.ep-notes {
  padding: 48px 0;
}

.ep-notes-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 56px;
}

.ep-notes-body {
  font-size: 18px;
  line-height: 1.65;
  max-width: 64ch;
}
.ep-notes-body h2 {
  font-family: var(--font-display);
  font-size: 28px;
  margin: 32px 0 12px;
  font-weight: 400;
}
.ep-notes-body p { margin: 0 0 1.1em; }
.ep-notes-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.ep-notes-side {
  position: sticky;
  top: 24px;
}

.side-card {
  background: var(--paper-2);
  border: 1.5px solid var(--ink);
  padding: 20px;
  margin-bottom: 18px;
  box-shadow: 3px 3px 0 rgba(31, 22, 16, 0.18);
}
.side-card h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 12px;
  color: var(--accent);
}
.side-card ul { list-style: none; margin: 0; padding: 0; }
.side-card li {
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--hairline);
}
.side-card li:last-child { border-bottom: none; }
.side-card .btn-listen { width: 100%; justify-content: center; margin-bottom: 8px; }

/* ============================================================
   Guests directory
   ============================================================ */

.guests-hero {
  padding: 56px 0 32px;
}

.guests-grid {
  padding: 12px 0 56px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.guest-card {
  background: var(--paper);
  border: 1.5px solid var(--ink);
  padding: 22px 22px 18px;
  color: var(--ink);
  position: relative;
  box-shadow: 4px 4px 0 rgba(31, 22, 16, 0.18);
  transition: transform 160ms ease, box-shadow 160ms ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 240px;
}

.guest-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(31, 22, 16, 0.2);
}

/* invisible link that makes the whole card clickable */
.guest-card .g-stretch {
  position: absolute;
  inset: 0;
  z-index: 1;
  text-indent: -9999px;
  overflow: hidden;
}

/* External link sits above the stretched link so it's separately clickable */
.guest-card .g-link {
  position: relative;
  z-index: 2;
  align-self: flex-start;
}

.guest-card .ep-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.guest-card .g-name {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.05;
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.005em;
}

.guest-card .g-blurb {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink-soft);
  margin: 0;
  text-wrap: pretty;
}

.guest-card .g-link {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  padding: 2px 0;
  border-bottom: 1.5px solid transparent;
  transition: border-color 120ms ease;
}
.guest-card .g-link:hover { border-bottom-color: var(--accent); }
.guest-card .g-link::after { content: '↗'; font-size: 12px; }

.guest-card .g-pick {
  font-family: var(--font-body);
  font-style: italic;
  color: var(--ink-soft);
  margin: auto 0 0;
  font-size: 15px;
  line-height: 1.4;
}

.guest-card .g-pick::before {
  content: 'Picked: ';
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: block;
  margin-bottom: 4px;
}

.guest-card .g-date {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-top: 1px dashed var(--hairline);
  padding-top: 10px;
  margin-top: 4px;
}

/* alternate cards rotate subtly for that pinboard feel */
.guest-card:nth-child(3n+1) { transform: rotate(-0.6deg); }
.guest-card:nth-child(3n+2) { transform: rotate(0.4deg); }
.guest-card:nth-child(3n+1):hover { transform: rotate(-0.6deg) translate(-2px, -2px); }
.guest-card:nth-child(3n+2):hover { transform: rotate(0.4deg) translate(-2px, -2px); }

/* ============================================================
   Movies page — VHS-rental case grid
   ============================================================ */

.movies-grid {
  padding: 12px 0 56px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 32px 22px;
}

.vhs-case {
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
  transition: transform 200ms ease;
}

.vhs-case:hover { transform: translateY(-4px); }

.vhs-cover {
  aspect-ratio: 3 / 4.6; /* tall like a real VHS sleeve */
  background: var(--paper);
  border: 1.5px solid var(--ink);
  box-shadow: 5px 5px 0 rgba(31, 22, 16, 0.22), 0 14px 30px -14px rgba(0,0,0,0.35);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding-right: 14px; /* leave room for spine */
}

/* TOP — poster area (or coloured fallback) */
.vhs-top {
  position: relative;
  flex: 0 0 58%;
  background: var(--vhs-tint, var(--accent));
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  border-bottom: 3px solid var(--ink);
  display: flex;
  align-items: flex-end;
  padding: 14px;
  overflow: hidden;
}

.vhs-cover.has-poster .vhs-top {
  background-color: var(--ink);
  background-image: var(--poster);
}

/* gradient overlay on top of poster so any text reads */
.vhs-cover.has-poster .vhs-top::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 50%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}

/* Genre badge shown over the poster (top-left corner) */
.vhs-top .vhs-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 8px;
  background: var(--paper);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  z-index: 2;
  max-width: calc(100% - 24px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* For the no-poster fallback, show big-letter genre callout */
.vhs-cover:not(.has-poster) .vhs-top {
  align-items: stretch;
  padding: 16px 14px;
}
.vhs-cover:not(.has-poster) .vhs-top .vhs-fallback {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  font-family: var(--font-display);
  color: var(--paper);
  font-size: 30px;
  line-height: 0.95;
  letter-spacing: -0.01em;
  font-weight: 400;
  text-wrap: balance;
  margin: 0;
}

/* BOTTOM — paper card */
.vhs-bottom {
  flex: 1 1 auto;
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--paper);
  position: relative;
}

.vhs-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}

.vhs-title {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 0.98;
  letter-spacing: -0.01em;
  font-weight: 400;
  margin: 2px 0 4px;
  color: var(--ink);
  text-wrap: balance;
  hyphens: auto;
}

.vhs-picked {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.3;
}
.vhs-picked b {
  font-style: italic;
  color: var(--ink);
  font-weight: 500;
}

.vhs-date {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: auto 0 0;
  padding-top: 8px;
  border-top: 1px dashed var(--hairline);
}

/* "New Rental" sticker */
.vhs-sticker {
  position: absolute;
  top: -10px;
  right: 4px;
  z-index: 5;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 10px;
  background: var(--accent-2);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  transform: rotate(-4deg);
  box-shadow: 2px 2px 0 rgba(31, 22, 16, 0.22);
}

/* "Spine" down the right edge — sits OVER the cover */
.vhs-spine {
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: 14px;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
}
.vhs-spine .label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
}

/* Distribute palette tints across fallback (no-poster) cards */
.vhs-case:nth-child(5n+1) { --vhs-tint: #c8412c; }
.vhs-case:nth-child(5n+2) { --vhs-tint: #2f7d6a; }
.vhs-case:nth-child(5n+3) { --vhs-tint: #1f1610; }
.vhs-case:nth-child(5n+4) { --vhs-tint: #6b3a8a; }
.vhs-case:nth-child(5n+5) { --vhs-tint: #c46d1f; }

/* Slight rotation alternation for that pinboard feel */
.vhs-case:nth-child(odd)  { transform: rotate(-0.4deg); }
.vhs-case:nth-child(even) { transform: rotate(0.3deg); }
.vhs-case:nth-child(odd):hover  { transform: rotate(-0.4deg) translateY(-4px); }
.vhs-case:nth-child(even):hover { transform: rotate(0.3deg) translateY(-4px); }

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 900px) {
  body { font-size: 16.5px; }
  .container { padding: 0 20px; }
  .hero { padding: 36px 0 44px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { order: -1; }
  .ep-card { grid-template-columns: 64px 1fr; gap: 18px; }
  .ep-num { font-size: 44px; }
  .ep-cta { grid-column: 1 / -1; align-items: flex-start; }
  .about-band { grid-template-columns: 1fr; gap: 24px; }
  .ep-detail-grid { grid-template-columns: 1fr; gap: 32px; }
  .ep-notes-grid { grid-template-columns: 1fr; gap: 32px; }
  .ep-notes-side { position: static; }
  .site-footer .container { grid-template-columns: 1fr; gap: 32px; }
  .site-nav { gap: 16px; }
  .brand-tagline { display: none; }
}
