:root {
  color-scheme: light;
  --paper: #f2f0e9;
  --ink: #18251e;
  --forest: #203f32;
  --acid: #d8f45b;
  --orange: #d76336;
  --muted: #626b61;
  --line: #c9cdc0;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-bottom: 120px;
}

body {
  margin: 0;
  padding-bottom: 110px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--acid);
  color: var(--ink);
}

a {
  color: inherit;
  text-underline-offset: 5px;
}

button,
input {
  font: inherit;
}

button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

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

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
}

.shell,
.container {
  width: min(1280px, calc(100% - 96px));
  margin-inline: auto;
}

.site-header,
main,
.site-footer {
  width: min(1280px, calc(100% - 96px));
  margin-inline: auto;
}

.shell > .site-header,
.shell > main,
.shell > .site-footer,
.container > .site-header,
.container > main,
.container > .site-footer,
main .container,
main .shell {
  width: 100%;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 20px;
  transform: translateY(-160%);
  background: var(--acid);
  color: var(--ink);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 36px;
  min-height: 104px;
  border-bottom: 1px solid var(--ink);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: inline-grid;
  width: 35px;
  height: 35px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--forest);
  border-radius: 50%;
  background: var(--forest);
  color: var(--acid);
}

.brand-mark:empty::before,
.brand-mark:empty::after {
  position: absolute;
  content: "";
  border: 1px solid var(--acid);
  border-radius: 50%;
}

.brand-mark:empty::before {
  width: 21px;
  height: 21px;
}

.brand-mark:empty::after {
  width: 7px;
  height: 7px;
  background: var(--acid);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.site-nav a {
  padding-block: 10px;
  border-bottom: 2px solid transparent;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-bottom-color: var(--ink);
}

.header-status,
.eyebrow,
.live-tag,
.station-meta,
.tags,
.session-time,
.player-live {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
  line-height: 1.5;
  text-transform: uppercase;
}

.header-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-left: 24px;
  border-left: 1px solid var(--line);
  white-space: nowrap;
}

.header-status::before,
.live-tag::before,
.player-live::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--orange);
  content: "";
}

.mobile-menu {
  display: none;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--ink);
  background: transparent;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 64px;
  padding-block: 64px 80px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  display: block;
  margin-bottom: 24px;
  color: var(--forest);
}

.hero-copy h1 {
  margin-bottom: 28px;
  font-family: var(--serif);
  font-size: clamp(72px, 7.8vw, 108px);
  font-weight: 400;
  letter-spacing: -6px;
  line-height: 0.96;
}

.hero-copy h1 em,
.page-heading h1 em {
  font-weight: 400;
}

.lede,
.hero-copy > p:not(.eyebrow) {
  max-width: 430px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 24px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.button.primary,
.button--primary,
.button-primary {
  background: var(--ink);
  color: var(--paper);
}

.button.secondary,
.button--secondary,
.button-secondary {
  background: transparent;
  color: var(--ink);
}

.button:hover {
  background: var(--acid);
  color: var(--ink);
}

.hero-art {
  position: relative;
  isolation: isolate;
  display: grid;
  aspect-ratio: 1;
  min-width: 0;
  place-items: center;
  overflow: hidden;
  background: var(--forest);
  color: var(--paper);
}

.hero-art::before {
  position: absolute;
  inset: 20px;
  border: 1px solid rgb(242 240 233 / 22%);
  content: "";
}

.record-label {
  position: absolute;
  z-index: 2;
  inset: 34%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  color: var(--ink);
  font-size: clamp(12px, 1.5vw, 22px);
  font-weight: 900;
  line-height: 1;
}

.record-label span {
  margin-top: 10px;
  font-size: 7px;
  letter-spacing: 1px;
}

.art-caption {
  position: absolute;
  top: 83px;
  left: 30px;
  right: 30px;
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: 1px;
}

.record {
  position: relative;
  width: 77%;
  aspect-ratio: 1;
  border: 2px solid #101d17;
  border-radius: 50%;
  background: #14261e;
  box-shadow: 0 0 0 12px #1b3026, 0 0 0 13px #536449;
  animation: vinyl-spin 24s linear infinite;
  animation-play-state: paused;
}

.record::before {
  position: absolute;
  inset: 8%;
  border: 1px solid #3a4a39;
  border-radius: 50%;
  box-shadow: 0 0 0 8px #14261e, 0 0 0 9px #344633,
    0 0 0 18px #14261e, 0 0 0 19px #344633;
  content: "";
}

.record::after {
  position: absolute;
  inset: 34%;
  border: 5px solid var(--acid);
  border-radius: 50%;
  background: var(--acid);
  box-shadow: inset 0 0 0 35px var(--acid), inset 0 0 0 42px var(--ink);
  content: "";
}

body.is-playing .record,
body .is-playing .record {
  animation-play-state: running;
}

.orbit-label {
  position: absolute;
  z-index: 1;
  right: 30px;
  bottom: 29px;
  left: 30px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-align: right;
  text-transform: uppercase;
}

.live-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  background: var(--acid);
  color: var(--ink);
}

.hero-art > .live-tag {
  position: absolute;
  z-index: 2;
  top: 30px;
  left: 30px;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--ink);
}

.section-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 400;
  letter-spacing: -1.5px;
}

.section-heading > a,
.section-heading > span {
  font-size: 11px;
  font-weight: 700;
}

.station-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 72px;
}

[hidden],
.station-grid [hidden] {
  display: none !important;
}

.station-card {
  min-width: 0;
  border: 1px solid var(--line);
  background: #f7f5ef;
}

.station-art {
  position: relative;
  isolation: isolate;
  display: grid;
  aspect-ratio: 1.5;
  place-items: center;
  overflow: hidden;
  background: #bda052;
  color: var(--ink);
}

.station-art::before {
  position: absolute;
  width: 63%;
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 8px rgb(24 37 30 / 14%), 0 0 0 9px currentColor;
  content: "";
}

.station-art::after {
  position: absolute;
  width: 16%;
  aspect-ratio: 1;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--acid);
  content: "";
}

.art-groove {
  background: #ccab53;
}

.art-groove::before {
  transform: translate(24%, 15%);
}

.art-groove::after {
  transform: translate(94%, 59%);
  background: #e87742;
}

.art-ambient {
  background: var(--forest);
  color: #8fa385;
}

.art-ambient::before {
  width: 56%;
  border: 1px solid #a4b79a;
  background: transparent;
  box-shadow: 0 0 0 14px var(--forest), 0 0 0 15px #6e896b,
    0 0 0 30px var(--forest), 0 0 0 31px #6e896b;
}

.art-ambient::after {
  width: 12%;
}

.art-jazz {
  background: #a94f3c;
  color: #e8b095;
}

.art-jazz::before {
  width: 71%;
  transform: translate(-34%, 28%);
}

.art-jazz::after {
  transform: translate(-151%, 124%);
  background: #edcda0;
}

.station-art > * {
  position: relative;
  z-index: 1;
}

.station-number,
.station-art-label {
  position: absolute;
  left: 20px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
}

.station-number {
  top: 17px;
}

.station-art-label {
  bottom: 17px;
}

.station-record {
  font-size: 28px;
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -1px;
  color: var(--paper);
}

.card-body {
  padding: 24px;
}

.station-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
  color: var(--muted);
  font-size: 9px;
}

.card-body h3 {
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.8px;
}

.card-body > p {
  min-height: 48px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  list-style: none;
  font-size: 9px;
  letter-spacing: 0.7px;
}

.tags > * {
  padding: 4px 8px;
  border: 1px solid var(--line);
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  font-weight: 700;
}

.play-station,
.player-toggle {
  display: inline-flex;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  transition: background-color 160ms ease;
}

.play-station:hover,
.play-station[aria-pressed="true"] {
  background: var(--acid);
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin-block: 64px;
  padding-block: 36px;
  border-block: 1px solid var(--line);
}

.feature + .feature {
  padding-left: 32px;
  border-left: 1px solid var(--line);
}

.feature h3 {
  margin-block: 16px 10px;
  font-size: 15px;
  font-weight: 700;
}

.feature p {
  max-width: 310px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.page-heading {
  max-width: 850px;
  padding-block: 64px 40px;
}

.page-heading h1 {
  margin-bottom: 24px;
  font-family: var(--serif);
  font-size: 76px;
  font-weight: 400;
  letter-spacing: -4px;
}

.page-heading > p:not(.eyebrow) {
  max-width: 600px;
  color: var(--muted);
  font-size: 17px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  padding-block: 20px;
  border-block: 1px solid var(--line);
}

.filter-button {
  min-height: 44px;
  padding: 10px 19px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  font-size: 11px;
  font-weight: 700;
}

.filter-button:hover {
  border-color: var(--ink);
}

.filter-button[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--acid);
}

.guide-grid,
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-bottom: 64px;
}

.session {
  position: relative;
  padding: 30px;
  border-top: 2px solid var(--ink);
  background: #e8e8dd;
}

.session-time {
  display: block;
  margin-bottom: 22px;
  color: var(--forest);
}

.session h2,
.session h3 {
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
  letter-spacing: -1px;
}

.session p {
  color: var(--muted);
  font-size: 14px;
}

.prose {
  max-width: 680px;
  font-size: 17px;
  line-height: 1.85;
}

.prose h2 {
  margin-block: 36px 20px;
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 400;
  letter-spacing: -1px;
}

.prose p {
  margin-bottom: 24px;
}

.about-grid {
  align-items: start;
  gap: 64px;
}

.manifesto {
  padding: 44px;
  background: var(--forest);
  color: var(--paper);
}

.manifesto .eyebrow {
  color: var(--acid);
}

.manifesto h2,
.manifesto blockquote {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: clamp(34px, 3.5vw, 50px);
  font-weight: 400;
  letter-spacing: -1.5px;
  line-height: 1.15;
}

.manifesto p {
  color: #c9d3bf;
  font-size: 14px;
}

.notice {
  margin-block: 24px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 64px 24px;
  border: 1px dashed var(--line);
  color: var(--muted);
  text-align: center;
}

.empty-state h2,
.empty-state h3 {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 28px 36px;
  border-top: 1px solid var(--ink);
  color: var(--muted);
  font-size: 11px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--ink);
}

.player {
  position: fixed;
  z-index: 50;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  min-height: 90px;
  align-items: center;
  gap: 32px;
  padding: 16px max(32px, calc((100vw - 1280px) / 2));
  padding-bottom: max(16px, env(safe-area-inset-bottom));
  border-top: 1px solid #425046;
  background: var(--ink);
  color: var(--paper);
}

.player-station {
  display: flex;
  min-width: 0;
  flex: 1 1 260px;
  align-items: center;
  gap: 14px;
}

.player-art {
  position: relative;
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  place-items: center;
  overflow: hidden;
  background: #ccab53;
}

.player-art:empty::before {
  width: 36px;
  height: 36px;
  border: 12px solid var(--ink);
  border-radius: 50%;
  background: var(--orange);
  content: "";
}

.player-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-copy {
  min-width: 0;
}

.player-copy strong,
.player-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-copy strong {
  font-size: 13px;
  font-weight: 700;
}

.player-copy small {
  margin-top: 3px;
  color: #b5beb0;
  font-size: 11px;
}

.transport {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 20px;
}

.transport > button:not(.player-toggle) {
  display: grid;
  min-width: 44px;
  min-height: 44px;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--paper);
}

.player-toggle {
  width: 50px;
  height: 50px;
  border-color: var(--acid);
  background: var(--acid);
  color: var(--ink);
}

.player-toggle:hover {
  background: var(--paper);
  border-color: var(--paper);
}

.volume-control {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  color: #b5beb0;
  font-size: 11px;
}

.volume-control input {
  width: 96px;
  min-height: 32px;
  accent-color: var(--acid);
  cursor: pointer;
}

.player-status {
  max-width: 180px;
  color: #b5beb0;
  font-size: 11px;
}

.player-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.player-live::before {
  background: var(--acid);
}

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

@media (min-width: 761px) and (max-width: 1050px) {
  .shell,
  .container,
  .site-header,
  main,
  .site-footer {
    width: calc(100% - 64px);
  }

  .site-header {
    gap: 24px;
  }

  .site-nav {
    gap: 20px;
  }

  .header-status {
    display: none;
  }

  .hero {
    gap: 36px;
  }

  .hero-copy h1 {
    font-size: 78px;
    letter-spacing: -4px;
  }

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

  .feature-row {
    gap: 24px;
  }

  .feature + .feature {
    padding-left: 24px;
  }

  .about-grid {
    gap: 32px;
  }

  .player {
    gap: 24px;
  }

  .player-status {
    display: none;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: calc(110px + env(safe-area-inset-bottom));
  }

  .shell,
  .container,
  .site-header,
  main,
  .site-footer {
    width: calc(100% - 40px);
  }

  .site-header {
    min-height: 80px;
    gap: 16px;
  }

  .brand {
    font-size: 20px;
  }

  .mobile-menu {
    display: inline-grid;
    place-items: center;
    margin-left: auto;
  }

  .header-status {
    display: none;
  }

  .site-nav {
    position: absolute;
    z-index: 20;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px;
    border: 1px solid var(--ink);
    background: var(--paper);
  }

  .site-nav.is-open {
    display: flex;
    flex-direction: column;
  }

  .site-nav a {
    min-height: 48px;
    padding-block: 14px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    padding-block: 40px 52px;
  }

  .hero-copy {
    order: 0;
  }

  .hero-art {
    order: 1;
  }

  .eyebrow {
    margin-bottom: 20px;
  }

  .hero-copy h1,
  .page-heading h1 {
    font-size: 64px;
    letter-spacing: -3.5px;
  }

  .hero-copy > p:not(.eyebrow),
  .lede {
    font-size: 16px;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .button {
    padding-inline: 20px;
  }

  .section-heading {
    gap: 16px;
    margin-bottom: 24px;
  }

  .section-heading h2 {
    font-size: 34px;
  }

  .station-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin-bottom: 48px;
  }

  .card-body > p {
    min-height: 0;
  }

  .feature-row,
  .guide-grid,
  .about-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    margin-block: 40px;
  }

  .feature + .feature {
    padding-top: 24px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .feature p {
    max-width: none;
  }

  .page-heading {
    padding-block: 40px 24px;
  }

  .filter-row {
    gap: 7px;
  }

  .filter-button {
    padding-inline: 15px;
  }

  .session,
  .manifesto {
    padding: 28px;
  }

  .prose {
    font-size: 16px;
  }

  .site-footer {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 16px;
    padding-block: 24px;
  }

  .player {
    min-height: 82px;
    gap: 14px;
    padding: 14px 20px max(14px, env(safe-area-inset-bottom));
  }

  .player-station {
    flex-basis: 0;
    gap: 10px;
  }

  .player-art {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .player-copy strong {
    font-size: 12px;
  }

  .player-copy small {
    font-size: 10px;
  }

  .transport {
    gap: 8px;
  }

  .player-toggle {
    width: 46px;
    height: 46px;
  }

  .volume-control,
  .player-status,
  .player-live,
  .transport > button:not(.player-toggle) {
    display: none;
  }
}

@media (max-width: 360px) {
  .hero-copy h1,
  .page-heading h1 {
    font-size: 56px;
    letter-spacing: -3px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
