:root {
  --ink: #10131f;
  --navy: #17224a;
  --violet: #6d4bd9;
  --sky: #50c7d8;
  --gold: #f5c35b;
  --paper: #fbf8ef;
  --muted: #687086;
  --line: rgba(16, 19, 31, .16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding-bottom: 6.5rem;
  color: var(--ink);
  background: linear-gradient(180deg, #f6fbff 0%, var(--paper) 48%, #ffffff 100%);
}

a { color: inherit; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  background: rgba(251,248,239,.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand, nav, .hero-actions, .links, footer { display: flex; align-items: center; gap: .85rem; flex-wrap: wrap; }
.brand { font-weight: 900; text-decoration: none; }
nav a { color: var(--muted); font-weight: 800; text-decoration: none; }
nav a:focus-visible, .button:focus-visible, audio:focus-visible, .links a:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 4px;
}

.hero {
  min-height: 88vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 34rem);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding: clamp(2rem, 6vw, 5rem);
  overflow: hidden;
}

.hero-copy { max-width: 50rem; }
.hero-copy {
  position: relative;
}

.hero-copy::after {
  content: "";
  position: absolute;
  top: -1.3rem;
  left: 0;
  width: min(18rem, 55vw);
  height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--sky), transparent);
}
.hero-art { width: min(100%, 34rem); filter: drop-shadow(0 28px 36px rgba(23,34,74,.22)); }
.eyebrow {
  margin: 0 0 .75rem;
  color: var(--violet);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 11ch;
  margin-bottom: 1rem;
  font-size: clamp(3.1rem, 9vw, 7.4rem);
  line-height: .92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: .8rem;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 { margin-bottom: .55rem; font-size: 1.15rem; }
.lede, .live p, article p, .share p { color: var(--muted); font-size: 1.06rem; line-height: 1.65; }
.lede { max-width: 40rem; }

.button {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: .86rem 1.1rem;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
}

.primary { color: white; background: var(--navy); }
.secondary { border: 1px solid var(--line); background: white; }
.dark { color: white; background: var(--ink); }

.live {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  padding: clamp(2rem, 6vw, 5rem);
  color: white;
  background: radial-gradient(circle at 80% 10%, rgba(80,199,216,.28), transparent 25rem), var(--navy);
}

.live .eyebrow { color: var(--gold); }
.live p { color: rgba(255,255,255,.76); }
.player-card {
  padding: 1.25rem;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  background: rgba(255,255,255,.1);
}

.hero-player {
  width: min(100%, 34rem);
  margin-top: 1.4rem;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.78);
  box-shadow: 0 20px 46px rgba(23,34,74,.12);
  backdrop-filter: blur(16px);
}

.hero-player .status {
  color: var(--muted);
}

.player-dock {
  position: fixed;
  right: clamp(.75rem, 3vw, 1.5rem);
  bottom: clamp(.75rem, 3vw, 1.5rem);
  left: clamp(.75rem, 3vw, 1.5rem);
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(10rem, .42fr) minmax(14rem, 1fr);
  align-items: center;
  gap: 1rem;
  padding: .85rem;
  color: white;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(23,34,74,.96), rgba(109,75,217,.92));
  box-shadow: 0 16px 38px rgba(23,34,74,.24);
  backdrop-filter: blur(18px);
}

.player-dock strong,
.player-dock span {
  display: block;
}

.player-dock span {
  color: rgba(255,255,255,.7);
  font-size: .86rem;
  font-weight: 800;
}

.stream-audio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.custom-player {
  display: grid;
  grid-template-columns: auto minmax(8rem, 1fr) minmax(8rem, .7fr);
  align-items: center;
  gap: .9rem;
  width: 100%;
}

.play-toggle {
  display: grid;
  place-items: center;
  width: 3.55rem;
  height: 3.55rem;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  color: white;
  background: radial-gradient(circle at 35% 30%, var(--sky), var(--violet) 68%, var(--navy));
  box-shadow: 0 0 0 .45rem rgba(80,199,216,.1), 0 16px 28px rgba(23,34,74,.22);
  cursor: pointer;
}

.play-toggle span {
  width: 0;
  height: 0;
  margin-left: .24rem;
  border-top: .6rem solid transparent;
  border-bottom: .6rem solid transparent;
  border-left: .9rem solid currentColor;
}

.play-toggle.is-playing span {
  width: .9rem;
  height: 1.1rem;
  margin-left: 0;
  border: 0;
  background: linear-gradient(90deg, currentColor 0 35%, transparent 35% 65%, currentColor 65%);
}

.player-meta strong,
.player-meta small,
.volume-control span {
  display: block;
}

.player-meta small {
  color: inherit;
  opacity: .72;
  font-weight: 800;
}

.live-dot {
  display: inline-block;
  width: .62rem;
  height: .62rem;
  margin-right: .35rem;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 .22rem rgba(245,195,91,.16);
}

.volume-control span {
  color: inherit;
  font-size: .7rem;
  font-weight: 900;
  opacity: .72;
  text-transform: uppercase;
}

.volume-control input {
  width: 100%;
  accent-color: var(--sky);
}

.play-toggle:focus-visible,
.volume-control input:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 4px;
}

.status { margin: .85rem 0; color: rgba(255,255,255,.82); font-weight: 800; }
.hero-player .status { color: var(--muted); }
.links a { color: var(--gold); font-weight: 900; }

.signal, .share { padding: clamp(2rem, 6vw, 5rem); }
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

article {
  min-height: 12rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.share {
  background: linear-gradient(135deg, #fbf8ef, #e8fbff);
  border-top: 1px solid var(--line);
}

.share p { max-width: 42rem; }
footer {
  justify-content: space-between;
  padding: 1.3rem clamp(1rem, 4vw, 3rem);
  color: var(--muted);
}

@media (max-width: 820px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .hero, .live { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-copy { order: -1; }
  .features { grid-template-columns: 1fr; }
  .player-dock,
  .custom-player {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .volume-control { grid-column: 1 / -1; }
}
