/* =====================================================================
   MILES & ELIZA — "A LIMITED BLACK-TIE PRESSING"
   A deluxe midnight-vinyl wedding site. The dark cinematic glamour of
   After Dark, structured like the back of a record sleeve.
   Near-black canvas · gold foil · deep emerald · one whisper of chaos red.
   Fraunces (display) + Manrope (body) + Spline Sans Mono (liner notes).
   Mobile-first. Vanilla CSS.
   ===================================================================== */

/* -------------------- TOKENS -------------------- */
:root {
  --ink:        #0C0C0E;   /* near-black bg */
  --ink-2:      #121215;   /* raised surface */
  --ink-3:      #17171b;   /* card surface */
  --emerald:    #0F3D2E;
  --emerald-2:  #16513B;
  --gold:       #C8A65A;
  --gold-soft:  #d9bd7c;
  --gold-deep:  #9c7e3e;
  --chaos:      #C2362F;   /* used VERY sparingly */
  --paper:      #EDE9E0;   /* off-white body text */
  --paper-dim:  rgba(237,233,224,.62);
  --paper-faint:rgba(237,233,224,.40);
  --hairline:   rgba(200,166,90,.28);
  --hairline-2: rgba(237,233,224,.12);

  --gold-grad: linear-gradient(135deg, #b78f43 0%, #e6cd8f 30%, #c8a65a 52%, #8f7234 78%, #e2c585 100%);

  --serif: "Fraunces", "Hoefler Text", Georgia, "Times New Roman", serif;
  --sans:  "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono:  "Spline Sans Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --maxw: 1180px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* -------------------- RESET -------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-weight: 400;
  background: var(--ink);
  color: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

/* The [hidden] attribute must always win over component display rules,
   or fixed overlays (mobile menu, lightbox) stay in the layer tree
   invisibly and trap scroll/pointer events. */
[hidden] { display: none !important; }
button { font: inherit; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }

::selection { background: var(--gold); color: var(--ink); }

/* -------------------- ACCESSIBILITY -------------------- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--gold); color: var(--ink);
  padding: .7rem 1.1rem; font-weight: 600; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 3px;
  border-radius: 2px;
}

/* -------------------- FILM GRAIN -------------------- */
.grain {
  position: fixed; inset: 0; z-index: 150; pointer-events: none;
  opacity: .05; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* -------------------- SHARED TYPE -------------------- */
/* liner-note metadata type (mono) — runtimes, catalogue numbers, labels */
.liner {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--paper-faint);
}

.display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.012em;
  font-size: clamp(2.1rem, 7.5vw, 4.4rem);
}
.display em {
  font-style: italic;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  margin-top: 1.1rem;
  max-width: 52ch;
  color: var(--paper-dim);
  font-size: clamp(1rem, 2.4vw, 1.12rem);
}
.lede strong { color: var(--paper); font-weight: 600; }
.lede em { color: var(--gold-soft); font-style: italic; }

/* -------------------- LAYOUT -------------------- */
.section {
  padding: clamp(4.5rem, 12vw, 9rem) var(--gutter);
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
}

/* hairline between sections */
.section + .section::before {
  content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter);
  height: 1px; background: var(--hairline-2);
}

/* track header — section title styled like a track entry, with runtime */
.track-head {
  display: grid; grid-template-columns: auto 1fr auto; align-items: baseline;
  gap: .8rem; margin-bottom: clamp(1.6rem, 4vw, 2.4rem);
  padding-bottom: 1.1rem; border-bottom: 1px solid var(--hairline);
}
.track-head__no { color: var(--gold); }
.track-head__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.2rem, 8.5vw, 3.8rem); line-height: 1; letter-spacing: -.015em;
  color: var(--paper);
}
.track-head__time { color: var(--paper-faint); white-space: nowrap; }

/* -------------------- NAV -------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 120;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem var(--gutter);
  transition: background .4s var(--ease), backdrop-filter .4s var(--ease), padding .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(12,12,14,.78);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  padding-top: .8rem; padding-bottom: .8rem;
  border-bottom: 1px solid var(--hairline-2);
}
.nav__brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--paper); }
.nav__disc { display: inline-flex; color: var(--gold); }
.nav__disc svg { animation: spin 10s linear infinite; }
.nav__wordmark { font-family: var(--serif); font-size: 1.4rem; letter-spacing: .02em; }
.nav__amp {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-style: italic; padding: 0 .12em;
}
.nav__links { display: none; }
.nav__links a {
  font-size: .82rem; letter-spacing: .04em; color: var(--paper-dim);
  transition: color .25s var(--ease); position: relative;
  display: inline-flex; align-items: baseline; gap: .4rem;
}
.nav__links a:hover { color: var(--paper); }
.nav__no { font-family: var(--mono); font-size: .62rem; color: var(--gold-deep); letter-spacing: .1em; }
.nav__cta {
  border: 1px solid var(--hairline);
  padding: .5rem 1.1rem; border-radius: 100px;
  color: var(--gold) !important; letter-spacing: .14em !important;
  text-transform: uppercase; font-size: .72rem !important; font-weight: 600;
  transition: background .3s var(--ease), color .3s var(--ease) !important;
}
.nav__cta .nav__no { display: none; }
.nav__cta:hover { background: var(--gold); color: var(--ink) !important; }

.nav__toggle {
  background: none; border: none; width: 34px; height: 28px;
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 0;
}
.nav__toggle span {
  display: block; height: 1.5px; width: 100%; background: var(--gold);
  transition: transform .35s var(--ease), opacity .25s var(--ease);
}
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child  { transform: translateY(-3.7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 110;
  background: rgba(12,12,14,.97);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .4s var(--ease);
}
.mobile-menu:not([hidden]) { display: flex; }
.mobile-menu.is-open { opacity: 1; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 1.3rem; text-align: center; }
.mobile-menu__head { color: var(--gold); margin-bottom: .4rem; }
.mobile-menu a {
  font-family: var(--serif); font-size: 1.7rem; color: var(--paper);
  display: inline-flex; align-items: baseline; gap: .7rem; justify-content: center;
}
.mobile-menu a span { font-size: .8rem; color: var(--gold-deep); }
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu__cta { color: var(--gold) !important; font-style: italic; margin-top: .6rem; }

/* -------------------- HERO -------------------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 7rem var(--gutter) 5.5rem;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__img {
  position: absolute; inset: -8% 0; /* room for parallax-lite */
  background: #000 url("assets/photos/coast.jpg") center 42% / cover no-repeat;
  /* convert phone shot to elegant, moody, grainy dark */
  filter: grayscale(100%) brightness(.5) contrast(1.14);
  will-change: transform;
}
.hero__veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 12%, rgba(12,12,14,.2) 0%, rgba(12,12,14,.55) 55%, rgba(12,12,14,.94) 100%),
    linear-gradient(180deg, rgba(12,12,14,.55) 0%, rgba(15,61,46,.2) 45%, rgba(12,12,14,.97) 100%);
}

.hero__inner { position: relative; z-index: 3; max-width: 900px; }
.hero__cat { margin-bottom: clamp(1.4rem, 4vw, 2rem); color: var(--gold); }

.hero__names {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.4rem, 17vw, 9.5rem);
  line-height: .92;
  letter-spacing: -.02em;
  display: flex; flex-direction: column; align-items: center;
}
.hero__names span {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 2px 40px rgba(200,166,90,.12);
}
.hero__amp {
  font-size: .5em; font-style: italic; font-weight: 400;
  margin: .04em 0; opacity: .92;
}

.hero__sub {
  margin-top: clamp(1.1rem, 3vw, 1.6rem);
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.05rem, 3.4vw, 1.45rem);
  color: var(--gold-soft);
}

.hero__date {
  margin-top: clamp(1rem, 2.6vw, 1.4rem);
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1rem, 3.2vw, 1.35rem);
  color: var(--paper);
  letter-spacing: .01em;
}
.hero__meta {
  margin-top: 1rem;
  display: flex; flex-wrap: wrap; gap: .65rem 1rem; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--paper-dim);
}
.hero__meta .dot { color: var(--gold); font-size: .5rem; }

/* now-playing countdown */
.nowplaying {
  margin-top: clamp(2.2rem, 6vw, 3.2rem);
  display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: .65rem 1.1rem;
  padding: 1rem clamp(1.1rem, 4vw, 1.8rem);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  background: rgba(12,12,14,.4);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  text-align: left;
}
.np__led {
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 0 rgba(200,166,90,.6);
  animation: pulse 1.9s ease-out infinite; flex: none;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(200,166,90,.55); }
  70% { box-shadow: 0 0 0 8px rgba(200,166,90,0); }
  100% { box-shadow: 0 0 0 0 rgba(200,166,90,0); }
}
.np__label { color: var(--paper-dim); }
.np__clock { display: inline-flex; align-items: baseline; gap: .35rem; color: var(--paper); }
.np__unit { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; min-width: 2.6ch; }
.np__unit b {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.6rem, 6.5vw, 2.4rem);
  font-variant-numeric: tabular-nums;
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.np__unit i { font-style: normal; font-size: .5rem; letter-spacing: .2em; color: var(--paper-faint); margin-top: .4rem; text-transform: uppercase; }
.np__sep { font-family: var(--serif); color: var(--gold); font-size: clamp(1.2rem, 5vw, 1.8rem); opacity: .45; align-self: flex-start; }

/* the record / vinyl */
.vinyl-stage {
  position: relative; z-index: 2;
  width: clamp(190px, 56vw, 280px); aspect-ratio: 1;
  margin-top: clamp(2.4rem, 7vw, 3.4rem);
  display: grid; place-items: center;
}
.record {
  position: relative; width: 100%; aspect-ratio: 1; border-radius: 50%;
  background:
    repeating-radial-gradient(circle at center,
      #1a1a1d 0px, #1a1a1d 1px,
      #0c0c0e 1px, #0c0c0e 3px);
  box-shadow:
    0 32px 60px -26px rgba(0,0,0,.85),
    inset 0 0 60px rgba(0,0,0,.7),
    0 0 0 1px var(--hairline-2);
  animation: spin 8s linear infinite;
}
.record__grooves {
  position: absolute; inset: 6%; border-radius: 50%;
  background: repeating-radial-gradient(circle at center,
    rgba(200,166,90,.06) 0px, rgba(200,166,90,.06) 1px,
    transparent 1px, transparent 4px);
}
/* fixed sheen — counter-rotates so the highlight stays put */
.record__shine {
  position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: linear-gradient(120deg, transparent 35%, rgba(255,255,255,.1) 47%, rgba(255,255,255,.03) 52%, transparent 60%);
  animation: spin 8s linear infinite reverse;
}
.record__label {
  position: absolute; inset: 30%; border-radius: 50%;
  background: var(--gold-grad);
  color: var(--ink);
  display: grid; place-content: center; text-align: center;
  box-shadow: inset 0 0 0 1px rgba(12,12,14,.35), inset 0 0 22px rgba(12,12,14,.22);
  padding: 6%;
}
.rl__top { font-size: .42rem; letter-spacing: .16em; color: rgba(12,12,14,.7); margin-bottom: .3rem; }
.rl__title {
  font-family: var(--serif); font-weight: 600; line-height: .92;
  font-size: clamp(.85rem, 3.6vw, 1.25rem); letter-spacing: .01em;
}
.rl__amp { font-style: italic; font-weight: 400; font-size: .68em; }
.rl__cat { font-size: .42rem; letter-spacing: .2em; color: rgba(12,12,14,.7); margin-top: .35rem; }
.rl__flower { color: rgba(12,12,14,.62); margin: .3rem auto 0; }
.record__hole {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 3.4%; aspect-ratio: 1; border-radius: 50%;
  background: var(--ink); box-shadow: inset 0 0 3px rgba(0,0,0,.7);
}

/* tonearm — decorative, over top-right */
.tonearm { position: absolute; top: -3%; right: -3%; width: 46%; height: 46%; pointer-events: none; }
.tonearm__base { position: absolute; top: 0; right: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--ink-3); box-shadow: 0 2px 6px rgba(0,0,0,.5), inset 0 0 0 1px var(--hairline); }
.tonearm__rod {
  position: absolute; top: 8px; right: 8px; width: 78%; height: 3.5px; border-radius: 4px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-soft));
  transform-origin: top right; transform: rotate(28deg);
}
.tonearm__head {
  position: absolute; top: 8px; right: 8px; width: 13px; height: 8px; border-radius: 2px;
  background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--hairline);
  transform-origin: top right; transform: rotate(28deg) translateX(-78%) translateY(1px);
}

@keyframes spin { to { transform: rotate(360deg); } }

/* scroll cue */
.scroll-cue {
  position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: .55rem;
  color: var(--paper-dim);
}
.scroll-cue__txt { color: var(--paper-dim); }
.scroll-cue__line {
  width: 1px; height: 40px; background: linear-gradient(var(--gold), transparent);
  position: relative; overflow: hidden;
}
.scroll-cue__line::after {
  content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%;
  background: var(--gold-soft); animation: cue 1.9s var(--ease) infinite;
}
@keyframes cue { 0% { top: -50%; } 60%,100% { top: 110%; } }

/* -------------------- REVEAL ANIMATION -------------------- */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s);
}
.reveal.is-in { opacity: 1; transform: none; }

/* -------------------- TRACKLIST (sticky sleeve back) -------------------- */
.tracklist {
  position: relative; z-index: 1;
  background: linear-gradient(180deg, #0a0a0c, var(--ink));
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline-2);
}
.tracklist__inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(2.4rem, 6vw, 3.6rem) var(--gutter);
}
.tracklist__head { color: var(--gold); margin-bottom: 1.4rem; }
.tl { display: grid; gap: .15rem; }
.tl a {
  display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: .8rem;
  padding: .8rem .3rem; border-bottom: 1px solid var(--hairline-2);
  transition: color .25s var(--ease), padding-left .25s var(--ease);
}
.tl a:hover { color: var(--gold-soft); padding-left: .9rem; }
.tl__no { color: var(--gold); }
.tl__name { font-family: var(--serif); font-size: clamp(1.3rem, 5vw, 1.95rem); font-weight: 400; color: var(--paper); transition: color .25s var(--ease); }
.tl a:hover .tl__name { color: var(--gold-soft); }
.tl__dots { display: none; }
.tl__time { color: var(--paper-faint); }

/* -------------------- TRACK 01 · OUR STORY -------------------- */
.story__grid { display: grid; gap: clamp(2.5rem, 7vw, 5rem); align-items: center; }
.story__kicker { color: var(--gold); margin-bottom: 1.3rem; }
.story__text p { color: var(--paper-dim); margin-bottom: 1.1rem; font-size: 1.05rem; line-height: 1.78; }
/* drop-cap / liner-notes feel */
.story__text p:first-of-type::first-letter {
  font-family: var(--serif); font-size: 3.4em; line-height: .78; float: left;
  margin: .06em .12em 0 0; font-weight: 500;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.signoff {
  margin-top: 1.6rem; font-family: var(--serif); font-style: italic;
  color: var(--gold-soft); font-size: 1.2rem;
}

.story__figure { position: relative; }
.frame {
  position: relative; overflow: hidden; border-radius: 3px;
  border: 1px solid var(--hairline);
}
.frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(12,12,14,.5));
  pointer-events: none;
}
.frame img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  filter: grayscale(100%) contrast(1.06) brightness(.9);
  transition: filter .7s var(--ease), transform 1.2s var(--ease);
}
.story__figure:hover .frame img { filter: grayscale(30%) contrast(1.04) brightness(.98); transform: scale(1.03); }
figcaption {
  margin-top: .85rem; color: var(--paper-faint);
}

/* -------------------- TRACK 02 · CARDS -------------------- */
.cards {
  display: grid; gap: 1px;
  background: var(--hairline-2);
  border: 1px solid var(--hairline-2);
  border-radius: 4px; overflow: hidden;
  margin-top: clamp(1.8rem, 4vw, 2.6rem);
}
.card {
  background: var(--ink-2);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  position: relative;
  transition: background .4s var(--ease);
  min-height: 178px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.card:hover { background: var(--ink-3); }
.card__num {
  position: absolute; top: clamp(1.2rem,3vw,1.6rem); right: clamp(1.4rem,4vw,1.8rem);
  color: var(--gold-deep);
}
.card h3 {
  font-family: var(--mono); font-weight: 500;
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .7rem;
}
.card > p {
  font-family: var(--serif); font-size: clamp(1.35rem, 4vw, 1.7rem);
  line-height: 1.15; color: var(--paper);
}
.card__sub {
  font-family: var(--sans) !important; font-size: .9rem !important;
  color: var(--paper-dim) !important; margin-top: .55rem; line-height: 1.5;
}
.card--accent { background: var(--emerald); }
.card--accent:hover { background: var(--emerald-2); }
.card--accent::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--gold-grad);
}

/* map / venue buttons */
.day__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: clamp(1.8rem, 4vw, 2.4rem); }
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--gold-grad); color: var(--ink);
  border: none; border-radius: 100px;
  padding: .9rem 1.6rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; font-size: .76rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(200,166,90,.55); }
.btn--ghost {
  background: transparent; color: var(--gold);
  border: 1px solid var(--hairline);
}
.btn--ghost:hover { background: rgba(200,166,90,.08); box-shadow: none; }

/* set list / timeline */
.setlist {
  margin-top: clamp(2.4rem, 6vw, 3.6rem);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  background: rgba(15,61,46,.12);
}
.setlist__head { color: var(--gold); margin-bottom: 1.4rem; }
.setlist__list { display: grid; gap: .1rem; }
.setlist__list li {
  display: grid; grid-template-columns: minmax(7rem, auto) 1fr; gap: .35rem 1.2rem;
  align-items: baseline; padding: .95rem 0; border-bottom: 1px dashed var(--hairline-2);
}
.setlist__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.sl__time { color: var(--gold); }
.sl__act { font-family: var(--serif); font-size: clamp(1.15rem, 3.6vw, 1.5rem); color: var(--paper); }
.sl__note { grid-column: 2; color: var(--paper-dim); font-size: .9rem; }

/* -------------------- TRACK 03 · GETTING HERE HUB -------------------- */
.hub-block { margin-top: clamp(2.6rem, 6vw, 4rem); }
.hub-block:first-of-type { margin-top: clamp(2rem, 4vw, 2.6rem); }
.hub-block__head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1rem;
  padding-bottom: 1rem; margin-bottom: 1.4rem;
  border-bottom: 1px solid var(--hairline-2);
}
.hub-block__no { color: var(--gold-deep); width: 100%; }
.hub-block__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.6rem, 5.5vw, 2.3rem); color: var(--paper); line-height: 1;
}
.hub-block__lede { color: var(--paper-dim); font-size: .95rem; flex: 1 1 18rem; }

.hub-grid { display: grid; gap: 1px; background: var(--hairline-2); border: 1px solid var(--hairline-2); border-radius: 4px; overflow: hidden; }
.link-card {
  display: flex; flex-direction: column; gap: .4rem;
  background: var(--ink-2); padding: clamp(1.3rem, 3.4vw, 1.7rem);
  position: relative; min-height: 132px;
  transition: background .35s var(--ease);
}
a.link-card:hover { background: var(--ink-3); }
.link-card__name {
  font-family: var(--serif); font-size: clamp(1.15rem, 3.4vw, 1.4rem);
  color: var(--paper); line-height: 1.15;
}
a.link-card:hover .link-card__name { color: var(--gold-soft); }
.link-card__desc { color: var(--paper-dim); font-size: .9rem; line-height: 1.5; flex: 1; }
.link-card__go {
  color: var(--gold); align-self: flex-start; margin-top: .4rem;
  transition: transform .3s var(--ease);
}
a.link-card:hover .link-card__go { transform: translateX(3px); }
.link-card--also { background: rgba(15,61,46,.16); }
.also-row { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-top: .3rem; }
.also-row a {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .06em;
  color: var(--gold-soft); border-bottom: 1px solid var(--hairline);
  padding-bottom: 1px; transition: color .25s var(--ease), border-color .25s var(--ease);
}
.also-row a:hover { color: var(--paper); border-color: var(--gold); }

.hub-note {
  margin-top: 1.3rem; padding: 1.1rem 1.3rem;
  border: 1px solid var(--hairline-2); border-left: 2px solid var(--gold);
  border-radius: 4px; background: var(--ink-2);
  color: var(--paper-dim); font-size: .94rem; line-height: 1.65;
}
.hub-note strong { color: var(--paper); font-weight: 600; }
.hub-note em { color: var(--paper-faint); font-style: italic; }
.hub-note__tag { display: block; color: var(--gold); margin-bottom: .5rem; }

/* -------------------- TRACK 04 · RSVP -------------------- */
.rsvp {
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(15,61,46,.35), transparent 55%),
    var(--ink);
  max-width: none; /* full-bleed band */
}
.rsvp__inner { max-width: 720px; margin: 0 auto; }
.rsvp .lede { margin-bottom: clamp(2rem, 5vw, 2.8rem); }
.gifts__note { color: var(--paper-dim); max-width: 60ch; margin-bottom: 1.4rem; line-height: 1.7; }

.form-notice {
  border-radius: 6px; padding: 1.1rem 1.3rem; margin-bottom: 1.8rem;
  font-size: .95rem; border: 1px solid var(--hairline);
  background: var(--ink-2); color: var(--paper);
}
.form-notice a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 3px; }
.form-notice--ok {
  border-color: var(--emerald-2); background: rgba(22,81,59,.28);
  font-family: var(--serif); font-size: 1.4rem; color: var(--gold-soft);
}
.form-notice--err { border-color: var(--chaos); background: rgba(194,54,47,.12); }

.rsvp-form { display: grid; gap: 1.4rem; }
.field { display: grid; gap: .5rem; }
.field label, .field legend {
  font-family: var(--mono);
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); font-weight: 500;
}
.field legend { padding: 0; }
.field__hint { color: var(--paper-faint); text-transform: none; letter-spacing: .02em; font-weight: 400; font-style: italic; }
.req { color: var(--chaos); }

.field input,
.field textarea {
  font: inherit; color: var(--paper);
  background: var(--ink-2);
  border: 1px solid var(--hairline-2);
  border-radius: 4px; padding: .85rem 1rem;
  width: 100%;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--paper-faint); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,166,90,.16);
  background: var(--ink-3);
}
.field textarea { resize: vertical; min-height: 110px; }
.field__sub { margin-top: .1rem; color: var(--paper-faint); text-transform: none; letter-spacing: .04em; }

/* radio */
.field--radio { border: 0; margin: 0; padding: 0; }
.field--radio legend { margin-bottom: .7rem; }
.radio-row { display: grid; gap: .8rem; }
.radio {
  display: flex; align-items: center; gap: .8rem;
  padding: .85rem 1rem; border: 1px solid var(--hairline-2);
  border-radius: 4px; cursor: pointer; background: var(--ink-2);
  transition: border-color .3s var(--ease), background .3s var(--ease);
  color: var(--paper); font-size: 1rem;
}
.radio:hover { border-color: var(--hairline); }
.radio__mark {
  width: 18px; height: 18px; border-radius: 50%; flex: 0 0 auto;
  border: 1.5px solid var(--gold); position: relative;
  transition: box-shadow .25s var(--ease);
}
.radio__mark::after {
  content: ""; position: absolute; inset: 3px; border-radius: 50%;
  background: var(--gold-grad); transform: scale(0); transition: transform .25s var(--ease);
}
.radio input { position: absolute; opacity: 0; width: 0; height: 0; }
.radio input:checked ~ .radio__mark::after { transform: scale(1); }
.radio input:checked ~ span:last-child { color: var(--gold-soft); }
.radio:has(input:checked) { border-color: var(--gold); background: var(--ink-3); }
.radio input:focus-visible ~ .radio__mark { box-shadow: 0 0 0 3px rgba(200,166,90,.3); }

/* song request — highlighted, fits the vinyl theme */
.field--song .song-input { position: relative; }
.song-input__icon {
  position: absolute; left: .9rem; top: 50%; transform: translateY(-50%);
  color: var(--gold); display: inline-flex; pointer-events: none;
}
.field--song input {
  padding-left: 2.8rem;
  border-color: var(--gold); background: rgba(200,166,90,.08);
}
.field--song input:focus { background: rgba(200,166,90,.12); }

.btn-submit {
  margin-top: .6rem; justify-self: start;
  background: var(--gold-grad); color: var(--ink);
  border: none; border-radius: 100px;
  padding: 1rem 2.4rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; font-size: .8rem;
  position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn-submit::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.5) 50%, transparent 70%);
  transform: translateX(-130%); transition: transform .7s var(--ease);
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -12px rgba(200,166,90,.5); }
.btn-submit:hover::after { transform: translateX(130%); }
.btn-submit:disabled { opacity: .6; cursor: progress; transform: none; }

/* -------------------- B-SIDES / FAQ -------------------- */
.faq__list { display: grid; gap: 0; border-top: 1px solid var(--hairline-2); max-width: 840px; margin-top: clamp(1.8rem, 4vw, 2.4rem); }
.faq__item { border-bottom: 1px solid var(--hairline-2); }
.faq__item summary {
  list-style: none; cursor: pointer;
  padding: 1.4rem 2.5rem 1.4rem 0; position: relative;
  font-family: var(--serif); font-size: clamp(1.15rem, 3.5vw, 1.45rem);
  color: var(--paper); transition: color .3s var(--ease);
  display: flex; align-items: baseline; gap: .9rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--gold-soft); }
.faq__no { color: var(--gold); flex: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 0; top: 1.5rem;
  font-family: var(--sans); color: var(--gold); font-size: 1.5rem; font-weight: 300;
  transition: transform .35s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--paper-dim); padding: 0 2.5rem 1.6rem 0; max-width: 64ch; }
.faq__item p em { color: var(--paper-faint); font-style: italic; }

/* hidden bonus track easter egg */
.faq__item--secret summary, .faq__item--secret .faq__no { color: var(--paper-faint); }
.faq__item--secret summary:hover { color: var(--gold-soft); }
.secret { padding: 0 1rem 1.6rem 0; }
.secret p { padding: 0; margin-bottom: 1.1rem; max-width: 64ch; }
.secret__art { display: flex; gap: 1.6rem; align-items: center; }
.egg--duck { color: var(--gold); transition: transform .4s var(--ease); }
.egg--hog { color: var(--chaos); transition: transform .4s var(--ease); }   /* one chaos-red Shadow nod */
.faq__item--secret[open] .egg--duck { animation: wobble 2.8s ease-in-out infinite; }
.faq__item--secret[open] .egg--hog { animation: wobble 2.8s ease-in-out .3s infinite; }
@keyframes wobble { 0%,100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }

/* -------------------- FOOTER -------------------- */
.footer {
  text-align: center; padding: clamp(4rem, 10vw, 7rem) var(--gutter) 3rem;
  background:
    radial-gradient(100% 80% at 50% 100%, rgba(15,61,46,.32), transparent 70%),
    var(--ink);
  position: relative;
}
.footer__rule { width: 60px; height: 1px; background: var(--gold-grad); margin: 0 auto 2.2rem; }
.footer__mark { color: var(--gold); margin-bottom: 1.4rem; display: flex; justify-content: center; }
.footer__mark svg { animation: spin 14s linear infinite; }
.footer__names {
  margin-bottom: .8rem;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer__line { color: var(--paper-dim); font-size: .9rem; letter-spacing: .03em; max-width: 40ch; margin: 0 auto; }
.footer__signoff {
  margin-top: 1.4rem; font-family: var(--serif); font-style: italic;
  font-size: 1.15rem; color: var(--gold-soft);
}
.footer__cat { color: var(--paper-faint); margin-top: 1.6rem; font-size: .62rem; letter-spacing: .14em; }
.footer__eggs {
  display: flex; gap: 1.4rem; justify-content: center; align-items: center;
  margin: 2.2rem 0 1.8rem; color: var(--gold-deep);
}
.footer__eggs .egg { opacity: .55; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.footer__eggs .egg:hover { opacity: 1; transform: translateY(-3px); }
.footer__eggs .egg--red { color: var(--chaos); }   /* second, very sparing chaos-red easter egg */
.footer__credit { color: var(--paper-faint); }

/* =====================================================================
   RESPONSIVE — scale up from mobile
   ===================================================================== */
@media (min-width: 600px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .hub-grid { grid-template-columns: repeat(2, 1fr); }
  .radio-row { grid-template-columns: 1fr 1fr; }
  .tl__dots { display: block; border-bottom: 1px dotted var(--hairline-2); transform: translateY(-.3em); }
}

@media (min-width: 760px) {
  .field--half { display: inline-grid; }
  /* two half-fields share a row */
  .rsvp-form { grid-template-columns: 1fr 1fr; }
  .rsvp-form > .field:not(.field--half),
  .rsvp-form > .field--radio,
  .rsvp-form > .field--song,
  .rsvp-form > .btn-submit { grid-column: 1 / -1; }
}

@media (min-width: 880px) {
  .nav__links { display: flex; align-items: center; gap: 1.6rem; }
  .nav__toggle { display: none; }
  .story__grid { grid-template-columns: 1.05fr .95fr; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .hub-grid { grid-template-columns: repeat(3, 1fr); }
  .hub-block__no { width: auto; }
  /* hero record sits to the side of the names on large screens */
  .vinyl-stage { position: absolute; top: 50%; right: clamp(2rem, 7vw, 6rem); transform: translateY(-50%); width: clamp(220px, 24vw, 320px); margin: 0; opacity: .92; z-index: 1; }
  .hero__inner { z-index: 3; }
}

@media (min-width: 1024px) {
  .hero__names { flex-direction: row; align-items: baseline; gap: .28em; }
  .hero__amp { font-size: .42em; align-self: center; }
}

/* =====================================================================
   REDUCED MOTION — kill spin, parallax, reveals, shimmer
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  .record, .record__shine, .nav__disc svg, .footer__mark svg,
  .np__led, .egg--duck, .egg--hog { animation: none !important; }
  .scroll-cue__line::after { animation: none; display: none; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero__img { inset: 0 !important; transform: none !important; }
  .btn-submit::after { display: none; }
  * { scroll-behavior: auto !important; }
}

/* =====================================================================
   INSERT · THE SLEEVE — contact-sheet photo gallery
   Multi-column "contact sheet": editorial, gapless-stacking, no holes.
   Default desaturated; warms on hover/focus. Each tile opens a lightbox.
   ===================================================================== */
.gallery .track-head__no { color: var(--gold); }
.gx {
  margin-top: clamp(1.8rem, 4vw, 2.6rem);
  column-count: 2;
  column-gap: clamp(.6rem, 1.6vw, 1rem);
}
@media (min-width: 680px)  { .gx { column-count: 3; } }
@media (min-width: 1024px) { .gx { column-count: 4; } }

.gx__item {
  display: block; width: 100%;
  margin: 0 0 clamp(.6rem, 1.6vw, 1rem);
  padding: 0; border: 1px solid var(--hairline-2); background: var(--ink-2);
  border-radius: 3px; overflow: hidden; position: relative;
  break-inside: avoid; -webkit-column-break-inside: avoid;
  cursor: zoom-in; color: var(--paper);
  transition: border-color .4s var(--ease), transform .6s var(--ease);
}
.gx__item img {
  width: 100%; height: auto; display: block;
  filter: grayscale(100%) contrast(1.06) brightness(.86);
  transition: filter .7s var(--ease), transform 1.2s var(--ease);
}
.gx__item::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 60%, rgba(12,12,14,.55));
}
.gx__cap {
  position: absolute; left: .7rem; right: .7rem; bottom: .6rem; z-index: 2;
  color: var(--paper); opacity: 0; transform: translateY(6px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.gx__item:hover, .gx__item:focus-visible { border-color: var(--hairline); transform: translateY(-3px); }
.gx__item:hover img, .gx__item:focus-visible img { filter: grayscale(8%) contrast(1.03) brightness(1); transform: scale(1.04); }
.gx__item:hover .gx__cap, .gx__item:focus-visible .gx__cap { opacity: 1; transform: none; }

/* =====================================================================
   FEATURE BAND — full-bleed treated image w/ a serif line, leads to RSVP
   ===================================================================== */
.feature-band {
  position: relative;
  width: 100%;
  min-height: clamp(280px, 56vw, 520px);
  display: grid; place-items: center;
  text-align: center; overflow: hidden;
  border-top: 1px solid var(--hairline-2); border-bottom: 1px solid var(--hairline-2);
}
.feature-band__img {
  position: absolute; inset: 0;
  background: var(--ink) center 38% / cover no-repeat;
  filter: grayscale(100%) contrast(1.08) brightness(.5);
}
.feature-band__veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 50%, rgba(12,12,14,.35), rgba(12,12,14,.78)),
    linear-gradient(180deg, rgba(12,12,14,.6), rgba(15,61,46,.25), rgba(12,12,14,.7));
}
.feature-band__inner { position: relative; z-index: 2; padding: clamp(2.5rem,8vw,5rem) var(--gutter); max-width: 30ch; }
.feature-band__kicker { color: var(--gold); margin-bottom: 1.1rem; }
.feature-band__line {
  font-family: var(--serif); font-weight: 400; font-style: italic;
  font-size: clamp(1.7rem, 6vw, 3.1rem); line-height: 1.12; color: var(--paper);
  letter-spacing: -.01em;
}
.feature-band__line em { font-style: normal; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* =====================================================================
   LIGHTBOX
   ===================================================================== */
/* Open/closed is driven by the [hidden] attribute (global rule sets
   display:none). When shown, we fade opacity via .is-open. No visibility
   toggle — it caused the panel to open invisibly. */
.lb {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(7,7,9,.94);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.lb.is-open { opacity: 1; }
.lb__stage { position: relative; max-width: min(1100px, 92vw); max-height: 86vh; display: flex; flex-direction: column; align-items: center; gap: .9rem; }
.lb__img {
  max-width: 100%; max-height: 76vh; width: auto; height: auto;
  border: 1px solid var(--hairline); border-radius: 3px;
  box-shadow: 0 40px 120px -40px rgba(0,0,0,.9);
  filter: grayscale(6%) contrast(1.03);
  transform: scale(.985); transition: transform .35s var(--ease);
}
.lb.is-open .lb__img { transform: scale(1); }
.lb__cap { color: var(--paper-dim); text-align: center; }
.lb__btn {
  position: absolute; background: rgba(18,18,21,.7); color: var(--paper);
  border: 1px solid var(--hairline); border-radius: 50%;
  width: 46px; height: 46px; display: grid; place-items: center;
  backdrop-filter: blur(4px); transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.lb__btn:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.lb__close { top: -8px; right: -8px; }
.lb__nav { top: 50%; transform: translateY(-50%); }
.lb__prev { left: clamp(-4px, -2vw, 8px); }
.lb__next { right: clamp(-4px, -2vw, 8px); }
.lb__nav svg, .lb__close svg { width: 20px; height: 20px; }
@media (max-width: 560px) {
  .lb__prev { left: 4px; } .lb__next { right: 4px; }
  .lb__close { top: 4px; right: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .gx__item, .gx__item img, .gx__cap { transition: none !important; }
  .lb, .lb__img { transition: none !important; }
  .lb__img { transform: none !important; }
}
