/* =============================================================
   9z · Temporada 2026 — hoja de estilos
   Paleta oficial extraida del CSS de 9z.gg (--9z-primary, etc.)
   ============================================================= */

:root {
  /* --- marca (valores reales de 9z.gg) --- */
  --brand:        #7e2df9;   /* --9z-primary */
  --brand-2:      #a03cfc;   /* --9z-primary-2 */
  --brand-glow:   rgba(126, 45, 249, .30);
  --bg:           #0d0d0d;   /* fondo oficial */

  /* --- tinta --- */
  --ink:          #ffffff;
  --muted:        rgba(255, 255, 255, .66);
  --faint:        rgba(255, 255, 255, .45);
  --line:         rgba(255, 255, 255, .13);
  --panel:        #131316;

  /* --- tipografia ---
     Blender Pro es la fuente real de 9z pero es comercial.
     Cuando tengan la licencia, se cambia aca y listo. */
  --display: 'Big Shoulders Display', 'Saira Condensed', system-ui, sans-serif;
  --body:    'Chivo', system-ui, -apple-system, sans-serif;

  /* --- medidas --- */
  --rail-x:  96px;           /* posicion del riel vertical */
  --gutter:  clamp(20px, 5vw, 64px);
  --maxw:    1120px;

  /* Carril que la barra de filtros le reserva al selector de idioma.
     En escritorio sobra lugar y no hace falta reservar nada; en mobile
     se activa (ver "BARRA DE FILTROS"). */
  --lang-lane: 0px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  /* Ojo: NO poner overflow-x aca.
     `hidden` crea un scroll container y rompe el position:sticky
     de la barra de filtros y los meses; `clip` se propaga al
     viewport y deja la pagina entera sin scroll vertical.
     El desborde horizontal se recorta donde se produce:
     .hero y .next tienen su propio overflow:hidden. */
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--brand-2); }

img { max-width: 100%; display: block; }

::selection { background: var(--brand); color: #fff; }

:focus-visible {
  outline: 2px solid var(--brand-2);
  outline-offset: 3px;
}

.skip {
  position: absolute; left: -9999px;
  padding: 12px 18px; background: var(--brand); z-index: 100;
}
.skip:focus { left: 16px; top: 16px; }

/* ============ BARRA DE PROGRESO ============ */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60;
  background: rgba(255, 255, 255, .07);
}
.progress span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  box-shadow: 0 0 12px var(--brand);
}

/* Selector de idioma: siempre visible, sin competir con la navegación mensual. */
.langnav {
  position: fixed; z-index: 70; top: 18px; right: clamp(16px, 3vw, 42px);
  display: flex; border: 1px solid var(--line); background: rgba(13,13,13,.78);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.langnav a {
  padding: 8px 10px; color: var(--muted); font-size: 11px; font-weight: 700;
  letter-spacing: .08em; line-height: 1; transition: color .2s, background .2s;
}
.langnav a:hover, .langnav a.is-active { background: var(--brand); color: #fff; }

/* ============ NAV DE MESES ============ */
.monthnav {
  position: fixed; right: 26px; top: 50%; transform: translateY(-50%);
  z-index: 50; opacity: 0; pointer-events: none; transition: opacity .4s;
}
.monthnav.is-on { opacity: 1; pointer-events: auto; }
.monthnav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.monthnav a {
  display: flex; align-items: center; justify-content: flex-end; gap: 10px;
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--faint); transition: color .25s;
}
.monthnav a::after {
  content: ''; width: 22px; height: 2px; background: currentColor;
  transition: width .25s, background .25s;
}
.monthnav a:hover { color: var(--ink); }
.monthnav a.is-active { color: var(--ink); }
.monthnav a.is-active::after { width: 34px; background: var(--brand); }
.monthnav span { opacity: 0; transform: translateX(6px); transition: opacity .25s, transform .25s; }
.monthnav a:hover span,
.monthnav a.is-active span { opacity: 1; transform: none; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 0 var(--gutter) clamp(48px, 7vh, 80px);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 28%;
  opacity: .5;
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13,13,13,.55) 0%, rgba(13,13,13,.15) 30%, rgba(13,13,13,.92) 78%, var(--bg) 100%);
}
.hero__glow {
  position: absolute; left: 50%; top: 34%;
  width: min(1100px, 120vw); aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--brand-glow) 0%, rgba(0,0,0,0) 62%);
  pointer-events: none;
}
.hero__inner {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  display: flex; flex-direction: column; gap: clamp(20px, 3vh, 30px);
}
.hero__brand { display: flex; align-items: center; gap: 16px; }
.hero__logo { width: clamp(88px, 12vw, 124px); height: auto; }
.hero__kicker {
  margin: 0; font-size: 11px; line-height: 1.7;
  letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.hero__title {
  margin: 0;
  font-family: var(--display); font-weight: 900;
  font-size: clamp(58px, 12.5vw, 168px);
  line-height: .82; letter-spacing: -.01em; text-transform: uppercase;
}
.hero__title em { font-style: normal; color: var(--brand-2); }
.hero__lead {
  margin: 0; max-width: 56ch;
  font-size: clamp(15px, 1.9vw, 18px); line-height: 1.65;
  color: var(--muted); text-wrap: pretty;
}
.hero__scroll {
  margin: 0; display: flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint);
}
.hero__scroll svg { width: 16px; height: 16px; animation: nudge 2.4s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* ============ CONTADORES ============ */
.counters {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.counter { background: var(--bg); padding: clamp(14px, 2vw, 22px) clamp(12px, 1.6vw, 20px); }
.counter__num {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(34px, 5.2vw, 58px); line-height: .9;
  font-variant-numeric: tabular-nums;
}
.counter--hi .counter__num { color: var(--brand-2); }
.counter__label {
  margin-top: 8px; font-size: 10px; line-height: 1.5;
  letter-spacing: .16em; text-transform: uppercase; color: var(--faint);
}

/* ============ TIMELINE ============ */
.timeline {
  position: relative;
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(64px, 11vh, 128px) var(--gutter) clamp(60px, 9vh, 110px);
}
.timeline__rail {
  position: absolute; top: 0; bottom: 0;
  left: calc(var(--gutter) + var(--rail-x));
  width: 2px; background: var(--line);
}
.timeline__rail span {
  position: absolute; inset: 0 0 auto 0; height: 0;
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  box-shadow: 0 0 16px var(--brand);
}
.timeline__body { padding-left: calc(var(--rail-x) + 34px); }

/* --- separador de mes --- */
.month { position: relative; }
.month__label {
  position: sticky; top: 0; z-index: 20;
  margin: 0 0 34px; padding: 22px 0 14px;
  margin-left: calc(-1 * (var(--rail-x) + 34px));
  display: flex; align-items: center; gap: 20px;
  background: linear-gradient(180deg, var(--bg) 62%, rgba(13,13,13,0) 100%);
  font-family: var(--display); font-weight: 700;
  font-size: clamp(28px, 4.4vw, 44px); line-height: 1;
  letter-spacing: .05em; text-transform: uppercase;
}
.month__label::before {
  content: ''; flex: 0 0 auto;
  width: 12px; height: 12px; background: var(--brand);
  margin-left: calc(var(--rail-x) - 5px);
}
.month__label::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.month + .month { margin-top: 18px; }

/* --- evento --- */
.ev {
  position: relative;
  scroll-margin-top: 150px;   /* barra de filtros + mes pegajoso */
  padding-bottom: clamp(44px, 6vh, 68px);
}
/* La aparicion al scrollear se activa recien cuando el JS confirma
   que puede revelarlos (clase js-reveal en <html>). Sin JS, o sin
   IntersectionObserver, los hitos se ven igual: nunca escondemos
   contenido sin garantia de poder mostrarlo. */
html.js-reveal .ev {
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
html.js-reveal .ev.is-in { opacity: 1; transform: none; }

/* punto sobre el riel */
.ev::before {
  content: ''; position: absolute; top: 7px;
  /* el punto (8px + 2 de borde = 12 de caja) va centrado sobre el riel */
  left: calc(-1 * (var(--rail-x) + 34px) + var(--rail-x) - 5px);
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--line);
}
.ev--gold::before { background: var(--brand); border-color: var(--brand); box-shadow: 0 0 12px var(--brand); }

.ev__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.ev__date {
  font-size: 12px; letter-spacing: .13em; text-transform: uppercase; color: var(--faint);
}
.badge {
  padding: 5px 10px; font-size: 10px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
}
.badge--brand { background: var(--brand); color: #fff; }
.badge--line  { border: 1px solid var(--line); color: var(--muted); }

.ev__title {
  margin: 0;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(26px, 3.6vw, 44px); line-height: 1.02;
  text-transform: uppercase; letter-spacing: -.005em;
  text-wrap: balance;
}
.ev--big .ev__title { font-size: clamp(30px, 4.4vw, 52px); }

.ev__body {
  margin: 14px 0 0; max-width: 62ch;
  font-size: clamp(14.5px, 1.7vw, 16.5px); line-height: 1.68;
  color: var(--muted); text-wrap: pretty;
}

/* foto del evento */
.ev__photo { margin: 0 0 22px; position: relative; }
.ev__photo img { width: 100%; height: auto; border: 1px solid var(--line); }
.ev__photo figcaption {
  position: absolute; left: 0; bottom: 0;
  padding: 7px 12px; background: var(--bg);
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint);
}
/* hueco cuando todavia no hay foto */
.ev__slot {
  margin: 0 0 22px;
  aspect-ratio: 16 / 7;
  border: 1px dashed rgba(255, 255, 255, .22);
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.035) 0 2px, transparent 2px 11px),
    var(--panel);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint);
  text-align: center; padding: 16px;
}
.ev__slot svg { width: 16px; height: 16px; flex: 0 0 auto; }

/* resultado */
.result {
  display: inline-flex; align-items: center;
  padding: 8px 14px;
  font-family: var(--display); font-weight: 900;
  font-size: clamp(24px, 3vw, 34px); line-height: 1;
}
.result--gold    { background: var(--brand); color: #fff; }
.result--silver  { border: 2px solid var(--brand); color: var(--brand-2); }
.result--neutral { border: 2px solid var(--line); color: var(--ink); }
.result--down    { border: 2px solid var(--line); color: var(--faint); }

.ev__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.ev__head .ev__title { flex: 1; }

/* chips de datos */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; }
.chips li {
  display: flex; align-items: baseline; gap: 8px;
  padding: 9px 14px; border: 1px solid var(--line);
}
.chips li.is-hi { border-color: var(--brand); }
.chips b { font-size: 10px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.chips span { font-size: 14px; font-weight: 700; }

/* links */
.ev__links {
  display: flex; flex-wrap: wrap; gap: 18px 24px;
  margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line);
}
.ev__links a {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.ev__links svg { width: 12px; height: 12px; transition: transform .2s; }
.ev__links a:hover svg { transform: translate(2px, -2px); }

/* ============ CIERRE ============ */
.next {
  position: relative;
  padding: clamp(72px, 13vh, 150px) var(--gutter);
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.next::before {
  content: ''; position: absolute; left: 50%; top: 50%;
  width: min(900px, 110vw); aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--brand-glow) 0%, rgba(0,0,0,0) 65%);
  pointer-events: none;
}
.next__inner { position: relative; max-width: var(--maxw); margin: 0 auto; }
.next__kicker {
  margin: 0 0 20px; font-size: 11px;
  letter-spacing: .22em; text-transform: uppercase; color: var(--brand-2);
}
.next__title {
  margin: 0; font-family: var(--display); font-weight: 900;
  font-size: clamp(44px, 9vw, 116px); line-height: .88;
  text-transform: uppercase; letter-spacing: -.01em;
}
.next__body {
  margin: 26px 0 0; max-width: 58ch;
  font-size: clamp(15px, 1.9vw, 18px); line-height: 1.65; color: var(--muted);
  text-wrap: pretty;
}
.next__stat { margin-top: 40px; display: flex; align-items: baseline; gap: 16px; }
.next__stat b {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(52px, 9vw, 104px); line-height: .85; color: var(--brand-2);
}
.next__stat span {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--faint);
}
.next__links { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; }
.next__links a {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.next__links svg { width: 12px; height: 12px; }

/* ============ ROSTER ============ */
.roster {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(60px, 10vh, 110px) var(--gutter);
  border-top: 1px solid var(--line);
}
.roster__title {
  margin: 0 0 36px; font-family: var(--display); font-weight: 700;
  font-size: clamp(28px, 4.4vw, 44px); line-height: 1;
  letter-spacing: .05em; text-transform: uppercase;
}
/* Cards sueltas, no una malla. Antes esto era gap:1px sobre fondo gris,
   y como el roster no llena la ultima fila quedaban celdas grises vacias. */
.roster__grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.player {
  background: var(--panel); padding: 26px 24px;
  display: flex; flex-direction: column; gap: 8px;
  border: 1px solid var(--line);
  transition: border-color .25s, transform .25s, background .25s;
}
.player:hover {
  border-color: rgba(255, 255, 255, .3);
  background: #17171b;
  transform: translateY(-3px);
}
.player__nick {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(26px, 3.4vw, 38px); line-height: 1; text-transform: uppercase;
}
.player__nick a:hover { color: var(--brand-2); }
.player__row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.player__role {
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-2); font-weight: 700;
}
.player__name { font-size: 13px; color: var(--muted); }
.player__since { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.player__note { margin: 6px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--muted); }

/* ============ FOOTER ============ */
.footer {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(40px, 7vh, 72px) var(--gutter) clamp(56px, 9vh, 96px);
  border-top: 1px solid var(--line);
}
.footer__motto {
  margin: 0; font-family: var(--display); font-weight: 900;
  font-size: clamp(38px, 7vw, 76px); line-height: .9;
  text-transform: uppercase; color: var(--brand-2);
}
.footer__meta { margin: 18px 0 0; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.footer__sources { margin: 14px 0 0; font-size: 13px; line-height: 1.7; color: var(--muted); max-width: 60ch; }
.footer__sources a { border-bottom: 1px solid var(--line); }
.footer__sources a:hover { border-bottom-color: var(--brand-2); }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  :root { --rail-x: 20px; }
  .counters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roster__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline__body { padding-left: calc(var(--rail-x) + 26px); }
  .month__label { margin-left: calc(-1 * (var(--rail-x) + 26px)); gap: 14px; }
  .ev::before { left: calc(-1 * (var(--rail-x) + 26px) + var(--rail-x) - 5px); }
  .monthnav { display: none; }
  .hero__media img { object-position: center 22%; }
}

@media (max-width: 560px) {
  .roster__grid { grid-template-columns: 1fr; }
  .ev__head { flex-direction: column; gap: 14px; }
  .chips li { width: 100%; justify-content: space-between; }
}

/* ============ ACCESIBILIDAD ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html.js-reveal .ev { opacity: 1; transform: none; }
}

/* ============ BARRA DE FILTROS ============ */
.filterbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(13, 13, 13, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.filterbar__inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 12px var(--gutter);
  display: flex; flex-wrap: wrap; gap: 8px;
}
.filter {
  display: inline-flex; align-items: baseline; gap: 8px;
  padding: 8px 14px; border: 1px solid var(--line);
  background: transparent; color: var(--muted);
  font-family: var(--body); font-size: 11px; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
  cursor: pointer; transition: color .2s, border-color .2s, background .2s;
}
.filter:hover { color: var(--ink); border-color: rgba(255, 255, 255, .3); }
.filter b { font-weight: 400; font-size: 10px; color: var(--faint); transition: color .2s; }
.filter[aria-pressed="true"] {
  background: var(--brand); border-color: var(--brand); color: #fff;
}
.filter[aria-pressed="true"] b { color: rgba(255, 255, 255, .7); }

/* estados de filtrado */
.ev.is-out,
.month.is-out { display: none; }

/* el label de mes se pega debajo de la barra, no encima */
.month__label { top: var(--bar-h, 57px); }

/* --- la barra en mobile ---
   Dos cosas se peleaban por la esquina de arriba: el selector de idioma
   (fixed) y los chips, que en pantalla angosta envolvian a dos o tres
   filas y terminaban debajo del selector.

   La barra se queda con un carril libre a la derecha (--lang-lane) del
   ancho justo del selector, y los chips pasan a una sola fila que
   scrollea en horizontal. Como el carril es padding de .filterbar, el
   scroller termina ANTES del selector: ningun chip puede quedar tapado,
   ni siquiera a mitad de scroll. */
@media (max-width: 900px) {
  .filterbar { padding-right: var(--lang-lane); }

  .filterbar__inner {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;     /* que no dispare el "volver atras" */
    scroll-padding-inline: 8px;         /* el foco del teclado entra entero */
    scrollbar-width: none; -ms-overflow-style: none;
    padding: 10px 0 10px var(--gutter);
    gap: 6px;
    /* el chip que se corta se desvanece en vez de cortarse a cuchillo:
       asi se lee que hay mas para el costado. El degrade (16px) es mas
       angosto que el aire del ::after (18px), asi que con el riel al
       fondo el ultimo chip se ve entero. */
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 16px), transparent);
            mask-image: linear-gradient(90deg, #000 calc(100% - 16px), transparent);
  }
  .filterbar__inner::-webkit-scrollbar { display: none; }
  /* aire al final del riel, para que el ultimo chip no quede pegado */
  .filterbar__inner::after { content: ''; flex: 0 0 18px; }

  .filter { flex: 0 0 auto; padding: 7px 11px; font-size: 10px; letter-spacing: .1em; }
}

/* Abajo de 400px cada pixel cuenta: chips un poco mas angostos para que
   entre mas de uno al lado del otro. */
@media (max-width: 400px) {
  .filter { padding: 7px 9px; gap: 6px; letter-spacing: .06em; }
}

/* =============================================================
   MEDIA, EPICA Y MOVIMIENTO
   Todo lo que sigue es del sistema de fotos/videos y de las
   secciones nuevas (apertura, manifiesto, epilogo).
   ============================================================= */

/* ============ lineas de titular que suben ============
   Cada linea va en un .line con overflow oculto; GSAP mueve
   el .line__in de adentro. Sin GSAP se ven normales. */
/* La mascara recorta todo lo que sobresalga de la caja de linea, y como los
   titulares van con line-height muy apretado (.84 a .96), eso se comia la
   tilde de la Ñ y los acentos. El padding da aire arriba y el margin negativo
   lo descuenta, asi que la mascara crece pero el layout queda igual. */
.line {
  display: block; overflow: hidden;
  padding-top: .2em; margin-top: -.2em;
}
.line__in { display: block; }

/* ============ APERTURA ============ */
.intro {
  position: relative; overflow: hidden;
  padding: clamp(80px, 14vh, 150px) var(--gutter) clamp(60px, 10vh, 110px);
  border-bottom: 1px solid var(--line);
}
.intro::before {
  content: ''; position: absolute; left: 50%; top: -40%;
  width: min(780px, 90vw); aspect-ratio: 1; transform: translateX(-50%);
  background: radial-gradient(circle, var(--brand-glow), transparent 68%);
  pointer-events: none;
}
.intro__inner { position: relative; max-width: var(--maxw); margin: 0 auto; }
.intro__kicker {
  margin: 0 0 20px; font-size: 11px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--brand-2);
}
.intro__title {
  margin: 0; font-family: var(--display); font-weight: 700;
  font-size: clamp(34px, 6.6vw, 84px); line-height: .96;
  letter-spacing: .01em; text-transform: uppercase;
}
.intro__title em { font-style: normal; color: var(--brand-2); }
.intro__body {
  margin: 32px 0 0; max-width: 62ch;
  font-size: clamp(15px, 1.5vw, 18px); line-height: 1.75; color: var(--muted);
}

/* ============ MEDIA — piezas de cada hito ============ */
.media { margin: 0 0 26px; }

.media__track {
  display: flex; gap: 14px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
}
.media__track::-webkit-scrollbar { display: none; }
.media__track.is-drag { cursor: grabbing; scroll-snap-type: none; }

.media--single .media__track { overflow: visible; }
.media--single .mi { flex: 1 1 100%; }

.media--duo .media__track {
  display: grid; grid-template-columns: 1fr 1fr; overflow: visible;
}

.media--gallery .mi {
  flex: 0 0 min(74%, 540px);
  scroll-snap-align: start;
}

/* --- una pieza --- */
.mi {
  position: relative; display: block; width: 100%; padding: 0;
  border: 1px solid var(--line); background: var(--panel);
  color: var(--ink); font-family: inherit; text-align: left;
  overflow: hidden; cursor: pointer;
  transition: border-color .25s, transform .35s;
}
.mi:hover { border-color: rgba(255, 255, 255, .34); }
.mi img {
  width: 100%; height: 100%; object-fit: cover;
  aspect-ratio: 16 / 9; display: block;
  transition: transform .6s cubic-bezier(.2, .7, .3, 1), filter .4s;
}
.mi:hover img { transform: scale(1.045); }
.media--single .mi img { aspect-ratio: 16 / 8; }

/* boton de play de los videos */
.mi__play {
  position: absolute; left: 50%; top: 50%;
  width: 62px; height: 62px; transform: translate(-50%, -50%);
  display: grid; place-items: center;
  background: var(--brand); color: #fff; border-radius: 50%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .5), 0 0 0 0 var(--brand-glow);
  transition: transform .3s, box-shadow .3s;
}
.mi__play svg { width: 22px; height: 22px; margin-left: 3px; }
.mi--video:hover .mi__play {
  transform: translate(-50%, -50%) scale(1.09);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .5), 0 0 0 14px var(--brand-glow);
}
.mi--video img { filter: brightness(.82); }
.mi--video:hover img { filter: brightness(.95); }

/* lupa de las fotos */
.mi__zoom {
  position: absolute; right: 12px; top: 12px;
  width: 34px; height: 34px; display: grid; place-items: center;
  background: rgba(13, 13, 13, .72); border: 1px solid var(--line);
  opacity: 0; transform: translateY(-4px); transition: opacity .25s, transform .25s;
}
.mi__zoom svg { width: 16px; height: 16px; }
.mi:hover .mi__zoom { opacity: 1; transform: none; }

/* pie de la pieza */
.mi__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; flex-direction: column; gap: 3px;
  padding: 26px 16px 13px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .85));
}
.mi__cap b { font-size: 13.5px; font-weight: 700; line-height: 1.3; }
.mi__cap i {
  font-style: normal; font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--faint);
}

/* hueco reservado para material que todavia no esta */
.mi--slot {
  display: flex; align-items: center; gap: 12px;
  padding: 30px 20px; cursor: default; aspect-ratio: 16 / 9;
  justify-content: center; text-align: center;
  border-style: dashed; border-color: rgba(255, 255, 255, .18);
  background:
    repeating-linear-gradient(135deg,
      rgba(255, 255, 255, .028) 0 10px, transparent 10px 20px);
  color: var(--faint); font-size: 12.5px;
}
.mi--slot:hover { border-color: rgba(255, 255, 255, .18); }
.mi--slot svg { width: 18px; height: 18px; flex: 0 0 auto; }

/* barra de la galeria */
.media__bar {
  display: flex; align-items: center; gap: 10px;
  margin-top: 12px;
}
.media__arrow {
  width: 34px; height: 34px; flex: 0 0 auto;
  display: grid; place-items: center;
  border: 1px solid var(--line); background: transparent;
  color: var(--muted); cursor: pointer;
  transition: color .2s, border-color .2s, opacity .2s;
}
.media__arrow svg { width: 16px; height: 16px; }
.media__arrow:hover:not(:disabled) { color: var(--ink); border-color: rgba(255, 255, 255, .34); }
.media__arrow:disabled { opacity: .28; cursor: default; }
.media__dots { display: flex; gap: 6px; align-items: center; }
.media__dots i {
  width: 6px; height: 6px; background: rgba(255, 255, 255, .22);
  transition: background .25s, width .25s;
}
.media__dots i.is-on { width: 22px; background: var(--brand); }
.media__hint {
  margin-left: auto; font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--faint);
}

/* ============ frase de remate de un hito ============ */
.ev__quote {
  margin: 26px 0 0; padding: 4px 0 4px 22px;
  border-left: 3px solid var(--brand);
  font-family: var(--display); font-weight: 700;
  font-size: clamp(20px, 2.6vw, 30px); line-height: 1.15;
  letter-spacing: .01em; text-transform: uppercase;
  color: var(--ink);
}

/* ============ LIGHTBOX ============ */
html.lb-on, html.lb-on body { overflow: hidden; }
.lb {
  position: fixed; inset: 0; z-index: 90;
  display: grid; place-items: center; padding: clamp(16px, 4vw, 54px);
}
.lb[hidden] { display: none; }
.lb__bg { position: absolute; inset: 0; background: rgba(6, 6, 8, .93); backdrop-filter: blur(8px); }
.lb__figure {
  position: relative; margin: 0; width: 100%; max-width: 1220px;
  display: flex; flex-direction: column; gap: 14px;
}
.lb__stage {
  position: relative; width: 100%;
  display: grid; place-items: center;
  max-height: 78vh;
}
.lb__stage img {
  max-width: 100%; max-height: 78vh; width: auto; height: auto;
  border: 1px solid var(--line);
}
.lb__stage iframe {
  width: 100%; aspect-ratio: 16 / 9; max-height: 78vh;
  border: 1px solid var(--line); background: #000;
}
.lb__foot {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 20px; font-size: 13px; color: var(--muted);
}
.lb__cap i {
  font-style: normal; font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--faint); margin-left: 10px;
}
.lb__count {
  font-size: 11px; letter-spacing: .14em; color: var(--faint);
  flex: 0 0 auto;
}
.lb__btn {
  position: absolute; z-index: 2;
  width: 46px; height: 46px; display: grid; place-items: center;
  background: rgba(20, 20, 24, .82); border: 1px solid var(--line);
  color: var(--ink); cursor: pointer; transition: background .2s, border-color .2s;
}
.lb__btn svg { width: 20px; height: 20px; }
.lb__btn:hover { background: var(--brand); border-color: var(--brand); }
.lb__close { top: clamp(14px, 3vw, 30px); right: clamp(14px, 3vw, 30px); }
.lb__prev  { left: clamp(8px, 2vw, 24px);  top: 50%; transform: translateY(-50%); }
.lb__next  { right: clamp(8px, 2vw, 24px); top: 50%; transform: translateY(-50%); }
.lb:not(.has-many) .lb__prev,
.lb:not(.has-many) .lb__next { display: none; }

/* ============ MANIFIESTO ============ */
.manifesto {
  position: relative; overflow: hidden;
  min-height: 92vh; display: grid; place-items: center;
  padding: clamp(80px, 14vh, 160px) var(--gutter);
  border-top: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 50% 108%, rgba(126, 45, 249, .3), transparent 62%),
    var(--bg);
}
.mani__inner { position: relative; max-width: var(--maxw); margin: 0 auto; width: 100%; }
.mani__kicker {
  margin: 0 0 22px; font-size: 11px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--brand-2);
}
.mani__title {
  margin: 0; font-family: var(--display); font-weight: 700;
  font-size: clamp(56px, 15vw, 190px); line-height: .84;
  letter-spacing: -.005em; text-transform: uppercase;
}
.mani__title em { font-style: normal; color: var(--brand-2); }
.mani__body {
  margin: 40px 0 0; max-width: 62ch;
  font-size: clamp(15px, 1.6vw, 19px); line-height: 1.75; color: var(--muted);
}
.beats { list-style: none; margin: 44px 0 0; padding: 0; display: grid; gap: 14px; }
.beat {
  position: relative; padding-left: 26px;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(19px, 2.7vw, 34px); line-height: 1.1;
  letter-spacing: .01em; text-transform: uppercase;
}
.beat::before {
  content: ''; position: absolute; left: 0; top: .44em;
  width: 12px; height: 3px; background: var(--brand);
}
.beat:last-child { color: var(--brand-2); }

/* ============ CUENTA REGRESIVA AL MAJOR ============ */
.cd {
  margin: 44px 0 0; padding: 26px 28px;
  border: 1px solid var(--line); border-left: 3px solid var(--brand);
  background: rgba(255, 255, 255, .022);
  display: grid; gap: 4px; max-width: 460px;
}
.cd__num {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(52px, 9vw, 96px); line-height: .9;
  color: var(--brand-2); font-variant-numeric: tabular-nums;
}
.cd__label {
  font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--ink);
}
.cd__note { font-size: 11px; line-height: 1.5; color: var(--faint); }

/* ============ EPILOGO ============ */
.epilogue {
  padding: clamp(70px, 12vh, 130px) var(--gutter);
  border-top: 1px solid var(--line);
  text-align: center;
}
.epi__inner { max-width: var(--maxw); margin: 0 auto; }
.epi__names {
  margin: 0 0 34px; display: flex; flex-wrap: wrap;
  justify-content: center; gap: 10px 26px;
}
.epi__names span {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(17px, 2.3vw, 27px);
  letter-spacing: .05em; text-transform: uppercase; color: var(--muted);
}
.epi__line {
  margin: 0; font-family: var(--display); font-weight: 700;
  font-size: clamp(30px, 5.6vw, 68px); line-height: 1;
  letter-spacing: .01em; text-transform: uppercase;
}
.epi__hi {
  margin: 12px 0 0; font-family: var(--display); font-weight: 700;
  font-size: clamp(30px, 5.6vw, 68px); line-height: 1;
  letter-spacing: .01em; text-transform: uppercase; color: var(--brand-2);
}

/* ============ STAFF EN EL ROSTER ============ */
.player--staff { border-top: 2px solid var(--brand); }

/* ============ SELECTOR DE IDIOMA ============ */
.langnav {
  position: fixed; top: 14px; right: 16px; z-index: 70;
  display: flex; gap: 2px;
}
.langnav a {
  padding: 6px 10px; font-size: 10px; font-weight: 700;
  letter-spacing: .14em; color: var(--faint);
  background: rgba(13, 13, 13, .72); border: 1px solid var(--line);
  transition: color .2s, background .2s, border-color .2s;
}
.langnav a:hover { color: var(--ink); }
.langnav a.is-active { color: #fff; background: var(--brand); border-color: var(--brand); }

/* ============ AJUSTES CHICOS ============ */
@media (max-width: 900px) {
  .media--gallery .mi { flex: 0 0 86%; }
  .media--duo .media__track { grid-template-columns: 1fr; }
  .manifesto { min-height: auto; }

  /* El selector se achica un poco y se centra a ojo con la barra de
     filtros (que pegada arriba mide ~49px). --lang-lane tiene que ser
     el ancho del selector + el margen derecho + un poco de aire: si se
     toca el padding de los links, hay que recalcularlo. */
  :root { --lang-lane: 124px; }
  .langnav { top: 11px; right: 8px; gap: 1px; }
  .langnav a { padding: 6px 8px; letter-spacing: .08em; }

  /* Las flechas del lightbox estaban en bottom:-6px, o sea cortadas por
     el borde de la pantalla. Van adentro, al alcance del pulgar. */
  .lb__prev, .lb__next {
    top: auto; transform: none;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }
}

/* En chico los titulares caen al minimo del clamp y el interlineado
   apretado de escritorio los apelmaza. Se afloja solo aca; arriba de
   900px los tamanos grandes lo banca y queda como estaba. */
@media (max-width: 900px) {
  .hero__title  { line-height: .92; }
  .intro__title { line-height: 1.04; }
  .mani__title  { line-height: .9; }
}
@media (max-width: 560px) {
  .media--gallery .mi { flex: 0 0 92%; }
  .cd { padding: 20px; }
  .media__hint { display: none; }
}

/* con movimiento reducido no hay nada que revelar */
@media (prefers-reduced-motion: reduce) {
  .line__in { transform: none !important; }
  .beat, .intro__body, .mani__body { opacity: 1 !important; transform: none !important; }
}

/* La barra de filtros se retira cuando el timeline ya paso: arriba del
   manifiesto y del cierre solo estorbaba. */
.filterbar { transition: transform .35s ease, opacity .35s ease; }
.filterbar.is-off { transform: translateY(-101%); opacity: 0; pointer-events: none; }

/* ============ PIEZAS VERTICALES ============
   Placas y arte vertical: se muestran enteras en vez de recortadas,
   y una sola no se estira a todo el ancho de la tarjeta. */
.mi--tall img { background: #0b0b0e; }
.media--tall .media__track { max-width: 440px; }
.lb__stage img { object-fit: contain; }

/* ============ LA FOTO GRANDE DE CAMPEONES ============
   Va a sangre entre el timeline y el manifiesto. La imagen es mas alta
   que la seccion a proposito: GSAP la mueve con el scroll para el
   parallax, y ese sobrante es el margen que evita que se vean bordes.
   Sin GSAP queda quieta y centrada, que tambien funciona. */
.champ {
  position: relative;
  min-height: clamp(460px, 88svh, 900px);
  display: flex; align-items: flex-end;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: #000;
}
.champ__media { position: absolute; inset: -12% 0; }
.champ__media img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 42%;
}
/* La foto tiene una pantalla LED naranja muy brillante justo donde cae el
   texto, asi que el degradado carga bastante de la mitad para abajo. */
.champ__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(13, 13, 13, .55) 0%,
    rgba(13, 13, 13, .10) 28%,
    rgba(13, 13, 13, .58) 58%,
    rgba(13, 13, 13, .90) 82%,
    var(--bg) 100%);
}
.champ__inner {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding: 0 var(--gutter) clamp(40px, 7vh, 76px);
}
.champ__kicker {
  margin: 0 0 14px; font-size: 11px; letter-spacing: .28em;
  text-transform: uppercase; color: var(--brand-2);
  text-shadow: 0 2px 14px rgba(0, 0, 0, .9);
}
.champ__line {
  margin: 0; font-family: var(--display); font-weight: 900;
  font-size: clamp(64px, 17vw, 230px); line-height: .84;
  letter-spacing: -.015em; text-transform: uppercase;
  text-shadow: 0 6px 60px rgba(0, 0, 0, .6);
}
.champ__note {
  margin: 16px 0 0; font-size: clamp(14px, 1.7vw, 19px);
  line-height: 1.6; color: var(--muted); max-width: 40ch;
}
.champ__credit {
  position: absolute; right: var(--gutter); bottom: 14px; z-index: 2;
  font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--faint);
}

@media (max-width: 900px) {
  .champ { min-height: clamp(420px, 72svh, 640px); }
  .champ__line { line-height: .9; }
  .champ__credit { right: var(--gutter); bottom: 10px; }
}

/* sin animacion la imagen no se mueve, asi que no hace falta el sobrante */
@media (prefers-reduced-motion: reduce) {
  .champ__media { inset: 0; }
}

