@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/source-sans-3-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/source-sans-3-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0a0a0c;
  --bg-alt: #101014;
  --surface: #16161b;
  --surface-2: #1d1d24;
  --ink: #ece8df;
  --muted: #a39e93;
  --gold: #c9a46a;
  --gold-soft: rgba(201, 164, 106, 0.18);
  --line: rgba(236, 232, 223, 0.12);
  --danger: #d7a08a;
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, "Iowan Old Style", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 68rem;
  --header-h: 4.25rem;
  --radius: 0.75rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(201, 164, 106, 0.08), transparent 55%),
    var(--bg);
  min-height: 100vh;
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

body > * { position: relative; z-index: 1; }

img, svg { max-width: 100%; display: block; }
cite { font-style: italic; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  color: var(--gold);
}

a {
  color: var(--gold);
  text-underline-offset: 0.18em;
}
a:hover { color: #e0c38a; }
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--gold);
  color: #1a140c;
  padding: 0.5rem 0.9rem;
  z-index: 100;
  font-weight: 600;
}
.skip-link:focus { top: 0.75rem; }

.wrap {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 10, 12, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}
.wordmark {
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.wordmark:hover { color: var(--gold); }
.aka {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.88em;
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  justify-content: flex-end;
}
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.site-nav a:hover { color: var(--gold); }

.hero {
  min-height: min(calc(100svh - var(--header-h)), 42rem);
  display: grid;
  align-items: center;
  padding: 4rem 0 5rem;
  border-bottom: 1px solid var(--line);
}
.hero-inner { max-width: 48rem; }
.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
}
.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.hero h1 .aka {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.42em;
  letter-spacing: 0.04em;
}
.tagline {
  margin: 1.5rem 0 0;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  color: var(--muted);
  max-width: 28em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2.25rem 0 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.65rem 1.25rem;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
}
.btn-gold {
  background: var(--gold);
  color: #1a140c;
}
.btn-gold:hover { background: #e0c38a; color: #1a140c; }
.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-head { max-width: 40rem; margin-bottom: 2.25rem; }
.section-head h2,
.not-found h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}
.lede { color: var(--muted); margin: 0.85rem 0 0; }

.player {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1.1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}
.player-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
}
.play-btn {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: var(--gold-soft);
  color: var(--gold);
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.play-btn:hover { background: rgba(201, 164, 106, 0.28); }
.play-btn .icon-pause { display: none; }
.play-btn.is-playing .icon-play { display: none; }
.play-btn.is-playing .icon-pause { display: block; }
.play-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.player-meta { min-width: 0; }
.player-kicker {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.player-now {
  margin: 0.15rem 0 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.player-time {
  margin: 0;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  font-size: 0.92rem;
  white-space: nowrap;
}
.time-sep { margin: 0 0.25rem; opacity: 0.6; }

.wave-wrap {
  position: relative;
  margin-top: 1rem;
  height: 88px;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #0c0c10;
  border: 1px solid var(--line);
}
.waveform {
  display: block;
  width: 100%;
  height: 88px;
}
.seek {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  appearance: none;
  background: transparent;
}
.seek:disabled { cursor: not-allowed; }
.player-status {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.player-status.is-error { color: var(--danger); }

.cues-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
  align-items: start;
}
.cue-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem 1.1rem;
}
.cue-panel h3 {
  margin: 0 0 0.9rem;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
}
.cue-list, .slot-list, .credit-list, .bio-list, .link-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cue-btn {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  color: inherit;
  cursor: pointer;
  padding: 0.7rem 0.15rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: baseline;
  font: inherit;
}
.cue-list li:first-child .cue-btn { border-top: 0; }
.cue-btn:hover { color: var(--gold); }
.cue-btn.is-active {
  color: var(--gold);
  background: var(--gold-soft);
  margin-inline: -0.5rem;
  padding-inline: 0.65rem;
  border-radius: 0.4rem;
}
.cue-index { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 0.85rem; }
.cue-title { font-weight: 600; }
.cue-time { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 0.85rem; }
.cue-source { display: block; font-weight: 400; color: var(--muted); font-size: 0.85rem; }
.empty-note, .fine-print {
  color: var(--muted);
  font-size: 0.92rem;
}
.fine-print { margin: 0.85rem 0 0; }
.slot-list li {
  border-top: 1px solid var(--line);
  padding: 0.75rem 0;
}
.slot-list li:first-child { border-top: 0; padding-top: 0; }
.slot-list h4 { margin: 0; font-size: 1rem; }
.slot-list p { margin: 0.25rem 0 0; color: var(--muted); font-size: 0.92rem; }

.credit-list, .bio-list {
  display: grid;
  gap: 1rem;
}
.credit-card, .bio-list li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem 1.2rem;
}
.credit-year {
  margin: 0 0 0.35rem;
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
}
.credit-card h3, .bio-list h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.2;
}
.credit-card p, .bio-list p { margin: 0.65rem 0 0; color: var(--muted); }
.credit-links { margin-top: 0.85rem !important; }
.slot-chip {
  display: inline-block;
  margin-top: 0.9rem;
  padding: 0.2rem 0.6rem;
  border: 1px dashed rgba(201, 164, 106, 0.45);
  border-radius: 999px;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.link-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 0.7rem 1.5rem;
}
.link-list a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding: 0.55rem 0;
  display: inline-block;
}
.link-list a:hover { color: var(--gold); border-color: var(--gold); }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  color: var(--muted);
}
.footer-inner p { margin: 0; }
.footer-brand { max-width: 22em; }
.footer-inner .fine-print { margin-top: 0.35rem; }

.not-found {
  min-height: 100svh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 2rem;
}

@media (max-width: 800px) {
  .header-inner { flex-direction: column; align-items: flex-start; padding: 0.7rem 0 0.85rem; }
  .site-nav { gap: 0.3rem 0.9rem; }
  .hero { min-height: auto; padding: 3rem 0 3.5rem; }
  .player-main { grid-template-columns: auto 1fr; }
  .player-time { grid-column: 1 / -1; }
  .cues-grid, .bio-list { grid-template-columns: 1fr; }
  .player-now { white-space: normal; }
}

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