/* Papa Dudut | Daytime Edition of the 97.1 Studio
   Palette: 85% warm parchment and cream paper surfaces, 12% walnut-ink type,
   3% on-air crimson and broadcast gold. Studio hardware (the FM dial, the VU meter,
   the video player) stays dark, like real equipment in a sunlit room. */

/* ------------------------------------------------------------------ Fonts */

@property --needle {
  syntax: '<percentage>';
  inherits: true;
  initial-value: 45%;
}

/* ------------------------------------------------------------------ Tokens */
:root {
  --bg: #f7f3ec;
  --surface: #fffdf8;
  --surface-2: #f1eadf;
  --surface-hover: #ffffff;
  --hairline: rgba(52, 38, 26, 0.11);
  --hairline-strong: rgba(52, 38, 26, 0.2);

  --text: #1d1712;
  --text-2: #554c44;
  --text-3: #73685e;

  /* Hardware palette, used inside the dark studio devices */
  --device: #14110e;
  --device-text: #f5f2eb;
  --device-text-2: #b8afa6;

  --crimson: #e11d48;
  --crimson-hover: #be123c;
  --crimson-line: rgba(225, 29, 72, 0.35);
  --amber: #b45309;
  --gold: #f59e0b;
  --youtube: #ff0033;

  --font-display: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --font-ui: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --radius-lg: 20px;
  --radius: 16px;
  --radius-sm: 12px;
  --container: 1280px;
  --gutter: 16px;
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: light;
}

@media (min-width: 768px) {
  :root {
    --gutter: 32px;
  }
}

/* ------------------------------------------------------------------ Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-2);
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Film grain over the whole studio; data URI so it ships with the stylesheet */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--text);
  font-weight: 400;
  text-wrap: balance;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

[hidden] {
  display: none !important;
}

::selection {
  background: rgba(225, 29, 72, 0.35);
  color: var(--text);
}

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

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

/* ------------------------------------------------------------------ Type */
.display {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 1.5rem + 3.6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.012em;
}

.display--page {
  font-size: clamp(2.4rem, 1.6rem + 2.6vw, 3.9rem);
}

.lede {
  font-size: clamp(1.02rem, 0.96rem + 0.3vw, 1.16rem);
  line-height: 1.7;
  color: var(--text-2);
  max-width: 60ch;
}

.lede em {
  color: var(--text);
  font-style: italic;
}

.kicker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5em;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  line-height: 1.4;
}

.kicker .num {
  color: var(--text);
  letter-spacing: 0.04em;
}

.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.92em;
  letter-spacing: -0.01em;
}

.sep {
  color: var(--text-3);
  opacity: 0.8;
}

.section {
  padding-block: clamp(64px, 7vw, 112px);
  border-top: 1px solid var(--hairline);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 32px;
  margin-bottom: clamp(28px, 3vw, 40px);
}

.section-head > div {
  max-width: 760px;
}

.section-head--stack {
  display: block;
  max-width: 780px;
}

.section-title {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.4rem + 2vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.section-lede {
  margin-top: 14px;
  max-width: 62ch;
  color: var(--text-2);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55em;
  font-size: 0.84rem;
  color: var(--text-3);
}

.meta .num {
  color: var(--text-2);
}

/* ------------------------------------------------------------------ Icons */
.icon {
  display: inline-block;
  flex: none;
  width: 1.1em;
  height: 1.1em;
  background-color: currentColor;
  -webkit-mask: var(--i) center / contain no-repeat;
  mask: var(--i) center / contain no-repeat;
}

.icon-sm {
  width: 0.85em;
  height: 0.85em;
}

.icon-yt {
  color: var(--youtube);
}

/* ------------------------------------------------------------------ Buttons and links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.72em 1.2em;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease),
    transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--crimson);
  color: #fff;
  box-shadow: 0 12px 32px -14px rgba(225, 29, 72, 0.8);
}

.btn--primary:hover {
  background: var(--crimson-hover);
}

.btn--ghost {
  border-color: var(--hairline-strong);
  background: rgba(255, 255, 255, 0.55);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--crimson-line);
  background: var(--surface-2);
}

.btn--quiet {
  border-color: var(--hairline);
  background: var(--surface-2);
  color: var(--text);
}

.btn--quiet:hover {
  border-color: var(--crimson-line);
}

.btn--sm {
  padding: 0.55em 0.95em;
  font-size: 0.84rem;
}

.btn--lg {
  padding: 0.95em 1.5em;
  font-size: 1rem;
}

.btn--sm .icon {
  width: 0.95em;
  height: 0.95em;
}

.link-more,
.source-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
  transition: color 0.2s var(--ease);
}

.link-more:hover {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--crimson-line);
  text-underline-offset: 0.25em;
}

.link-more {
  color: var(--text-2);
}

.source-link {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-3);
}

.source-link:hover {
  color: var(--text);
}

/* ------------------------------------------------------------------ Media with skeleton shimmer */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #ebe3d6;
  isolation: isolate;
}

.media::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(100deg, transparent 25%, rgba(255, 255, 255, 0.65) 45%, transparent 65%) #ebe3d6;
  background-size: 220% 100%;
  animation: shimmer 1.4s linear infinite;
  transition: opacity 0.5s var(--ease);
}

.media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.55s var(--ease), transform 0.7s var(--ease);
}

.js .media img {
  opacity: 0;
}

.js .media.is-loaded img {
  opacity: 1;
}

.media.is-loaded::before {
  opacity: 0;
  animation: none;
}

@keyframes shimmer {
  from {
    background-position: 120% 0;
  }
  to {
    background-position: -120% 0;
  }
}

.media--16x9 {
  aspect-ratio: 16 / 9;
}

.media--4x5 {
  aspect-ratio: 4 / 5;
}

.media--1x1 {
  aspect-ratio: 1 / 1;
}

.play-badge {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(245, 242, 235, 0.22);
  background: rgba(10, 9, 8, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background-color 0.3s var(--ease);
}

.play-badge .icon {
  width: 20px;
  height: 20px;
  margin-left: 3px;
}

a.media:hover .play-badge,
a.media:focus-visible .play-badge,
.feature-media .play-badge,
.bento-lead-media .play-badge {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

a.media:hover .play-badge {
  background: var(--crimson);
  border-color: var(--crimson);
}

a.media:hover img {
  transform: scale(1.035);
}

.pill--duration {
  position: absolute;
  z-index: 2;
  right: 10px;
  bottom: 10px;
  padding: 0.2em 0.5em;
  border-radius: 6px;
  background: rgba(20, 17, 14, 0.82);
  color: var(--device-text);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.4;
}

/* ------------------------------------------------------------------ Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  border-bottom: 1px solid var(--hairline);
  background: rgba(255, 252, 246, 0.8);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
}

.site-header--compact {
  --header-h: 64px;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(225, 29, 72, 0.32);
  background: rgba(225, 29, 72, 0.1);
  color: var(--crimson);
}

.brand-mark .icon {
  width: 18px;
  height: 18px;
}

.brand-word {
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1;
  white-space: nowrap;
}

.brand-freq {
  padding: 0.1em 0.4em;
  border: 1px solid rgba(217, 119, 6, 0.4);
  border-radius: 5px;
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.3;
}

.site-nav {
  margin-left: auto;
}

.site-nav ul {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: block;
  padding: 0.5em 0.95em;
  border-radius: 999px;
  color: var(--text-2);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav a[aria-current='page'] {
  color: var(--text);
  background: rgba(52, 38, 26, 0.07);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-toggle {
  display: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--hairline-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

/* Both icons stay rendered (so their masks are fetched up front) and swap by opacity */
.menu-toggle .icon {
  grid-area: 1 / 1;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.menu-toggle .icon-close {
  opacity: 0;
  transform: rotate(-45deg);
}

@media (max-width: 719px) {
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 0;
  }

  .site-nav ul {
    display: none;
    flex-direction: column;
    gap: 2px;
    padding: 8px var(--gutter) 16px;
    border-bottom: 1px solid var(--hairline);
    background: var(--surface-2);
  }

  .site-nav a {
    padding: 0.8em 1em;
    font-size: 1rem;
  }

  .site-header.is-open .site-nav ul {
    display: flex;
  }

  .header-actions {
    margin-left: auto;
  }

  .menu-toggle {
    display: grid;
  }

  .site-header.is-open .menu-toggle .icon-open {
    opacity: 0;
    transform: rotate(45deg);
  }

  .site-header.is-open .menu-toggle .icon-close {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 479px) {
  .brand-freq {
    display: none;
  }
}

/* ------------------------------------------------------------------ Home hero */
.hero {
  position: relative;
  padding: clamp(40px, 6vw, 88px) 0 clamp(48px, 5vw, 72px);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 120%;
  pointer-events: none;
  background: radial-gradient(40% 50% at 78% 30%, rgba(225, 29, 72, 0.14), transparent 70%),
    radial-gradient(35% 45% at 12% 10%, rgba(217, 119, 6, 0.12), transparent 70%);
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 7fr 5fr;
    gap: 56px;
  }
}

.onair-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  background: rgba(225, 29, 72, 0.06);
  color: var(--text);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.onair-lamp {
  width: 18px;
  height: 18px;
  animation: onair 2.2s ease-in-out infinite;
}

@keyframes onair {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(0.84);
  }
}

.hero h1 {
  margin: 22px 0 20px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.feature-card {
  position: relative;
  padding: 12px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 30px 70px -36px rgba(73, 48, 25, 0.35);
  transition: border-color 0.3s var(--ease);
}

.feature-card:hover {
  border-color: var(--crimson-line);
}

.feature-body {
  display: grid;
  gap: 10px;
  padding: 18px 8px 8px;
}

.feature-title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 1.3rem + 0.8vw, 1.95rem);
  line-height: 1.1;
}

.feature-title a,
.card-title a,
.bento-lead-title a,
.bento-card-title a,
.rec-title a,
.hall-title a {
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.feature-title a:hover,
.card-title a:hover,
.bento-lead-title a:hover,
.bento-card-title a:hover,
.rec-title a:hover,
.hall-title a:hover {
  text-decoration: underline;
  text-decoration-color: var(--crimson-line);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.impact-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: clamp(48px, 5vw, 72px) 0 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.impact-strip > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 20px;
  border-left: 1px solid var(--hairline);
}

.impact-strip > div:nth-child(odd) {
  border-left: 0;
  padding-left: 0;
}

.impact-strip > div:nth-child(n + 3) {
  border-top: 1px solid var(--hairline);
}

@media (min-width: 768px) {
  .impact-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .impact-strip > div:nth-child(odd) {
    border-left: 1px solid var(--hairline);
    padding-left: 24px;
  }

  .impact-strip > div:first-child {
    border-left: 0;
    padding-left: 0;
  }

  .impact-strip > div:nth-child(n + 3) {
    border-top: 0;
  }
}

.impact-strip dt {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}

.impact-strip dd {
  order: -1;
  margin: 0;
  color: var(--text);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

/* ------------------------------------------------------------------ Bento */
.bento {
  display: grid;
  gap: 20px;
}

@media (min-width: 1024px) {
  .bento {
    grid-template-columns: 7fr 5fr;
  }
}

.bento-lead,
.bento-card,
.video-card,
.person-card,
.series-card {
  border: 1px solid var(--hairline);
  background: var(--surface);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.bento-lead:hover,
.bento-card:hover,
.video-card:hover,
.person-card:hover,
.series-card:hover {
  border-color: var(--crimson-line);
  background: var(--surface-hover);
}

.bento-lead {
  display: flex;
  flex-direction: column;
  padding: 12px;
  border-radius: var(--radius-lg);
}

.bento-lead-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 22px 10px 10px;
}

.bento-lead-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.3rem + 1.6vw, 2.75rem);
  line-height: 1.04;
}

.bento-note {
  max-width: 56ch;
  color: var(--text-2);
}

.bento-lead .meta {
  margin-top: auto;
}

.bento-side {
  display: grid;
  gap: 20px;
}

@media (min-width: 560px) {
  .bento-side {
    grid-template-columns: 1fr 1fr;
  }
}

.bento-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 10px 14px;
  border-radius: var(--radius);
}

.bento-card .kicker {
  margin-top: 8px;
  padding-inline: 4px;
}

.bento-card-title {
  padding-inline: 4px;
  font-family: var(--font-display);
  font-size: 1.28rem;
  line-height: 1.12;
}

.bento-card .meta {
  margin-top: auto;
  padding-inline: 4px;
}

/* ------------------------------------------------------------------ Tuner */
.tuner-section {
  background: radial-gradient(60% 50% at 70% 40%, rgba(217, 119, 6, 0.06), transparent 70%);
}

.tuner {
  --needle: 45.68%;
  --eq-speed: 1.6;
  --eq-amp: 0.55;
  display: grid;
  gap: 20px;
  transition: --needle 0.8s var(--ease);
}

@media (min-width: 1024px) {
  .tuner {
    grid-template-columns: 5fr 7fr;
    align-items: start;
  }
}

.tuner-console,
.tuner-readout {
  padding: clamp(18px, 2vw, 26px);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.tuner-console {
  display: grid;
  gap: 22px;
}

.dial {
  position: relative;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.dial:active {
  cursor: grabbing;
}

.dial-window {
  position: relative;
  height: 112px;
  overflow: hidden;
  border: 1px solid var(--hairline-strong);
  border-radius: 14px;
  --text: var(--device-text);
  --text-2: var(--device-text-2);
  background: linear-gradient(180deg, #1d1814, #0e0c0a);
  box-shadow: inset 0 0 50px rgba(217, 119, 6, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.dial-window::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(28% 90% at var(--needle) 45%, rgba(245, 158, 11, 0.3), transparent 72%);
}

.dial-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
  opacity: 0;
}

.dial:has(.dial-input:focus-visible) .dial-window {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.dial-scale {
  position: absolute;
  left: 0;
  right: 0;
  top: 14px;
  width: 100%;
  height: 40px;
}

.tick {
  stroke: rgba(245, 242, 235, 0.32);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}

.tick--major {
  stroke: rgba(245, 242, 235, 0.8);
  stroke-width: 1.8;
}

.dial-labels {
  position: absolute;
  inset: 0;
}

.tick-label {
  position: absolute;
  top: 62px;
  transform: translateX(-50%);
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
}

.station-dot {
  position: absolute;
  bottom: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: var(--amber);
  box-shadow: 0 0 10px rgba(217, 119, 6, 0.8);
}

.dial-needle {
  position: absolute;
  z-index: 2;
  top: 8px;
  bottom: 8px;
  left: var(--needle);
  width: 2px;
  margin-left: -1px;
  border-radius: 2px;
  background: var(--crimson);
  box-shadow: 0 0 14px rgba(225, 29, 72, 0.85);
}

.dial-needle::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--crimson);
}

.tick-label:first-child {
  transform: translateX(-12%);
}

.tick-label:nth-child(11) {
  transform: translateX(-88%);
}

@media (max-width: 599px) {
  .tick-label:nth-child(even) {
    display: none;
  }
}

.stations {
  display: grid;
  gap: 8px;
}

.station {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  column-gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-2);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.station:hover {
  border-color: var(--crimson-line);
  color: var(--text);
}

.station[aria-pressed='true'] {
  border-color: rgba(225, 29, 72, 0.45);
  background: rgba(225, 29, 72, 0.07);
  color: var(--text);
}

.station-freq {
  grid-row: span 2;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}

.station[aria-pressed='true'] .station-freq {
  color: var(--amber);
}

.station-name {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.3;
}

.station-theme {
  font-size: 0.78rem;
  color: var(--text-3);
  line-height: 1.3;
}

.tuner-readout {
  display: grid;
  gap: 20px;
}

.readout-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px 20px;
}

.readout-freq {
  display: flex;
  align-items: baseline;
  gap: 0.25em;
  color: var(--text);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(2.3rem, 1.9rem + 1.4vw, 3.3rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.readout-freq small {
  color: var(--amber);
  font-size: 0.3em;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.readout-title h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.25rem + 0.8vw, 1.9rem);
  line-height: 1.05;
}

.readout-title p {
  margin-top: 4px;
  font-size: 0.84rem;
  color: var(--text-3);
}

.equalizer {
  grid-column: 1 / -1;
  width: 100%;
  height: 48px;
}

@media (min-width: 640px) {
  .readout-head {
    grid-template-columns: auto 1fr 200px;
  }

  .equalizer {
    grid-column: auto;
  }
}

.equalizer rect {
  fill: var(--crimson);
  opacity: 0.85;
  transform-box: fill-box;
  transform-origin: 50% 100%;
  transform: scaleY(calc(0.2 + var(--h) * var(--eq-amp) * 0.8));
  animation: eq calc(0.9s / var(--eq-speed)) ease-in-out var(--d) infinite alternate;
}

.equalizer rect:nth-child(3n) {
  fill: var(--amber);
  opacity: 0.7;
}

@keyframes eq {
  from {
    transform: scaleY(calc(0.08 + var(--h) * 0.12));
  }
  to {
    transform: scaleY(calc(0.2 + var(--h) * var(--eq-amp) * 0.8));
  }
}

.tuner.is-tuning .equalizer rect {
  animation-duration: 0.14s;
}

.station-line {
  margin: 0;
  padding: 18px 20px;
  border-left: 2px solid var(--amber);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(217, 119, 6, 0.05);
}

.line-en {
  color: var(--text);
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 1.15rem + 0.5vw, 1.55rem);
  line-height: 1.25;
}

.line-tl {
  margin-top: 8px;
  color: var(--text-2);
  font-size: 0.95rem;
}

.station-line figcaption {
  margin-top: 12px;
  color: var(--text-3);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tuner-readout > * {
  transition: opacity 0.3s var(--ease);
}

.tuner.is-tuning .station-line,
.tuner.is-tuning .rec-list {
  opacity: 0.25;
}

.rec-list {
  display: grid;
  gap: 12px;
}

@media (min-width: 720px) {
  .rec-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.rec-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 8px 8px 12px;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: var(--surface-2);
  transition: border-color 0.25s var(--ease);
}

.rec-card:hover {
  border-color: var(--crimson-line);
}

.rec-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding-inline: 4px;
}

.rec-title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.32;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rec-body .meta {
  font-size: 0.76rem;
  gap: 0.4em;
}

.rec-body .btn {
  align-self: flex-start;
  margin-top: auto;
}

.tuner-actions {
  display: flex;
  justify-content: flex-end;
}

/* ------------------------------------------------------------------ Merch */

.story-dialog {
  width: min(940px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
}

.story-dialog::backdrop {
  background: rgba(45, 31, 20, 0.42);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.story-dialog-inner {
  position: relative;
  display: grid;
  overflow: hidden;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

@media (min-width: 720px) {
  .story-dialog-inner {
    grid-template-columns: 1fr 1fr;
  }
}

.story-dialog-media {
  border-radius: 0;
}

.story-dialog-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(22px, 3vw, 36px);
}

.story-dialog-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.5rem);
  line-height: 1.05;
}

.story-dialog-note {
  padding-top: 12px;
  border-top: 1px solid var(--hairline);
  font-size: 0.84rem;
  color: var(--text-3);
}

.story-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
}

.dialog-x {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--hairline-strong);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

/* ------------------------------------------------------------------ Page hero */
.page-hero {
  padding: clamp(48px, 6vw, 84px) 0 clamp(32px, 4vw, 48px);
  background: radial-gradient(40% 80% at 85% 0%, rgba(225, 29, 72, 0.1), transparent 70%);
}

.page-hero h1 {
  margin: 16px 0 16px;
}

/* ------------------------------------------------------------------ Archive */
.section--archive {
  padding-top: clamp(32px, 4vw, 48px);
}

.archive-controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 1340px) {
  .archive-controls {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.58em 1.05em;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--text-2);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.pill-btn:hover {
  border-color: var(--crimson-line);
  color: var(--text);
}

.pill-btn[aria-pressed='true'] {
  border-color: var(--text);
  background: var(--text);
  color: var(--bg);
}

.pill-count {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.86em;
  font-weight: 500;
  opacity: 0.75;
}

.archive-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.field {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 16px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-3);
  transition: border-color 0.2s var(--ease);
}

.field:focus-within {
  border-color: rgba(217, 119, 6, 0.65);
}

.field input,
.field select {
  height: 100%;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 0.92rem;
}

.field input::placeholder {
  color: var(--text-3);
}

.field select option {
  background: var(--surface-2);
}

.field--search {
  flex: 1 1 280px;
}

.field--search input {
  flex: 1;
}

.field--sort select {
  cursor: pointer;
  padding-right: 4px;
}

@media (min-width: 1340px) {
  .archive-tools {
    flex-wrap: nowrap;
  }

  .field--search {
    flex: 0 0 214px;
  }
}

.series-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 20px;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(217, 119, 6, 0.35);
  border-radius: 14px;
  background: rgba(217, 119, 6, 0.06);
  color: var(--text);
}

.series-banner > .icon {
  color: var(--amber);
}

.series-banner p {
  flex: 1;
  min-width: 200px;
}

.series-banner strong {
  font-weight: 700;
}

.archive-count {
  margin: 26px 0 16px;
  font-size: 0.9rem;
  color: var(--text-3);
}

.video-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 640px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .video-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.video-card {
  display: flex;
  flex-direction: column;
  padding: 10px;
  border-radius: var(--radius);
}

.video-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 14px 6px 4px;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.tag {
  padding: 0.28em 0.6em;
  border: 1px solid var(--hairline-strong);
  border-radius: 6px;
  color: var(--text-2);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.3;
}

.tag--quiet {
  padding-inline: 0;
  border-color: transparent;
  color: var(--text-3);
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.42rem;
  line-height: 1.12;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--hairline);
}

.empty-state {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 56px 16px;
  border: 1px dashed var(--hairline-strong);
  border-radius: var(--radius);
  text-align: center;
}

.empty-title {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.6rem;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}

.page-list {
  display: flex;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  list-style: none;
}

.page-list li + li {
  border-left: 1px solid var(--hairline-strong);
}

.page-num {
  display: grid;
  place-items: center;
  min-width: 46px;
  height: 44px;
  color: var(--text-2);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.page-num:hover {
  color: var(--text);
  background: var(--surface-2);
}

.page-num[aria-current='page'] {
  background: var(--text);
  color: var(--bg);
}

.page-step {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 46px;
  padding: 0 16px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s var(--ease);
}

.page-step:hover {
  border-color: var(--crimson-line);
}

.page-step[aria-disabled='true'] {
  opacity: 0.35;
  pointer-events: none;
}

@media (max-width: 479px) {
  .pagination {
    gap: 6px;
  }

  .page-step {
    padding: 0 12px;
  }

  .page-step span:not(.icon) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .page-num {
    min-width: 42px;
  }
}

/* ------------------------------------------------------------------ Hall of Fame */
.tab-list {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 20px;
  padding: 4px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  background: var(--surface);
}

[role='tab'] {
  padding: 0.62em 1.15em;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-2);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

[role='tab']:hover {
  color: var(--text);
}

[role='tab'][aria-selected='true'] {
  background: var(--text);
  color: var(--bg);
}

@media (max-width: 559px) {
  .tab-list {
    display: grid;
    width: 100%;
    border-radius: var(--radius);
  }

  [role='tab'] {
    border-radius: var(--radius-sm);
  }
}

.tab-panel:focus-visible {
  outline-offset: 8px;
  border-radius: 8px;
}

.hall-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--hairline);
}

.hall-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 8px 18px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--hairline);
}

.hall-rank {
  color: var(--text-3);
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 0.9;
}

.hall-item:first-child .hall-rank {
  color: var(--amber);
}

.hall-body {
  display: grid;
  gap: 8px;
}

.hall-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.15rem + 0.7vw, 1.75rem);
  line-height: 1.1;
}

.hall-why {
  max-width: 70ch;
  color: var(--text-2);
}

.hall-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2em 0.6em;
  font-size: 0.82rem;
  color: var(--text-3);
}

.hall-cta {
  grid-column: 2;
  justify-self: start;
}

@media (min-width: 768px) {
  .hall-item {
    grid-template-columns: 72px 1fr auto;
    align-items: center;
  }

  .hall-rank {
    font-size: 3.4rem;
  }

  .hall-cta {
    grid-column: auto;
  }
}

/* ------------------------------------------------------------------ About */
.about-hero {
  padding: clamp(40px, 5vw, 72px) 0 clamp(56px, 6vw, 88px);
  background: radial-gradient(40% 60% at 10% 10%, rgba(225, 29, 72, 0.08), transparent 70%);
}

.about-grid {
  display: grid;
  gap: 36px;
  align-items: start;
}

@media (min-width: 960px) {
  .about-grid {
    grid-template-columns: 5fr 7fr;
    gap: 56px;
  }

  .about-portrait {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
}

.about-portrait {
  margin: 0;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px -36px rgba(73, 48, 25, 0.35);
}

.about-copy h1 {
  margin: 14px 0 22px;
}

.about-text {
  max-width: 64ch;
  font-size: 1.04rem;
  line-height: 1.78;
}

.about-text + .about-text {
  margin-top: 16px;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 24px;
  margin: 30px 0 18px;
  border-top: 1px solid var(--hairline);
}

.fact-grid > div {
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
}

.fact-grid dt {
  color: var(--text-3);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fact-grid dd {
  margin: 4px 0 0;
  color: var(--text);
  font-weight: 600;
}

.source-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4em 0.7em;
  font-size: 0.8rem;
  color: var(--text-3);
}

.source-line a {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  color: var(--text-2);
  text-decoration: none;
}

.source-line a:hover {
  color: var(--text);
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--hairline);
}

.timeline-item {
  display: grid;
  gap: 8px 32px;
  padding: 24px 0;
  border-bottom: 1px solid var(--hairline);
}

@media (min-width: 768px) {
  .timeline-item {
    grid-template-columns: 200px 1fr;
  }
}

.timeline-when {
  padding-top: 4px;
  color: var(--amber);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.timeline-item--now .timeline-when {
  color: var(--crimson);
}

.timeline-body {
  display: grid;
  gap: 8px;
  justify-items: start;
}

.timeline-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.15rem + 0.7vw, 1.7rem);
  line-height: 1.1;
}

.timeline-body p {
  max-width: 66ch;
}

.people-grid,
.series-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 768px) {
  .people-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .series-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .series-grid {
    grid-template-columns: repeat(4, 1fr);
  }

}

.person-card,
.series-card {
  display: flex;
  flex-direction: column;
  padding: 12px;
  border-radius: var(--radius-lg);
}

.person-body,
.series-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 18px 6px 6px;
}

.person-name,
.series-name {
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1.06;
}

.series-name {
  font-size: 1.45rem;
}

.person-body .source-link,
.series-body .btn {
  margin-top: auto;
}

.person-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: auto;
  padding-top: 6px;
}

.person-actions .source-link {
  margin-top: 0;
}

.series-body .btn {
  width: 100%;
  justify-content: flex-start;
  border-radius: var(--radius-sm);
  white-space: normal;
  text-align: left;
}

/* ------------------------------------------------------------------ Watch */
.watch-stage {
  --player-w: min(100%, calc((100vh - 210px) * 16 / 9));
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px var(--gutter) 48px;
}

@supports (height: 100svh) {
  .watch-stage {
    --player-w: min(100%, calc((100svh - 210px) * 16 / 9));
  }
}

@media (min-width: 768px) {
  .watch-stage {
    min-height: calc(100vh - 64px);
  }

  @supports (height: 100svh) {
    .watch-stage {
      min-height: calc(100svh - 64px);
    }
  }
}

.player {
  position: relative;
  width: var(--player-w);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: #000;
  box-shadow: 0 0 0 1px var(--hairline), 0 40px 100px -40px rgba(73, 48, 25, 0.45);
}

.player-poster {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #161311;
  cursor: pointer;
}

.player-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.4s var(--ease);
}

.player-poster::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(10, 9, 8, 0.05), rgba(10, 9, 8, 0.4));
  pointer-events: none;
}

.player-poster:hover img {
  transform: scale(1.02);
}

.player-poster:focus-visible {
  outline-offset: -4px;
}

.play-badge--xl {
  z-index: 2;
  width: 84px;
  height: 84px;
  opacity: 1;
  transform: translate(-50%, -50%);
  background: var(--crimson);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 16px 48px -12px rgba(225, 29, 72, 0.8);
}

.play-badge--xl .icon {
  width: 30px;
  height: 30px;
}

.player-poster:hover .play-badge--xl {
  transform: translate(-50%, -50%) scale(1.06);
  background: var(--crimson-hover);
}

.player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.watch-title {
  width: var(--player-w);
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.1rem + 1.1vw, 2.05rem);
  line-height: 1.12;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.watch-meta {
  display: flex;
  align-items: center;
  gap: 0.6em;
  width: var(--player-w);
  margin-top: 6px;
  font-size: 0.95rem;
  color: var(--text-2);
}

.watch-meta .num {
  color: var(--text);
  font-size: 0.95em;
}

/* ------------------------------------------------------------------ Footer */
.site-footer {
  border-top: 1px solid var(--hairline);
  background: linear-gradient(180deg, var(--bg), #efe7da);
}

.footer-grid {
  display: grid;
  gap: 32px;
  padding: 40px 0;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand p {
  margin-top: 14px;
  max-width: 40ch;
  font-size: 0.9rem;
}

.footer-col-title {
  margin-bottom: 12px;
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col a {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  color: var(--text-2);
  font-size: 0.92rem;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 20px 0 32px;
  border-top: 1px solid var(--hairline);
  font-size: 0.8rem;
  color: var(--text-3);
}

/* ------------------------------------------------------------------ 404 */
.not-found {
  padding: clamp(80px, 12vw, 160px) 0;
}

.not-found h1 {
  margin: 14px 0 16px;
}

/* ------------------------------------------------------------------ Broadcast console surfaces */
/* Major modules read as hardware: a faint specular rim along the top edge and an inset
   acoustic shadow pooling at the bottom. */
.feature-card,
.feature-card:hover,
.bento-lead,
.bento-lead:hover,
.tuner-console,
.tuner-readout {
  background: linear-gradient(180deg, #ffffff 0%, #fffdf8 24%, #fbf6ee 100%);
}

.feature-card,
.bento-lead,
.tuner-console,
.tuner-readout {
  box-shadow: inset 0 1px 0 #ffffff, inset 0 -48px 64px -52px rgba(120, 80, 40, 0.14),
    0 1px 2px rgba(73, 48, 25, 0.06), 0 30px 70px -40px rgba(73, 48, 25, 0.3);
}

/* ------------------------------------------------------------------ Cursor spotlight + series glow */
.bento-lead,
.bento-card,
.video-card,
.series-card {
  position: relative;
  isolation: isolate;
}

.bento-lead::before,
.bento-card::before,
.video-card::before,
.series-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), var(--spot, rgba(225, 29, 72, 0.11)), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.bento-lead:hover::before,
.bento-card:hover::before,
.video-card:hover::before,
.series-card:hover::before {
  opacity: 1;
}

/* Each series carries its own mood, shown only on hover so neighboring cards stay one surface */
.video-card,
.series-card {
  --glow: rgba(225, 29, 72, 0.28);
  --badge: var(--crimson);
  --rim: transparent;
}

[data-series='horror'] {
  --glow: rgba(190, 18, 60, 0.32);
  --badge: #be123c;
  --rim: rgba(190, 210, 255, 0.16);
  --spot: rgba(190, 18, 60, 0.12);
}

[data-series='dokyu'] {
  --glow: rgba(217, 119, 6, 0.28);
  --badge: var(--amber);
  --spot: rgba(217, 119, 6, 0.11);
}

[data-series='classics'] {
  --glow: rgba(245, 158, 11, 0.28);
  --badge: #f59e0b;
  --spot: rgba(245, 158, 11, 0.1);
}

.video-card::after,
.series-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(95% 60% at 50% 0%, var(--glow), transparent 72%);
  box-shadow: inset 0 1px 0 var(--rim), inset 0 0 0 1px var(--rim);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.video-card:hover::after,
.series-card:hover::after {
  opacity: 1;
}

.video-card:hover .play-badge,
.series-card:hover .play-badge {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  background: var(--badge);
  border-color: var(--badge);
}

/* ------------------------------------------------------------------ Studio atmosphere */
/* Speaker-grille perforation and a long soundwave across the hero, at broadcast-whisper opacity */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='160' viewBox='0 0 1200 160'%3E%3Cpath d='M0 80 C 40 20 80 140 120 80 S 200 30 240 80 S 320 150 360 80 S 440 10 480 80 S 560 130 600 80 S 680 40 720 80 S 800 145 840 80 S 920 25 960 80 S 1040 120 1080 80 S 1160 50 1200 80' fill='none' stroke='%231D1712' stroke-width='3'/%3E%3Cpath d='M0 80 C 60 50 120 110 180 80 S 300 55 360 80 S 480 100 540 80 S 660 60 720 80 S 840 105 900 80 S 1020 58 1080 80 S 1170 95 1200 80' fill='none' stroke='%231D1712' stroke-width='1.5'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14'%3E%3Ccircle cx='7' cy='7' r='2' fill='%231D1712'/%3E%3C/svg%3E");
  background-repeat: repeat-x, repeat;
  background-position: 0 72%, 0 0;
  background-size: 1200px 160px, 14px 14px;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 45%, #000 30%, transparent 85%);
  mask-image: radial-gradient(80% 70% at 50% 45%, #000 30%, transparent 85%);
}

.hero-glow {
  background: radial-gradient(40% 50% at 78% 30%, rgba(225, 29, 72, 0.09), transparent 70%),
    radial-gradient(35% 45% at 12% 10%, rgba(245, 158, 11, 0.16), transparent 70%),
    radial-gradient(120% 90% at 50% 40%, transparent 60%, rgba(150, 100, 50, 0.08) 100%);
}

/* A small waveform sits on each section seam, like a level marker between segments */
.section {
  position: relative;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 132px;
  height: 22px;
  transform: translate(-50%, -50%);
  background: var(--bg)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 104 22'%3E%3Cg stroke='%231D1712' stroke-opacity='.3' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 9v4M10 7v8M16 4v14M22 8v6M28 2v18M34 6v10M40 9v4M46 5v12M52 1v20M58 5v12M64 9v4M70 6v10M76 2v18M82 8v6M88 4v14M94 7v8M100 9v4'/%3E%3C/g%3E%3C/svg%3E")
    center / 104px 22px no-repeat;
  pointer-events: none;
}

/* ------------------------------------------------------------------ Featured broadcast VU meter */
.feature-vu {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: linear-gradient(180deg, #0f0d0b, #171310);
  box-shadow: inset 0 1px 0 rgba(255, 248, 235, 0.05);
  color: var(--device-text-2);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
}

.vu-led {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--crimson);
  box-shadow: 0 0 10px rgba(225, 29, 72, 0.9);
  animation: onair 2.2s ease-in-out infinite;
}

.vu-label {
  white-space: nowrap;
}

.vu-meter {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  gap: 3px;
  height: 9px;
  min-width: 80px;
}

.vu-meter i {
  border-radius: 1.5px;
  background: rgba(245, 242, 235, 0.72);
}

.vu-meter i:nth-child(n + 11) {
  background: #f59e0b;
}

.vu-meter i:nth-child(n + 14) {
  background: var(--crimson);
}

/* An unlit cover slides back and forth in whole-segment steps, like an LED level meter */
.vu-meter::after {
  content: '';
  position: absolute;
  top: -1px;
  bottom: -1px;
  right: -1px;
  width: 50%;
  background: rgba(23, 19, 16, 0.88);
  animation: vu-level 2.6s step-end infinite;
}

@keyframes vu-level {
  0% {
    width: 50%;
  }
  10% {
    width: 31.25%;
  }
  20% {
    width: 43.75%;
  }
  30% {
    width: 18.75%;
  }
  40% {
    width: 37.5%;
  }
  50% {
    width: 25%;
  }
  60% {
    width: 56.25%;
  }
  70% {
    width: 12.5%;
  }
  80% {
    width: 31.25%;
  }
  90% {
    width: 43.75%;
  }
}

.vu-unit {
  flex: none;
  color: var(--gold);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
}

/* Glass play trigger on the hero card, with a soft pulse on hover */
.feature-media .play-badge {
  width: 66px;
  height: 66px;
  border-color: rgba(245, 242, 235, 0.38);
  background: rgba(245, 242, 235, 0.14);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  backdrop-filter: blur(12px) saturate(1.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 12px 32px -10px rgba(0, 0, 0, 0.6);
}

.feature-media:hover .play-badge {
  background: rgba(225, 29, 72, 0.78);
  border-color: rgba(255, 255, 255, 0.4);
  animation: badge-pulse 1.6s var(--ease) infinite;
}

@keyframes badge-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(225, 29, 72, 0), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(225, 29, 72, 0), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  }
}

/* ------------------------------------------------------------------ Tuner: backlit glass dial */
.tuner {
  transition: --needle 0.9s cubic-bezier(0.22, 1.28, 0.36, 1);
}

.dial-window::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 36%, transparent 37%),
    linear-gradient(112deg, transparent 28%, rgba(255, 236, 200, 0.07) 40%, transparent 54%);
  box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.16), inset 0 -16px 26px -14px rgba(245, 158, 11, 0.45),
    inset 0 10px 18px -12px rgba(255, 255, 255, 0.14);
}

.console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.band-label {
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.stereo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px;
  border: 1px solid rgba(245, 158, 11, 0.42);
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.1);
  color: var(--amber);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.2;
  box-shadow: 0 0 18px -8px rgba(245, 158, 11, 0.7);
  transition: box-shadow 0.3s var(--ease);
}

.stereo-led {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 8px #f59e0b;
}

.stereo.is-searching {
  animation: stereo-flicker 0.6s steps(1) both;
}

.stereo.is-locked {
  box-shadow: 0 0 24px -6px rgba(245, 158, 11, 0.9);
}

@keyframes stereo-flicker {
  0% {
    opacity: 0.35;
  }
  15% {
    opacity: 0.9;
  }
  30% {
    opacity: 0.3;
  }
  45% {
    opacity: 0.8;
  }
  60% {
    opacity: 0.45;
  }
  75%,
  100% {
    opacity: 1;
  }
}

.rec-card.rec-in {
  animation: rise-in 0.42s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 70ms);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ------------------------------------------------------------------ Scroll reveal */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  transition-delay: calc(var(--stagger, 0) * 60ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Archive cards cascade in when the View Transition API is unavailable */
.video-grid.is-entering .video-card {
  animation: rise-in 0.42s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 50ms);
}

::view-transition-group(*) {
  animation-duration: 0.42s;
  animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ------------------------------------------------------------------ Watch page ambience */
.watch-stage {
  background: radial-gradient(60% 45% at 50% 32%, rgba(245, 158, 11, 0.1), transparent 72%);
}

.watch-title {
  text-rendering: optimizeLegibility;
}

.player-poster:hover .play-badge--xl {
  animation: badge-pulse 1.6s var(--ease) infinite;
}

/* ------------------------------------------------------------------ Page-to-page transitions */
@view-transition {
  navigation: auto;
}

.site-header {
  view-transition-name: site-header;
}

::view-transition-old(root) {
  animation: page-out 0.26s cubic-bezier(0.4, 0, 1, 1) both;
}

::view-transition-new(root) {
  animation: page-in 0.38s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes page-out {
  to {
    opacity: 0;
    transform: translateY(-6px);
  }
}

@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

/* ------------------------------------------------------------------ Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  @view-transition {
    navigation: none;
  }
}
