/* =====================================================================
   RATTA MUSIK · estilos
   Mobile first. Colores y tipografías en las variables de :root.
   Línea visual: minimalista, negro y blanco de club, un único acento lila.
   ===================================================================== */

@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/inter-tight-var.woff2") format("woff2");
  font-weight: 300 900; font-style: normal; font-display: swap;
}
@font-face { font-family: "DM Mono"; src: url("../fonts/dm-mono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("../fonts/dm-mono-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --bg: #09080b;          /* negro con un punto violáceo */
  --bg-2: #111015;
  --ink: #f3f1f4;
  --ink-2: rgba(243, 241, 244, .64);
  --ink-3: rgba(243, 241, 244, .38);
  --line: rgba(243, 241, 244, .14);
  --acc: #cb6ce6;         /* lila del presskit: solo como acento */
  --acc-ink: #09080b;

  --sans: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --gutter: clamp(16px, 3.4vw, 48px);
  --header-h: 60px;
  --ease: cubic-bezier(.19, 1, .22, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
em { font-style: normal; }
s { text-decoration: none; }
::selection { background: var(--acc); color: var(--acc-ink); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }

/* titulares: grotesca ancha y pesada, en mayúsculas */
.display, .big-title, .why__title, .booking__title, .side__name, .b2b__word, .soon__text, .marquee__row--big {
  font-family: var(--sans);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.045em;
}
.mono { font-family: var(--mono); text-transform: uppercase; letter-spacing: .1em; font-size: 11px; line-height: 1.4; font-weight: 400; }
.acc { color: var(--acc); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: var(--bg); padding: 10px 16px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; }
.skip:focus { top: 12px; }

/* grano de película (fijo, muy sutil) */
.grain {
  position: fixed; inset: -100%; z-index: 200; pointer-events: none;
  background: url("../img/grain.png") repeat;
  opacity: .07;
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-6%, 4%); } 40% { transform: translate(5%, -7%); }
  60% { transform: translate(-3%, 9%); } 80% { transform: translate(8%, 2%); } 100% { transform: translate(0, 0); }
}

/* ---------- botones ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  height: 48px; padding: 0 22px;
  border: 1px solid var(--ink);
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  white-space: nowrap;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .5s var(--ease);
}
.btn--sm { height: 36px; padding: 0 14px; font-size: 10.5px; }
.btn--solid { background: var(--ink); color: var(--bg); }
.btn--solid:hover { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); }
.btn--ghost { color: var(--ink); background: rgba(9, 8, 11, .15); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-color: rgba(243, 241, 244, .5); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn__icon { width: 16px; height: 16px; }
.btn__play { width: 0; height: 0; border-style: solid; border-width: 4.5px 0 4.5px 7px; border-color: transparent transparent transparent currentColor; }

.link-arrow { display: inline-flex; gap: .5em; padding: 6px 0; border-bottom: 1px solid var(--line); transition: color .3s, border-color .3s; }
.link-arrow:hover { color: var(--acc); border-color: var(--acc); }

/* ---------- loader ---------- */
.loader { display: none; }
.js .loader {
  display: block; position: fixed; inset: 0; z-index: 250; pointer-events: none;
  animation: loaderFailsafe .01s 6s forwards; /* red de seguridad */
}
@keyframes loaderFailsafe { to { visibility: hidden; } }
.loader__half { position: absolute; top: 0; bottom: 0; width: 50.5%; background: var(--bg); transition: transform 1s var(--ease-in-out); }
.loader__half--l { left: 0; }
.loader__half--r { right: 0; }
.loader__inner { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 18px; transition: opacity .35s ease; }
.loader__iso { width: 34px; height: auto; color: var(--ink); animation: isoPulse 1s var(--ease-in-out) infinite alternate; }
@keyframes isoPulse { from { opacity: .35; } to { opacity: 1; } }
.loader__count { color: var(--ink-2); font-variant-numeric: tabular-nums; letter-spacing: .2em; }
.is-loaded .loader__half--l { transform: translateX(-101%); }
.is-loaded .loader__half--r { transform: translateX(101%); }
.is-loaded .loader__inner { opacity: 0; }
.is-ready .loader { display: none; }

/* ---------- cabecera ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: calc(var(--header-h) + env(safe-area-inset-top));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: env(safe-area-inset-top) var(--gutter) 0;
  transition: transform .6s var(--ease), background-color .4s ease;
}
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(9, 8, 11, .72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  opacity: 0; transition: opacity .4s ease;
}
.header.is-scrolled::before { opacity: 1; }
.header.is-hidden { transform: translateY(-110%); }
.header__iso { width: 24px; color: var(--ink); transition: color .3s; }
.header__iso:hover { color: var(--acc); }
.header__iso svg { width: 100%; height: auto; }
.header__nav { display: none; }
.header__right { display: flex; align-items: center; gap: 14px; }
.header__cta { display: none; }

.lang { display: flex; align-items: center; gap: 6px; color: var(--ink-3); }
.lang__btn { padding: 6px 2px; color: var(--ink-3); transition: color .3s; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; }
.lang__btn.is-active, .lang__btn:hover { color: var(--ink); }

.burger { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 0 0 10px; }
.burger__lines { position: relative; width: 20px; height: 8px; }
.burger__lines i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger__lines i:first-child { top: 0; }
.burger__lines i:last-child { top: 6.5px; }
.burger[aria-expanded="true"] .burger__lines i:first-child { top: 3.25px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines i:last-child { top: 3.25px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 30px + env(safe-area-inset-top)) var(--gutter) calc(28px + env(safe-area-inset-bottom));
  background: var(--bg);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease-in-out);
}
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: -.02em;
  font-size: clamp(30px, 9.5vw, 64px); line-height: 1.05;
  border-bottom: 1px solid var(--line); padding: 10px 0;
  transform: translateY(24px); opacity: 0;
  transition: transform .8s var(--ease), opacity .8s var(--ease), color .3s;
}
.menu__nav a .mono { color: var(--ink-3); order: 2; }
.menu.is-open .menu__nav a { transform: none; opacity: 1; }
.menu.is-open .menu__nav a:nth-child(2) { transition-delay: .05s; }
.menu.is-open .menu__nav a:nth-child(3) { transition-delay: .1s; }
.menu.is-open .menu__nav a:nth-child(4) { transition-delay: .15s; }
.menu.is-open .menu__nav a:nth-child(5) { transition-delay: .2s; }
.menu.is-open .menu__nav a:nth-child(6) { transition-delay: .25s; }
.menu__nav a:hover { color: var(--acc); }
.menu__foot { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-2); }

/* ---------- secciones ---------- */
.section { position: relative; padding: clamp(96px, 12vw, 180px) var(--gutter); }
.section__head { display: flex; gap: 14px; align-items: center; margin-bottom: clamp(26px, 4vw, 52px); color: var(--ink-2); }
.section__head::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.label { margin: 0; font-weight: 400; }
.big-title { margin: 0 0 clamp(36px, 5vw, 72px); font-size: clamp(46px, 12.5vw, 196px); line-height: .86; }
.big-title em { color: var(--acc); }

/* revelado línea a línea */
.wm { display: inline-block; overflow: hidden; vertical-align: top; padding: .16em .04em .08em 0; margin: -.16em -.04em -.08em 0; }
.wi { display: inline-block; transform: translate3d(0, 110%, 0); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
[data-reveal="lines"].is-in .wi { transform: none; }
.reduced .wi, .no-js .wi { transform: none; }
/* cortina que se retira (el elemento no se recorta: así el observador lo detecta) */
[data-reveal="clip"] { position: relative; }
.js [data-reveal="clip"]::after {
  content: ""; position: absolute; inset: -1px; z-index: 3; pointer-events: none;
  background: var(--curtain, var(--bg)); transform-origin: 50% 0; transition: transform 1.3s var(--ease);
}
.js [data-reveal="clip"].is-in::after { transform: scaleY(0); }
.reduced [data-reveal="clip"]::after { display: none; }
[data-reveal="fade"] { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
[data-reveal="fade"].is-in { opacity: 1; transform: none; }
.no-js [data-reveal], .reduced [data-reveal] { opacity: 1 !important; transform: none !important; }

/* fotos: blanco y negro de club; el violeta del presskit aparece al pasar */
.bw { filter: grayscale(1) contrast(1.18) brightness(.92); transition: filter .9s var(--ease); }

/* =====================================================================
   PORTADA · negro, logo en 3D (cromo) y texto pequeño
   ===================================================================== */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 560px;
  overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: center;
  background: #050406;
}
/* halo muy suave detrás del logo, respira despacio */
.hero__glow {
  position: absolute; left: 50%; top: 50%; z-index: -2; width: min(110vw, 1100px); aspect-ratio: 1.6;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(203, 108, 230, .16), rgba(203, 108, 230, .05) 45%, rgba(203, 108, 230, 0) 100%);
  animation: breathe 7.7s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes breathe { from { opacity: .55; transform: translate(-50%, -50%) scale(.94); } to { opacity: 1; transform: translate(-50%, -50%) scale(1.04); } }
.hero__canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; display: block; opacity: 0; pointer-events: none; }

.hero__center { position: relative; display: flex; flex-direction: column; align-items: center; gap: clamp(34px, 6vh, 64px); padding: 0 var(--gutter); }
/* lockup del presskit: RATTÄ y, debajo a la derecha, MUSIK */
.hero__brand { margin: 0; width: min(74vw, 420px); display: flex; flex-direction: column; align-items: flex-end; color: var(--ink); }
.hero__logo { width: 100%; height: auto; }
.hero__musik { width: 32%; height: auto; margin: 6.7% .5% 0 0; }
.hero__logo, .hero__musik { transition: opacity .7s ease; }
.hero.has-3d .hero__logo, .hero.has-3d .hero__musik { opacity: 0; }

.hero__credit { margin: 0; display: flex; flex-direction: column; gap: 6px; color: var(--ink-3); }

.hero__foot {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
  padding: 0 var(--gutter) calc(22px + env(safe-area-inset-bottom));
}
.claim { margin: 0; text-align: center; text-transform: uppercase; font-weight: 700; letter-spacing: .04em; line-height: 1.4; font-size: clamp(12px, 3.4vw, 14px); }
.claim__old {
  position: relative; display: inline-block; color: var(--ink-3); font-weight: 600;
  opacity: 0; transition: opacity .6s var(--ease);
}
.claim__old::after {
  content: ""; position: absolute; left: -2%; right: -2%; top: 50%; height: 1.5px;
  background: var(--acc); transform: scaleX(0); transform-origin: left center; transition: transform .6s var(--ease-in-out);
}
.claim__new { display: block; clip-path: inset(0 100% 0 0); transition: clip-path 1s var(--ease); }
.claim__new em { color: var(--acc); font-weight: 800; }
.claim-1 .claim__old, .no-js .claim__old, .reduced .claim__old { opacity: 1; }
.claim-2 .claim__old::after, .no-js .claim__old::after, .reduced .claim__old::after { transform: scaleX(1); }
.claim-3 .claim__new, .no-js .claim__new, .reduced .claim__new { clip-path: inset(-10% -2% -10% 0); }

.hero__links { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.hero__links a { display: inline-flex; gap: .6em; padding-bottom: 4px; border-bottom: 1px solid rgba(243, 241, 244, .3); color: var(--ink-2); transition: color .3s, border-color .3s, transform .5s var(--ease); }
.hero__links a:hover { color: var(--acc); border-color: var(--acc); }

.hero__scroll { display: none; position: relative; width: 1px; height: 44px; background: rgba(243, 241, 244, .16); overflow: hidden; }
.hero__scroll::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--ink); animation: scrollLine 2.2s var(--ease-in-out) infinite; }
@keyframes scrollLine { from { transform: translateY(0); } to { transform: translateY(350%); } }

/* entrada tras el loader */
.js .hero__center { opacity: 0; transition: opacity 1.2s .2s var(--ease); }
.is-loaded .hero__center { opacity: 1; }
.js .hero__foot { opacity: 0; transition: opacity 1s 1.3s var(--ease); }
.is-loaded .hero__foot { opacity: 1; }
.reduced .hero__center, .reduced .hero__foot { transition: none; }
.reduced .hero__glow { animation: none; }

/* =====================================================================
   MARQUESINA
   ===================================================================== */
.marquee { position: relative; padding: clamp(22px, 4vw, 48px) 0; border-bottom: 1px solid var(--line); overflow: hidden; }
.marquee__label { display: flex; align-items: center; gap: 14px; margin: 0 var(--gutter) clamp(14px, 2vw, 24px); color: var(--ink-2); }
.marquee__label-line { flex: 1; height: 1px; background: var(--line); }
.marquee__row { display: flex; white-space: nowrap; will-change: transform; }
.marquee__track { display: flex; flex-shrink: 0; align-items: center; }
.marquee__row--big { font-size: clamp(34px, 8vw, 116px); line-height: 1.08; }
.marquee__row--big .marquee__item:nth-child(4n+3) { color: transparent; -webkit-text-stroke: 1px var(--ink); }
.marquee__row--small { margin-top: clamp(10px, 1.6vw, 18px); color: var(--ink-2); font-size: clamp(10.5px, 1.1vw, 13px); }
.marquee__item { display: inline-flex; align-items: center; }
.marquee__sep { display: inline-block; width: .34em; height: .37em; margin: 0 .5em; color: var(--acc); flex-shrink: 0; }
.marquee__row--small .marquee__sep { width: 8px; height: 9px; margin: 0 18px; color: var(--ink-3); }
.marquee__sep svg { width: 100%; height: 100%; }

/* =====================================================================
   EL DÚO
   ===================================================================== */
.duo__grid { display: grid; gap: clamp(40px, 6vw, 80px); align-items: end; }
.duo__text {
  margin: 0; font-weight: 500;
  font-size: clamp(28px, 7.4vw, 76px); line-height: 1.02; letter-spacing: -.035em;
  color: var(--ink-2); text-wrap: balance;
}
.duo__text em { color: var(--ink); }
.duo__text em.acc { color: var(--acc); }
.duo__photo { position: relative; margin: 0; width: min(78%, 440px); justify-self: end; aspect-ratio: 2 / 3; overflow: hidden; }
.duo__photo-inner { position: absolute; inset: -8% 0; }
.duo__photo img { width: 100%; height: 100%; object-fit: cover; }
.duo__photo figcaption { position: absolute; left: 14px; right: 14px; bottom: 12px; display: flex; align-items: center; gap: 10px; color: var(--ink); }
.duo__cap-line { flex: 1; height: 1px; background: rgba(243,241,244,.6); }

/* Lado A / Lado B */
.sides { position: relative; display: flex; margin-top: clamp(72px, 11vw, 150px); height: min(118vw, 620px); gap: 2px; }
.side { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; cursor: pointer; transition: flex-grow .9s var(--ease); outline-offset: -2px; }
.side__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.25) brightness(.8);
  transform: scale(1.04);
  transition: filter .9s var(--ease), transform 1.4s var(--ease);
}
.side::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(9,8,11,.94) 0%, rgba(9,8,11,.25) 55%, rgba(9,8,11,.05) 100%); pointer-events: none; }
.side__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 16px; display: flex; flex-direction: column; gap: 10px; text-shadow: 0 1px 14px rgba(9, 8, 11, .85); }
.side--b .side__body { align-items: flex-end; text-align: right; }
.side__tag { color: var(--ink-2); }
.side__name { margin: 0; font-size: clamp(30px, 9vw, 104px); line-height: .9; }
.side__bio { margin: 0; max-width: 44ch; font-size: 14px; line-height: 1.55; color: var(--ink-2); display: none; }
.side__ig { color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 3px; transition: color .3s, border-color .3s; }
.side__ig:hover { color: var(--acc); border-color: var(--acc); }
.side.is-active { flex-grow: 2.6; }
.side.is-active .side__img { filter: none; transform: scale(1); }
.side.is-active .side__bio { display: block; animation: fadeUp .7s var(--ease) both; }
.sides.has-active .side:not(.is-active) .side__ig,
.sides.has-active .side:not(.is-active) .side__tag { opacity: 0; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.sides__b2b {
  position: absolute; z-index: 2; left: 50%; top: 16px; transform: translateX(-50%);
  background: var(--ink); color: var(--bg); padding: 5px 9px;
  pointer-events: none; transition: left .9s var(--ease);
}
.sides.a-active .sides__b2b { left: 72.2%; }
.sides.b-active .sides__b2b { left: 27.8%; }
.sides__hint { display: block; margin-top: 12px; color: var(--ink-3); text-align: center; }

/* =====================================================================
   ¿POR QUÉ DOS?
   ===================================================================== */
.why__title { margin: 0 0 clamp(40px, 6vw, 90px); font-size: clamp(36px, 9vw, 148px); line-height: .9; max-width: 13ch; }
.why__title em { color: var(--acc); }
.why__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.why__item {
  position: relative; display: flex; align-items: baseline; gap: 14px;
  padding: clamp(14px, 1.8vw, 24px) 0;
  border-bottom: 1px solid var(--line);
}
.why__n { flex-shrink: 0; width: 2.6em; color: var(--acc); transition: transform .5s var(--ease); }
.why__t {
  font-weight: 700; text-transform: uppercase;
  font-size: clamp(22px, 5.6vw, 84px); line-height: 1; letter-spacing: -.025em;
  transition: transform .7s var(--ease), color .4s var(--ease), -webkit-text-stroke-color .4s;
}
.why__item:nth-child(even) { flex-direction: row-reverse; text-align: right; }
.why__item:nth-child(even) .why__n { text-align: right; }
.why__item:nth-child(even) .why__t { color: transparent; -webkit-text-stroke: 1px var(--ink); }
.why__item.is-in .why__t { animation: whyIn 1s var(--ease) both; }
@keyframes whyIn { from { opacity: 0; transform: translateY(40%); } to { opacity: 1; transform: none; } }
.js .why__item:not(.is-in) .why__t { opacity: 0; }
.reduced .why__item .why__t { opacity: 1 !important; animation: none !important; }

/* =====================================================================
   LIVE SESSIONS
   ===================================================================== */
.sessions__grid { display: grid; gap: clamp(40px, 5vw, 64px); }
.video { position: relative; aspect-ratio: 16 / 9; background: var(--bg-2); overflow: hidden; }
.video__facade { position: absolute; inset: 0; width: 100%; height: 100%; display: block; text-align: left; cursor: pointer; }
.video__facade img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter .9s var(--ease); }
.video__facade::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(9,8,11,.35), rgba(9,8,11,0) 45%); }
.video__facade:hover img { transform: scale(1.04); filter: none; }
.video__play { position: absolute; left: 50%; top: 50%; z-index: 1; width: clamp(92px, 14vw, 140px); aspect-ratio: 1; transform: translate(-50%, -50%); display: grid; place-items: center; }
.video__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 14s linear infinite; }
.video__ring text { fill: var(--ink); font-family: var(--mono); font-size: 9.2px; letter-spacing: .18em; }
@keyframes spin { to { transform: rotate(360deg); } }
.video__tri { width: 44%; aspect-ratio: 1; border-radius: 50%; background: var(--ink); position: relative; transition: transform .5s var(--ease), background-color .3s; }
.video__tri::after { content: ""; position: absolute; left: 54%; top: 50%; transform: translate(-50%, -50%); border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent var(--bg); }
.video__facade:hover .video__tri { transform: scale(1.12); background: var(--acc); }
.video__meta { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; }
.video__title { margin: 0; font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; font-size: clamp(22px, 3.2vw, 42px); line-height: 1; }
.video__sub { margin: 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 20px; color: var(--ink-2); }
.video__sub .link-arrow { color: var(--ink); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.tracks__label { display: flex; justify-content: space-between; margin: 0 0 12px; color: var(--ink-2); }
.tracks__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.track { border-bottom: 1px solid var(--line); }
.track__btn { width: 100%; display: grid; grid-template-columns: 2.4em 1fr auto; align-items: center; gap: 12px; padding: 18px 0; text-align: left; }
.track__n { color: var(--ink-3); }
.track__title { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.track__name { font-weight: 700; text-transform: uppercase; letter-spacing: -.015em; font-size: clamp(18px, 2vw, 26px); line-height: 1.05; transition: color .3s; }
.track__detail { color: var(--ink-2); white-space: normal; }
.track__icon { width: 40px; height: 40px; border: 1px solid var(--line); display: grid; place-items: center; transition: background-color .3s, border-color .3s; }
.track__icon::after { content: ""; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent var(--ink); margin-left: 2px; }
.track__btn:hover .track__name { color: var(--acc); }
.track__btn:hover .track__icon { background: var(--ink); border-color: var(--ink); }
.track__btn:hover .track__icon::after { border-left-color: var(--bg); }
.track.is-open .track__icon { background: var(--acc); border-color: var(--acc); }
.track.is-open .track__icon::after { border: 0; width: 10px; height: 10px; margin: 0; background: linear-gradient(90deg, var(--bg) 35%, transparent 35% 65%, var(--bg) 65%); }
.track__player { height: 0; overflow: hidden; transition: height .6s var(--ease); }
.track.is-open .track__player { height: 182px; }
.track__player iframe { width: 100%; height: 166px; border: 0; display: block; }
.tracks__more { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 24px; }

/* =====================================================================
   B2B
   ===================================================================== */
.b2b { position: relative; height: 90vh; height: 90svh; min-height: 520px; overflow: hidden; display: grid; place-items: center; }
.b2b__media { position: absolute; inset: -12% 0; }
.b2b__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; }
.b2b::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, var(--bg) 0%, rgba(9,8,11,.2) 25%, rgba(9,8,11,.2) 75%, var(--bg) 100%); }
.b2b__text { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.b2b__word { font-size: clamp(110px, 34vw, 480px); line-height: .8; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 2px var(--ink); }
.b2b__meta { display: flex; gap: 16px; align-items: center; color: var(--ink); }
.b2b__arrows { color: var(--acc); font-size: 16px; }

/* =====================================================================
   FECHAS
   ===================================================================== */
.gigs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.gig { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.gig__date { grid-row: span 2; display: flex; flex-direction: column; align-items: flex-start; min-width: 64px; }
.gig__day { font-weight: 800; font-size: 52px; line-height: .9; letter-spacing: -.02em; }
.gig__month { color: var(--ink-2); }
.gig__where { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.gig__club { font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; font-size: clamp(20px, 3.2vw, 44px); line-height: 1; }
.gig__city { color: var(--ink-2); }
.gig__cta { justify-self: start; }
.gig__tag { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 1px solid var(--line); color: var(--ink-2); }
.gig--past { opacity: .42; }
.gig--past .gig__club { text-decoration: line-through; text-decoration-color: var(--acc); text-decoration-thickness: 2px; }
.dates__past { margin-top: 56px; }
.dates__past summary { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; cursor: pointer; list-style: none; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.dates__past summary::-webkit-details-marker { display: none; }
.dates__past summary::after { content: "+"; font-size: 18px; color: var(--acc); transition: transform .4s var(--ease); }
.dates__past[open] summary::after { transform: rotate(45deg); }

.soon { position: relative; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(36px, 6vw, 80px) 0; display: grid; gap: 28px; }
.soon__text { margin: 0; font-size: clamp(34px, 8.6vw, 132px); line-height: .9; }
.soon__text em { color: transparent; -webkit-text-stroke: 1px var(--ink); }
.soon__caret { display: inline-block; width: .12em; height: .72em; margin-left: .08em; background: var(--acc); vertical-align: 0; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.soon__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.eq { display: flex; align-items: flex-end; gap: 3px; height: 26px; }
.eq i { width: 3px; background: var(--acc); animation: eq 1s ease-in-out infinite alternate; }
.eq i:nth-child(1) { animation-duration: .9s; } .eq i:nth-child(2) { animation-duration: .6s; } .eq i:nth-child(3) { animation-duration: 1.1s; }
.eq i:nth-child(4) { animation-duration: .7s; } .eq i:nth-child(5) { animation-duration: 1s; } .eq i:nth-child(6) { animation-duration: .8s; }
@keyframes eq { from { height: 12%; } to { height: 100%; } }
.soon__meta { display: flex; align-items: center; gap: 16px; color: var(--ink-2); }

/* =====================================================================
   GALERÍA (mosaico asimétrico, columnas desplazadas)
   ===================================================================== */
.gallery__grid { display: flex; align-items: flex-start; gap: 8px; }
.gallery__col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.gallery__col:nth-child(2) { margin-top: 18vw; }
.shot { position: relative; display: block; width: 100%; overflow: hidden; background: var(--bg-2); cursor: zoom-in; }
.shot img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); filter: grayscale(1) contrast(1.18) brightness(.92); transition: opacity 1s var(--ease), transform 1.4s var(--ease), filter .8s var(--ease); }
.shot img.is-loaded { opacity: 1; transform: scale(1); }
.shot:hover img, .shot:focus-visible img { transform: scale(1.04); filter: none; }
.shot__n { position: absolute; left: 10px; top: 10px; color: var(--ink); opacity: 0; transition: opacity .4s; }
.shot:hover .shot__n, .shot:focus-visible .shot__n { opacity: 1; }

.lightbox { position: fixed; inset: 0; z-index: 220; background: rgba(9, 8, 11, .97); display: grid; place-items: center; padding: 64px 12px; opacity: 0; transition: opacity .4s ease; }
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 100%; max-height: 100%; }
.lightbox__fig img { max-width: min(100%, var(--max-w, 100%)); max-height: calc(100svh - 150px); width: auto; height: auto; object-fit: contain; }
.lightbox__fig figcaption { color: var(--ink-2); text-align: center; }
.lightbox__btn { position: absolute; color: var(--ink); height: 46px; min-width: 46px; display: grid; place-items: center; transition: color .3s; }
.lightbox__btn:hover { color: var(--acc); }
.lightbox__close { top: 10px; right: var(--gutter); padding: 0 6px; }
.lightbox__prev, .lightbox__next { bottom: 12px; font-size: 20px; }
.lightbox__prev { left: var(--gutter); }
.lightbox__next { right: var(--gutter); }
.lightbox__count { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); color: var(--ink-2); }

/* =====================================================================
   BOOKING
   ===================================================================== */
.booking { background: var(--bg-2); }
.booking__title { margin: 0 0 clamp(40px, 6vw, 90px); font-size: clamp(42px, 11vw, 190px); line-height: .88; }
.booking__grid { display: grid; gap: 64px; }
.booking__lead { margin: 0 0 28px; max-width: 44ch; color: var(--ink-2); font-size: 16px; }
.booking__mail {
  display: inline-block; font-weight: 600; letter-spacing: -.03em; font-size: clamp(22px, 6.4vw, 54px); line-height: 1.05;
  word-break: break-all; border-bottom: 1px solid var(--line); padding-bottom: 6px; transition: color .3s, border-color .3s;
}
.booking__mail:hover { color: var(--acc); border-color: var(--acc); }
.booking__btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0 34px; }
.booking__notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; color: var(--ink-2); }
.booking__notes li { display: flex; gap: 12px; align-items: baseline; }
.booking__notes li:first-child { color: var(--ink); }
.booking__dot { flex-shrink: 0; width: 6px; height: 6px; background: var(--acc); transform: translateY(-1px); }

.form { display: grid; gap: 24px; }
.form__row { display: grid; gap: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label { color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(243, 241, 244, .28); border-radius: 0;
  padding: 10px 0 12px; font-family: var(--sans); font-size: 20px; line-height: 1.25; color: var(--ink); letter-spacing: -.01em;
  transition: border-color .3s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; font-size: 18px; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 6px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 26px; }
.field select option { background: var(--bg-2); color: var(--ink); font-size: 15px; }
.field input[type="date"] { color-scheme: dark; min-height: 49px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--acc); }
.field.is-invalid input, .field.is-invalid select { border-bottom-color: #ff6b8a; }
.field ::placeholder { color: var(--ink-3); }
.form__status { margin: 0; min-height: 1.4em; color: var(--acc); }
.form__status.is-error { color: #ff8fa6; }
.form__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.form__actions .btn { flex: 1 1 auto; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer { position: relative; padding: clamp(72px, 10vw, 140px) var(--gutter) calc(22px + env(safe-area-inset-bottom)); overflow: hidden; }
.footer__top { display: flex; flex-direction: column; gap: 26px; padding-bottom: 46px; border-bottom: 1px solid var(--line); }
.footer__claim { margin: 0; font-weight: 700; text-transform: uppercase; letter-spacing: -.02em; font-size: clamp(20px, 4vw, 48px); line-height: 1.05; }
.footer__claim s { color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--acc); text-decoration-thickness: 2px; font-weight: 500; }
.footer__claim em { color: var(--acc); }
.footer__up { align-self: flex-start; color: var(--ink-2); transition: color .3s; }
.footer__up:hover { color: var(--acc); }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 20px; padding: 46px 0; }
.footer__col { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer__col:first-child { grid-column: span 2; }
.footer__h { margin: 0 0 4px; color: var(--acc); }
.footer__col a { font-weight: 600; font-size: 20px; letter-spacing: -.02em; line-height: 1.15; transition: color .3s; display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.footer__col a .mono { color: var(--ink-3); transition: color .3s; letter-spacing: .08em; }
.footer__col a:hover, .footer__col a:hover .mono { color: var(--acc); }
.footer__logo { width: 100%; height: auto; color: var(--ink); margin: 10px 0 22px; }
.footer__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; color: var(--ink-3); }

/* ---------- cursor ---------- */
.cursor { display: none; }

/* =====================================================================
   TABLET Y ESCRITORIO
   ===================================================================== */
@media (min-width: 700px) {
  .form__row { grid-template-columns: 1fr 1fr; }
  .gallery__grid, .gallery__col { gap: 14px; }
  .gallery__col:nth-child(2) { margin-top: 12vw; }
  .gallery__col:nth-child(3) { margin-top: 4vw; }
  .gig { grid-template-columns: 110px 1fr auto; padding: 22px 0; }
  .gig__date { grid-row: auto; }
  .gig__day { font-size: 68px; }
  .gig__cta { justify-self: end; }
  .footer__cols { grid-template-columns: 2fr 1fr 1.4fr; }
  .footer__col:first-child { grid-column: auto; }
  .footer__top { flex-direction: row; justify-content: space-between; align-items: flex-end; }
  .footer__up { align-self: auto; }
}

@media (min-width: 900px) {
  :root { --header-h: 72px; }
  .mono { font-size: 11.5px; }
  .header__nav { display: flex; gap: 30px; position: absolute; left: 50%; transform: translateX(-50%); }
  .header__nav a { position: relative; color: var(--ink-2); transition: color .3s; padding: 6px 0; font-family: var(--mono); }
  .header__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--acc); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
  .header__nav a:hover { color: var(--ink); }
  .header__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
  .header__cta { display: inline-flex; }
  .burger { display: none; }
  .header__iso { width: 26px; }

  /* portada */
  .hero__brand { width: clamp(340px, 32vw, 520px); }
  .hero__foot { padding-bottom: 30px; align-items: center; }
  .hero__credit { flex: 1; flex-direction: row; gap: 26px; }
  .claim { font-size: 13px; letter-spacing: .1em; }
  .claim__new { display: inline-block; margin-left: .8em; }
  .hero__scroll { display: block; }
  .hero__links { flex-direction: row; gap: 28px; flex: 1; justify-content: flex-end; }

  .duo__grid { grid-template-columns: 1.6fr 1fr; }
  .duo__text { font-size: clamp(40px, 4.6vw, 80px); }
  .duo__photo { width: 100%; }

  .sides { height: min(62vw, 800px); gap: 0; }
  .side__body { padding: 32px; }
  .side__bio { display: block; transition: opacity .5s; }
  .side.is-active { flex-grow: 1.7; }
  .sides.has-active .side:not(.is-active) .side__bio { opacity: 0; }
  .sides__b2b { top: 50%; transform: translate(-50%, -50%); padding: 7px 12px; }
  .sides.a-active .sides__b2b { left: 63%; }
  .sides.b-active .sides__b2b { left: 37%; }
  .sides__hint { display: none; }

  .why__item { gap: 30px; }
  
  .sessions__grid { grid-template-columns: 1.7fr 1fr; align-items: start; }

  .booking__grid { grid-template-columns: 1fr 1.1fr; gap: clamp(60px, 8vw, 140px); }
  .booking__mail { word-break: normal; }
  .form__actions .btn { flex: none; }

  .footer__col a { font-size: 26px; }
}

/* cursor personalizado y efectos solo con ratón */
@media (hover: hover) and (pointer: fine) {
  .has-cursor, .has-cursor * { cursor: none !important; }
  .has-cursor .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 260; pointer-events: none; mix-blend-mode: difference; }
  .cursor__dot { position: fixed; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: #fff; will-change: transform; }
  .cursor__ring {
    position: fixed; left: -16px; top: -16px; width: 32px; height: 32px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.6); display: grid; place-items: center; will-change: transform;
    transition: width .45s var(--ease), height .45s var(--ease), left .45s var(--ease), top .45s var(--ease), background-color .3s, border-color .3s;
  }
  .cursor__label { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #000; opacity: 0; transition: opacity .25s; }
  .cursor.is-hover .cursor__ring { width: 56px; height: 56px; left: -28px; top: -28px; background: #fff; border-color: #fff; }
  .cursor.is-label .cursor__ring { width: 84px; height: 84px; left: -42px; top: -42px; background: #fff; border-color: #fff; }
  .cursor.is-label .cursor__label { opacity: 1; }
  .cursor.is-label .cursor__dot, .cursor.is-hover .cursor__dot { opacity: 0; }
  .cursor.is-hidden { opacity: 0; }

  .why__item:hover .why__t { color: var(--acc); -webkit-text-stroke-color: var(--acc); transform: translateX(16px); }
  .why__item:nth-child(even):hover .why__t { transform: translateX(-16px); }
  .why__item:hover .why__n { transform: rotate(-8deg); }
  .duo__photo:hover img { filter: none; }
}

/* movimiento reducido: todo quieto y legible */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .grain { animation: none; }
}
