:root {
  color-scheme: dark;
  --bg: #060606;
  --text: #f0ece6;
  --muted: #9b958e;
  --dim: #6f6962;
  --line: rgba(240, 236, 230, 0.14);
  --panel: rgba(18, 17, 16, 0.72);
  --orange: #d7773e;
  --red: #9c3e2f;
  --max: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    radial-gradient(circle at 76% 18%, rgba(215, 119, 62, 0.16), transparent 30rem),
    var(--bg);
  background-size: 48px 48px, 48px 48px, auto, auto;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(180deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 5px),
    linear-gradient(180deg, transparent, rgba(0,0,0,0.52));
  mix-blend-mode: screen;
  opacity: 0.28;
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  padding: 0.7rem 1rem;
  background: var(--text);
  color: #060606;
  z-index: 10;
}

.skip-link:focus {
  left: 1rem;
}

.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;
}

.vhf-header,
.vhf-section,
.vhf-footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.vhf-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  backdrop-filter: blur(18px);
}

.vhf-brand,
.vhf-header nav,
.back-link,
.signal-note,
.section-index,
.archive-grid,
.palette-strip,
dt,
.pending,
.small-note {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.vhf-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0;
}

.vhf-header nav {
  display: flex;
  gap: 0.35rem;
  padding: 0.25rem;
  border: 1px solid var(--line);
  background: rgba(6, 6, 6, 0.65);
}

.vhf-header nav a,
.back-link {
  padding: 0.48rem 0.7rem;
  color: var(--muted);
  font-size: 0.76rem;
}

.vhf-header nav a:hover,
.back-link:hover {
  color: var(--text);
  background: rgba(255,255,255,0.06);
}

.back-link {
  border: 1px solid var(--line);
  background: rgba(6, 6, 6, 0.65);
}

.vhf-hero {
  position: relative;
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: end;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(3rem, 9vw, 8rem) 0 4rem;
}

.hero-image {
  position: absolute;
  inset: 2.4rem 0 0;
  border: 1px solid var(--line);
  overflow: hidden;
  z-index: -2;
  background: #0a0908;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6,6,6,0.96), rgba(6,6,6,0.68) 42%, rgba(6,6,6,0.18)),
    linear-gradient(180deg, rgba(6,6,6,0.2), rgba(6,6,6,0.94));
}

.hero-image img {
  width: 100%;
  height: 100%;
  min-height: 580px;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.05);
}

.hero-copy {
  max-width: 720px;
  padding: 0 0 2rem clamp(0rem, 3vw, 3rem);
}

.signal-note,
.section-index {
  margin: 0 0 0.85rem;
  color: var(--orange);
  font-size: 0.78rem;
  text-transform: uppercase;
}

h2,
p {
  margin-top: 0;
}

.hero-logo {
  width: min(15rem, 38vw);
  margin: 0 0 1.2rem -0.65rem;
  filter:
    drop-shadow(0 0 10px rgba(92, 255, 98, 0.3))
    drop-shadow(0 0 26px rgba(92, 255, 98, 0.16));
}

.subtitle {
  margin-bottom: 1.5rem;
  color: var(--orange);
  font-size: clamp(1.35rem, 3vw, 2.3rem);
  line-height: 1.06;
}

.intro {
  max-width: 650px;
  margin-bottom: 0.85rem;
  color: #d7d0c8;
  font-size: clamp(1.02rem, 1.6vw, 1.25rem);
}

.secondary {
  color: var(--muted);
}

.vhf-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-top: 1px solid var(--line);
}

.transmission,
.about,
.official,
.archive {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
}

.text-column {
  max-width: 760px;
}

.text-column p {
  color: #d2cbc3;
  font-size: 1.08rem;
}

.text-column p:not(:last-child) {
  margin-bottom: 1.1rem;
}

h2 {
  max-width: 700px;
  margin-bottom: 1rem;
  color: var(--text);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  font-weight: 680;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.archive-grid span,
.palette-strip span {
  min-height: 3.4rem;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: #bfb8b0;
  padding: 0.7rem 0.8rem;
  font-size: 0.78rem;
}

.palette-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.palette-strip span {
  min-height: 2.8rem;
}

.official-card {
  border: 1px solid rgba(215, 119, 62, 0.28);
  background:
    linear-gradient(135deg, rgba(215, 119, 62, 0.08), transparent 48%),
    var(--panel);
  padding: 1.2rem;
}

dl {
  display: grid;
  gap: 0;
  margin: 0;
}

dl > div {
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}

dl > div:last-child {
  border-bottom: 0;
}

dt {
  color: var(--dim);
  font-size: 0.78rem;
  text-transform: uppercase;
}

dd {
  margin: 0;
  color: var(--text);
}

dd a {
  color: var(--orange);
  overflow-wrap: anywhere;
}

.spotify-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(215, 119, 62, 0.36);
  background: rgba(215, 119, 62, 0.09);
  color: var(--text);
}

.spotify-link:hover {
  border-color: rgba(240, 236, 230, 0.4);
  background: rgba(215, 119, 62, 0.16);
}

.pending {
  color: var(--orange);
}

.small-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.vhf-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.vhf-footer p {
  margin: 0;
}

.vhf-footer a {
  color: var(--orange);
}

@media (max-width: 860px) {
  .vhf-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .vhf-header nav {
    order: 3;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .vhf-header nav a {
    text-align: center;
  }

  .vhf-hero {
    min-height: auto;
    padding-top: 2rem;
  }

  .hero-image {
    position: relative;
    inset: auto;
    height: 360px;
    margin-bottom: 2rem;
  }

  .hero-image::after {
    background: linear-gradient(180deg, rgba(6,6,6,0.1), rgba(6,6,6,0.8));
  }

  .hero-copy {
    padding: 0;
  }

  .transmission,
  .about,
  .official,
  .archive {
    grid-template-columns: 1fr;
  }

  .archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .vhf-header,
  .vhf-section,
  .vhf-footer,
  .vhf-hero {
    width: min(100% - 24px, var(--max));
  }

  .vhf-header nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .back-link {
    display: none;
  }

  h1 {
    font-size: clamp(5rem, 28vw, 8rem);
  }

  .hero-logo {
    width: min(10.5rem, 46vw);
    margin-left: -0.35rem;
  }

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

  dl > div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .vhf-footer {
    flex-direction: column;
  }
}
