/* 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;

  /* 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(--accent);
  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); }

/* --- 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);
}

/* --- 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;
}

.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(--accent);
  color: var(--accent);
}

.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.3s;
  display: flex;
  flex-direction: column;
}

.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-cyan:hover { border-color: rgba(0, 212, 255, 0.35); }
.release-card-gold:hover { border-color: rgba(212, 160, 23, 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-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-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;
}

.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(--accent);
}

/* --- 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(--accent);
  font-weight: 500;
  padding: 0.75rem 0.75rem 0.75rem 0;
  border-bottom: 1px solid var(--border);
  vertical-align: bottom;
}

.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(0, 212, 255, 0.04);
}

.sync-listen {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--accent);
  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(--accent);
}

.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(--accent);
  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(--accent); }

.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(--accent);
  background: rgba(0, 212, 255, 0.03);
  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(--accent);
  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(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

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

/* --- SUBSCRIBE / NEWSLETTER --- */
.subscribe-box {
  background:
    radial-gradient(ellipse at 0% 0%, rgba(0, 212, 255, 0.06) 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(--accent);
  background: rgba(0, 212, 255, 0.03);
  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(--accent);
  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);
}

.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;
}

/* --- 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(--signal-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.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);
}

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

  .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; }

  .release-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  .release-card { 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%; }
}
