:root {
  --ink: #070812;
  --ink-soft: #10111d;
  --paper: #f3f0e9;
  --white: #ffffff;
  --blue: #2924f2;
  --red: #ff2028;
  --cyan: #54e6ff;
  --line: rgba(255, 255, 255, 0.17);
  --pad: clamp(1.25rem, 4vw, 4.5rem);
  --header-height: 6.25rem;
  --player-height: 6rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--white);
  background: var(--ink);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { color: inherit; }
::selection { color: var(--white); background: var(--blue); }

.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;
  z-index: 200;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--ink);
  background: var(--white);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  z-index: 50;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: minmax(10rem, 1fr) auto minmax(10rem, 1fr);
  align-items: center;
  width: 100%;
  min-height: var(--header-height);
  padding: 1rem var(--pad);
  border-bottom: 1px solid var(--line);
}
.brand { width: clamp(10.5rem, 14vw, 14rem); }
.brand img { width: 100%; height: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.5vw, 3rem); }
.site-nav a {
  position: relative;
  padding: 0.65rem 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.site-nav a::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  content: "";
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}
.site-nav a:hover::after,
.site-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.header-listen {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 0.65rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 99px;
  background: rgba(5, 6, 13, 0.28);
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
  transition: border-color 180ms ease, background 180ms ease;
}
.header-listen:hover { border-color: var(--red); background: rgba(255, 32, 40, 0.15); }
.pulse {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(255, 32, 40, 0.7);
  animation: pulse 1.8s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(255, 32, 40, 0); } }
.menu-toggle { display: none; }

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #080914;
}
.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 6, 14, 0.98) 0%, rgba(5, 6, 14, 0.77) 42%, rgba(5, 6, 14, 0.08) 75%),
    linear-gradient(0deg, rgba(5, 6, 14, 0.82) 0%, transparent 42%);
}
.hero-image {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: url("images/studio-console.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.035);
  animation: hero-in 1.2s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes hero-in { from { opacity: 0; transform: scale(1.12); } }
.hero-glow {
  position: absolute;
  z-index: -1;
  top: 20%;
  left: 32%;
  width: 36vw;
  height: 36vw;
  border-radius: 50%;
  background: rgba(33, 30, 255, 0.14);
  filter: blur(60px);
}
.hero-content {
  width: min(57rem, 75vw);
  padding: calc(var(--header-height) + 3rem) var(--pad) calc(var(--player-height) + 4rem);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.eyebrow > span { width: 2rem; height: 2px; background: var(--red); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  margin-bottom: 1.4rem;
  font-size: clamp(3.8rem, 8.8vw, 9.25rem);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.82;
  text-transform: uppercase;
}
h1 em, h2 em { color: transparent; font-style: normal; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.72); }
.hero-copy {
  width: min(36rem, 90%);
  margin-bottom: 2.1rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.6;
}
.hero-actions { display: flex; align-items: center; gap: 1.8rem; }
.primary-action {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.4rem;
  border: 0;
  border-radius: 99px;
  background: var(--red);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 8px 30px rgba(255, 32, 40, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.primary-action:hover { transform: translateY(-2px); box-shadow: 0 12px 38px rgba(255, 32, 40, 0.42); }
.primary-action svg { width: 1.1rem; fill: currentColor; }
.text-action {
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255,255,255,.4);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.text-action span { color: var(--cyan); }
.hero-side {
  position: absolute;
  right: var(--pad);
  bottom: calc(var(--player-height) + 3rem);
  display: flex;
  align-items: center;
  gap: 1rem;
  writing-mode: vertical-rl;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.hero-side .line { width: 1px; height: 3.5rem; background: rgba(255,255,255,.4); }
.scroll-cue {
  position: absolute;
  right: 16%;
  bottom: calc(var(--player-height) + 2.3rem);
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: rotate(90deg);
  transform-origin: right center;
}
.scroll-line { width: 3rem; height: 1px; background: var(--white); }

.section-shell { width: min(100%, 92rem); margin-inline: auto; padding-inline: var(--pad); }
.intro {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(2rem, 6vw, 8rem);
  padding-top: clamp(6rem, 10vw, 11rem);
  padding-bottom: clamp(6rem, 10vw, 11rem);
}
.section-number {
  position: absolute;
  top: 4rem;
  right: var(--pad);
  color: rgba(255, 255, 255, 0.16);
  font-size: clamp(4rem, 10vw, 10rem);
  font-weight: 900;
  letter-spacing: -0.08em;
}
.intro h2, .stations h2, .programs h2, .contact h2, .manifesto h2 {
  font-size: clamp(3rem, 6vw, 6.7rem);
  line-height: 0.88;
}
.intro-copy { align-self: end; padding-bottom: 0.4rem; }
.intro-copy p {
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.75;
}
.intro-copy p:first-child { color: var(--white); font-size: clamp(1.25rem, 1.8vw, 1.7rem); line-height: 1.5; }

.stations { padding: clamp(5rem, 9vw, 9rem) 0; background: var(--paper); color: var(--ink); }
.section-topline { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; }
.stations .eyebrow, .programs .eyebrow { color: rgba(7, 8, 18, 0.58); }
.stations h2, .programs h2 { margin-bottom: 0; }
.stations h2 em, .programs h2 em { -webkit-text-stroke-color: rgba(7, 8, 18, 0.56); }
.section-note { margin-bottom: 0.4rem; color: rgba(7, 8, 18, 0.55); font-size: 0.72rem; font-weight: 800; letter-spacing: .12em; line-height: 1.6; text-align: right; text-transform: uppercase; }
.station-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.station-card {
  position: relative;
  min-height: clamp(25rem, 42vw, 40rem);
  overflow: hidden;
  background: #000;
  isolation: isolate;
}
.station-card img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms cubic-bezier(.2,.8,.2,1); }
.station-card::after { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(0deg, rgba(0,0,0,.84), rgba(0,0,0,0) 64%); }
.station-card:hover img { transform: scale(1.045); }
.station-overlay { position: absolute; right: 0; bottom: 0; left: 0; padding: clamp(1.5rem, 4vw, 3.2rem); color: var(--white); }
.station-overlay p { margin-bottom: .6rem; color: rgba(255,255,255,.66); font-size: .64rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.station-overlay h3 { margin-bottom: 1.15rem; font-size: clamp(2.2rem, 4vw, 4rem); letter-spacing: -.055em; line-height: .92; text-transform: uppercase; }
.station-overlay button {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: .8rem 1.15rem;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 99px;
  background: rgba(0,0,0,.3);
  cursor: pointer;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.station-overlay button:hover { border-color: var(--white); background: var(--white); color: var(--ink); }

.programs { padding-top: clamp(5rem, 9vw, 9rem); padding-bottom: clamp(7rem, 12vw, 12rem); background: var(--paper); color: var(--ink); }
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.8rem 1rem; }
.program-card { margin: 0; }
.program-card img { width: 100%; aspect-ratio: 1.7; object-fit: cover; filter: saturate(.9); transition: filter 250ms ease, transform 250ms ease; }
.program-card:hover img { filter: saturate(1.1); transform: translateY(-5px); }
.program-card > div { padding-top: 1rem; }
.program-card span { display: block; margin-bottom: .45rem; color: rgba(7,8,18,.5); font-size: .61rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.program-card h3 { margin-bottom: 0; font-size: clamp(1.25rem, 1.9vw, 1.75rem); letter-spacing: -.035em; }

.manifesto { position: relative; display: flex; align-items: center; min-height: min(88vh, 60rem); overflow: hidden; isolation: isolate; }
.manifesto::after { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(90deg, rgba(7,8,18,.98) 4%, rgba(7,8,18,.72) 55%, rgba(7,8,18,.2)); }
.manifesto-image { position: absolute; z-index: -2; inset: 0; background: url("images/turntable.jpg") center 55% / cover no-repeat; }
.manifesto-content { padding-top: 7rem; padding-bottom: 7rem; }
.manifesto-content p:not(.eyebrow) { width: min(33rem, 80%); color: rgba(255,255,255,.68); font-size: clamp(1rem, 1.5vw, 1.25rem); line-height: 1.65; }
.manifesto-content a { display: inline-block; margin-top: .6rem; padding-bottom: .7rem; border-bottom: 1px solid rgba(255,255,255,.5); font-size: .7rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.manifesto-content a span { color: var(--cyan); }

.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 9rem); padding-top: clamp(6rem, 10vw, 11rem); padding-bottom: clamp(8rem, 14vw, 13rem); }
.contact-list { border-top: 1px solid var(--line); }
.contact-list a { position: relative; display: grid; grid-template-columns: 8rem 1fr auto; align-items: center; gap: 1rem; min-height: 8.5rem; border-bottom: 1px solid var(--line); transition: background 180ms ease, padding 180ms ease; }
.contact-list a:hover { padding-inline: 1rem; background: rgba(255,255,255,.04); }
.contact-label { color: rgba(255,255,255,.45); font-size: .62rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.contact-list strong { font-size: clamp(1rem, 1.8vw, 1.55rem); line-height: 1.35; }
.contact-arrow { color: var(--cyan); font-size: 1.4rem; }

.site-footer { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2rem; padding: 3.5rem var(--pad) calc(var(--player-height) + 2.2rem); border-top: 1px solid var(--line); background: #04050b; }
.site-footer > img { grid-row: 1 / 3; width: clamp(10rem, 19vw, 18rem); }
.site-footer > p { margin-bottom: 0; color: rgba(255,255,255,.55); font-size: .67rem; font-weight: 800; letter-spacing: .16em; text-align: right; text-transform: uppercase; }
.site-footer > div { display: flex; gap: 1.5rem; color: rgba(255,255,255,.42); font-size: .65rem; text-transform: uppercase; }
.site-footer > div a:hover { color: var(--white); }

.audio-player {
  position: fixed;
  z-index: 100;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: auto minmax(12rem, 1fr) auto auto auto;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  min-height: var(--player-height);
  padding: .85rem var(--pad);
  border-top: 1px solid rgba(255,255,255,.2);
  background: rgba(6,7,15,.93);
  box-shadow: 0 -12px 50px rgba(0,0,0,.27);
  backdrop-filter: blur(24px);
}
.player-play { display: grid; place-items: center; width: 3.6rem; height: 3.6rem; border: 0; border-radius: 50%; background: var(--red); cursor: pointer; box-shadow: 0 6px 24px rgba(255,32,40,.26); }
.player-play svg { width: 1.35rem; fill: currentColor; }
.player-play .icon-pause { display: none; }
.audio-player.is-playing .player-play .icon-play { display: none; }
.audio-player.is-playing .player-play .icon-pause { display: block; }
.player-meta { display: grid; grid-template-columns: auto 1fr; align-items: center; width: max-content; }
.player-meta .live-label { grid-column: 1 / 3; display: flex; align-items: center; gap: .42rem; margin-bottom: .26rem; color: var(--red); font-size: .56rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.live-label i { width: .4rem; height: .4rem; border-radius: 50%; background: currentColor; }
.player-meta strong { padding-right: .65rem; font-size: .88rem; }
.player-meta > span:last-child { color: rgba(255,255,255,.45); font-size: .67rem; }
.player-meta > span:last-child::before { padding-right: .65rem; content: "—"; }
.equalizer { display: flex; align-items: center; gap: 3px; height: 1.4rem; }
.equalizer i { width: 3px; height: 25%; background: var(--cyan); animation: equalize .8s ease-in-out infinite alternate; animation-play-state: paused; }
.equalizer i:nth-child(2) { height: 70%; animation-delay: -.2s; }
.equalizer i:nth-child(3) { height: 45%; animation-delay: -.4s; }
.equalizer i:nth-child(4) { height: 90%; animation-delay: -.1s; }
.equalizer i:nth-child(5) { height: 55%; animation-delay: -.3s; }
.is-playing .equalizer i { animation-play-state: running; }
@keyframes equalize { to { height: 100%; } }
.volume-control { display: flex; align-items: center; gap: .65rem; }
.volume-control svg { width: 1.1rem; fill: rgba(255,255,255,.65); }
.volume-control input { width: clamp(4rem, 7vw, 7rem); accent-color: var(--cyan); }
.stream-source { color: rgba(255,255,255,.32); font-size: .57rem; font-weight: 800; letter-spacing: .12em; }

button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }

@media (max-width: 960px) {
  :root { --header-height: 5.2rem; --player-height: 5rem; }
  .site-header { grid-template-columns: 1fr auto; }
  .header-listen { display: none; }
  .menu-toggle { position: relative; z-index: 2; display: grid; gap: 5px; width: 2.9rem; height: 2.9rem; padding: .72rem; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(0,0,0,.2); }
  .menu-toggle span { display: block; width: 100%; height: 2px; background: var(--white); transition: transform 180ms ease, opacity 180ms ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: .4rem; padding: 7rem var(--pad); background: rgba(7,8,18,.98); visibility: hidden; opacity: 0; transform: translateY(-1rem); transition: opacity 180ms ease, transform 180ms ease, visibility 180ms; }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: translateY(0); }
  .site-nav a { font-size: clamp(2rem, 8vw, 4rem); letter-spacing: -.04em; line-height: 1; text-transform: none; }
  .intro, .contact { grid-template-columns: 1fr; }
  .station-grid { grid-template-columns: 1fr; }
  .station-card { min-height: 34rem; }
  .program-grid { grid-template-columns: repeat(2, 1fr); }
  .scroll-cue, .hero-side { display: none; }
  .audio-player { grid-template-columns: auto 1fr auto; gap: 1rem; }
  .equalizer, .stream-source { display: none; }
  .volume-control input { width: 5rem; }
}

@media (max-width: 620px) {
  :root { --pad: 1.15rem; --player-height: 4.9rem; }
  .site-header { padding-block: .8rem; }
  .brand { width: 9.5rem; }
  .hero { align-items: end; min-height: 46rem; }
  .hero::after { background: linear-gradient(0deg, rgba(5,6,14,.99) 4%, rgba(5,6,14,.55) 57%, rgba(5,6,14,.38)); }
  .hero-image { background-position: 61% center; }
  .hero-content { width: 100%; padding-top: 8rem; padding-bottom: calc(var(--player-height) + 3.5rem); }
  h1 { font-size: clamp(3rem, 14vw, 4.2rem); }
  .hero-copy { width: 100%; font-size: .98rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .section-topline { align-items: flex-start; flex-direction: column; }
  .section-note { text-align: left; }
  .section-number { top: 1.5rem; }
  .station-card { min-height: 29rem; }
  .station-q1 img { object-position: 50% center; }
  .program-grid { grid-template-columns: 1fr; gap: 2rem; }
  .manifesto { min-height: 43rem; }
  .manifesto::after { background: linear-gradient(0deg, rgba(7,8,18,.98) 8%, rgba(7,8,18,.46)); }
  .manifesto-image { background-position: 65% center; }
  .manifesto-content { align-self: end; }
  .contact-list a { grid-template-columns: 1fr auto; gap: .7rem; min-height: 7.5rem; padding-block: 1.2rem; }
  .contact-label { grid-column: 1 / 3; }
  .contact-list strong { overflow-wrap: anywhere; }
  .contact-arrow { grid-column: 2; grid-row: 2; }
  .site-footer { grid-template-columns: 1fr; align-items: start; }
  .site-footer > img { grid-row: auto; }
  .site-footer > p { text-align: left; }
  .site-footer > div { flex-direction: column; gap: .6rem; }
  .audio-player { grid-template-columns: auto minmax(0, 1fr); min-height: var(--player-height); padding-block: .55rem; }
  .player-play { width: 3.25rem; height: 3.25rem; }
  .player-meta { display: block; width: auto; min-width: 0; }
  .player-meta .live-label { display: flex; margin-bottom: .2rem; }
  .player-meta strong { display: block; overflow: hidden; padding: 0; font-size: .82rem; text-overflow: ellipsis; white-space: nowrap; }
  .player-meta > span:last-child { display: block; overflow: hidden; margin-top: .18rem; text-overflow: ellipsis; white-space: nowrap; }
  .player-meta > span:last-child::before { display: none; }
  .volume-control { display: none; }
}

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