/* ONSITE OS -- onsiterecord.com */

:root {
  /* Base — depths */
  --bg-deep: #030303;
  --bg-void: #080A0B;
  --panel: #111315;
  --panel-soft: #171A1D;
  --line: rgba(255,255,255,0.08);
  --text-main: #E6ECEC;
  --text-muted: #8B9498;

  /* OnSite brand — protagonist */
  --onsite-red: #B80812;
  --onsite-red-deep: #6F050A;
  --onsite-red-glow: rgba(184, 8, 18, 0.28);

  /* Digital signal */
  --signal-cyan: #00D4FF;
  --cyan-soft: #6EEBFF;
  --cyan-glow: rgba(0, 212, 255, 0.22);

  /* Tony · Miami Noir */
  --tony-cyan: #00D4FF;
  --tony-violet: #B66CFF;
  --tony-night: #061216;

  /* Rik · Desert Noir */
  --rik-gold: #C89B2C;
  --rik-dust: #A98A63;
  --rik-shadow: #2A1D10;

  /* Emilia · future */
  --emilia-pearl: #F4EDE2;
  --emilia-rose: #E7A9B5;
  --emilia-sky: #BFD7EA;

  /* Editorial paper-warm (Phase 1: marquee + newswire only) */
  --paper: #F5F0E8;
  --paper-muted: #9A9A93;

  /* Legacy bridges (preservar clases existentes durante migración) */
  --black: var(--bg-deep);
  --dark: #111111;
  --card: #161616;
  --border: #222222;
  --text: var(--text-main);
  --accent: var(--signal-cyan);
  --accent-glow: var(--cyan-glow);
  --magenta: #ff2d7b;
  --gold: var(--rik-gold);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* --- NAV --- */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--paper);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav-links a:hover { color: var(--text); }

/* MOBILE NAV TOGGLE (hamburger) */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  z-index: 210;
}

.nav-toggle-bar {
  width: 22px;
  height: 1.5px;
  background: var(--text-main);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* MOBILE DRAWER */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background: rgba(8, 10, 11, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.35s;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
}

.mobile-drawer[aria-hidden="false"] {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s;
}

.mobile-drawer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.mobile-drawer-links li {
  margin: 1.4rem 0;
}

.mobile-drawer-links a {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-main);
  text-decoration: none;
  padding: 0.5rem 1rem;
  display: inline-block;
  border-bottom: 1px solid transparent;
  transition: color 0.3s, border-color 0.3s;
}

.mobile-drawer-links a:hover,
.mobile-drawer-links a:focus {
  color: var(--onsite-red);
  border-bottom-color: var(--onsite-red);
}

/* --- HERO --- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 50% 30%, var(--accent-glow) 0%, transparent 60%);
  pointer-events: none;
}

.hero-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--signal-cyan);
  margin-bottom: 1.5rem;
  opacity: 0.7;
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--accent), var(--magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 3rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s, background 0.3s, color 0.3s;
}

.hero-cta-primary {
  background: var(--accent);
  color: var(--black);
  border: 1px solid var(--accent);
}

.hero-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

.hero-cta-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.hero-cta-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* Release page → Atlas pin link (editorial badge) */
.release-atlas-pin {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.5rem;
  padding: 0.55rem 0.95rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper-muted);
  text-decoration: none;
  border: 1px solid var(--border);
  background: rgba(245, 240, 232, 0.025);
  transition: color 0.25s, border-color 0.25s, background 0.25s, transform 0.2s;
}

.release-atlas-pin .pin-tri {
  color: var(--onsite-red);
  font-style: normal;
  line-height: 1;
}

.release-atlas-pin:hover {
  color: var(--paper);
  border-color: var(--onsite-red);
  background: rgba(184, 8, 18, 0.06);
  transform: translateY(-1px);
}

.release-atlas-pin .pin-arrow {
  margin-left: 0.4em;
  color: var(--onsite-red);
}

/* --- SECTION --- */
.section {
  padding: 5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

/* Brand-voice sections — OnSite red (only Atlas as brand spine) */
#atlas .section-label {
  color: var(--onsite-red);
}

.section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section p {
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 2rem;
}

/* --- ARTIST CARD --- */
.artist-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s;
}

.artist-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--border);
  transition: background 0.4s;
}

.artist-card-cyan::before { background: var(--accent); }
.artist-card-gold::before { background: var(--gold); }

.artist-card-cyan:hover { border-color: rgba(0, 212, 255, 0.3); }
.artist-card-gold:hover { border-color: rgba(212, 160, 23, 0.3); }

.artist-img {
  width: 100%;
  aspect-ratio: 1;
  background: var(--dark);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

/* HOME EXPERIENCE v1.1 · Phase B — artist cinematic loop fill.
   Video sits between the painted background (z:auto) and the chips/grid (z:2-3).
   If video fails to load, the painted gradient + the poster from <video poster>
   provide a triple fallback. */
.artist-img-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  background: var(--dark);
}

/* Framing pass v1 — per-artist object-position kept as documentation of intent
   (no pixel effect on exact 1:1 video in 1:1 container, but future-proofs the
   layout if the container aspect ever changes, e.g. mobile masters). */
.artist-img-video[data-artist="tony"] {
  object-position: center 38%;
}
.artist-img-video[data-artist="rik"] {
  object-position: center 35%;
}

/* Framing pass v3 (was v2: 8% home / 11% mobile / 3% hero — Marcus reviewed
   live in production and confirmed face still felt too close, especially
   when watching on real phone hardware vs DevTools simulation). Bumped to
   12% desktop / 15% mobile on home cards, 5% on hero visual. The painted
   brand gradient (city lights for Tony, dust grain for Rik) reads as a
   stronger cinematic matte frame around the loop. Chips sit in the matte
   band like editorial labels. */
.artist-img > .artist-img-video {
  inset: 12%;
  width: auto;
  height: auto;
}

/* Mobile bumps the matte further because cards are smaller and the face
   visually feels closer at small viewports. */
@media (max-width: 768px) {
  .artist-img > .artist-img-video {
    inset: 15%;
  }
}

/* Hero visual on artist pages is already a larger container (max 520px) so
   the face reads at appropriate scale. Slight bump from 3% to 5% to keep
   brand-matte continuity with the more generous home card framing. */
.artist-hero-visual > .artist-img-video {
  inset: 5%;
  width: auto;
  height: auto;
}

/* Grid overlay (::after) sits ABOVE the video so the texture reads on top. */
.artist-img::after {
  z-index: 2;
}

/* Brand chips sit ABOVE the grid + video so they remain legible. */
.artist-img-coord,
.artist-world-tag {
  z-index: 3;
}

/* Artist page hero visual — constrained square block above text hero.
   Reuses the same chips (.artist-img-coord, .artist-world-tag) for brand
   continuity between home cards and artist page heroes. */
.artist-hero-visual {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1;
  margin: 0 auto 2.5rem;
  background: var(--dark);
  border: 1px solid var(--border);
  overflow: hidden;
}

.artist-hero-visual .artist-img-video {
  z-index: 1;
}

.artist-hero-visual .artist-img-coord,
.artist-hero-visual .artist-world-tag {
  z-index: 3;
}

/* Reduced-motion: keep video element rendered (so poster shows) but the JS
   hook in each page removes the autoplay attribute and pauses the element. */
@media (prefers-reduced-motion: reduce) {
  .artist-img-video {
    /* Pause is enforced by JS; CSS keeps the poster visible. */
  }
}

.artist-card-cyan .artist-img {
  background:
    /* city lights distantes bottom edge */
    radial-gradient(ellipse 50% 30% at 18% 100%, rgba(0, 212, 255, 0.16) 0%, transparent 60%),
    radial-gradient(ellipse 40% 25% at 82% 100%, rgba(182, 108, 255, 0.12) 0%, transparent 60%),
    /* wet asphalt sheen at 12° */
    linear-gradient(
      102deg,
      transparent 0%,
      rgba(0, 212, 255, 0.06) 25%,
      transparent 45%,
      rgba(182, 108, 255, 0.07) 60%,
      transparent 80%
    ),
    /* glass haze horizontal band */
    linear-gradient(
      180deg,
      transparent 0%,
      transparent 38%,
      rgba(255, 255, 255, 0.025) 42%,
      transparent 48%,
      transparent 100%
    ),
    /* vignette */
    radial-gradient(ellipse at center, transparent 35%, rgba(0, 0, 0, 0.55) 100%),
    /* base — Tony night */
    linear-gradient(155deg, var(--tony-night) 0%, #050a0d 100%);
}

.artist-card-gold .artist-img {
  background:
    /* SVG dust/grain noise overlay */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.78  0 0 0 0 0.6  0 0 0 0 0.32  0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.42'/%3E%3C/svg%3E"),
    /* horizontal road bands */
    repeating-linear-gradient(
      178deg,
      transparent 0px,
      transparent 28px,
      rgba(200, 155, 44, 0.035) 28px,
      rgba(200, 155, 44, 0.035) 29px
    ),
    /* sun-bleached top → cool bottom */
    linear-gradient(
      180deg,
      rgba(200, 155, 44, 0.18) 0%,
      rgba(169, 138, 99, 0.08) 35%,
      transparent 60%,
      rgba(42, 29, 16, 0.4) 100%
    ),
    /* base — Rik shadow */
    linear-gradient(160deg, #1a140e 0%, var(--rik-shadow) 100%);
  background-size: 220px 220px, auto, auto, auto;
}

.artist-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

/* Rik no usa grid — el grain SVG es la textura */
.artist-card-gold .artist-img::after {
  background-image: none;
}

.artist-img-display {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  text-align: center;
  padding: 0 1rem;
}

.display-first {
  font-family: var(--font);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: var(--text);
}

.display-last {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-weight: 500;
}

.artist-card-cyan .display-last { color: var(--accent); }
.artist-card-gold .display-last { color: var(--gold); }

/* QW2 — Tony neon glow (sutil, no cyberpunk) */
.artist-card-cyan .display-first {
  font-style: italic;
  font-weight: 600;
  text-shadow:
    0 0 14px rgba(0, 212, 255, 0.35),
    0 0 28px rgba(0, 212, 255, 0.15),
    0 0 6px rgba(182, 108, 255, 0.25);
}

.artist-card-cyan .display-last {
  text-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
}

/* QW5 — Rik weathered (letterpress / highway sign) */
.artist-card-gold .display-first {
  letter-spacing: -0.01em;
  font-weight: 700;
  color: #E8DAB4;
  text-shadow:
    0 1px 0 rgba(42, 29, 16, 0.6),
    0 2px 6px rgba(42, 29, 16, 0.35),
    0 0 1px rgba(200, 155, 44, 0.4);
  filter: brightness(0.95) saturate(0.85);
}

.artist-card-gold .display-last {
  letter-spacing: 0.5em;
  opacity: 0.78;
  text-shadow: 0 1px 0 rgba(42, 29, 16, 0.5);
}

.artist-img-coord {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--border);
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(4px);
}

.artist-world-tag {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--border);
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(4px);
}

.artist-card-cyan .artist-world-tag {
  color: var(--accent);
  border-color: rgba(0, 212, 255, 0.25);
}

.artist-card-gold .artist-world-tag {
  color: var(--gold);
  border-color: rgba(212, 160, 23, 0.3);
}

.artist-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.artist-tagline {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-style: italic;
  letter-spacing: 0.01em;
  margin-bottom: 1rem;
  line-height: 1.4;
  max-width: 100%;
}

.artist-card-cyan .artist-tagline { color: var(--accent); }
.artist-card-gold .artist-tagline { color: var(--gold); }

.artist-info h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.artist-genre {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.artist-card-cyan .artist-genre { color: var(--accent); }
.artist-card-gold .artist-genre { color: var(--gold); }

.artist-bio {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.artist-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.meta-item {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.meta-item strong {
  color: var(--text);
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.artist-links {
  display: flex;
  gap: 1rem;
}

.artist-link {
  padding: 0.5rem 1.2rem;
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: border-color 0.3s, color 0.3s;
}

.artist-link:hover {
  border-color: var(--paper);
  color: var(--paper);
}

.artist-card-cyan .artist-link:hover { border-color: var(--signal-cyan); color: var(--signal-cyan); }
.artist-card-gold .artist-link:hover { border-color: var(--rik-gold); color: var(--rik-gold); }

.artist-profile-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  transition: color 0.3s, letter-spacing 0.3s;
}

.artist-card-cyan .artist-profile-link:hover { color: var(--signal-cyan); letter-spacing: 0.25em; }
.artist-card-gold .artist-profile-link:hover { color: var(--rik-gold); letter-spacing: 0.25em; }

/* --- RELEASES --- */
.release-group {
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.release-group-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.release-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.release-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 1.75rem;
  text-decoration: none;
  color: var(--text);
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s, transform 0.35s ease-out, box-shadow 0.35s ease-out;
  display: flex;
  flex-direction: column;
}

/* Home + Atlas v1.2 polish — release card hover lift (desktop only via
   hover:hover query so touch devices don't get the sticky-hover state).
   Adds vertical bump + brand-tinted shadow, color-matched per card variant. */
@media (hover: hover) {
  .release-card:hover {
    transform: translateY(-4px);
  }
  .release-card-cyan:hover {
    box-shadow: 0 12px 28px rgba(0, 212, 255, 0.10), 0 4px 10px rgba(0, 0, 0, 0.35);
  }
  .release-card-gold:hover {
    box-shadow: 0 12px 28px rgba(212, 160, 23, 0.10), 0 4px 10px rgba(0, 0, 0, 0.35);
  }
  .release-card-red:hover {
    box-shadow: 0 12px 28px rgba(184, 8, 18, 0.12), 0 4px 10px rgba(0, 0, 0, 0.35);
  }
}

@media (prefers-reduced-motion: reduce) {
  .release-card {
    transition: border-color 0.4s;
  }
  .release-card:hover {
    transform: none;
    box-shadow: none;
  }
}

.release-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--border);
  transition: background 0.4s;
}

.release-card-cyan::before { background: var(--accent); }
.release-card-gold::before { background: var(--gold); }
.release-card-red::before { background: var(--onsite-red); }

.release-card-cyan:hover { border-color: rgba(0, 212, 255, 0.35); }
.release-card-gold:hover { border-color: rgba(212, 160, 23, 0.35); }
.release-card-red:hover { border-color: rgba(184, 8, 18, 0.35); }

.spotify-embed {
  display: block;
  width: 100%;
  height: 80px;
  border: none;
  border-radius: 8px;
  margin-top: 1rem;
  margin-bottom: 0.75rem;
  background: rgba(0, 0, 0, 0.2);
}

.release-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.release-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
}

.release-status-pill {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border: 1px solid;
}

.release-status-pill.status-live {
  color: var(--text-main);
  border-color: var(--line);
  background: rgba(230, 236, 236, 0.06);
  opacity: 0.9;
}

.release-status-pill.status-wip {
  color: var(--gold);
  border-color: rgba(212, 160, 23, 0.3);
}

.release-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
  line-height: 1.15;
}

.release-artist {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  opacity: 0.85;
}

.release-card-cyan .release-artist { color: var(--accent); }
.release-card-gold .release-artist { color: var(--gold); }
.release-card-red .release-artist { color: var(--onsite-red); }

.release-meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.release-meta-subtle {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
  margin: 0;
}

.release-link {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
  transition: color 0.3s, opacity 0.3s;
}

.release-link:hover { opacity: 0.7; }

.release-card-cyan .release-link { color: var(--accent); }
.release-card-gold .release-link { color: var(--gold); }
.release-card-red .release-link { color: var(--onsite-red); }

.release-card-next {
  max-width: 100%;
}

.ep-title {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.ep-subtitle {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 600px;
}

/* --- TRACKLIST --- */
.tracklist {
  margin-top: 3rem;
}

.tracklist h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.track {
  display: grid;
  grid-template-columns: 2rem 1fr auto auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.track:last-child { border-bottom: none; }

.track-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.track-title {
  font-weight: 600;
}

.track-key {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.track-bpm {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.track-status {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
}

.track-feat {
  font-family: var(--font-mono);
  font-size: 0.7em;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-left: 0.4em;
  opacity: 0.85;
}

/* RELEASE PAGE — subtitle feat */
.release-feat-sub {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: -0.5rem;
  margin-bottom: 1.5rem;
}

/* RELEASE PAGE — large player embed */
.release-player-embed {
  display: block;
  width: 100%;
  height: 152px;
  border: none;
  border-radius: 12px;
  margin-top: 1rem;
  background: rgba(0, 0, 0, 0.2);
}

/* RELEASE PAGE — identifiers grid */
.release-id-grid {
  background: var(--card);
  border: 1px solid var(--border);
  margin-top: 1rem;
}

.release-id-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  padding: 0.9rem 1.5rem;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.release-id-row:last-child { border-bottom: none; }

.release-id-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.release-id-value {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-main);
}

@media (max-width: 768px) {
  .release-id-row { grid-template-columns: 100px 1fr; padding: 0.7rem 1rem; }
  .release-id-value { font-size: 0.75rem; }
}

.status-live {
  color: var(--text-main);
  border: 1px solid var(--line);
  background: rgba(230, 236, 236, 0.06);
  opacity: 0.9;
}

.status-wip {
  color: var(--gold);
  border: 1px solid rgba(212, 160, 23, 0.3);
}

.status-pending {
  color: var(--text-muted);
  border: 1px solid var(--border);
}

/* --- SYNC SECTION --- */
.sync-box {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 2.5rem;
  text-align: center;
  margin-top: 2rem;
}

.sync-box h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.sync-box p {
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 1.5rem;
}

.sync-email {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--onsite-red);
}

/* --- SYNC PORTAL --- */
.sync-table-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 1.5rem;
  margin-top: 1rem;
  overflow-x: auto;
}

.sync-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  min-width: 760px;
}

.sync-table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper);
  font-weight: 500;
  padding: 0.75rem 0.75rem 0.75rem 0;
  border-bottom: 1px solid var(--onsite-red);
  vertical-align: bottom;
  opacity: 0.85;
}

.sync-table td {
  padding: 1rem 0.75rem 1rem 0;
  border-bottom: 1px solid #1a1a1a;
  color: var(--text);
  vertical-align: top;
}

.sync-table tr:last-child td { border-bottom: none; }
.sync-table td strong { color: var(--text); font-weight: 600; }
.sync-table td.mono { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); }
.sync-table td.needs-conf {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gold);
  font-style: italic;
  opacity: 0.85;
}

.mood-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  margin: 0.15rem 0.2rem 0.15rem 0;
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: rgba(245, 240, 232, 0.025);
}

.sync-listen {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--onsite-red);
  text-decoration: none;
  display: inline-block;
  width: 24px;
  height: 24px;
  text-align: center;
  line-height: 24px;
  border: 1px solid var(--border);
  transition: border-color 0.3s, color 0.3s;
}

.sync-listen:hover {
  border-color: var(--onsite-red);
}

.sync-clearance {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1.25rem;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 2px solid var(--onsite-red);
  opacity: 0.85;
}

/* License form (collapsible) */
.license-details {
  background: var(--card);
  border: 1px solid var(--border);
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.license-details[open] {
  border-color: var(--onsite-red-glow);
}

.license-toggle {
  cursor: pointer;
  padding: 1rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--onsite-red);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: background 0.3s;
}

.license-toggle::-webkit-details-marker { display: none; }

.license-toggle::after {
  content: '+';
  font-size: 1.2rem;
  font-weight: 400;
  transition: transform 0.3s;
}

.license-details[open] .license-toggle::after {
  content: '×';
  transform: rotate(0deg);
}

.license-toggle:hover { background: rgba(184, 8, 18, 0.06); }

.license-form {
  padding: 0 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row { display: flex; flex-direction: column; gap: 0.4rem; }

.form-row-split {
  flex-direction: row;
  gap: 1rem;
}

.form-row-split > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.license-form label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.license-form .req { color: var(--onsite-red); }

.license-form input,
.license-form select,
.license-form textarea {
  background: var(--dark);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.9rem;
  padding: 0.7rem 0.85rem;
  transition: border-color 0.3s, background 0.3s;
}

.license-form textarea {
  font-family: var(--font);
  resize: vertical;
  min-height: 80px;
}

.license-form input:focus,
.license-form select:focus,
.license-form textarea:focus {
  border-color: var(--onsite-red);
  background: rgba(184, 8, 18, 0.04);
  outline: none;
}

.license-form button[type="submit"] {
  align-self: flex-start;
  padding: 0.85rem 1.75rem;
  background: var(--onsite-red);
  color: var(--text-main);
  border: none;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s, opacity 0.3s;
  margin-top: 0.5rem;
}

.license-form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--onsite-red-glow);
}

.license-form button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.license-message {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--paper);
  min-height: 1rem;
}

.sync-email-fallback {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.sync-email-fallback a {
  font-family: var(--font-mono);
  color: var(--onsite-red);
  text-decoration: none;
  border-bottom: 1px solid rgba(184, 8, 18, 0.2);
}

.sync-email-fallback a:hover { border-bottom-color: var(--onsite-red); }

/* --- SUBSCRIBE / NEWSLETTER --- */
.subscribe-box {
  background:
    radial-gradient(ellipse at 0% 0%, rgba(184, 8, 18, 0.05) 0%, transparent 60%),
    var(--card);
  border: 1px solid var(--border);
  padding: 3rem 2.5rem;
  text-align: center;
  margin-top: 2rem;
}

.subscribe-box h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.subscribe-box > p {
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 1.5rem;
  font-size: 0.95rem;
}

.subscribe-form {
  display: flex;
  gap: 0.5rem;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.subscribe-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 0.85rem 1rem;
  background: var(--dark);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.9rem;
  transition: border-color 0.3s, background 0.3s;
}

.subscribe-form input[type="email"]::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

.subscribe-form input[type="email"]:focus {
  border-color: var(--onsite-red);
  background: rgba(184, 8, 18, 0.04);
  outline: none;
}

.subscribe-form button {
  padding: 0.85rem 1.5rem;
  background: var(--onsite-red);
  color: var(--text-main);
  border: none;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s, opacity 0.3s;
}

.subscribe-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--onsite-red-glow);
}

.subscribe-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.subscribe-message {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--paper);
  margin-top: 1rem;
  min-height: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- FOOTER --- */
.footer {
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid var(--border);
}

/* Expanded footer (home only — corporate site map) */
.footer-expanded { padding: 0; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem 3rem;
  text-align: left;
}

.footer-col-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--onsite-red);
  margin-bottom: 1.25rem;
  opacity: 0.9;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin: 0.5rem 0;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s, border-bottom-color 0.3s;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}

.footer-col a:hover {
  color: var(--signal-cyan);
  border-bottom-color: var(--signal-cyan);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
}

.footer-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-copy a {
  color: var(--text-muted);
  text-decoration: none;
}

/* --- BRAND MARQUEE (editorial transition) --- */
.brand-marquee {
  position: relative;
  padding: 6rem 2rem 3rem;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.brand-marquee-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}

.brand-marquee-triangle {
  position: absolute;
  top: 50%;
  right: -3rem;
  transform: translateY(-50%);
  width: 360px;
  height: 360px;
  opacity: 0.09;
  z-index: 1;
  pointer-events: none;
}

.brand-marquee-triangle svg {
  width: 100%;
  height: 100%;
  display: block;
}

.brand-marquee-meta {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--paper-muted);
  margin: 0 0 1.5rem;
}

.brand-marquee-meta .tri {
  color: var(--onsite-red);
  margin: 0 0.5em;
  font-style: normal;
}

.brand-tagline {
  font-size: clamp(2rem, 5.5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--paper);
  margin: 0 0 1rem;
  max-width: 680px;
}

.brand-tagline span {
  color: var(--onsite-red);
  font-style: italic;
  font-weight: 700;
}

.brand-subline {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--paper-muted);
  margin: 0;
  max-width: 580px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  /* Phase 1A: compaction — vertical rhythm tighter so hero CTAs surface in first viewport. */
  .brand-marquee { padding: 3rem 1.25rem 1.5rem; }
  .brand-marquee-triangle { right: -4rem; width: 220px; height: 220px; opacity: 0.05; }
  .brand-marquee-meta { font-size: 0.58rem; margin: 0 0 0.85rem; }
  .brand-tagline { font-size: clamp(1.55rem, 5.5vw, 2.4rem); margin: 0 0 0.65rem; }
  .brand-subline { font-size: 0.72rem; line-height: 1.5; }
}

/* --- ABOUT ONSITE STUDIOS (editorial manifesto) --- */
.about-onsite {
  position: relative;
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 6rem 2rem 5.5rem;
  overflow: hidden;
}

.about-onsite-bg {
  position: absolute;
  top: 50%;
  left: -4rem;
  transform: translateY(-50%);
  width: 320px;
  height: 320px;
  opacity: 0.06;
  z-index: 1;
  pointer-events: none;
}

.about-onsite-bg svg {
  width: 100%;
  height: 100%;
  display: block;
  transform: rotate(180deg);
}

.about-onsite-inner {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
  text-align: left;
}

#about-onsite .section-label {
  color: var(--onsite-red);
  margin-bottom: 1.75rem;
}

.about-headline {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--paper);
  margin: 0 0 2.5rem;
  max-width: 16em;
}

.about-headline span {
  color: var(--onsite-red);
  font-style: italic;
  font-weight: 700;
}

.about-statement {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.55;
  color: var(--paper);
  margin: 0 0 2.25rem;
  max-width: 36em;
  font-weight: 400;
  letter-spacing: -0.005em;
}

.about-statement strong {
  color: var(--onsite-red);
  font-weight: 700;
  font-style: italic;
}

.about-mantra {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--paper);
  margin: 0 0 2.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  max-width: none;
}

.about-mantra .mantra-tri {
  color: var(--onsite-red);
}

.about-ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.about-cta-primary,
.about-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s, background 0.3s, color 0.3s, border-color 0.3s;
}

.about-cta-primary {
  background: var(--onsite-red);
  color: var(--paper);
  border: 1px solid var(--onsite-red);
}

.about-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--onsite-red-glow);
}

.about-cta-secondary {
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--line);
}

.about-cta-secondary:hover {
  border-color: var(--paper);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .about-onsite { padding: 4rem 1.5rem 3.5rem; }
  .about-onsite-bg { width: 200px; height: 200px; left: -3rem; opacity: 0.04; }
  .about-statement { font-size: 1.05rem; line-height: 1.55; }
  .about-mantra { font-size: 0.65rem; letter-spacing: 0.22em; gap: 0.4rem; padding: 1.25rem 0; }
  .about-ctas { flex-direction: column; align-items: stretch; }
  .about-cta-primary, .about-cta-secondary { justify-content: center; }
}

/* --- THE NEWSWIRE (editorial newswire) --- */
.newswire-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.newswire-entry {
  position: relative;
  padding: 2.5rem 2rem 2.25rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.4s;
}

.newswire-entry:last-child {
  border-right: none;
}

.newswire-entry::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--border);
  transition: background 0.4s;
}

.newswire-cyan::before { background: var(--signal-cyan); }
.newswire-gold::before { background: var(--rik-gold); }

.newswire-entry:hover {
  background: rgba(245, 240, 232, 0.025);
}

.newswire-meta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

.newswire-meta .tri {
  color: var(--onsite-red);
  margin: 0 0.5em;
  font-style: normal;
}

.newswire-title {
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--paper);
  margin: 0 0 1.5rem;
}

.newswire-snippet {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 2rem;
  max-width: 28em;
}

.newswire-cta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--onsite-red);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.2em;
  display: inline-block;
  transition: border-color 0.3s, letter-spacing 0.3s;
}

.newswire-cta:hover {
  border-color: var(--onsite-red);
  letter-spacing: 0.25em;
}

@media (max-width: 768px) {
  .newswire-grid {
    grid-template-columns: 1fr;
  }
  .newswire-entry {
    border-right: none;
    padding: 2rem 1.5rem 1.75rem;
  }
}

/* --- FEATURED CAROUSEL --- */
.featured-carousel {
  position: relative;
  width: 100%;
  background: var(--bg-deep);
  overflow: hidden;
}

.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar { display: none; }

.carousel-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  position: relative;
  height: 70vh;
  min-height: 520px;
  max-height: 720px;
  overflow: hidden;
}

.carousel-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.78) saturate(1.05);
}

.carousel-poster {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.carousel-poster-cyan {
  background:
    radial-gradient(ellipse 60% 50% at 30% 30%, rgba(0,212,255,0.22), transparent 60%),
    radial-gradient(ellipse 50% 40% at 75% 75%, rgba(255,45,123,0.10), transparent 60%),
    linear-gradient(135deg, var(--tony-night) 0%, var(--bg-deep) 100%);
}

.carousel-poster-gold {
  background:
    radial-gradient(ellipse 60% 50% at 30% 30%, rgba(200,155,44,0.30), transparent 60%),
    radial-gradient(ellipse 50% 40% at 75% 75%, rgba(169,138,99,0.15), transparent 60%),
    linear-gradient(135deg, var(--rik-shadow) 0%, var(--bg-deep) 100%);
}

.poster-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  padding: 0.35rem 1rem;
  border: 1px solid;
}

.carousel-poster-cyan .poster-tag {
  color: var(--signal-cyan);
  border-color: rgba(0,212,255,0.35);
}

.carousel-poster-gold .poster-tag {
  color: var(--rik-gold);
  border-color: rgba(200,155,44,0.40);
}

.poster-title {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: rgba(230,236,236,0.92);
  margin: 0;
}

.poster-feat {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-top: 0.75rem;
  margin-bottom: 0;
}

/* --- v4 PROMOTIONAL HERO SLIDER — editorial poster placeholders --- */
.hero-poster {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
}

.hero-poster::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,240,232,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,240,232,0.018) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.hero-poster-cyan {
  background:
    radial-gradient(ellipse 60% 50% at 28% 32%, rgba(0,212,255,0.20), transparent 65%),
    radial-gradient(ellipse 50% 40% at 78% 78%, rgba(182,108,255,0.10), transparent 60%),
    linear-gradient(140deg, var(--tony-night) 0%, #050a0d 60%, var(--bg-deep) 100%);
}

.hero-poster-gold {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.78  0 0 0 0 0.6  0 0 0 0 0.32  0 0 0 0.45 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.32'/%3E%3C/svg%3E"),
    linear-gradient(180deg, rgba(200,155,44,0.18) 0%, rgba(169,138,99,0.06) 40%, transparent 65%, rgba(42,29,16,0.5) 100%),
    linear-gradient(160deg, #1a140e 0%, var(--rik-shadow) 100%);
  background-size: 220px 220px, auto, auto;
}

.hero-poster-brand {
  background:
    radial-gradient(ellipse 70% 50% at 50% 25%, rgba(184,8,18,0.18), transparent 65%),
    radial-gradient(ellipse 40% 30% at 50% 100%, rgba(184,8,18,0.10), transparent 60%),
    linear-gradient(180deg, var(--bg-deep) 0%, #0a0a0a 100%);
}

/* Photo-led slide modifier (slide 1: White Lines VEVO still) */
.hero-poster-photo {
  background: var(--bg-deep);
}

.hero-poster-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  filter: brightness(0.74) saturate(1.08) contrast(1.04);
  z-index: 0;
}

.hero-poster-photo::after {
  background-image:
    linear-gradient(rgba(245,240,232,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,240,232,0.018) 1px, transparent 1px);
  background-size: 36px 36px;
  z-index: 1;
}

.hero-poster-photo .poster-issue,
.hero-poster-photo .poster-coord,
.hero-poster-photo .poster-world,
.hero-poster-photo .poster-tri,
.hero-poster-photo .poster-tagline-mark {
  z-index: 2;
}

/* Photo-slide marker readability — backdrop + border against bokeh */
.hero-poster-photo .poster-coord {
  color: var(--paper);
  opacity: 0.95;
  padding: 0.32rem 0.65rem;
  background: rgba(8, 10, 11, 0.62);
  border: 1px solid rgba(245, 240, 232, 0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.poster-issue {
  position: absolute;
  top: 1.75rem;
  left: 1.75rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0.72;
  z-index: 2;
}

.poster-coord {
  position: absolute;
  top: 1.85rem;
  right: 1.75rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--paper-muted);
  opacity: 0.65;
  z-index: 2;
}

.poster-world {
  position: absolute;
  top: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0.7;
  padding: 0.3rem 0.85rem;
  border: 1px solid rgba(245, 240, 232, 0.18);
  background: rgba(8, 10, 11, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2;
  white-space: nowrap;
}

.poster-display {
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  font-family: var(--font);
  font-size: clamp(3rem, 11vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.88;
  text-align: center;
  color: rgba(245, 240, 232, 0.78);
  z-index: 1;
  pointer-events: none;
}

.hero-poster-cyan .poster-display {
  font-style: italic;
  font-weight: 600;
  text-shadow:
    0 0 28px rgba(0, 212, 255, 0.22),
    0 0 56px rgba(0, 212, 255, 0.10),
    0 0 8px rgba(182, 108, 255, 0.18);
}

.hero-poster-gold .poster-display {
  font-style: normal;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #E8DAB4;
  font-weight: 700;
  text-shadow:
    0 1px 0 rgba(42, 29, 16, 0.7),
    0 2px 10px rgba(42, 29, 16, 0.45),
    0 0 1px rgba(200, 155, 44, 0.4);
  filter: brightness(0.96) saturate(0.88);
}

.hero-poster-brand .poster-display {
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--paper);
  font-size: clamp(2.5rem, 10vw, 6.5rem);
}

.poster-tri {
  position: absolute;
  bottom: 8rem;
  left: 1.85rem;
  font-size: 1.15rem;
  color: var(--onsite-red);
  z-index: 2;
  line-height: 1;
}

.poster-tagline-mark {
  position: absolute;
  bottom: 8rem;
  right: 1.85rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--onsite-red);
  opacity: 0.85;
  z-index: 2;
}

/* Eyebrow color per hero slide */
.hero-slide-cyan .carousel-eyebrow { color: var(--signal-cyan); }
.hero-slide-gold .carousel-eyebrow { color: var(--rik-gold); }
.hero-slide-brand .carousel-eyebrow { color: var(--onsite-red); }

@media (max-width: 768px) {
  .poster-issue { top: 1.25rem; left: 1.25rem; font-size: 0.62rem; }
  .poster-coord { top: 1.35rem; right: 1.25rem; font-size: 0.56rem; }
  .poster-world { top: 1.1rem; font-size: 0.55rem; padding: 0.25rem 0.7rem; letter-spacing: 0.32em; }
  .poster-display { font-size: clamp(2.8rem, 16vw, 4.5rem); }
  .hero-poster-brand .poster-display { font-size: clamp(2rem, 12vw, 3.6rem); }
  .poster-tri, .poster-tagline-mark { bottom: 11rem; }
}

@media (max-width: 480px) {
  /* World-tag pill collides with coord stamp at narrow widths — hide; world stays implied via eyebrow + color */
  .poster-world { display: none; }
}

.carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    transparent 0%,
    transparent 28%,
    rgba(8,10,11,0.40) 45%,
    rgba(8,10,11,0.78) 65%,
    rgba(8,10,11,0.96) 85%,
    var(--bg-deep) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Play overlay (White Lines slide only) */
.carousel-play-overlay {
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 1.5px solid rgba(230, 236, 236, 0.75);
  background: rgba(8, 10, 11, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s, border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.carousel-play-overlay:hover {
  transform: translate(-50%, -50%) scale(1.06);
  border-color: var(--text-main);
  background: rgba(8, 10, 11, 0.6);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.18);
}

.carousel-play-overlay:focus-visible {
  outline: 2px solid var(--signal-cyan);
  outline-offset: 4px;
}

.carousel-play-overlay svg {
  width: 28px;
  height: 28px;
  fill: var(--text-main);
  transform: translateX(2px);
}

@media (max-width: 768px) {
  .carousel-play-overlay {
    width: 68px;
    height: 68px;
    top: 42%;
  }
  .carousel-play-overlay svg {
    width: 22px;
    height: 22px;
  }
}

.carousel-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem 2rem 5rem;
  z-index: 3;
  max-width: 1100px;
  margin: 0 auto;
}

.carousel-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.carousel-slide-cyan .carousel-eyebrow { color: var(--signal-cyan); }
.carousel-slide-gold .carousel-eyebrow { color: var(--rik-gold); }

.carousel-title {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  color: var(--text-main);
  line-height: 1.05;
}

.carousel-feat-inline {
  font-size: 0.55em;
  font-weight: 400;
  font-family: var(--font-mono);
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-left: 0.4em;
  display: inline-block;
}

.carousel-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.carousel-ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.carousel-cta-primary,
.carousel-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s, background 0.3s, color 0.3s;
}

.carousel-cta-primary {
  background: var(--text-main);
  color: var(--bg-deep);
  border: 1px solid var(--text-main);
}

.carousel-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(230,236,236,0.18);
}

.carousel-cta-secondary {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.carousel-cta-secondary:hover {
  border-color: var(--text-main);
  transform: translateY(-2px);
}

/* Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  background: rgba(8,10,11,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-main);
  cursor: pointer;
  font-size: 1.1rem;
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: border-color 0.3s, background 0.3s;
}

.carousel-arrow:hover {
  border-color: var(--text-main);
  background: rgba(8,10,11,0.85);
}

.carousel-arrow:focus-visible {
  outline: 2px solid var(--signal-cyan);
  outline-offset: 2px;
}

.carousel-prev { left: 1.5rem; }
.carousel-next { right: 1.5rem; }

/* Dots */
.carousel-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 3;
}

.carousel-dot {
  width: 32px;
  height: 3px;
  background: rgba(255,255,255,0.22);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, width 0.3s;
}

.carousel-dot[aria-current="true"] {
  background: var(--text-main);
  width: 56px;
}

.carousel-dot:focus-visible {
  outline: 2px solid var(--signal-cyan);
  outline-offset: 4px;
}

@media (max-width: 768px) {
  /* Phase 1A: hero compaction — slide shorter + content padding tighter so CTAs sit in first viewport. */
  .carousel-arrow { display: none; }
  .carousel-content { padding: 1.25rem 1.25rem 2rem; }
  .carousel-slide { height: 70vh; min-height: 460px; max-height: 620px; }
  .carousel-eyebrow { font-size: 0.62rem; margin-bottom: 0.5rem; letter-spacing: 0.22em; }
  .carousel-title { font-size: clamp(1.5rem, 7vw, 2.1rem); margin-bottom: 0.4rem; }
  .poster-title { font-size: clamp(2rem, 12vw, 3.2rem); }
  .carousel-ctas { flex-direction: column; align-items: stretch; gap: 0.55rem; margin-top: 0.95rem; }
  .carousel-cta-primary,
  .carousel-cta-secondary { justify-content: center; padding: 0.85rem 1.25rem; font-size: 0.78rem; }
  .carousel-dots { bottom: 0.75rem; }
  .carousel-dot { width: 22px; }
  .carousel-dot[aria-current="true"] { width: 36px; }
}

/* --- ATLAS --- */
.atlas-section {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.atlas-headline {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.atlas-headline span {
  background: linear-gradient(135deg, var(--onsite-red), var(--paper));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.atlas-intro {
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 1rem;
}

.atlas-subline {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.7;
  margin: 0 0 2.5rem;
  max-width: 560px;
}

.atlas-map {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.atlas-map::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 212, 255, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.atlas-map svg {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes atlas-pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.6); opacity: 0.2; }
}

/* Atlas Phase 2.A — clickable nodes + target highlight */
.atlas-node-clickable {
  cursor: pointer;
  outline: none;
}

.atlas-node-clickable:focus-visible > circle:nth-of-type(2) {
  stroke: rgba(255, 255, 255, 0.6);
  stroke-width: 0.5;
}

@keyframes atlas-pulse-cyan-target {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0); }
  30% { box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.55), 0 0 32px rgba(0, 212, 255, 0.35); }
  70% { box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.25), 0 0 16px rgba(0, 212, 255, 0.18); }
}

@keyframes atlas-pulse-gold-target {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200, 155, 44, 0); }
  30% { box-shadow: 0 0 0 4px rgba(200, 155, 44, 0.55), 0 0 32px rgba(200, 155, 44, 0.35); }
  70% { box-shadow: 0 0 0 4px rgba(200, 155, 44, 0.25), 0 0 16px rgba(200, 155, 44, 0.18); }
}

@keyframes atlas-pulse-red-target {
  0%, 100% { box-shadow: 0 0 0 0 rgba(184, 8, 18, 0); }
  30% { box-shadow: 0 0 0 4px rgba(184, 8, 18, 0.6), 0 0 32px rgba(184, 8, 18, 0.4); }
  70% { box-shadow: 0 0 0 4px rgba(184, 8, 18, 0.3), 0 0 16px rgba(184, 8, 18, 0.2); }
}

.atlas-target-cyan { animation: atlas-pulse-cyan-target 1.5s ease-in-out 1; }
.atlas-target-gold { animation: atlas-pulse-gold-target 1.5s ease-in-out 1; }
.atlas-target-red { animation: atlas-pulse-red-target 1.5s ease-in-out 1; }

.atlas-pulse {
  transform-origin: center;
  transform-box: fill-box;
  animation: atlas-pulse 2.8s ease-in-out infinite;
}

.atlas-pulse-gold { animation-delay: 0.6s; }
.atlas-pulse-red { animation-delay: 1.2s; }
.atlas-pulse-magenta { animation-delay: 1.2s; } /* legacy fallback */

.atlas-coords {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.atlas-coord {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 1.5rem;
  position: relative;
}

.atlas-coord-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  opacity: 0.85;
}

/* Color-code each coord card by world */
.atlas-coord:nth-child(1) .atlas-coord-num { color: var(--tony-cyan); }
.atlas-coord:nth-child(2) .atlas-coord-num { color: var(--rik-gold); }
.atlas-coord:nth-child(3) .atlas-coord-num { color: var(--onsite-red); }

.atlas-coord h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.atlas-coord-artist {
  color: var(--text);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  opacity: 0.85;
}

.atlas-coord-pos {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin: 0;
}

.atlas-status {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

/* Atlas signal triangle (Home + Atlas v1.2 polish). Matches the brand-marquee
   triangle pattern but with a subtle pulse to signal "this is a portal."
   Sits above the section-label as the first visual cue of the section. */
.atlas-signal-triangle {
  display: block;
  width: 28px;
  height: 28px;
  margin: 0 0 1.25rem;
  opacity: 0.7;
  animation: atlas-signal-pulse 2.6s ease-in-out infinite;
}

@keyframes atlas-signal-pulse {
  0%, 100% {
    opacity: 0.55;
    transform: translateY(0);
    filter: drop-shadow(0 0 0 transparent);
  }
  50% {
    opacity: 1;
    transform: translateY(-2px);
    filter: drop-shadow(0 0 6px rgba(184, 8, 18, 0.55));
  }
}

@media (prefers-reduced-motion: reduce) {
  .atlas-signal-triangle { animation: none; opacity: 0.85; }
}

.atlas-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 1.25rem auto 0;
  padding: 0.95rem 1.65rem;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--onsite-red);
  border: 1px solid var(--onsite-red);
  text-decoration: none;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.3s, opacity 0.2s;
}

/* Wide variant for the longer "ENTER · MIAMI · DESERT · HQ" copy.
   Tighter letter-spacing keeps it from overflowing on small mobile widths. */
.atlas-cta-link.atlas-cta-link-wide {
  letter-spacing: 0.14em;
  padding-left: 1.35rem;
  padding-right: 1.35rem;
}

@media (max-width: 480px) {
  .atlas-cta-link.atlas-cta-link-wide {
    letter-spacing: 0.10em;
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 0.72rem;
  }
}

.atlas-cta-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--onsite-red-glow);
}

.atlas-cta-link .atlas-cta-arrow {
  font-family: var(--font-mono);
  transition: transform 0.25s;
}

.atlas-cta-link:hover .atlas-cta-arrow {
  transform: translateX(4px);
}

.atlas-section {
  text-align: left;
}

.atlas-section .atlas-cta-link {
  display: inline-flex;
  margin-top: 1.5rem;
  margin-left: 0;
}

/* --- MOBILE --- */
@media (max-width: 768px) {
  .nav { padding: 0.75rem 1.25rem; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .hero { padding: 5rem 1.5rem 3rem; }

  .artist-card {
    grid-template-columns: 1fr;
    padding: 1.5rem;
    gap: 1.5rem;
  }

  .track {
    grid-template-columns: 2rem 1fr auto;
    gap: 0.5rem;
  }

  .track-key { display: none; }

  .section { padding: 3rem 1.5rem; }

  .atlas-section { padding: 3rem 1.5rem; }
  .atlas-coords { grid-template-columns: 1fr; gap: 0.75rem; }
  .atlas-map { padding: 1rem; }
  .atlas-map svg text { font-size: 14px; }

  /* Releases mobile carousel — horizontal swipeable instead of vertical stack.
     Pure CSS via scroll-snap. Peek of next card signals swipeability.
     Released Singles section only — Released grid wrapper expects flex children. */
  .release-grid {
    display: flex;
    flex-direction: row;
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.85rem;
    margin-right: -1.5rem;          /* extend to viewport edge */
    padding: 0.25rem 1.5rem 0.85rem 0;
  }
  .release-grid::-webkit-scrollbar { display: none; }
  .release-card {
    flex: 0 0 calc(100vw - 4rem);   /* ~85% viewport, peek of next card visible */
    scroll-snap-align: center;
    scroll-snap-stop: always;
    padding: 1.5rem;
  }
  .release-title { font-size: 1.3rem; }

  .subscribe-box { padding: 2rem 1.25rem; }
  .subscribe-form { flex-direction: column; }
  .subscribe-form input[type="email"],
  .subscribe-form button { width: 100%; min-width: 0; }

  .sync-table-wrap { padding: 1rem; }
  .form-row-split { flex-direction: column; gap: 1rem; }
  .license-toggle { padding: 0.85rem 1.25rem; font-size: 0.7rem; }
  .license-form { padding: 0 1.25rem 1.25rem; }
  .license-form button[type="submit"] { width: 100%; }

  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; padding: 3rem 1.5rem 2rem; }
  .footer-bottom { padding: 1.5rem; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
}
