:root {
  --night: #0a1218;
  --night-2: #121c26;
  --ink: #f0e6d4;
  --muted: #b7a894;
  --sand: #ead9c0;
  --sea: #2a8a82;
  --coral: #e07a45;
  --gold: #c9a36a;
  --line: rgba(234, 217, 192, 0.14);
  --display: "Cormorant Garamond", "Palatino Linotype", serif;
  --sans: "Outfit", system-ui, sans-serif;
  --pad: clamp(1.2rem, 5vw, 4.5rem);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--night);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.65;
  letter-spacing: 0.01em;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 40;
  padding: 0.55rem 0.9rem;
  background: var(--sand);
  color: var(--night);
}
.skip-link:focus { top: 1rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem var(--pad);
  background: rgba(10, 18, 24, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 0.38em;
  flex-shrink: 1;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.brand strong,
.brand span {
  font-family: var(--display);
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.brand span {
  margin: 0;
  color: var(--gold);
}

.site-nav { display: flex; flex-wrap: wrap; gap: 0.2rem 1.25rem; }
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--sand); }

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 1.25rem;
  height: 1px;
  margin: 6px auto;
  background: var(--sand);
}

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 18, 24, 0.92) 0%, rgba(10, 18, 24, 0.25) 48%, rgba(10, 18, 24, 0.2) 100%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 0 var(--pad) 4.5rem;
  max-width: 52rem;
}
.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--coral);
  font-size: 0.74rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.2rem, 9vw, 7.4rem);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.03em;
}
.lede {
  max-width: 36rem;
  margin: 1.3rem 0 0;
  color: var(--sand);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}
.years {
  display: flex;
  gap: 1.4rem;
  margin-top: 2rem;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* Layout */
.wrap { width: min(1180px, calc(100% - 2 * var(--pad))); margin-inline: auto; }
.section { padding: 5.5rem var(--pad); }
.section-tight { padding: 4rem var(--pad); }
.band { background: var(--night-2); }
.rule { border-top: 1px solid var(--line); }

.kicker {
  margin: 0 0 0.8rem;
  color: var(--sea);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
h2 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 500;
  line-height: 1.08;
}
h3 {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 500;
}
.prose {
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.05rem;
}
.prose p + p { margin-top: 1rem; }
.prose strong, .prose a { color: var(--sand); font-weight: 500; }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
.split.reverse { grid-template-columns: 0.95fr 1.05fr; }
.split.reverse .copy { order: 2; }
.frame {
  overflow: hidden;
  border: 1px solid var(--line);
}
.frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.caption {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

/* Chapters / cards */
.chapters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.chapter {
  position: relative;
  min-height: 22rem;
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  isolation: isolate;
}
.chapter img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.chapter:hover img { transform: scale(1.05); }
.chapter::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 18, 24, 0.88), rgba(10, 18, 24, 0.15));
}
.chapter-copy {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.3rem;
}
.chapter-copy small {
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.68rem;
}
.chapter-copy h3 { margin: 0.25rem 0 0; }
.chapter-copy p {
  margin: 0.35rem 0 0;
  color: var(--sand);
  font-size: 0.92rem;
}

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1.5rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
}
.timeline time {
  color: var(--coral);
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.timeline h3 { font-size: 1.45rem; }
.timeline p { margin: 0; color: var(--muted); }

/* Clubs */
.club-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}
.club {
  padding: 1.5rem 1.4rem 1.6rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.club .when {
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.club p { margin: 0.5rem 0 0; color: var(--muted); }

/* Quote */
.pull {
  max-width: 38rem;
  margin: 0 auto;
  text-align: center;
}
.pull blockquote {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  font-style: italic;
  line-height: 1.25;
}
.pull cite {
  display: block;
  margin-top: 1rem;
  color: var(--muted);
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Form */
.note-form {
  display: grid;
  gap: 1rem;
  max-width: 30rem;
  margin-top: 1.6rem;
}
.note-form label {
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.note-form input,
.note-form textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  background: rgba(234, 217, 192, 0.04);
  color: var(--sand);
  font: inherit;
  text-transform: none;
  letter-spacing: 0;
}
.note-form input:focus,
.note-form textarea:focus { outline: 1px solid var(--sea); }
.note-form button {
  justify-self: start;
  padding: 0.85rem 1.4rem;
  border: 0;
  background: var(--sand);
  color: var(--night);
  font: inherit;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}
.form-status { min-height: 1.3em; margin: 0; color: var(--sea); }

.radio-deck {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  max-width: 36rem;
  margin-top: 1.8rem;
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.radio-play {
  flex-shrink: 0;
  min-width: 8.5rem;
  padding: 0.85rem 1.1rem;
  border: 0;
  background: var(--sand);
  color: var(--night);
  font: inherit;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}
.radio-play[aria-pressed="true"] {
  background: var(--coral);
  color: var(--sand);
}
.radio-name {
  margin: 0;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 500;
}
.radio-state {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}
.honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.here-wall { margin-top: 2.4rem; }
.here-year { margin-top: 2.2rem; }
.here-year h3 {
  margin: 0 0 0.9rem;
  color: var(--coral);
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 500;
}
.here-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.here-card {
  padding: 1.2rem 1.2rem 1.3rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.here-card.is-pending { border-style: dashed; }
.here-card header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.8rem;
  align-items: baseline;
  margin-bottom: 0.55rem;
}
.here-card strong {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 500;
}
.here-card p { margin: 0; color: var(--muted); }
.here-flag {
  color: var(--gold);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Crate */
.crate {
  display: grid;
  grid-template-columns: minmax(16rem, 0.9fr) 1.3fr;
  gap: 2rem;
  margin-top: 2rem;
  align-items: start;
}
.crate-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.crate-list button {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0.35rem 0.8rem;
  width: 100%;
  padding: 0.85rem 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.crate-list li:last-child button { border-bottom: 1px solid var(--line); }
.crate-list button[aria-current="true"] { color: var(--sand); }
.crate-n {
  grid-row: 1 / 3;
  color: var(--coral);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  padding-top: 0.35rem;
}
.crate-title {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 500;
}
.crate-meta { color: var(--muted); font-size: 0.82rem; }
.crate-stage { min-width: 0; }
.listen-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #111;
}
.listen-frame.is-yt { aspect-ratio: 16 / 9; }
.listen-frame iframe,
.listen-frame img {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}
.crate-poster {
  position: relative;
  height: 100%;
  min-height: 12rem;
}
.crate-poster button {
  position: absolute;
  inset: auto 1rem 1rem auto;
  padding: 0.7rem 1.1rem;
  border: 0;
  background: var(--sand);
  color: var(--night);
  font: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
.crate-story { margin-top: 1.1rem; }
.crate-story h3 {
  margin: 0 0 0.2rem;
  font-size: 1.8rem;
}
.crate-story .crate-meta { margin-bottom: 0.7rem; }
.crate-story p { margin: 0; color: var(--muted); }
.listen-note {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}
.listen-note a { color: var(--sand); }

/* Footer */
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.6rem var(--pad) 2.2rem;
  border-top: 1px solid var(--line);
}
.site-footer p { margin: 0; }
.muted { color: var(--muted); }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s ease forwards;
}
@keyframes rise {
  to { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .split,
  .split.reverse,
  .chapters,
  .club-grid,
  .crate,
  .here-cards { grid-template-columns: 1fr; }
  .split.reverse .copy { order: 0; }
  .timeline li { grid-template-columns: 1fr; gap: 0.35rem; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto 0;
    flex-direction: column;
    gap: 0;
    padding: 0.4rem var(--pad) 1rem;
    background: rgba(10, 18, 24, 0.96);
    border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.65rem 0; }
  .site-footer { flex-direction: column; }
  .chapter { min-height: 16rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .chapter img { transition: none; }
  .reveal { opacity: 1; transform: none; animation: none; }
}
