/* ==========================================================================
   Vio Lucia - vio2.css (2026 redesign)
   Dark minimal one-pager in the spirit of baccardi.co.uk: near-black ground,
   thin type, wide uppercase tracking, colour as light - never as surface.
   Accent rule: full-saturation --accent ONLY for focus rings, one primary CTA
   per section, and hover states. Everything else uses the -dim tokens.
   Single source of truth for the palette is this :root block.
   ========================================================================== */

:root {
  --bg:          #05070a;
  --surface:     #0d131c;
  --surface-2:   #131b26;
  --line:        rgba(255,255,255,.08);
  --line-strong: rgba(255,255,255,.16);
  --text:        #e8edf2;
  --muted:       #8b9bab;
  --accent:      #ff7a1a;
  --accent-hover:#ff8d3a;
  --accent-ink:  #140b03;   /* text on accent surfaces */
  --accent-dim:  rgba(255,122,26,.14);
  --cool:        #60b4c8;
  --cool-dim:    rgba(96,180,200,.14);
  --err:         #ff8f8f;

  --font-display: "Space Grotesk", "Avenir Next", "Century Gothic", sans-serif;
  --font-body:    "Inter", "Segoe UI", system-ui, sans-serif;

  --container: 1120px;
  --radius: 4px;
  --header-h: 68px;
  --section-gap: clamp(6rem, 12vw, 10rem);
}

/* ---------- fonts (self-hosted variable woff2, latin subset) ---------- */
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-var-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  color: var(--text);
  font: 400 16px/1.65 var(--font-body);
  background: var(--bg);           /* flat ground - no ambient gradients */
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, iframe, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--text); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: .01em;
  margin: 0 0 .5em;
}
p { margin: 0 0 1rem; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  padding: 10px 18px; background: var(--surface); border: 1px solid var(--line-strong);
  color: var(--text); font-size: .85rem; transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- glow canvas (cursor trail, JS-driven) ---------- */
.glow-canvas {
  position: fixed; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
  mix-blend-mode: screen; filter: blur(12px);
}

/* page content sits above the canvas - .hero included (it lives outside main) */
.site-header, main, .site-footer, .section-rail, .hero { position: relative; z-index: 1; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
main { min-height: 60vh; }
.section { padding: calc(var(--section-gap) / 2) 0; position: relative; }
/* anchor targets land below the sticky header, not underneath it */
[id] { scroll-margin-top: calc(var(--header-h) + 12px); }
.op-section { border-top: 1px solid var(--line); }
.op-section:first-of-type { border-top: 0; }

/* the reference signature: uppercase, wide-tracked, weight 400 labels */
.eyebrow, .section-eyebrow, .section-label {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .78rem;
  color: var(--muted);
  margin: 0 0 1.2rem;
}
.section-label { font-size: 1.35rem; color: var(--text); text-align: center; margin-bottom: .6rem; }
.section-head { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .section-eyebrow { margin-bottom: .8rem; }
.section-note { color: var(--muted); text-align: center; max-width: 620px; margin: 0 auto 30px; font-size: .95rem; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; min-height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(5,7,10,.78);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; }
.brand { display: inline-flex; }
.logo { display: inline-flex; align-items: center; }
.brand-logo { height: 46px; width: auto; display: block; }

.primary-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.primary-nav a {
  display: inline-block; padding: 8px 12px;
  font-family: var(--font-display); font-weight: 400;
  font-size: .78rem; text-transform: uppercase; letter-spacing: .16em;
  color: var(--muted);
  border-bottom: 1px solid transparent;
}
.primary-nav a:hover { color: var(--text); }
.primary-nav a.active { color: var(--text); border-bottom-color: var(--accent); }

.nav-toggle { display: none; background: none; border: 0; width: 42px; height: 42px; padding: 9px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--text); margin: 4px 0; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- sound toggle ---------- */
.sound-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 7px 12px; cursor: pointer;
  font-family: var(--font-display); font-size: .68rem; font-weight: 400;
  text-transform: uppercase; letter-spacing: .18em; color: var(--muted);
  transition: color .15s ease, border-color .15s ease;
}
.sound-toggle:hover { color: var(--text); border-color: var(--line-strong); }
.sound-toggle .st-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--muted); opacity: .5; transition: background .15s ease, opacity .15s ease, box-shadow .15s ease;
}
.sound-toggle[aria-pressed="true"] { color: var(--text); border-color: var(--accent); }
.sound-toggle[aria-pressed="true"] .st-dot {
  background: var(--accent); opacity: 1;
  box-shadow: 0 0 8px var(--accent);
}

/* ---------- section rail (one-pager anchor nav, desktop only) ---------- */
.section-rail {
  position: fixed; right: 22px; top: 50%; transform: translateY(-50%);
  z-index: 40; display: none;
}
.section-rail ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.section-rail a {
  display: flex; align-items: center; gap: 10px; justify-content: flex-end;
  color: var(--muted); font-family: var(--font-display);
  font-size: .62rem; text-transform: uppercase; letter-spacing: .18em;
}
.section-rail .rail-label { opacity: 0; transition: opacity .15s ease; }
.section-rail a:hover .rail-label, .section-rail a:focus-visible .rail-label,
.section-rail a.active .rail-label { opacity: 1; }
.section-rail .rail-dot {
  width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto;
  border: 1px solid var(--line-strong); background: transparent;
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.section-rail a.active .rail-dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 8px var(--accent); }
@media (min-width: 1000px) { .home .section-rail { display: block; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 13px 28px; border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 400; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .18em;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .12s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 9px 16px; font-size: .7rem; }
.btn-primary { color: var(--accent-ink); background: var(--accent); }
.btn-primary:hover { color: var(--accent-ink); background: var(--accent-hover); }
.btn-ghost { color: var(--text); background: transparent; border-color: var(--line-strong); }
.btn-ghost:hover { color: var(--text); border-color: var(--accent); }

/* ---------- AI disclosure badges (contract shared with JS lightboxes) ---------- */
.ai-badge {
  position: absolute; left: 10px; bottom: 10px; z-index: 4;
  padding: 3px 9px; border-radius: var(--radius);
  background: rgba(5,7,10,.72); border: 1px solid var(--line);
  color: var(--muted); font-family: var(--font-display);
  font-size: .58rem; text-transform: uppercase; letter-spacing: .14em;
  pointer-events: none;
}
.ai-badge--tl { left: 10px; top: 10px; bottom: auto; }
.ai-badge--hero { left: auto; right: 14px; bottom: 14px; }
.ai-note { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; margin: .4rem 0; }
.ai-note a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.ai-note a:hover { color: var(--accent); }

/* ---------- hero (#signal) ---------- */
.hero {
  position: relative; min-height: min(92vh, 920px);
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; text-align: center;
}
.hero-media { position: absolute; inset: 0; z-index: 0; background: var(--bg); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; }
/* loop video: bias the crop toward the faces; the burned-in top edge falls away first */
.hero-media video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero-media img { cursor: zoom-in; }
.hero-media button { padding: 0; margin: 0; border: 0; background: none; width: 100%; height: 100%; cursor: zoom-in; }
.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(5,7,10,.25) 0%, transparent 30%, rgba(5,7,10,.6) 68%, var(--bg) 96%),
    radial-gradient(140% 90% at 50% 18%, transparent 50%, rgba(5,7,10,.7) 100%);
}
.hero-inner {
  position: relative; z-index: 3; max-width: 880px; margin: 0 auto;
  padding: 0 24px clamp(56px, 10vh, 120px); pointer-events: none;
}
.hero-inner a, .hero-inner button { pointer-events: auto; }
.hero-title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2.6rem, 8vw, 5.2rem);
  text-transform: uppercase; letter-spacing: .22em; text-indent: .22em; /* offset the trailing tracking */
  margin: 0 0 .6rem; color: var(--text);
  text-shadow: 0 2px 40px rgba(0,0,0,.7);
}
.hero-tagline {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(.85rem, 2vw, 1.05rem);
  text-transform: uppercase; letter-spacing: .2em;
  color: var(--muted); margin: 0 0 1.6rem;
}
.hero-lede { color: rgba(232,237,242,.9); max-width: 54ch; margin: 0 auto 2rem; text-shadow: 0 1px 18px rgba(0,0,0,.7); }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-scroll-hint {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 3;
  color: var(--muted); font-size: 1.1rem; pointer-events: none; opacity: .6;
}
/* pause toggle for the hero loop video (injected by vio2.js, WCAG 2.2.2) */
.hero-video-pause {
  position: absolute; right: 16px; top: calc(var(--header-h) + 16px); z-index: 4;
  width: 38px; height: 38px; border-radius: var(--radius);
  border: 1px solid var(--line-strong); background: rgba(5,7,10,.65);
  color: var(--text); font-size: .8rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.hero-video-pause:hover { border-color: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .hero-scroll-hint { animation: hint-drift 2.4s ease-in-out infinite; }
  @keyframes hint-drift { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 7px); } }
}

/* ---------- transmission (slim newsletter, high on the page) ---------- */
.transmission-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.transmission-title { font-size: clamp(1.4rem, 3.2vw, 2rem); text-transform: uppercase; letter-spacing: .14em; }
.transmission .prose { margin: 0 auto 1.6rem; color: var(--muted); }

/* ---------- Kit (kit.com) inline form embed - !important beats Kit's inline styles ---------- */
.kit-embed { width: 100%; }
.kit-embed-page { max-width: 460px; margin: 24px auto 0; }
.kit-embed .formkit-form { width: 100% !important; max-width: 100% !important; background: transparent !important; border: 0 !important; }
.kit-embed .formkit-fields { display: flex !important; flex-wrap: wrap; gap: 12px; justify-content: center; }
.kit-embed .formkit-field { flex: 1 1 240px; }
.kit-embed .formkit-input {
  background: var(--surface) !important; color: var(--text) !important;
  border: 1px solid var(--line-strong) !important; border-radius: var(--radius) !important;
  padding: 13px 16px !important; font: 400 .95rem/1.4 var(--font-body) !important; width: 100% !important;
}
.kit-embed .formkit-input::placeholder { color: var(--muted); opacity: 1; }
.kit-embed .formkit-input:focus { outline: none; border-color: var(--accent) !important; }
.kit-embed .formkit-submit {
  background-color: var(--accent) !important; color: var(--accent-ink) !important;
  border-radius: var(--radius) !important;
  font-family: var(--font-display) !important; font-weight: 400 !important;
  text-transform: uppercase !important; letter-spacing: .16em !important; font-size: .78rem !important;
  padding: 13px 26px !important; border: 1px solid transparent !important;
}
.kit-embed .formkit-submit:hover { background-color: var(--accent-hover) !important; }
.kit-embed .formkit-alert-error:not(:empty) { color: var(--err); font-size: .82rem; margin-top: 6px; }
.kit-embed .formkit-powered-by-convertkit { color: var(--muted) !important; font-size: .7rem !important; opacity: .6; }
.kit-note { margin-top: 14px; }

/* ==========================================================================
   Song hero (2026-09-27) - mobile-first, reads hero.md `current_song`.
   Built for 375px first: wordmark top, SCROLL hint, song block + signup strip
   in the lower third, social rail right. >=768px the song block and the strip
   sit side by side. The poster <img> is the LCP; the loop fades in over it.
   Shared with /the-band (.hero--band) and /welcome (.hero--welcome).
   ========================================================================== */
.hero--song {
  min-height: 100vh; min-height: 100dvh;          /* dvh: nothing hides under the iOS bar */
  padding-top: var(--header-h);                   /* the nav floats over the top edge */
  justify-content: space-between; text-align: left;
}
.hero-poster { position: absolute; inset: 0; display: block; }
.hero-poster img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; cursor: default; }
.hero-media .hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 40%;
  opacity: 0; transition: opacity .4s ease;     /* invisible until it really plays (vio2.js 12) */
}
.hero.is-playing .hero-video { opacity: 1; }
.hero-scrim--song {
  background:
    linear-gradient(to bottom, rgba(5,7,10,.55) 0%, rgba(5,7,10,.05) 26%, rgba(5,7,10,.12) 48%, rgba(5,7,10,.8) 76%, rgba(5,7,10,.95) 100%);
}
/* floating nav on song-hero pages: transparent over the video, solid once scrolled past (vio2.js) */
.has-song-hero .site-header {
  position: fixed; left: 0; right: 0; top: 0;
  background: linear-gradient(to bottom, rgba(5,7,10,.6), rgba(5,7,10,0));
  border-bottom-color: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  transition: background .25s ease, border-color .25s ease;
}
/* is-scrolled (2026-10-01): solid from the first pixels of scroll - otherwise the white
   crest slides under the transparent nav and the menu reads white on white */
.has-song-hero .site-header.is-solid,
.has-song-hero .site-header.is-scrolled {
  background: rgba(5,7,10,.86); border-bottom-color: var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.has-song-hero:not(.is-past-hero) .section-rail:not(:focus-within) { opacity: 0; pointer-events: none; }   /* a focused rail link never fades away */
.section-rail { transition: opacity .25s ease; }

.hero-tools {
  position: absolute; right: 14px; top: calc(var(--header-h) + 10px); z-index: 4;
  display: flex; align-items: center; gap: 8px;
}
.hero-tools .hero-video-pause { position: static; width: 34px; height: 34px; }
.hero-listen { background: rgba(5,7,10,.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

.hero-inner--song {
  display: flex; flex-direction: column; flex: 1 1 auto;
  width: 100%; max-width: none; margin: 0;
  padding: clamp(8px, 2vh, 28px) 20px 40px;         /* bottom clears the AI badge row */
  justify-content: space-between; gap: 16px;
  pointer-events: auto;                            /* the Kit input must be typeable */
}
.hero-brand { text-align: center; padding-top: clamp(4px, 3vh, 40px); }
.hero-crest {
  width: clamp(84px, 24vw, 140px); height: auto; margin: 0 auto 8px;
  filter: drop-shadow(0 6px 24px rgba(0,0,0,.65));
}
.hero-title--song { font-size: clamp(1.5rem, 6.4vw, 4rem); margin: 0; }
.hero-scroll {
  align-self: center; display: inline-flex; align-items: center; gap: 6px;
  color: var(--muted); font-family: var(--font-display);
  font-size: .62rem; text-transform: uppercase; letter-spacing: .3em; opacity: .75;
}
.hero-scroll-arrow { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .hero-scroll-arrow { animation: hint-drift-y 2.4s ease-in-out infinite; }
  @keyframes hint-drift-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
}
.hero-fold { display: grid; gap: 18px; width: 100%; max-width: var(--container); margin: 0 auto; }
.hero-song { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.hero-song-link { display: block; color: var(--text); text-shadow: 0 2px 30px rgba(0,0,0,.75); border-radius: var(--radius); }
.hero-song-link:hover { color: var(--text); }
.hero-song-link:hover .hero-song-title { color: var(--accent); }
.hero-song-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.hero-song-title {
  display: block; font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2.6rem, 12vw, 5rem); line-height: .95;
  text-transform: uppercase; letter-spacing: .12em;
  transition: color .15s ease;
}
.hero-song-cta {                                     /* ghost over video: only Subscribe stays orange (2026-09-27) */
  color: #fff; border-color: rgba(255,255,255,.7);
  background: rgba(5,7,10,.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  text-shadow: none;
}
.hero-song-cta:hover, .hero-song-cta:focus-visible { color: #fff; border-color: #fff; background: rgba(5,7,10,.55); }
/* two ghost buttons in one row - phones included (2026-10-01) */
.hero-song-ctas { display: flex; flex-wrap: nowrap; gap: 10px; }
.hero-song-ctas .btn { white-space: nowrap; }
@media (max-width: 400px) { .hero-song-ctas .btn { padding: 12px 16px; letter-spacing: .14em; } }
@media (max-width: 340px) { .hero-song-ctas .btn { padding: 12px 12px; min-height: 44px; font-size: .72rem; letter-spacing: .1em; } }
.hero-song-meta {
  display: block; margin-top: 8px;
  font-family: var(--font-display); font-weight: 400; font-size: .68rem;
  text-transform: uppercase; letter-spacing: .2em; color: var(--muted);
}
.hero-signal { border-top: 1px solid var(--line-strong); padding-top: 14px; }
.hero-signal-eyebrow {
  font-family: var(--font-display); font-weight: 400; font-size: .64rem;
  text-transform: uppercase; letter-spacing: .22em; color: var(--muted); margin: 0 0 10px;
}
/* the Kit embed inside the hero: one row on phones (input + button), compact */
.kit-embed-hero { max-width: 460px; min-height: 161px; }   /* reserved: Kit injects the form after first paint (measured 161px on phones, 96px desktop) - no jump of the song block */
.kit-embed-hero .formkit-fields { justify-content: flex-start; flex-wrap: nowrap !important; gap: 8px; }
.kit-embed-hero .formkit-field { flex: 1 1 140px !important; width: auto !important; min-width: 0 !important; max-width: none !important; margin: 0 !important; }
.kit-embed-hero .formkit-input { padding: 11px 12px !important; font-size: .92rem !important; }
.kit-embed-hero .formkit-submit {
  display: inline-flex !important; align-items: center; justify-content: center;
  width: auto !important; flex: 0 0 auto !important;   /* Kit sets width:100% on wide forms - one row here, always */
  min-height: 44px; padding: 0 14px !important;
  font-size: .68rem !important; letter-spacing: .14em !important;
  white-space: nowrap;
}
/* Kit's own CSS pads the label span (12px 24px) - that is what made the button 62px tall */
.kit-embed-hero .formkit-submit > span { padding: 0 !important; display: inline !important; }
.kit-embed-hero .formkit-powered-by-convertkit-container { text-align: left; }
.hero-social {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%); z-index: 4;
  display: flex; flex-direction: column; gap: 12px;
}
.hero-social a { color: rgba(232,237,242,.85); display: inline-flex; padding: 4px; line-height: 0; transition: color .15s ease; }
.hero-social a:hover { color: var(--accent); }
.hero-social svg { display: block; width: 18px; height: 18px; fill: currentColor; filter: drop-shadow(0 1px 6px rgba(0,0,0,.7)); }
@media (max-width: 359px) { .hero-social { display: none; } }   /* the footer has them anyway */
@media (max-width: 360px) { .hero-crest { width: 72px; } .hero-brand { padding-top: 44px; } }   /* clear the pause/Listen row */

/* the band lede that left the hero - now the intro of #music */
.music-intro { max-width: 620px; margin: 0 auto; }
.music-intro .music-tagline { margin-bottom: 1rem; }
.music-intro .hero-lede { margin: 0 auto; text-shadow: none; color: var(--muted); }

/* /the-band header loop */
.hero--band { min-height: min(72vh, 760px); }
.hero--band .hero-media img { object-position: 50% 32%; cursor: default; }
.hero--band .hero-media .hero-video { object-position: 50% 42%; }
.hero-inner--band { padding-bottom: clamp(36px, 7vh, 88px); }
.band-hero-copy--below { display: none; margin-bottom: 40px; }   /* desktop: the lede sits in the hero */
.band-intro-section { text-align: center; }
.band-intro-video { max-width: 960px; margin: 0 auto; }

/* /welcome */
.hero--welcome { min-height: min(78vh, 760px); min-height: min(78dvh, 760px); }
.hero-inner--welcome { justify-content: flex-end; text-align: center; gap: 28px; }
.hero-tagline--welcome { color: var(--text); margin: .8rem 0 0; text-shadow: 0 1px 18px rgba(0,0,0,.7); }
.hero-fold--welcome { justify-items: center; }
.hero--welcome .hero-song { align-items: center; text-align: center; }
.welcome { text-align: center; }
.welcome-clip { margin-top: 0; }
.welcome-player { max-width: 960px; margin: 0 auto; }
.welcome-player .ai-badge { top: 10px; bottom: auto; }   /* keep clear of the native controls bar */
.welcome .page-intro { margin: 32px auto 0; }
.welcome-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 24px 0 28px; }
.welcome-social { display: flex; justify-content: center; gap: 18px; }
.welcome-social a { color: var(--muted); display: inline-flex; line-height: 0; transition: color .15s ease; }
.welcome-social a:hover { color: var(--accent); }
.welcome-social svg { display: block; width: 22px; height: 22px; fill: currentColor; }

@media (min-width: 768px) {
  .hero-inner--song { padding: 24px 40px 28px; }
  .hero-brand { padding-top: clamp(24px, 6vh, 72px); }
  .hero-crest { width: clamp(120px, 14vw, 180px); margin-bottom: 12px; }
  .hero-title--song { font-size: clamp(2.2rem, 5vw, 4.4rem); }
  .hero-fold {
    grid-template-columns: minmax(0, 1.3fr) minmax(300px, 460px);
    align-items: end; justify-content: space-between; gap: 40px;
  }
  .hero-song-title { font-size: clamp(3.4rem, 7vw, 5.6rem); }
  .hero-signal { border-top: 0; padding-top: 0; }
  .kit-embed-hero { min-height: 96px; }
  .hero-social { right: 22px; gap: 16px; }
  .hero-social svg { width: 20px; height: 20px; }
  .hero-tools { right: 22px; }
  .hero-fold--welcome { grid-template-columns: 1fr; }
}

/* ---------- featured release (inside #music) ---------- */
.featured-grid { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: 48px; align-items: center; }
.featured-art { position: relative; }
.featured-art img, .art-placeholder { width: 100%; aspect-ratio: 1; border-radius: var(--radius); object-fit: cover; }
.featured-art .sfx-cover { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: none; cursor: pointer; overflow: hidden; transition: border-color .18s ease; }
.featured-art .sfx-cover:hover { border-color: var(--accent); }
.art-placeholder, .embed-placeholder {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--line); color: var(--muted);
  letter-spacing: .1em; text-transform: uppercase; font-size: .72rem;
}
.featured-title { font-size: clamp(1.7rem, 4vw, 2.6rem); text-transform: uppercase; letter-spacing: .1em; }
.featured-meta { color: var(--muted); font-family: var(--font-display); letter-spacing: .16em; text-transform: uppercase; font-size: .74rem; margin-top: -.2em; }
.featured-body .prose { color: var(--muted); }
.featured-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.4rem; }

/* ---------- playlists (Spotify click-facades, contract with vio2.js) ---------- */
.spotify-facade {
  display: block; width: 100%; padding: 0; text-align: left; cursor: pointer;
  color: var(--text); font-family: inherit;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .18s ease;
}
.spotify-facade:hover { border-color: var(--accent); }
.sp-cover { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.sp-meta { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; }
.sp-eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .62rem; color: var(--cool); font-family: var(--font-display); }
.sp-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 400; letter-spacing: .04em; }
.sp-hint { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .78rem; }
.sp-hint .play-glyph { font-size: .95rem; }
.spotify-featured { position: relative; margin-bottom: 26px; }
.sp-feat { display: grid; grid-template-columns: 260px 1fr; align-items: center; }
.sp-feat .sp-cover { aspect-ratio: 1; }
.sp-feat .sp-meta { padding: 20px 26px; }
.sp-feat .sp-title { font-size: 1.5rem; }
.spotify-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.spotify-cell { position: relative; display: flex; flex-direction: column; }
.spotify-embed { display: block; width: 100%; border: 0; border-radius: var(--radius); }
.spotify-open { display: inline-block; margin-top: 8px; color: var(--muted); font-size: .78rem; }
.spotify-open:hover { color: var(--accent); }
.play-glyph { color: var(--accent); font-size: 1.3rem; }

/* ---------- page head / prose (subpages) ---------- */
.page-content { padding: 64px 24px 40px; max-width: var(--container); margin: 0 auto; }
.page-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.page-title { font-size: clamp(1.9rem, 5vw, 3rem); text-transform: uppercase; letter-spacing: .12em; font-weight: 300; }
.page-subtitle { color: var(--muted); font-size: 1.05rem; }
.page-footnote { color: var(--muted); font-size: .85rem; text-align: center; margin-top: 40px; }
.prose { max-width: 68ch; }
.prose.world-intro, .band-intro, .prose.page-intro { margin-left: auto; margin-right: auto; text-align: center; }
.prose h2 { margin-top: 1.6em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--accent); }
.prose img { border-radius: var(--radius); margin: 1.2rem 0; }
.page-section { margin-top: 64px; }

/* ---------- persona grid ---------- */
.persona-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.persona-card {
  background: var(--bg); overflow: hidden; cursor: pointer; position: relative;
  transition: background .18s ease;
}
/* :focus-within: the overlay button carries focus, the card shows the state */
.persona-card:hover, .persona-card:focus-within { background: var(--surface); }
/* lead marker: dim border light, not a full-saturation surface (accent rule) */
.persona-card.is-lead .persona-portrait { box-shadow: inset 0 0 0 1px var(--accent-dim); }
.persona-portrait { aspect-ratio: 4/5; position: relative; overflow: hidden; }
/* invisible overlay button = the keyboard/AT click target; headings stay outside it */
.persona-open {
  position: absolute; inset: 0; z-index: 2;
  background: none; border: 0; padding: 0; cursor: pointer;
}
.persona-open:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.persona-portrait img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82); transition: filter .25s ease, transform .4s ease; }
.persona-card:hover .persona-portrait img { filter: saturate(1); transform: scale(1.025); }
.persona-zoom { position: absolute; right: 10px; top: 10px; color: rgba(232,237,242,.75); font-size: 1rem; opacity: 0; transition: opacity .15s ease; }
.persona-card:hover .persona-zoom { opacity: 1; }
.persona-body { padding: 16px 18px 20px; }
.persona-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.persona-name { font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; margin: 0; }
.persona-status { font-family: var(--font-display); font-size: .56rem; text-transform: uppercase; letter-spacing: .16em; padding: 3px 8px; border: 1px solid var(--cool-dim); border-radius: var(--radius); color: var(--cool); }
.persona-role { color: var(--muted); font-family: var(--font-display); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; margin: .3rem 0 .5rem; }
.persona-blurb { color: var(--muted); font-size: .88rem; margin: 0; }

/* ---------- band page extras ---------- */
.band-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; margin-bottom: 56px; }
.band-hero-video { position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.bandvid-facade { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #000; cursor: pointer; }
.bandvid-facade img { width: 100%; height: auto; opacity: .85; transition: opacity .2s ease; }
.bandvid-facade:hover img { opacity: 1; }
.bandvid-facade .play-glyph { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); font-size: 2.2rem; color: #fff; text-shadow: 0 0 22px rgba(255,122,26,.9); }
.bandvid-player { width: 100%; height: auto; }
.band-hero-heading { text-transform: uppercase; letter-spacing: .12em; font-size: 1.3rem; }
.band-hero-copy .prose { color: var(--muted); }

/* ---------- lore ---------- */
.lore-stack { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.lore-entry { padding: 32px 4px; border-bottom: 1px solid var(--line); }
.lore-title { font-size: 1.15rem; text-transform: uppercase; letter-spacing: .12em; }
.lore-flag { color: var(--cool); font-size: .8rem; font-style: italic; margin-top: -.4rem; }

/* ---------- videos ---------- */
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.video-card { margin: 0; }
.video-frame { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #000; }
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.video-facade { position: absolute; inset: 0; padding: 0; border: 0; cursor: pointer; background: #000; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .78; transition: opacity .2s ease; }
.video-facade:hover img { opacity: 1; }
.video-facade .play-glyph { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); font-size: 2.2rem; color: #fff; text-shadow: 0 0 20px rgba(255,122,26,.85); }
.video-card figcaption { display: flex; flex-direction: column; gap: 2px; padding: 12px 2px; }
.video-title { font-family: var(--font-display); letter-spacing: .06em; text-transform: uppercase; font-size: .92rem; }
.video-desc { color: var(--muted); font-size: .88rem; }
.video-fallback { color: var(--muted); font-size: .76rem; margin-top: 4px; align-self: flex-start; }
.video-fallback:hover { color: var(--accent); }

/* ---------- shop ---------- */
.merch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.merch-tile { margin: 0; display: flex; flex-direction: column; }
.merch-tile.is-wide { grid-column: 1 / -1; }
.merch-view {
  position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--surface);
  transition: border-color .18s ease;
}
.merch-view:hover { border-color: var(--accent); }
/* aspect-ratio reserves the box before the image arrives (no layout shift) */
.merch-img, .merch-view img { display: block; width: 100%; height: auto; aspect-ratio: 3/4; object-fit: cover; }
.merch-tile.is-wide .merch-img, .merch-tile.is-wide .merch-view img { aspect-ratio: 16/9; }
.merch-soon {
  position: absolute; top: 10px; right: 10px; padding: 3px 10px; border-radius: var(--radius);
  background: rgba(5,7,10,.8); border: 1px solid var(--line-strong); color: var(--muted);
  font-family: var(--font-display); font-size: .58rem; text-transform: uppercase; letter-spacing: .16em;
}
.merch-tile figcaption { display: flex; flex-direction: column; gap: 2px; padding: 12px 2px; }
.merch-title { font-family: var(--font-display); letter-spacing: .06em; text-transform: uppercase; font-size: .9rem; }
.merch-tease { color: var(--muted); font-size: .85rem; }
.shop-signal { text-align: center; }
.shop-signal-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }

/* ---------- archive teaser (one-pager section) ---------- */
.archive-teaser { text-align: center; }
.archive-count {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(3rem, 9vw, 5.5rem); line-height: 1;
  color: var(--text); margin: 0 0 .3rem;
}
.archive-teaser .section-note { margin-bottom: 26px; }

/* ---------- archive page (contract with vio2.php + vio2.js) ---------- */
.archive-controls { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.archive-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.afilter {
  padding: 7px 13px; border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--muted); font-family: var(--font-display); font-size: .7rem;
  text-transform: uppercase; letter-spacing: .14em;
  transition: color .15s ease, border-color .15s ease;
}
.afilter span { color: var(--muted); opacity: .7; margin-left: 4px; }
.afilter:hover { color: var(--text); border-color: var(--line-strong); }
.afilter.active { color: var(--accent); border-color: var(--accent); }
.afilter.active span { color: var(--accent); opacity: .8; }
.archive-search { display: flex; align-items: center; gap: 8px; }
.archive-search input[type=search] {
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius);
  color: var(--text); font: inherit; padding: 8px 12px; min-width: 200px;
}
.archive-search input[type=search]:focus { outline: none; border-color: var(--accent); }
.search-ico { color: var(--muted); }
.search-go {
  background: transparent; color: var(--muted); border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--font-display); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  padding: 8px 14px; cursor: pointer; transition: color .15s ease, border-color .15s ease;
}
.search-go:hover { color: var(--text); border-color: var(--accent); }
.archive-subbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.archive-resultcount { color: var(--muted); font-size: .9rem; }
.result-clear { color: var(--muted); margin-left: 8px; text-decoration: underline; text-underline-offset: 3px; }
.result-clear:hover { color: var(--accent); }
.archive-persize { color: var(--muted); font-size: .8rem; display: inline-flex; align-items: center; gap: 8px; }
.persize-select {
  background: var(--surface); color: var(--text); border: 1px solid var(--line-strong);
  border-radius: var(--radius); padding: 6px 8px; font: inherit;
}
.archive-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.archive-card { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.archive-media { position: relative; aspect-ratio: 1; background: #000; cursor: zoom-in; }
.archive-media img, .archive-media video { width: 100%; height: 100%; object-fit: cover; }
.acar-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.acar-track::-webkit-scrollbar { display: none; }
.acar-slide { flex: 0 0 100%; height: 100%; scroll-snap-align: start; }
.acar-slide img, .acar-slide video { width: 100%; height: 100%; object-fit: cover; }
.acar-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: rgba(5,7,10,.65); color: var(--text); font-size: 1.15rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .15s ease;
}
.acar-nav:hover { border-color: var(--accent); }
.acar-nav.prev { left: 10px; } .acar-nav.next { right: 10px; }
.acar-count {
  position: absolute; right: 10px; top: 10px; z-index: 3; padding: 3px 9px;
  background: rgba(5,7,10,.72); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--muted); font-size: .68rem; letter-spacing: .08em;
}
.amedia-badge {
  position: absolute; left: 10px; top: 10px; z-index: 3; padding: 3px 9px;
  background: rgba(5,7,10,.72); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--cool); font-family: var(--font-display); font-size: .58rem;
  text-transform: uppercase; letter-spacing: .14em;
}
.amedia-zoom {
  position: absolute; right: 10px; bottom: 10px; z-index: 3; width: 32px; height: 32px;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: rgba(5,7,10,.65); color: var(--text); cursor: zoom-in; font-size: .95rem;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .15s ease;
}
.amedia-zoom:hover { border-color: var(--accent); }
.archive-info { padding: 14px 16px 16px; }
.archive-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted); font-size: .74rem; }
.atype { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .14em; font-size: .62rem; color: var(--cool); }
.archive-cap {
  color: var(--muted); font-size: .88rem; margin: .5rem 0 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.archive-empty { color: var(--muted); text-align: center; padding: 40px 0; }
.pager { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 44px; }
.pager-info { color: var(--muted); font-size: .85rem; }

/* ---------- lightbox (contract with vio2.js - identical class names to vio.js) ---------- */
.lightbox { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lb-backdrop { position: absolute; inset: 0; background: rgba(2,3,5,.9); cursor: zoom-out; }
.lb-box {
  position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(240px, 1fr);
  width: min(1200px, calc(100vw - 40px)); max-height: calc(100vh - 40px);
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden;
}
.img-box { display: block; width: auto; max-width: calc(100vw - 40px); background: transparent; border: 0; }
.img-box .lb-media img { max-width: calc(100vw - 40px); max-height: calc(100vh - 60px); width: auto; height: auto; }
.lb-stage { position: relative; background: #000; display: flex; align-items: center; justify-content: center; min-height: 240px; }
.lb-media { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.lb-media img, .lb-media video { max-width: 100%; max-height: calc(100vh - 60px); object-fit: contain; }
.lb-close {
  position: absolute; right: 10px; top: 10px; z-index: 5; width: 38px; height: 38px;
  border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(5,7,10,.7);
  color: var(--text); font-size: 1.3rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.lb-close:hover { border-color: var(--accent); }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: rgba(5,7,10,.65); color: var(--text); font-size: 1.25rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lb-nav:hover { border-color: var(--accent); }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.lb-counter {
  position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 4;
  padding: 3px 10px; background: rgba(5,7,10,.72); border: 1px solid var(--line);
  border-radius: var(--radius); color: var(--muted); font-size: .72rem;
}
.lb-info { padding: 22px 22px 26px; overflow-y: auto; }
.lb-meta { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .78rem; margin-bottom: 6px; }
.lb-type { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .14em; font-size: .62rem; color: var(--cool); }
.lb-caption { color: var(--text); font-size: .95rem; white-space: pre-line; }
body.lb-open { overflow: hidden; }
.band-lb-name { text-transform: uppercase; letter-spacing: .1em; font-size: 1.3rem; margin-bottom: .2rem; }
.band-lb-role { color: var(--muted); font-family: var(--font-display); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.band-lb-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0; }
.band-lb-tabs button {
  background: transparent; color: var(--muted); border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--font-display); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 12px; cursor: pointer; transition: color .15s ease, border-color .15s ease;
}
.band-lb-tabs button:hover { color: var(--text); border-color: var(--line-strong); }
.band-lb-tabs button.active { color: var(--accent); border-color: var(--accent); }
.band-lb-content { color: var(--muted); font-size: .93rem; max-height: 40vh; overflow-y: auto; }
.band-lb-content p { margin: 0 0 .8rem; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: var(--section-gap); padding: 56px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.footer-brand .brand-logo { height: 48px; }
.footer-newsletter { text-align: right; }
.footer-nl-heading { font-size: .85rem; text-transform: uppercase; letter-spacing: .2em; margin: 0 0 12px; font-weight: 400; }
.footer-nl-actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
.footer-social { display: flex; flex-direction: row; align-items: center; gap: 16px; }
.footer-social a { color: var(--muted); display: inline-flex; line-height: 0; transition: color .15s ease; }
.footer-social a:hover { color: var(--accent); }
.footer-social svg { display: block; width: 22px; height: 22px; fill: currentColor; }
.footer-ai { text-align: center; color: var(--muted); font-size: .76rem; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); }
.footer-ai a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.footer-ai a:hover { color: var(--accent); }
.footer-base { display: flex; align-items: center; justify-content: center; text-align: center; gap: 14px; margin-top: 14px; color: var(--muted); font-size: .8rem; }
.footer-base a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.footer-base a:hover { color: var(--accent); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .featured-grid, .band-hero { grid-template-columns: 1fr; }
  .persona-grid, .spotify-grid, .merch-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid, .archive-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-newsletter { text-align: left; }
  .footer-nl-actions { justify-content: flex-start; }
  .sp-feat { grid-template-columns: 1fr; }
  .lb-box { grid-template-columns: 1fr; max-height: calc(100vh - 24px); overflow-y: auto; }
  .lb-media img, .lb-media video { max-height: 60vh; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .primary-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
    background: rgba(5,7,10,.97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    display: none; padding: 10px 0 18px;
  }
  .primary-nav.open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav a { display: block; padding: 13px 26px; font-size: .85rem; border-bottom: 0; }
  .primary-nav a.active { color: var(--accent); }
  .persona-grid, .spotify-grid, .merch-grid { grid-template-columns: 1fr; }
  .hero { min-height: 86vh; }
  .hero--song { min-height: 100vh; min-height: 100dvh; }   /* the song hero owns the first fold */
  .hero--band { min-height: min(64vh, 560px); }
  /* phones: the loop keeps only the heading; the lede moves below the page head */
  .hero--band .hero-lede { display: none; }
  .band-hero-copy--below { display: block; }
  .hero--welcome { min-height: min(72vh, 640px); min-height: min(72dvh, 640px); }
  .hero--welcome .hero-crest { display: none; }            /* would sit on Vio's face at 375px; the nav has the logo */
  .hero-inner--welcome { padding-bottom: 48px; }
  .archive-controls { flex-direction: column; align-items: stretch; }
  .archive-search input[type=search] { flex: 1; min-width: 0; width: 0; }   /* width:0 drops the 20-char intrinsic width, else Search overflows */
  .sound-toggle .st-label { display: none; }
}

/* ---------- print: legal pages must come out readable ---------- */
@media print {
  body { background: #fff; color: #000; }
  .site-header, .site-footer, .section-rail, .sound-toggle, .glow-canvas,
  .hero-video-pause, .nav-toggle { display: none !important; }
  a { color: #000; text-decoration: underline; }
  .page-title, .prose, .page-subtitle { color: #000; }
}

/* ---------- reduced motion: kill every animation and transition ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-scroll-hint { animation: none; }
}
