/* =========================================================
   XAVION — vibrant-luxe palette
   ========================================================= */
:root {
  --bg:         #0a0908;
  --surface:    #14110f;
  --surface-2:  #1f1a16;
  --text:       #f4ede0;
  --text-dim:   #998c7d;
  --text-mute:  #6b6359;
  --gold:       #d4a960;
  --gold-bright:#f0d398;
  --gold-deep:  #a07d3e;
  --border:     rgba(212, 169, 96, 0.18);
  --border-soft:rgba(244, 237, 224, 0.08);

  --serif: "DM Serif Display", "Cormorant Garamond", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;

  --maxw: 1280px;
  --gutter: clamp(20px, 5vw, 64px);

  /* ===== ERA LAYER — swapped per release via Supabase + xavion-bridge.js =====
     Defaults are the V3-extractor output for Future Star's actual cover art.
     The app re-runs extraction on every cover upload and writes era_* to
     site_config, which the bridge applies to :root within 60 seconds. */
  --era-primary:  #182a43;   /* deep midnight sky pulled from the Phoenix backdrop */
  --era-accent-a: #d36653;   /* coral-red lifted from the FUTURE STAR neon sign */
  --era-accent-b: #2422c3;   /* vibrant cobalt — counter accent to the warm sign */
  --era-warm:     #e6b150;
  --era-light:    #e8e0d6;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--gold-bright); text-decoration: none; transition: color .25s; }
a:hover { color: var(--gold); }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px var(--gutter);
  background: linear-gradient(180deg, rgba(10,9,8,0.55) 0%, rgba(10,9,8,0) 100%);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transition: padding .28s ease, background .28s ease, backdrop-filter .28s ease, border-color .28s ease;
  border-bottom: 1px solid transparent;
}
/* Tier-1: nav shrinks + adds full blur once you've scrolled past the hero edge */
.nav.scrolled {
  padding: 12px var(--gutter);
  background: rgba(10,9,8,0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(212,169,96,0.14);
}
.logo {
  font-family: var(--serif);
  font-size: 1.3rem;
  letter-spacing: 0.18em;
  color: var(--text);
  font-weight: 400;
}
.logo:hover { color: var(--gold); }
.nav-links {
  display: flex; list-style: none; gap: 28px;
  font-size: 0.88rem;
  text-transform: lowercase;
  letter-spacing: 0.05em;
}
.nav-links a { color: var(--text-dim); }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  color: var(--gold-bright) !important;
  border: 1px solid var(--gold);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.72rem !important;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  transition: all .25s;
}
.nav-cta:hover { background: var(--gold); color: var(--bg) !important; }

/* ── Mobile hamburger button — hidden on desktop, shows under 720px ── */
.nav-burger {
  display: none;
  position: relative;
  width: 36px; height: 36px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
  z-index: 102;
}
.nav-burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  margin: 5px auto;
  border-radius: 2px;
  transition: transform .28s, opacity .28s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile slide-in drawer ── */
.drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
  z-index: 200;
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }

.mobile-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(82vw, 320px);
  background: linear-gradient(180deg, #14110f 0%, #0a0908 100%);
  border-left: 1px solid color-mix(in srgb, var(--era-accent-a) 30%, var(--gold));
  padding: 88px 28px 32px;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.2,.6,.2,1);
  z-index: 201;
  display: flex; flex-direction: column; gap: 4px;
  overflow-y: auto;
  box-shadow: -20px 0 60px -10px rgba(0,0,0,0.6);
}
.mobile-drawer.open { transform: translateX(0); }

.drawer-close {
  position: absolute; top: 18px; right: 18px;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-dim);
  font-size: 24px; line-height: 0;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-family: inherit;
}
.drawer-close:hover { color: var(--gold); border-color: var(--gold); }

.drawer-link {
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
  padding: 14px 4px;
  border-bottom: 1px solid var(--border-soft);
  transition: color .2s, padding-left .25s;
}
.drawer-link:hover { color: var(--gold); padding-left: 8px; }
.drawer-link.drawer-cta {
  margin-top: 20px;
  font-family: var(--sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-bright);
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 14px 24px;
  text-align: center;
  font-weight: 600;
}
.drawer-link.drawer-cta:hover {
  background: var(--gold);
  color: var(--bg);
  padding-left: 24px;
}

@media (max-width: 720px) {
  /* Hide the inline nav-links list — drawer replaces it */
  .nav-links { display: none; }
  /* Show the hamburger */
  .nav-burger { display: block; }
}
@media (max-width: 480px) {
  .nav-links { gap: 8px; font-size: 0.68rem; }
  .nav-links li.nav-hide-small { display: none; }
}

/* =========================================================
   HERO
   ========================================================= */
/* Vista — the hero + about wrapper so the Vegas photo flows continuously */
.vista {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.vista-bg {
  position: absolute; inset: 0;
  background-image: url("../images/hero.jpg");
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  filter: brightness(0.78) saturate(1.02);
  z-index: -2;
  /* Tier-1 elevation: slow Ken Burns drift — pure CSS, no JS, near-zero perf cost */
  animation: kenburns 38s ease-in-out infinite;
  will-change: transform;
}
@keyframes kenburns {
  0%   { transform: scale(1.00) translate3d(0, 0, 0); }
  50%  { transform: scale(1.06) translate3d(-1.4%, -0.9%, 0); }
  100% { transform: scale(1.00) translate3d(0, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .vista-bg { animation: none; }
}
/* Mobile: reduce the extreme zoom — show MORE of the photo (Eiffel Tower visible) */
@media (max-width: 880px) {
  .vista-bg {
    background-size: auto 130vh;
    background-position: center top;
  }
}
.vista-overlay {
  position: absolute; inset: 0;
  z-index: -1;
  /* Photo visible through Winston-Salem text. Fully fades to dark BEFORE music section.
     Era-primary radial wash adds the per-release color signature at the top. */
  background:
    radial-gradient(ellipse at 20% 25%,
      color-mix(in srgb, var(--era-primary) 35%, transparent) 0%,
      transparent 50%),
    linear-gradient(180deg,
      rgba(10,9,8,0.55) 0%,     /* hero top - text readability */
      rgba(10,9,8,0.18) 25%,    /* hero middle - photo bright */
      rgba(10,9,8,0.32) 55%,    /* hero/about transition */
      rgba(10,9,8,0.50) 75%,    /* through Winston-Salem text */
      rgba(10,9,8,0.92) 94%,    /* fading dark just before music */
      rgba(10,9,8,1.0) 100%),   /* fully dark - clean cut to music section */
    linear-gradient(90deg,
      rgba(10,9,8,0.72) 0%,
      rgba(10,9,8,0.10) 60%,
      rgba(10,9,8,0) 100%);
}

.hero {
  position: relative;
  /* Use dvh so iOS Safari's URL bar doesn't break the math.
     Falls back to vh on browsers that don't support dvh. */
  min-height: 92vh;
  min-height: 92dvh;
  display: flex; align-items: center;
  padding: 100px var(--gutter) 60px;     /* tighter top/bottom — content stays compact */
  background: transparent;
}
.hero-content {
  position: relative; z-index: 1;
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  text-align: center;             /* cover-led hero is centered, record-store style */
}
/* === HERO COVER — FOCAL POINT ============================================
   The album art is the centerpiece of the homepage. It carries the era,
   anchors the eye, and the title sits beneath it like a wordmark on a
   record sleeve. Edges feather into the era-tinted vista photo so the
   cover fuses into the page, not pasted onto it. */
.hero-cover-stage {
  position: relative;
  width: clamp(280px, 44vw, 540px);   /* roughly 2x larger than before */
  margin: 0 auto 36px;                /* centered, with breathing room above title */
  aspect-ratio: 1 / 1;
  animation: heroCoverIn 1.2s cubic-bezier(.2,.6,.2,1) .25s both;
}
.hero-cover-stage img {
  width: 100%; height: 100%; display: block;
  border-radius: 8px;
  box-shadow:
    0 40px 100px -16px color-mix(in srgb, var(--era-primary) 78%, black),
    0 18px 48px -10px color-mix(in srgb, var(--era-accent-a) 45%, transparent),
    0 0 0 1px rgba(0,0,0,0.6),
    0 0 0 2px rgba(232,224,214,0.10),
    0 0 80px -8px color-mix(in srgb, var(--era-warm) 22%, transparent);
  /* NO mask — was fading the outer 28% which wiped out the "FUTURE STAR"
     typography printed on the cover near the top edge. Cover stays crisp;
     halos (::before/::after blurs) provide the era atmosphere instead. */
}
.hero-cover-stage::before, .hero-cover-stage::after {
  content: ""; position: absolute; width: 95%; height: 95%;
  border-radius: 50%; pointer-events: none;
  filter: blur(70px); opacity: 0.6; z-index: -1;
}
.hero-cover-stage::before {
  background: var(--era-accent-a);
  top: -22%; left: -22%;
  animation: heroPulseEra 8s ease-in-out infinite;
}
.hero-cover-stage::after {
  background: var(--era-accent-b);
  bottom: -22%; right: -22%;
  animation: heroPulseEra 8s ease-in-out infinite reverse;
}
@keyframes heroCoverIn {
  from { opacity: 0; transform: translateY(28px) scale(0.92); }
  to   { opacity: 1; transform: none; }
}
@keyframes heroPulseEra {
  0%, 100% { opacity: 0.42; transform: scale(0.95); }
  50%      { opacity: 0.72; transform: scale(1.10); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-cover-stage, .hero-cover-stage::before, .hero-cover-stage::after { animation: none !important; }
}

/* Live countdown row — appears only when site_config.release_date is set via the app */
.hero-countdown {
  margin-top: -8px;
  margin-bottom: 28px;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--gold);
  letter-spacing: 0.01em;
  display: flex; align-items: baseline; gap: 12px;
}
.hero-countdown-label {
  font-family: var(--sans); font-size: 0.85rem;
  color: var(--text-dim); letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-tag {
  font-size: 0.78rem;
  color: var(--era-accent-a);   /* era-tinted: red for Future Star, will swap per release */
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 24px;
  display: inline-flex; align-items: center; gap: 14px;  /* inline-flex so it centers via text-align on parent */
  font-weight: 600;
}
.hero-tag::before, .hero-tag::after {
  content: ""; display: block;
  width: 36px; height: 1px;
  background: var(--era-accent-a);  /* matches tag color */
}
.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  /* Sized so the album cover (clamp 280-540px) stays the focal point.
     Max 5.4rem (~86px) at >900px viewport — title is the wordmark below the art. */
  font-size: clamp(2.8rem, 7.2vw, 5.4rem);
  line-height: 1.08;                  /* was 0.95 — descenders + drop-shadow were clipping */
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  /* Descender + glow breathing room — prevents clip-text from cutting the bottom of S/y/g. */
  padding-bottom: 0.14em;
  hyphens: none;
  -webkit-hyphens: none;
  word-break: keep-all;
  overflow-wrap: normal;
  white-space: normal;
  /* ERA-INFUSED TITLE GRADIENT — cream at top picks up the cover's white,
     era-warm picks up the hotel sign yellow mid-letter, gold/era-accent-a interlace
     at the bottom. The title literally absorbs the cover's palette. */
  background:
    linear-gradient(180deg,
      #ffffff 0%,
      var(--gold-bright) 30%,
      var(--era-warm) 52%,
      var(--gold) 72%,
      color-mix(in srgb, var(--era-accent-a) 60%, var(--gold-deep)) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* Softer shadow + glow so they don't bleed into adjacent elements. */
  filter: drop-shadow(0 4px 18px rgba(0,0,0,0.35))
          drop-shadow(0 0 22px color-mix(in srgb, var(--era-primary) 35%, transparent));
}
/* Tier-1: word-by-word headline reveal — inline-block so "Future" + "Star" share one line on desktop.
   The space between the spans in the HTML provides natural whitespace (preserves selection + a11y);
   no margin-right hack. */
.hero-title.reveal .line {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s cubic-bezier(.2,.6,.2,1),
              transform .55s cubic-bezier(.2,.6,.2,1);
}
.hero-title.reveal.in .line { opacity: 1; transform: none; }
.hero-title.reveal.in .line:nth-of-type(2) { transition-delay: .18s; }
@media (prefers-reduced-motion: reduce) {
  .hero-title.reveal .line { opacity: 1; transform: none; }
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 460px;
  margin: 0 auto 32px;            /* centered under title */
}
.hero-audio {
  margin: 0 auto 32px;            /* centered */
  max-width: 460px;
}
.hero-audio audio {
  width: 100%;
  height: 44px;
  border-radius: 6px;
  filter: invert(0.92) hue-rotate(180deg);
}
.hero-cta-row {
  display: flex; flex-wrap: wrap; gap: 14px;
  justify-content: center;        /* centered buttons */
}
.hero-countdown {
  justify-content: center;        /* centered countdown */
}

.btn {
  display: inline-flex; align-items: center;
  padding: 14px 28px;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: lowercase;
  border-radius: 999px;
  cursor: pointer;
  transition: all .25s ease;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--gold);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--gold-bright);
  color: var(--bg);
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(212, 169, 96, 0.25);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-soft);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.hero-scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem; letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-mute);
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.6; }
  50%      { transform: translate(-50%, 6px); opacity: 1; }
}

/* =========================================================
   SHARED SECTION STYLES
   ========================================================= */
section {
  padding: 120px var(--gutter);
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.1s ease, transform 1.1s ease;
}
section.in {
  opacity: 1;
  transform: translateY(0);
}
.section-tag {
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 14px;
}
.section-tag::before {
  content: ""; display: block;
  width: 28px; height: 1px;
  background: var(--gold);
}
.section-tag.center { justify-content: center; text-align: center; }
.section-tag.center::before { display: none; }

h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.85rem, 6vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  overflow-wrap: break-word;
  hyphens: auto;
}
h2 em {
  font-style: italic;
  color: var(--gold);
}
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* =========================================================
   ABOUT
   ========================================================= */
.about {
  background: transparent;     /* Vegas photo shows through via .vista-bg above */
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.about-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text p {
  color: var(--text-dim);
  font-size: 1.05rem;
  margin-bottom: 18px;
  max-width: 56ch;
}
.about-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem !important;
  color: var(--text) !important;
  border-left: 2px solid var(--gold);
  padding-left: 20px;
  margin-top: 32px !important;
  line-height: 1.4;
}
.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 28%;
  border-radius: 4px;
  filter: brightness(0.95);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}
@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-photo { order: -1; }                /* show photo FIRST on mobile so face leads */
  .about-photo img { aspect-ratio: 3 / 4; }  /* less tall on mobile = better crop */
  section { padding: 80px var(--gutter); }   /* tighter vertical padding mobile */
  .about-quote { font-size: 1.15rem !important; padding-left: 14px; }
}
@media (max-width: 520px) {
  .hero-title { font-size: clamp(2.2rem, 10vw, 3.2rem) !important; }   /* smaller title — cover leads */
  .hero-cover-stage { width: min(72vw, 340px); margin-bottom: 24px; }   /* cover fits without overflow */
  .about-text h2 { letter-spacing: -0.015em; }
  .hero { padding: 90px var(--gutter) 48px; min-height: 100vh; min-height: 100dvh; }
  .hero-sub, .hero-audio { max-width: 100%; }
  /* keep the audio control from blowing past viewport */
  .hero-audio audio { max-width: 100%; }
  /* CTA row stays centered + wraps cleanly */
  .hero-cta-row { gap: 10px; }
  .btn { padding: 12px 22px; font-size: 0.86rem; }
}

/* =========================================================
   MUSIC / STREAMING
   ========================================================= */
.music {
  max-width: var(--maxw);
  margin: 0 auto;
}
.streaming-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 48px 0 56px;
}
.streaming-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  padding: 32px 24px;
  border-radius: 6px;
  display: flex; flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: all .3s ease;
  color: var(--text);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease, border-color .3s ease, background .3s ease;
}
.streaming-card.in { opacity: 1; transform: translateY(0); }
.streaming-card:hover {
  border-color: var(--gold);
  background: var(--surface-2);
}
.streaming-card[data-coming-soon] {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}
.streaming-card[data-coming-soon].in { opacity: 0.55; }
.streaming-icon {
  font-size: 1.6rem;
  color: var(--gold);
}
.streaming-name {
  font-family: var(--serif);
  font-size: 1.5rem;
}
.streaming-cta {
  font-size: 0.85rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}
.spotify-embed {
  margin-top: 24px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
}

/* =========================================================
   VISUALS / GALLERY
   ========================================================= */
.visuals {
  background:
    radial-gradient(1200px 800px at 80% 20%, rgba(212,169,96,0.05) 0%, transparent 60%),
    var(--bg);
}
.visuals-sub {
  color: var(--text-dim);
  max-width: 580px;
  margin-bottom: 56px;
}
.gallery {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-flow: dense;
  gap: 14px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 6px;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 1s ease, transform 1s ease;
}
.gallery-item.in { opacity: 1; transform: scale(1); }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease, filter .6s ease;
  filter: brightness(0.92);
}
.gallery-item:hover img {
  transform: scale(1.04);
  filter: brightness(1.05);
}
/* Embedded Instagram reels — taller tile, dark frame around white IG embed */
.gallery-item.reel {
  aspect-ratio: auto;
  grid-row: span 2;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.gallery-item.reel blockquote.instagram-media {
  min-width: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  border-radius: 4px;
}
.gallery-item.reel iframe {
  max-width: 100% !important;
  border-radius: 4px;
}
@media (max-width: 880px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .gallery { grid-template-columns: 1fr; gap: 18px; }
  .gallery-item.reel { grid-row: auto; }
}

/* =========================================================
   EMAIL CAPTURE
   ========================================================= */
.listen {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--surface);
  border-top: 1px solid var(--border);
  scroll-margin-top: 80px;       /* ensures hash-scroll lands past sticky nav */
  border-bottom: 1px solid var(--border);
  text-align: center;
}
/* Phoenix-night cityscape pushed cool/icy to match the vibe */
.listen::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("../images/phoenix-bg.jpg");
  background-size: cover;
  background-position: center;
  filter: hue-rotate(180deg) brightness(0.42) saturate(1.18) contrast(1.05);
  z-index: -2;
}
.listen::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,14,20,0.55) 0%, rgba(10,9,8,0.88) 100%);
  z-index: -1;
}
.listen-inner {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}
.listen-sub {
  color: var(--text-dim);
  max-width: 480px;
  margin-bottom: 40px !important;
}
.beehiiv-embed {
  margin-top: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  min-height: 80px;
  background: transparent;
  border-radius: 12px;
  overflow: hidden;
}
/* Force any iframe / wrapper Beehiiv injects to be transparent so the dark site shows */
.beehiiv-embed iframe,
.beehiiv-embed > div,
.beehiiv-embed > div > div {
  background-color: transparent !important;
  border: none !important;
}
/* On mobile, ensure no implicit white from any default styling */
@media (max-width: 880px) {
  .beehiiv-embed {
    background: transparent;
  }
  .beehiiv-embed * {
    background-color: transparent !important;
  }
}
.email-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  background: var(--surface-2);
  padding: 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  max-width: 480px;
  margin: 0 auto;
}
.email-form input[type=email] {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text);
  padding: 0 18px;
  font-family: var(--sans);
  font-size: 1rem;
  min-width: 0;
  outline: none;
}
.email-form input::placeholder { color: var(--text-mute); }
.email-form button {
  background: var(--gold);
  color: var(--bg);
  border: none;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: all .25s;
}
.email-form button:hover { background: var(--gold-bright); }
.form-note {
  margin-top: 16px;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  opacity: 0.7;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  padding: 60px var(--gutter) 32px;
  background: var(--bg);
  border-top: 1px solid var(--border-soft);
  text-align: center;
}
.footer-content { max-width: var(--maxw); margin: 0 auto; }
.footer-logo {
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: 0.2em;
  margin-bottom: 24px;
}
.socials {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}
.socials a {
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}
.socials a:hover { color: var(--gold); }
.copy {
  color: var(--text-mute);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.copy.small { font-size: 0.78rem; margin-top: 6px; }

/* =========================================================
   SELECTION
   ========================================================= */
::selection {
  background: var(--gold);
  color: var(--bg);
}

/* Tier-1: film grain overlay — pulls the site from "clean" into "editorial / cinematic"
   Inline SVG noise (no PNG to load), mix-blend-mode: overlay, very low opacity */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='matrix' values='0 0 0 0 0.85  0 0 0 0 0.85  0 0 0 0 0.85  0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.085;
  mix-blend-mode: overlay;
}
@media (prefers-reduced-motion: reduce) {
  body::after { opacity: 0.04; }
}

/* =========================================================
   TIER-2 SHIPS — Sprint 2
   ========================================================= */

/* Scroll-snap (proximity so users don't fight it on long sections) */
html { scroll-snap-type: y proximity; }
.hero, section { scroll-snap-align: start; }

/* SHOWS section — A-list move: signals "working artist" even with TBA dates */
.shows {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 100px var(--gutter);
}
.show-list {
  list-style: none;
  margin: 56px 0 32px;
  padding: 0;
  border-top: 1px solid var(--border-soft);
}
.show-row {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border-soft);
  transition: padding-left .3s ease, background-color .3s ease;
}
.show-row:hover {
  padding-left: 16px;
  background: rgba(212,169,96,0.04);
}
.show-date {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--gold);
  letter-spacing: 0.02em;
}
.show-city {
  color: var(--text);
  font-size: 1.05rem;
}
.show-row.pending .show-date { color: var(--text-dim); }
.show-row.pending .show-city { color: var(--text-dim); }
.show-cta {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-dim);
  transition: all .25s;
  white-space: nowrap;
}
.show-cta:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.shows-sub {
  color: var(--text-mute);
  font-size: 0.92rem;
  margin-top: 24px;
}
@media (max-width: 720px) {
  .show-row { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
  .show-row:hover { padding-left: 0; }
  .show-cta { justify-self: start; margin-top: 6px; }
}

/* Sound toggle — floating corner icon */
.sound-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(10,9,8,0.55);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-dim);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s;
}
.sound-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(10,9,8,0.78);
}
.sound-toggle .sound-wave { opacity: 0; transition: opacity .3s; }
.sound-toggle.playing { color: var(--gold); border-color: var(--gold); }
.sound-toggle.playing .sound-wave { opacity: 1; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.4; } }

/* Easter-egg overlay — triggered by triple-clicking the XAVION logo */
.secret-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: radial-gradient(ellipse at center, rgba(20,17,15,0.92) 0%, rgba(10,9,8,0.98) 70%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px var(--gutter);
  animation: fadeIn .5s ease;
}
@keyframes fadeIn { from { opacity: 0; } }
.secret-content {
  max-width: 540px;
  text-align: center;
}
.secret-tag {
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.secret-content h2 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.15;
}
.secret-content h2 em { color: var(--gold); }
.secret-content p {
  color: var(--text-dim);
  margin-bottom: 28px;
}
.secret-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.secret-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  cursor: pointer;
  text-transform: uppercase;
}
.secret-close:hover { color: var(--gold); }

/* =========================================================
   Gallery LIGHTBOX — click a photo to open large
   ========================================================= */
.gallery-item:not(.reel) { cursor: zoom-in; }
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(7, 6, 10, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .4s ease, visibility 0s linear .4s;
  cursor: zoom-out;
  padding: 32px;
}
.lightbox.open { opacity: 1; visibility: visible; transition: opacity .4s ease; }
.lightbox img {
  max-width: 92vw; max-height: 88vh; object-fit: contain;
  border-radius: 4px; box-shadow: 0 30px 80px rgba(0,0,0,0.7);
  transform: scale(0.96); transition: transform .4s cubic-bezier(.2,.6,.2,1);
}
.lightbox.open img { transform: scale(1); }
.lightbox-close {
  position: absolute; top: 24px; right: 32px;
  background: rgba(20,17,15,0.7); border: 1px solid var(--border);
  color: var(--text); padding: 9px 18px; border-radius: 999px;
  cursor: pointer; font-size: 0.78rem; letter-spacing: 0.15em;
  text-transform: uppercase; font-family: inherit;
}
.lightbox-close:hover { border-color: var(--gold); color: var(--gold); }
@media (max-width: 720px) {
  .lightbox-close { top: 14px; right: 16px; }
}

/* SHOWS empty state — clean, intentional, signals "intentional pause not abandoned" */
.shows-empty {
  text-align: center;
  padding: 56px 24px 32px;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  margin: 48px auto;
  max-width: 520px;
}
.shows-empty-line {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  color: var(--text);
  margin-bottom: 8px;
}
.shows-empty-sub {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin: 0;
}

/* =====================================================================
   ERA INFUSION — woven through every layer of the site
   ---------------------------------------------------------------------
   Foundation (gold + cream + Didot) stays as Xavion identity. These rules
   blend the era palette (--era-primary/accent-a/accent-b/warm/light) into
   text gradients, section tags, accent borders, hover states, selection,
   scroll cues, and ambient glows — so the whole site reads "Future Star era"
   without overwriting any of the brand bones.
   ===================================================================== */

/* Text selection — era-accent-a wash with cream text */
::selection {
  background: color-mix(in srgb, var(--era-accent-a) 70%, transparent);
  color: var(--era-light);
}

/* Section tags alternate between gold and era-accent-b — variety without chaos.
   Every other section visually leans cobalt while preserving gold rhythm. */
.section-tag {
  color: var(--gold);
  position: relative;
  display: flex; align-items: center; gap: 14px;
}
.section-tag::before { background: var(--gold); transition: background .4s; }
/* Music + Visuals sections — pick up era-accent-b (cobalt) */
.music .section-tag, .visuals .section-tag { color: var(--era-accent-b); }
.music .section-tag::before, .visuals .section-tag::before { background: var(--era-accent-b); }
/* Listen ("first listen") + Shows — pick up era-accent-a (crimson) */
.listen .section-tag, .shows .section-tag { color: var(--era-accent-a); }
.listen .section-tag::before, .shows .section-tag::before { background: var(--era-accent-a); }

/* About italic ("to skyrise.") gets a warm era-warm tone — picks up
   the hotel-sign yellow from the cover */
.about-text h2 em {
  color: var(--era-warm);
  font-style: italic;
}

/* Streaming cards — gold borders default, but each platform glows a different
   era color on hover. Spotify cobalt, Apple Music crimson, the rest era-warm. */
.streaming-card:hover {
  border-color: color-mix(in srgb, var(--era-warm) 55%, var(--gold));
  box-shadow: 0 12px 40px -8px color-mix(in srgb, var(--era-warm) 35%, transparent);
}
.streaming-card[href*="spotify.com"]:hover {
  border-color: color-mix(in srgb, var(--era-accent-b) 70%, var(--gold));
  box-shadow: 0 12px 40px -8px color-mix(in srgb, var(--era-accent-b) 40%, transparent);
}
.streaming-card[href*="apple.com"]:hover {
  border-color: color-mix(in srgb, var(--era-accent-a) 70%, var(--gold));
  box-shadow: 0 12px 40px -8px color-mix(in srgb, var(--era-accent-a) 40%, transparent);
}

/* Primary CTA gets era-accent shadow pulse */
.btn-primary {
  box-shadow:
    0 8px 24px -6px color-mix(in srgb, var(--era-primary) 50%, rgba(0,0,0,0.4)),
    inset 0 1px 0 rgba(255,255,255,0.18);
  transition: all .3s;
}
.btn-primary:hover {
  box-shadow:
    0 12px 32px -6px color-mix(in srgb, var(--era-accent-a) 55%, rgba(0,0,0,0.4)),
    inset 0 1px 0 rgba(255,255,255,0.25);
}

/* Ghost CTA on hover — era-tinted border */
.btn-ghost:hover {
  border-color: var(--era-warm);
  color: var(--era-warm);
}

/* Nav CTA pill on hover — era-warm accent fill instead of plain gold */
.nav-cta:hover {
  background: linear-gradient(135deg, var(--gold) 0%, var(--era-warm) 100%) !important;
  color: var(--bg) !important;
}

/* Listen section ("Be first to hear Future Star")
   Inline em — must NOT be inline-block (that constrains its width and
   causes the song title to wrap mid-word with hyphenation like "Fu- ture").
   Underline is done via text-decoration so it tracks the inline glyphs. */
.listen h2 em {
  color: var(--era-warm);
  font-style: italic;
  white-space: nowrap;              /* keep "Future Star" on one line */
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--era-accent-a) 60%, transparent);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

/* Shows empty state — era-warm italic for "no dates announced" */
.shows-empty-line {
  background: linear-gradient(180deg, var(--text) 60%, var(--era-warm) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Footer divider gradient — gold → era-primary → era-accent-a → era-accent-b → gold.
   Dual-bg trick: solid bg is layer 1 (TOP, clipped to padding-box → covers the inner area),
   gradient is layer 2 (BELOW, clipped to border-box → only the 1px ring shows through).
   The border itself is transparent so the gradient shows in the border ring. */
.footer {
  border-top: 1px solid transparent;
  background-image:
    linear-gradient(var(--bg), var(--bg)),
    linear-gradient(90deg,
      var(--gold) 0%,
      var(--era-primary) 25%,
      var(--era-accent-a) 50%,
      var(--era-accent-b) 75%,
      var(--gold) 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

/* Scroll indicator — pulse with era colors instead of plain dim text */
.hero-scroll {
  color: var(--era-warm) !important;
  opacity: 0.6;
  animation: scrollPulse 2.6s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.45; transform: translateY(0); }
  50%      { opacity: 0.85; transform: translateY(4px); }
}

/* Gallery items get a subtle era-toned border on hover — and a soft glow that hints
   "this lifestyle photo belongs to the Future Star era" without overwriting the image. */
.gallery-item {
  transition: transform .4s, box-shadow .4s, outline .2s;
  outline: 1px solid transparent;
}
.gallery-item:hover {
  transform: translateY(-2px);
  outline: 1px solid color-mix(in srgb, var(--era-warm) 50%, transparent);
  box-shadow: 0 16px 48px -10px color-mix(in srgb, var(--era-primary) 45%, transparent);
}

/* About section — subtle era-primary radial wash at the bottom-right corner,
   so when you scroll from hero into about, the era color carries through. */
.about {
  position: relative;
}
.about::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 85% 80%,
    color-mix(in srgb, var(--era-primary) 22%, transparent) 0%,
    transparent 55%);
  pointer-events: none; z-index: 0;
}
.about > * { position: relative; z-index: 1; }

/* North Carolina roots tag — era-accent-a styling so it pops as identity-grounded */
.about .section-tag {
  color: var(--era-accent-a);
}
.about .section-tag::before {
  background: linear-gradient(90deg, var(--era-accent-a), var(--era-warm));
}

/* Listen section background — gets era-primary at the top edge,
   blending the Phoenix night photo backdrop into era territory */
.listen::before {
  background-blend-mode: screen, normal;
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--era-primary) 25%, transparent) 0%,
      transparent 50%),
    var(--surface);
}

/* The "be first to know" / "join the inner circle" CTA in shows-empty — era glow */
.shows-empty .btn-primary {
  box-shadow:
    0 0 0 0 color-mix(in srgb, var(--era-accent-a) 60%, transparent),
    0 12px 28px -6px color-mix(in srgb, var(--era-primary) 60%, rgba(0,0,0,0.4));
}

/* Link hovers anywhere on the site pick up era-warm */
a:not(.btn):not(.nav-cta):not(.brand-link):hover {
  color: var(--era-warm);
}

/* Subtle film-grain era hint — keeps the existing grain, adds an era-tone overlay
   that's barely perceptible but unifies the whole page in era atmosphere */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(ellipse at 0% 0%,
    color-mix(in srgb, var(--era-primary) 18%, transparent) 0%,
    transparent 42%);
  mix-blend-mode: overlay;
}

/* Reduced motion — respect it */
@media (prefers-reduced-motion: reduce) {
  .hero-scroll, .hero-cover-stage, .hero-cover-stage::before, .hero-cover-stage::after {
    animation: none !important;
  }
}
