/* EPCORAW hero: "mill wheel" of cards. Owner: hero agent. Every class is prefixed hero-.
   Wheel = CSS 3D (perspective > preserve-3d wheel > cards at rotateX(i*step) translateZ(R)).
   js/hero.js rotates the wheel from scroll progress. Only transform/opacity are animated. */

.hero-track {
  --hero-n: 9;               /* number of cards (kept in sync by js) */
  --hero-dwell: 0.4;         /* extra scroll (in cards) the last card stays pinned */
  --hero-stepvh: 70svh;      /* scroll distance per card */
  --hero-step: 40;           /* degrees between two cards on the wheel */
  --hero-gut: 18px;
  --hero-w: min(calc(100% - 2 * var(--hero-gut)), 540px);
  --hero-h: clamp(340px, 56svh, 540px);
  --hero-cy: 63%;            /* vertical centre of the wheel inside the stage */
  --hero-r: 640px;           /* cylinder radius, overwritten by js from the real card height */
  --hero-pad: 18px;
  --hero-logo-h: min(17.5svh, 150px);
  --hero-vm: max(100vw, 100svh);
  position: relative;
  height: calc(100svh + (var(--hero-n) - 1 + var(--hero-dwell)) * var(--hero-stepvh));
  background: var(--bg);
}

.hero-stage {
  position: sticky; top: 0; height: 100svh; overflow: clip; isolation: isolate; background: var(--bg);
}

/* ===== atmosphere ===== */
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(200, 255, 31, 0.05), transparent 70%),
    linear-gradient(180deg, #070907 0%, #050605 55%, #040504 100%);
}
.hero-aurora { position: absolute; border-radius: 50%; will-change: transform; }
.hero-aurora--a {
  width: calc(var(--hero-vm) * 0.9); height: calc(var(--hero-vm) * 0.58); left: -26%; top: -16%;
  background: radial-gradient(closest-side, rgba(200, 255, 31, 0.28), rgba(200, 255, 31, 0.09) 52%, transparent 78%);
  animation: hero-drift-a 28s var(--ease-in-out) infinite alternate;
}
.hero-aurora--b {
  width: calc(var(--hero-vm) * 0.95); height: calc(var(--hero-vm) * 0.62); right: -34%; bottom: -26%;
  background: radial-gradient(closest-side, rgba(154, 230, 0, 0.24), rgba(61, 90, 0, 0.18) 55%, transparent 78%);
  animation: hero-drift-b 34s var(--ease-in-out) infinite alternate;
}
.hero-aurora--c {
  width: calc(var(--hero-vm) * 0.6); height: calc(var(--hero-vm) * 0.6); left: 28%; top: 26%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.07), transparent 72%);
  animation: hero-drift-c 40s var(--ease-in-out) infinite alternate;
}
@keyframes hero-drift-a { to { transform: translate3d(14%, 10%, 0) scale(1.14); } }
@keyframes hero-drift-b { to { transform: translate3d(-12%, -9%, 0) scale(1.1); } }
@keyframes hero-drift-c { to { transform: translate3d(-18%, 12%, 0) scale(1.25); } }

.hero-beam {
  position: absolute; top: -25%; bottom: -25%; width: 20%; mix-blend-mode: screen; will-change: transform, opacity;
  background: linear-gradient(90deg, transparent, rgba(200, 255, 31, 0.07) 42%, rgba(255, 255, 255, 0.06) 50%, rgba(200, 255, 31, 0.05) 58%, transparent);
}
.hero-beam--a { left: 14%; transform: rotate(17deg); animation: hero-beam-a 16s var(--ease-in-out) infinite alternate; }
.hero-beam--b { left: 66%; transform: rotate(-15deg); animation: hero-beam-b 19s var(--ease-in-out) infinite alternate; }
@keyframes hero-beam-a { from { transform: translate3d(-8%, 0, 0) rotate(17deg); opacity: 0.45; } to { transform: translate3d(14%, 0, 0) rotate(21deg); opacity: 1; } }
@keyframes hero-beam-b { from { transform: translate3d(10%, 0, 0) rotate(-15deg); opacity: 1; } to { transform: translate3d(-12%, 0, 0) rotate(-19deg); opacity: 0.4; } }

/* mechanical tick dial: echoes the circumference of the wheel, rotates with scroll */
.hero-dial {
  position: absolute; left: 50%; top: var(--hero-cy); width: min(168vw, 190svh); aspect-ratio: 1; margin: calc(min(168vw, 190svh) / -2) 0 0 calc(min(168vw, 190svh) / -2);
  border-radius: 50%; will-change: transform; opacity: 0.55;
  background: repeating-conic-gradient(from -0.22deg, rgba(255, 255, 255, 0.34) 0 0.44deg, transparent 0.44deg 4deg);
  -webkit-mask-image: radial-gradient(closest-side, transparent 93.5%, #000 93.8%, #000 97.4%, transparent 97.7%);
          mask-image: radial-gradient(closest-side, transparent 93.5%, #000 93.8%, #000 97.4%, transparent 97.7%);
}
.hero-dial::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: repeating-conic-gradient(from -0.45deg, var(--acid) 0 0.9deg, transparent 0.9deg 40deg);
  -webkit-mask-image: radial-gradient(closest-side, transparent 88.5%, #000 88.8%, #000 97.4%, transparent 97.7%);
          mask-image: radial-gradient(closest-side, transparent 88.5%, #000 88.8%, #000 97.4%, transparent 97.7%);
}

/* ghosted press photo: its grey studio melts into the dark via masks + screen blend */
.hero-photo {
  position: absolute; z-index: 1; left: 0; right: 0; margin-inline: auto; top: 3%; width: min(124vw, 640px); aspect-ratio: 3 / 4;
  opacity: 0.55; mix-blend-mode: screen; will-change: transform;
  -webkit-mask-image: radial-gradient(ellipse 56% 50% at 50% 42%, #000 28%, rgba(0, 0, 0, 0.55) 54%, transparent 80%);
          mask-image: radial-gradient(ellipse 56% 50% at 50% 42%, #000 28%, rgba(0, 0, 0, 0.55) 54%, transparent 80%);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; filter: grayscale(1) contrast(1.32) brightness(0.6); }
.hero-shade {
  position: absolute; inset: 0; z-index: 2;
  background:
    radial-gradient(70% 55% at 50% 58%, transparent 40%, rgba(5, 6, 5, 0.55) 100%),
    linear-gradient(180deg, rgba(5, 6, 5, 0.75) 0, transparent 22%, transparent 78%, rgba(5, 6, 5, 0.85) 100%);
}

/* ===== logo + tagline ===== */
.hero-head {
  position: absolute; z-index: 6; left: 0; right: 0; top: calc(var(--nav-h) + 26px + env(safe-area-inset-top)); display: grid; justify-items: center; gap: 12px; pointer-events: none;
  animation: hero-head-in 1.1s var(--ease-out) 0.15s both;
}
@keyframes hero-head-in { from { opacity: 0; transform: translate3d(0, 26px, 0); } }
.hero-logo {
  position: relative; margin: 0; width: min(calc(100% - 44px), calc(var(--hero-logo-h) * 2.262)); aspect-ratio: 1400 / 619;
}
.hero-logo::before { /* soft acid halo behind the letters */
  content: ""; position: absolute; inset: -22% -12%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(200, 255, 31, 0.2), rgba(200, 255, 31, 0.06) 55%, transparent 75%);
  animation: hero-halo 5.5s ease-in-out infinite alternate;
}
@keyframes hero-halo { from { opacity: 0.55; transform: scale(0.96); } to { opacity: 1; transform: scale(1.04); } }
.hero-logo__rig { position: absolute; inset: 0; display: block; will-change: transform; }
.hero-logo__rig img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; user-select: none; -webkit-user-drag: none; }
.hero-logo__img { filter: drop-shadow(0 0 26px rgba(200, 255, 31, 0.26)) drop-shadow(0 10px 28px rgba(0, 0, 0, 0.7)); }
.hero-logo__acid { opacity: 0; }      /* scroll-linked charge, driven by js */
.hero-logo__sheen {                   /* metallic acid sweep: a gradient mask slides across the acid logo */
  -webkit-mask-image: linear-gradient(104deg, transparent 38%, #000 49%, #000 51%, transparent 62%);
          mask-image: linear-gradient(104deg, transparent 38%, #000 49%, #000 51%, transparent 62%);
  -webkit-mask-size: 320% 100%; mask-size: 320% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: 130% 0; mask-position: 130% 0;
  filter: brightness(1.25) saturate(1.1);
  animation: hero-sweep 7s var(--ease-in-out) 1.4s infinite;
}
@keyframes hero-sweep {
  0%   { -webkit-mask-position: 130% 0; mask-position: 130% 0; }
  36%  { -webkit-mask-position: -30% 0; mask-position: -30% 0; }
  100% { -webkit-mask-position: -30% 0; mask-position: -30% 0; }
}

.hero-tag {
  margin: 0; display: inline-flex; align-items: center; gap: 10px; font: 500 11px/1 var(--font-mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-dim);
}
.hero-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 14px var(--acid), 0 0 0 4px var(--acid-soft); animation: hero-blink 2.6s ease-in-out infinite; }
@keyframes hero-blink { 50% { opacity: 0.35; } }

/* ===== the wheel ===== */
.hero-view {
  position: absolute; inset: 0; z-index: 4; perspective: 1500px; perspective-origin: 50% var(--hero-cy); pointer-events: none;
}
.hero-wheel {
  position: absolute; left: 50%; top: var(--hero-cy); width: var(--hero-w); height: var(--hero-h);
  margin: calc(var(--hero-h) / -2) 0 0 calc(var(--hero-w) / -2); padding: 0; list-style: none;
  transform-style: preserve-3d; transform: translateZ(calc(var(--hero-r) * -1)); will-change: transform; pointer-events: none;
}
.hero-slot {
  position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; pointer-events: auto;
  transform: rotateX(calc(var(--i) * var(--hero-step) * -1deg)) translateZ(var(--hero-r));
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  opacity: 0;
}

/* card shell: glass look without backdrop-filter (it breaks inside preserve-3d and is costly while moving) */
.hero-slot > .hero-card {
  --r: 22px;
  position: absolute; inset: 0; display: flex; flex-direction: column; gap: 12px; padding: var(--hero-pad); overflow: hidden;
  color: var(--fg); text-align: left; cursor: pointer; font: inherit; -webkit-tap-highlight-color: transparent;
  background:
    radial-gradient(120% 70% at 0% 0%, rgba(200, 255, 31, 0.09), transparent 55%),
    radial-gradient(90% 60% at 100% 100%, rgba(255, 255, 255, 0.05), transparent 60%),
    linear-gradient(180deg, rgba(30, 34, 28, 0.94), rgba(12, 14, 11, 0.97));
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset, 0 0 0 1px rgba(255, 255, 255, 0.02) inset, 0 50px 90px -40px rgba(0, 0, 0, 0.95);
  transition: border-color var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out);
}
.hero-slot > .hero-card:focus-visible { outline: 2px solid var(--acid); outline-offset: 5px; }
.hero-slot > .hero-card::after { /* fine acid edge that follows the cursor */
  content: ""; position: absolute; inset: 0; z-index: 4; padding: 1px; border-radius: inherit; corner-shape: inherit; pointer-events: none;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%), var(--acid), rgba(200, 255, 31, 0) 62%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity var(--t-med) var(--ease-out);
}
@media (hover: hover) {
  .hero-slot.is-active > .hero-card:hover::after { opacity: 1; }
  .hero-slot.is-active > .hero-card:hover { border-color: rgba(200, 255, 31, 0.22); }
  .hero-slot:not(.is-active) > .hero-card { cursor: pointer; }
}
.hero-slot > .hero-card:focus-visible::after { opacity: 1; }

.hero-card__veil { /* distance dimming, opacity driven by js */
  position: absolute; inset: 0; z-index: 6; pointer-events: none; opacity: 0;
  background: linear-gradient(to bottom, rgba(5, 6, 5, 0.97), rgba(5, 6, 5, 0.84));
}
.hero-slot[data-side="down"] .hero-card__veil { background: linear-gradient(to top, rgba(5, 6, 5, 0.97), rgba(5, 6, 5, 0.84)); }

.hero-card__top { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex: none; }
.hero-card__no { font: 500 11px/1 var(--font-mono); letter-spacing: 0.16em; color: var(--fg); }
.hero-card__no i { font-style: normal; color: var(--muted); }
.hero-card__cat { font: 500 10px/1 var(--font-mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px 6px 9px; border-radius: 999px; background: var(--acid); color: var(--acid-ink);
  font: 700 10px/1 var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; box-shadow: 0 6px 24px -6px var(--acid-glow);
}
.hero-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--acid-ink); animation: hero-blink 1.6s ease-in-out infinite; }

.hero-card__media {
  --r: 14px; position: relative; z-index: 1; flex: 1 1 0; min-height: 84px; overflow: hidden; background: #0a0c09;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 18px 40px -18px rgba(0, 0, 0, 0.9); will-change: auto;
}
.hero-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transform: scale(1.04); -webkit-user-drag: none; user-select: none; }
.hero-card__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 30%, transparent 70%, rgba(5, 6, 5, 0.35)); }

.hero-card__body { position: relative; z-index: 2; display: grid; gap: 8px; flex: none; }
.hero-card__kicker { margin: 0; font: 500 11px/1.2 var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--acid); }
.hero-card__title { margin: 0; font: 800 clamp(1.25rem, 5.6vw, 1.95rem)/1.02 var(--font-display); letter-spacing: -0.03em; text-transform: uppercase; overflow-wrap: anywhere; }
.hero-card__text {
  margin: 0; color: var(--fg-dim); font-size: 14px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hero-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.hero-card__date { font: 500 11px/1 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.hero-cta { --h: 46px; padding-inline: 20px; pointer-events: none; }
.hero-cta svg { transition: transform var(--t-med) var(--ease-out); }
@media (hover: hover) {
  .hero-slot.is-active > .hero-card:hover .hero-cta.btn--acid { background: #d8ff52; box-shadow: var(--shadow-acid); }
  .hero-slot.is-active > .hero-card:hover .hero-cta svg { transform: translateX(4px); }
}

/* ---- variant: beatport (bold type) ---- */
.hero-card--beat {
  background:
    radial-gradient(85% 60% at 100% 0%, rgba(200, 255, 31, 0.26), transparent 62%),
    radial-gradient(60% 40% at 0% 100%, rgba(200, 255, 31, 0.07), transparent 70%),
    linear-gradient(180deg, #151c0c, #0a0d07) !important;
}
.hero-beat__go { position: absolute; z-index: 2; right: var(--hero-pad); top: calc(var(--hero-pad) + 30px); width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--acid); color: var(--acid-ink); transition: transform var(--t-med) var(--ease-spring); }
.hero-beat__go svg { width: 20px; height: 20px; }
.hero-beat__wave { position: absolute; z-index: 1; left: var(--hero-pad); right: calc(var(--hero-pad) + 58px); top: calc(var(--hero-pad) + 34px); height: 36px; opacity: 0.55; }
.hero-beat__wave rect { fill: var(--acid); }
.hero-beat__type {
  position: relative; z-index: 2; margin: auto 0 0; font: 900 clamp(3.3rem, 18.5vw, 6.9rem)/0.82 var(--font-display); letter-spacing: -0.055em; text-transform: uppercase;
}
.hero-beat__type span { display: block; }
.hero-beat__type span + span { color: var(--acid); background: linear-gradient(180deg, #e4ff7a 0%, var(--acid) 38%, #7fbf00 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 22px rgba(200, 255, 31, 0.28)); }
@media (hover: hover) {
  .hero-slot.is-active > .hero-card--beat:hover .hero-beat__go { transform: rotate(45deg) scale(1.08); }
}

/* ---- variant: bandcamp ---- */
.hero-card--band .hero-card__media img { filter: saturate(0.85) contrast(1.04); object-position: 50% 30%; }
.hero-card--band .hero-card__title { font-size: clamp(1.15rem, 5vw, 1.7rem); text-transform: none; letter-spacing: -0.035em; }

/* ---- variant: chip cards (stream, socials) ---- */
.hero-card--grp { cursor: default !important; }
.hero-chips { position: relative; z-index: 2; display: grid; gap: 10px; margin-top: auto; }
.hero-chips--3 { grid-template-columns: repeat(3, 1fr); }
.hero-chips--4 { grid-template-columns: repeat(2, 1fr); }
.hero-chip {
  --r: 16px; position: relative; display: grid; align-content: space-between; gap: 14px; min-height: 96px; padding: 14px; color: var(--fg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)); border: 1px solid var(--line-strong);
  transition: transform var(--t-med) var(--ease-out), border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
}
.hero-chip:focus-visible { outline: 2px solid var(--acid); outline-offset: 3px; }
.hero-chip__ic { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.06); box-shadow: 0 0 0 1px var(--line) inset; transition: background var(--t-fast), color var(--t-fast); }
.hero-chip__ic svg { width: 19px; height: 19px; }
.hero-chip__t { font: 700 12px/1.1 var(--font-display); letter-spacing: -0.01em; }
.hero-chip__t small { display: block; margin-top: 5px; font: 500 10px/1 var(--font-mono); letter-spacing: 0.08em; color: var(--muted); text-transform: none; }
.hero-chip__go { position: absolute; top: 12px; right: 12px; width: 15px; height: 15px; color: var(--muted); transition: transform var(--t-med) var(--ease-out), color var(--t-fast); }
.hero-chips--rows { grid-template-columns: 1fr; gap: 12px; }
.hero-chips--rows .hero-chip { grid-template-columns: auto 1fr; align-items: center; align-content: center; min-height: 88px; gap: 16px; padding: 16px 44px 16px 18px; }
.hero-chips--rows .hero-chip__ic { width: 48px; height: 48px; }
.hero-chips--rows .hero-chip__ic svg { width: 24px; height: 24px; }
.hero-chips--rows .hero-chip__t { font-size: clamp(1.1rem, 4.6vw, 1.35rem); letter-spacing: -0.03em; }
.hero-chips--rows .hero-chip__t small { margin-top: 7px; font-size: 11px; }
.hero-chips--rows .hero-chip__go { top: 50%; right: 18px; width: 18px; height: 18px; margin-top: -9px; }
.hero-chips--4 .hero-chip { grid-template-columns: auto 1fr; align-items: center; align-content: center; min-height: 66px; gap: 12px; padding: 12px 14px; }
.hero-chips--4 .hero-chip__go { top: 50%; margin-top: -7.5px; display: none; }
.hero-chips--4 .hero-chip__ic { width: 30px; height: 30px; }
.hero-chips--4 .hero-chip__ic svg { width: 17px; height: 17px; }
.hero-pulse { position: relative; z-index: 1; flex: 1 1 0; min-height: 60px; display: grid; place-items: center; }
.hero-pulse i { position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; border: 1px solid rgba(200, 255, 31, 0.5); opacity: 0.35; animation: hero-ring 3.6s var(--ease-out) infinite; animation-play-state: paused; }
.hero-pulse i:nth-child(2) { animation-delay: 1.2s; }
.hero-pulse i:nth-child(3) { animation-delay: 2.4s; }
.hero-slot.is-active .hero-pulse i { animation-play-state: running; }
.hero-pulse span { position: relative; font: 900 clamp(1.7rem, 8.4vw, 2.9rem)/1 var(--font-display); letter-spacing: -0.045em; color: var(--fg); text-shadow: 0 0 34px rgba(200, 255, 31, 0.35); }
@media (min-width: 700px) { .hero-chips--4 .hero-chip__go { display: block; } .hero-chips--4 .hero-chip { padding-right: 34px; } }
@media (hover: hover) {
  .hero-chip:hover { transform: translateY(-3px); border-color: var(--acid); background: linear-gradient(180deg, rgba(200, 255, 31, 0.14), rgba(200, 255, 31, 0.03)); }
  .hero-chip:hover .hero-chip__ic { background: var(--acid); color: var(--acid-ink); }
  .hero-chip:hover .hero-chip__go { color: var(--acid); transform: translate(2px, -2px); }
}
/* abstract canvas art (drawn live in js/hero.js initArt) */
.hero-art { position: relative; z-index: 1; flex: 1 1 0; min-height: 84px; margin: 0 calc(var(--hero-pad) * -0.5); }
.hero-art canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-art { -webkit-mask-image: linear-gradient(to right, transparent, #000 16%, #000 84%, transparent), linear-gradient(to bottom, transparent, #000 14%, #000 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 16%, #000 84%, transparent), linear-gradient(to bottom, transparent, #000 14%, #000 100%); mask-composite: intersect; }

/* ---- variant: shop (liquid acid blob, gooey filter) ---- */
.hero-card--shop {
  background:
    radial-gradient(70% 55% at 80% 18%, rgba(200, 255, 31, 0.16), transparent 62%),
    linear-gradient(180deg, rgba(30, 34, 28, 0.94), rgba(12, 14, 11, 0.97)) !important;
}
.hero-card--shop {
  background:
    radial-gradient(70% 55% at 85% 12%, rgba(200, 255, 31, 0.2), transparent 62%),
    linear-gradient(180deg, rgba(30, 34, 28, 0.94), rgba(12, 14, 11, 0.97)) !important;
}
.hero-shop__spin { position: absolute; z-index: 4; right: var(--hero-pad); bottom: calc(var(--hero-pad) + 84px); width: 76px; height: 76px; margin: 0; color: var(--acid); border-radius: 50%; background: rgba(8, 10, 7, 0.88); box-shadow: 0 0 0 1px rgba(200, 255, 31, 0.28); }
.hero-shop__spin svg { width: 100%; height: 100%; overflow: visible; animation: hero-spin 18s linear infinite; animation-play-state: paused; }
.hero-slot.is-active .hero-shop__spin svg { animation-play-state: running; }
.hero-shop__spin text { font: 500 10.5px var(--font-mono); letter-spacing: 0.2em; fill: currentColor; text-transform: uppercase; }
.hero-shop__spin b { position: absolute; inset: 0; display: grid; place-items: center; }
.hero-shop__spin b svg { width: 34px; height: 34px; animation: none; }
/* ruled list: three rows share the free height equally, type is sized from the area (container units) */
.hero-shop__list { position: relative; z-index: 1; flex: 1 1 0; min-height: 84px; margin: 14px 0 12px; display: flex; flex-direction: column; container-type: size; }
.hero-shop__row { flex: 1 1 0; display: flex; align-items: center; gap: 14px; border-top: 1px solid rgba(255, 255, 255, 0.14); color: var(--fg); }
.hero-shop__row:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.hero-shop__row b { flex: 1 1 auto; min-width: 0; font: 800 min(7.8cqw, 20cqh)/1 var(--font-display); letter-spacing: -0.02em; text-transform: uppercase; white-space: nowrap; }
.hero-shop__row svg { flex: none; width: 18px; height: 18px; color: var(--muted); }
@keyframes hero-spin { to { transform: rotate(360deg); } }
.hero-shop__type { position: relative; z-index: 2; margin: 4px 0 0; font: 900 clamp(3.4rem, 19vw, 6rem)/0.86 var(--font-display); letter-spacing: -0.05em; text-transform: uppercase; }
.hero-shop__type span { display: block; color: var(--acid); }

/* ---- variant: enter ---- */
.hero-card--enter {
  align-items: center; text-align: center; justify-content: space-between;
  background:
    radial-gradient(70% 55% at 50% 38%, rgba(200, 255, 31, 0.2), transparent 66%),
    linear-gradient(180deg, rgba(26, 31, 20, 0.95), rgba(10, 12, 8, 0.98)) !important;
}
.hero-card--enter .hero-card__top { width: 100%; }
.hero-enter__orb { position: relative; z-index: 2; flex: 1 1 0; min-height: 90px; width: 100%; display: grid; place-items: center; }
.hero-enter__ring { position: absolute; left: 50%; top: 50%; width: 104px; height: 104px; margin: -52px 0 0 -52px; border-radius: 50%; border: 1px solid rgba(200, 255, 31, 0.55); opacity: 0; animation: hero-ring 2.8s var(--ease-out) infinite; animation-play-state: paused; }
.hero-enter__ring:nth-child(2) { animation-delay: 1.4s; }
.hero-slot.is-active .hero-enter__ring { animation-play-state: running; }
@keyframes hero-ring { from { transform: scale(0.8); opacity: 0.8; } to { transform: scale(2.1); opacity: 0; } }
.hero-enter__btn { position: relative; width: 88px; height: 88px; display: grid; place-items: center; border-radius: 50%; background: var(--acid); color: var(--acid-ink); box-shadow: 0 0 0 8px var(--acid-soft), 0 20px 60px -10px var(--acid-glow); }
.hero-enter__btn svg { width: 34px; height: 34px; stroke-width: 2; animation: hero-bob 1.6s var(--ease-in-out) infinite; animation-play-state: paused; }
.hero-slot.is-active .hero-enter__btn svg { animation-play-state: running; }
@keyframes hero-bob { 0%, 100% { transform: translateY(-5px); } 50% { transform: translateY(6px); } }
.hero-card--enter .hero-card__body { justify-items: center; }
.hero-card--enter .hero-card__text { text-align: center; max-width: 34ch; }

/* ===== rail (left) ===== */
.hero-rail { position: absolute; z-index: 7; left: 3px; top: var(--hero-cy); transform: translateY(-50%); pointer-events: none; --rb: 22px; }
.hero-rail__count { display: none; }
.hero-rail__line { position: absolute; left: 2.5px; top: calc(var(--rb) / 2); bottom: calc(var(--rb) / 2); width: 1px; background: rgba(255, 255, 255, 0.14); }
.hero-rail__line i { position: absolute; inset: 0; background: var(--acid); transform-origin: top; transform: scaleY(0); box-shadow: 0 0 10px var(--acid-glow); }
.hero-rail ol { list-style: none; margin: 0; padding: 0; position: relative; }
.hero-rail__btn::after { content: ""; position: absolute; inset: -10px -14px -10px -6px; }   /* hit area up to ~44px, look unchanged */
.hero-rail__btn { pointer-events: auto; position: relative; display: flex; align-items: center; gap: 12px; width: 18px; height: var(--rb); padding-left: 14px; color: var(--muted); }
.hero-rail__btn::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--bg); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28) inset; transition: background var(--t-med), box-shadow var(--t-med), transform var(--t-med) var(--ease-spring); }
.hero-rail__btn[aria-current="true"]::before { background: var(--acid); box-shadow: 0 0 0 3px var(--acid-soft), 0 0 14px var(--acid); transform: scale(1.25); }
.hero-rail__btn:focus-visible { outline-offset: 0; }
.hero-rail__n, .hero-rail__l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ===== meta (right, desktop) ===== */
.hero-meta { display: none; }

/* ===== scroll hint: sits right under the active card (never over it, whatever the viewport height) ===== */
.hero-hint { position: absolute; z-index: 7; left: 50%; top: calc(var(--hero-cy) + var(--hero-h) / 2 + 10px); transform: translateX(-50%); display: grid; justify-items: center; gap: 6px; font: 500 10px/1 var(--font-mono); letter-spacing: 0.3em; text-transform: uppercase; color: var(--fg-dim); pointer-events: none; }
.hero-hint i { position: relative; width: 1px; height: 16px; background: rgba(255, 255, 255, 0.16); overflow: hidden; }
.hero-hint i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 12px; background: var(--acid); box-shadow: 0 0 8px var(--acid); animation: hero-drip 1.8s var(--ease-in-out) infinite; }
@keyframes hero-drip { from { transform: translateY(-14px); } to { transform: translateY(18px); } }
@media (min-width: 700px) and (max-height: 680px) { .hero-hint i { display: none; } }   /* short laptop screens: the text alone fits under the card */

.hero-nojs { display: none; }
.no-js .hero-nojs { display: flex; position: absolute; z-index: 9; left: 0; right: 0; bottom: 24px; justify-content: center; gap: 22px; list-style: none; margin: 0; padding: 0; font: 500 12px/1 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; }
.no-js .hero-track { height: 100svh; }

/* intro (the wheel spins into place) */
.hero-wheel.is-intro .hero-slot { transition: none; }

/* ===== breakpoints ===== */
@media (min-width: 700px) {
  .hero-track { --hero-gut: 28px; --hero-pad: 24px; --hero-h: clamp(404px, 58svh, 540px); --hero-cy: 62%; --hero-logo-h: min(26svh, 290px); --hero-stepvh: 75svh; }
  .hero-card__title { font-size: clamp(1.5rem, 3.2vw, 1.95rem); }
  .hero-card__text { font-size: 15px; }
  .hero-card--band .hero-card__title { font-size: clamp(1.35rem, 2.8vw, 1.7rem); }
  .hero-beat__type { font-size: clamp(4rem, 12vw, 6.9rem); }
  .hero-chip { min-height: 128px; padding: 18px; }
  .hero-chips--4 .hero-chip { min-height: 78px; }
  .hero-chip__t { font-size: 13px; }
  .hero-head { top: calc(var(--nav-h) + 22px + env(safe-area-inset-top)); }
}
@media (min-width: 900px) {
  .hero-photo { left: -4vw; right: auto; margin: 0; top: auto; bottom: -2%; width: auto; height: 94%; }
  .hero-hint { left: 50%; }
}
@media (min-width: 1180px) {
  .hero-track { --hero-logo-h: min(28svh, 310px); --hero-cy: 63.5%; --hero-h: clamp(404px, 56svh, 530px); }
  .hero-tag--sm { display: none; }
  .hero-rail { left: var(--gutter); --rb: 30px; }
  .hero-rail__count { display: block; position: absolute; left: 0; bottom: calc(100% + 18px); font: 500 11px/1 var(--font-mono); letter-spacing: 0.18em; color: var(--muted); white-space: nowrap; }
  .hero-rail__count b { font-weight: 500; color: var(--acid); }
  .hero-rail__line { left: 3px; }
  .hero-rail__btn { width: auto; min-width: 118px; padding-left: 22px; transition: color var(--t-fast); }
  .hero-rail__btn::before { left: 0; }
  .hero-rail__n, .hero-rail__l { position: static; width: auto; height: auto; overflow: visible; clip-path: none; font: 500 11px/1 var(--font-mono); letter-spacing: 0.14em; }
  .hero-rail__n { color: var(--faint); transition: color var(--t-fast); }
  .hero-rail__l { text-transform: uppercase; color: var(--muted); transition: color var(--t-fast), transform var(--t-med) var(--ease-out); }
  .hero-rail__btn[aria-current="true"] .hero-rail__n { color: var(--acid); }
  .hero-rail__btn[aria-current="true"] .hero-rail__l { color: var(--fg); transform: translateX(4px); }
  .hero-rail__btn:hover .hero-rail__l { color: var(--fg); }

  .hero-meta { display: grid; position: absolute; z-index: 7; right: var(--gutter); top: var(--hero-cy); width: min(250px, calc(50% - 300px - var(--gutter))); transform: translateY(-50%); gap: 18px; justify-items: start; pointer-events: none; }
  .hero-meta__line { margin: 0; font: 700 clamp(1.15rem, 1.7vw, 1.6rem)/1.12 var(--font-display); letter-spacing: -0.03em; color: var(--fg); }
  .hero-meta__count { display: flex; align-items: baseline; gap: 6px; font-family: var(--font-mono); }
  .hero-meta__count b { font-weight: 500; font-size: clamp(2.6rem, 4.4vw, 4.2rem); line-height: 1; letter-spacing: -0.04em; color: var(--acid); text-shadow: 0 0 30px var(--acid-glow); }
  .hero-meta__count span { color: var(--muted); font-size: 14px; letter-spacing: 0.12em; }
  .hero-meta__label { margin: -6px 0 0; font: 500 11px/1.2 var(--font-mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-dim); }
}
@media (min-width: 1180px) and (max-height: 860px) {
  .hero-track { --hero-logo-h: 26svh; }
}
@media (min-width: 1500px) {
  .hero-track { --hero-w: 600px; --hero-h: clamp(404px, 56svh, 590px); }
  .hero-card__title { font-size: 2.1rem; }
}

/* short viewports (landscape phones, small laptops) */
@media (max-height: 660px) {
  .hero-tag--sm { display: none; }
}
@media (max-height: 700px) {
  .hero-card__text { -webkit-line-clamp: 1; }
  .hero-slot > .hero-card { gap: 9px; }
  .hero-cta { --h: 42px; }
}
@media (max-height: 520px) {
  .hero-beat__type { font-size: 2.6rem; }
  .hero-beat__wave, .hero-beat__go, .hero-card__kicker { display: none; }
  .hero-shop__spin, .hero-shop__list { display: none; }
  .hero-head { display: none; }
  .hero-track { --hero-h: min(70svh, 400px); --hero-cy: 62%; }
  .hero-card__text { display: none; }
}

/* ===== reduced motion: flat vertical stack, no 3D ===== */
.hero--flat.hero-track { height: auto; }
.hero--flat .hero-stage { position: relative; height: auto; overflow: clip; padding: calc(var(--nav-h) + 40px) 0 80px; }
.hero--flat .hero-head { position: relative; top: auto; margin-bottom: 36px; animation: none; }
.hero--flat .hero-view { position: relative; inset: auto; perspective: none; }
.hero--flat .hero-wheel { position: relative; left: auto; top: auto; width: min(calc(100% - 2 * var(--hero-gut)), 540px); height: auto; margin: 0 auto; display: grid; gap: 22px; transform: none !important; transform-style: flat; will-change: auto; }
.hero--flat .hero-slot { position: relative; inset: auto; height: 460px; transform: none; opacity: 1 !important; filter: none !important; pointer-events: auto !important; }
.hero--flat .hero-slot > .hero-card { transform: none !important; }
.hero--flat .hero-card__veil, .hero--flat .hero-hint, .hero--flat .hero-rail, .hero--flat .hero-meta, .hero--flat .hero-dial { display: none !important; }
.hero--flat .hero-aurora, .hero--flat .hero-beam { animation: none; }

.hero-tag--big { font-size: clamp(0.85rem, 1.2vw, 1.05rem); letter-spacing: 0.3em; }

@media (min-width: 900px) { .hero-shop__type { font-size: clamp(4rem, 7vw, 5.4rem); } }


/* Buy card: the two store tiles fill the whole card */
.hero-chips--rows { flex: 1 1 0; margin-top: 6px; grid-template-rows: 1fr 1fr; }
.hero-chips--rows .hero-chip { min-height: 0; height: 100%; }
.hero-chips--rows .hero-chip__ic { width: 56px; height: 56px; }
.hero-chips--rows .hero-chip__ic svg { width: 28px; height: 28px; }
.hero-chips--rows .hero-chip__t { font-size: clamp(1.3rem, 6vw, 1.7rem); }
/* rows of any count share the card height equally */
.hero-chips--rows { grid-template-rows: none; grid-auto-rows: minmax(0, 1fr); }

/* stream platform tiles: the icon fills the tile */
.hero-chips--icons { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; flex: none; }
.hero-chip--icon { position: relative; display: grid; place-items: center; height: clamp(104px, 19svh, 150px); min-height: 0; padding: 12px 8px 26px; }
.hero-chip--icon .hero-chip__big { width: 62%; max-width: 74px; aspect-ratio: 1; color: var(--fg); transition: color var(--t-fast), transform var(--t-med) var(--ease-out); }
.hero-chip--icon .hero-chip__big svg { width: 100%; height: 100%; stroke-width: 1.35; }
.hero-chip--icon .hero-chip__name { position: absolute; left: 0; right: 0; bottom: 9px; text-align: center; font: 600 9.5px/1 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
@media (hover: hover) { .hero-chip--icon:hover .hero-chip__big { color: var(--acid); transform: scale(1.08); } }
.hero-chips--icons .hero-chip--icon { align-content: center; align-items: center; justify-items: center; grid-template-columns: 1fr; padding: 10px 6px 28px; }
.hero-chips--icons .hero-chip--icon .hero-chip__big { width: 72%; max-width: 104px; margin: 0; }

/* FINAL: the platform icon fills its whole tile, centred, no label */
.hero-chips--icons { gap: 10px; }
.hero-chips--icons .hero-chip--icon { display: block; position: relative; height: clamp(120px, 22svh, 190px); padding: 0; min-height: 0; }
.hero-chips--icons .hero-chip--icon .hero-chip__big { position: absolute; inset: 12% 8%; width: auto; max-width: none; height: auto; aspect-ratio: auto; margin: 0; display: grid; place-items: center; }
.hero-chips--icons .hero-chip--icon .hero-chip__big svg { width: 100%; height: 100%; stroke-width: 1.3; }
.hero-chips--icons .hero-chip__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hero-chips--icons .hero-chip--icon .hero-chip__big svg { width: 75%; height: 75%; } /* icons 25% smaller */
.hero-chips--icons .hero-chip--icon .hero-chip__big svg { width: 60%; height: 60%; } /* 20% smaller again (75% x 0.8) */

/* platform name under the icon, reacts to hover like the tile does */
.hero-chips--icons .hero-chip--icon .hero-chip__big { inset: 12% 8% 30% 8%; }
.hero-chips--icons .hero-chip__name {
  position: absolute; left: 6px; right: 6px; bottom: 12px; width: auto; height: auto; overflow: visible; clip-path: none; white-space: nowrap; text-align: center;
  font: 700 clamp(9.5px, 2.7vw, 12px)/1 var(--font-display); letter-spacing: -0.01em; text-transform: none; color: var(--fg-dim);
  transition: color var(--t-fast), transform var(--t-med) var(--ease-out);
}
@media (hover: hover) {
  .hero-chips--icons .hero-chip--icon:hover .hero-chip__name { color: var(--acid); transform: translateY(-2px); }
}
.hero-chips--icons .hero-chip--icon:focus-visible .hero-chip__name { color: var(--acid); }

/* FINAL layout: icon + name sit together in the middle of the tile, name in heavy weight */
.hero-chips--icons .hero-chip--icon { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 8px 6px; }
.hero-chips--icons .hero-chip--icon .hero-chip__big { position: static; inset: auto; width: 54%; max-width: 84px; height: auto; aspect-ratio: auto; display: block; }
.hero-chips--icons .hero-chip--icon .hero-chip__big svg { width: 100%; height: auto; display: block; }
.hero-chips--icons .hero-chip__name { position: static; left: auto; right: auto; bottom: auto; font: 900 clamp(9.5px, 2.7vw, 12px)/1 var(--font-display); letter-spacing: 0; }

/* square icon slot for every platform so they weigh the same; names in capitals */
.hero-chips--icons .hero-chip--icon .hero-chip__big { display: grid; place-items: center; aspect-ratio: 1; width: 52%; max-width: 88px; height: auto; overflow: visible; }
.hero-chips--icons .hero-chip--icon .hero-chip__big svg { width: 100%; height: 100%; }
.hero-chips--icons .hero-chip--soundcloud .hero-chip__big svg { width: 150%; height: auto; max-width: none; }
.hero-chips--icons .hero-chip__name { text-transform: uppercase; font: 900 clamp(8px, 2.3vw, 11px)/1.15 var(--font-display); letter-spacing: 0.04em; }

/* ===== lite (phones): drop everything that makes iOS re-composite or re-raster while the wheel moves =====
   no blend modes, no ambient infinite loops, no big shadows or filters on moving layers.
   Add ?full=1 to the URL to see the full-effects version for comparison. */
.lite .hero-aurora, .lite .hero-beam, .lite .hero-logo::before, .lite .hero-logo__sheen, .lite .hero-badge::before, .lite .hero-tag i { animation: none; will-change: auto; }
.lite .hero-beam { display: none; }
.lite .hero-logo::before { opacity: 0.8; }
.lite .hero-logo__sheen { display: none; }
.lite .hero-photo { mix-blend-mode: normal; opacity: 0.4; }
.lite .hero-logo__img { filter: none; }
.lite .hero-slot > .hero-card { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset; transition: none; }
.lite .hero-card__media { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset; }
.lite .hero-badge { box-shadow: none; }
.lite .hero-pulse i, .lite .hero-shop__spin svg, .lite .hero-enter__ring, .lite .hero-enter__btn svg { animation: none !important; }
.lite .hero-dial::after { display: none; }

/* two store tiles (Buy my music) use the same icon tiles as the three streaming ones */
.hero-chips--icons.hero-chips--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); flex: 1 1 0; margin-top: 12px; }
.hero-chips--icons.hero-chips--2 .hero-chip--icon { height: 100%; }
.hero-chips--icons.hero-chips--2 .hero-chip--icon .hero-chip__big { width: 46%; max-width: 110px; }
