/* ═══════════════════════════════════════════════════════════
   RMMBR — what makes this fork its own
   (loaded after styles.css, which is the shared ENVEL / LEGHET base)
   ═══════════════════════════════════════════════════════════ */

/* ─── Tokens: neutral blacks, pure white accent ─── */
:root {
  --bg: #f2f2f0;
  --bg-alt: #e7e7e4;
  --fg: #0a0a0a;
  --fg-2: #1c1c1c;
  --fg-3: #666;
  --fg-4: #a3a3a3;
  --line: rgba(10,10,10,0.12);
  --line-2: rgba(10,10,10,0.06);
  --spark: #ffffff;
  --axon-x: max(14px, calc(var(--pad-x) / 2 - 1px));
}
[data-theme="dark"] {
  --bg: #060606;
  --bg-alt: #111111;
  --fg: #f6f6f6;
  --fg-2: #e2e2e2;
  --fg-3: #8c8c8c;
  --fg-4: #4f4f4f;
  --line: rgba(255,255,255,0.12);
  --line-2: rgba(255,255,255,0.06);
}
[data-accent="mono"] { --accent: var(--fg); }
[data-theme="light"] { --spark: #0a0a0a; }

[hidden] { display: none !important; }
::selection { background: var(--fg); color: var(--bg); }

/* ─── Logo as inline SVG (crisp at any size, follows the theme) ─── */
.logo-svg { display: block; fill: currentColor; overflow: visible; }
.nav-logo { height: 20px; color: #fff; }
.nav-logo .logo-svg { height: 100%; width: auto; aspect-ratio: 391 / 81; }
[data-theme="light"] .nav-logo { color: var(--fg); }
.footer-logo { height: 30px; width: auto; aspect-ratio: 391 / 81; color: var(--fg); }
[data-theme="light"] .footer-logo { filter: none; }

/* ═══════════════════════════════════════════════════════════
   SPLASH — the neuron fires
═══════════════════════════════════════════════════════════ */
.splash {
  position: fixed; inset: 0; z-index: 10000;
  background: #050505;
  color: #fff;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
  cursor: pointer;
}
.splash.gone { opacity: 0; visibility: hidden; pointer-events: none; }
.splash.off { display: none; }
.splash-seen .splash { display: none; }
.splash-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.splash-meta {
  position: absolute; left: var(--pad-x); right: var(--pad-x); bottom: 40px;
  display: flex; justify-content: space-between; align-items: center;
  color: rgba(255,255,255,0.45);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 14px;
}
html.splash-running, html.splash-running body { overflow: hidden; }

/* Hero words wait for the splash to finish */
.splash-running .hero-word,
.splash-running .hero-footer { animation-play-state: paused; }

.n-dendrites path {
  fill: none;
  stroke: rgba(255,255,255,0.62);
  stroke-linecap: round;
  transition: stroke 0.6s var(--ease);
}
.n-dendrites.dim path { stroke: rgba(255,255,255,0.26); }
.n-axon-core { fill: none; stroke: rgba(255,255,255,0.5); stroke-width: 1.1; opacity: 0; }
.n-myelin {
  fill: none; stroke: rgba(255,255,255,0.16);
  stroke-width: 5.5; stroke-linecap: round; opacity: 0;
}
.n-col { fill: none; stroke: rgba(255,255,255,0.35); stroke-width: 1; transition: stroke 0.3s; }
.n-col.fired { stroke: rgba(255,255,255,0.85); }
.n-bouton { fill: #fff; opacity: 0; transition: r 0.2s; }
.n-bouton.fired { animation: boutonFire 0.6s var(--ease) forwards; }
@keyframes boutonFire {
  0% { opacity: 1; transform-box: fill-box; transform-origin: center; transform: scale(2.6); }
  100% { opacity: 0.9; transform-box: fill-box; transform-origin: center; transform: scale(1); }
}
.n-soma { fill: #fff; opacity: 0.4; }
.n-soma-halo { transform-box: fill-box; transform-origin: center; opacity: 0; }
.n-nucleus { fill: #050505; opacity: 0.55; }
.n-pulse { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; }
.n-head { fill: #fff; }
.n-letter {
  fill: #fff; fill-opacity: 0;
  stroke: rgba(255,255,255,0.28);
  opacity: 0;
  transition: fill-opacity 0.35s var(--ease), stroke 0.35s var(--ease);
}
.n-letter.lit { fill-opacity: 1; stroke: #fff; filter: url(#nGlow); animation: letterFlash 0.5s var(--ease); }
@keyframes letterFlash { 0% { fill-opacity: 0.2; } 30% { fill-opacity: 1; } 55% { fill-opacity: 0.7; } 100% { fill-opacity: 1; } }
.n-logo.all-lit .n-letter { animation: logoBurn 0.45s var(--ease) forwards; }
@keyframes logoBurn { 0% { fill-opacity: 1; } 40% { fill-opacity: 0.55; } 100% { fill-opacity: 1; } }

/* ═══════════════════════════════════════════════════════════
   AXON — scroll impulse along the left gutter
═══════════════════════════════════════════════════════════ */
.axon {
  position: fixed; z-index: 60;
  top: 96px; bottom: 48px; left: var(--axon-x);
  width: 1px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s var(--ease);
}
.axon.on { opacity: 1; }
.axon-line {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent, var(--line) 6%, var(--line) 94%, transparent);
}
.axon-nodes { position: absolute; inset: 0; }
.axon-node {
  position: absolute; left: 0;
  width: 7px; height: 7px; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg);
  border: 1px solid var(--fg-4);
  transition: background 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.axon-node.lit { background: var(--fg-3); border-color: var(--fg-3); }
.axon-node.current { background: var(--spark); border-color: var(--spark); box-shadow: 0 0 10px 1px color-mix(in oklch, var(--spark) 60%, transparent); }
.axon-pulse {
  position: absolute; left: 0; top: 0;
  width: 0; height: 0;
  transition: top 0.18s linear;
}
.axon-dot {
  position: absolute; left: 0; top: 0;
  width: 5px; height: 5px; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--spark);
  box-shadow: 0 0 8px 2px color-mix(in oklch, var(--spark) 70%, transparent), 0 0 22px 4px color-mix(in oklch, var(--spark) 25%, transparent);
  transition: width 0.25s, height 0.25s;
}
.axon-pulse.moving .axon-dot { width: 7px; height: 7px; }
.axon-pulse.fire .axon-dot { animation: axonFire 0.5s var(--ease); }
@keyframes axonFire {
  0% { box-shadow: 0 0 0 0 var(--spark), 0 0 30px 8px var(--spark); width: 11px; height: 11px; }
  100% { box-shadow: 0 0 8px 2px color-mix(in oklch, var(--spark) 70%, transparent); width: 5px; height: 5px; }
}
.axon-trail {
  position: absolute; left: -0.5px; bottom: 0;
  width: 2px; height: 8px;
  transform-origin: bottom center;
  background: linear-gradient(to top, var(--spark), transparent);
  opacity: 0.85;
  border-radius: 2px;
}
.axon-label {
  position: absolute; left: -5px; top: 14px;
  writing-mode: vertical-rl;
  white-space: nowrap;
  color: var(--fg-3);
  font-size: 9px !important;
  opacity: 0.55;
  transition: opacity 0.4s var(--ease);
}
.axon-pulse.moving .axon-label { opacity: 1; color: var(--fg); }
.axon.in-hero .axon-label { opacity: 0; }
.axon.in-hero .axon-line { opacity: 0.5; }
@media (max-width: 900px) { .axon { display: none; } }

/* ═══════════════════════════════════════════════════════════
   NAV — burger + full-screen mobile menu
═══════════════════════════════════════════════════════════ */
.nav-burger {
  display: none;
  width: 38px; height: 38px;
  border: 1px solid currentColor; border-radius: 50%;
  position: relative;
}
.nav-burger span {
  position: absolute; left: 11px; right: 11px; height: 1px;
  background: currentColor;
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.nav-burger span:first-child { top: 15px; }
.nav-burger span:last-child { top: 21px; }
.menu-open .nav-burger span:first-child { top: 18px; transform: rotate(45deg); }
.menu-open .nav-burger span:last-child { top: 18px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 95;
  background: var(--bg);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 110px var(--pad-x) 40px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.menu-open { overflow: hidden; }
.mobile-menu-links { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu-links a {
  font-family: var(--serif); font-size: clamp(30px, 9vw, 48px);
  line-height: 1.1; letter-spacing: -0.02em;
  transform: translateY(16px); opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}
.menu-open .mobile-menu-links a { transform: none; opacity: 1; }
.menu-open .mobile-menu-links a:nth-child(2) { transition-delay: 0.03s; }
.menu-open .mobile-menu-links a:nth-child(3) { transition-delay: 0.06s; }
.menu-open .mobile-menu-links a:nth-child(4) { transition-delay: 0.09s; }
.menu-open .mobile-menu-links a:nth-child(5) { transition-delay: 0.12s; }
.menu-open .mobile-menu-links a:nth-child(6) { transition-delay: 0.15s; }
.menu-open .mobile-menu-links a:nth-child(7) { transition-delay: 0.18s; }
.menu-open .mobile-menu-links a:nth-child(8) { transition-delay: 0.21s; }
.menu-open .mobile-menu-links a:nth-child(9) { transition-delay: 0.24s; }
.menu-open .mobile-menu-links a:nth-child(10) { transition-delay: 0.27s; }
.mobile-menu-foot { display: flex; flex-direction: column; gap: 10px; color: var(--fg-3); border-top: 1px solid var(--line); padding-top: 18px; }
.menu-open .nav { mix-blend-mode: normal; }
.menu-open .nav-inner { color: var(--fg); }
@media (max-width: 900px) {
  .nav-burger { display: flex; }
  .nav-tools { gap: 8px; }
}

/* ═══════════════════════════════════════════════════════════
   HERO tweaks
═══════════════════════════════════════════════════════════ */
.hero-video { opacity: 0.62; filter: contrast(1.06) saturate(0.85); }
.hero-word-accent { text-shadow: 0 0 40px color-mix(in oklch, var(--fg) 25%, transparent); }
[data-theme="light"] .hero-meta,
[data-theme="light"] .hero-eyebrow { background: color-mix(in oklch, var(--bg) 75%, transparent); }

/* ═══════════════════════════════════════════════════════════
   MANIFESTO — Music Dealer
═══════════════════════════════════════════════════════════ */
.manifesto {
  background: #050505; color: #f6f6f6;
  padding: 120px var(--pad-x);
  position: relative;
  overflow: hidden;
}
.manifesto::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 40%, rgba(255,255,255,0.06), transparent 55%);
  pointer-events: none;
}
.manifesto-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 100px);
  align-items: center;
  position: relative;
}
.manifesto-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #111; }
.manifesto-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1) brightness(1.05); transition: transform 1.4s var(--ease), filter 0.8s var(--ease); }
@media (hover: hover) { .manifesto-photo:hover img { transform: scale(1.03); filter: grayscale(0.2) contrast(1.05); } }
.manifesto-rx {
  position: absolute; left: 16px; bottom: 16px;
  padding: 6px 12px; background: rgba(5,5,5,0.6); color: #fff;
  backdrop-filter: blur(6px);
}
.manifesto .section-num { color: rgba(255,255,255,0.5); border-color: rgba(255,255,255,0.14); }
.manifesto-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(56px, 9vw, 150px);
  line-height: 0.9; letter-spacing: -0.04em;
  margin: 8px 0 28px;
}
.manifesto-lede { font-family: var(--serif); font-size: clamp(20px, 2.2vw, 28px); line-height: 1.35; color: rgba(255,255,255,0.86); max-width: 30ch; }
.manifesto-list { list-style: none; margin: 44px 0 0; border-top: 1px solid rgba(255,255,255,0.14); }
.manifesto-list li {
  display: grid; grid-template-columns: 90px 1fr; gap: 16px; align-items: baseline;
  padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,0.14);
  font-family: var(--serif); font-size: clamp(22px, 2.6vw, 36px); line-height: 1.15; letter-spacing: -0.02em;
}
.manifesto-list li .mono { color: rgba(255,255,255,0.45); font-size: 11px; }
.manifesto-list li > span:not(.mono) { grid-column: 2; }
.manifesto-consult {
  margin-top: 40px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start;
}
.manifesto-consult .mono { color: rgba(255,255,255,0.5); }
.manifesto-consult p { margin: 10px 0 12px; font-size: 16px; line-height: 1.6; color: rgba(255,255,255,0.75); max-width: 52ch; }
.manifesto-consult p strong { color: #fff; font-weight: 600; }
.manifesto .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.4); }
@media (hover: hover) { .manifesto .btn-ghost:hover { background: #fff; color: #050505; } }
@media (max-width: 900px) {
  .manifesto { padding: 90px var(--pad-x); }
  .manifesto-inner { grid-template-columns: 1fr; }
  .manifesto-photo { max-width: 420px; }
  .manifesto-list li { grid-template-columns: 64px 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   MUSIC — SoundCloud frames
═══════════════════════════════════════════════════════════ */
.music-frame iframe { min-height: 400px; }
.music-frame[data-frame="soundcloud"] iframe { min-height: 450px; }
.music-platforms .platform .mono { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yt-lightbox-frame.is-sc { aspect-ratio: auto; height: min(70vh, 460px); width: min(94vw, 900px); }
.sc-hidden { position: fixed; width: 1px; height: 1px; left: -9999px; bottom: 0; border: 0; opacity: 0; pointer-events: none; }

/* ═══════════════════════════════════════════════════════════
   DROPS — horizontal rail of live moments
═══════════════════════════════════════════════════════════ */
.drops { padding-bottom: 110px; }
.drops-rail {
  display: flex; gap: 14px;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding: 4px var(--pad-x) 18px;
  scroll-padding-left: var(--pad-x);
  scrollbar-width: thin;
  cursor: grab;
}
.drops-rail.dragging { cursor: grabbing; scroll-snap-type: none; }
.drops-rail::-webkit-scrollbar { height: 4px; }
.drops-rail::-webkit-scrollbar-thumb { background: var(--fg-3); border-radius: 2px; }
.drop {
  position: relative; flex: 0 0 auto;
  width: clamp(280px, 42vw, 640px);
  aspect-ratio: 16 / 9;
  overflow: hidden; background: #000;
  scroll-snap-align: start;
  border: 1px solid var(--line);
}
.drop video { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.78; transition: opacity 0.5s var(--ease), transform 1.4s var(--ease); pointer-events: none; }
.drop.playing video { opacity: 1; }
@media (hover: hover) { .drop:hover video { transform: scale(1.03); } }
.drop::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent 45%);
}
.drop figcaption {
  position: absolute; left: 20px; right: 70px; bottom: 16px; z-index: 2;
  display: flex; flex-direction: column; gap: 4px; color: #fff;
}
.drop-num { color: rgba(255,255,255,0.6); }
.drop-venue { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 32px); line-height: 1.05; letter-spacing: -0.02em; }
.drop-meta { color: rgba(255,255,255,0.7); }
.drop-sound {
  position: absolute; right: 16px; bottom: 16px; z-index: 3;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.5);
  background: rgba(0,0,0,0.35); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; gap: 3px;
  transition: background 0.25s, border-color 0.25s;
}
.drop-sound i {
  display: block; width: 2px; height: 4px; background: #fff; border-radius: 1px;
  transition: height 0.2s;
}
.drop-sound i:nth-child(2) { height: 7px; }
.drop.has-sound .drop-sound { background: #fff; border-color: #fff; }
.drop.has-sound .drop-sound i { background: #000; animation: eqBars 0.9s ease-in-out infinite; }
.drop.has-sound .drop-sound i:nth-child(2) { animation-delay: 0.15s; }
.drop.has-sound .drop-sound i:nth-child(3) { animation-delay: 0.3s; }
.drop-sound::before {
  content: attr(data-hint); position: absolute; right: 52px; white-space: nowrap;
}
@media (hover: hover) { .drop-sound:hover { border-color: #fff; background: rgba(255,255,255,0.15); } }
.drops-foot {
  max-width: var(--max-w); margin: 18px auto 0; padding: 16px var(--pad-x) 0;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  color: var(--fg-3); border-top: 1px solid var(--line);
}

/* ═══════════════════════════════════════════════════════════
   LIVE — crowd strip
═══════════════════════════════════════════════════════════ */
.gal-4 img { object-position: center top; }
.crowd { max-width: var(--max-w); margin: 64px auto 0; padding: 0 var(--pad-x); }
.crowd-grid {
  display: flex; gap: 10px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 0 14px; scrollbar-width: thin;
}
.crowd-grid figure {
  flex: 0 0 auto; width: clamp(240px, 26vw, 380px); aspect-ratio: 3 / 2;
  overflow: hidden; background: var(--bg-alt); scroll-snap-align: start;
}
.crowd-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
@media (hover: hover) { .crowd-grid figure:hover img { transform: scale(1.05); } }
.crowd-grid::-webkit-scrollbar { height: 4px; }
.crowd-grid::-webkit-scrollbar-thumb { background: var(--fg-3); border-radius: 2px; }

/* ═══════════════════════════════════════════════════════════
   VENUES — press rows reused + lineup wall
═══════════════════════════════════════════════════════════ */
.venues .press-row { grid-template-columns: 70px 1fr 40px; }
.lineup { max-width: var(--max-w); margin: 80px auto 0; padding: 0 var(--pad-x); }
.lineup-head { display: block; color: var(--fg-3); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.lineup-names {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 0 0.5em;
  padding: 28px 0 56px;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(34px, 5.6vw, 92px); line-height: 1.04; letter-spacing: -0.035em;
}
.lineup-names li { color: var(--fg); transition: color 0.4s var(--ease), opacity 0.4s; }
.lineup-names li:not(:last-child)::after { content: ' ·'; color: var(--fg-4); }
@media (hover: hover) {
  .lineup-names:hover li { color: var(--fg-4); }
  .lineup-names li:hover { color: var(--fg); }
}
.lineup-crews { padding: 22px 0 0; color: var(--fg-2); font-size: 13px; letter-spacing: 0.16em; line-height: 1.9; }

/* ═══════════════════════════════════════════════════════════
   RIDER / MEDIA KIT small fixes
═══════════════════════════════════════════════════════════ */
.booking-logo { height: clamp(34px, 4.4vw, 56px); margin-top: 10px; }
.booking-logo .logo-svg { height: 100%; width: auto; aspect-ratio: 391 / 81; color: var(--bg); }
.rider-col-num.rider-no { color: oklch(0.62 0.2 25); opacity: 0.85; }
.anatomy-corner { background: rgba(255,255,255,0.92); color: #0a0a0a; }
.mediakit .press-shots { margin: 0 auto 60px; }
.mediakit .press-shots-grid figure { width: clamp(220px, 24vw, 340px); aspect-ratio: 2 / 3; }

/* Bio paragraphs live inside a language wrapper */
.bio-text > .lang-en, .bio-text > .lang-es { display: flex; flex-direction: column; gap: 18px; }

/* ─── Mobile ─── */
@media (max-width: 720px) {
  .hero-title { font-size: clamp(44px, 13vw, 80px); }
  .hero-meta-r { display: none; }
  .drop { width: 86vw; }
  .crowd-grid figure { width: 76vw; }
  .venues .press-row { grid-template-columns: 48px 1fr 24px; gap: 14px; }
  .splash-meta { bottom: 28px; }
  .mini-player { left: 12px; bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .axon-trail { display: none; }
  .n-letter.lit, .n-logo.all-lit .n-letter { animation: none; }
}
