/* Self-hosted fonts from the brand pack (Latin subset, WOFF2, SIL OFL). */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 800; font-display: swap; src: url(/assets/fonts/Montserrat-ExtraBold-latin.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/Inter-Regular-latin.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/Inter-Medium-latin.woff2) format('woff2'); }

/* Player page — Visual Identity V1.
   Near Black #101010 · Warm Cream #F8F5EE · Soft Grey #D9D5CC · Tangerine #F86A00
   Display: Montserrat ExtraBold. Body: Inter. Mobile first. */

:root {
  --black: #101010;
  --cream: #f8f5ee;
  --grey: #d9d5cc;
  --tangerine: #f86a00;
  --muted: #5f5b54;      /* on cream, 6:1 */
  --muted-dark: #b9b4aa; /* on black */
  --display: 'Montserrat', 'Arial Black', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--black);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
}
h1, h2, p, ol { margin: 0; }
ol { padding: 0; list-style: none; }
a { color: inherit; }
svg { display: block; fill: currentColor; }
.wrap { max-width: 44rem; margin: 0 auto; padding: 0 max(var(--gutter), env(safe-area-inset-left)); }
.muted { color: var(--muted); }

:focus-visible { outline: 3px solid var(--tangerine); outline-offset: 3px; }

/* ── Top bar ── */
.top { background: var(--black); color: var(--cream); }
.top-bar { display: flex; align-items: center; height: 52px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; --sun: var(--tangerine); }
.mark { width: 30px; height: 21px; color: var(--cream); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong { font-family: var(--display); font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: -0.01em; }
.logo-text span { margin-top: 3px; font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.22em; color: var(--muted-dark); }

/* ── Hero player ── */
.hero { background: var(--black); color: var(--cream); padding: 20px 0 28px; }
.kicker { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.16em; color: var(--tangerine); }
.hero h1 {
  margin-top: 8px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.5rem, 6.4vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.meta { margin-top: 8px; color: var(--muted-dark); font-weight: 500; }

.player { display: none; align-items: center; gap: 18px; margin-top: 22px; }
.js .player { display: flex; }

.play {
  flex: none;
  width: 76px; height: 76px;           /* ≥64px */
  border: 0; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--tangerine);
  color: var(--black);                  /* 6.4:1 on tangerine */
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .12s;
}
.play:active { transform: scale(.95); }
.play svg { width: 34px; height: 34px; }
.play .ic-play { margin-left: 4px; }    /* optical centring of the triangle */
.play .ic-pause { display: none; }
.play.is-playing .ic-play { display: none; }
.play.is-playing .ic-pause { display: block; }
.play.is-loading { opacity: .7; }

.track { flex: 1; min-width: 0; }
.times { display: flex; justify-content: space-between; margin-top: 2px; font-size: 14px; font-variant-numeric: tabular-nums; color: var(--muted-dark); }

/* Progress bar: a range input so it is keyboard and screen-reader accessible */
.seek {
  --p: 0%;
  display: block; width: 100%; height: 32px; margin: 0;
  background: transparent; cursor: pointer;
  -webkit-appearance: none; appearance: none;
  touch-action: pan-y;
}
.seek::-webkit-slider-runnable-track {
  height: 8px; border-radius: 4px;
  background: linear-gradient(to right, var(--tangerine) var(--p), #3a3733 var(--p));
}
.seek::-moz-range-track { height: 8px; border-radius: 4px; background: #3a3733; }
.seek::-moz-range-progress { height: 8px; border-radius: 4px; background: var(--tangerine); }
.seek::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -7px; border-radius: 50%; border: 0; background: var(--cream); }
.seek::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; border: 0; background: var(--cream); }

.status { margin-top: 10px; font-size: 14px; color: var(--muted-dark); }
.status:empty { display: none; }
.hero noscript audio, .hero audio { width: 100%; margin-top: 18px; }

.notes { margin-top: 18px; border-top: 1px solid #2f2c28; }
.notes summary { padding: 14px 0; font-weight: 500; cursor: pointer; color: var(--cream); }
.notes-body { padding-bottom: 6px; color: var(--muted-dark); }
.notes-body p + p { margin-top: 10px; }

.notice { background: var(--tangerine); color: var(--black); padding: 10px 0; font-weight: 500; }

/* ── Follow ── */
.lower { padding-bottom: 8px; }
.follow, .archive { padding-top: 32px; }
h2 { font-family: var(--display); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.01em; }
.follow-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.follow-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 10px 8px; font-size: 15px;
  background: var(--black); color: var(--cream);
  border-radius: 10px;
  font-weight: 500; text-decoration: none; text-align: center;
  -webkit-tap-highlight-color: transparent;
}
.follow-btn svg { width: 20px; height: 20px; flex: none; }
.follow-btn:hover { background: #2a2724; }
.follow-btn:active { background: var(--tangerine); color: var(--black); }

/* ── Archive ── */
.ep-list { margin-top: 6px; }
.ep-list li { border-bottom: 1px solid var(--grey); }
.ep-row { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 0; text-decoration: none; }
.mini-play {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  border: 2px solid var(--tangerine); color: var(--black);
}
.mini-play svg { width: 18px; height: 18px; margin-left: 2px; }
.ep-row:hover .mini-play, .ep-row:active .mini-play { background: var(--tangerine); }
.ep-row-text { display: flex; flex-direction: column; min-width: 0; }
.ep-row-title { font-weight: 500; line-height: 1.3; }
.ep-row-text time { font-size: 14px; color: var(--muted); }

/* ── Footer ── */
.foot { margin-top: 40px; padding: 28px 0 max(36px, env(safe-area-inset-bottom)); border-top: 1px solid var(--grey); font-size: 14px; color: var(--muted); }
.foot p + p { margin-top: 8px; }
.foot a { text-underline-offset: 2px; }

@media (min-width: 640px) {
  :root { --gutter: 28px; }
  .hero { padding: 36px 0 40px; }
  .follow-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .play { transition: none; } }
