:root {
  --ink: #ece3cf;          /* main text (light on dark) */
  --bg: #15131a;
  --surface: #1e1b24;
  --rule: #332e3b;
  --night: #0f0d14;
  --cream: #f6ecd6;
  --orange: #e8743a;
  --orange-dk: #c75a22;
  --denim: #8db3da;
  --gold: #ffcf6b;
  --muted: #a39bab;
  --slab: "Rockwell", "Roboto Slab", "Zilla Slab", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.55; }
h1, h2, h3 { font-family: var(--slab); line-height: 1.1; margin: 0 0 .4em; }
.kicker { text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 700; color: var(--orange); margin: 0 0 .6em; }

/* ---------- hero ---------- */
.hero {
  position: relative; color: var(--cream); display: grid; place-items: center;
  min-height: min(88vh, 760px); padding: 5rem 1.25rem 4rem;
  background: linear-gradient(180deg, rgba(15,13,20,.55) 0%, rgba(15,13,20,.35) 40%, var(--bg) 100%),
              url("img/hero.jpg") center 60% / cover no-repeat var(--night);
}
.hero-text { position: relative; z-index: 2; max-width: 52rem; margin: 0 auto; text-align: center; }
.hero h1 { font-size: clamp(2.1rem, 6vw, 4.2rem); text-shadow: 0 2px 18px rgba(0,0,0,.6); }
.hero h1 span { color: var(--gold); text-shadow: 0 0 18px rgba(255, 207, 107, .55); }
.tagline { font-size: clamp(1rem, 2.4vw, 1.25rem); opacity: .92; text-shadow: 0 1px 8px rgba(0,0,0,.7); margin: 0 0 1.4rem; }
.controls { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

.btn {
  display: inline-flex; align-items: center; gap: .5rem; font: 700 1rem var(--sans);
  padding: .75rem 1.2rem; border-radius: 999px; border: 2px solid currentColor;
  background: transparent; color: inherit; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn-primary { background: var(--orange); border-color: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dk); border-color: var(--orange-dk); }

/* ---------- tracks ---------- */
main { max-width: 74rem; margin: 0 auto; padding: 0 1.25rem; }
.section-head { text-align: center; max-width: 42rem; margin: 3.5rem auto 2rem; }
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
.section-head p:last-child { color: var(--muted); }

.tracklist { list-style: none; padding: 0; margin: 0 auto; max-width: 60rem; border-top: 3px solid var(--orange); }
.track { display: grid; grid-template-columns: 3rem 15rem 1fr auto; column-gap: 1.4rem; padding: 1.8rem 0; border-bottom: 1px solid var(--rule); }
.track-top { display: contents; }
.num { grid-column: 1; grid-row: 1 / span 6; font-family: var(--slab); font-size: 1.7rem; font-weight: 700; color: var(--orange); line-height: 1.2; }
.track figure { grid-column: 2; grid-row: 1 / span 6; margin: 0; }
.track img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; display: block; filter: saturate(.9) contrast(1.05); }
.len { grid-column: 4; grid-row: 1; font-family: var(--slab); font-size: .9rem; color: var(--muted); padding-top: .35rem; }
.track > :not(.track-top):not(figure) { grid-column: 3; }
.track h3 { font-size: clamp(1.25rem, 2.6vw, 1.55rem); margin: 0 0 .15rem; }
.place { font-weight: 700; color: var(--denim); margin: 0 0 .6rem; font-size: .95rem; letter-spacing: .02em; }
.track p { margin: 0 0 .6rem; }
.tip { font-style: italic; color: var(--muted); margin-bottom: 0 !important; }
.tip strong { font-style: normal; color: var(--orange); text-transform: uppercase; font-size: .75rem; letter-spacing: .12em; margin-right: .3rem; }
.hidden-track { margin-top: 2.5rem; border-top: 1px dashed var(--rule); border-bottom: 0; }
.hidden-track .len { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; }
@media (max-width: 760px) {
  .track { grid-template-columns: 2.4rem 1fr auto; column-gap: .9rem; }
  .num { grid-row: 1; }
  .track figure { grid-column: 1 / -1; grid-row: 2; margin: .2rem 0 1rem; }
  .len { grid-column: 3; }
  .track > :not(.track-top):not(figure) { grid-column: 1 / -1; }
  .track h3 { grid-column: 2 !important; grid-row: 1; }
}

/* ---------- jokes ---------- */
.banter { margin: 4rem 0; }
.jukebox {
  position: relative; text-align: center; color: var(--cream); padding: 2.5rem clamp(1.2rem, 5vw, 3.5rem);
  border-radius: 140px 140px 22px 22px; background: radial-gradient(circle at 50% 0%, #3a2638, var(--night) 70%);
  border: 6px solid var(--orange); box-shadow: inset 0 0 0 4px var(--gold), 0 18px 40px -18px rgba(0,0,0,.6);
}
.jukebox h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
.guitar { width: 64px; height: 64px; color: var(--orange); }
blockquote { font-family: var(--slab); font-size: clamp(1.15rem, 2.8vw, 1.6rem); margin: 1.2rem auto 1.5rem; max-width: 40rem; min-height: 4.5em; display: grid; place-items: center; }
blockquote.swap { animation: swap .35s ease; }
@keyframes swap { from { opacity: 0; transform: translateY(8px); } }
.jukebox-row { display: flex; gap: 1rem; justify-content: center; align-items: center; flex-wrap: wrap; }
.count { font-size: .9rem; opacity: .75; }

/* ---------- liner notes ---------- */
.liner { margin: 0 auto 4rem; max-width: 60rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.liner figure { margin: 0; }
.liner img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-position: center 60%; object-fit: cover; border-radius: 8px; display: block; }
.liner h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
.specs { margin: 1rem 0 0; border-top: 3px solid var(--orange); }
.specs div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--rule); }
.specs dt { font-family: var(--slab); font-weight: 700; color: var(--orange); }
.specs dd { margin: 0; }
@media (max-width: 760px) { .liner { grid-template-columns: 1fr; } .specs div { grid-template-columns: 1fr; gap: .1rem; } }

footer { background: var(--night); color: var(--cream); border-top: 1px solid var(--rule); text-align: center; padding: 2rem 1.25rem; }
footer p { margin: .2rem 0; } footer svg { width: 1em; height: 1em; vertical-align: -2px; color: var(--orange); }
footer .small { font-size: .82rem; opacity: .65; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

.credits { max-width: 60rem; margin: 1.2rem auto 0; font-size: .75rem; opacity: .6; text-align: left; }
.credits summary { cursor: pointer; text-align: center; }
.credits ul { columns: 2 22rem; padding-left: 1rem; }
.credits a { color: inherit; }
