:root {
  color-scheme: dark;
  --ink: #101311;
  --ink-soft: #171c19;
  --paper: #f7f4ec;
  --muted: #a9b0aa;
  --line: rgba(255, 255, 255, 0.12);
  --orange: #ff7214;
  --orange-light: #ffad70;
  --green: #00a859;
  --green-dark: #067643;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font: inherit; }

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-150%);
  background: #fff;
  color: #111;
  padding: 10px 14px;
  border-radius: 8px;
}
.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid var(--orange-light);
  outline-offset: 4px;
}

.site-shell { min-height: 100vh; overflow: hidden; }
.site-header {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .06em;
}
.brand img { width: 54px; height: 54px; object-fit: contain; }
.brand strong { color: var(--orange); }
.brand small { display: block; color: var(--muted); font-size: .67rem; letter-spacing: .24em; }
.site-header nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 36px); }
.site-header nav a { color: #d9ded9; text-decoration: none; font-size: .9rem; font-weight: 700; }
.site-header nav a:hover { color: #fff; }
.site-header .nav-contact {
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
}

.hero {
  position: relative;
  isolation: isolate;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .75fr);
  align-items: center;
  gap: clamp(30px, 6vw, 90px);
  padding: 72px 0;
}
.hero-background {
  position: absolute;
  inset: 0 -20vw;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(16,19,17,.98) 10%, rgba(16,19,17,.82) 52%, rgba(16,19,17,.55)),
    url("../images/studio.jpg") center / cover no-repeat;
  opacity: .78;
}
.hero-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 45%, rgba(255,114,20,.18), transparent 36%);
}
.hero-copy { max-width: 690px; position: relative; z-index: 2; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--orange-light);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .72rem;
  font-weight: 900;
}
.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 6px rgba(255,114,20,.12);
}
.hero h1 {
  margin: 0;
  max-width: 770px;
  font-size: clamp(3.5rem, 7.4vw, 7.2rem);
  line-height: .88;
  letter-spacing: -.065em;
  text-transform: uppercase;
}
.hero h1 em { color: var(--orange); font-style: normal; }
.intro { max-width: 610px; margin: 28px 0 34px; color: #d4dad5; font-size: clamp(1rem, 1.5vw, 1.18rem); }

.player-card {
  display: grid;
  grid-template-columns: auto minmax(160px, 1fr) minmax(140px, .55fr);
  align-items: center;
  gap: 20px;
  max-width: 690px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  background: rgba(14,17,15,.76);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}
.play-button {
  width: 68px;
  height: 68px;
  border: 0;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  cursor: pointer;
  font-size: 1.35rem;
  box-shadow: 0 10px 35px rgba(255,114,20,.28);
  transition: transform .2s ease, background .2s ease;
}
.play-button:hover { transform: scale(1.05); background: #ff8538; }
.play-button[disabled] { cursor: wait; opacity: .7; }
.now-playing { min-width: 0; display: grid; gap: 2px; }
.meta-label { color: var(--orange-light); font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; }
.now-playing strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1.05rem; }
.now-playing > span:last-child { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .82rem; }
.volume-control label { display: flex; justify-content: space-between; color: var(--muted); font-size: .72rem; font-weight: 700; }
.volume-control input { width: 100%; accent-color: var(--orange); cursor: pointer; }
.player-status { min-height: 1.4em; margin: 10px 0 0 88px; color: var(--muted); font-size: .78rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; text-decoration: none; font-weight: 850; font-size: .88rem; }
.button-primary { background: var(--green); color: #fff; }
.button-primary:hover { background: #08bd67; }
.button-secondary { border: 1px solid rgba(255,255,255,.24); background: rgba(255,255,255,.04); }
.button-secondary:hover { background: rgba(255,255,255,.1); }

.host-visual { align-self: stretch; position: relative; display: flex; align-items: flex-end; justify-content: center; min-height: 560px; }
.host-visual::before {
  content: "";
  position: absolute;
  width: min(38vw, 470px);
  aspect-ratio: 1;
  bottom: 48px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--orange), #a63d00);
  box-shadow: 0 30px 90px rgba(255,114,20,.25);
}
.host-visual img { position: relative; z-index: 1; max-height: 610px; width: 100%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 24px 35px rgba(0,0,0,.5)); }
.frequency { position: absolute; top: 40px; right: -5px; color: rgba(255,255,255,.08); font-size: clamp(6rem, 13vw, 11rem); font-weight: 950; letter-spacing: -.08em; }
.host-caption { position: absolute; right: 0; bottom: 30px; z-index: 2; min-width: 190px; padding: 14px 18px; background: #fff; color: var(--ink); border-radius: 16px 0 16px 16px; box-shadow: var(--shadow); }
.host-caption span { display: block; color: var(--green-dark); text-transform: uppercase; letter-spacing: .12em; font-size: .62rem; font-weight: 900; }
.host-caption strong { display: block; margin-top: 2px; font-size: .92rem; }

.schedule-section { width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding: 88px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 30px; }
.section-heading h2 { margin: 0; font-size: clamp(2rem, 5vw, 4rem); letter-spacing: -.045em; }
.section-heading .eyebrow { margin-bottom: 8px; }
.schedule-date { color: var(--muted); text-align: right; }
.schedule-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.schedule-item { position: relative; min-height: 170px; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--ink-soft); }
.schedule-item time { color: var(--orange-light); font-size: .78rem; font-weight: 850; letter-spacing: .08em; }
.schedule-item h3 { margin: 22px 0 5px; font-size: 1.05rem; }
.schedule-item p { margin: 0; color: var(--muted); font-size: .82rem; }
.schedule-item.is-live { border-color: var(--orange); background: linear-gradient(145deg, rgba(255,114,20,.17), var(--ink-soft)); }
.schedule-item.is-live::after { content: "LIVE"; position: absolute; top: 18px; right: 18px; padding: 4px 8px; border-radius: 999px; background: var(--orange); font-size: .58rem; font-weight: 950; letter-spacing: .12em; }
.schedule-message, .schedule-error { color: var(--muted); }
.schedule-error { margin-top: 16px; color: #ffbd9b; }

.contact-strip { width: min(1240px, calc(100% - 40px)); margin: 0 auto 70px; padding: 24px 0; display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.contact-strip > div { padding: 10px 28px; border-right: 1px solid var(--line); }
.contact-strip > div:first-child { padding-left: 0; }
.contact-strip > div:last-child { border-right: 0; }
.contact-strip span { display: block; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; font-size: .62rem; font-weight: 850; }
.contact-strip a { display: block; margin-top: 6px; text-decoration: none; font-weight: 800; overflow-wrap: anywhere; }
.site-footer { width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding: 28px 0 40px; display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: .78rem; }
.site-footer p { margin: 0; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 54px; }
  .host-visual { min-height: 460px; max-width: 560px; width: 100%; margin: 0 auto; }
  .host-visual::before { width: min(70vw, 440px); }
  .frequency { right: 4%; }
}

@media (max-width: 680px) {
  .site-header { min-height: 74px; width: min(100% - 28px, 1240px); }
  .brand img { width: 44px; height: 44px; }
  .brand span { font-size: .82rem; }
  .site-header nav > a:first-child { display: none; }
  .site-header nav { gap: 12px; }
  .site-header nav a { font-size: .76rem; }
  .site-header .nav-contact { padding: 8px 11px; }
  .hero, .schedule-section, .contact-strip, .site-footer { width: min(100% - 28px, 1240px); }
  .hero { min-height: auto; padding: 50px 0; }
  .hero h1 { font-size: clamp(3.2rem, 17vw, 5.2rem); }
  .player-card { grid-template-columns: auto 1fr; padding: 14px; }
  .volume-control { grid-column: 1 / -1; }
  .player-status { margin-left: 0; }
  .host-visual { min-height: 390px; }
  .host-visual img { max-height: 430px; }
  .host-caption { right: 5px; bottom: 8px; }
  .section-heading { align-items: start; flex-direction: column; }
  .schedule-date { text-align: left; }
  .schedule-list { grid-template-columns: 1fr; }
  .schedule-item { min-height: 140px; }
  .contact-strip { grid-template-columns: 1fr; }
  .contact-strip > div { padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .contact-strip > div:last-child { border-bottom: 0; }
  .site-footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
