/* ==========================================================================
   almedia — landing hero
   Table of contents:
     1. Reset & tokens
     2. Base
     3. Layout shell
     4. Navbar
     5. Hero
     6. Headline treatment
     7. Artist field (scattered, draggable, gooey orbs)
     8. Artist tooltip
     9. Entrance animation (header + headline)
     10. Scroll cue
     11. Stats (success in numbers)
     12. For artists
     13. Footer
     14. Stub pages (Backstory / Apply)
     15. Artists page
     16. Releases page
     17. Plus page
     18. Responsive
     19. Reduced motion
   ========================================================================== */

/* ---------- 1. Reset & tokens ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, p, ul, li, figure { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { display: block; }

:root {
  /* palette */
  --ink: #0a0a0a;
  --ink-soft: #4b4b52;
  --paper: #ffffff;
  --paper-soft: #f7f7f8;
  --line: rgba(10, 10, 10, 0.12);

  /* type */
  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;

  /* shape */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 999px;

  /* motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 0.2s;
  --dur-med: 0.5s;

  --header-h: 84px;
}

/* ---------- 2. Base ---------- */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 12px;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 999;
  transition: top var(--dur-fast) var(--ease-out);
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

/* ---------- 3. Layout shell ---------- */
.nav-shell {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

/* ---------- 4. Navbar ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-top: 18px;
  transition: padding var(--dur-fast) var(--ease-out);
}

.navbar {
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  padding: 10px 12px 10px 22px;
  box-shadow: 0 1px 2px rgba(10, 10, 10, 0.04);
  transition: box-shadow var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
}

.site-header.is-scrolled .navbar {
  box-shadow: 0 10px 30px rgba(10, 10, 10, 0.08);
}
.site-header.is-scrolled { padding-top: 10px; }

.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo {
  height: 22px;
  width: auto;
  transition: transform var(--dur-fast) var(--ease-out);
}
.brand:hover .brand-logo { transform: scale(1.03); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-inline: auto;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-menu a {
  position: relative;
  padding: 6px 2px;
  color: var(--ink);
}
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur-fast) var(--ease-out);
}
.nav-menu a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--ink-soft);
  opacity: 0.5;
}

.nav-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: var(--radius-full);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(10, 10, 10, 0.22);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
}
.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  margin-inline: auto;
  transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer {
  display: none;
  flex-direction: column;
  gap: 2px;
  max-width: 1240px;
  margin: 10px auto 0;
  margin-inline: clamp(20px, 5vw, 48px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 10px;
  box-shadow: 0 20px 40px rgba(10, 10, 10, 0.1);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.nav-drawer.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.nav-drawer a {
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  font-weight: 500;
}
.nav-drawer a:hover { background: var(--paper-soft); }
.nav-drawer-cta {
  margin-top: 6px;
  background: var(--ink);
  color: var(--paper) !important;
  text-align: center;
  font-weight: 600;
  border-radius: var(--radius-full) !important;
}

/* ---------- 5. Hero ---------- */
.hero { position: relative; }

.hero-inner {
  position: relative;
  max-width: 1320px;
  margin-inline: auto;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 48px) clamp(24px, 5vw, 64px) 96px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

/* ---------- 6. Headline treatment ---------- */
.headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 4.6vw, 4.6rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  max-width: 16ch;

  opacity: 0;
  transform: translateX(-64px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.is-ready .headline {
  opacity: 1;
  transform: translateX(0);
}

/* each word is a solid collider for the artist orbs — a dragged/thrown
   orb bumps it like a wall, or knocks it over like a domino if it hits
   hard enough. transform-origin sits at the baseline so it topples like
   it's hinged to the ground rather than spinning around its middle. */
.word {
  display: inline-block;
  transform-origin: 50% 100%;
  will-change: transform;
}

.hl-control {
  position: relative;
  display: inline-block;
}
.hl-control .strike {
  position: absolute;
  left: -4%;
  top: 8%;
  width: 108%;
  height: 84%;
  overflow: visible;
}
.hl-control .strike path {
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
  transition: stroke-dashoffset 0.7s var(--ease-out) 0.55s;
}
.is-ready .hl-control .strike path { stroke-dashoffset: 0; }

/* ---------- 7. Artist field (scattered, draggable, gooey orbs) ---------- */
/* offset to match .hero-copy's own padding, so orb top/right percentages
   are measured from below the navbar rather than the hero's outer edge */
.artist-field {
  position: absolute;
  top: calc(var(--header-h) + 40px);
  right: clamp(24px, 5vw, 64px);
  bottom: 64px;
  left: clamp(24px, 5vw, 64px);
  z-index: 1;
}

/* visually-hidden host for the SVG <filter> definition */
.goo-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* underlay layer: plain blurred circles that merge into a connecting
   bridge (via the goo filter) as their matching orbs are dragged close */
.goo-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  filter: url(#slime-goo);
  pointer-events: none;
}
.goo-blob {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
  background: #c9c9d1;
  will-change: transform;
}

.artist-orb {
  position: absolute;
  z-index: 2;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1.5px solid rgba(10, 10, 10, 0.08);
  box-shadow: 0 18px 34px -12px rgba(10, 10, 10, 0.3);
  background: var(--paper-soft);
  cursor: grab;

  /* the browser's native image/link drag (ghost thumbnail + OS drag
     cursor) fights with the custom pointer-based drag below */
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;

  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.7s var(--ease-out), transform 0.45s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.is-ready .artist-orb { opacity: 1; transform: scale(1); }

.artist-orb img { -webkit-user-drag: none; }

.artist-orb:hover,
.artist-orb:focus-visible {
  transform: scale(1.06);
  box-shadow: 0 24px 44px -12px rgba(10, 10, 10, 0.4);
  transition-duration: 0.2s;
}

.artist-orb.is-dragging {
  cursor: grabbing;
  z-index: 20;
  transform: scale(1.1);
  box-shadow: 0 30px 54px -14px rgba(10, 10, 10, 0.45);
  /* a quick, snappy pop into the "picked up" state — position itself is
     driven by left/top every frame during the drag, never by transform,
     so this transition only ever animates the one-time grab/release cue */
  transition: transform 0.12s var(--ease-out), box-shadow 0.15s var(--ease-out);
}

.artist-orb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  transition: transform 0.5s var(--ease-out);
}
.artist-orb:hover img,
.artist-orb:focus-visible img {
  transform: scale(1.12);
}

.artist-orb--mations {
  width: clamp(170px, 15vw, 250px);
  top: 10%;
  right: 4%;
  border-radius: 58% 42% 63% 37% / 45% 55% 45% 55%;
}
.is-ready .artist-orb--mations { transition-delay: 0.55s; }

.artist-orb--availax {
  width: clamp(140px, 12vw, 205px);
  top: 52%;
  right: 34%;
  border-radius: 42% 58% 55% 45% / 55% 42% 58% 45%;
}
.is-ready .artist-orb--availax { transition-delay: 0.68s; }

.artist-orb--losapng {
  width: clamp(130px, 11vw, 185px);
  top: 68%;
  right: 4%;
  border-radius: 63% 37% 48% 52% / 42% 58% 42% 58%;
}
.is-ready .artist-orb--losapng { transition-delay: 0.8s; }

.artist-orb--zqiv {
  width: clamp(108px, 9vw, 150px);
  top: 14%;
  right: 38%;
  border-radius: 48% 52% 60% 40% / 60% 40% 55% 45%;
}
.is-ready .artist-orb--zqiv { transition-delay: 0.92s; }

.artist-orb--stxrlyts {
  width: clamp(122px, 10vw, 172px);
  top: 34%;
  right: 12%;
  border-radius: 55% 45% 40% 60% / 40% 60% 48% 52%;
}
.is-ready .artist-orb--stxrlyts { transition-delay: 1.04s; }

.artist-orb--artifyber {
  width: clamp(118px, 10vw, 160px);
  top: 58%;
  right: 16%;
  border-radius: 46% 54% 57% 43% / 58% 45% 55% 42%;
}
.is-ready .artist-orb--artifyber { transition-delay: 1.16s; }

.artist-orb--azka {
  width: clamp(112px, 9.5vw, 155px);
  top: 82%;
  right: 28%;
  border-radius: 52% 48% 44% 56% / 46% 56% 44% 54%;
}
.is-ready .artist-orb--azka { transition-delay: 1.28s; }

.artist-orb--subterraneancat {
  width: clamp(116px, 9.5vw, 158px);
  top: 35%;
  right: 29%;
  border-radius: 44% 56% 52% 48% / 58% 43% 57% 42%;
}
.is-ready .artist-orb--subterraneancat { transition-delay: 1.4s; }

/* ---------- 8. Artist tooltip (follows cursor / focused orb) ---------- */
.artist-tooltip {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s var(--ease-out);
  will-change: transform;
}
.artist-tooltip.is-visible { opacity: 1; }

.artist-tooltip-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
}
.artist-tooltip-genre {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.75;
  white-space: nowrap;
}

/* ---------- 9. Entrance animation (header + headline) ---------- */
.site-header {
  opacity: 0;
  transform: translateY(-16px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.is-ready .site-header { opacity: 1; transform: translateY(0); }

/* ---------- 10. Scroll cue ---------- */
/* a periodic (not constant) nudge — draws the eye every few seconds
   instead of animating nonstop, which reads as calmer and more premium */
.scroll-cue {
  position: absolute;
  left: clamp(24px, 5vw, 64px);
  bottom: 28px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--ink);

  opacity: 0;
  transition: opacity 0.5s var(--ease-out) 1.6s, background 0.2s var(--ease-out);
}
.is-ready .scroll-cue { opacity: 1; }
.scroll-cue.is-hidden {
  opacity: 0 !important;
  transition-delay: 0s;
  pointer-events: none;
}
.scroll-cue:hover { background: var(--paper-soft); }

.scroll-cue svg { animation: scroll-cue-nudge 4.5s ease-in-out infinite; }

@keyframes scroll-cue-nudge {
  0%, 44%, 100% { transform: translateY(0); }
  8% { transform: translateY(7px); }
  16% { transform: translateY(0); }
  24% { transform: translateY(5px); }
  32% { transform: translateY(0); }
}

/* ---------- 11. Stats (success in numbers) ---------- */
.stats {
  position: relative;
  background: var(--paper-soft); /* static fallback under the liquid canvas */
  border-top: 1px solid var(--line);
  padding: clamp(72px, 10vw, 120px) 0;
  min-height: 800px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

/* -- liquid surface (WebGL, see js/liquid-background.js) -- */
.stats-liquid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
  opacity: 0;
  transition: opacity 0.9s var(--ease-out);
}
.stats-liquid.is-active { opacity: 1; }

/* -- abstract growth curve: metaphor, not a literal chart -- */
.stats-graph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.stats-graph-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.stats-graph-line--primary {
  stroke: rgba(10, 10, 10, 0.11);
  stroke-width: 1.8;
  stroke-dasharray: 2800;
  stroke-dashoffset: 2800;
  transition: stroke-dashoffset 1.6s var(--ease-out) 0.2s;
}
.stats-graph-line--secondary {
  stroke: rgba(10, 10, 10, 0.045);
  stroke-width: 1.5;
  stroke-dasharray: 2800;
  stroke-dashoffset: 2800;
  transition: stroke-dashoffset 1.8s var(--ease-out) 0.4s;
}
.stats.is-visible .stats-graph-line { stroke-dashoffset: 0; }

.stats-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: 5vw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 64px;
}

/* -- heading + supporting copy -- */
.stats-heading {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.02em;
  font-size: clamp(2.25rem, 4.4vw, 4rem);
  margin: 0;
  will-change: transform;

  opacity: 0;
  transform: translateY(20px);
  filter: blur(6px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out), filter 0.7s var(--ease-out);
}
.stats.is-visible .stats-heading { opacity: 1; transform: translateY(0); filter: blur(0px); }

.stats-sub {
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 420px;
  margin: 18px 0 0;

  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease-out) 0.1s, transform 0.6s var(--ease-out) 0.1s;
}
.stats.is-visible .stats-sub { opacity: 1; transform: translateY(0); }

/* -- the two metrics: asymmetric, no enclosing cards -- */
.stats-metrics {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
}

.stat-metric {
  max-width: 420px;
  will-change: transform;

  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.stats.is-visible .stat-metric { opacity: 1; transform: translateY(0); }
.stats.is-visible .stat-metric--youtube { transition-delay: 0.2s; }
.stats.is-visible .stat-metric--spotify { transition-delay: 0.34s; }

/* the editorial offset — not a grid, not aligned columns */
.stat-metric--spotify { margin-top: 130px; }

.stat-metric-tag {
  display: flex;
  align-items: center;
  font-size: clamp(0.9rem, 1vw, 1.05rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
  margin-bottom: 18px;
  transition: color var(--dur-med) var(--ease-out);
}
.stat-metric-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 9px;
  flex-shrink: 0;
  transition: transform var(--dur-med) var(--ease-out);
}
.stat-metric--youtube .stat-metric-dot { background: #ff0000; }
.stat-metric--spotify .stat-metric-dot { background: #1db954; }

.stat-metric-number {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-size: clamp(6.9rem, 9vw, 9.4rem);

  transform: scale(0.97);
  transition: transform 0.7s var(--ease-out);
}
.stats.is-visible .stat-metric-number { transform: scale(1); }

.stat-metric-count { font-variant-numeric: tabular-nums; transition: letter-spacing var(--dur-med) var(--ease-out); }
.stat-metric-plus { font-size: 0.42em; opacity: 0.5; margin-left: 2px; }

.stat-metric-desc {
  font-size: clamp(1.05rem, 1.2vw, 1.25rem);
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink-soft);
  margin: 14px 0 0;
  transition: color var(--dur-med) var(--ease-out);
}
.stat-metric-linebreak { display: none; }

/* the typography itself is the interactive surface — no box, no border */
.stat-metric:hover .stat-metric-number,
.stat-metric:focus-within .stat-metric-number {
  transform: translateY(-3px);
}
.stat-metric:hover .stat-metric-count,
.stat-metric:focus-within .stat-metric-count {
  letter-spacing: 0.008em;
}
.stat-metric:hover .stat-metric-tag,
.stat-metric:focus-within .stat-metric-tag {
  color: var(--ink);
}
.stat-metric:hover .stat-metric-dot,
.stat-metric:focus-within .stat-metric-dot {
  transform: scale(1.2);
}
.stat-metric:hover .stat-metric-desc,
.stat-metric:focus-within .stat-metric-desc {
  color: var(--ink);
}

/* ---------- 12. For artists ---------- */
.for-artists {
  position: relative;
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: clamp(80px, 10vw, 120px) 0 clamp(90px, 11vw, 140px);
  overflow: hidden;
}

.fa-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0;
  transition: opacity 1s var(--ease-out);
}
.for-artists.is-visible .fa-field { opacity: 1; }

.fa-inner {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: 5vw;
}

.fa-intro { max-width: 640px; margin-bottom: clamp(56px, 7vw, 88px); }

.fa-title {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.02em;
  font-size: clamp(2.25rem, 4.4vw, 4rem);
  margin: 0;

  opacity: 0;
  transform: translateY(20px);
  filter: blur(4px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out), filter 0.7s var(--ease-out);
}
.for-artists.is-visible .fa-title { opacity: 1; transform: translateY(0); filter: blur(0px); }

.fa-sub {
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 520px;
  margin: 18px 0 0;

  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease-out) 0.1s, transform 0.6s var(--ease-out) 0.1s;
}
.for-artists.is-visible .fa-sub { opacity: 1; transform: translateY(0); }

/* -- asymmetric grid -- */
.fa-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
/* distribution spans both rows on the left so its height always matches
   physical + promotion stacked on the right — no dead gap either way */
.fa-card--distribution { grid-column: 1 / span 7; grid-row: 1 / span 2; }
.fa-card--physical { grid-column: 8 / span 5; grid-row: 1; }
.fa-card--promotion { grid-column: 8 / span 5; grid-row: 2; }
.fa-card--websites { grid-column: 1 / span 12; grid-row: 3; }

/* -- card shell --
   entrance uses opacity/filter only (never transform) so the parallax
   loop can own .fa-card's transform exclusively once it takes over —
   see js/main.js, same fix as the stats section's metric parallax bug */
.fa-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(10, 10, 10, 0.08);
  overflow: hidden;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  will-change: transform;

  opacity: 0;
  filter: blur(4px);
  transition: opacity 0.8s var(--ease-out), filter 0.8s var(--ease-out), border-color 0.35s var(--ease-out),
    background 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.for-artists.is-visible .fa-card { opacity: 1; filter: blur(0px); }
.for-artists.is-visible .fa-card--distribution { transition-delay: 0.35s; }
.for-artists.is-visible .fa-card--physical { transition-delay: 0.45s; }
.for-artists.is-visible .fa-card--promotion { transition-delay: 0.55s; }
.for-artists.is-visible .fa-card--websites { transition-delay: 0.65s; }

/* hover-lift lives on the inner wrapper — a separate element from the one
   the parallax loop drives, so the two never fight over "transform" */
.fa-card-lift {
  flex: 1;
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  transform: translateY(0);
  transition: transform 0.4s var(--ease-out);
}
/* distribution's card is stretched tall to match physical + promotion
   stacked alongside it (see .fa-card--distribution's grid-row) — auto
   margins center the viz in whatever space is left under the copy,
   instead of letting it drift down to the bottom of the extra height */
.fa-card--distribution .distribution-viz {
  margin-top: auto;
  margin-bottom: auto;
}
.fa-card:hover .fa-card-lift,
.fa-card:focus-within .fa-card-lift { transform: translateY(-4px); }

.fa-card:hover,
.fa-card:focus-within {
  border-color: rgba(10, 10, 10, 0.16);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 24px 48px -28px rgba(10, 10, 10, 0.28);
}

.fa-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 1.8vw, 1.55rem);
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  transition: transform 0.3s var(--ease-out);
}
.fa-card:hover .fa-card-title { transform: translateY(-1px); }

.fa-card-copy {
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 44ch;
  margin: 0;
}

/* ---- shared "hub and spoke" viz: a central source node radiating out
   to a scatter of platform icons — reused by Digital Distribution
   (source -> streaming platforms) and Promotion (source -> socials) ---- */
.distribution-viz,
.promotion-viz {
  position: relative;
  margin-top: 12px;
  pointer-events: none;
}
/* distribution carries 6 platforms across two tiers, so it gets a taller
   stage and slightly larger badges than promotion's compact 3-icon fan */
.distribution-viz { height: 250px; }
.promotion-viz { height: 190px; }
.fa-card--distribution .compartment-source { width: 50px; height: 50px; }
.fa-card--distribution .platform-icon i { width: 44px; height: 44px; font-size: 1.15rem; }
/* distribution drops the per-icon fan lines: with 6 platforms across two
   tiers, spoke lines drawn in the SVG's stretched viewBox space didn't line
   up with the icons' real (unscaled) px positions and cut across the wrong
   ones — a plain stub under the source reads cleaner and can't misalign */
.fa-card--distribution .compartment-source::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 0;
  height: 32px;
  border-left: 1.5px dashed rgba(10, 10, 10, 0.18);
  transform: translateX(-50%);
}
.compartment-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.compartment-line {
  fill: none;
  stroke: rgba(10, 10, 10, 0.14);
  stroke-width: 1.4;
  stroke-dasharray: 4 5;
  opacity: 0;
  transition: opacity 0.6s var(--ease-out) 0.5s;
}
.for-artists.is-visible .compartment-line { opacity: 1; }

.compartment-source {
  position: absolute;
  top: 4px;
  left: 50%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px -12px rgba(10, 10, 10, 0.45);

  opacity: 0;
  transform: translate(-50%, 0) scale(0.8);
  transition: opacity 0.5s var(--ease-out) 0.25s, transform 0.5s var(--ease-out) 0.25s;
}
.for-artists.is-visible .compartment-source { opacity: 1; transform: translate(-50%, 0) scale(1); }

.compartment-platforms { position: absolute; inset: 0; }
.platform-icon {
  position: absolute;
  top: 30px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  pointer-events: auto;

  opacity: 0;
  transform: translate(-50%, 0) translate(0px, 0px);
  transition: opacity 0.5s var(--ease-out) 0.55s, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.55s;
}
.for-artists.is-visible .platform-icon {
  opacity: 1;
  transform: translate(-50%, 0) translate(var(--tx), var(--ty));
}
.fa-card--distribution:hover .platform-icon,
.fa-card--distribution:focus-within .platform-icon,
.fa-card--promotion:hover .platform-icon,
.fa-card--promotion:focus-within .platform-icon {
  transform: translate(-50%, 0) translate(calc(var(--tx) * 1.16), calc(var(--ty) * 1.1));
  transition-delay: 0s;
}

.platform-icon i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 1.05rem;
  font-style: normal;
  animation: platform-float 4.6s ease-in-out infinite;
}
.platform-icon--spotify i { color: #1db954; animation-delay: 0s; }
.platform-icon--youtube i { color: #ff0000; animation-delay: 0.55s; }
.platform-icon--soundcloud i { color: #ff5500; animation-delay: 1.1s; }
.platform-icon--tidal i { color: var(--ink); animation-delay: 1.65s; }
.platform-icon--apple i { color: var(--ink); animation-delay: 2.2s; }
.platform-icon--bandcamp i { color: #1da0c3; animation-delay: 2.75s; }

.platform-name {
  font-size: 0.66rem;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
}

@keyframes platform-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* ---- Physical Media ---- */
.physical-viz {
  position: relative;
  height: 296px;
  margin-top: 12px;
}
.physical-item {
  position: absolute;
  max-width: none;
  height: auto;
  cursor: pointer;
  /* position/rotation/scale are driven entirely by JS every frame while
     hovered (see main.js) — no CSS transition here on purpose, the same
     "continuous write vs transition" bug already fixed once elsewhere */
  filter: drop-shadow(0 12px 20px rgba(10, 10, 10, 0.16));

  opacity: 0;
}
.for-artists.is-visible .physical-item {
  opacity: 1;
  transition: opacity 0.6s var(--ease-out);
}
.for-artists.is-visible .physical-item--vinyl { transition-delay: 0.55s; }
.for-artists.is-visible .physical-item--cassette { transition-delay: 0.68s; }
.for-artists.is-visible .physical-item--cd { transition-delay: 0.8s; }

.physical-item--vinyl { width: 238px; top: 4px; left: 4%; z-index: 1; }
.physical-item--cassette { width: 210px; top: 70px; left: 36%; z-index: 2; }
.physical-item--cd { width: 168px; top: 16px; right: 2%; z-index: 3; }

/* ---- Promotion (shares the compartment-* hub-and-spoke rules above) ---- */
.platform-icon--x i { color: var(--ink); }
.platform-icon--instagram i { color: #d6249f; }
.platform-icon--tiktok i { color: var(--ink); }

/* ---- Websites ---- */
.fa-card--websites .fa-card-lift { padding: 36px 40px; }
.websites-viz {
  position: relative;
  height: 240px;
  margin-top: 20px;
}
.websites-link {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
#websitesLinkPath {
  fill: none;
  stroke: rgba(10, 10, 10, 0.16);
  stroke-width: 1.4;
  stroke-dasharray: 6 6;
  animation: websites-flow 2.4s linear infinite;
  opacity: 0;
  transition: opacity 0.6s var(--ease-out) 0.75s;
}
.for-artists.is-visible #websitesLinkPath { opacity: 1; }
@keyframes websites-flow {
  to { stroke-dashoffset: -24; }
}

.portal-window,
.browser-window {
  position: absolute;
  z-index: 1;
  border-radius: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 20px 40px -22px rgba(10, 10, 10, 0.3);
  overflow: hidden;

  opacity: 0;
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.for-artists.is-visible .portal-window,
.for-artists.is-visible .browser-window {
  opacity: 1;
}

.portal-window {
  top: 8px;
  left: 2%;
  width: 44%;
  max-width: 260px;
  transform: translate(14px, 0);
}
.for-artists.is-visible .portal-window {
  transform: translate(0, 0);
  transition-delay: 0.6s;
}

.browser-window {
  bottom: 4px;
  right: 2%;
  width: 54%;
  max-width: 320px;
  transform: translate(-14px, 0);
}
.for-artists.is-visible .browser-window {
  transform: translate(0, 0);
  transition-delay: 0.72s;
}

.portal-titlebar,
.browser-titlebar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-soft);
}
.portal-titlebar span,
.browser-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line);
}
.browser-url {
  margin-left: 8px;
  font-size: 0.7rem;
  color: var(--ink-soft);
  font-family: var(--font-body);
}

.portal-nav {
  list-style: none;
  margin: 0;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.portal-nav li {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 5px 9px;
  border-radius: 7px;
}
.portal-nav li:first-child { background: var(--paper-soft); color: var(--ink); }

.browser-body { padding: 14px; display: flex; flex-direction: column; gap: 9px; }
.browser-line {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: var(--paper-soft);
}
.browser-line--title { width: 62%; height: 11px; background: rgba(10, 10, 10, 0.14); }
.browser-line--short { width: 40%; }

.fa-card--websites:hover .portal-window,
.fa-card--websites:focus-within .portal-window { transform: translate(-3px, -2px); }
.fa-card--websites:hover .browser-window,
.fa-card--websites:focus-within .browser-window { transform: translate(3px, 2px); }

/* anchor targets land below the sticky header instead of under it —
   matters now that the footer actually links to these sections */
#hero, #artists, #stats, #forArtists,
#cardDistribution, #cardPhysical, #cardPromotion, #cardWebsites { scroll-margin-top: var(--header-h); }

/* ---------- 13. Footer ---------- */
.site-footer {
  position: relative;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.6);
  overflow: hidden;
  padding: 72px 0 0;
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: 5vw;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 64px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-brand { max-width: 320px; }
.footer-logo {
  display: inline-flex;
  margin-bottom: 24px;
}
.footer-logo img {
  display: block;
  width: clamp(132px, 12vw, 168px);
  height: auto;
  opacity: 0.9;
  transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.footer-logo:hover img,
.footer-logo:focus-visible img {
  opacity: 1;
  transform: translateY(-1px);
}
.footer-logo:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.75);
  outline-offset: 6px;
  border-radius: 2px;
}
.footer-legal {
  font-style: normal;
  font-size: 0.86rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.42);
}
.footer-legal a {
  color: rgba(255, 255, 255, 0.62);
  transition: color 0.25s var(--ease-out);
}
.footer-legal a:hover,
.footer-legal a:focus-visible { color: var(--paper); }

.footer-cols {
  display: flex;
  gap: 64px;
}
.footer-col { display: flex; flex-direction: column; gap: 14px; }
.footer-col-title {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.85);
}
.footer-col a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.25s var(--ease-out);
}
.footer-col a:hover,
.footer-col a:focus-visible { color: var(--paper); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0 32px;
  font-size: 0.82rem;
}
.footer-credit,
.footer-top-link {
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.25s var(--ease-out);
}
.footer-credit:hover,
.footer-credit:focus-visible,
.footer-top-link:hover,
.footer-top-link:focus-visible { color: var(--paper); }

/* ---------- 14. Stub pages (Backstory / Apply) ----------
   minimal "coming soon" placeholders — real header/nav/footer, just no
   built-out page content yet */
.stub-main {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 5vw;
}
.stub-hero { max-width: 560px; text-align: center; }
.stub-eyebrow {
  margin: 0 0 16px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.stub-heading {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin: 0 0 18px;
}
.stub-copy {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 32px;
}
.stub-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-full);
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.stub-cta:hover,
.stub-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -16px rgba(10, 10, 10, 0.4);
}

/* -- backstory page (real content; Apply above is still a stub) -- */
.backstory-page { padding: clamp(80px, 9vw, 110px) 0 clamp(96px, 11vw, 140px); }
.backstory-container {
  max-width: 760px;
  margin-inline: auto;
  padding-inline: clamp(24px, 4vw, 72px);
}
.backstory-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  letter-spacing: -0.045em;
  line-height: 1;
  margin: 0 0 40px;

  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.is-ready .backstory-heading { opacity: 1; transform: translateY(0); }

.backstory-card {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vw, 32px);
  background: var(--paper-soft);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
}
.backstory-eyebrow {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.backstory-text {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

/* ---------- 15. Artists page ----------
   a polished, restrained grid — the artwork does the talking. see
   js/artists-data.js + js/artists-page.js (data-driven; generates the
   grid items below from ARTISTS_DATA). */
.artists-page { position: relative; padding: clamp(80px, 9vw, 110px) 0 clamp(96px, 11vw, 140px); overflow: hidden; }

.artists-ambient {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s var(--ease-out);
}
.artists-ambient.is-active { opacity: 0.5; } /* halves the module's own ~0.05 baseline down to ~0.025 */

.artists-container {
  position: relative;
  z-index: 1;
  max-width: 1500px;
  margin-inline: auto;
  padding-inline: clamp(24px, 4vw, 72px);
}

.artists-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  letter-spacing: -0.045em;
  line-height: 1;
  margin: 0 0 56px;

  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.is-ready .artists-heading { opacity: 1; transform: translateY(0); }

/* -- grid: flex-wrap rather than CSS grid so an incomplete last row
   (5 artists in 4 columns, say) centers itself instead of hugging the
   left edge — justify-content:center centers items within each wrapped
   line independently, which is exactly the behavior we want here -- */
.artist-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start; /* each item sizes to its own content, no
    equal-height stretch — otherwise the taller name/genre text of a
    shorter item can overflow its own (stretch-shrunk) box and visually
    collide with the row below */
  gap: 64px 30px;
}
.artist-item {
  flex: 0 1 calc((100% - 3 * 30px) / 4);
  min-width: 200px;
  display: block;
}

.artist-item-art {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: var(--paper-soft);
  border: 1px solid rgba(10, 10, 10, 0.08);
  transition: border-color 350ms ease, box-shadow 350ms ease;
}
/* alternating rest tilt — the non-interactive fallback (touch / reduced
   motion). on pointer-capable, motion-enabled visitors js/artists-page.js
   takes over this element's transform entirely (base rotate included, so
   there's no jump) to compose the hover lift + 3D tilt into one write —
   a separate :hover rule here would just lose that fight silently. */
.artist-item:nth-child(odd) .artist-item-art { transform: rotate(-0.55deg); }
.artist-item:nth-child(even) .artist-item-art { transform: rotate(0.55deg); }
.artist-item:hover .artist-item-art,
.artist-item:focus-visible .artist-item-art {
  border-color: color-mix(in srgb, var(--accent) 45%, rgba(10, 10, 10, 0.08));
  box-shadow: 0 20px 40px -28px rgba(10, 10, 10, 0.3);
}
@supports not (color: color-mix(in srgb, red, blue)) {
  .artist-item:hover .artist-item-art,
  .artist-item:focus-visible .artist-item-art { border-color: rgba(10, 10, 10, 0.24); }
}

/* faint accent wash, only present while hovered/focused — position is
   driven by --pointer-x/--pointer-y (set from pointermove in JS) */
.artist-item-art::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(
    circle at var(--pointer-x, 50%) var(--pointer-y, 50%),
    color-mix(in srgb, var(--accent) 7%, transparent),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 400ms var(--ease-out);
  pointer-events: none;
}
@supports not (color: color-mix(in srgb, red, blue)) {
  .artist-item-art::before { display: none; }
}
.artist-item:hover .artist-item-art::before,
.artist-item:focus-visible .artist-item-art::before { opacity: 1; }

.artist-item-art img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out);
}
.artist-item-art img.is-loaded { opacity: 1; }
.artist-item-art img:not(.is-loaded) { opacity: 0; transform: scale(1.015); }

.artist-item-name {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin: 20px 0 0;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(1.375rem, 1.8vw, 1.875rem);
  letter-spacing: -0.025em;
  line-height: 1.05;
  text-align: center;
  transition: transform 350ms var(--ease-out);
}
.artist-item:hover .artist-item-name,
.artist-item:focus-visible .artist-item-name { transform: translateY(-2px); }

.artist-item-arrow {
  font-size: 0.85em;
  opacity: 0;
  transform: translateX(-3px);
  transition: opacity 350ms var(--ease-out), transform 350ms var(--ease-out), color 350ms var(--ease-out);
  color: var(--accent);
}
.artist-item:hover .artist-item-arrow,
.artist-item:focus-visible .artist-item-arrow { opacity: 1; transform: translateX(0); }

.artist-item-genre {
  display: block;
  margin: 8px 0 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(30, 45, 70, 0.62);
  transition: color 350ms var(--ease-out);
}
.artist-item:hover .artist-item-genre,
.artist-item:focus-visible .artist-item-genre { color: rgba(30, 45, 70, 0.85); }


/* scroll entrance — staggered per item via transition-delay set inline
   by js/artists-page.js */
.artist-item {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  filter: blur(4px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out), filter 0.8s var(--ease-out);
}
.artist-item.is-visible { opacity: 1; transform: translateY(0) scale(1); filter: blur(0px); }

/* ---------- 16. Releases page ----------
   catalog driven by pull.js (fetches an artist's almd.to content.json).
   only availax has real data behind the api right now, but the page is
   built as "Almedia's catalog" — no artist-branded header, every release
   just credits whoever actually made it. editorial layout: one large
   featured/latest release, then the rest of the catalog in a light
   asymmetric grid, revealed in batches instead of a paginated carousel.

   note: the api has no release date or type (album/ep/single/remix)
   field anywhere — confirmed against content.json and the per-release
   redirect pages — so those are intentionally left out rather than
   guessed. artist + sort filters use only real fields. */
.releases-page { padding: clamp(80px, 9vw, 104px) 0 clamp(72px, 8vw, 100px); }
.releases-page-inner {
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: clamp(24px, 4vw, 72px);
}

.releases-page-head { margin-bottom: clamp(28px, 3.5vw, 40px); }
.releases-page-heading {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.03em;
  line-height: 1;

  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.is-ready .releases-page-heading { opacity: 1; transform: translateY(0); }
.releases-page-sub {
  margin: 10px 0 0;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

/* -- controls -- */
.releases-controls {
  display: flex;
  gap: 10px;
  margin-bottom: clamp(32px, 4.5vw, 48px);
}
.releases-select {
  appearance: none;
  padding: 9px 32px 9px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--line);
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%234b4b52' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  transition: border-color 0.25s var(--ease-out);
}
.releases-select:hover,
.releases-select:focus-visible { border-color: rgba(10, 10, 10, 0.3); }

.releases-section-label {
  margin: 0 0 18px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.releases-loading {
  margin: 0 0 18px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  animation: releases-loading-pulse 1.1s ease-in-out infinite;
}
@keyframes releases-loading-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.releases-divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: clamp(40px, 5vw, 56px) 0;
}

/* -- featured / latest release -- */
/* art / title / cta are each their own link to the same release (see
   pull.js) rather than one link wrapping everything — the artist-credit
   line needs its own per-name links, and an <a> can't nest inside an
   <a>, so nothing here shares a single wrapping anchor. each linked
   piece gets its own self-contained hover instead of one synced effect. */
.featured-release { position: relative; margin-bottom: clamp(48px, 6vw, 64px); }
.featured-release:empty { margin-bottom: 0; }
.featured-release-inner {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
}
.featured-release-art {
  display: block;
  position: relative;
  flex-shrink: 0;
  width: clamp(220px, 26vw, 360px);
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  background: var(--paper-soft);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.featured-release-art:hover,
.featured-release-art:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -32px rgba(10, 10, 10, 0.4);
}
.featured-release-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.featured-release-art:hover img,
.featured-release-art:focus-visible img { transform: scale(1.04); }

.featured-release-meta { display: flex; flex-direction: column; min-width: 0; }
.featured-release-title {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  transition: opacity 0.25s var(--ease-out);
}
.featured-release-title:hover,
.featured-release-title:focus-visible { opacity: 0.6; }
.featured-release-artist { margin-top: 8px; font-size: 1rem; color: var(--ink-soft); }
.featured-release-artist a { color: var(--ink); transition: opacity 0.25s var(--ease-out); }
.featured-release-artist a:hover,
.featured-release-artist a:focus-visible { opacity: 0.6; }
.featured-release-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: gap 0.25s var(--ease-out);
}
.featured-release-cta:hover,
.featured-release-cta:focus-visible { gap: 12px; }
.featured-release-cta i { font-size: 0.75em; }

/* -- catalog grids: selected releases get their own clean five-up row;
   the remaining releases start below in a uniform grid. keeping the two
   sizes in separate grids avoids gaps and dense-packing reorder. -- */
.highlighted-releases {
  --highlight-gap: clamp(20px, 2vw, 28px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: var(--highlight-gap);
}
.highlighted-releases > .release-box {
  flex: 0 0 calc(20% - var(--highlight-gap));
}
.tracks-window {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  align-items: start;
  gap: clamp(20px, 2vw, 28px);
}
.highlighted-releases .release-title { font-size: 1.05rem; }
.tracks-window .release-title { min-height: 2.6em; }
.highlighted-releases[hidden],
.tracks-window[hidden] { display: none; }
.highlighted-releases:not([hidden]) + .releases-section-label--more {
  margin-top: clamp(40px, 5vw, 56px);
}

.release-box {
  position: relative;
  min-width: 0;
  animation: release-fade-in 0.5s var(--ease-out) both;
}
@keyframes release-fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.release-link { display: block; }
.release-art {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper-soft);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.release-link:hover .release-art,
.release-link:focus-visible .release-art {
  transform: translateY(-4px);
  box-shadow: 0 20px 36px -24px rgba(10, 10, 10, 0.35);
}
.release-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.release-link:hover .release-art img,
.release-link:focus-visible .release-art img { transform: scale(1.04); }

.release-view-cta {
  position: absolute;
  z-index: 2;
  left: 10px;
  bottom: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.release-view-cta::before {
  content: "";
  position: absolute;
  inset: -10px -10px -10px -10px;
  z-index: -1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent);
}
.release-link:hover .release-view-cta,
.release-link:focus-visible .release-view-cta { opacity: 1; transform: translateY(0); }

.release-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin-top: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  transition: opacity 0.25s var(--ease-out);
}
.release-link:hover .release-title,
.release-link:focus-visible .release-title { opacity: 0.7; }
.release-track-artist {
  display: block;
  margin-top: 3px;
  font-size: 0.78rem;
  color: var(--ink-soft);
}
.release-track-artist a { color: var(--ink-soft); transition: color 0.25s var(--ease-out); }
.release-track-artist a:hover,
.release-track-artist a:focus-visible { color: var(--ink); }

.release-artist-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  text-decoration: underline;
  text-decoration-color: rgba(10, 10, 10, 0.25);
}
.release-artist-avatar {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  border-radius: 50%;
  object-fit: cover;
  background: var(--paper-soft);
  flex-shrink: 0;
}

.vinyl-badge {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 8px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--ink);
  color: var(--paper);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.25s var(--ease-out);
}
.vinyl-badge:hover,
.vinyl-badge:focus-visible { transform: scale(1.05); }

.release-empty {
  grid-column: 1 / -1;
  width: 100%;
  padding: 40px 0;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.show-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: clamp(32px, 4vw, 48px);
  padding: 13px 24px;
  border-radius: var(--radius-full);
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 0.92rem;
  transition: border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out), background 0.25s var(--ease-out);
}
.show-more-btn[hidden] { display: none; }
.show-more-btn:hover,
.show-more-btn:focus-visible {
  border-color: rgba(10, 10, 10, 0.3);
  background: var(--paper-soft);
  transform: translateY(-2px);
}
.show-more-btn i { font-size: 0.75em; }

/* ---------- 17. Plus page ---------- */

/* The real page heading owns the intro sequence. The page remains usable
   while it runs; there is no loading overlay or scroll lock. */
.plus-page {
  padding: clamp(80px, 9vw, 110px) 0 clamp(96px, 11vw, 140px);
  overflow: clip;
}
.plus-container {
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: clamp(24px, 4vw, 72px);
}

/* -- hero -- */
.plus-hero { max-width: 640px; margin-bottom: clamp(56px, 7vw, 84px); }
.plus-heading {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  letter-spacing: -0.045em;
  line-height: 1;
  margin: 0 0 20px;
}
.plus-heading-word { display: inline-flex; line-height: 1; }
.plus-heading-mask {
  display: inline-block;
  overflow: hidden;
  line-height: 1;
  padding-block: 0.13em 0.08em;
  margin-block: -0.13em -0.08em;
}
.plus-heading-letter {
  display: inline-block;
  transform-origin: 50% 80%;
  transition: transform 0.45s var(--ease-out);
}
.plus-heading-mask:nth-child(1) .plus-heading-letter { --heading-delay: 0ms; --heading-tilt: -7deg; }
.plus-heading-mask:nth-child(2) .plus-heading-letter { --heading-delay: 80ms; --heading-tilt: 5deg; }
.plus-heading-mask:nth-child(3) .plus-heading-letter { --heading-delay: 160ms; --heading-tilt: -4deg; }
.plus-heading-mask:nth-child(4) .plus-heading-letter { --heading-delay: 240ms; --heading-tilt: 6deg; }

.plus-heading-sweep {
  position: absolute;
  left: 0;
  bottom: -8px;
  width: clamp(58px, 7vw, 88px);
  height: 3px;
  border-radius: var(--radius-full);
  background: var(--ink);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
}

.plus-page.is-plus-entering:not(.is-heading-complete) .plus-heading-letter {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(115%) rotate(var(--heading-tilt));
  will-change: opacity, filter, transform;
}
.plus-page.is-heading-active .plus-heading-letter {
  animation: plus-heading-letter-in 0.82s var(--ease-out) var(--heading-delay) both;
}
.plus-page.is-plus-entering:not(.is-heading-complete) .plus-heading-sweep {
  opacity: 0;
  transform: scaleX(0);
}
.plus-page.is-heading-active .plus-heading-sweep {
  animation: plus-heading-sweep-in 0.78s var(--ease-out) 0.46s both;
}

@keyframes plus-heading-letter-in {
  from {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(115%) rotate(var(--heading-tilt));
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) rotate(0);
  }
}
@keyframes plus-heading-sweep-in {
  0% { opacity: 0; transform: scaleX(0); }
  68% { opacity: 0.72; transform: scaleX(1); }
  100% { opacity: 0; transform: scaleX(1); }
}

@media (hover: hover) and (pointer: fine) {
  .plus-page.is-heading-complete .plus-heading:hover .plus-heading-mask:nth-child(1) .plus-heading-letter {
    transform: translateY(-0.05em) rotate(-3deg);
  }
  .plus-page.is-heading-complete .plus-heading:hover .plus-heading-mask:nth-child(2) .plus-heading-letter {
    transform: translateY(-0.09em) rotate(2deg);
  }
  .plus-page.is-heading-complete .plus-heading:hover .plus-heading-mask:nth-child(3) .plus-heading-letter {
    transform: translateY(-0.04em) rotate(-2deg);
  }
  .plus-page.is-heading-complete .plus-heading:hover .plus-heading-mask:nth-child(4) .plus-heading-letter {
    transform: translateY(-0.08em) rotate(3deg);
  }
}

.plus-sub {
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
  transition: opacity 0.85s var(--ease-out), filter 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}
.plus-page.is-plus-entering:not(.is-heading-complete) .plus-sub {
  opacity: 0;
  visibility: hidden;
  filter: blur(14px);
  transform: translateY(18px) scale(0.985);
}
.plus-page.is-heading-complete .plus-sub {
  opacity: 1;
  visibility: visible;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

/* Bring the navigation into the same heading-led sequence. */
.plus-body.is-plus-entering .site-header {
  transition: opacity 0.8s var(--ease-out), filter 0.8s var(--ease-out), transform 0.8s var(--ease-out),
    padding var(--dur-fast) var(--ease-out);
}
.plus-body.is-plus-entering:not(.is-plus-content-ready) .site-header {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  filter: blur(12px);
  transform: translateY(-14px) scale(0.985);
}
.plus-body.is-plus-content-ready .site-header {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

/* -- system-wide perks -- */
.plus-perks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2.5vw, 28px);
  margin-bottom: clamp(64px, 8vw, 96px);
}
.plus-perk {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--paper-soft);
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 34px);
  transform: translateY(0);
  transition: transform 0.4s var(--ease-out),
    border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), background 0.3s var(--ease-out);
}
.plus-perk::before,
.plus-tier::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
}
.plus-perk::before {
  background: radial-gradient(
    320px circle at var(--glow-x, 50%) var(--glow-y, 50%),
    rgba(255, 255, 255, 0.95),
    rgba(255, 255, 255, 0) 68%
  );
}
.plus-perk > *,
.plus-tier > * { position: relative; z-index: 1; }

.plus-page.is-plus-entering .plus-perk:not(.is-visible) {
  opacity: 0;
  pointer-events: none;
  filter: blur(14px);
  transform: translateY(24px) scale(0.985);
}
.plus-page.is-plus-entering .plus-perk.is-visible {
  animation: plus-card-in 0.88s var(--ease-out) backwards;
}
.plus-page.is-plus-entering .plus-perk.is-visible:nth-child(2) { animation-delay: 0.11s; }

.plus-perk:focus-within {
  transform: translateY(-4px);
  border-color: rgba(10, 10, 10, 0.1);
  background: var(--paper);
  box-shadow: 0 24px 48px -30px rgba(10, 10, 10, 0.3);
}
.plus-perk:focus-within::before,
.plus-tier:focus-within::before { opacity: 1; }
.plus-perk-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 18px;
  transition: transform 0.3s var(--ease-out);
}
.plus-perk:focus-within .plus-perk-badge { transform: translateY(-2px) rotate(-4deg) scale(1.06); }
.plus-perk:nth-child(2):focus-within .plus-perk-badge { transform: translateY(-2px) rotate(4deg) scale(1.06); }
.plus-perk-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.plus-perk-text { margin: 0; font-size: 0.98rem; line-height: 1.55; color: var(--ink-soft); }

/* -- tiers head: heading + billing toggle -- */
.plus-tiers-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: clamp(24px, 3vw, 32px);
}
.plus-page.is-plus-entering .plus-tiers-head:not(.is-visible) {
  opacity: 0;
  pointer-events: none;
  filter: blur(14px);
  transform: translateY(20px) scale(0.985);
}
.plus-page.is-plus-entering .plus-tiers-head.is-visible {
  animation: plus-content-in 0.82s var(--ease-out) backwards;
}
.plus-tiers-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  letter-spacing: -0.02em;
  margin: 0;
}

/* sliding thumb: positioned/sized in js/plus-page.js from the active
   button's own geometry, so it never drifts out of sync with the text */
.plus-billing-toggle {
  position: relative;
  display: inline-flex;
  padding: 4px;
  border-radius: var(--radius-full);
  background: var(--paper-soft);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.plus-billing-toggle:focus-within {
  transform: translateY(-2px);
  border-color: rgba(10, 10, 10, 0.18);
  box-shadow: 0 14px 28px -22px rgba(10, 10, 10, 0.55);
}
.plus-billing-thumb {
  position: absolute;
  top: 4px;
  left: 0;
  bottom: 4px;
  border-radius: var(--radius-full);
  background: var(--ink);
  transition: transform 0.35s var(--ease-out), width 0.35s var(--ease-out);
}
.plus-billing-btn {
  position: relative;
  z-index: 1;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.25s var(--ease-out), background 0.25s var(--ease-out);
}
.plus-billing-btn.is-active { color: var(--paper); background: var(--ink); }
.plus-billing-toggle.is-enhanced .plus-billing-btn.is-active { background: transparent; }

/* -- tier cards: dark, modeled on x/twitter's plans page -- */
.plus-tiers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2.5vw, 28px);
}
.plus-tier {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(120% 140% at 22% 0%, rgba(255, 255, 255, 0.07), transparent 60%),
    #131316;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.2vw, 36px);
  color: #fff;
  overflow: visible;
  transform: translateY(0);
  transition: transform 0.4s var(--ease-out),
    border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.plus-tier::before {
  border-radius: inherit;
  background: radial-gradient(
    380px circle at var(--glow-x, 50%) var(--glow-y, 50%),
    rgba(255, 255, 255, 0.13),
    rgba(255, 255, 255, 0) 68%
  );
}
.plus-page.is-plus-entering .plus-tier:not(.is-visible) {
  opacity: 0;
  pointer-events: none;
  filter: blur(14px);
  transform: translateY(26px) scale(0.985);
}
.plus-page.is-plus-entering .plus-tier.is-visible {
  animation: plus-card-in 0.92s var(--ease-out) backwards;
  animation-delay: 0.12s;
}
.plus-page.is-plus-entering .plus-tier.is-visible.plus-tier--org { animation-delay: 0.24s; }
.plus-page.is-plus-entering .is-focus-reveal,
.plus-page.is-plus-entering .is-focus-reveal .plus-tier-list li {
  opacity: 1;
  filter: none;
  transform: none;
  animation: none;
}
.plus-tier:focus-within {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 28px 56px -28px rgba(0, 0, 0, 0.55);
}
.plus-tier-head { margin-bottom: clamp(20px, 2.5vw, 28px); }
.plus-tier-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.plus-tier-desc { margin: 0; font-size: 0.92rem; color: rgba(255, 255, 255, 0.55); }

.plus-tier-price { display: flex; align-items: baseline; gap: 6px; }
.plus-price-amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 3vw, 2.6rem);
  letter-spacing: -0.02em;
}
.plus-price-amount, .plus-price-cadence, .plus-price-billed {
  transition: opacity 0.16s var(--ease-out), filter 0.16s var(--ease-out), transform 0.16s var(--ease-out);
}
.plus-price-amount.is-swapping, .plus-price-cadence.is-swapping, .plus-price-billed.is-swapping {
  opacity: 0;
  filter: blur(5px);
  transform: translateY(-5px);
}
.plus-price-cadence { font-size: 0.95rem; color: rgba(255, 255, 255, 0.5); }
.plus-price-billed { margin: 4px 0 24px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.5); }

.plus-tier-cta {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: var(--radius-full);
  background: #fff;
  color: #0a0a0a;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: clamp(24px, 3vw, 32px);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), gap 0.25s var(--ease-out);
}
.plus-tier-cta::before {
  content: "";
  position: absolute;
  inset: -40% auto -40% -35%;
  width: 24%;
  background: linear-gradient(90deg, transparent, rgba(10, 10, 10, 0.1), transparent);
  transform: skewX(-18deg) translateX(-260%);
  transition: transform 0.65s var(--ease-out);
  pointer-events: none;
}
.plus-tier-cta > * { position: relative; z-index: 1; }
.plus-tier-cta i { font-size: 0.8em; transition: transform 0.25s var(--ease-out); }
.plus-tier-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -16px rgba(0, 0, 0, 0.6);
  gap: 12px;
}
.plus-tier-cta:focus-visible::before { transform: skewX(-18deg) translateX(720%); }
.plus-tier-cta:focus-visible i { transform: translateX(2px); }

.plus-tier-list { position: relative; display: flex; flex-direction: column; gap: 14px; }
.plus-tier-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
}
.plus-page.is-plus-entering .plus-tier:not(.is-visible) .plus-tier-list li {
  opacity: 0;
  transform: translateY(10px);
}
.plus-page.is-plus-entering .plus-tier.is-visible .plus-tier-list li {
  animation: plus-list-item-in 0.58s var(--ease-out) backwards;
}
.plus-page.is-plus-entering .plus-tier.is-visible .plus-tier-list li:nth-child(1) { animation-delay: 0.3s; }
.plus-page.is-plus-entering .plus-tier.is-visible .plus-tier-list li:nth-child(2) { animation-delay: 0.36s; }
.plus-page.is-plus-entering .plus-tier.is-visible .plus-tier-list li:nth-child(3) { animation-delay: 0.42s; }
.plus-page.is-plus-entering .plus-tier.is-visible .plus-tier-list li:nth-child(4) { animation-delay: 0.48s; }
.plus-item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.75);
  transition: transform 0.25s var(--ease-out), background 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
.plus-tier-list li:focus-within .plus-item-icon {
  transform: scale(1.08) rotate(-3deg);
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.16);
}

@keyframes plus-content-in {
  from {
    opacity: 0;
    filter: blur(14px);
    transform: translateY(20px) scale(0.985);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}
@keyframes plus-card-in {
  from {
    opacity: 0;
    filter: blur(14px);
    transform: translateY(26px) scale(0.985);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}
@keyframes plus-list-item-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* -- info icon + hover/focus tooltip -- */
.plus-info {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  padding: 0;
  border: 0;
  line-height: 1;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}
.plus-info:focus-visible,
.plus-info.is-open { color: rgba(255, 255, 255, 0.8); }
.plus-info:focus-visible { outline-color: #fff; }
.plus-tooltip-bubble {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  width: 240px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: #1f1f24;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  line-height: 1.45;
  text-align: left;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out);
  z-index: 2;
}
.plus-info:focus-visible .plus-tooltip-bubble,
.plus-info.is-open .plus-tooltip-bubble {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (hover: hover) and (pointer: fine) {
  .plus-perk:hover {
    transform: translateY(-4px);
    border-color: rgba(10, 10, 10, 0.1);
    background: var(--paper);
    box-shadow: 0 24px 48px -30px rgba(10, 10, 10, 0.3);
  }
  .plus-perk:hover::before,
  .plus-tier:hover::before { opacity: 1; }
  .plus-perk:hover .plus-perk-badge { transform: translateY(-2px) rotate(-4deg) scale(1.06); }
  .plus-perk:nth-child(2):hover .plus-perk-badge { transform: translateY(-2px) rotate(4deg) scale(1.06); }
  .plus-billing-toggle:hover {
    transform: translateY(-2px);
    border-color: rgba(10, 10, 10, 0.18);
    box-shadow: 0 14px 28px -22px rgba(10, 10, 10, 0.55);
  }
  .plus-tier:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 28px 56px -28px rgba(0, 0, 0, 0.55);
  }
  .plus-tier-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -16px rgba(0, 0, 0, 0.6);
    gap: 12px;
  }
  .plus-tier-cta:hover::before { transform: skewX(-18deg) translateX(720%); }
  .plus-tier-cta:hover i { transform: translateX(2px); }
  .plus-tier-list li:hover .plus-item-icon {
    transform: scale(1.08) rotate(-3deg);
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(255, 255, 255, 0.16);
  }
  .plus-info:hover { color: rgba(255, 255, 255, 0.8); }
  .plus-info:hover .plus-tooltip-bubble {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* -- Plus waitlist dialog -- */
body.has-plus-modal { overflow: hidden; }
.plus-waitlist-dialog {
  width: min(560px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 30px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 36px 100px -28px rgba(10, 10, 10, 0.55);
  overflow: hidden;
  opacity: 0;
  filter: blur(12px);
  transform: translateY(24px) scale(0.975);
  transition: opacity 0.34s var(--ease-out), filter 0.34s var(--ease-out), transform 0.34s var(--ease-out);
}
.plus-waitlist-dialog:not([open]) { display: none; }
.plus-waitlist-dialog::backdrop {
  background: rgba(10, 10, 10, 0);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  transition: background 0.34s var(--ease-out), backdrop-filter 0.34s var(--ease-out);
}
.plus-waitlist-dialog.is-open {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}
.plus-waitlist-dialog.is-open::backdrop {
  background: rgba(10, 10, 10, 0.58);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.plus-waitlist-shell {
  position: relative;
  max-height: calc(100dvh - 32px);
  padding: clamp(28px, 5vw, 42px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.plus-waitlist-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper-soft);
  color: var(--ink-soft);
  transition: color 0.22s var(--ease-out), background 0.22s var(--ease-out), transform 0.22s var(--ease-out);
}
.plus-waitlist-close:focus-visible {
  color: var(--ink);
  background: var(--paper);
  transform: rotate(5deg) scale(1.04);
}
.plus-waitlist-header { padding-right: 42px; margin-bottom: 28px; }
.plus-waitlist-kicker-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 13px;
}
.plus-waitlist-kicker,
.plus-waitlist-plan {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 5px 10px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.plus-waitlist-kicker { background: var(--ink); color: var(--paper); }
.plus-waitlist-plan { background: var(--paper-soft); border: 1px solid var(--line); color: var(--ink-soft); }
.plus-waitlist-title {
  max-width: 430px;
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.plus-waitlist-intro {
  max-width: 450px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}
.plus-waitlist-form { display: grid; gap: 17px; }
.plus-waitlist-field { display: grid; gap: 8px; }
.plus-waitlist-field > span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  font-weight: 700;
}
.plus-waitlist-field small {
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.plus-waitlist-field input {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper-soft);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.22s var(--ease-out), background 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out),
    transform 0.22s var(--ease-out);
}
.plus-waitlist-field input::placeholder { color: rgba(75, 75, 82, 0.58); }
.plus-waitlist-field input:focus {
  border-color: var(--ink);
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(10, 10, 10, 0.07);
  transform: translateY(-1px);
}
.plus-waitlist-field input[aria-invalid="true"] {
  border-color: #b42318;
  box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.08);
}
.plus-waitlist-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.plus-waitlist-privacy {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.75rem;
  line-height: 1.45;
}
.plus-waitlist-privacy i { margin-top: 2px; font-size: 0.72rem; }
.plus-waitlist-status {
  min-height: 20px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.4;
}
.plus-waitlist-status.is-error { color: #b42318; }
.plus-waitlist-submit,
.plus-waitlist-done {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 50px;
  padding: 13px 20px;
  border-radius: var(--radius-full);
  background: var(--ink);
  color: var(--paper);
  font-size: 0.92rem;
  font-weight: 700;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), gap 0.25s var(--ease-out), opacity 0.2s var(--ease-out);
}
.plus-waitlist-submit:focus-visible,
.plus-waitlist-done:focus-visible {
  outline-color: var(--paper);
  box-shadow: 0 0 0 4px var(--ink);
}
.plus-waitlist-submit:disabled { cursor: wait; opacity: 0.65; }
.plus-waitlist-submit i { transition: transform 0.25s var(--ease-out); }
.plus-waitlist-submit.is-loading i { animation: plus-waitlist-spin 0.8s linear infinite; }
.plus-waitlist-success {
  display: grid;
  justify-items: center;
  padding: 26px 0 6px;
  text-align: center;
}
.plus-waitlist-success[hidden] { display: none; }
.plus-waitlist-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  animation: plus-waitlist-success-in 0.65s var(--ease-out) both;
}
.plus-waitlist-success h3 {
  margin: 0 0 9px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: -0.025em;
  outline: none;
}
.plus-waitlist-success p {
  max-width: 380px;
  margin: 0 0 25px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.5;
}
.plus-waitlist-done { max-width: 240px; }

@media (hover: hover) and (pointer: fine) {
  .plus-waitlist-close:hover { color: var(--ink); background: var(--paper); transform: rotate(5deg) scale(1.04); }
  .plus-waitlist-submit:hover,
  .plus-waitlist-done:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -18px rgba(10, 10, 10, 0.7);
    gap: 13px;
  }
  .plus-waitlist-submit:hover i { transform: translateX(2px); }
}

@keyframes plus-waitlist-spin { to { transform: rotate(360deg); } }
@keyframes plus-waitlist-success-in {
  from { opacity: 0; transform: scale(0.7) rotate(-10deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

/* ---------- 18. Responsive ---------- */
@media (max-width: 1100px) {
  .highlighted-releases > .release-box {
    flex-basis: calc(33.333% - var(--highlight-gap));
  }
}

@media (max-width: 900px) {
  .nav-menu, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-drawer { display: flex; }

  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
    min-height: auto;
    padding: calc(var(--header-h) + 32px) clamp(24px, 6vw, 48px) 48px;
  }
  .headline { max-width: 100%; }

  .artist-field {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 40px;
  }
  .artist-orb {
    position: static;
    width: clamp(88px, 24vw, 130px);
    border-radius: 50%;
  }

  .stats { min-height: 640px; }
  .stats-inner { gap: 48px; }
  .stat-metric-number { font-size: clamp(5rem, 11vw, 6.25rem); }
  .stat-metric--spotify { margin-top: 70px; }

  .fa-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .fa-card--distribution,
  .fa-card--physical,
  .fa-card--promotion,
  .fa-card--websites {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .fa-card { border-radius: 23px; }
  .fa-card-lift,
  .fa-card--websites .fa-card-lift { padding: 24px; }

  .footer-top { flex-direction: column; gap: 40px; }
  .footer-brand { max-width: none; }

  .artist-grid { gap: 48px 24px; }
  .artist-item { flex-basis: calc((100% - 24px) / 2); }
}

@media (max-width: 760px) {
  .highlighted-releases > .release-box {
    flex-basis: calc(50% - var(--highlight-gap));
  }
}

@media (max-width: 620px) {
  :root { --header-h: 72px; }
  .headline { font-size: clamp(2rem, 9vw, 2.6rem); }
  .artist-orb { width: clamp(78px, 26vw, 110px); }

  .stats { min-height: auto; padding: 72px 0; }
  .stats-inner { gap: 40px; }
  .stats-metrics { flex-direction: column; gap: 64px; }
  .stat-metric { max-width: none; }
  .stat-metric--spotify { margin-top: 0; }
  .stat-metric-number { font-size: clamp(3.625rem, 15vw, 4.5rem); }
  .stat-metric-linebreak { display: inline; }

  .for-artists { padding: 72px 0 80px; }
  .physical-item--vinyl { width: 192px; }
  .physical-item--cassette { width: 170px; top: 78px; }
  .physical-item--cd { width: 136px; }

  .site-footer { padding-top: 56px; }
  .footer-cols { flex-direction: column; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }

  .artist-grid { gap: 40px; }
  .artist-item { flex-basis: 100%; max-width: 420px; }

  .releases-controls { flex-wrap: wrap; }
  .featured-release-inner { flex-direction: column; align-items: flex-start; }
  .featured-release-art { width: 100%; max-width: 360px; }
  .highlighted-releases {
    gap: 24px;
  }
  .highlighted-releases > .release-box {
    flex: 0 1 360px;
    width: 100%;
    max-width: 360px;
  }
  .tracks-window { grid-template-columns: repeat(2, 1fr); gap: 20px 16px; }

  .plus-perks { grid-template-columns: 1fr; }
  .plus-tiers { grid-template-columns: 1fr; }
  .plus-tiers-head { flex-direction: column; align-items: flex-start; }
  .plus-tooltip-bubble {
    left: auto;
    right: -8px;
    width: min(240px, calc(100vw - 56px));
    transform: translateY(4px);
  }
  .plus-info:hover .plus-tooltip-bubble,
  .plus-info:focus-visible .plus-tooltip-bubble,
  .plus-info.is-open .plus-tooltip-bubble { transform: translateY(0); }

  .plus-waitlist-dialog {
    width: 100%;
    max-height: calc(100dvh - 16px);
    margin: auto 0 0;
    border-radius: 26px 26px 0 0;
    transform: translateY(28px) scale(0.99);
  }
  .plus-waitlist-dialog.is-open { transform: translateY(0) scale(1); }
  .plus-waitlist-shell {
    max-height: calc(100dvh - 16px);
    padding: 28px 20px calc(24px + env(safe-area-inset-bottom));
  }
  .plus-waitlist-header { padding-right: 38px; margin-bottom: 24px; }
  .plus-waitlist-close { top: 14px; right: 14px; }
}

/* ---------- 19. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-header, .headline, .artist-orb, .scroll-cue,
  .stats-heading, .stats-sub, .stat-metric, .stat-metric-number,
  .fa-title, .fa-sub, .fa-card, .fa-card-lift, .fa-card-title,
  .physical-item, .portal-window, .browser-window {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
  /* these two rest at a non-identity transform even outside any animation
     (translate(-50%, 0) for centering, plus the --tx/--ty scatter offset) —
     forcing transform:none like the rule above would collapse them, not
     just stop them animating */
  .compartment-source {
    opacity: 1 !important;
    transform: translate(-50%, 0) scale(1) !important;
    transition: none !important;
  }
  .platform-icon {
    opacity: 1 !important;
    transform: translate(-50%, 0) translate(var(--tx), var(--ty)) !important;
    transition: none !important;
  }
  .scroll-cue svg { animation: none !important; }
  .hl-control .strike path { stroke-dashoffset: 0 !important; transition: none !important; }
  .stats-graph-line { stroke-dashoffset: 0 !important; transition: none !important; }
  .stats-liquid, .fa-field, .artists-ambient { display: none !important; }
  .platform-icon i { animation: none !important; }
  .compartment-line, #websitesLinkPath { stroke-dashoffset: 0 !important; transition: none !important; }
  #websitesLinkPath { animation: none !important; }

  /* artists page: entrance + image load-in states resolve immediately —
     content is already there either way (js/artists-page.js also skips
     the waveform/tilt/pointer rAF work outright under reduced motion) */
  .artists-heading, .artist-item, .artist-item-art img {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  /* releases page: no fade-in on the tiles/heading, no hover lift/zoom —
     content is already there regardless */
  .releases-page-heading, .release-box, .featured-release-art,
  .release-art, .release-art img {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  .releases-loading { animation: none !important; opacity: 0.6 !important; }

  /* plus page: reveal everything immediately and remove decorative motion */
  .plus-heading, .plus-heading-letter, .plus-heading-sweep, .plus-sub,
  .plus-perk, .plus-tiers-head, .plus-tier, .plus-tier-list li,
  .plus-tier-cta, .plus-billing-toggle, .plus-item-icon {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  .plus-billing-thumb { transition: none !important; }
  .plus-tooltip-bubble { transition: none !important; }
  .plus-heading-sweep { display: none !important; }
  .plus-tier-cta::before,
  .plus-perk::before,
  .plus-tier::before { display: none !important; transition: none !important; animation: none !important; }
  .plus-waitlist-dialog,
  .plus-waitlist-close,
  .plus-waitlist-field input,
  .plus-waitlist-submit,
  .plus-waitlist-done,
  .plus-waitlist-success-icon {
    filter: none !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  .plus-waitlist-dialog::backdrop { transition: none !important; }

  * { transition-duration: 0.001ms !important; }
}
