:root {
  --ink: #07130b;
  --ink-soft: #0d1d12;
  --panel: #112619;
  --line: #294132;
  --paper: #fff8df;
  --muted: #a1aa9f;
  --green: #18a558;
  --acid: #f6c915;
  --gold: #f6c915;
  --red: #d62929;
  --rasta: linear-gradient(90deg, var(--red) 0 33.333%, var(--gold) 33.333% 66.666%, var(--green) 66.666% 100%);
  --max: 1240px;
  --gutter: clamp(20px, 4vw, 64px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 82% 5%, rgba(24, 165, 88, 0.09), transparent 28rem),
    radial-gradient(circle at 12% 42%, rgba(214, 41, 41, 0.07), transparent 32rem),
    var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--acid);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: var(--max);
  min-height: 94px;
  margin: 0 auto;
  padding: 20px var(--gutter);
  border-bottom: 1px solid var(--line);
}

.site-header::before {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: 6px;
  background: var(--rasta);
  content: "";
}

.brand {
  width: min(238px, 48vw);
}

.brand img,
.site-footer img {
  display: block;
  width: 100%;
  height: auto;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a,
.text-link {
  text-decoration: none;
}

.nav a {
  color: #c3c9c3;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav a:hover,
.nav a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: var(--acid);
}

.transmission-pill {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 9px;
  padding: 7px 11px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 14px var(--green);
}

.transmission-pill.is-live .status-dot {
  background: var(--red);
  box-shadow: 0 0 14px var(--red);
  animation: pulse 1.2s ease-in-out infinite;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.82fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
  max-width: var(--max);
  min-height: 720px;
  margin: 0 auto;
  padding: clamp(68px, 9vw, 126px) var(--gutter);
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0 48% 0 0;
  z-index: -1;
  opacity: 0.33;
  background-image:
    linear-gradient(rgba(246, 201, 21, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 165, 88, 0.13) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to right, black, transparent 90%);
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--acid);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.live-copy h2 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.88;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 680px;
  font-size: clamp(64px, 8.3vw, 120px);
}

.hero h1 span {
  display: inline-block;
}

.hero h1 .hero-red {
  color: var(--red);
  text-shadow: 0 7px 34px rgba(214, 41, 41, 0.18);
}

.hero h1 .hero-gold {
  color: var(--gold);
  text-shadow: 0 7px 34px rgba(246, 201, 21, 0.14);
}

.hero h1 .hero-green {
  color: transparent;
  -webkit-text-stroke: 2px var(--green);
  text-stroke: 2px var(--green);
}

.hero-intro {
  max-width: 570px;
  margin: 34px 0 25px;
  color: #b9c0ba;
  font-size: clamp(16px, 1.5vw, 20px);
}

.text-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.text-link span {
  color: var(--acid);
  font-size: 20px;
}

.player-shell {
  position: relative;
  min-width: 0;
  padding: 20px;
  background:
    linear-gradient(145deg, rgba(24, 165, 88, 0.08), transparent 45%),
    linear-gradient(145deg, #152b1d, #0b1a10);
  border: 1px solid #38533f;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.45);
}

.player-shell::before {
  position: absolute;
  inset: 10px;
  z-index: 0;
  pointer-events: none;
  border: 1px solid rgba(246, 201, 21, 0.1);
  content: "";
}

.player-shell::after {
  position: absolute;
  inset: 0 0 auto;
  z-index: 3;
  height: 5px;
  background: var(--rasta);
  content: "";
}

.player-topline,
.now-playing,
.transport {
  position: relative;
  z-index: 2;
}

.player-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.on-air-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  color: var(--ink);
  background: var(--acid);
  font-weight: 900;
}

.on-air-label.is-live {
  color: #fff;
  background: var(--red);
}

.listener-count {
  color: #859187;
}

.record-wrap {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 338px;
  overflow: hidden;
}

.record {
  position: relative;
  z-index: 2;
  width: min(252px, 63vw);
  aspect-ratio: 1;
  background: repeating-radial-gradient(circle, #101611 0, #101611 2px, #1e2920 3px, #111812 4px);
  border: 1px solid #324035;
  border-radius: 50%;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.5);
}

.player-shell.is-playing .record {
  animation: spin 8s linear infinite;
}

.record::after {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  content: "";
}

.record-label {
  position: absolute;
  inset: 33%;
  z-index: 3;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: conic-gradient(from 0deg, var(--red) 0 33.333%, var(--gold) 33.333% 66.666%, var(--green) 66.666% 100%);
  border-radius: 50%;
  font-family: Impact, sans-serif;
  line-height: 1;
}

.record-label::after {
  position: absolute;
  width: 10%;
  aspect-ratio: 1;
  background: var(--ink);
  border-radius: 50%;
  content: "";
}

.record-label span {
  padding: 5px 8px;
  color: var(--paper);
  background: var(--ink);
  font-size: 22px;
  letter-spacing: 0.04em;
  transform: translateY(-12px);
}

.record-label small {
  padding: 3px 5px;
  color: var(--paper);
  background: var(--ink);
  font-family: ui-monospace, monospace;
  font-size: 8px;
  letter-spacing: 0.05em;
  transform: translateY(13px);
}

.echo-ring {
  position: absolute;
  border: 1px solid rgba(24, 165, 88, 0.24);
  border-radius: 50%;
}

.echo-ring-one {
  width: 320px;
  height: 320px;
}

.echo-ring-two {
  width: 390px;
  height: 390px;
}

.player-shell.is-playing .echo-ring {
  animation: echo 2.6s ease-out infinite;
}

.player-shell.is-playing .echo-ring-two {
  animation-delay: 1.3s;
}

.now-playing {
  min-width: 0;
  padding: 18px 2px 20px;
  border-top: 1px solid var(--line);
}

.meta-label {
  display: block;
  margin-bottom: 7px;
  color: var(--acid);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.now-playing h2 {
  margin: 0;
  overflow: hidden;
  font-size: clamp(21px, 2.2vw, 30px);
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.now-playing p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.transport {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.play-button {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding: 0;
  color: var(--ink);
  background: var(--acid);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.play-button:hover,
.play-button:focus-visible {
  box-shadow: 0 0 0 7px rgba(246, 201, 21, 0.12);
  transform: scale(1.05);
}

.play-button svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.pause-icon,
.is-playing .play-icon {
  display: none;
}

.is-playing .pause-icon {
  display: block;
}

.transport-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.transport-copy strong {
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.transport-copy span {
  overflow: hidden;
  color: #78857b;
  font-family: ui-monospace, monospace;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.volume-control {
  display: flex;
  align-items: center;
  gap: 7px;
}

.volume-control svg {
  width: 18px;
  fill: #77847a;
}

.volume-control input {
  width: 70px;
  accent-color: var(--acid);
  cursor: pointer;
}

.ticker {
  overflow: hidden;
  color: var(--ink);
  background: var(--rasta);
  border-block: 1px solid var(--ink);
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 25px;
  align-items: center;
  padding: 13px 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 1px rgba(255, 255, 255, 0.16);
  animation: ticker 28s linear infinite;
}

.ticker-track i {
  font-style: normal;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(88px, 11vw, 150px) var(--gutter);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.1fr 0.75fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 60px;
}

.section-heading h2,
.live-copy h2 {
  font-size: clamp(51px, 7vw, 92px);
}

.section-heading > p,
.live-copy > p:not(.eyebrow):not(.live-time) {
  margin: 0;
  color: #9ca59e;
  font-size: 16px;
}

.schedule-list {
  border-top: 1px solid var(--line);
}

.schedule-row {
  display: grid;
  grid-template-columns: 0.65fr 0.8fr 1.4fr 1.3fr auto;
  gap: 24px;
  align-items: center;
  min-height: 86px;
  padding: 18px 2px;
  border-bottom: 1px solid var(--line);
  transition: padding 180ms ease, background 180ms ease;
}

.schedule-row:hover {
  padding-inline: 16px;
  background: var(--ink-soft);
}

.schedule-row.is-today {
  box-shadow: inset 4px 0 var(--green);
}

.schedule-day,
.schedule-time {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.schedule-day {
  color: var(--acid);
  font-weight: 800;
}

.schedule-time,
.schedule-note {
  color: #7f8b82;
}

.schedule-title {
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 800;
}

.schedule-note {
  font-size: 12px;
}

.live-badge {
  padding: 6px 8px;
  color: #fff;
  background: var(--red);
  font-family: ui-monospace, monospace;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sounds-section {
  border-top: 1px solid var(--line);
}

.sound-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.sound-card {
  position: relative;
  min-height: 370px;
  overflow: hidden;
  color: var(--paper);
  background: var(--panel);
  border: 1px solid var(--line);
}

.sound-card-art {
  position: relative;
  display: grid;
  place-items: center;
  height: 228px;
  overflow: hidden;
  background:
    radial-gradient(circle, rgba(246, 201, 21, 0.08), transparent 55%),
    #15291b;
}

.sound-card-art::before,
.sound-card-art::after {
  position: absolute;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  opacity: 0.28;
}

.sound-card-art::before {
  width: 180px;
  height: 180px;
}

.sound-card-art::after {
  width: 280px;
  height: 280px;
}

.sound-card:nth-child(2) .sound-card-art::before,
.sound-card:nth-child(2) .sound-card-art::after {
  border-radius: 0;
  transform: rotate(28deg);
}

.sound-card:nth-child(3) .sound-card-art::before {
  width: 60px;
  height: 220px;
  border-width: 10px;
  border-radius: 0;
  transform: skew(-13deg);
}

.sound-card-art.green { color: var(--green); }
.sound-card-art.gold { color: var(--gold); }
.sound-card-art.red { color: var(--red); }

.sound-card-number {
  position: relative;
  z-index: 2;
  color: currentColor;
  font-family: Impact, sans-serif;
  font-size: 90px;
  line-height: 1;
}

.sound-card-body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 21px;
}

.sound-card h3 {
  margin: 0;
  font-size: 18px;
}

.sound-card p {
  margin: 5px 0 0;
  color: #7e8981;
  font-family: ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.preview-button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--ink);
  background: var(--paper);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.preview-button:hover,
.preview-button:focus-visible,
.preview-button.is-active {
  background: var(--acid);
}

.preview-button svg {
  width: 20px;
  fill: currentColor;
}

.session-status {
  align-self: center;
  padding: 8px 10px;
  color: var(--ink);
  background: var(--acid);
  font-family: ui-monospace, monospace;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.videos-section { border-top: 1px solid var(--line); }
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.video-card { overflow: hidden; background: var(--panel); border: 1px solid var(--line); }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: #020604; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card-copy { display: flex; gap: 15px; align-items: center; padding: 18px 20px; }
.video-card-copy span { color: var(--acid); font-family: ui-monospace, monospace; font-size: 11px; font-weight: 900; }
.video-card-copy h3 { margin: 0; font-size: 17px; }

.live-hour {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 620px;
  border-block: 1px solid var(--line);
}

.live-art,
.live-copy {
  min-width: 0;
  padding: clamp(60px, 8vw, 120px);
}

.live-art {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  color: var(--ink);
  background:
    linear-gradient(180deg, transparent 0 31%, rgba(7, 19, 11, 0.12) 31% 32%, transparent 32% 65%, rgba(7, 19, 11, 0.12) 65% 66%, transparent 66%),
    linear-gradient(180deg, var(--red) 0 33.333%, var(--gold) 33.333% 66.666%, var(--green) 66.666% 100%);
}

.live-art::after {
  position: absolute;
  right: -23%;
  bottom: -43%;
  width: 560px;
  height: 560px;
  border: 65px solid rgba(11, 22, 15, 0.12);
  border-radius: 50%;
  content: "";
}

.live-art-small {
  font-family: ui-monospace, monospace;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.live-art strong,
.live-art-outline {
  position: relative;
  z-index: 2;
  font-family: Impact, sans-serif;
  font-size: clamp(90px, 13vw, 200px);
  letter-spacing: -0.04em;
  line-height: 0.8;
}

.live-art-outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
  font-size: clamp(54px, 8vw, 120px);
}

.live-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--ink-soft);
}

.live-time {
  margin: 24px 0 20px;
  color: var(--acid);
  font-family: ui-monospace, monospace;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-chain {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 36px;
  color: #8d9990;
  font-family: ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-chain span {
  padding: 8px 10px;
  border: 1px solid var(--line);
}

.signal-chain i {
  color: var(--acid);
  font-style: normal;
}

.manifesto {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--max);
  margin: 0 auto;
  padding: 52px var(--gutter);
  color: #69756c;
  font-family: ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.manifesto p {
  margin: 0;
  padding: 10px;
  border-right: 1px solid var(--line);
}

.manifesto p:last-child {
  border: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: 190px 1fr auto;
  gap: 34px;
  align-items: center;
  padding: 42px var(--gutter);
  background:
    linear-gradient(90deg, var(--red) 0 33.333%, var(--gold) 33.333% 66.666%, var(--green) 66.666% 100%) top / 100% 5px no-repeat,
    #050e08;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
  color: #7b877e;
  font-size: 11px;
}

.footer-legal {
  justify-self: end;
}

.player-error {
  color: var(--red) !important;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes echo {
  0% { opacity: 0; transform: scale(0.75); }
  20% { opacity: 0.45; }
  100% { opacity: 0; transform: scale(1.15); }
}

@keyframes pulse {
  50% { opacity: 0.38; }
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    inset: 0;
  }

  .player-shell {
    width: min(600px, 100%);
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .schedule-row {
    grid-template-columns: 0.75fr 0.75fr 1.4fr auto;
  }

  .schedule-note {
    display: none;
  }

  .sound-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .sound-card {
    display: grid;
    grid-template-columns: minmax(220px, 0.75fr) 1fr;
    min-height: 230px;
  }

  .sound-card-art {
    height: 100%;
  }

  .live-hour {
    grid-template-columns: 1fr;
  }

  .live-art {
    min-height: 510px;
  }

  .manifesto {
    grid-template-columns: 1fr;
  }

  .manifesto p {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .site-footer {
    grid-template-columns: 190px 1fr;
  }

  .footer-legal {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 76px;
  }

  .transmission-pill {
    padding: 6px;
  }

  .transmission-pill span:last-child {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 62px;
  }

  .hero h1 {
    font-size: clamp(55px, 18vw, 78px);
  }

  .player-shell {
    padding: 15px;
  }

  .record-wrap {
    min-height: 285px;
  }

  .record {
    width: 215px;
  }

  .listener-count {
    max-width: 145px;
    overflow: hidden;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .transport {
    grid-template-columns: auto 1fr;
  }

  .volume-control {
    grid-column: 1 / -1;
  }

  .volume-control input {
    width: 100%;
  }

  .schedule-row {
    grid-template-columns: 1fr auto;
    gap: 5px 16px;
    padding: 18px 10px;
  }

  .schedule-title {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .schedule-day,
  .schedule-time {
    grid-row: 2;
  }

  .live-badge {
    position: absolute;
    right: 28px;
  }

  .sound-card {
    display: block;
  }

  .sound-card-art {
    height: 230px;
  }

  .live-art,
  .live-copy {
    padding: 60px 24px;
  }

  .live-art {
    min-height: 390px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-legal {
    grid-column: auto;
  }
}

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