/* Jesse Laffitte — nighttime motel / roadside
   Palette from the desert-dusk reference: teal-navy, cooling sky,
   red neon, cream shirt, warm tungsten spill. Re-derive from the
   real cover when it arrives. */

:root {
  --color-bg: #070b12;
  --color-bg-elevated: #101820;
  --color-ink: #f7efe4;
  --color-ink-muted: #c9d0d6;
  --color-ink-subtle: #9aa7b3;
  --color-neon: #ff3b3a;
  --color-neon-hot: #ffd0c8;
  --color-neon-soft: #ff6a62;
  --color-amber: #ffb45a;
  --color-tungsten: #f0b36a;
  --color-sky: #4b83a8;
  --color-teal: #0d1e28;
  --color-cream: #f7efe4;
  --color-paper: #f3e3c4;
  --color-ink-on-paper: #1c1410;
  --color-line: rgba(247, 239, 228, 0.14);
  --color-line-strong: rgba(247, 239, 228, 0.3);
  --color-link: #f0d8d0;

  --font-display: "Big Shoulders Display", "Arial Narrow", "Franklin Gothic Medium", Impact, sans-serif;
  --font-script: "Satisfy", "Segoe Script", "Snell Roundhand", cursive;
  --font-stamp: "Special Elite", "Courier Prime", "Courier New", ui-monospace, monospace;
  --font-serif: "EB Garamond", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --font-hand: "Caveat", "Segoe Script", cursive;

  --header-h: 4rem;
  --header-gap: 0.85rem;
  --space: 1.2rem;
  --max: 70rem;
  --audio-level: 0;
  --focus: 0 0 0 2px var(--color-bg), 0 0 0 4px var(--color-neon-hot);
}

@font-face {
  font-family: "Big Shoulders Display";
  src: url("/fonts/big-shoulders.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Satisfy";
  src: url("/fonts/satisfy.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Special Elite";
  src: url("/fonts/special-elite.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "EB Garamond";
  src: url("/fonts/eb-garamond.woff") format("woff");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "EB Garamond";
  src: url("/fonts/eb-garamond-italic.woff") format("woff");
  font-weight: 400 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Caveat";
  src: url("/fonts/caveat.woff") format("woff");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .dust, .neon-edge, .hero-video { display: none !important; }
  .reveal, html.js .reveal { opacity: 1 !important; transform: none !important; }
  .vinyl, .record { animation: none !important; transform: none !important; }
  .neon-text, .vacancy-sign, .wordmark-type, .mark-moth { animation: none !important; filter: none; }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--color-ink);
  background:
    radial-gradient(90% 60% at 100% 10%, rgba(255, 59, 58, 0.22), transparent 50%),
    radial-gradient(70% 50% at 0% 0%, rgba(75, 131, 168, 0.18), transparent 46%),
    linear-gradient(180deg, #142033 0%, #0a1018 38%, #070b12 100%);
  background-attachment: fixed;
}

body.player-visible {
  padding-bottom: calc(7.25rem + env(safe-area-inset-bottom, 0px));
}

img, video { max-width: 100%; height: auto; display: block; }
button, input, a { -webkit-tap-highlight-color: transparent; }
cite { font-style: italic; }

:focus { outline: none; }
:focus-visible { box-shadow: var(--focus); }

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -100%;
  z-index: 200;
  background: var(--color-ink);
  color: var(--color-bg);
  padding: 0.5rem 0.85rem;
  font-family: var(--font-stamp);
  font-weight: 400;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

.wrap {
  width: min(100% - (var(--space) * 2), var(--max));
  margin-inline: auto;
}

/* Atmosphere */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  opacity: 0.09;
  background: url("/assets/grain.png") repeat;
  mix-blend-mode: overlay;
}
.neon-edge {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(28vw, 18rem);
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(255, 59, 58, 0.16) 80%, rgba(255, 80, 70, 0.28));
  mix-blend-mode: screen;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--color-bg) 72%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(255, 59, 58, 0.35);
  box-shadow: 0 1px 18px rgba(255, 59, 58, 0.12);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  width: min(100% - (var(--space) * 2), var(--max));
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--color-neon-hot);
}
.mark-moth {
  width: 2.05rem;
  height: 2.05rem;
  color: var(--color-neon-hot);
  filter: drop-shadow(0 0 6px var(--color-neon));
}
body.is-playing .mark-moth {
  animation: moth-flutter 1.8s ease-in-out infinite;
}
.wordmark-type {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  text-shadow:
    0 0 4px var(--color-neon-soft),
    0 0 14px rgba(255, 59, 58, 0.8);
}
.nav { display: flex; align-items: center; gap: var(--header-gap); }
.nav a {
  color: var(--color-ink-muted);
  text-decoration: none;
  font-family: var(--font-stamp);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--color-neon-hot);
  text-shadow: 0 0 10px var(--color-neon);
}
.header-tools {
  display: flex;
  align-items: center;
  gap: var(--header-gap);
  flex-shrink: 0;
}
.site-header .wordmark {
  flex-shrink: 0;
  white-space: nowrap;
}
@media (max-width: 799px) {
  .site-header { --header-gap: 0.55rem; }
  .wordmark-type { letter-spacing: 0.08em; }
}
@media (max-width: 420px) {
  .site-header { --header-gap: 0.38rem; }
  .site-header .wrap {
    gap: 0.3rem;
    width: min(100% - 1.15rem, var(--max));
  }
  .wordmark { gap: 0.32rem; }
  .mark-moth { width: 1.8rem; height: 1.8rem; }
  .wordmark-type { font-size: 1.08rem; letter-spacing: 0.05em; }
  .nav a { font-size: 0.86rem; letter-spacing: 0.05em; }
}
@media (min-width: 800px) {
  :root {
    --header-h: 4.85rem;
    --header-gap: 1.25rem;
  }
  .mark-moth { width: 2.45rem; height: 2.45rem; }
  .wordmark { gap: 0.75rem; }
  .wordmark-type { font-size: 1.55rem; letter-spacing: 0.14em; }
  .nav a { font-size: 1.06rem; }
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
}
.hero-video { position: absolute; inset: 0; }
.hero-poster { position: absolute; inset: 0; }
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 11, 18, 0.45) 0%, rgba(7, 11, 18, 0.28) 36%, rgba(7, 11, 18, 0.78) 100%),
    linear-gradient(90deg, rgba(7, 11, 18, 0.62) 0%, rgba(7, 11, 18, 0.2) 55%, rgba(40, 8, 10, 0.28) 100%);
}
.hero-leak {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(50% 40% at 88% 22%, rgba(255, 70, 60, 0.32), transparent 58%),
    radial-gradient(40% 30% at 20% 80%, rgba(255, 180, 90, 0.16), transparent 60%),
    linear-gradient(115deg, transparent 60%, rgba(255, 80, 70, 0.12) 78%, transparent 90%);
  mix-blend-mode: screen;
}

.hero-grid {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.15rem;
  min-height: calc(100svh - var(--header-h));
  padding: 1.1rem 0 1.6rem;
  justify-content: center;
}

/* Dust + drifting moths */
.dust { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.dust-speck {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(255, 230, 200, 0.7);
  box-shadow: 0 0 6px rgba(255, 200, 140, 0.8);
  animation: drift-up var(--dur, 16s) linear var(--delay, 0s) infinite;
  opacity: 0.55;
}
.dust-moth {
  position: absolute;
  width: 18px;
  height: 18px;
  color: rgba(247, 239, 228, 0.7);
  filter: drop-shadow(0 0 5px rgba(255, 180, 120, 0.6));
  animation: moth-drift var(--dur, 22s) linear var(--delay, 0s) infinite;
  opacity: 0.65;
}

@keyframes drift-up {
  0% { transform: translate3d(0, 20px, 0); opacity: 0; }
  10% { opacity: 0.7; }
  100% { transform: translate3d(var(--drift, 40px), -110vh, 0); opacity: 0; }
}
@keyframes moth-drift {
  0% { transform: translate3d(0, 10vh, 0) rotate(-8deg); opacity: 0; }
  8% { opacity: 0.75; }
  50% { transform: translate3d(var(--drift, 80px), -45vh, 0) rotate(10deg); }
  100% { transform: translate3d(calc(var(--drift, 80px) * -0.4), -110vh, 0) rotate(-6deg); opacity: 0; }
}
@keyframes moth-flutter {
  0%, 100% { transform: scaleX(1); }
  40% { transform: scaleX(0.78); }
  70% { transform: scaleX(1.05); }
}

/* Record sleeve + vinyl */
.record {
  position: relative;
  width: min(66vw, 17.25rem);
  aspect-ratio: 1 / 1;
  z-index: 1;
}
.record::before {
  content: "";
  position: absolute;
  inset: -18%;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 90, 70, 0.42), rgba(255, 170, 80, 0.14) 42%, transparent 70%);
  filter: blur(8px);
  animation: bloom-breathe 5.5s ease-in-out infinite;
}
.vinyl {
  position: absolute;
  top: 8%;
  right: -20%;
  width: 86%;
  aspect-ratio: 1;
  border-radius: 50%;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 50%,
      #2a1214 0 13%,
      #e8c388 13% 15.5%,
      #1a0a0c 15.5% 18%,
      #241014 36%,
      #3a1c20 37%,
      #14080a 68%,
      #090406 100%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 8px 10px 28px rgba(0, 0, 0, 0.45);
}
.vinyl-grooves {
  position: absolute;
  inset: 16%;
  border-radius: 50%;
  background: repeating-radial-gradient(circle at 50% 50%, rgba(255,255,255,0.05) 0 1px, transparent 1px 5px);
  opacity: 0.45;
}
.vinyl-label {
  position: absolute;
  inset: 38%;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, #6a1a1c, #2a0c10);
  color: var(--color-neon-hot);
}
.vinyl-moth { width: 70%; height: 70%; }
.record.is-playing .vinyl,
body.is-playing .record .vinyl {
  animation: spin 7.5s linear infinite;
}

.sleeve {
  position: relative;
  z-index: 1;
  aspect-ratio: 1 / 1;
  box-shadow:
    0 1.25rem 3rem rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(247, 239, 228, 0.12),
    0 0 40px rgba(255, 70, 60, 0.18);
  background: var(--color-teal);
}
.sleeve img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.draft-badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  margin: 0;
  padding: 0.3rem 0.48rem;
  font-family: var(--font-stamp);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink);
  background: rgba(7, 11, 18, 0.82);
  border: 1px solid var(--color-line-strong);
}
[hidden] { display: none !important; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bloom-breathe {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

/* Hero copy / neon sign */
.hero-copy {
  position: relative;
  z-index: 5;
  max-width: 34rem;
}
/* Hero copy leads with the name */
.hero-copy .artist-name { margin-top: 0; }
.record { z-index: 5; }
.vacancy-sign {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-neon-hot);
  text-shadow:
    0 0 6px var(--color-neon),
    0 0 18px var(--color-neon),
    0 0 36px rgba(255, 59, 58, 0.7);
  animation: neon-flicker 8.5s steps(1, end) infinite;
}
.vacancy-sign span {
  display: inline-block;
  padding: 0.2rem 0.55rem 0.12rem;
  border: 2px solid currentColor;
  box-shadow: 0 0 12px rgba(255, 59, 58, 0.45), inset 0 0 10px rgba(255, 59, 58, 0.2);
}

.eyebrow {
  margin: 0 0 0.25rem;
  font-family: var(--font-stamp);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-tungsten);
}

.artist-name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.25rem, 8.6vw, 3.5rem);
  line-height: 0.92;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-neon-hot);
  text-shadow:
    0 0 6px var(--color-neon-soft),
    0 0 18px var(--color-neon),
    0 0 42px rgba(255, 59, 58, 0.75),
    0 0 72px rgba(255, 80, 70, 0.35);
  animation: neon-flicker 9.8s steps(1, end) infinite;
}

@keyframes neon-flicker {
  0%, 7%, 9%, 9.6%, 60%, 62%, 100% {
    opacity: 1;
    filter: saturate(1);
  }
  7.6%, 9.3% { opacity: 0.72; filter: saturate(0.6) brightness(0.85); }
  61.2% { opacity: 0.55; filter: brightness(0.7); }
}

.album-title {
  margin: 0.45rem 0 0;
  font-family: var(--font-script);
  font-size: clamp(1.7rem, 5.4vw, 2.5rem);
  font-weight: 400;
  color: var(--color-cream);
  text-shadow: 0 0 18px rgba(255, 180, 90, 0.25);
}
.album-title cite { font-style: normal; }

.provisional {
  display: inline-block;
  margin-left: 0.5rem;
  font-family: var(--font-stamp);
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink-subtle);
  vertical-align: middle;
}

.status {
  margin: 0.45rem 0 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--color-cream);
  text-shadow: 0 0 12px rgba(255, 180, 90, 0.18);
}

.release-lede {
  margin: -0.15rem auto 1.05rem;
  max-width: 28rem;
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--color-ink);
  text-shadow: 0 0 12px rgba(255, 180, 90, 0.12);
}
.release-lede cite { font-style: italic; }
@media (min-width: 800px) {
  .hero-copy .release-lede {
    margin-left: 0;
    margin-right: 0;
  }
}
.song-page .release-lede {
  margin: 0.2rem 0 0.9rem;
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}
.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.hero-ctas .streaming,
.song-actions .streaming {
  display: contents;
}

/* Neon-ring play button */
.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  border: 0;
  background: none;
  color: var(--color-ink);
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.15rem;
  min-height: 3.5rem;
}
.neon-orb {
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--color-neon-hot);
  background: rgba(7, 11, 18, 0.65);
  border: 2px solid var(--color-neon-soft);
  box-shadow:
    0 0 0 3px rgba(255, 59, 58, 0.2),
    0 0 18px rgba(255, 59, 58, 0.55),
    inset 0 0 14px rgba(255, 59, 58, 0.28);
}
.neon-orb svg { width: 1.25rem; height: 1.25rem; fill: currentColor; margin-left: 0.12rem; }
.btn-play:hover .neon-orb,
.btn-play.is-playing .neon-orb {
  box-shadow:
    0 0 0 4px rgba(255, 59, 58, 0.28),
    0 0 28px rgba(255, 59, 58, 0.85),
    inset 0 0 18px rgba(255, 90, 70, 0.4);
}
.btn-play-label {
  text-shadow: 0 0 12px rgba(255, 59, 58, 0.45);
  text-align: left;
}

.btn-text, .btn-ghost {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.2rem 0.1rem;
  border: 0;
  background: none;
  color: var(--color-link);
  font-family: var(--font-stamp);
  font-size: 1.02rem;
  letter-spacing: 0.06em;
  text-decoration: underline;
  text-underline-offset: 0.22em;
  cursor: pointer;
}
.btn-text:hover { color: var(--color-neon-hot); text-shadow: 0 0 10px var(--color-neon); }

.streaming {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}
.btn-stream {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--color-line-strong);
  color: var(--color-ink);
  text-decoration: none;
  font-family: var(--font-stamp);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.03);
}
.btn-stream:hover { border-color: var(--color-neon-soft); box-shadow: 0 0 16px rgba(255, 59, 58, 0.35); }
.btn-stream-primary {
  justify-content: center;
  min-height: 3.35rem;
  padding: 0.55rem 1.15rem;
  border: 1.5px solid var(--color-neon-soft);
  color: var(--color-neon-hot);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-align: center;
  background: rgba(255, 59, 58, 0.14);
  box-shadow: 0 0 18px rgba(255, 59, 58, 0.32);
  text-shadow: 0 0 10px rgba(255, 59, 58, 0.35);
}
.btn-stream-primary:hover {
  border-color: var(--color-neon-hot);
  background: rgba(255, 59, 58, 0.26);
  box-shadow: 0 0 28px rgba(255, 59, 58, 0.55);
  color: #fff;
}

@media (min-width: 800px) {
  .wrap.hero-grid {
    width: min(100% - 3rem, 88rem);
    box-sizing: border-box;
    /* Keep the motel VACANCY sign visible on the right */
    padding: 2.4rem clamp(5.5rem, 14vw, 13rem) 2.6rem 0;
    display: grid;
    grid-template-columns: minmax(18rem, min(32.5rem, 40vw)) minmax(16rem, 1fr);
    gap: 2.4rem 2.75rem;
    align-items: center;
    text-align: left;
  }
  .hero-grid {
    display: grid;
    align-items: center;
    text-align: left;
  }
  .record {
    width: 100%;
    max-width: 32.5rem;
    transform: rotate(-3.2deg);
  }
  .hero-copy {
    max-width: none;
    margin-left: -3.2rem;
  }
  .hero-copy .artist-name {
    font-size: clamp(3.5rem, 6.5vw, 6.85rem);
  }
  .album-title {
    font-size: clamp(2.2rem, 3.15vw, 3.65rem);
    margin-top: 0.55rem;
  }
  .status {
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    margin: 0.55rem 0 1.15rem;
  }
  .hero-ctas {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem 0.7rem;
  }
  .hero .btn-stream-primary {
    min-height: 3.75rem;
    padding: 0.6rem 0.9rem;
    font-size: 1rem;
    letter-spacing: 0.07em;
  }
  .hero .btn-play {
    font-size: 1.42rem;
    gap: 1.05rem;
    min-height: 4.25rem;
  }
  .hero .neon-orb {
    width: 4.5rem;
    height: 4.5rem;
  }
  .hero .neon-orb svg { width: 1.5rem; height: 1.5rem; }
  .hero .btn-text { font-size: 1.18rem; min-height: 3rem; }
  .hero-actions { gap: 1rem; }
  .hero-actions, .streaming { align-items: flex-start; justify-content: flex-start; }
  .hero-media img,
  .hero-media video { object-position: 90% 48%; }
  .hero-copy::before {
    content: "";
    position: absolute;
    inset: -1.8rem -2.4rem -2rem -2.2rem;
    background: radial-gradient(ellipse at 25% 45%, rgba(7, 11, 18, 0.78) 0%, rgba(7, 11, 18, 0.45) 48%, transparent 74%);
    z-index: -1;
    pointer-events: none;
  }
}

/* Sections */
.section { position: relative; padding: 3.4rem 0 2rem; }
#songs, #about, #film, #press, #photos, #lyrics, #note, #check-in { scroll-margin-top: calc(var(--header-h) + 0.8rem); }
.section-kicker {
  margin: 0 0 0.35rem;
  font-family: var(--font-stamp);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-tungsten);
}
.section h2, .song-page h2 {
  margin: 0 0 1.2rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-midnight {
  background:
    radial-gradient(90% 45% at 50% 0%, rgba(255, 150, 90, 0.16), transparent 55%),
    linear-gradient(180deg, #1a1216 0%, #0c1018 28%, #070910 100%);
  border-top: 1px solid rgba(255, 59, 58, 0.22);
}

.section-morning {
  color: var(--color-ink-on-paper);
  /* Night only lingers at the seam with Rooms. Type sits on warm morning paper. */
  background:
    linear-gradient(180deg,
      #0b0e16 0,
      #4a2e2c 2.2rem,
      #d4b08a 4rem,
      #f3e2c8 5.5rem,
      #f6e6d0 8rem,
      #f6e6d0 100%);
  padding-top: 5.75rem;
  padding-bottom: 4rem;
}
.section-morning .section-kicker { color: #6a2a24; }
.section-morning h2 { color: #1a1210; }
.section-morning .about-text,
.section-morning .press-list,
.section-morning .press-list a { color: #2a1c16; }
.section-morning .draft-callout {
  border-color: rgba(26, 18, 16, 0.35);
  color: #5a3a30;
}

/* Key tags */
.track-list-note {
  margin: -0.35rem 0 1rem;
  font-family: var(--font-stamp);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--color-tungsten);
  max-width: 36rem;
}
.track-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
@media (min-width: 800px) {
  .track-list { grid-template-columns: 1fr 1fr; gap: 0.75rem 1rem; }
}

.key-tag {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "room room motif"
    "title title title"
    "play . share";
  gap: 0.2rem 0.55rem;
  align-items: center;
  padding: 0.7rem 0.85rem 0.65rem 1.4rem;
  background:
    linear-gradient(180deg, #f7ead0 0%, #ead4ad 100%);
  color: var(--color-ink-on-paper);
  box-shadow: 3px 5px 0 rgba(0, 0, 0, 0.28), 0 16px 30px rgba(0, 0, 0, 0.28);
  border-left: 6px solid var(--track-accent, var(--color-neon));
  transform-origin: left center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.key-tag.is-pending {
  grid-template-areas:
    "room room motif"
    "title title title"
    "soon soon soon";
  background:
    linear-gradient(180deg, #d9c9ab 0%, #c7b48e 100%);
  box-shadow: 2px 3px 0 rgba(0, 0, 0, 0.2), 0 8px 16px rgba(0, 0, 0, 0.22);
  color: #1a1210;
}
.key-tag.is-available {
  background:
    linear-gradient(180deg, #fbf1d8 0%, #f0d4a0 100%);
  border-left-color: var(--color-neon);
  box-shadow:
    3px 5px 0 rgba(0, 0, 0, 0.28),
    0 0 22px rgba(255, 70, 50, 0.42),
    0 0 40px rgba(255, 150, 70, 0.22),
    0 16px 30px rgba(0, 0, 0, 0.28);
  z-index: 1;
}
.key-tag:nth-child(odd) { transform: rotate(-0.4deg); }
.key-tag:nth-child(even) { transform: rotate(0.45deg); }
.key-tag.is-available { transform: rotate(0deg); }
.key-tag.is-pending:hover,
.key-tag.is-pending:focus-within {
  transform: rotate(0deg) translateY(-1px);
  box-shadow: 2px 5px 0 rgba(0, 0, 0, 0.2), 0 10px 20px rgba(0, 0, 0, 0.26);
}
.key-tag.is-available:hover,
.key-tag.is-available:focus-within {
  transform: rotate(0deg) translateY(-3px);
  box-shadow:
    3px 8px 0 rgba(0, 0, 0, 0.28),
    0 0 28px rgba(255, 70, 50, 0.55),
    0 18px 36px rgba(0, 0, 0, 0.35);
}
.key-ring {
  position: absolute;
  left: -0.15rem;
  top: 50%;
  width: 1.05rem;
  height: 1.05rem;
  border: 3px solid #c4a574;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #f3e7c8, #d0b07a);
  box-shadow: inset 0 0 0 3px #1a120c;
  transform: translate(-50%, -50%);
}
.key-room {
  font-family: var(--font-stamp);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  grid-area: room;
  color: #3a1e16;
}
.key-motif {
  grid-area: motif;
  color: var(--track-accent, #6a3a28);
  display: grid;
  place-items: center;
  justify-self: end;
}
.motif-glyph { width: 1.4rem; height: 1.4rem; }
.track-play {
  grid-area: play;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1.5px solid #3a2418;
  background: #1a1210;
  color: var(--color-cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.track-play svg { width: 0.9rem; height: 0.9rem; fill: currentColor; }
.track-play:hover,
.track-play.is-playing {
  color: var(--color-neon-hot);
  border-color: var(--color-neon);
  box-shadow: 0 0 14px rgba(255, 59, 58, 0.55);
}
.track-title {
  grid-area: title;
  min-width: 0;
  color: #1a1210;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.12;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
a.track-title:hover { color: #6a1a16; }
span.track-title { cursor: default; }
.is-available .track-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
}
.coming-soon {
  grid-area: soon;
  margin: 0.05rem 0 0;
  font-family: var(--font-stamp);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #3a1e16;
}
.track-links {
  grid-area: share;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.track-lyrics-link {
  font-family: var(--font-stamp);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 0.16em;
  color: #3a1e16;
  min-height: 2.4rem;
  display: inline-flex;
  align-items: center;
}
.track-lyrics-link:hover { color: #6a1a16; }
.track-share {
  justify-self: end;
  min-width: 2.4rem;
  min-height: 2.4rem;
  border: 0;
  background: none;
  color: #3a1e16;
  cursor: pointer;
  font-family: var(--font-stamp);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 0.16em;
  padding: 0 0.25rem;
}
.draft-audio-flag {
  display: block;
  margin: 0.15rem 0 0;
  margin-left: 0;
  font-family: var(--font-stamp);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 400;
  color: #3a1e16;
}

/* Film */
.film-frame {
  position: relative;
  background: #000;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.film-frame img, .film-frame video { width: 100%; height: 100%; object-fit: cover; }
.film-play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  border: 0;
  background: rgba(8, 14, 20, 0.28);
  color: var(--color-ink);
  cursor: pointer;
  font-family: var(--font-stamp);
}
.film-play .orb {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  border: 2px solid var(--color-neon-soft);
  background: rgba(7, 11, 18, 0.7);
  display: grid;
  place-items: center;
  box-shadow: 0 0 22px rgba(255, 59, 58, 0.5);
}
.film-play svg { width: 1.15rem; height: 1.15rem; fill: currentColor; margin-left: 0.15rem; }
.film-note { color: var(--color-ink-muted); font-size: 0.95rem; }

.about-text { max-width: 38rem; }
.about-text p { margin: 0 0 1rem; font-size: 1.15rem; }
.about-layout {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.about-photo { margin: 0; max-width: 36rem; }
.about-photo-img,
.song-lead-img,
.photo-strip-img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}
.about-photo-img {
  box-shadow: 4px 8px 0 rgba(26, 18, 16, 0.18), 0 18px 36px rgba(26, 18, 16, 0.18);
}
@media (min-width: 800px) {
  .about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 24rem);
    gap: 2rem 2.75rem;
    align-items: start;
  }
  .about-text { max-width: none; }
  .about-photo { margin-top: 0.35rem; max-width: none; }
}

.section-morning.photos-section {
  background: #f6e6d0;
  padding-top: 2.25rem;
  padding-bottom: 4.5rem;
}
.photo-strip {
  list-style: none;
  margin: 1.15rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}
@media (min-width: 800px) {
  .photo-strip { grid-template-columns: repeat(3, 1fr); gap: 0.85rem; }
}
@media (min-width: 1100px) {
  .photo-strip { grid-template-columns: repeat(5, 1fr); }
}
.photo-strip li { margin: 0; }
@media (max-width: 799px) {
  .photo-strip li:last-child { grid-column: 1 / -1; }
  .photo-strip li:last-child .photo-strip-img { aspect-ratio: 16 / 9; object-position: 50% 30%; }
}
.photo-strip-img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  box-shadow: 3px 5px 0 rgba(26, 18, 16, 0.16), 0 14px 28px rgba(26, 18, 16, 0.16);
}

.photo-zoom {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  color: inherit;
  font: inherit;
  border-radius: 0;
}
.photo-zoom:focus-visible {
  outline: 2px solid var(--color-neon-hot);
  outline-offset: 3px;
}

.song-lead {
  margin: 1.2rem 0 0.35rem;
  max-width: 36rem;
}
.song-lead-img {
  box-shadow:
    0 1.25rem 3rem rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(247, 239, 228, 0.12);
}

/* Lightbox */
.lightbox {
  max-width: min(92vw, 72rem);
  max-height: min(92vh, 100%);
  width: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-cream);
}
.lightbox::backdrop {
  background: rgba(7, 11, 18, 0.92);
}
.lightbox-stage {
  display: grid;
  place-items: center;
  max-height: 82vh;
}
.lightbox-image {
  max-width: min(92vw, 72rem);
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(247, 239, 228, 0.35);
  background: #120a0e;
  color: #f7efe4;
  font-family: var(--font-stamp);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover,
.lightbox-close:focus-visible,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible {
  color: #ffd0c8;
  border-color: #ffd0c8;
  outline: 2px solid #ffd0c8;
  outline-offset: 2px;
}
.lightbox-close { top: 0.85rem; right: 0.85rem; }
.lightbox-prev { left: 0.6rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 0.6rem; top: 50%; transform: translateY(-50%); }
.lightbox-prev[hidden],
.lightbox-next[hidden] { display: none; }
.draft-callout {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.2rem 0.45rem;
  border: 1px solid var(--color-line-strong);
  font-family: var(--font-stamp);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink-subtle);
}
.press-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.press-list a { color: var(--color-link); }

/* Song page */
.page-song {
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(255, 59, 58, 0.2), transparent 50%),
    var(--color-bg);
}
.song-page { padding: 2rem 0 4rem; max-width: 40rem; }
.crumb {
  margin: 0 0 0.9rem;
  font-family: var(--font-stamp);
  font-size: 0.85rem;
  color: var(--color-ink-subtle);
}
.crumb a { color: var(--color-link); }
.song-room {
  margin: 0;
  font-family: var(--font-stamp);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-neon-hot);
  text-shadow: 0 0 12px var(--color-neon);
  font-size: 0.82rem;
}
.song-page h1 {
  margin: 0.2rem 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 7vw, 4rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.song-motif { margin: 0.7rem 0 0; color: var(--track-accent, var(--color-neon-hot)); }
.song-motif .motif-glyph { width: 2rem; height: 2rem; filter: drop-shadow(0 0 8px var(--track-accent)); }
.audio-label {
  margin: 0.35rem 0 0;
  font-family: var(--font-stamp);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--color-ink-subtle);
}
.song-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  margin: 1.3rem 0 2rem;
}
.note, .lyrics, .credits { margin-top: 2.1rem; }

.stationery {
  --stationery-ink: #1c1410;
  --stationery-paper: #f7efdc;
  --card-tilt: -0.7deg;
  --card-tilt-hover: -2.2deg;
  --card-lift: -4px;
  --card-shadow:
    0 1px 0 rgba(255, 252, 245, 0.75) inset,
    4px 8px 0 rgba(0, 0, 0, 0.16),
    0 22px 40px rgba(0, 0, 0, 0.28);
  --card-shadow-hover:
    0 1px 0 rgba(255, 252, 245, 0.75) inset,
    5px 12px 0 rgba(0, 0, 0, 0.18),
    0 16px 22px rgba(0, 0, 0, 0.16),
    0 32px 52px rgba(0, 0, 0, 0.38);
  position: relative;
  isolation: isolate;
  overflow: visible;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  color: var(--stationery-ink);
  background-color: var(--stationery-paper);
  background-image:
    radial-gradient(ellipse at 16% 8%, rgba(255, 252, 242, 0.85), transparent 48%),
    radial-gradient(ellipse at 92% 88%, rgba(214, 184, 140, 0.2), transparent 52%),
    repeating-linear-gradient(
      88deg,
      rgba(90, 50, 20, 0.03) 0 1px,
      transparent 1px 4px
    );
  border: 1px solid rgba(70, 42, 22, 0.16);
  box-shadow: var(--card-shadow);
  padding: 1.35rem 1.2rem 1.55rem;
  transform: rotate(var(--card-tilt));
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}
.note.stationery {
  --card-tilt: -0.7deg;
  --card-tilt-hover: -2.2deg;
  --card-lift: -4px;
}
.check-in-section--home .check-in-card {
  --card-tilt: 0.55deg;
  --card-tilt-hover: 2deg;
  --card-lift: -3px;
}
.check-in-section--compact .check-in-card {
  --card-tilt: 0.65deg;
  --card-tilt-hover: 2.4deg;
  --card-lift: -3px;
}
.stationery:focus-within,
.stationery:active {
  z-index: 3;
  transform: translateY(var(--card-lift)) rotate(var(--card-tilt-hover));
  box-shadow: var(--card-shadow-hover);
}
@media (hover: hover) {
  .stationery:hover {
    z-index: 3;
    transform: translateY(var(--card-lift)) rotate(var(--card-tilt-hover));
    box-shadow: var(--card-shadow-hover);
  }
}
@media (prefers-reduced-motion: reduce) {
  .stationery:hover,
  .stationery:focus-within,
  .stationery:active {
    transform: rotate(var(--card-tilt));
    box-shadow: var(--card-shadow-hover);
  }
}
.stationery::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("/assets/grain.png");
  background-size: 220px 220px;
  opacity: 0.07;
  mix-blend-mode: multiply;
}
.stationery-letterhead,
.stationery-body { position: relative; z-index: 1; }
.stationery-letterhead {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 0 1.05rem;
  color: var(--stationery-ink);
}
.stationery-monarch {
  width: 2.6rem;
  height: 2.6rem;
  margin: 0 0 0.4rem;
  color: #3a1e16;
}
.stationery-name,
.stationery-album,
.stationery-room {
  margin: 0;
  font-family: var(--font-stamp);
  text-transform: uppercase;
}
.stationery-name {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  font-weight: 400;
}
.stationery-album {
  margin-top: 0.15rem;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: #3a1e16;
}
.stationery-album cite {
  font-style: normal;
}
.stationery-rule {
  display: block;
  width: min(14rem, 70%);
  height: 1px;
  margin: 0.55rem 0 0.45rem;
  background: #3a1e16;
  opacity: 0.55;
}
.stationery-room {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  padding: 0.12rem 0.4rem 0.08rem;
  border: 1px solid rgba(58, 30, 22, 0.45);
}
.stationery-body {
  margin: 0;
  font-family: var(--font-stamp);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--stationery-ink);
}
.stationery-body cite { font-style: italic; }
@media (min-width: 800px) {
  .stationery { padding: 1.7rem 1.8rem 1.85rem; }
  .stationery-body { font-size: 1.08rem; }
}

.lyrics-body,
.lyric-lines {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  line-height: 1.7;
  margin: 0;
  max-width: 32rem;
  color: var(--color-ink);
}
.lyric-stanza { margin: 0 0 1.35rem; }
.lyric-label {
  margin: 0 0 0.45rem;
  font-family: var(--font-stamp);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-tungsten);
  text-shadow: 0 0 10px rgba(240, 179, 106, 0.35);
}
.lyric-label span {
  display: inline-block;
  padding: 0.18rem 0.45rem 0.12rem;
  border: 1px solid rgba(240, 179, 106, 0.55);
  box-shadow: 0 0 10px rgba(240, 179, 106, 0.18);
}
.lyric-lines { white-space: normal; }
.lyrics-more {
  margin: 0;
  max-width: 32rem;
}
.lyrics-more summary {
  cursor: pointer;
  width: fit-content;
  font-family: var(--font-stamp);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-neon-hot);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  list-style: none;
  margin: 0 0 1.2rem;
}
.lyrics-more summary::-webkit-details-marker { display: none; }
.lyrics-hide { display: none; }
.lyrics-more[open] .lyrics-show { display: none; }
.lyrics-more[open] .lyrics-hide { display: inline; }
.lyrics-more[open] summary { margin-bottom: 1.35rem; }
.copy-status[aria-live] { margin-left: 0.35rem; font-size: 0.85rem; color: var(--color-ink-muted); }


/* Social links */
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  align-items: center;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  font-family: var(--font-stamp);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: inherit;
  min-height: 2.5rem;
}
.social-icon { width: 1.15rem; height: 1.15rem; flex: 0 0 auto; }
.social-links-hero {
  margin: 1rem 0 0;
}
.social-links-hero .social-link {
  color: var(--color-neon-hot);
  text-shadow: 0 0 8px rgba(255, 59, 58, 0.45);
}
.social-links-hero .social-link:hover {
  color: #fff;
  text-shadow: 0 0 12px var(--color-neon);
}
.social-links-footer {
  margin: 0 0 1rem;
}
.social-links-header {
  margin: 0;
  gap: var(--header-gap);
  flex-wrap: nowrap;
  flex-shrink: 0;
  align-items: center;
}
.social-links-header .social-link {
  position: relative;
  justify-content: center;
  width: 1.375rem;
  height: 1.375rem;
  min-width: 0;
  min-height: 0;
  color: #f7efe4;
  gap: 0;
}
.social-links-header .social-icon {
  width: 1.375rem;
  height: 1.375rem;
}
.social-links-header .social-link::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
}
.social-links-header .social-link:hover,
.social-links-header .social-link:focus-visible {
  color: #ffd0c8;
  filter: drop-shadow(0 0 6px var(--color-neon));
}
.social-links-header .social-link:focus-visible {
  outline: none;
}
.social-links-header .social-link:focus-visible::after {
  outline: 2px solid #ffd0c8;
  outline-offset: 2px;
}
@media (min-width: 800px) {
  .social-links-header .social-link,
  .social-links-header .social-icon {
    width: 1.5rem;
    height: 1.5rem;
  }
}
.site-footer .social-link { color: var(--color-cream); }
.site-footer .social-link:hover,
.site-footer .social-link:focus-visible {
  color: var(--color-neon-hot);
  text-shadow: 0 0 10px var(--color-neon);
}
.site-footer .social-link:focus-visible {
  outline: 2px solid var(--color-neon-hot);
  outline-offset: 3px;
}

/* Footer — deep oxblood/wine (darkened header rose), all pages */
.site-footer {
  padding: 2.4rem 0 calc(2rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255, 208, 200, 0.62);
  box-shadow: 0 -1px 18px rgba(255, 59, 58, 0.32);
  color: var(--color-cream);
  font-family: var(--font-stamp);
  font-size: 0.85rem;
  background: linear-gradient(180deg, #4a1c20 0%, #3d1418 100%);
}
.site-footer p { margin: 0 0 0.35rem; }
.site-footer p:last-child { margin-bottom: 0; }
.footer-voice {
  margin-top: 0.45rem;
  font-family: var(--font-script);
  font-size: 1.15rem;
  color: var(--color-cream);
}

/* Player + audio-reactive glow */
.player {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: color-mix(in srgb, #120a0e 90%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 59, 58, 0.45);
  padding: 0.65rem var(--space) calc(0.65rem + env(safe-area-inset-bottom, 0px));
  box-shadow:
    0 -8px calc(16px + (var(--audio-level) * 42px)) rgba(255, 59, 58, calc(0.18 + var(--audio-level) * 0.55)),
    0 0 calc(10px + (var(--audio-level) * 28px)) rgba(255, 180, 90, calc(var(--audio-level) * 0.35));
}
.player-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "toggle meta time"
    "seek seek seek";
  gap: 0.35rem 0.85rem;
  align-items: center;
}
.player-toggle {
  grid-area: toggle;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 2px solid var(--color-neon-soft);
  background: #1a0a0c;
  color: var(--color-neon-hot);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  box-shadow: 0 0 calc(8px + (var(--audio-level) * 22px)) rgba(255, 59, 58, 0.7);
}
.player-toggle svg { width: 1rem; height: 1rem; fill: currentColor; }
.player-meta { grid-area: meta; min-width: 0; }
.player-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.player-artist {
  margin: 0;
  font-family: var(--font-stamp);
  color: var(--color-ink-subtle);
  font-size: 0.75rem;
}
.player-time {
  grid-area: time;
  font-family: var(--font-stamp);
  font-variant-numeric: tabular-nums;
  font-size: 0.75rem;
  color: var(--color-ink-subtle);
  white-space: nowrap;
}
.player-seek {
  grid-area: seek;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 0.35rem;
  border-radius: 999px;
  background: var(--color-line-strong);
  cursor: pointer;
  margin: 0.2rem 0 0;
  accent-color: var(--color-neon-soft);
}
.player-seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: var(--color-neon-hot);
  border: 0;
  box-shadow: 0 0 10px var(--color-neon);
}
.player-seek:focus-visible { box-shadow: var(--focus); }

@media (min-width: 800px) {
  .player-inner {
    grid-template-columns: auto minmax(10rem, 16rem) 1fr auto;
    grid-template-areas: "toggle meta seek time";
    gap: 0.75rem 1rem;
  }
  .player-seek { margin-top: 0; }
}

/* Reveals */
.reveal.is-in { opacity: 1; transform: none; }
html.js .reveal {
  transform: translateY(18px);
  transition: transform 0.7s ease, filter 0.7s ease;
  filter: saturate(0.92);
}
html.js .reveal.is-in {
  transform: none;
  filter: none;
}

.error-page {
  min-height: calc(100svh - var(--header-h) - 8rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 0;
}
.error-page h1 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 2.6rem;
  margin: 0 0 0.75rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Self-exclusion confirmation (analytics opt-out / opt-in) */
.jl-track-banner {
  position: fixed;
  z-index: 95;
  left: 50%;
  top: calc(var(--header-h) + 0.65rem);
  transform: translateX(-50%);
  width: min(calc(100% - 1.5rem), 32rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.7rem 0.85rem 0.7rem 1rem;
  background: #3d1418;
  color: #f7efe4;
  border: 1px solid rgba(255, 208, 200, 0.62);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  font-family: var(--font-stamp);
  font-size: 0.95rem;
  line-height: 1.35;
}
.jl-track-banner p { margin: 0; }
.jl-track-banner-close {
  flex: none;
  appearance: none;
  border: 1px solid rgba(255, 208, 200, 0.62);
  background: transparent;
  color: #ffd0c8;
  font-family: var(--font-stamp);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  min-height: 44px;
  min-width: 44px;
  padding: 0 0.75rem;
  cursor: pointer;
}
.jl-track-banner-close:hover,
.jl-track-banner-close:focus-visible {
  color: #f7efe4;
  border-color: #ffd0c8;
}

/* Check-in / email signup */
.check-in-section--home {
  background: #f6e6d0;
  color: #1c1410;
  padding: 1.25rem 0 4.5rem;
}
.check-in-section--compact {
  padding: 0 0 3.25rem;
}
.check-in-card {
  max-width: 38rem;
  padding: 1.45rem 1.2rem 1.5rem;
}
.check-in-card .stationery-letterhead { margin-bottom: 0.85rem; }
.check-in-card h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1c1410;
  text-align: center;
}
.check-in-lede,
.check-in-privacy,
.check-in-status {
  position: relative;
  z-index: 1;
  margin: 0 0 1rem;
  font-family: var(--font-stamp);
  color: #1c1410;
}
.check-in-lede {
  font-size: 1.02rem;
  line-height: 1.55;
  text-align: center;
}
.check-in-privacy {
  margin: 0.85rem 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #3a1e16;
}
.check-in-form { position: relative; z-index: 1; }
.check-in-honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.check-in-fields label {
  display: block;
  margin: 0 0 0.35rem;
  font-family: var(--font-stamp);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1c1410;
}
.check-in-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: stretch;
}
.check-in-row input[type="email"] {
  flex: 1 1 12rem;
  min-height: 44px;
  min-width: 0;
  padding: 0.55rem 0.75rem;
  border: 1px solid #3a1e16;
  background: #fffaf0;
  color: #1c1410;
  font-family: var(--font-stamp);
  font-size: 1rem;
  border-radius: 0;
}
.check-in-row input[type="email"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #f7efdc, 0 0 0 4px #3a1e16;
}
.check-in-submit {
  flex: 0 0 auto;
  min-height: 44px;
  min-width: 44px;
  padding: 0.55rem 1.1rem;
  border: 1px solid #3d1418;
  background: #3d1418;
  color: #f7efe4;
  font-family: var(--font-stamp);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.check-in-submit:hover,
.check-in-submit:focus-visible {
  background: #4a1c20;
  color: #ffd0c8;
}
.check-in-submit:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #f7efdc, 0 0 0 4px #3d1418;
}
.check-in-submit:disabled {
  cursor: default;
  opacity: 0.85;
}
.check-in-status {
  margin: 0.7rem 0 0;
  min-height: 1.2em;
  font-size: 0.98rem;
}
.check-in-form.is-error .check-in-status { color: #6b1414; }
.check-in-form.is-success .check-in-fields { display: none; }
.check-in-form.is-success .check-in-status {
  margin: 0.2rem 0 0.2rem;
  text-align: center;
  font-size: 1.12rem;
  color: #1c1410;
}
.check-in-section--compact .check-in-card {
  max-width: 32rem;
  padding: 1.2rem 1.05rem 1.25rem;
}
.check-in-section--compact h2 { font-size: clamp(1.35rem, 4.5vw, 1.8rem); }
.check-in-section--compact .check-in-lede { font-size: 0.95rem; margin-bottom: 0.85rem; }
@media (min-width: 800px) {
  .check-in-card { padding: 1.7rem 1.8rem 1.7rem; }
}
