:root {
  --bg: #100806;
  --surface: #1c1310;
  --line: #3a2c25;
  --ink: #f3e6d8;
  --cream: #e7d0ba;
  --muted: #a8968a;
  --accent: #f0b429; /* court-line yellow from the Close to Midnight cover */
  --court: #0f5a4c;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 4px;
  --sans: "Montserrat", system-ui, sans-serif;
  --mono: "Source Code Pro", ui-monospace, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: var(--gutter); top: -100px; z-index: 20;
  background: var(--accent); color: var(--bg); padding: 10px 16px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 10; background: rgb(16 8 6 / 0.85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.wordmark { font-family: var(--mono); font-weight: 600; font-size: 1.25rem; letter-spacing: 0.3em; text-transform: uppercase; text-decoration: none; color: var(--cream); padding: 10px 0; }
.nav { display: flex; gap: clamp(12px, 3vw, 32px); }
.nav a { font-family: var(--mono); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; color: var(--muted); padding: 12px 0; position: relative; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

/* Type */
.eyebrow { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin: 0 0 16px; }
h1, h2 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.02; margin: 0; }
h1 { font-size: clamp(2.6rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
.lede { color: var(--cream); font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 38ch; margin: 24px 0 0; }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: var(--radius);
  font: 600 0.95rem/1 var(--sans); text-decoration: none;
  border: 1px solid var(--accent); background: var(--accent); color: var(--bg);
  transition: transform .15s ease, background-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn--ghost { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn--ghost:hover { background: rgb(240 180 41 / 0.1); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Hero */
.hero { padding-block: calc(65px + clamp(32px, 6vh, 72px)) clamp(32px, 6vh, 72px); min-height: 100svh; display: flex; align-items: center; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.cover { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 1; background: var(--court); box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.8); }
.cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cover:hover img { transform: scale(1.03); }
.release-date { font-family: var(--mono); font-size: 0.85rem; color: var(--muted); margin: 16px 0 0; }

[data-enter] > .wrap > * { animation: enter .9s cubic-bezier(.2,.7,.2,1) both; }
[data-enter] > .wrap > *:nth-child(2) { animation-delay: .15s; }
@keyframes enter { from { opacity: 0; transform: translateY(16px); } }

/* Sections */
.section { padding-block: calc(65px + clamp(24px, 5vh, 56px)) clamp(48px, 8vh, 96px); border-top: 1px solid var(--line); min-height: 100svh; }
.listen-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.listen-grid .platforms { grid-template-columns: 1fr; }
.section-head { margin-bottom: 40px; }
.section-head p { color: var(--cream); margin: 12px 0 0; max-width: 40ch; }

.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Platform list */
.platforms { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.platform {
  display: flex; align-items: center; gap: 16px; min-height: 72px; padding: 16px 20px;
  border-radius: var(--radius); background: var(--surface);
  text-decoration: none; transition: transform .2s ease, background-color .2s;
}
.platform:hover { transform: translateY(-2px); background: #261a15; }
.platform svg { width: 28px; height: 28px; flex: none; }
.platform strong { display: block; font-weight: 600; }
.platform span { display: block; font-family: var(--mono); font-size: 0.8rem; color: var(--muted); }
.platform .arrow { margin-left: auto; color: var(--muted); transition: transform .2s, color .2s; }
.platform:hover .arrow { transform: translateX(3px); color: var(--accent); }

/* Links page */
.links-page { padding-block: calc(65px + clamp(32px, 8vh, 96px)) clamp(48px, 10vh, 112px); }
.links-page .wrap { max-width: 640px; }
.links-page h1 { font-size: clamp(2.4rem, 6vw, 4rem); text-align: center; }
.links-page .lede { text-align: center; margin-inline: auto; }
.links-page .platforms { grid-template-columns: 1fr; margin-top: 40px; }
.embed { margin-top: 32px; border-radius: 12px; overflow: hidden; }
.embed iframe { display: block; width: 100%; height: 152px; border: 0; }

/* Records page */
.records { min-height: 100svh; display: flex; align-items: center; padding-block: 145px 80px; }
.records h1 { font-size: clamp(3rem, 10vw, 8rem); }
.records .lede { max-width: 46ch; }
.records .lede strong { color: var(--accent); font-weight: 600; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 32px; font-family: var(--mono); font-size: 0.85rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.socials { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 0; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius); color: var(--muted); transition: color .2s, transform .2s, background-color .2s; }
.socials a:hover { color: var(--ink); background: var(--surface); transform: translateY(-2px); }
.socials svg { width: 20px; height: 20px; }
.site-footer a.mail { color: var(--cream); text-decoration: none; display: inline-block; padding: 12px 0; }
.site-footer a.mail:hover { color: var(--accent); }

@media (max-width: 820px) {
  .hero { min-height: 0; }
  .hero .wrap, .listen-grid { grid-template-columns: 1fr; }
  .cover { max-width: 520px; }
}
@media (max-width: 480px) {
  .hero { padding-block: calc(65px + 24px) 24px; }
  .hero .wrap { gap: 24px; }
  .cover { aspect-ratio: 4 / 3; }
  .actions { margin-top: 24px; }
  .nav a { font-size: 0.75rem; }
  .wordmark { letter-spacing: 0.2em; font-size: 1.05rem; }
  .actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
