/* ============================================================
   THE LEDGER RADIO — Editorial Luxury Design System
   ============================================================ */

:root {
  --paper: #FBFBFB;
  --white: #FFFFFF;
  --ink: #0A0A0A;
  --ink-2: #111111;
  --black: #000000;
  --studio: #0E0E10;
  --red: #E52421;
  --red-dark: #D32F2F;
  --line: #E7E3DD;
  --line-dark: #26262A;
  --muted: #6B6B6B;
  --muted-dark: #9A9AA0;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --topbar-h: 56px;
  --header-h: 72px;
  --wrap: 1240px;
  --shadow: 0 18px 50px -18px rgba(10, 10, 10, .28);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.022 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }
::selection { background: var(--red); color: #fff; }

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

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.serif { font-family: var(--serif); }

.kicker {
  font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--red); display: inline-flex; align-items: center; gap: 8px;
}
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--red); }

.section-title { font-family: var(--serif); font-weight: 700; font-size: clamp(30px, 4vw, 46px); line-height: 1.12; letter-spacing: -.01em; }
.section-title em { font-style: italic; color: var(--red); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 14px 26px; border-radius: 2px; transition: all .22s ease; border: 1.5px solid transparent;
}
.btn svg { width: 14px; height: 14px; fill: currentColor; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(229, 36, 33, .6); }
.btn-outline { border-color: var(--red); color: var(--red); background: transparent; }
.btn-outline:hover { background: var(--red); color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-outline-light:hover { border-color: var(--red); background: var(--red); }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: 9px 16px; font-size: 11px; }

.tag {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid var(--red); color: var(--red); padding: 4px 10px; border-radius: 2px;
}
.tag-solid { background: var(--red); color: #fff; border-color: var(--red); }

.star4 { display: inline-block; width: 1em; height: 1em; fill: var(--red); flex: none; }

.rule-red { height: 2px; background: var(--red); border: none; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============ TOPBAR PLAYER ============ */
.topbar { position: fixed; inset: 0 0 auto 0; height: var(--topbar-h); background: var(--black); z-index: 900; color: #fff; }
.topbar-inner { max-width: var(--wrap); margin: 0 auto; height: 100%; display: flex; align-items: center; gap: 22px; padding: 0 28px; }
.tb-live { display: flex; align-items: center; gap: 9px; flex: none; }
.tb-pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--red); animation: pulse 1.6s ease-in-out infinite; }
.tb-pulse.off { background: #555; animation: none; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(229,36,33,.55); } 55% { box-shadow: 0 0 0 7px rgba(229,36,33,0); } }
.tb-freq { font-size: 11px; font-weight: 800; letter-spacing: .16em; color: var(--red); }
.tb-meta { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; }
.tb-cover { width: 34px; height: 34px; object-fit: cover; border-radius: 2px; filter: grayscale(1) contrast(1.08); flex: none; }
.tb-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.tb-title { font-size: 12.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-artist { font-size: 11px; color: var(--muted-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-time { font-size: 11px; font-variant-numeric: tabular-nums; color: var(--muted-dark); flex: none; }
.tb-controls { display: flex; align-items: center; gap: 12px; flex: none; }
.tb-btn { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff; transition: background .2s; }
.tb-btn:hover { background: rgba(255,255,255,.12); }
.tb-btn svg { width: 18px; height: 18px; fill: currentColor; }
.tb-play { width: 38px; height: 38px; background: var(--red); }
.tb-play:hover { background: var(--red-dark); }
.tb-play .ic-pause { display: none; }
.topbar.playing .tb-play .ic-play { display: none; }
.topbar.playing .tb-play .ic-pause { display: block; }
.tb-volume { display: flex; align-items: center; gap: 6px; }
.tb-volume input[type=range] { width: 0; opacity: 0; transition: width .25s ease, opacity .25s ease; accent-color: var(--red); height: 3px; }
.tb-volume:hover input[type=range], .tb-volume:focus-within input[type=range] { width: 84px; opacity: 1; }
.tb-quality { font-size: 10px; font-weight: 700; letter-spacing: .1em; color: var(--muted-dark); border: 1px solid var(--line-dark); padding: 3px 8px; border-radius: 2px; }
.tb-backlive { width: auto; padding: 0 12px; border-radius: 2px; font-size: 10px; font-weight: 800; letter-spacing: .14em; color: var(--red); border: 1px solid var(--red); }
.tb-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255,255,255,.08); }
.tb-progress-fill { height: 100%; width: 0; background: var(--red); transition: width .5s linear; }

/* ============ HEADER ============ */
.site-header { position: sticky; top: var(--topbar-h); z-index: 800; background: rgba(251,251,251,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { max-width: var(--wrap); margin: 0 auto; height: var(--header-h); display: flex; align-items: center; gap: 34px; padding: 0 28px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-badge { width: 34px; height: 34px; background: var(--red); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.brand-badge svg { width: 16px; height: 16px; fill: #fff; }
.brand-word { font-family: var(--serif); font-weight: 800; font-size: 22px; letter-spacing: .01em; }
.brand-word em { font-style: italic; font-weight: 600; color: var(--red); }
.main-nav { display: flex; gap: 28px; margin-left: auto; }
.main-nav a { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 6px 0; position: relative; color: var(--ink-2); }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--red); transition: width .25s ease; }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--red); }
.nav-plus { color: var(--red); }
.header-tools { display: flex; gap: 6px; }
.tool-btn { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; transition: background .2s; }
.tool-btn:hover { background: rgba(10,10,10,.07); }
.tool-btn svg { width: 19px; height: 19px; fill: currentColor; }
.tool-emergency { color: var(--red); border: 1.5px solid var(--red); }
.tool-emergency:hover { background: var(--red); color: #fff; }

/* ============ TICKER ============ */
.ticker { background: var(--white); border-bottom: 1px solid var(--line); }
.ticker-inner { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; padding: 0 28px; }
.ticker-block { display: flex; align-items: center; gap: 14px; padding: 13px 22px; border-left: 1px solid var(--line); min-width: 0; }
.ticker-block:first-child { border-left: none; padding-left: 0; }
.ticker-label { font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--red); display: inline-flex; align-items: center; gap: 7px; flex: none; }
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: pulse 1.6s infinite; }
.ticker-value { font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ticker-value small { color: var(--muted); font-weight: 500; }

/* ============ VIEW / SECTIONS ============ */
.view { min-height: 60vh; padding-top: 0; }
.view.enter { animation: viewIn .45s ease; }
@keyframes viewIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
section { position: relative; }
.section-pad { padding: 84px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section-head .left { display: flex; flex-direction: column; gap: 12px; }

/* ============ HERO ============ */
.hero { padding: 74px 0 90px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.hero-title { font-family: var(--serif); font-weight: 800; font-size: clamp(44px, 5.6vw, 78px); line-height: 1.04; letter-spacing: -.015em; margin: 22px 0 26px; }
.hero-title em { font-style: italic; color: var(--red); position: relative; white-space: nowrap; }
.hero-title .star4 { font-size: .42em; vertical-align: super; margin-left: 6px; }
.hero-rule { width: 100%; max-width: 420px; margin-bottom: 24px; }
.hero-desc { color: var(--muted); max-width: 480px; font-size: 15.5px; margin-bottom: 34px; }
.hero-cta-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero-listeners { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero-listeners strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.hero-visual { position: relative; }
.hero-photo { position: relative; border-radius: 3px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/4.6; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.12); }
.hero-circles { position: absolute; top: -46px; right: -46px; width: 220px; height: 220px; color: var(--red); opacity: .8; z-index: 1; pointer-events: none; }
.hero-card {
  position: absolute; left: -34px; bottom: 34px; background: var(--white); border-radius: 3px;
  box-shadow: var(--shadow); padding: 18px 22px; display: flex; gap: 14px; align-items: center; max-width: 320px;
  border-left: 3px solid var(--red);
}
.hero-card img { width: 52px; height: 52px; object-fit: cover; border-radius: 2px; filter: grayscale(1) contrast(1.1); }
.hero-card .hc-k { font-size: 9.5px; font-weight: 800; letter-spacing: .16em; color: var(--red); text-transform: uppercase; }
.hero-card .hc-t { font-family: var(--serif); font-weight: 700; font-size: 15px; line-height: 1.3; }
.hero-card button { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.hero-card button svg { width: 16px; height: 16px; fill: #fff; }

/* ============ OUR WHY ============ */
.why { background: var(--black); color: #fff; padding: 74px 0; }
.why-grid { display: grid; grid-template-columns: auto 1.2fr 1fr; gap: 56px; align-items: center; }
.why-title { font-family: var(--serif); font-weight: 800; font-size: clamp(34px, 3.6vw, 52px); line-height: 1; text-transform: uppercase; letter-spacing: .01em; }
.why-title span { display: block; color: var(--red); }
.why-quote { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.4; }
.why-quote::before { content: "“"; color: var(--red); }
.why-quote::after { content: "”"; color: var(--red); }
.why-text { color: var(--muted-dark); font-size: 13.5px; margin-bottom: 22px; }

/* ============ EPISODES ============ */
.episodes-layout { display: grid; grid-template-columns: 1fr 320px; gap: 36px; align-items: start; }
.episode-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.ep-card { background: var(--white); border: 1px solid var(--line); border-radius: 3px; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; display: flex; flex-direction: column; }
.ep-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ep-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.ep-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); transition: transform .5s ease; }
.ep-card:hover .ep-media img { transform: scale(1.05); }
.ep-play {
  position: absolute; inset: 0; margin: auto; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.94); color: var(--red); display: inline-flex; align-items: center; justify-content: center;
  transition: all .25s ease; box-shadow: 0 8px 22px -8px rgba(0,0,0,.5);
}
.ep-play svg { width: 20px; height: 20px; fill: currentColor; margin-left: 2px; }
.ep-play:hover, .ep-play.playing { background: var(--red); color: #fff; transform: scale(1.08); }
.ep-dur { position: absolute; right: 10px; bottom: 10px; background: rgba(0,0,0,.78); color: #fff; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 2px; font-variant-numeric: tabular-nums; }
.ep-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ep-title { font-family: var(--serif); font-weight: 700; font-size: 18px; line-height: 1.3; }
.ep-title a:hover { color: var(--red); }
.ep-date { font-size: 11.5px; color: var(--muted); margin-top: auto; }

/* Tune in live sidebar */
.tunein { background: var(--studio); color: #fff; border-radius: 3px; padding: 28px; position: sticky; top: calc(var(--topbar-h) + var(--header-h) + 20px); }
.tunein .kicker { color: var(--red); }
.tunein-title { font-family: var(--serif); font-size: 26px; font-weight: 700; margin: 10px 0 4px; }
.tunein-host { color: var(--muted-dark); font-size: 12.5px; margin-bottom: 18px; }
.tunein-slot { display: flex; justify-content: space-between; font-size: 12px; padding: 9px 0; border-top: 1px solid var(--line-dark); color: var(--muted-dark); }
.tunein-slot strong { color: #fff; font-weight: 600; }
.tunein-slot.now strong { color: var(--red); }
.tunein-progress { height: 3px; background: var(--line-dark); border-radius: 2px; margin: 16px 0 6px; overflow: hidden; }
.tunein-progress div { height: 100%; background: var(--red); }
.tunein-times { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--muted-dark); font-variant-numeric: tabular-nums; margin-bottom: 20px; }
.tunein .btn { width: 100%; }

.carousel-nav { display: flex; gap: 10px; }
.carousel-nav button { width: 42px; height: 42px; border: 1.5px solid var(--line); border-radius: 2px; font-size: 11px; font-weight: 800; letter-spacing: .1em; display: inline-flex; align-items: center; justify-content: center; transition: all .2s; }
.carousel-nav button:hover { border-color: var(--red); color: var(--red); }

/* ============ UPCOMING SHOWS ============ */
.now-banner { position: relative; border-radius: 3px; overflow: hidden; background: var(--black); color: #fff; display: grid; grid-template-columns: 1.1fr 1fr; min-height: 280px; margin-bottom: 34px; }
.now-banner-img { position: relative; }
.now-banner-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15); opacity: .85; }
.now-banner-body { padding: 40px 44px; display: flex; flex-direction: column; justify-content: center; gap: 12px; position: relative; }
.badge-onair { display: inline-flex; align-items: center; gap: 8px; background: var(--red); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; padding: 6px 12px; border-radius: 2px; width: fit-content; }
.now-banner-title { font-family: var(--serif); font-size: clamp(26px, 3vw, 40px); font-weight: 800; line-height: 1.1; }
.now-banner-sub { color: var(--muted-dark); font-size: 13.5px; }
.now-banner-time { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: #fff; display: flex; align-items: center; gap: 10px; }
.now-banner-time::before { content: ""; width: 26px; height: 2px; background: var(--red); }
.now-banner .hero-circles { top: auto; bottom: -60px; right: -60px; opacity: .5; }
.shows-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.show-card { border: 1px solid var(--line); background: var(--white); border-radius: 3px; padding: 26px; display: flex; flex-direction: column; gap: 12px; transition: transform .25s, box-shadow .25s; }
.show-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.show-when { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.show-title { font-family: var(--serif); font-size: 22px; font-weight: 700; line-height: 1.2; }
.show-sub { color: var(--muted); font-size: 12.5px; }
.show-card .btn { margin-top: auto; width: fit-content; }
.coming-next { margin-top: 52px; }
.coming-next-head { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.coming-next-head span { font-size: 12px; font-weight: 800; letter-spacing: .2em; color: var(--red); text-transform: uppercase; flex: none; }
.coming-next-head::after { content: ""; height: 2px; background: var(--red); flex: 1; }
.coming-row { display: grid; grid-auto-flow: column; grid-auto-columns: 270px; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.coming-card { scroll-snap-align: start; border: 1px solid var(--line); background: var(--white); border-radius: 3px; padding: 16px 18px; display: flex; gap: 14px; align-items: center; }
.coming-card img { width: 52px; height: 52px; border-radius: 2px; object-fit: cover; filter: grayscale(1) contrast(1.1); flex: none; }
.coming-card .cc-t { font-family: var(--serif); font-weight: 700; font-size: 15px; line-height: 1.25; }
.coming-card .cc-w { font-size: 11px; color: var(--red); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

/* ============ HOSTS ============ */
.hosts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.host-card { background: var(--white); border: 1px solid var(--line); border-radius: 3px; overflow: hidden; text-align: center; transition: transform .25s, box-shadow .25s; }
.host-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.host-photo { position: relative; aspect-ratio: 3/3.4; overflow: hidden; }
.host-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.12); }
.host-avatar { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.92); display: inline-flex; align-items: center; justify-content: center; color: var(--red); }
.host-avatar svg { width: 17px; height: 17px; fill: currentColor; }
.host-body { padding: 20px 18px 24px; }
.host-name { font-family: var(--serif); font-size: 20px; font-weight: 700; }
.host-role { font-size: 11px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin: 4px 0 14px; }
.host-socials { display: flex; justify-content: center; gap: 8px; }
.host-socials a { width: 30px; height: 30px; border-radius: 999px; background: var(--red); color: #fff; display: inline-flex; align-items: center; justify-content: center; transition: background .2s; }
.host-socials a:hover { background: var(--ink); }
.host-socials svg { width: 13px; height: 13px; fill: currentColor; }
.quote-card { background: var(--red); color: #fff; border-radius: 3px; padding: 34px 30px; display: flex; flex-direction: column; justify-content: center; gap: 20px; position: relative; overflow: hidden; }
.quote-card .star4 { fill: #fff; font-size: 30px; opacity: .9; }
.quote-card blockquote { font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.45; }
.quote-card cite { font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .92; }

/* ============ VOICE RECORDER ============ */
.voice { background: var(--black); color: #fff; padding: 90px 0; }
.voice-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.voice-title { font-family: var(--serif); font-size: clamp(34px, 4vw, 54px); font-weight: 800; line-height: 1.08; margin: 18px 0 20px; }
.voice-title em { color: var(--red); font-style: italic; }
.voice-desc { color: var(--muted-dark); font-size: 15px; max-width: 440px; }
.voice-note { margin-top: 26px; font-size: 12px; color: var(--muted-dark); display: flex; gap: 10px; align-items: center; }
.voice-note .star4 { font-size: 16px; }
.recorder { background: var(--studio); border: 1px solid var(--line-dark); border-radius: 4px; padding: 30px; }
.rec-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.rec-max { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dark); }
.rec-max strong { color: var(--red); }
.rec-status { font-size: 10px; font-weight: 800; letter-spacing: .18em; padding: 5px 12px; border-radius: 2px; border: 1px solid var(--line-dark); color: var(--muted-dark); }
.rec-status.recording { border-color: var(--red); color: var(--red); animation: pulse 1.6s infinite; }
.rec-status.paused { border-color: #E8A13C; color: #E8A13C; }
.rec-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; }
.rec-fields input {
  background: #141416; border: 1px solid var(--line-dark); color: #fff; border-radius: 2px;
  padding: 12px 14px; font-size: 13px; width: 100%;
}
.rec-fields input::placeholder { color: #6E6E74; }
.rec-fields input:focus { outline: none; border-color: var(--red); }
.rec-stage { border: 1px dashed var(--line-dark); border-radius: 3px; padding: 26px 20px; text-align: center; margin-bottom: 20px; position: relative; }
.rec-mic { width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 50%; background: rgba(229,36,33,.12); color: var(--red); display: flex; align-items: center; justify-content: center; }
.rec-mic svg { width: 24px; height: 24px; fill: currentColor; }
.rec-timer { font-size: 34px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.rec-canvas { width: 100%; height: 44px; display: block; margin-top: 10px; }
.rec-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 11.5px; color: var(--muted-dark); margin-bottom: 20px; }
.rec-consent input { accent-color: var(--red); margin-top: 2px; }
.rec-actions { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 12px; }
.rec-actions .btn { padding: 13px 10px; }
.btn-dark { border: 1.5px solid var(--line-dark); color: #fff; }
.btn-dark:hover:not(:disabled) { border-color: #fff; }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.rec-dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; display: inline-block; }

/* ============ NEWS ============ */
.news-layout { display: grid; grid-template-columns: 1.25fr .8fr .8fr; gap: 30px; }
.news-featured { position: relative; border-radius: 3px; overflow: hidden; background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; }
.news-featured .nf-media { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.news-featured img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); }
.news-featured .nf-body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.news-featured h3 { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; line-height: 1.2; }
.news-featured h3 a:hover { color: var(--red); }
.news-meta { display: flex; align-items: center; gap: 14px; font-size: 11.5px; color: var(--muted); flex-wrap: wrap; }
.news-meta .nm-author { font-weight: 700; color: var(--ink); }
.news-meta span { display: inline-flex; align-items: center; gap: 5px; }
.news-meta svg { width: 13px; height: 13px; fill: currentColor; }
.news-col-title { font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--red); border-bottom: 2px solid var(--red); padding-bottom: 10px; margin-bottom: 18px; }
.news-mini { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.news-mini img { width: 74px; height: 74px; object-fit: cover; border-radius: 2px; filter: grayscale(1) contrast(1.1); flex: none; }
.news-mini h4 { font-family: var(--serif); font-size: 15.5px; font-weight: 700; line-height: 1.3; }
.news-mini h4 a:hover { color: var(--red); }
.news-mini .news-meta { margin-top: 6px; }
.news-quick { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.news-quick img { width: 46px; height: 46px; object-fit: cover; border-radius: 2px; filter: grayscale(1) contrast(1.1); flex: none; }
.news-quick h4 { font-size: 13px; font-weight: 600; line-height: 1.35; }
.news-quick h4 a:hover { color: var(--red); }
.news-quick time { font-size: 10.5px; color: var(--muted); }

.cats-band { margin-top: 64px; }
.cats-bar { background: var(--red); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; padding: 12px 22px; border-radius: 2px 2px 0 0; display: flex; justify-content: space-between; align-items: center; }
.cats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.cat-block { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--black); }
.cat-block img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15); opacity: .72; transition: all .4s ease; }
.cat-block:hover img { opacity: .95; transform: scale(1.06); }
.cat-block span { position: absolute; left: 16px; bottom: 12px; color: #fff; font-family: var(--serif); font-weight: 700; font-size: 18px; z-index: 1; }
.cat-block::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.72)); }
.cat-block span { z-index: 2; }
.cat-block .cat-count { position: absolute; top: 12px; right: 14px; z-index: 2; font-size: 10px; font-weight: 800; color: #fff; background: var(--red); padding: 3px 8px; border-radius: 2px; }

/* ============ FOOTER ============ */
.site-footer { background: var(--black); color: #fff; margin-top: 0; }
.footer-newsletter { border-bottom: 1px solid var(--line-dark); padding: 44px 0; }
.fn-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.fn-title { font-family: var(--serif); font-size: 26px; font-weight: 700; }
.fn-title em { color: var(--red); font-style: italic; }
.fn-sub { color: var(--muted-dark); font-size: 12.5px; margin-top: 6px; }
.fn-form { display: flex; gap: 12px; }
.fn-form input { flex: 1; background: #141416; border: 1px solid var(--line-dark); color: #fff; padding: 14px 18px; border-radius: 2px; font-size: 13px; }
.fn-form input:focus { outline: none; border-color: var(--red); }
.footer-main { padding: 60px 0 46px; display: grid; grid-template-columns: 1.4fr .7fr .9fr 1fr; gap: 44px; }
.footer-brand .brand-word { color: #fff; font-size: 24px; }
.footer-desc { color: var(--muted-dark); font-size: 12.5px; margin: 16px 0 22px; max-width: 300px; }
.footer-live { border: 1px solid var(--line-dark); border-radius: 3px; padding: 14px 16px; display: flex; align-items: center; gap: 12px; max-width: 300px; }
.footer-live .fl-text { min-width: 0; line-height: 1.3; }
.footer-live .fl-t { font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.footer-live .fl-a { font-size: 11px; color: var(--muted-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.footer-live button { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.footer-live button svg { width: 14px; height: 14px; fill: #fff; }
.footer-col h5 { font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--red); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--muted-dark); font-size: 13px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-socials { display: flex; gap: 10px; margin-top: 18px; }
.footer-socials a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-dark); display: inline-flex; align-items: center; justify-content: center; color: #fff; transition: all .2s; }
.footer-socials a:hover { background: var(--red); border-color: var(--red); }
.footer-socials svg { width: 15px; height: 15px; fill: currentColor; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding: 20px 0; }
.fb-inner { display: flex; justify-content: space-between; gap: 16px; font-size: 11.5px; color: var(--muted-dark); flex-wrap: wrap; }

/* ============ DRAWER / SEARCH / TOAST ============ */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 950; opacity: 0; transition: opacity .3s; }
.drawer-backdrop.show { opacity: 1; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 90vw); background: var(--white); z-index: 960; transform: translateX(102%); transition: transform .35s cubic-bezier(.2,.8,.2,1); padding: 26px; display: flex; flex-direction: column; gap: 22px; overflow-y: auto; }
.drawer.show { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.drawer-title { font-family: var(--serif); font-size: 22px; font-weight: 800; }
.drawer-nav { display: flex; flex-direction: column; }
.drawer-nav a { font-family: var(--serif); font-size: 22px; font-weight: 700; padding: 12px 0; border-bottom: 1px solid var(--line); }
.drawer-nav a:hover { color: var(--red); padding-left: 8px; transition: all .2s; }
.drawer-live { margin-top: auto; background: var(--black); color: #fff; border-radius: 3px; padding: 18px; }
.drawer-live .dl-k { font-size: 10px; font-weight: 800; letter-spacing: .16em; color: var(--red); text-transform: uppercase; display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.drawer-live .dl-t { font-family: var(--serif); font-weight: 700; font-size: 17px; }
.drawer-live .dl-a { font-size: 12px; color: var(--muted-dark); margin-bottom: 12px; }

.search-overlay { position: fixed; inset: 0; background: rgba(10,10,10,.6); backdrop-filter: blur(4px); z-index: 970; display: flex; justify-content: center; padding: 10vh 20px 20px; }
.search-panel { background: var(--white); width: min(680px, 100%); border-radius: 4px; max-height: 76vh; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.search-bar { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.search-bar > svg { width: 20px; height: 20px; fill: var(--red); flex: none; }
.search-bar input { flex: 1; border: none; font-size: 16px; background: transparent; }
.search-bar input:focus { outline: none; }
.search-results { overflow-y: auto; padding: 10px 20px 20px; }
.sr-group { margin-top: 14px; }
.sr-group h6 { font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.sr-item { display: flex; gap: 12px; align-items: center; padding: 9px 6px; border-radius: 3px; }
.sr-item:hover { background: var(--paper); }
.sr-item img { width: 42px; height: 42px; object-fit: cover; border-radius: 2px; filter: grayscale(1); }
.sr-item .sr-t { font-weight: 600; font-size: 13.5px; }
.sr-item .sr-s { font-size: 11px; color: var(--muted); }
.sr-empty { padding: 26px 0; text-align: center; color: var(--muted); font-size: 13px; }

.toast-stack { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 990; display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; }
.toast { background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; padding: 12px 22px; border-radius: 3px; border-left: 3px solid var(--red); box-shadow: var(--shadow); animation: toastIn .3s ease; max-width: 90vw; }
.toast.err { border-left-color: #E8A13C; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ============ SUBPAGES ============ */
.page-head { padding: 60px 0 40px; border-bottom: 1px solid var(--line); background: var(--white); }
.page-head .section-title { margin-top: 12px; }
.page-head p.lede { color: var(--muted); max-width: 620px; margin-top: 12px; }

.sched-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.sched-day { background: var(--white); min-height: 380px; }
.sched-day-head { background: var(--ink); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; text-align: center; padding: 10px 4px; }
.sched-day-head.today { background: var(--red); }
.sched-slot { padding: 12px 12px; border-bottom: 1px solid var(--line); cursor: default; transition: background .2s; }
.sched-slot:hover { background: var(--paper); }
.sched-slot.now { background: rgba(229,36,33,.06); border-left: 3px solid var(--red); }
.sched-slot .ss-time { font-size: 10px; font-weight: 800; color: var(--red); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.sched-slot .ss-title { font-family: var(--serif); font-weight: 700; font-size: 14px; line-height: 1.25; margin: 3px 0; }
.sched-slot .ss-host { font-size: 10.5px; color: var(--muted); }

.pod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.pod-card { background: var(--white); border: 1px solid var(--line); border-radius: 3px; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.pod-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pod-card img { aspect-ratio: 1; object-fit: cover; width: 100%; filter: grayscale(1) contrast(1.1); }
.pod-body { padding: 20px; }
.pod-body h3 { font-family: var(--serif); font-size: 20px; font-weight: 700; }
.pod-body .pod-author { font-size: 11px; color: var(--red); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin: 4px 0 10px; }
.pod-body p { font-size: 12.5px; color: var(--muted); }
.pod-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-size: 11px; color: var(--muted); }
.pod-foot a { color: var(--red); font-weight: 700; }

.ep-list { display: flex; flex-direction: column; gap: 14px; }
.ep-row { display: flex; gap: 18px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 3px; padding: 16px 20px; transition: box-shadow .2s; }
.ep-row:hover { box-shadow: var(--shadow); }
.ep-row img { width: 76px; height: 76px; object-fit: cover; border-radius: 2px; filter: grayscale(1) contrast(1.1); flex: none; }
.ep-row .er-body { flex: 1; min-width: 0; }
.ep-row h3 { font-family: var(--serif); font-size: 18px; font-weight: 700; }
.ep-row h3 a:hover { color: var(--red); }
.ep-row .er-sum { font-size: 12.5px; color: var(--muted); margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ep-row .er-meta { display: flex; gap: 14px; font-size: 11px; color: var(--muted); margin-top: 8px; flex-wrap: wrap; }
.ep-row .ep-play { position: static; flex: none; }

.detail-hero { display: grid; grid-template-columns: 340px 1fr; gap: 48px; padding: 60px 0; align-items: start; }
.detail-cover { border-radius: 3px; overflow: hidden; box-shadow: var(--shadow); position: relative; }
.detail-cover img { aspect-ratio: 1; object-fit: cover; width: 100%; filter: grayscale(1) contrast(1.1); }
.detail-title { font-family: var(--serif); font-size: clamp(28px, 3.6vw, 46px); font-weight: 800; line-height: 1.12; margin: 14px 0 16px; }
.detail-meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); margin-bottom: 22px; }
.detail-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.detail-summary { color: var(--muted); font-size: 15px; max-width: 640px; }
.prose { max-width: 720px; }
.prose h2 { font-family: var(--serif); font-size: 26px; margin: 34px 0 14px; }
.prose h3 { font-family: var(--serif); font-size: 20px; margin: 26px 0 10px; }
.prose p { margin-bottom: 16px; font-size: 15.5px; }
.prose blockquote { border-left: 3px solid var(--red); padding: 8px 0 8px 22px; font-family: var(--serif); font-style: italic; font-size: 19px; margin: 24px 0; color: var(--ink-2); }
.prose img { border-radius: 3px; margin: 20px 0; filter: grayscale(1) contrast(1.08); }
.prose ul, .prose ol { margin: 0 0 16px 22px; }
.prose audio { width: 100%; margin: 18px 0; }
.transcript { background: var(--white); border: 1px solid var(--line); border-radius: 3px; padding: 28px; margin-top: 34px; }
.transcript h4 { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.transcript p { font-size: 13.5px; color: var(--muted); white-space: pre-line; }

.chart-list { display: flex; flex-direction: column; gap: 12px; }
.chart-row { display: flex; align-items: center; gap: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 3px; padding: 14px 22px; }
.chart-row.top3 { border-color: var(--red); }
.chart-pos { font-family: var(--serif); font-size: 30px; font-weight: 800; width: 48px; text-align: center; flex: none; }
.chart-row.top3 .chart-pos { color: var(--red); }
.chart-move { width: 44px; flex: none; text-align: center; font-size: 11px; font-weight: 800; }
.chart-move.up { color: #1D8A4E; }
.chart-move.down { color: var(--red); }
.chart-move.same, .chart-move.new { color: var(--muted); }
.chart-row img { width: 58px; height: 58px; object-fit: cover; border-radius: 2px; filter: grayscale(1) contrast(1.1); flex: none; }
.chart-info { flex: 1; min-width: 0; }
.chart-info h3 { font-family: var(--serif); font-size: 17px; font-weight: 700; }
.chart-info .ci-sub { font-size: 11.5px; color: var(--muted); }
.chart-plays { font-size: 12px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; flex: none; }
.chart-row .ep-play { position: static; flex: none; width: 44px; height: 44px; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin: 26px 0 34px; }
.chip { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; border: 1.5px solid var(--line); padding: 8px 16px; border-radius: 999px; transition: all .2s; }
.chip:hover { border-color: var(--red); color: var(--red); }
.chip.active { background: var(--red); border-color: var(--red); color: #fff; }

.pager { display: flex; justify-content: center; gap: 10px; margin-top: 44px; }
.pager button { min-width: 42px; height: 42px; border: 1.5px solid var(--line); border-radius: 2px; font-weight: 700; font-size: 13px; }
.pager button.active { background: var(--red); border-color: var(--red); color: #fff; }
.pager button:hover:not(.active) { border-color: var(--red); color: var(--red); }

.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); margin-top: 40px; }
.about-stat { background: var(--white); padding: 26px; text-align: center; }
.about-stat strong { font-family: var(--serif); font-size: 34px; font-weight: 800; color: var(--red); display: block; }
.about-stat span { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.empty-state { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty-state .star4 { font-size: 34px; margin-bottom: 14px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .episode-grid { grid-template-columns: repeat(2, 1fr); }
  .episodes-layout { grid-template-columns: 1fr; }
  .tunein { position: static; }
  .hosts-grid { grid-template-columns: repeat(2, 1fr); }
  .news-layout { grid-template-columns: 1fr 1fr; }
  .news-layout .news-featured { grid-column: 1 / -1; }
  .pod-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .sched-grid { grid-template-columns: repeat(4, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-card { left: 12px; }
  .voice-grid { grid-template-columns: 1fr; gap: 40px; }
  .detail-hero { grid-template-columns: 260px 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 18px; }
  .topbar-inner { padding: 0 14px; gap: 12px; }
  .tb-quality, .tb-time { display: none; }
  .tb-volume input[type=range] { display: none; }
  .main-nav { display: none; }
  .header-inner { gap: 12px; }
  .brand-word { font-size: 19px; }
  .ticker-inner { grid-template-columns: 1fr; padding: 0 18px; }
  .ticker-block { border-left: none; padding: 9px 0; border-top: 1px solid var(--line); }
  .ticker-block:first-child { border-top: none; }
  .section-pad { padding: 56px 0; }
  .hero { padding: 44px 0 60px; }
  .hero-card { position: static; margin-top: 16px; max-width: none; }
  .hero-circles { width: 140px; height: 140px; top: -24px; right: -24px; }
  .episode-grid { grid-template-columns: 1fr; }
  .shows-grid { grid-template-columns: 1fr; }
  .now-banner { grid-template-columns: 1fr; }
  .now-banner-img { aspect-ratio: 16/8; }
  .now-banner-body { padding: 26px; }
  .hosts-grid { grid-template-columns: 1fr; }
  .news-layout { grid-template-columns: 1fr; }
  .cats-grid { grid-template-columns: repeat(2, 1fr); }
  .fn-grid { grid-template-columns: 1fr; gap: 20px; }
  .fn-form { flex-direction: column; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .sched-grid { grid-template-columns: 1fr; }
  .sched-day { min-height: 0; }
  .pod-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .detail-hero { grid-template-columns: 1fr; }
  .detail-cover { max-width: 300px; }
  .rec-fields { grid-template-columns: 1fr; }
  .rec-actions { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; }
  .chart-row { gap: 12px; padding: 12px 14px; }
  .chart-plays { display: none; }
  .ep-row { flex-wrap: wrap; }
  .section-head { flex-direction: column; align-items: flex-start; }
}