/* ════════════════════════════════════════════════════════════════
   ASBEL NAZAR — SITIO OFICIAL
   Dirección de arte: "Cinematic Subway"
   Negro azulado profundo · Rojo eléctrico · Blanco cálido
   Tipos: Big Shoulders Display / Archivo / Space Mono
   ════════════════════════════════════════════════════════════════ */

:root {
  --ink:      #0a0d10;
  --ink-2:    #10151a;
  --ink-3:    #171e25;
  --paper:    #f2ede4;
  --muted:    rgba(242, 237, 228, .55);
  --faint:    rgba(242, 237, 228, .28);
  --red:      #ff1f3d;
  --red-deep: #c40e2b;
  --teal:     #173238;
  --line:     rgba(242, 237, 228, .12);

  --font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-body:    "Archivo", "Helvetica Neue", sans-serif;
  --font-mono:    "Space Mono", "Courier New", monospace;

  --pad: clamp(1.25rem, 4vw, 4rem);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-pop: cubic-bezier(.68, -0.55, .265, 1.55);
}

/* ── Reset ────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--red); color: var(--ink); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--ink-3); border-radius: 99px; border: 2px solid var(--ink); }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

:focus-visible { outline: 2px dashed var(--red); outline-offset: 3px; }

/* En desktop con cursor personalizado ocultamos el nativo */
@media (hover: hover) and (pointer: fine) {
  body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }
}

/* ── Grain cinematográfico ────────────────────────────────────── */
.grain {
  position: fixed; inset: -5%;
  z-index: 200;
  pointer-events: none;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift .65s steps(2) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 1%); }
  50% { transform: translate(1%, -2%); }
  75% { transform: translate(-1%, -1%); }
  100% { transform: translate(2%, 2%); }
}

/* ── Barra de progreso ────────────────────────────────────────── */
.progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 3px; z-index: 150;
  pointer-events: none;
}
.progress span {
  display: block; height: 100%;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
}

/* ── Cursor personalizado ─────────────────────────────────────── */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; position: fixed; inset: 0; z-index: 300; pointer-events: none; }
  .cursor__dot {
    position: absolute; top: 0; left: 0;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--red);
    transform: translate(-50%, -50%);
  }
  .cursor__ring {
    position: absolute; top: 0; left: 0;
    width: 42px; height: 42px; border-radius: 50%;
    border: 1.5px solid rgba(255, 31, 61, .85);
    transform: translate(-50%, -50%);
    display: grid; place-items: center;
    transition: width .35s var(--ease-out), height .35s var(--ease-out),
                background-color .35s, border-color .35s;
  }
  .cursor__label {
    font-family: var(--font-mono); font-size: 10px; font-weight: 700;
    letter-spacing: .14em; color: var(--ink);
    opacity: 0; transform: scale(.5);
    transition: opacity .25s, transform .25s var(--ease-pop);
  }
  .cursor.is-link .cursor__ring { width: 64px; height: 64px; background: rgba(255, 31, 61, .14); }
  .cursor.is-play .cursor__ring { width: 88px; height: 88px; background: var(--red); border-color: var(--red); }
  .cursor.is-play .cursor__label { opacity: 1; transform: scale(1); }
  .cursor.is-down .cursor__ring { width: 30px; height: 30px; }
}

/* ── Botones ──────────────────────────────────────────────────── */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: .65em;
  padding: 1.05em 1.9em;
  font-family: var(--font-mono); font-size: .78rem; font-weight: 700;
  letter-spacing: .16em;
  border-radius: 999px;
  overflow: hidden;
  isolation: isolate;
  transition: color .4s var(--ease-out);
}
.btn svg { width: 12px; height: 12px; transition: transform .4s var(--ease-out); }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  transform: scaleY(0); transform-origin: top;
  transition: transform .45s var(--ease-out);
}
.btn:hover::before { transform: scaleY(1); transform-origin: bottom; }
.btn:hover svg { transform: translate(3px, -3px); }

.btn--solid { background: var(--red); color: var(--paper); }
.btn--solid::before { background: var(--paper); }
.btn--solid:hover { color: var(--ink); }

.btn--ghost { color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost::before { background: var(--red); }
.btn--ghost:hover { color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--red); }

.btn--big { font-size: .95rem; padding: 1.3em 2.6em; }

/* ── Cabeceras de sección ─────────────────────────────────────── */
.section-head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 0 var(--pad);
  margin-bottom: clamp(2rem, 5vw, 4rem);
  font-family: var(--font-mono); font-size: .72rem;
  letter-spacing: .22em;
}
.section-head__kicker i { color: var(--red); font-style: normal; margin-right: .5em; }
.section-head__index { color: var(--faint); }

/* ════════════════════════════════════════════════════════════════
   PRELOADER
   ════════════════════════════════════════════════════════════════ */
.loader {
  position: fixed; inset: 0; z-index: 1000;
  background: transparent;
  display: grid; place-items: center;
  /* failsafe: si JS no carga, el loader se autodestruye */
  animation: loaderFailsafe .5s linear 5s forwards;
}
@keyframes loaderFailsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }

.loader__inner { position: relative; z-index: 3; text-align: center; padding: 0 var(--pad); }

.loader__name { display: flex; gap: .35em; justify-content: center; flex-wrap: wrap; }
.loader__word {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(3rem, 11vw, 9rem);
  line-height: .9; letter-spacing: .01em;
  display: inline-block; overflow: hidden;
}
.loader__word--accent { color: var(--red); }
.loader__word .char { display: inline-block; transform: translateY(110%); }
.no-js .loader__word .char, .loader__word.no-split { transform: none; }

.loader__meta {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 2.2rem;
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .25em;
  color: var(--muted);
}
.loader__count { font-size: 1rem; color: var(--paper); font-weight: 700; }
.loader__count::after { content: ""; }

.loader__bar {
  margin-top: .8rem; height: 2px;
  background: var(--ink-3);
  overflow: hidden;
}
.loader__bar span {
  display: block; height: 100%; width: 100%;
  background: var(--red);
  transform: scaleX(0); transform-origin: left;
}

/* Las cortinas cubren la pantalla y se deslizan hacia arriba al salir:
   primero la negra (revela la roja debajo), luego la roja (revela la página) */
.loader__curtain {
  position: absolute; inset: 0; z-index: 2;
  background: var(--ink);
  will-change: transform;
}
.loader__curtain--red { z-index: 1; background: var(--red); }

/* ════════════════════════════════════════════════════════════════
   HEADER
   ════════════════════════════════════════════════════════════════ */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 120;
  display: flex; justify-content: space-between; align-items: center;
  padding: clamp(.9rem, 2vw, 1.4rem) var(--pad);
  transition: transform .55s var(--ease-out);
}
.header--hidden { transform: translateY(-110%); }

.header__logo-mark {
  font-family: var(--font-display); font-weight: 900;
  font-size: 1.7rem; letter-spacing: .02em;
  color: var(--paper);
}
.header__logo-mark i { color: var(--red); font-style: normal; }

.header__right { display: flex; align-items: center; gap: 1rem; }

.header__cta {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-mono); font-size: .68rem; font-weight: 700;
  letter-spacing: .18em;
  padding: .75em 1.4em;
  border-radius: 999px;
  background: rgba(10, 13, 16, .55);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .3s, background-color .3s;
}
.header__cta:hover { box-shadow: inset 0 0 0 1px var(--red); background: rgba(255, 31, 61, .12); }
.header__cta-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--red);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .25; transform: scale(.75); } }

.burger {
  position: relative;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(10, 13, 16, .55);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px var(--line);
  display: grid; place-items: center;
  transition: box-shadow .3s, background-color .3s;
}
.burger:hover { box-shadow: inset 0 0 0 1px var(--red); }
.burger span {
  position: absolute; left: 50%; top: 50%;
  width: 20px; height: 2px;
  background: var(--paper);
  transition: transform .45s var(--ease-out), background-color .3s;
}
.burger span:nth-child(1) { transform: translate(-50%, calc(-50% - 3.5px)); }
.burger span:nth-child(2) { transform: translate(-50%, calc(-50% + 3.5px)); }
.burger.is-open span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); background: var(--red); }
.burger.is-open span:nth-child(2) { transform: translate(-50%, -50%) rotate(-45deg); background: var(--red); }

/* ════════════════════════════════════════════════════════════════
   MENÚ FULLSCREEN
   ════════════════════════════════════════════════════════════════ */
.menu {
  position: fixed; inset: 0; z-index: 110;
  visibility: hidden; pointer-events: none;
}
.menu.is-open { visibility: visible; pointer-events: auto; }

.menu__bg {
  position: absolute; inset: 0;
  background: rgba(10, 13, 16, .92);
  backdrop-filter: blur(18px);
  opacity: 0;
}
.menu__inner {
  position: relative; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--pad);
}
.menu__list { display: flex; flex-direction: column; }

.menu__link {
  position: relative;
  display: flex; align-items: baseline; gap: 1.2rem;
  padding: .25em 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.menu__num {
  font-family: var(--font-mono); font-size: .7rem;
  color: var(--red); letter-spacing: .15em;
}
.menu__txt {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.6rem, 7.5vh, 5rem);
  line-height: 1.05; letter-spacing: .015em;
  transition: color .35s, transform .45s var(--ease-out);
}
.menu__txt .char { display: inline-block; }
.menu__link:hover .menu__txt { color: var(--red); transform: translateX(14px); }

.menu__preview {
  position: absolute; right: var(--pad); top: 50%;
  width: clamp(200px, 24vw, 360px); aspect-ratio: 3 / 4;
  transform: translateY(-50%) rotate(3deg);
  overflow: hidden; border-radius: 6px;
  opacity: 0; pointer-events: none;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
  transition: opacity .35s;
}
.menu__preview img { width: 100%; height: 100%; object-fit: cover; }
.menu.is-peek .menu__preview { opacity: 1; }

.menu__footer {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-top: 3rem;
  font-family: var(--font-mono); font-size: .65rem;
  letter-spacing: .2em; color: var(--muted);
}

/* ════════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--pad) clamp(5.5rem, 9vh, 7rem);
  overflow: hidden;
}

.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img {
  width: 100%; height: 112%;
  object-fit: cover; object-position: 42% 30%;
  will-change: transform;
}
.hero__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10,13,16,.55) 0%, rgba(10,13,16,.05) 32%, rgba(10,13,16,.16) 58%, rgba(10,13,16,.92) 100%),
    radial-gradient(120% 90% at 85% 15%, rgba(255,31,61,.12), transparent 55%);
}

.hero__top {
  position: absolute; top: clamp(5rem, 10vh, 6.5rem); left: 0; right: 0;
  display: flex; justify-content: space-between;
  padding: 0 var(--pad);
  font-family: var(--font-mono); font-size: .68rem;
  letter-spacing: .25em; color: var(--muted);
}
.hero__meta i { color: var(--red); font-style: normal; }

.hero__title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(5rem, 19.5vw, 17rem);
  line-height: .84; letter-spacing: .005em;
  text-transform: uppercase;
  display: flex; flex-direction: column;
  margin-bottom: clamp(1.2rem, 3vh, 2rem);
}
.hero__line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__line--accent { color: var(--red); text-shadow: 0 0 60px rgba(255, 31, 61, .45); }
.hero__word { display: inline-block; }
.hero__word .char { display: inline-block; will-change: transform; }

.hero__tag {
  max-width: 34ch;
  font-size: clamp(.95rem, 1.4vw, 1.15rem);
  color: var(--muted); line-height: 1.55;
  margin-bottom: clamp(1.4rem, 3vh, 2.2rem);
}
.hero__tag strong { color: var(--paper); font-weight: 600; }

.hero__ctas { display: flex; gap: .9rem; flex-wrap: wrap; }

.hero__chip {
  position: absolute; right: var(--pad); bottom: clamp(5.5rem, 9vh, 7rem);
  display: flex; align-items: center; gap: .9rem;
  padding: 1rem 1.4rem;
  border-radius: 12px;
  background: rgba(10, 13, 16, .5);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px var(--line);
}
.hero__chip-n {
  font-family: var(--font-display); font-weight: 900;
  font-size: 2.6rem; line-height: 1; color: var(--red);
}
.hero__chip-l { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .18em; color: var(--muted); }

.hero__side {
  position: absolute; right: calc(var(--pad) * .35); top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-family: var(--font-mono); font-size: .62rem;
  letter-spacing: .5em; color: var(--faint);
}

.hero__scroll {
  position: absolute; left: 50%; bottom: 1.6rem;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  font-family: var(--font-mono); font-size: .6rem;
  letter-spacing: .4em; color: var(--muted);
}
.hero__scroll-line {
  width: 1px; height: 44px;
  background: var(--line);
  position: relative; overflow: hidden;
}
.hero__scroll-line::after {
  content: ""; position: absolute; inset: 0;
  background: var(--red);
  animation: scrollDrop 1.8s var(--ease-out) infinite;
}
@keyframes scrollDrop {
  0% { transform: translateY(-100%); }
  55% { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

/* ════════════════════════════════════════════════════════════════
   MARQUEE
   ════════════════════════════════════════════════════════════════ */
.marquee {
  position: relative;
  padding: 1.1rem 0;
  background: var(--red);
  color: var(--ink);
  overflow: hidden;
  transform: rotate(-1.2deg) scale(1.02);
  z-index: 5;
}
.marquee__track {
  display: flex; width: max-content; will-change: transform;
  animation: marqueeScroll 22s linear infinite;
}
@keyframes marqueeScroll { to { transform: translateX(-50%); } }
.marquee__track span {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.3rem, 2.6vw, 2.1rem);
  letter-spacing: .04em; white-space: nowrap;
  padding-right: .5em;
}
.marquee__track i { font-style: normal; color: var(--paper); }

/* ════════════════════════════════════════════════════════════════
   MENSAJE / MANIFIESTO
   ════════════════════════════════════════════════════════════════ */
.manifest {
  position: relative;
  padding: clamp(6rem, 12vh, 10rem) 0 clamp(5rem, 10vh, 9rem);
  background:
    radial-gradient(90% 60% at 15% 10%, rgba(23, 50, 56, .35), transparent 60%),
    var(--ink);
}

.manifest__grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding: 0 var(--pad);
}

.manifest__big {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.4rem, 5.6vw, 5.2rem);
  line-height: 1.02; text-transform: uppercase;
  letter-spacing: .01em;
}
.manifest__row { display: block; overflow: hidden; }
.manifest__big em { font-style: normal; color: var(--red); }

.manifest__small {
  max-width: 46ch;
  margin-top: 2rem;
  color: var(--muted); font-size: clamp(.95rem, 1.2vw, 1.08rem);
}
.manifest__small strong { color: var(--paper); }

.manifest__sign { margin-top: 2.4rem; display: flex; align-items: flex-end; gap: 1.4rem; flex-wrap: wrap; }
.signature { width: clamp(180px, 22vw, 280px); height: auto; overflow: visible; }
.signature path {
  fill: none;
  stroke: var(--red); stroke-width: 3.4;
  stroke-linecap: round; stroke-linejoin: round;
}
.manifest__byline { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .3em; color: var(--muted); }

.manifest__photo { position: relative; }
.frame {
  position: relative; overflow: hidden; border-radius: 8px;
  transform: rotate(2.2deg);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .5);
}
.frame img { width: 100%; height: auto; will-change: transform; }
.manifest__caption {
  margin-top: 1rem; text-align: center;
  font-family: var(--font-mono); font-size: .72rem;
  letter-spacing: .12em; color: var(--muted);
}
.manifest__sticker {
  position: absolute; top: -1.4rem; right: -1.2rem;
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--red); color: var(--paper);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.15rem; line-height: 1; text-align: center;
  transform: rotate(10deg);
  box-shadow: 0 16px 40px rgba(255, 31, 61, .35);
  animation: floatSticker 4.5s ease-in-out infinite;
}
@keyframes floatSticker {
  0%, 100% { transform: rotate(10deg) translateY(0); }
  50% { transform: rotate(6deg) translateY(-10px); }
}

/* ════════════════════════════════════════════════════════════════
   TRAYECTORIA — scroll horizontal anclado
   ════════════════════════════════════════════════════════════════ */
.journey { position: relative; background: var(--ink-2); }
.journey__pin {
  position: relative;
  height: 100vh; height: 100svh;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
}
.journey__head {
  position: absolute; top: clamp(5.2rem, 11vh, 6.5rem); left: 0; right: 0;
  display: flex; justify-content: space-between;
  padding: 0 var(--pad);
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .22em;
  z-index: 2;
}
.journey__head .section-head__kicker i { color: var(--red); font-style: normal; margin-right: .5em; }
.journey__hint { color: var(--faint); animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(8px); } }

.journey__track {
  display: flex; align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  width: max-content;
  padding: 0 var(--pad);
  will-change: transform;
}

.journey__panel {
  position: relative;
  width: min(72vw, 880px);
  flex-shrink: 0;
  display: flex; flex-direction: column; justify-content: center;
  border-left: 1px solid var(--line);
  padding-left: clamp(1.4rem, 3vw, 3rem);
}
.journey__panel--intro { width: min(60vw, 640px); border-left: 0; padding-left: 0; }

.journey__intro-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(3.4rem, 9vw, 8rem);
  line-height: .9; text-transform: uppercase;
  display: flex; flex-direction: column;
}
.journey__intro-title .accent { color: var(--red); }
.journey__intro-sub {
  margin-top: 1.4rem;
  font-family: var(--font-mono); font-size: .8rem;
  letter-spacing: .2em; color: var(--muted);
}

.journey__year {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(7rem, 22vh, 15rem);
  line-height: .85;
  color: transparent;
  -webkit-text-stroke: 2px rgba(242, 237, 228, .3);
  transition: color .5s, -webkit-text-stroke-color .5s;
}
.journey__panel.is-active .journey__year { color: var(--paper); -webkit-text-stroke-color: transparent; }
.journey__panel.is-active .journey__year--accent,
.journey__year--accent { color: var(--red); -webkit-text-stroke: 0; text-shadow: 0 0 70px rgba(255, 31, 61, .4); }

.journey__body { margin-top: 1.6rem; max-width: 44ch; }
.journey__idx {
  font-family: var(--font-mono); font-size: .65rem;
  letter-spacing: .3em; color: var(--red);
}
.journey__body h3 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.7rem, 3.4vw, 2.8rem);
  letter-spacing: .02em; margin: .35rem 0 .6rem;
}
.journey__body p { color: var(--muted); font-size: clamp(.92rem, 1.15vw, 1.05rem); }
.journey__body em { font-style: normal; color: var(--paper); }
.journey__body .btn { margin-top: 1.6rem; }

.journey__progress {
  position: absolute; bottom: clamp(1.6rem, 4vh, 3rem); left: var(--pad); right: var(--pad);
  height: 2px; background: var(--line);
}
.journey__progress span {
  display: block; height: 100%;
  background: var(--red);
  transform: scaleX(0); transform-origin: left;
}

/* ════════════════════════════════════════════════════════════════
   EN CÁMARA / FUERA DE CÁMARA
   ════════════════════════════════════════════════════════════════ */
.split { display: flex; min-height: 88vh; }

.split__panel {
  position: relative;
  flex: 1;
  overflow: hidden;
  display: flex; align-items: flex-end;
  padding: clamp(2rem, 4vw, 3.5rem);
  transition: flex 0.85s var(--ease-out);
  border-right: 1px solid rgba(10, 13, 16, .8);
}
.split__panel:hover { flex: 1.7; }

.split__img { position: absolute; inset: 0; z-index: 0; }
.split__img img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 25%;
  filter: grayscale(.85) contrast(1.05);
  transform: scale(1.06);
  transition: filter .8s var(--ease-out), transform 1.2s var(--ease-out);
}
.split__panel:hover .split__img img { filter: grayscale(0); transform: scale(1.01); }
.split__img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,13,16,.25), rgba(10,13,16,.88) 88%);
}

.split__content { position: relative; z-index: 1; }
.split__kicker {
  font-family: var(--font-mono); font-size: .65rem;
  letter-spacing: .3em; color: var(--red);
}
.split__title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: .92; margin: .5rem 0 .8rem;
}
.split__content p {
  max-width: 36ch; color: var(--muted);
  font-size: .95rem;
  opacity: 0; transform: translateY(12px);
  transition: opacity .5s .1s, transform .5s .1s var(--ease-out);
}
.split__panel:hover .split__content p { opacity: 1; transform: none; }
.split__link {
  display: inline-flex; align-items: center; gap: .6em;
  margin-top: 1.2rem;
  font-family: var(--font-mono); font-size: .72rem; font-weight: 700;
  letter-spacing: .2em; color: var(--paper);
  border-bottom: 1.5px solid var(--red);
  padding-bottom: .35em;
}
.split__link svg { width: 11px; height: 11px; transition: transform .35s var(--ease-out); }
.split__panel:hover .split__link svg { transform: translate(3px, -3px); }

/* ════════════════════════════════════════════════════════════════
   VIDEOS
   ════════════════════════════════════════════════════════════════ */
.videos {
  padding: clamp(6rem, 12vh, 10rem) 0;
  background:
    radial-gradient(80% 50% at 85% 0%, rgba(255, 31, 61, .07), transparent 60%),
    var(--ink);
}

.videos__title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(3.2rem, 11vw, 10rem);
  line-height: .9; text-transform: uppercase;
  padding: 0 var(--pad);
  margin-bottom: clamp(2.5rem, 6vh, 4.5rem);
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(242, 237, 228, .45);
}
.videos__title .char { display: inline-block; }

.videos__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem);
  padding: 0 var(--pad);
}

.vcard {
  position: relative;
  text-align: left;
  border-radius: 14px;
  overflow: hidden;
  background: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .4s;
}
.vcard:hover { box-shadow: inset 0 0 0 1.5px var(--red); }
.vcard--featured { grid-column: 1 / -1; }

.vcard__media { position: relative; overflow: hidden; aspect-ratio: 16 / 9; }
.vcard__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease-out), filter .6s;
  will-change: transform;
}
.vcard:hover .vcard__media img { transform: scale(1.06); }
.vcard__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 13, 16, .9));
  transition: background .5s;
}
.vcard:hover .vcard__media::after {
  background: linear-gradient(180deg, rgba(255, 31, 61, .18) 0%, rgba(10, 13, 16, .92));
}

.vcard__tag {
  position: absolute; top: 1.1rem; left: 1.1rem;
  padding: .55em 1em;
  background: var(--red); color: var(--paper);
  font-family: var(--font-mono); font-size: .62rem; font-weight: 700;
  letter-spacing: .18em;
  border-radius: 999px;
  z-index: 2;
}

.vcard__info {
  position: absolute; left: 1.4rem; right: 4.5rem; bottom: 1.2rem;
  z-index: 2;
}
.vcard__info h3 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.4rem, 2.8vw, 2.6rem);
  line-height: .95; letter-spacing: .02em;
}
.vcard--featured .vcard__info h3 { font-size: clamp(1.9rem, 4.5vw, 4rem); }
.vcard__meta {
  display: block; margin-top: .5rem;
  font-family: var(--font-mono); font-size: .65rem;
  letter-spacing: .2em; color: var(--muted);
}

.vcard__play {
  position: absolute; right: 1.3rem; bottom: 1.3rem; z-index: 2;
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(242, 237, 228, .12);
  backdrop-filter: blur(8px);
  display: grid; place-items: center;
  transition: background .35s, transform .35s var(--ease-pop);
}
.vcard__play svg { width: 20px; height: 20px; fill: var(--paper); margin-left: 2px; }
.vcard:hover .vcard__play { background: var(--red); transform: scale(1.12); }

.videos__more { text-align: center; margin-top: clamp(2.5rem, 5vh, 4rem); }

/* ════════════════════════════════════════════════════════════════
   EL SQUAD
   ════════════════════════════════════════════════════════════════ */
.squad { padding: clamp(6rem, 12vh, 10rem) 0; background: var(--ink-2); }

.squad__title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(3.2rem, 11vw, 10rem);
  line-height: .9;
  padding: 0 var(--pad);
  margin-bottom: clamp(2rem, 5vh, 3.5rem);
  overflow: hidden;
}
.squad__title .char { display: inline-block; }

.squad__list { border-top: 1px solid var(--line); }

.squad__row {
  position: relative;
  display: grid;
  grid-template-columns: 3.5rem 1fr auto;
  align-items: center; gap: 1.5rem;
  padding: clamp(1.2rem, 2.6vw, 2rem) var(--pad);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}
.squad__num { font-family: var(--font-mono); font-size: .7rem; color: var(--red); letter-spacing: .15em; }
.squad__name {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2rem, 5.5vw, 4.6rem);
  line-height: 1; letter-spacing: .015em;
  transition: transform .5s var(--ease-out);
}
.squad__role {
  font-family: var(--font-mono); font-size: .68rem;
  letter-spacing: .25em; color: var(--muted);
  transition: color .4s;
}
.squad__row:hover .squad__name { transform: translateX(16px); }

.squad__fill {
  position: absolute; inset: 0; z-index: -1;
  background: var(--red);
  transform: translateY(101%);
  transition: transform .5s var(--ease-out);
  display: flex; align-items: center;
  overflow: hidden;
}
.squad__row:hover .squad__fill { transform: translateY(0); }
.squad__row:hover .squad__num, .squad__row:hover .squad__role { color: var(--ink); }
.squad__fill-track { display: flex; width: max-content; animation: fillScroll 14s linear infinite; }
.squad__fill-track span {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2rem, 5vw, 4rem);
  color: rgba(10, 13, 16, .22);
  white-space: nowrap; padding-right: .5em;
  line-height: 1;
}
@keyframes fillScroll { to { transform: translateX(-50%); } }

/* ════════════════════════════════════════════════════════════════
   NÚMEROS
   ════════════════════════════════════════════════════════════════ */
.stats {
  background: var(--red);
  color: var(--ink);
  padding: clamp(4rem, 9vh, 7rem) var(--pad);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat { text-align: center; position: relative; }
.stat + .stat::before {
  content: ""; position: absolute; left: -1rem; top: 12%; bottom: 12%;
  width: 1px; background: rgba(10, 13, 16, .25);
}
.stat__n {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(3.2rem, 7.5vw, 6.5rem);
  line-height: .9;
  display: block;
  font-variant-numeric: tabular-nums;
}
.stat__n i { font-style: normal; }
.stat__l {
  display: block; margin-top: .8rem;
  font-family: var(--font-mono); font-size: .68rem; font-weight: 700;
  letter-spacing: .3em;
}

/* ════════════════════════════════════════════════════════════════
   PARED DE FANS
   ════════════════════════════════════════════════════════════════ */
.fans { padding: clamp(6rem, 12vh, 9rem) 0; background: var(--ink); overflow: hidden; }

.fans__rows { display: flex; flex-direction: column; gap: 1.4rem; }
.fans__row { overflow: hidden; }
.fans__track { display: flex; width: max-content; animation: fansScroll 36s linear infinite; }
.fans__row--reverse .fans__track { animation-direction: reverse; }
.fans__row:hover .fans__track { animation-play-state: paused; }
.fans__set { display: flex; gap: 1.4rem; padding-right: 1.4rem; }
@keyframes fansScroll { to { transform: translateX(-50%); } }

.fan {
  width: clamp(300px, 30vw, 420px);
  flex-shrink: 0;
  padding: 1.4rem 1.6rem;
  background: var(--ink-2);
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .35s, transform .35s var(--ease-out);
}
.fans__set .fan:nth-child(odd) { transform: rotate(-.7deg); }
.fans__set .fan:nth-child(even) { transform: rotate(.7deg); }
.fan:hover { box-shadow: inset 0 0 0 1.5px var(--red); transform: rotate(0) translateY(-4px); }
.fan header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .6rem; }
.fan b { font-family: var(--font-mono); font-size: .75rem; color: var(--red); }
.fan header span { font-family: var(--font-mono); font-size: .62rem; color: var(--faint); }
.fan p { font-size: .92rem; color: var(--paper); }
.fan footer { margin-top: .8rem; font-family: var(--font-mono); font-size: .65rem; color: var(--muted); }

/* ════════════════════════════════════════════════════════════════
   REDES
   ════════════════════════════════════════════════════════════════ */
.socials { position: relative; padding: clamp(6rem, 12vh, 9rem) 0; background: var(--ink-2); }

.socials__list { border-top: 1px solid var(--line); }

.social-row {
  display: grid;
  grid-template-columns: 1fr auto auto 3rem;
  align-items: center; gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.6rem, 3.5vw, 2.6rem) var(--pad);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background-color .4s, padding-left .5s var(--ease-out);
}
.social-row:hover { background: rgba(255, 31, 61, .06); padding-left: calc(var(--pad) + 14px); }

.social-row__name {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2.4rem, 7vw, 6rem);
  line-height: .95; letter-spacing: .01em;
  transition: color .35s;
}
.social-row:hover .social-row__name { color: var(--red); }
.social-row__handle { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .15em; color: var(--muted); }
.social-row__stat {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.3rem, 2.6vw, 2.2rem);
  color: var(--faint);
  transition: color .35s;
}
.social-row:hover .social-row__stat { color: var(--paper); }
.social-row__arrow {
  font-size: 1.6rem;
  transform: translateX(-8px); opacity: .35;
  transition: transform .4s var(--ease-out), opacity .4s, color .4s;
}
.social-row:hover .social-row__arrow { transform: translateX(0) rotate(-45deg); opacity: 1; color: var(--red); }

.socials__preview {
  position: fixed; top: 0; left: 0;
  width: 230px; aspect-ratio: 4 / 5;
  border-radius: 10px; overflow: hidden;
  pointer-events: none; z-index: 90;
  opacity: 0; transform: scale(.85) rotate(-4deg);
  transition: opacity .3s, transform .4s var(--ease-out);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .55);
}
.socials__preview img { width: 100%; height: 100%; object-fit: cover; }
.socials__preview.is-on { opacity: 1; transform: scale(1) rotate(-4deg); }

/* ════════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════════ */
.footer {
  position: relative;
  padding: clamp(7rem, 14vh, 11rem) var(--pad) 2rem;
  background:
    radial-gradient(70% 55% at 50% 110%, rgba(255, 31, 61, .16), transparent 65%),
    var(--ink);
  overflow: hidden;
}

.footer__cta { text-align: center; margin-bottom: clamp(4rem, 9vh, 7rem); }
.footer__kicker {
  display: block;
  font-family: var(--font-mono); font-size: .72rem;
  letter-spacing: .35em; color: var(--red);
  margin-bottom: 1.2rem;
}
.footer__title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(3.4rem, 12vw, 11rem);
  line-height: .9; letter-spacing: .01em;
  margin-bottom: 2.2rem;
  overflow: hidden; padding-bottom: .08em;
}
.footer__title .char { display: inline-block; }

.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.footer__nav { display: flex; gap: 1.8rem; flex-wrap: wrap; }
.footer__nav a, .footer__social a {
  font-family: var(--font-mono); font-size: .68rem; font-weight: 700;
  letter-spacing: .2em; color: var(--muted);
  transition: color .3s;
}
.footer__nav a:hover, .footer__social a:hover { color: var(--red); }
.footer__social { display: flex; gap: 1.4rem; }

.footer__giant {
  margin: 3rem calc(var(--pad) * -1) 0;
  text-align: center;
  line-height: .78;
  user-select: none;
}
.footer__giant span {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(4rem, 13.5vw, 16rem);
  letter-spacing: .01em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(242, 237, 228, .25);
  transition: color .6s, -webkit-text-stroke-color .6s, text-shadow .6s;
}
.footer__giant:hover span {
  color: var(--red);
  -webkit-text-stroke-color: transparent;
  text-shadow: 0 0 90px rgba(255, 31, 61, .5);
}

.footer__legal {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-top: 2.4rem;
  font-family: var(--font-mono); font-size: .62rem;
  letter-spacing: .18em; color: var(--faint);
}

/* ════════════════════════════════════════════════════════════════
   MODAL DE VIDEO
   ════════════════════════════════════════════════════════════════ */
.modal {
  position: fixed; inset: 0; z-index: 400;
  display: grid; place-items: center;
  visibility: hidden; pointer-events: none;
}
.modal.is-open { visibility: visible; pointer-events: auto; }

.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(6, 8, 10, .88);
  backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity .4s;
}
.modal.is-open .modal__backdrop { opacity: 1; }

.modal__box {
  position: relative;
  width: min(1100px, 92vw);
  transform: scale(.92) translateY(20px);
  opacity: 0;
  transition: transform .5s var(--ease-out), opacity .4s;
}
.modal.is-open .modal__box { transform: none; opacity: 1; }

.modal__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--ink-2);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 50px 140px rgba(0, 0, 0, .7), inset 0 0 0 1px var(--line);
}
.modal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.modal__close {
  position: absolute; top: -58px; right: 0;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--red); color: var(--paper);
  font-size: 1rem; font-weight: 700;
  display: grid; place-items: center;
  transition: transform .3s var(--ease-pop), background-color .3s;
}
.modal__close:hover { transform: rotate(90deg) scale(1.08); }

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 1023px) {
  .manifest__grid { grid-template-columns: 1fr; }
  .manifest__photo { max-width: 420px; margin: 0 auto; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 3rem 2rem; }
  .stat:nth-child(odd)::before { display: none; }
}

@media (max-width: 767px) {
  .hero__title { font-size: clamp(4.6rem, 23vw, 8rem); }
  .hero__chip { position: static; margin-top: 1.6rem; align-self: flex-start; }
  .hero__side, .hero__meta--right { display: none; }
  .hero__scroll { display: none; }

  .menu__preview { display: none; }
  .header__cta { display: none; }

  /* La trayectoria pasa a vertical: sin pin, paneles apilados */
  .journey__pin { height: auto; overflow: visible; padding: clamp(5rem, 10vh, 7rem) 0; }
  .journey__head { position: static; margin-bottom: 2.5rem; }
  .journey__hint { display: none; }
  .journey__track {
    flex-direction: column; align-items: stretch;
    width: 100%; gap: 3.5rem;
  }
  .journey__panel, .journey__panel--intro { width: 100%; }
  .journey__year { font-size: clamp(4.6rem, 26vw, 8rem); color: var(--paper); -webkit-text-stroke: 0; }
  .journey__year--accent { color: var(--red); }
  .journey__progress { display: none; }

  .split { flex-direction: column; }
  .split__panel { min-height: 70vh; border-right: 0; border-bottom: 1px solid rgba(10,13,16,.8); }
  .split__panel:hover { flex: 1; }
  .split__content p { opacity: 1; transform: none; }
  .split__img img { filter: grayscale(.2); }

  .videos__grid { grid-template-columns: 1fr; }
  .vcard__info { right: 5rem; }

  .squad__row { grid-template-columns: 2.2rem 1fr; }
  .squad__role { grid-column: 2; }

  .social-row { grid-template-columns: 1fr auto; }
  .social-row__handle { display: none; }
  .socials__preview { display: none; }

  .stats__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .stats__grid { grid-template-columns: 1fr; }
  .stat + .stat::before { display: none; }
  .loader__word { font-size: clamp(2.4rem, 14vw, 4rem); }
}

/* ════════════════════════════════════════════════════════════════
   MOVIMIENTO REDUCIDO
   ════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001s !important;
  }
  .loader { display: none; }
  .grain { display: none; }
  .fans__track, .squad__fill-track, .marquee__track { animation: none; }
  .loader__word .char { transform: none; }
}
