:root {
  --bg: #06010a;
  --surface: #12081c;
  --fg: #f3e9d5;
  --muted: #a89880;
  --gold: #d4af37;
  --gold-bright: #f0d78c;
  --purple: #6b2d8b;
  --purple-deep: #3a1050;
  --violet: #9b4dff;
  --crimson: #cf1d33;
  --border: rgba(212, 175, 55, 0.22);
  --hairline: rgba(243, 233, 213, 0.1);
  --font-display: "Cinzel", "Times New Roman", serif;
  --font-body: "Cormorant Garamond", Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0; min-height: 100vh;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(107,45,139,.35), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 30%, rgba(155,27,46,.12), transparent 50%),
    radial-gradient(ellipse 50% 40% at 0% 70%, rgba(58,16,80,.4), transparent 55%);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-bright); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  padding: .6rem 1rem; background: var(--bg); color: var(--fg);
  border: 1px solid var(--gold); font-family: var(--font-display);
  font-size: .75rem; letter-spacing: .2em; text-transform: uppercase;
}
.skip-link:focus { top: .75rem; }
.gold-text {
  background: linear-gradient(135deg, #8a7020 0%, #f0d78c 28%, #d4af37 52%, #f5e6a8 72%, #a8892a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 12px rgba(212,175,55,.25));
}
.display { font-family: var(--font-display); font-weight: 700; letter-spacing: .08em; line-height: 1.05; }
.eyebrow {
  font-family: var(--font-display); font-size: .7rem; letter-spacing: .38em;
  text-transform: uppercase; color: var(--gold); margin: 0 0 .75rem;
}
.nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap;
  padding: .85rem 1.25rem;
  min-height: calc(96px + 1.7rem);
  background: rgba(6,1,10,.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.brand {
  font-family: var(--font-display); letter-spacing: .35em; font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.brand-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}
.brand-logo img {
  height: 96px;
  width: auto;
  max-width: 320px;
  display: block;
}
.nav-signin {
  position: static;
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: none;
  color: var(--gold);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  z-index: 1;
}
.nav-signin:hover { color: var(--gold-bright); }
.nav-signin.is-in {
  white-space: normal;
  text-align: left;
  max-width: min(32vw, 18rem);
  font-size: 1rem;
  line-height: 1.3;
}
.nav nav a.nav-basket {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  padding: .15rem 0;
  letter-spacing: 0;
}
.nav nav a.nav-basket:hover { color: var(--gold-bright); }
.nav-basket svg { display: block; width: 1.45rem; height: 1.45rem; }
.nav-basket span[data-basket-count] {
  position: absolute;
  top: -.15rem;
  right: -.4rem;
  min-width: 1rem;
  height: 1rem;
  padding: 0 .22rem;
  border-radius: 99px;
  background: var(--gold);
  color: #06010a;
  font-family: var(--font-display);
  font-size: .58rem;
  line-height: 1rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.nav-basket span[data-basket-count][hidden] { display: none; }
@media (max-width: 899px) {
  .nav {
    min-height: 2.9rem;
    padding: .28rem .7rem;
    gap: .35rem;
    flex-wrap: nowrap;
  }
  .brand-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    order: 0;
    width: auto;
    padding: 0;
    justify-content: center;
  }
  .brand-logo img {
    height: 40px;
    max-width: 130px;
  }
  .nav-signin {
    position: static;
    transform: none;
    order: 0;
    width: auto;
    text-align: left;
    padding: 0;
    font-size: .82rem;
    max-width: 28vw;
  }
  .nav nav { gap: .45rem .7rem; }
  .nav nav a { font-size: .62rem; padding: .2rem 0; letter-spacing: .14em; }
}
@media (max-width: 640px) {
  .nav {
    min-height: 2.6rem;
    padding: .22rem .5rem;
  }
  .brand-logo img {
    height: 34px;
    max-width: 110px;
  }
  .nav-signin { font-size: .78rem; }
}
@media (max-width: 400px) {
  .nav { min-height: 2.4rem; padding: .18rem .4rem; }
  .brand-logo img {
    height: 30px;
    max-width: 96px;
  }
}
@media (max-width: 640px) {
  /* Header only (not the footer nav) — About/Contact are one tap away via
     the footer, so drop them from the mobile header to save space. */
  .nav nav a[href$="#about"], .nav nav a[href$="#contact"] { display: none; }
}
.site-footer .brand-mark img {
  height: 80px;
  width: auto;
  max-width: 280px;
  display: block;
}
.nav nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.nav nav a {
  font-family: var(--font-display); font-size: .72rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--muted); text-decoration: none;
  padding: .4rem 0;
}
.nav nav a:hover, .nav nav a.active { color: var(--fg); }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }
.hero {
  display: grid; gap: 2.5rem; align-items: center;
  padding: 3.5rem 0 4rem;
}
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.05fr .95fr; gap: 3.5rem; padding: 5rem 0; }
}
.hero-copy h1 {
  font-size: clamp(3rem, 10vw, 5.5rem); margin: 0 0 .5rem;
}
.sub-tag {
  font-family: var(--font-display); font-size: .8rem; letter-spacing: .35em;
  text-transform: uppercase; color: var(--crimson); margin: 0 0 1rem;
}
.lead { color: var(--muted); font-size: 1.15rem; max-width: 38rem; }
.rule {
  display: block; width: min(100%, 520px); height: 28px;
  object-fit: contain; margin: 1.25rem 0; opacity: .85;
}
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.cta {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 44px; padding: .85rem 1.5rem;
  font-family: var(--font-display); font-size: .78rem; letter-spacing: .22em;
  text-transform: uppercase; text-decoration: none; border: 1px solid transparent;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.cta-primary {
  color: #030008;
  background: linear-gradient(135deg, #a8892a, #f0d78c 45%, #d4af37);
  border-color: var(--gold-bright);
  box-shadow: 0 8px 28px rgba(212,175,55,.28);
}
.cta-primary:hover { transform: translateY(-2px); color: #030008; }
.cta-ghost {
  color: var(--gold); border-color: rgba(212,175,55,.45);
  background: rgba(18,8,28,.5);
}
.cta-ghost:hover { background: rgba(212,175,55,.12); color: var(--gold-bright); }
button.cta {
  font: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
button.cta.share-btn {
  font-family: var(--font-display);
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.frame {
  position: relative; border: 1px solid var(--border);
  box-shadow: 0 24px 80px rgba(0,0,0,.55), inset 0 0 40px rgba(107,45,139,.15);
  overflow: hidden;
}
.frame::before {
  content: ""; position: absolute; inset: 6px;
  border: 1px solid rgba(212,175,55,.12); pointer-events: none; z-index: 1;
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-portrait { aspect-ratio: 4/5; }
.band {
  padding: 4rem 0; border-top: 1px solid var(--hairline);
  content-visibility: auto;
  contain-intrinsic-size: 800px;
  background-color: #06010a;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* Catalogue + Store: reset to flat colour — no photo backdrop */
#music.band,
#buy.band {
  content-visibility: visible;
  background-image: none !important;
  background-color: #06010a;
}
#gallery.band {
  background-image:
    linear-gradient(180deg, rgba(6,1,10,.72) 0%, rgba(6,1,10,.68) 50%, rgba(6,1,10,.82) 100%),
    url("/assets/bg-gallery.jpg");
}
#about.band {
  content-visibility: visible;
  scroll-margin-top: 5.5rem;
  background-image:
    linear-gradient(180deg, rgba(6,1,10,.76) 0%, rgba(6,1,10,.7) 45%, rgba(6,1,10,.86) 100%),
    url("/assets/bg-about.jpg");
}
@media (max-width: 640px) {
  #about.band {
    scroll-margin-top: calc(var(--dock-h, 11rem) + env(safe-area-inset-top) + 4.5rem);
  }
}
#contact.band {
  background-image:
    linear-gradient(180deg, rgba(6,1,10,.46) 0%, rgba(6,1,10,.40) 42%, rgba(6,1,10,.78) 100%),
    url("/assets/bg-contact.jpg?v=2");
  background-position: center 42%;
  background-size: cover;
}
.player-shell {
  background-color: #06010a;
  background-image:
    linear-gradient(180deg, rgba(6,1,10,.78) 0%, rgba(6,1,10,.74) 50%, rgba(6,1,10,.88) 100%),
    url("/assets/bg-music.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.band h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 .75rem;
}
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.two-col {
  display: grid; gap: 2.5rem; align-items: start;
}
@media (min-width: 900px) {
  .two-col { grid-template-columns: minmax(0,360px) 1fr; gap: 3.5rem; }
}
.tracks { list-style: none; padding: 0; margin: 1.5rem 0; }
.tracks li {
  display: block;
  padding: 0;
  border-bottom: 1px solid var(--hairline);
}
.tracks li > * { min-width: 0; }
.t-n { font-family: var(--font-display); color: var(--gold); font-size: .85rem; letter-spacing: .06em; }
.status-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.status-list li { display: flex; align-items: center; gap: .75rem; padding: .5rem 0; }
.dot {
  width: .65rem; height: .65rem; border-radius: 50%;
  box-shadow: 0 0 12px currentColor; flex-shrink: 0;
}
.dot-gold { background: var(--gold); color: var(--gold); }
.dot-violet { background: var(--violet); color: var(--violet); }
.dot-purple { background: var(--purple); color: var(--purple); }
.dot-red { background: var(--crimson); color: var(--crimson); }
.platforms {
  display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
.platform {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.1rem; border: 1px solid var(--border); background: rgba(18,8,28,.6);
  font-family: var(--font-display); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted);
}
.about-grid {
  display: grid; gap: 2.5rem; align-items: center;
}
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}
/* Visual gallery */
.gallery-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
@media (min-width: 640px) {
  .gallery-grid {
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  }
}
@media (min-width: 960px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}
.gallery-item {
  margin: 0;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 2px;
  cursor: zoom-in;
  border: 1px solid var(--border);
  background: var(--surface);
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease, filter .35s ease;
}
.gallery-item:hover img,
.gallery-item:focus-within img {
  transform: scale(1.05);
  filter: brightness(1.06);
}
.gallery-item:focus-within {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.center { text-align: center; }
.site-footer {
  border-top: 1px solid var(--border); padding: 3rem 1.25rem; margin-top: 2rem; text-align: center;
}
.site-footer .brand-mark {
  font-family: var(--font-display); letter-spacing: .4em; margin: 0 0 .75rem;
}
.copyright { font-family: Inter, system-ui, sans-serif; font-size: .72rem; letter-spacing: .06em; color: var(--muted); opacity: .8; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; margin-top: 1rem; }
.site-footer nav a {
  font-family: var(--font-display); font-size: .72rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted);
}
.site-footer nav a:hover { color: var(--fg); }
.outline { list-style: none; padding: 0; margin: 0; }
.outline li {
  display: grid; grid-template-columns: 3rem 1fr; gap: 1rem;
  padding: .85rem 0; border-bottom: 1px solid var(--hairline);
}
.o-n { font-family: var(--font-display); color: var(--gold); }
.narrow { max-width: 720px; margin-left: auto; margin-right: auto; }
.hero-theory { padding: 5rem 0 4rem; text-align: center; }
.hero-theory h1 { font-size: clamp(2.4rem, 8vw, 4.2rem); margin: 0 0 1rem; }

/* =========================================================
   EP GRID — four EPs
   ========================================================= */
.ep-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .ep-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.25rem;
  }
}
@media (min-width: 960px) {
  .ep-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
  }
}
.ep-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  content-visibility: auto;
  contain-intrinsic-size: 480px;
  /* Without this the grid item's automatic minimum size is the 480px
     contain-intrinsic-size placeholder, so before a card has rendered it forces
     itself to 480px — wider than a phone viewport. That pushed the whole page
     sideways on first paint and carried the right-hand play counters off the
     screen. min-width:0 lets the 1fr track govern the width instead. */
  min-width: 0;
}
.ep-card .ep-cover {
  margin: 0;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 2px;
  cursor: zoom-in;
  position: relative;
}
.ep-card .ep-cover img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #12081c;
  display: block;
  transition: transform .35s ease, filter .35s ease;
}
.ep-card .ep-cover:hover img {
  transform: scale(1.04);
  filter: brightness(1.06);
}
.ep-card .ep-cover:focus-within {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Lightbox for enlarged EP covers */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(4, 1, 8, .92);
  backdrop-filter: blur(12px);
  cursor: zoom-out;
}
.lightbox.is-open {
  display: flex;
  touch-action: none;
}
.lightbox img {
  /* Upscaled EP + track covers share the same enlarge frame */
  width: min(92vw, 1200px);
  height: min(88vh, 1200px);
  max-width: min(92vw, 1200px);
  max-height: min(88vh, 1200px);
  object-fit: contain;
  border: 1px solid var(--border);
  box-shadow: 0 24px 80px rgba(0,0,0,.65);
  border-radius: 2px;
  cursor: default;
  background: #0a0510;
  touch-action: none;
  user-select: none;
  -webkit-user-drag: none;
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: rgba(18, 8, 28, .85);
  color: var(--gold);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s, transform .15s;
}
.lightbox-close:hover {
  background: var(--gold);
  color: #06010a;
  transform: scale(1.06);
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  background: rgba(18, 8, 28, .85);
  color: var(--gold);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s, transform .15s;
  z-index: 2;
  user-select: none;
}
.lightbox-nav:hover {
  background: var(--gold);
  color: #06010a;
  transform: translateY(-50%) scale(1.08);
}
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
@media (max-width: 640px) {
  .lightbox-nav { width: 40px; height: 40px; font-size: 1.2rem; }
  .lightbox-prev { left: .5rem; }
  .lightbox-next { right: .5rem; }
}
.ep-card .frame {
  margin: 0;
}
.ep-body .tracks {
  margin: .75rem 0 0;
}
.ep-body .tracks li {
  padding: 0;
  border-bottom: 1px solid var(--hairline);
}
.ep-body .tracks a,
.ep-body .tracks .track-btn {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr) auto auto;
  gap: .5rem .75rem;
  align-items: baseline;
  color: inherit;
  text-decoration: none;
  width: 100%;
  transition: color .15s, text-shadow .2s ease, background .2s ease;
  background: transparent;
  border: 0;
  padding: .7rem 0;
  font: inherit;
  font-size: .95rem;
  text-align: left;
  cursor: pointer;
  line-height: 1.35;
}
.ep-body .tracks a > *,
.ep-body .tracks .track-btn > * {
  min-width: 0;
}
.ep-body .tracks a > span:nth-child(2),
.ep-body .tracks .track-btn > span:nth-child(2) {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.ep-body .tracks a > span:last-child,
.ep-body .tracks .track-btn > span:last-child {
  white-space: nowrap;
  flex-shrink: 0;
}
.ep-body .tracks a:hover,
.ep-body .tracks .track-btn:hover,
.ep-body .tracks .track-btn.active {
  color: var(--gold);
}
.ep-body .tracks a:hover .muted,
.ep-body .tracks .track-btn:hover .muted,
.ep-body .tracks .track-btn.active .muted {
  color: var(--gold);
}

/* Per-track plays counter */
.t-plays {
  grid-column: 3;
  white-space: nowrap;
  text-align: right;
  font-family: var(--font-display);
  font-size: .72rem;
  letter-spacing: .04em;
  color: var(--muted);
  min-width: 0;
}
.ep-body .tracks .track-btn > .t-plays { justify-self: end; }
.ep-body .tracks .track-btn > span:last-child { grid-column: 4; }
.ep-body .tracks .track-btn:hover .t-plays,
.ep-body .tracks .track-btn.active .t-plays { color: var(--gold); }

/* Soft gold glow when hovering the track that's currently playing */
.ep-body .tracks .track-btn.active:hover {
  color: var(--gold-bright);
  background: radial-gradient(ellipse at left, rgba(212,175,55,.10), rgba(212,175,55,0) 72%);
  text-shadow: 0 0 10px rgba(240,215,140,.65), 0 0 24px rgba(212,175,55,.35);
}
.ep-body .tracks .track-btn.active:hover .muted,
.ep-body .tracks .track-btn.active:hover .t-plays {
  color: var(--gold-bright);
  text-shadow: 0 0 8px rgba(212,175,55,.45);
}
/* Mobile: title + duration on row 1, play count on row 2 flush left so
   the counter can never run off the right edge of the screen. */
@media (max-width: 959px) {
  .ep-body .tracks,
  .ep-body .tracks li,
  .ep-body .tracks .track-btn {
    max-width: 100%;
    overflow: visible;
  }
  .ep-body .tracks .track-btn {
    grid-template-columns: 2.25rem minmax(0, 1fr) auto;
    gap: .15rem .55rem;
  }
  .ep-body .tracks .track-btn > span:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
  .ep-body .tracks .track-btn > .muted.small {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    white-space: nowrap;
  }
  .ep-body .tracks .track-btn > .t-plays {
    grid-column: 2 / -1;
    grid-row: 2;
    justify-self: start;
    text-align: left;
    white-space: nowrap;
  }
  .ep-body .tracks .track-btn > span.t-owned {
    grid-column: 2 / -1;
    grid-row: 3;
    justify-self: start;
  }
}

/* =========================================================
   HERO BANNER — Strat live shot, constrained size
   ========================================================= */
.hero-banner {
  scroll-margin-top: 5.5rem;
  padding: 1.25rem 1.25rem 1.5rem;
  margin: 0 auto;
  width: 100%;
  max-width: none;
  background-color: #06010a;
  background-image:
    linear-gradient(180deg, rgba(6,1,10,.55) 0%, rgba(6,1,10,.42) 45%, rgba(6,1,10,.78) 100%),
    url("/assets/bg-hero.jpg");
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}
.hero-banner .frame {
  aspect-ratio: 16 / 9;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
  background: #06010a url('/assets/hero-featured.jpg') center / cover no-repeat;
  line-height: 0;
}
.hero-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem 1.5rem;
  align-items: stretch;
}
.hero-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  line-height: 1.55;
  hyphens: none;
  -webkit-hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}
.hero-col .hero-name {
  font-size: clamp(1.7rem, 3.6vw, 2.35rem);
  margin: 0 0 .35rem;
  text-wrap: balance;
}
.hero-col .hero-role { font-style: italic; }
.hero-col p {
  margin: 0 0 .7rem;
  text-wrap: pretty;
}
.hero-col p:last-child { margin-bottom: 0; }
@media (min-width: 960px) {
  .hero-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 40%) minmax(0, 1fr);
    gap: 1.4rem 1.6rem;
    max-width: 1240px;
  }
  .hero-banner .frame {
    max-width: none;
    margin: 0;
    align-self: center;
  }
  .hero-col { font-size: .98rem; }
}
@media (max-width: 959px) {
  .hero-split .frame { order: -1; }
  .hero-col { max-width: 38rem; margin-inline: auto; }
}
.hero-banner .frame::before {
  display: none;
}
.hero-banner .frame picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-banner .frame img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.ep-card picture {
  display: block;
  width: 100%;
}
.ep-card picture img {
  width: 100%;
  height: auto;
  display: block;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin-top: 1.25rem;
}

/* =========================================================
   MOBILE — rebuilt from scratch
   Same structure and images as desktop. Only scale & spacing.
   ========================================================= */
html {
  -webkit-text-size-adjust: 100%;
}
img, video {
  max-width: 100%;
  height: auto;
}

@media (max-width: 899px) {
  body {
    font-size: 1.05rem;
    overflow-x: hidden;
  }

  /* Navigation stays horizontal, same as desktop */
  .nav {
    position: sticky;
    top: 0;
    z-index: 50;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .6rem 1rem;
    padding: .75rem 1rem;
    padding-top: max(.75rem, env(safe-area-inset-top));
  }
  /* Links get their own wrapping box that hugs the right edge of the header,
     wrapping into their own rows (typically two) independently of the logo,
     instead of dropping below it as a single flex item would. */
  .nav nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-content: flex-start;
    gap: .45rem .85rem;
    /* A small explicit basis (rather than auto) is what lets this box share
       the first line with the logo: flex line-wrapping is decided from each
       item's hypothetical size, which for flex-basis:auto is its full
       *unwrapped* content width -- so it would always overflow onto its own
       line, downstream flex-shrink notwithstanding. A concrete basis gives
       it a small hypothetical size instead, so it stays beside the logo
       and grows to fill the remaining width, wrapping its own children. */
    flex: 1 1 200px;
    min-width: 0;
  }
  .nav nav a {
    font-size: .65rem;
    letter-spacing: .16em;
    white-space: nowrap;
    padding: .3rem 0;
  }

  .wrap {
    padding: 0 1rem;
  }

  .band {
    padding: 2.75rem 0;
  }
  .band h2 {
    font-size: clamp(1.65rem, 6.5vw, 2.3rem);
  }

  /* Mobile: smaller constrained hero */
  .hero-banner {
    display: block !important;
    padding: 1rem 1rem 1.25rem !important;
    margin: 0 auto !important;
    max-width: 1100px !important;
  }
  .hero-banner .frame {
    display: block !important;
    max-width: 100% !important;
    width: 100% !important;
    aspect-ratio: 16 / 9;
    border-radius: 4px !important;
    margin: 0 auto !important;
  }
  .hero-banner img,
  #hero-main {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }
  .hero-actions {
    padding: 0;
  }
  .ep-card picture,
  .ep-card .frame,
  .ep-card .cover-link,
  .ep-card img,
  .player-dock img,
  #np-cover {
    display: block !important;
  }
  .ep-card .cover-hint {
    display: none !important;
  }

  .hero-actions,
  .cta-row {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: .65rem;
  }
  .cta {
    min-height: 44px;
    padding: .8rem 1.25rem;
    font-size: .72rem;
    width: auto;
  }

  /* Stack music + about sections */
  .two-col,
  .about-grid {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
  }

  .tracks li {
    grid-template-columns: 2.75rem 1fr auto;
    gap: .6rem .85rem;
  }

  .site-footer {
    padding: 2.25rem 1rem;
    padding-bottom: max(2.25rem, env(safe-area-inset-bottom));
  }
  .site-footer nav a {
    font-size: .68rem;
  }
  .copyright {
    font-size: .68rem;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .wrap {
    padding: 0 .85rem;
  }
  .band {
    padding: 2.25rem 0;
  }
  .nav nav a {
    font-size: .6rem;
    letter-spacing: .12em;
  }
  .cta {
    padding: .75rem 1.1rem;
    font-size: .68rem;
  }
}

@media (max-width: 640px) {
  .lightbox {
    padding: .5rem;
    padding-top: max(.5rem, env(safe-area-inset-top));
  }
  .lightbox img {
    max-width: 100%;
    max-height: 82vh;
  }
  .lightbox-close {
    top: max(.4rem, env(safe-area-inset-top));
    right: .4rem;
    min-height: 44px;
    min-width: 44px;
  }
}

body { padding-bottom: 9.5rem; }
.player-dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  border-top: 1px solid var(--border);
  background: rgba(6,1,10,.94);
  backdrop-filter: blur(18px);
  box-shadow: 0 -20px 56px rgba(0,0,0,.5);
}
.player-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; gap: 1.15rem;
  padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom));
}
.player-dock #np-cover {
  width: 120px; height: 120px;
  object-fit: cover;
  border: 1px solid var(--border);
  flex-shrink: 0;
  cursor: zoom-in;
  border-radius: 2px;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.player-dock #np-cover:hover {
  transform: scale(1.08);
  filter: brightness(1.08);
  box-shadow: 0 0 0 1px var(--gold), 0 8px 24px rgba(212,175,55,.28);
}
.player-meta { min-width: 0; flex: 1; }
.player-meta p { margin: 0; }
#np-title {
  font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .06em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
#np-ep {
  font-family: var(--font-display); font-size: .7rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-top: .15rem;
}
.np-plays {
  font-family: var(--font-display); font-size: .72rem; letter-spacing: .04em;
  color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-top: .2rem;
}
.np-plays[hidden] { display: none; }
.player-seek-row { display: flex; align-items: center; gap: .6rem; margin-top: .5rem; }
.player-seek-row span {
  font-size: .95rem; color: var(--muted); font-variant-numeric: tabular-nums; width: 2.4rem;
}
@media (min-width: 861px) {
  /* Time slider runs under share/copy/repeat and stops just before rewind. */
  .player-meta { overflow: visible; }
  .player-seek-row {
    width: calc(100% + 168px + 3.1rem);
    max-width: none;
    box-sizing: border-box;
    padding-right: .35rem;
    position: relative;
    z-index: 1;
  }
  #np-share, #np-copy, #np-repeat {
    align-self: flex-start;
    margin-top: .2rem;
    position: relative;
    z-index: 2;
  }
}
#np-seek, .player-vol {
  -webkit-appearance: none; appearance: none; height: 12px; border-radius: 99px;
  background: linear-gradient(90deg, var(--gold) var(--pct,0%), rgba(243,233,213,.16) var(--pct,0%));
  outline: none; flex: 1;
}
#np-seek::-webkit-slider-runnable-track,
.player-vol::-webkit-slider-runnable-track {
  height: 12px;
  border-radius: 99px;
  background: transparent;
}
#np-seek::-moz-range-track,
.player-vol::-moz-range-track {
  height: 12px;
  border-radius: 99px;
  border: none;
  background: rgba(243,233,213,.16);
}
#np-seek::-moz-range-progress {
  height: 12px;
  border-radius: 99px;
  background: var(--gold);
}
.player-vol { display: block; }
#np-seek::-webkit-slider-thumb, .player-vol::-webkit-slider-thumb {
  -webkit-appearance: none; width: 14px; height: 14px; border-radius: 99px; background: var(--gold);
}
@media (max-width: 640px) {
  body { padding-bottom: 0; padding-top: calc(var(--dock-h, 11rem) + env(safe-area-inset-top)); }
  .player-inner { gap: .75rem; padding: .85rem .9rem calc(.85rem + env(safe-area-inset-bottom)); }
  .player-dock {
    top: 0;
    bottom: auto;
    border-top: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 20px 56px rgba(0,0,0,.5);
  }
  .player-dock #np-cover { width: 88px; height: 88px; }
  #np-title { font-size: .92rem; }
  .nav { top: 0; }   /* body padding already reserves the dock */
}
@media (max-width: 959px) {
  /* Single-column catalogue: cover sits on the left, not centred. */
  .ep-card .ep-cover {
    width: min(240px, 72%);
    max-width: 240px;
    margin: 0;
    margin-right: auto;
    align-self: flex-start;
  }
}
.player-controls { display: contents; }
.player-icon, .player-play {
  border: 0; background: transparent; color: var(--gold); cursor: pointer;
  min-width: 40px; min-height: 40px; font-size: 1rem;
  border-radius: 99px;
  transition: color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
/* Transport order: cover, play, meta, share, copy, repeat, rewind, f-forward, volume */
.player-vol-wrap { order: 12; }
.player-inner #np-cover { order: 3; }
#np-play { order: 4; }
.player-inner .player-meta { order: 5; }
#np-share { order: 7; }
#np-copy { order: 8; }
#np-repeat { order: 9; margin-left: .15rem; }
#np-prev { order: 10; }
#np-next { order: 11; }
#np-prev, #np-next {
  width: 68px; height: 68px;
  min-width: 68px; min-height: 68px;
  border-radius: 99px;
  background: linear-gradient(135deg, #a8892a, #f0d78c 45%, #d4af37 100%);
  color: #06010a;
  box-shadow: 0 4px 16px rgba(212, 175, 55, .28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 0;
}
#np-prev svg, #np-next svg {
  display: block;
  width: 56px;
  height: 56px;
}
#np-prev:hover, #np-next:hover {
  transform: scale(1.1);
  filter: brightness(1.12);
  box-shadow: 0 6px 22px rgba(240, 215, 140, .5);
  color: #030008;
}
#np-prev:active, #np-next:active {
  transform: scale(0.96);
}
.player-icon:hover {
  color: var(--gold-bright);
  background: rgba(212, 175, 55, .14);
  transform: scale(1.12);
}
.player-icon:active {
  transform: scale(0.96);
  color: #fff;
}
.player-play {
  position: relative;
  width: 68px; height: 68px; border-radius: 99px;
  background: none;
  color: #06010a; font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 0;
}
.player-play::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 99px;
  background: linear-gradient(135deg, #a8892a, #f0d78c 45%, #d4af37 100%);
  box-shadow: 0 4px 16px rgba(212, 175, 55, .28);
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}
.player-play svg {
  display: block;
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
}
.player-icon {
  min-width: 44px; min-height: 44px; font-size: 1.1rem;
}
.player-play:not(.is-pause) svg {
  /* see .card-play: the path is already centroid-centred, so no nudge */
  transform: none;
}
.player-play:hover {
  color: #030008;
}
.player-play:hover::before {
  transform: scale(1.1);
  filter: brightness(1.12);
  box-shadow: 0 6px 22px rgba(240, 215, 140, .5);
}
.player-play:active::before {
  transform: scale(0.96);
}
.player-play.is-pause {
  letter-spacing: .05em;
}
.player-dock.is-playing .player-play::after { content: none; }
.player-vol {
  cursor: pointer;
  transition: filter .18s ease, opacity .18s ease;
  opacity: .85;
}
.player-vol:hover {
  opacity: 1;
  filter: brightness(1.15);
}
.player-vol:hover::-webkit-slider-thumb {
  transform: scale(1.25);
  box-shadow: 0 0 10px rgba(212, 175, 55, .65);
}
#np-seek::-webkit-slider-thumb, .player-vol::-webkit-slider-thumb {
  transition: transform .15s ease, box-shadow .15s ease;
}
#np-seek:hover::-webkit-slider-thumb {
  transform: scale(1.2);
  box-shadow: 0 0 8px rgba(212, 175, 55, .55);
}
.track-btn.active { color: var(--gold); }

/* ---------------------------------------------------------------
   Play/pause button on EP cards and gallery cover tiles.
   Anchored bottom-left of the cover image. The parent figures are
   position:relative already, so this pins to the artwork itself.
   --------------------------------------------------------------- */
.card-play {
  position: absolute;
  left: .6rem;
  bottom: .6rem;
  z-index: 3;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  color: #06010a;
  background: none;
  /* The gold disc lives on ::before so it can grow on hover WITHOUT scaling
     the icon. Scaling the button itself resized the arrow and shifted its
     subpixel position, which read as the arrow jumping. */
  opacity: .82;
  transition: opacity .2s ease;
}
.card-play::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 99px;
  background: linear-gradient(135deg, #a8892a, #f0d78c 45%, #d4af37 100%);
  box-shadow: 0 3px 12px rgba(0, 0, 0, .45), 0 0 0 1px rgba(6, 1, 10, .25);
  /* resting state is understated; the artwork is the hero, not the button */
  transform: scale(.94);
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}
.card-play svg {
  display: block;
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
}
/* optical centring: the play triangle reads left-heavy, the pause bars don't */
.card-play:not(.is-pause) svg {
  /* No nudge. The path M8 5v14l11-7z is already drawn so its CENTRE OF MASS
     (x = 11.67 of 24) sits essentially on the viewBox centre. Correcting the
     bounding box instead pushes the triangle visibly left, because a
     right-pointing triangle's visual weight is its flat left edge, not the
     midpoint between its extremes. */
  transform: none;
}
.ep-card:hover .card-play,
.gallery-item:hover .card-play,
.card-play:focus-visible,
.card-play:hover {
  opacity: 1;
}
.ep-card:hover .card-play::before,
.gallery-item:hover .card-play::before,
.card-play:focus-visible::before,
.card-play:hover::before {
  transform: scale(1);
}
.card-play:hover::before {
  filter: brightness(1.12);
  box-shadow: 0 5px 18px rgba(240, 215, 140, .45), 0 0 0 1px rgba(6, 1, 10, .25);
}
.card-play:active::before {
  transform: scale(.92);
}
.card-play:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
/* the currently-loaded track keeps its button lit, so you can see at a
   glance which card the dock is playing */
.card-play.is-current {
  opacity: 1;
}
/* user request: gallery controls stay dimmed even on the current track */
.gallery-item .card-play.is-current {
  opacity: .615;
}
.card-play.is-current::before {
  transform: scale(1);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, .55), 0 4px 16px rgba(212, 175, 55, .4);
}
/* gallery tiles are smaller, so trim the control to match */
.gallery-item .card-play {
  left: .45rem;
  bottom: .45rem;
  width: 41.8px;
  height: 41.8px;
  min-width: 41.8px;
  min-height: 41.8px;
  opacity: .615;
}
.gallery-item .card-play svg {
  width: 22px;
  height: 22px;
}
/* touch devices get no hover, so never leave the control faded there */
@media (hover: none) {
  .card-play { opacity: 1; }
  .card-play::before { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .card-play { transition: none; }
  .card-play::before { transition: none; }
  .ep-card:hover .card-play::before,
  .gallery-item:hover .card-play::before,
  .card-play:hover::before,
  .card-play:active::before { transform: scale(.94); }
}


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
/* ---------------------------------------------------------------
   Player dock v2 (build 163/184): vertical volume slider with
   mute icon, shuffle toggle, 3-state repeat toggle.
   The range input stays horizontal internally and is rotated
   -90deg so it works in WebKit AND Gecko.
   --------------------------------------------------------------- */
.player-vol-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  flex-shrink: 0;
}
#np-mute {
  width: 40px; height: 40px;
  min-width: 40px; min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
#np-mute svg { display: block; width: 24px; height: 24px; }
#np-mute { opacity: .8; }
#np-mute:hover { opacity: 1; }
#np-mute.is-muted { color: var(--muted); }
.vol-track {
  position: relative;
  display: block;
  width: 26px;
  height: 84px;
}
.player-vol {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 84px;
  height: 12px;
  margin: 0;
  transform: translate(-50%, -50%) rotate(-90deg);
}
#np-repeat, #np-share, #np-copy {
  position: relative;
  width: 56px; height: 56px;
  min-width: 56px; min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  opacity: .5;
}
#np-repeat svg, #np-share svg, #np-copy svg { display: block; width: 28px; height: 28px; }
#np-repeat:hover, #np-share:hover, #np-copy:hover { opacity: 1; }
#np-repeat.is-on {
  opacity: 1;
  color: #06010a;
  background: linear-gradient(135deg, #a8892a, #f0d78c 45%, #d4af37 100%);
  box-shadow: 0 4px 16px rgba(212, 175, 55, .35);
}
#np-repeat.is-on:hover {
  filter: brightness(1.12);
  box-shadow: 0 6px 22px rgba(240, 215, 140, .5);
}
/* Compact two-row dock for phones + small tablets: row 1 = cover +
   track info, row 2 = all six controls. (Cover stays visible — the
   <=899px block forces it with !important.) */
@media (max-width: 860px) {
  .player-inner {
    position: relative;
    flex-wrap: wrap;
    gap: .55rem .6rem;
    padding: .8rem 3.35rem .8rem 1rem;
    padding-bottom: calc(.8rem + env(safe-area-inset-bottom));
  }
  .player-inner #np-cover { order: 1; width: 88px; height: 88px; min-width: 88px; flex-shrink: 0; }
  #np-play { order: 2; }
  .player-inner .player-meta { order: 3; flex: 1 1 800px; min-width: 0; }
  .player-vol-wrap {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    order: 12;
    width: 52px;
    margin: 0;
    padding: 0;
    flex-direction: column;
    justify-content: stretch;
    align-items: stretch;
    gap: 0;
    align-self: auto;
    z-index: 5;
  }
  #np-mute {
    position: absolute;
    left: 0;
    right: auto;
    bottom: 0;
    top: auto;
    transform: none;
    z-index: 2;
    width: 26px; height: 26px; min-width: 26px; min-height: 26px; flex-shrink: 0;
  }
  #np-mute svg { width: 15px; height: 15px; }
  .vol-track {
    position: absolute;
    top: .45rem;
    right: 4px;
    bottom: .45rem;
    left: auto;
    width: 22px;
    height: auto;
    min-height: 0;
    margin: 0;
    container-type: size;
  }
  .player-vol {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100cqh;
    max-width: none;
    height: 12px;
    transform: translate(-50%, -50%) rotate(-90deg);
  }
  /* EP name + play count on one line: "… · ShakRa  1,234 plays" */
  #np-ep, .np-plays {
    display: inline;
    vertical-align: baseline;
  }
  #np-ep { margin-top: 0; margin-right: .45rem; }
  .np-plays { margin-top: 0; }
  .np-plays[hidden] { display: none !important; }
  #np-repeat svg { width: 26px; height: 26px; }
  /* Play/rewind/fast-forward sized 20% down from the original 50px/40px so
     they don't dominate the mobile transport row. */
  #np-play { order: 2; width: 40px; height: 40px; }
  #np-play svg { width: 32px; height: 32px; }
  #np-prev { order: 7; width: 40px; height: 40px; min-width: 40px; min-height: 40px; margin-left: 0; }
  #np-prev svg, #np-next svg { width: 32px; height: 32px; }
  #np-next { order: 8; width: 40px; height: 40px; min-width: 40px; min-height: 40px; }
  #np-share { order: 9; width: 42px; height: 42px; min-width: 42px; min-height: 42px; }
  #np-copy { order: 10; width: 42px; height: 42px; min-width: 42px; min-height: 42px; }
  #np-repeat { order: 11; width: 42px; height: 42px; min-width: 42px; min-height: 42px; margin-left: 0; }
}
/* Very narrow phones: shrink controls a touch so row 2 still fits. */
@media (max-width: 340px) {
  .player-inner { gap: .45rem .5rem; }
  #np-play { width: 37px; height: 37px; }
  #np-play svg { width: 29px; height: 29px; }
  #np-prev, #np-next { width: 37px; height: 37px; min-width: 37px; min-height: 37px; }
  #np-prev svg, #np-next svg { width: 29px; height: 29px; }
  #np-repeat { width: 38px; height: 38px; min-width: 38px; min-height: 38px; }
}

/* ---- Shorter mobile player (top dock, <=640px) ---------------------------
   Small 48px cover sits to the RIGHT of a shortened seek row, so the top row
   is ~59px instead of 88px. The meta base is tuned per-width so the six
   controls always wrap to their own row (cover never falls to row 2). */
@media (max-width: 640px) {
  .player-inner { gap: .4rem .5rem; padding-top: .55rem; padding-bottom: calc(.55rem + env(safe-area-inset-bottom)); padding-right: 3.35rem; }
  .player-inner .player-meta { order: 1; min-width: 0; flex: 1 1 100%; }
  .player-inner #np-cover { display: none !important; }
  .player-seek-row { gap: .5rem; margin-top: .3rem; max-width: 100%; }
  .player-seek-row span { width: 2.3rem; font-size: .85rem; }
  .np-plays {
    position: static;
    display: inline;
    right: auto;
    bottom: auto;
    margin-top: 0;
  }
  #np-ep { margin-top: 0; }
  .player-vol-wrap {
    top: 0;
    bottom: 0;
  }
}
@media (max-width: 380px) {
  .player-inner .player-meta { flex-basis: 200px; }
}

/* 30-second preview gate */
.preview-gate {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(6, 1, 10, .86);
  backdrop-filter: blur(12px);
}
.preview-gate[hidden] { display: none !important; }
.preview-gate-card {
  width: min(22rem, 100%);
  padding: 1.6rem 1.4rem 1.4rem;
  background: #120818;
  border: 1px solid var(--border);
  box-shadow: 0 24px 80px rgba(0,0,0,.55);
}
.preview-gate-card h2,
.preview-gate-card .preview-gate-title {
  margin: 0 0 .45rem;
  font-family: var(--font-display);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 1.05rem;
  color: var(--gold);
}
.preview-gate-card p { margin: 0 0 1rem; }
.preview-gate-card form {
  display: flex;
  gap: .6rem;
  align-items: stretch;
}
.preview-gate-card input {
  flex: 1;
  min-width: 0;
  background: #06010a;
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  padding: .7rem .8rem;
  font-size: 1.05rem;
  letter-spacing: .28em;
  text-align: center;
  outline: none;
}
.preview-gate-card input:focus {
  box-shadow: 0 0 0 1px var(--gold);
}
.preview-gate-err {
  margin: .75rem 0 0;
  color: var(--crimson, #cf1d33);
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.preview-gate-buy {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: .9rem;
}
.shop-bundle {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem 1rem; flex-wrap: wrap;
  padding: .7rem 1rem; border: 1px solid var(--border); background: rgba(18,8,28,.65);
  margin-bottom: .85rem;
}
.shop-bundle .cta-row { margin-top: 0; gap: .4rem; }
.shop-bundle .cta,
.shop-tile .cta {
  min-height: 0;
  padding: .38rem .7rem;
  font-size: .62rem;
  letter-spacing: .12em;
  white-space: nowrap;
  box-sizing: border-box;
}
.shop-ep-row {
  display: grid; gap: .65rem; grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .shop-ep-row { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .shop-ep-row { grid-template-columns: repeat(4, 1fr); }
}
.shop-tile {
  border: 1px solid var(--border); padding: .65rem .75rem .7rem;
  display: flex; flex-direction: column; gap: .15rem; background: rgba(6,1,10,.4);
}
.shop-tile h3 { font-size: .98rem; margin: 0; }
.shop-tile .cta { margin-top: .4rem; margin-right: 0; align-self: stretch; }
.shop-tile .cta + .cta { margin-top: .3rem; }
.shop-tracks { list-style: none; margin: .75rem 0 0; padding: 0; }
.shop-tracks li {
  display: grid; grid-template-columns: 1fr auto auto; gap: .75rem 1rem; align-items: center;
  padding: .7rem 0; border-bottom: 1px solid var(--hairline);
}
.shop-tracks li .cta { padding: .45rem .9rem; font-size: .68rem; min-height: 0; }
@media (max-width: 640px) {
  .shop-tracks li { grid-template-columns: 1fr auto; }
  .shop-tracks li .muted { display: none; }
}

.cover-buy {
  position: absolute;
  right: .55rem;
  bottom: .55rem;
  z-index: 3;
  border: 0;
  cursor: pointer;
  font-family: var(--font-display);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .68rem;
  color: #06010a;
  background: linear-gradient(135deg, #a8892a, #f0d78c 45%, #d4af37 100%);
  padding: .42rem .7rem;
  line-height: 1;
  box-shadow: 0 3px 12px rgba(0,0,0,.45), 0 0 0 1px rgba(6,1,10,.2);
  opacity: .92;
}
.cover-buy:hover { filter: brightness(1.12); }
.cover-buy[hidden] { display: none !important; }
/* Gallery tiles are smaller than the EP cards, so trim the price tag to match
   (same trim ratio as .gallery-item .card-play). */
.gallery-item .cover-buy {
  right: .4rem;
  bottom: .4rem;
  font-size: .5rem;
  letter-spacing: .08em;
  padding: .22rem .4rem;
}
.shop-tracks li { grid-template-columns: 1fr auto auto auto auto; }
.t-owned {
  font-family: var(--font-display);
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}
.t-owned[hidden] { display: none !important; }
.track-btn { grid-template-columns: 2.25rem minmax(0, 1fr) auto auto auto; }
.shop-tracks li { grid-template-columns: 1fr auto auto auto; }

/* ---- Phone legibility (2026-10-30) -------------------------------------
   Micro-labels were rendering at 8–11 px on a phone. Nothing here changes
   the desktop look: these rules only apply below 560 px, and only raise a
   size, never lower one. */
@media (max-width:560px){
  .kicker{font-size:.74rem;letter-spacing:.26em}
  .eyebrow{font-size:.76rem;letter-spacing:.2em}
  .copyright{font-size:.76rem;line-height:1.6}
  .flag-title{font-size:.78rem}
  .p-back{font-size:.76rem}
  details summary{font-size:.95rem;line-height:1.5}
  .brand-essence{font-size:.7rem}
}

/* ---- Header stacking (2026-10-30) -------------------------------------
   The site header parks directly under the umbrella rail when the page scrolls.
   Stated here in full (position, offset, layer) so no later rule can leave it
   half-applied and let it drift down over the first section. */
header.nav { position: sticky; top: 0; z-index: 50; }
body:has(> .umbrella) > header.nav { top: var(--umbrella-height, 0px); }

/* ---- Legibility floor on a phone (2026-10-30) --------------------------
   Small-caps labels were falling to 8.6–10.9px on a 390px screen, where they
   stop being quiet and start being unreadable. Sizes are raised; nothing is
   moved, re-coloured, or re-laid-out. */
@media (max-width:560px){
  .kicker,.eyebrow,.flag-title,.tag,p.tag,span.tag,.copyright,p.copyright,
  .brand-essence,.brand-name,p.meta,span.meta{padding:0}
  .kicker,p.kicker{font-size:.8rem!important;line-height:1.45!important;letter-spacing:.2em!important}
  .eyebrow,p.eyebrow{font-size:.78rem!important;line-height:1.45!important;letter-spacing:.18em!important}
  .flag-title,p.flag-title{font-size:.8rem!important;line-height:1.45!important}
  .tag,p.tag,span.tag{font-size:.74rem!important;line-height:1.4!important}
  .copyright,p.copyright{font-size:.8rem!important;line-height:1.6!important}
  .brand-essence{font-size:.72rem!important}
  details summary{font-size:.95rem!important;line-height:1.5!important}
}
/* The now-playing title shortens with an ellipsis instead of being cut off. */
#np-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}

/* ---- Legibility floor, part two (2026-10-30) --------------------------
   Table headers and figure captions were the last text still below 11px on a
   phone. Widened to match the rest of the small type; nothing else changes. */
@media (max-width:560px){
  table th{font-size:.78rem!important;line-height:1.4!important;letter-spacing:.08em!important}
  figcaption{font-size:.84rem!important;line-height:1.55!important}
}
