/* =========================================================
   BIPOLAR DISORDER — Experiencia scroll tipo cómic
   Mobile-first · GSAP + ScrollTrigger + Lenis
   ========================================================= */

@font-face { font-family: "Big Shoulders Display"; font-weight: 900; font-display: swap;
  src: url("../fonts/big-shoulders-display-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 400; font-display: swap;
  src: url("../fonts/archivo-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 700; font-display: swap;
  src: url("../fonts/archivo-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 800; font-display: swap;
  src: url("../fonts/archivo-latin-800-normal.woff2") format("woff2"); }

:root {
  --ink: #0A0A0B;
  --bone: #F2F0EB;
  --gray: #8E8E93;      /* único tono extra: rojo, negro y gris */
  --red: #E11D2E;
  --red-d: #B3121F;
  --b: clamp(4px, 0.9vmin, 7px);          /* grosor del borde de viñeta */
  --display: "Big Shoulders Display", Impact, "Arial Narrow", sans-serif;
  --body: "Archivo", system-ui, sans-serif;
  --vh: 100vh;
  --safe-top: env(safe-area-inset-top, 0px);
}
@supports (height: 100lvh) { :root { --vh: 100lvh; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--ink); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--ink); color: var(--bone);
  font-family: var(--body); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
img, video, svg { display: block; max-width: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
.mirror, .mirror-h { display: inline-block; transform: scaleX(-1); }
em { font-style: normal; }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 100; background: var(--ink); display: grid; place-content: center; gap: 18px; transition: opacity .6s, visibility .6s; }
.loader__logo { width: min(62vw, 340px); color: var(--red); animation: blink 1s infinite; }
.bd-logo { display: block; width: 100%; height: auto; aspect-ratio: 2797/1170; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.loader__bar { width: 160px; height: 3px; background: #222; margin: 0 auto; overflow: hidden; }
.loader__bar i { display: block; height: 100%; width: 0; background: var(--red); transition: width .3s; }
body:not(.is-loading) .loader { opacity: 0; visibility: hidden; }

/* ---------- UI fija ---------- */
.ui-top { position: fixed; z-index: 50; top: calc(10px + var(--safe-top)); left: 12px; right: 12px; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.ui-top > * { pointer-events: auto; }
.logo { display: block; width: 92px; color: var(--bone); mix-blend-mode: difference; }
.pill { display: flex; background: var(--bone); border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.pill__item { font: 800 10px/1 var(--body); letter-spacing: .08em; padding: 9px 11px; text-decoration: none; color: #8a8780; transition: color .3s, background .3s; }
.pill__item.is-active { color: var(--ink); }
.pill__item.is-active::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; background: var(--red); vertical-align: 1px; }
/* Botón fijo para escanear una camiseta (visible desde el inicio) */
.scan-fab { position: fixed; z-index: 50; left: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px 11px 12px; background: var(--ink); color: var(--bone); text-decoration: none; font: 800 12px/1 var(--body); letter-spacing: .18em; border: 3px solid var(--red); box-shadow: 4px 4px 0 var(--red); transition: transform .15s, box-shadow .15s, opacity .3s; }
.scan-fab.is-hidden { opacity: 0; pointer-events: none; transform: translateY(16px); }
.scan-fab svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.scan-fab:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--red); }
.scan-fab:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--red); }
.is-loading .scan-fab { opacity: 0; pointer-events: none; }
.sound { position: fixed; z-index: 50; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); width: 34px; height: 26px; display: flex; align-items: flex-end; gap: 3px; }  /* sin blend: sobre el rojo invertía a turquesa */
.sound i { flex: 1; background: var(--gray); height: 30%; transition: height .2s; }
.sound[aria-pressed="true"] i { animation: eq .5s ease-in-out infinite alternate; }
.sound i:nth-child(2) { animation-delay: -.2s !important; height: 60%; }
.sound i:nth-child(3) { animation-delay: -.35s !important; height: 45%; }
.sound i:nth-child(4) { animation-delay: -.1s !important; height: 20%; }
.progress { position: fixed; z-index: 49; right: 5px; top: 22%; height: 56%; width: 3px; background: rgba(142,142,147,.28); }
.progress i { display: block; width: 100%; height: 100%; background: var(--gray); transform-origin: top; transform: scaleY(0); }
.flash { position: fixed; inset: 0; z-index: 48; background: #fff; opacity: 0; pointer-events: none; }

/* ---------- Escena base ---------- */
.scene { position: relative; }
.stage { position: relative; height: 100vh; height: var(--vh); width: 100%; overflow: hidden; isolation: isolate; }
.paper { background: var(--bone); color: var(--ink); }
.red { background: var(--red-d); color: var(--bone); }
.dark { background: var(--ink); }
.halftone::before { content: ""; position: absolute; inset: -10%; z-index: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(0,0,0,.32) 1.1px, transparent 1.4px) 0 0/7px 7px; }
.paper::after { content: ""; position: absolute; inset: 0; z-index: 30; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .12 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.cam { position: absolute; inset: 0; transform-origin: 50% 50%; will-change: transform; }

/* Viñeta: borde negro hecho con capa exterior + interior (funciona con clip-path) */
.panel { position: absolute; margin: 0; background: var(--ink); padding: var(--b);
  left: var(--l); top: var(--t); width: var(--w); height: var(--h); clip-path: var(--shape, none); will-change: transform, clip-path; }
.panel > .in { position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--bone); clip-path: var(--shape, none); }
.panel img, .panel video { width: 100%; height: 100%; object-fit: cover; }
.panel .px { width: 120%; height: 120%; margin: -10% 0 0 -10%; will-change: transform; }
.slant  { --shape: polygon(0 0, 100% 0, 100% 86%, 0 100%); }
.slant2 { --shape: polygon(0 8%, 100% 0, 100% 100%, 0 92%); }
.slant3 { --shape: polygon(0 0, 100% 10%, 100% 100%, 0 100%); }

/* Cuadro de narración */
.narr { position: absolute; z-index: 20; left: var(--l); top: var(--t); width: var(--w, auto); max-width: 330px;
  background: var(--bone); color: var(--ink); border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); padding: 11px 13px; }
.narr p { margin: 0; font: 700 clamp(11px, 3vw, 13.5px)/1.4 var(--body); letter-spacing: .02em; text-transform: uppercase; }
.narr em { color: var(--red); }
.s4 .narr em, .s3 .narr em { color: var(--red); }

.chapter { position: absolute; z-index: 15; font: 900 clamp(40px, 13vw, 120px)/.8 var(--display); color: var(--ink); left: var(--l); top: var(--t); }
.chapter span { display: block; font: 800 11px/1 var(--body); letter-spacing: .3em; margin-bottom: 6px; color: var(--red); }

.cover { position: absolute; inset: 0; z-index: 40; pointer-events: none; }
.cover--red { background: var(--red-d); clip-path: circle(0% at 50% 50%); }
.cover--wipe { background: var(--ink); clip-path: polygon(0 0, 0 0, 0 0, 0 0); }

.vinyl { position: absolute; z-index: 35; left: 50%; top: 50%; width: min(56vw, 46vh); aspect-ratio: 1; margin: calc(min(56vw, 46vh) / -2) 0 0 calc(min(56vw, 46vh) / -2); }
.vinyl svg { width: 100%; height: 100%; animation: spin 2.4s linear infinite; filter: drop-shadow(6px 8px 0 rgba(0,0,0,.35)); }

/* ---------- 0 · INTRO ---------- */
.s0 .stage { background: var(--bone); }
.s0-frame { position: absolute; inset: 0; background: var(--ink); padding: 0; transform-origin: 50% 40%; will-change: transform; }
.s0-inner { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(circle at 50% 46%, #2a0b10 0, var(--ink) 64%); display: grid; place-items: center; }
.s0-title { position: relative; z-index: 3; text-align: center; }
.s0-logo { position: relative; margin: 0 auto; width: min(88vw, 760px); aspect-ratio: 2797/1170; color: var(--bone); }
.s0-logo .lg { position: absolute; inset: 0; width: 100%; height: 100%; }
.lg-r { color: var(--red); mix-blend-mode: screen; animation: gl1 2.2s infinite steps(1); }
.lg-v { color: var(--gray); mix-blend-mode: screen; animation: gl2 2.9s infinite steps(1); }
.kicker { margin: 0 0 14px; font: 800 10px/1 var(--body); letter-spacing: .35em; color: #a7a39b; }
.s0-sub { margin: 18px 0 0; font: 800 12px/1 var(--body); letter-spacing: .5em; color: var(--gray); }
.scroll-cue { position: absolute; bottom: calc(80px + env(safe-area-inset-bottom, 0px));  /* por encima del botón ESCANEAR */ left: 0; right: 0; text-align: center; margin: 0; font: 800 11px/1 var(--body); letter-spacing: .35em; color: var(--gray); animation: blink 1.6s infinite; z-index: 3; }
.scroll-cue span { display: inline-block; animation: bob 1.2s ease-in-out infinite; }
.lasers { position: absolute; inset: 0; z-index: 1; }
.lasers i { position: absolute; bottom: -5%; left: 50%; width: 2px; height: 130%; transform-origin: 50% 100%; background: linear-gradient(to top, var(--c), transparent 85%); box-shadow: 0 0 12px var(--c); opacity: .75; transform: rotate(var(--r)); animation: sweep 3.2s ease-in-out infinite alternate; }
.lasers i:nth-child(2n) { animation-duration: 2.3s; animation-direction: alternate-reverse; }
.eq { position: absolute; z-index: 2; bottom: 112px; left: 50%; transform: translateX(-50%); display: flex; gap: 4px; height: 40px; align-items: flex-end; }
.eq i { width: 6px; background: var(--gray); animation: eq .45s ease-in-out infinite alternate; }
.eq i:nth-child(3n) { background: var(--red); animation-duration: .38s; }
.eq i:nth-child(2n) { animation-duration: .52s; animation-delay: -.2s; }
.eq i:nth-child(5n) { animation-duration: .3s; animation-delay: -.1s; }

.glitch { position: relative; }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; inset: 0; pointer-events: none; }
.glitch::before { color: var(--red); transform: translate(-3px, 0); mix-blend-mode: screen; clip-path: inset(0 0 55% 0); animation: gl1 2.2s infinite steps(1); }
.glitch::after { color: var(--gray); transform: translate(3px, 0); mix-blend-mode: screen; clip-path: inset(60% 0 0 0); animation: gl2 2.9s infinite steps(1); }

/* ---------- 1 · ORIGEN (móvil) ---------- */
.s1-big { --l: 4%; --t: 11%; --w: 92%; --h: 56%; z-index: 2; }
.s1-a   { --l: 3%; --t: 52%; --w: 54%; --h: 33%; z-index: 4; }
.s1-b   { --l: 46%; --t: 8%; --w: 51%; --h: 21%; z-index: 5; }
.s1-c   { --l: 40%; --t: 62%; --w: 57%; --h: 30%; z-index: 3; --shape: polygon(0 12%, 100% 0, 100% 100%, 0 100%); }
.s1-chapter { --l: 6%; --t: 88%; z-index: 6; }
.s1-n1 { --l: 8%; --t: 72%; --w: 70%; }
.s1-n2 { --l: 22%; --t: 16%; --w: 70%; }
.s1-n3 { --l: 10%; --t: 44%; --w: 66%; }

/* ---------- 2 · FECHAS ---------- */
.s2-bg   { --l: -2%; --t: -2%; --w: 104%; --h: 52%; z-index: 1; }
.s2-title { position: absolute; z-index: 6; left: 5%; top: 40%; margin: 0; }
.slab span { display: table; font: 900 clamp(54px, 17vw, 170px)/.82 var(--display); background: var(--ink); color: var(--bone); padding: .02em .12em .06em; margin-bottom: 4px; }
.slab span:last-child { background: var(--bone); color: var(--ink); margin-left: .5em; }
.flyer { position: absolute; margin: 0; z-index: 5; width: var(--w); left: var(--l); top: var(--t); aspect-ratio: 9/14; background: var(--bone); padding: 5px; border: 3px solid var(--ink); box-shadow: 6px 6px 0 rgba(0,0,0,.45); }
.flyer img { width: 100%; height: 100%; object-fit: cover; }
.flyer::before { content: ""; position: absolute; top: -10px; left: 50%; width: 46%; height: 18px; transform: translateX(-50%) rotate(-3deg); background: rgba(242,240,235,.75); }
.stamp { position: absolute; right: -10px; bottom: 12px; font: 900 clamp(15px, 4.4vw, 22px)/1 var(--display); color: var(--bone); background: var(--red); border: 3px solid var(--ink); padding: 3px 8px; transform: rotate(-6deg); }
.s2-f1 { --l: 4%;  --t: 9%;  --w: 36%; }
.s2-f2 { --l: 34%; --t: 15%; --w: 34%; }
.s2-f3 { --l: 62%; --t: 8%;  --w: 34%; }
.s2-crew { --l: 3%; --t: 60%; --w: 56%; --h: 26%; z-index: 4; }
.s2-club { --l: 44%; --t: 64%; --w: 54%; --h: 32%; z-index: 3; }
.s2-n1 { --l: 10%; --t: 80%; --w: 74%; }
.s2-n2 { --l: 18%; --t: 56%; --w: 70%; }
.cover--wipe { z-index: 40; }

/* ---------- 3 · PISTA ---------- */
.s3-bg { position: absolute; inset: -8%; z-index: 0; }
.s3-bg img { width: 100%; height: 100%; object-fit: cover; filter: invert(1) hue-rotate(180deg) saturate(1.3); }
.beams { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; mix-blend-mode: screen; }
.beams line { stroke-width: .35; vector-effect: non-scaling-stroke; stroke-width: 3px; }
.beams-l line { stroke: var(--gray); filter: drop-shadow(0 0 4px var(--gray)); }
.beams-r line { stroke: var(--red); filter: drop-shadow(0 0 4px var(--red)); }
.beams g { transform-box: view-box; }
.beams-l { transform-origin: 0 100%; } .beams-r { transform-origin: 100% 100%; }
.mega { position: absolute; z-index: 3; margin: 0; left: 0; right: 0; top: 24%; text-align: center; font: 900 clamp(90px, 34vw, 380px)/.78 var(--display); color: var(--bone); letter-spacing: -.01em; }
.mega span { display: block; }
.s3-title { -webkit-text-stroke: 0; text-shadow: 6px 6px 0 var(--red-d); }
.crowd { position: absolute; left: -6%; right: -6%; bottom: -2%; z-index: 4; pointer-events: none; }
.crowd img { width: 100%; height: auto; }
.crowd-1 { z-index: 7; bottom: -6%; } .crowd-1 img { animation: jump .46s ease-in-out infinite alternate; }
.crowd-2 { z-index: 6; bottom: 5%; } .crowd-2 img { animation: jump .46s .23s ease-in-out infinite alternate; filter: brightness(0) invert(13%) sepia(80%) saturate(2400%) hue-rotate(255deg); }
.s3-dj { --l: 50%; --t: 9%; --w: 46%; --h: 24%; z-index: 8; }
.strobe { position: absolute; inset: 0; z-index: 9; background: #fff; opacity: 0; pointer-events: none; }
.strobe.on { animation: strobe .12s steps(1) infinite; }
.s3-n1 { --l: 6%; --t: 12%; --w: 52%; }
.s3-n2 { --l: 30%; --t: 58%; --w: 64%; }

/* ---------- 4 · VJ ---------- */
.tunnel { position: absolute; inset: 0; z-index: 0; perspective: 600px; }
.tunnel i { position: absolute; left: 50%; top: 50%; width: 80vmin; height: 80vmin; margin: -40vmin 0 0 -40vmin; border: 3px solid var(--gray); animation: tun 3.2s linear infinite; opacity: 0; }
.tunnel i:nth-child(2n) { border-color: var(--red); }
.tunnel i:nth-child(1){animation-delay:0s}.tunnel i:nth-child(2){animation-delay:-.4s}.tunnel i:nth-child(3){animation-delay:-.8s}.tunnel i:nth-child(4){animation-delay:-1.2s}
.tunnel i:nth-child(5){animation-delay:-1.6s}.tunnel i:nth-child(6){animation-delay:-2s}.tunnel i:nth-child(7){animation-delay:-2.4s}.tunnel i:nth-child(8){animation-delay:-2.8s}
.screen { background: var(--ink); }
.screen .in { background: #080609; }
.screen video { object-fit: contain; }
.s4-v1 { --l: 4%;  --t: 12%; --w: 52%; --h: 32%; z-index: 3; }
.s4-v2 { --l: 60%; --t: 12%; --w: 34%; --h: 42%; z-index: 4; }
.s4-v3 { --l: 8%;  --t: 43%; --w: 36%; --h: 37%; z-index: 4; }
.s4-a  { --l: 50%; --t: 52%; --w: 46%; --h: 32%; z-index: 5; }
.s4-b  { --l: 26%; --t: 34%; --w: 40%; --h: 30%; z-index: 6; }
.s4-title { top: auto; bottom: 9%; z-index: 7; font-size: clamp(64px, 21vw, 260px); }
.s4-n1 { --l: 6%; --t: 77%; --w: 56%; }
.hold { position: absolute; z-index: 25; right: 7%; top: 74%; width: 104px; height: 104px; border-radius: 50%; background: var(--bone); color: var(--ink); border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
  display: grid; place-items: center; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.hold span { font: 800 11px/1.15 var(--body); text-align: center; letter-spacing: .04em; }
.hold svg { position: absolute; inset: -9px; width: calc(100% + 18px); height: calc(100% + 18px); transform: rotate(-90deg); pointer-events: none; }
.hold__track { fill: none; stroke: transparent; stroke-width: 5; }
.hold__fill { fill: none; stroke: var(--red); stroke-width: 6; stroke-dasharray: 289; stroke-dashoffset: 289; }
.hold::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 3px solid var(--bone); animation: ping 1.6s ease-out infinite; pointer-events: none; }
.drop { position: absolute; z-index: 24; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; opacity: 0; }
.drop__word { margin: 0; font: 900 clamp(110px, 40vw, 420px)/.8 var(--display); color: var(--bone); }
.drop__date { margin: 10px 0 0; font: 800 12px/1 var(--body); letter-spacing: .3em; color: var(--bone); background: var(--red); padding: 8px 10px; justify-self: center; }
.is-holding .s4-cam { animation: shake .09s infinite; }
.is-holding .tunnel i { animation-duration: .9s; }
.is-dropped .drop { opacity: 1; }
.is-dropped .s4-cam { filter: saturate(1.6) contrast(1.2); }

/* ---------- 5 · MANIFIESTO ---------- */
.card { position: absolute; z-index: 2; left: 7%; right: 7%; top: 13%; bottom: 13%; background: var(--bone); color: var(--ink); padding: 18px 16px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 8px 8px 0 rgba(0,0,0,.35); }
.card__top, .card__foot { display: flex; justify-content: space-between; align-items: center; font: 800 9px/1 var(--body); letter-spacing: .2em; color: var(--red); }
.card__top .bd-logo { width: 74px; color: var(--ink); }
.card__foot { justify-content: center; }
.card__text { margin: 0; text-align: center; font: 900 clamp(38px, 11.4vw, 92px)/.86 var(--display); }
.card__text span { display: inline-block; }
.card__text em { color: var(--red); }
.s5-vinyl { z-index: 3; width: min(40vw, 30vh); margin: calc(min(40vw, 30vh) / -2) 0 0 calc(min(40vw, 30vh) / -2); }

/* ---------- 6 · COLECCIÓN ---------- */
.merch { position: relative; --name-fs: clamp(60px, min(27vw, calc(190vw / var(--len, 7))), 300px); }  /* --len: letras del nombre (main.js) */
.merch__stage { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: calc(104px + var(--name-fs) * .62) 16px 40px; }
.merch__stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, rgba(0,0,0,.25) 1.1px, transparent 1.4px) 0 0/7px 7px; }
.merch__kicker { position: absolute; top: 82px; left: 0; right: 0; text-align: center; margin: 0; font: 800 10px/1 var(--body); letter-spacing: .35em; z-index: 2; }
.merch__name { position: absolute; z-index: 1; top: 104px; left: 0; right: 0; margin: 0; text-align: center; font: 900 var(--name-fs)/.8 var(--display); color: var(--bone); white-space: nowrap; padding: 0 4%; }
.merch__name span { display: inline-block; }
.tee3d { position: relative; z-index: 3; width: min(74vw, 44vh, 520px); aspect-ratio: 400/440; perspective: 1200px; }
.tee3d__spin { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.tee3d__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.tee3d__back { transform: rotateY(180deg); }
.tee-svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 18px 18px rgba(0,0,0,.35)); }
.tee-base { fill: var(--ink); stroke: #000; stroke-width: 2; }
.tee-back-txt { color: var(--bone); }
.tee-back-small { font: 800 11px var(--body); letter-spacing: .3em; fill: var(--red); }
/* Mockups reales (fotos sin fondo): cara delantera = espalda con el diseño, trasera = frente */
.tee-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 18px rgba(0,0,0,.35)); }
.tee3d.is-photo { aspect-ratio: 640 / 810; width: min(70vw, 48vh, 470px); }
.tee3d.is-photo .tee-svg { display: none; }
.tee-flip { position: absolute; z-index: 5; right: -6%; bottom: 6%; padding: 8px 10px; background: var(--ink); color: var(--bone); font: 800 10px/1 var(--body); letter-spacing: .14em; border: 2px solid var(--bone); box-shadow: 3px 3px 0 var(--ink); }
.tee-flip:active { transform: translate(1px, 1px); }
.tee3d__shadow { position: absolute; left: 15%; right: 15%; bottom: -6%; height: 6%; background: radial-gradient(closest-side, rgba(0,0,0,.45), transparent); }
.merch__specs { position: relative; z-index: 4; width: min(100%, 420px); margin-top: 14px; display: flex; justify-content: space-between; align-items: flex-end; pointer-events: none; }
.merch__specs p { margin: 0; font: 700 10px/1.3 var(--body); letter-spacing: .12em; color: var(--bone); }
.merch__specs b { font: 900 20px/1 var(--display); letter-spacing: .02em; color: var(--ink); background: var(--bone); padding: 2px 6px; }
.spec-r { text-align: right; }
.merch__ctrl[hidden] { display: none; }
.merch__ctrl { position: relative; z-index: 4; display: flex; align-items: center; gap: 18px; margin-top: 18px; }
.arrow { width: 50px; height: 50px; border-radius: 50%; background: var(--bone); color: var(--ink); display: grid; place-items: center; border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); transition: transform .15s; }
.arrow:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 3; }
.merch__count { font: 800 12px/1 var(--body); letter-spacing: .15em; }
.merch__opts { position: relative; z-index: 4; display: grid; gap: 12px; justify-items: center; margin-top: 20px; width: min(100%, 420px); }
.opt { display: grid; gap: 8px; justify-items: center; }
.opt__l { font: 800 10px/1 var(--body); letter-spacing: .22em; }
.opt__l b { font-weight: 800; }
.opt__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.opt__btn { min-width: 46px; height: 42px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: transparent; color: var(--bone); border: 2px solid var(--bone); font: 800 12px/1 var(--body); letter-spacing: .1em; transition: transform .15s; }
.opt__btn:active { transform: translate(1px, 1px); }
.opt__btn[aria-checked="true"] { background: var(--bone); color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.opt__sw { width: 18px; height: 18px; border: 2px solid var(--ink); box-shadow: 0 0 0 1px var(--bone); }
.opt__btn--sw { padding: 0 10px; }
.btn-buy { position: relative; z-index: 4; margin-top: 18px; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; background: var(--ink); color: var(--bone); font: 800 13px/1 var(--body); letter-spacing: .18em; padding: 16px 24px; border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--bone); transition: transform .15s, box-shadow .15s, background .2s; }
.btn-buy svg { width: 20px; height: 20px; fill: #25D366; flex: none; }
.btn-buy:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--bone); }
.btn-buy[aria-disabled="true"] { opacity: .75; box-shadow: 5px 5px 0 rgba(242,240,235,.4); }
.btn-buy.is-nudge { animation: nudge .4s; }
@keyframes nudge { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.btn-ar { position: relative; z-index: 4; margin-top: 14px; display: inline-block; text-decoration: none; color: var(--bone); font: 800 11px/1 var(--body); letter-spacing: .2em; padding: 12px 18px; border: 2px solid var(--bone); background: transparent; box-shadow: 4px 4px 0 var(--ink); transition: transform .15s, box-shadow .15s; }
.btn-ar:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.merch__note { position: relative; z-index: 4; margin: 28px 0 0; font: 700 9px/1.4 var(--body); letter-spacing: .2em; text-align: center; opacity: .85; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); padding: 56px 20px calc(48px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 14px; justify-items: start; border-top: var(--b) solid var(--bone); }
.footer__logo { width: min(78vw, 520px); color: var(--bone); }
.footer__claim { margin: 0; font: 700 12px/1.4 var(--body); letter-spacing: .15em; color: #a7a39b; }
.footer__ig { font: 900 34px/1 var(--display); text-decoration: none; color: var(--bone); border-bottom: 3px solid var(--red); }
.footer__yt { font: 900 22px/1 var(--display); text-decoration: none; color: var(--bone); border-bottom: 3px solid var(--gray); }
.footer__small { margin: 10px 0 0; font: 400 11px/1.4 var(--body); color: #77746e; }

/* =========================================================
   ESCRITORIO / HORIZONTAL — composiciones propias
   ========================================================= */
@media (min-aspect-ratio: 1/1) and (min-width: 768px) {
  .ui-top { left: 24px; right: 24px; top: 18px; }
  .logo { width: 124px; }
  .pill__item { font-size: 11px; padding: 11px 16px; }
  .narr { max-width: 380px; padding: 14px 18px; }
  .narr p { font-size: 14px; }

  .s1-big { --l: 5%; --t: 12%; --w: 46%; --h: 80%; }
  .s1-a   { --l: 44%; --t: 46%; --w: 27%; --h: 46%; }
  .s1-b   { --l: 49%; --t: 10%; --w: 30%; --h: 34%; }
  .s1-c   { --l: 68%; --t: 40%; --w: 28%; --h: 52%; }
  .s1-chapter { --l: 66%; --t: 14%; }
  .s1-n1 { --l: 9%; --t: 76%; --w: 30%; }
  .s1-n2 { --l: 56%; --t: 36%; --w: 26%; }
  .s1-n3 { --l: 70%; --t: 82%; --w: 24%; }

  .s2-bg { --l: -1%; --t: -2%; --w: 58%; --h: 104%; --shape: polygon(0 0, 100% 0, 86% 100%, 0 100%); }
  .s2-title { left: 46%; top: 8%; }
  .slab span { font-size: clamp(60px, 9vw, 150px); }
  .s2-f1 { --l: 6%;  --t: 14%; --w: 14%; }
  .s2-f2 { --l: 21%; --t: 30%; --w: 14%; }
  .s2-f3 { --l: 36%; --t: 12%; --w: 14%; }
  .s2-crew { --l: 52%; --t: 52%; --w: 24%; --h: 40%; }
  .s2-club { --l: 72%; --t: 44%; --w: 25%; --h: 50%; }
  .s2-n1 { --l: 8%; --t: 80%; --w: 34%; }
  .s2-n2 { --l: 54%; --t: 40%; --w: 26%; }

  .mega { top: 16%; font-size: clamp(120px, 22vw, 380px); }
  .mega span { display: inline-block; margin: 0 .08em; }
  .crowd { left: -2%; right: -2%; }
  .crowd img { width: 100%; }
  .crowd-2 { bottom: 0; } .crowd-1 { bottom: -18%; }
  .s3-dj { --l: 68%; --t: 12%; --w: 26%; --h: 34%; }
  .s3-n1 { --l: 6%; --t: 14%; --w: 26%; }
  .s3-n2 { --l: 64%; --t: 50%; --w: 28%; }

  .s4-v1 { --l: 5%;  --t: 12%; --w: 34%; --h: 46%; }
  .s4-v2 { --l: 62%; --t: 10%; --w: 32%; --h: 40%; }
  .s4-v3 { --l: 8%;  --t: 54%; --w: 26%; --h: 38%; }
  .s4-a  { --l: 66%; --t: 48%; --w: 28%; --h: 44%; }
  .s4-b  { --l: 36%; --t: 24%; --w: 28%; --h: 46%; }
  .s4-title { bottom: 4%; font-size: clamp(90px, 15vw, 260px); }
  .s4-n1 { --l: 36%; --t: 76%; --w: 26%; }
  .hold { right: auto; left: 30%; top: 58%; width: 120px; height: 120px; }

  .card { left: 28%; right: 28%; top: 10%; bottom: 10%; padding: 24px; }
  .card__text { font-size: clamp(40px, 4.6vw, 86px); }
  .s5-vinyl { width: 30vh; margin: -15vh 0 0 -15vh; }

  .merch__name { top: 96px; font-size: clamp(110px, 15vw, 300px); }
  /* dos columnas: camiseta a la izquierda, elección y compra a la derecha */
  .merch__stage { display: grid; grid-template-columns: auto minmax(300px, 400px); grid-auto-rows: min-content; column-gap: 6vw; align-content: center; justify-content: center; justify-items: center;
    padding-top: calc(96px + clamp(110px, 15vw, 300px) * .45); }
  .tee3d { width: min(52vh, 480px); grid-column: 1; grid-row: 1 / span 6; align-self: center; }
  .tee3d.is-photo { width: min(46vh, 430px); }
  .merch__specs, .merch__ctrl, .merch__opts, .btn-buy, .btn-ar, .merch__note { grid-column: 2; }
  .merch__specs { width: 100%; margin-top: 0; }
  .merch__specs b { font-size: 30px; }
  .footer { grid-template-columns: 1fr auto; align-items: end; padding: 80px 6vw 60px; }
  .footer__small { grid-column: 1 / -1; }
}

/* ---------- Keyframes ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes eq { from { height: 12%; } to { height: 100%; } }
@keyframes blink { 50% { opacity: .35; } }
@keyframes bob { 50% { transform: translateY(5px); } }
@keyframes sweep { from { transform: rotate(calc(var(--r) - 14deg)); } to { transform: rotate(calc(var(--r) + 14deg)); } }
@keyframes jump { from { transform: translateY(0); } to { transform: translateY(-3.5%); } }
@keyframes strobe { 0% { opacity: .9; } 50% { opacity: 0; } }
@keyframes tun { 0% { transform: translateZ(-1400px) rotate(0deg); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateZ(560px) rotate(45deg); opacity: 0; } }
@keyframes ping { from { transform: scale(1); opacity: .9; } to { transform: scale(1.5); opacity: 0; } }
@keyframes shake { 0% { transform: translate(3px, -2px) } 25% { transform: translate(-4px, 3px) } 50% { transform: translate(2px, 4px) } 75% { transform: translate(-3px, -3px) } }
@keyframes gl1 { 0%, 88%, 100% { transform: translate(-3px, 0); clip-path: inset(0 0 55% 0); } 90% { transform: translate(-9px, 2px); clip-path: inset(20% 0 40% 0); } 94% { transform: translate(6px, -2px); clip-path: inset(70% 0 5% 0); } }
@keyframes gl2 { 0%, 84%, 100% { transform: translate(3px, 0); clip-path: inset(60% 0 0 0); } 86% { transform: translate(10px, -1px); clip-path: inset(10% 0 70% 0); } 92% { transform: translate(-7px, 2px); clip-path: inset(40% 0 30% 0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}
