/* ---- 00-fonts.css ---- */
/* Self-hosted (Google Fonts, subset latin). Archivo = sustituto de New Nord Extended / Mundial Narrow vía eje wdth. */
@font-face {
  font-family: 'Archivo';
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(/assets/fonts/archivo-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(/assets/fonts/archivo-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url(/assets/fonts/montserrat-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(/assets/fonts/montserrat-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---- 01-tokens.css ---- */
/* =========================================================================
   TOKENS — la única fuente de verdad de color, tipo, espacio, radios y motion.
   Si algo se corrige "en una página", se corrige acá o en 03-components.css.
   Nunca hardcodear un color o una curva en una sección: usar estas variables.
   ========================================================================= */
:root {
  /* Marca (Manual de marca Jero Páez, pág. 7) */
  --c-cream:   #E7D8B7;
  --c-orange:  #ED6A1D;
  --c-forest:  #0E4924;
  --c-oxblood: #6E200D;
  --c-olive:   #ADAD4C;

  /* Neutros derivados */
  --c-ink:     #0E0D0B;   /* negro cálido: fondo principal */
  --c-ink-2:   #1A1815;   /* superficies sobre ink */
  --c-paper:   #F2EBDC;   /* crema clara para secciones claras */
  --c-paper-2: #E7D8B7;   /* = cream: superficies sobre paper */

  /* Tipografía
     Display  → New Nord Extended (manual). Sustituto web libre: Archivo en ancho 125%.
     Narrow   → Mundial Narrow (manual).    Sustituto: Archivo en ancho 62% itálica.
     Texto    → Montserrat (manual, incluida en Drive).
     Si MDA/Jero tienen las licencias web, se cambia SOLO acá. */
  --ff-display: 'Archivo', 'Arial Black', system-ui, sans-serif;
  --ff-narrow:  'Archivo', 'Arial Narrow', system-ui, sans-serif;
  --ff-body:    'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fw-display: 800;
  --fs-display-stretch: 125%;
  --fs-narrow-stretch: 62%;

  /* Escala fluida (mobile → 1920) */
  --fs-mega:  clamp(3.4rem, 11.5vw, 13.5rem);
  --fs-h1:    clamp(2.6rem, 7vw, 8.25rem);
  --fs-h2:    clamp(2.1rem, 4.8vw, 5.5rem);
  --fs-h3:    clamp(1.45rem, 2.4vw, 2.6rem);
  --fs-h4:    clamp(1.12rem, 1.4vw, 1.5rem);
  --fs-lead:  clamp(1.55rem, 3.2vw, 3.5rem);
  --fs-body-l: clamp(1.06rem, .98rem + .3vw, 1.25rem);
  --fs-body:  clamp(.98rem, .94rem + .15vw, 1.075rem);
  --fs-small: .875rem;
  --fs-ui:    .75rem;
  --fs-micro: .6875rem;

  /* Espaciado */
  --sp-1: .25rem; --sp-2: .5rem; --sp-3: .75rem; --sp-4: 1rem; --sp-5: 1.5rem;
  --sp-6: 2rem; --sp-7: 3rem; --sp-8: 4rem; --sp-9: 6rem; --sp-10: 8rem;
  --gutter: clamp(1rem, 3.2vw, 3rem);
  --section-y: clamp(5rem, 11vw, 11rem);
  --container: 1720px;
  --header-h: clamp(4rem, 6vw, 5.25rem);

  /* Radios */
  --r-s: 6px; --r-m: 14px; --r-l: 22px; --r-xl: clamp(20px, 3vw, 40px); --r-pill: 999px;

  /* Motion — curvas y duraciones de TODO el sitio */
  --ease-out:    cubic-bezier(.16, 1, .3, 1);      /* expo out: reveals, hovers */
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);     /* cortinas, menú */
  --ease-soft:   cubic-bezier(.33, 1, .68, 1);
  --d-fast: .25s;
  --d-base: .55s;
  --d-slow: .95s;
  --d-reveal: 1.15s;
  --stagger: .08s;

  /* Capas */
  --z-header: 50; --z-menu: 60; --z-cursor: 80; --z-grain: 90;
}

/* -------------------------------------------------------------------------
   TEMAS DE SECCIÓN — cada sección elige uno con .theme-*; todos los
   componentes leen --bg / --fg / --fg-2 / --line / --accent.
   ------------------------------------------------------------------------- */
.theme-ink, :root {
  --bg: var(--c-ink); --bg-2: var(--c-ink-2);
  --fg: var(--c-cream); --fg-2: rgb(231 216 183 / .64); --fg-3: rgb(231 216 183 / .38);
  --line: rgb(231 216 183 / .16);
  --accent: var(--c-orange); --on-accent: var(--c-ink);
}
.theme-paper {
  --bg: var(--c-paper); --bg-2: var(--c-paper-2);
  --fg: var(--c-ink); --fg-2: rgb(14 13 11 / .66); --fg-3: rgb(14 13 11 / .42);
  --line: rgb(14 13 11 / .14);
  --accent: var(--c-orange); --on-accent: var(--c-ink);
}
.theme-forest {
  --bg: var(--c-forest); --bg-2: #0B3D1E;
  --fg: var(--c-cream); --fg-2: rgb(231 216 183 / .72); --fg-3: rgb(231 216 183 / .45);
  --line: rgb(231 216 183 / .2);
  --accent: var(--c-orange); --on-accent: var(--c-ink);
}
.theme-orange {
  --bg: var(--c-orange); --bg-2: #DE5F14;
  --fg: var(--c-ink); --fg-2: rgb(14 13 11 / .72); --fg-3: rgb(14 13 11 / .5);
  --line: rgb(14 13 11 / .2);
  --accent: var(--c-ink); --on-accent: var(--c-orange);
}
.theme-oxblood {
  --bg: var(--c-oxblood); --bg-2: #5A1A0A;
  --fg: var(--c-cream); --fg-2: rgb(231 216 183 / .72); --fg-3: rgb(231 216 183 / .45);
  --line: rgb(231 216 183 / .2);
  --accent: var(--c-orange); --on-accent: var(--c-ink);
}
[class*="theme-"] { background-color: var(--bg); color: var(--fg); }

/* ---- 02-base.css ---- */
/* ============================ BASE ============================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; min-height: 100svh;
  background: var(--c-ink); color: var(--c-cream);
  font-family: var(--ff-body); font-size: var(--fs-body); line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul[role="list"], ol[role="list"], .list-reset { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
::selection { background: var(--c-orange); color: var(--c-ink); }
:focus-visible { outline: 2px solid var(--c-orange); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: var(--gutter); top: -4rem; z-index: 100; background: var(--c-orange); color: var(--c-ink); padding: .75rem 1rem; border-radius: var(--r-pill); font-weight: 600; transition: top var(--d-fast) var(--ease-out); }
.skip-link:focus { top: 1rem; }

/* Tipos base — clases, no etiquetas: el nivel semántico (h1/h2) y el visual son independientes */
.t-display, .t-mega, .t-h1, .t-h2, .t-h3 {
  font-family: var(--ff-display); font-weight: var(--fw-display); font-stretch: var(--fs-display-stretch);
  text-transform: uppercase; line-height: .9; letter-spacing: -.015em;
  font-kerning: normal; text-wrap: balance;
}
.t-mega { font-size: var(--fs-mega); line-height: .84; letter-spacing: -.03em; }
.t-h1 { font-size: var(--fs-h1); }
.t-h2 { font-size: var(--fs-h2); }
.t-h3 { font-size: var(--fs-h3); line-height: .95; }
.t-h4 { font-family: var(--ff-display); font-stretch: 100%; font-weight: 700; font-size: var(--fs-h4); line-height: 1.15; letter-spacing: -.01em; }
.t-lead {
  font-family: var(--ff-display); font-stretch: 100%; font-weight: 600;
  font-size: var(--fs-lead); line-height: 1.08; letter-spacing: -.025em; text-wrap: pretty;
}
.t-narrow {
  font-family: var(--ff-narrow); font-stretch: var(--fs-narrow-stretch); font-style: italic; font-weight: 400;
  letter-spacing: .01em;
}
.t-body-l { font-size: var(--fs-body-l); line-height: 1.55; }
.t-muted { color: var(--fg-2); }
.t-accent { color: var(--accent); }
.prose p + p { margin-top: 1em; }
.prose { max-width: 38rem; text-wrap: pretty; }

/* Layout */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * .6); }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
@media (max-width: 899px) { .grid-12 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.rule { border: 0; height: 1px; background: var(--line); margin: 0; }

/* ---- 03-components.css ---- */
/* =========================================================================
   COMPONENTES — botón, tag, eyebrow, link, media, marquee, stat, header,
   menú, footer, cursor. Cada uno lee los tokens del tema de su sección.
   Ver /sistema/ para verlos todos juntos.
   ========================================================================= */

/* ---------- Botón ----------
   Estructura (la genera el build con <x-btn>):
   .btn > .btn__fill (ola que sube) + .btn__label[data-text] (texto que rueda) + .btn__icon */
.btn {
  --btn-bg: var(--accent); --btn-fg: var(--on-accent); --btn-bd: transparent;
  --btn-fill: var(--fg); --btn-fill-fg: var(--bg);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .9em;
  height: 3.25rem; padding: 0 1.25rem 0 1.6rem;
  border-radius: var(--r-pill); border: 1px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--ff-display); font-stretch: 112%; font-weight: 700;
  font-size: var(--fs-ui); letter-spacing: .09em; text-transform: uppercase; line-height: 1;
  white-space: nowrap; -webkit-tap-highlight-color: transparent;
  transition: color var(--d-base) var(--ease-out), border-color var(--d-base) var(--ease-out), transform var(--d-fast) var(--ease-out);
}
.btn__fill {
  position: absolute; inset: -2px; z-index: -1; background: var(--btn-fill);
  border-radius: 50% 50% 0 0 / 40% 40% 0 0;
  transform: translateY(102%);
  transition: transform var(--d-base) var(--ease-out), border-radius var(--d-base) var(--ease-out);
}
.btn__label { position: relative; display: block; overflow: hidden; height: 1.1em; line-height: 1.1; }
.btn__label > span, .btn__label::after { display: block; transition: transform var(--d-base) var(--ease-out); }
.btn__label::after { content: attr(data-text); position: absolute; left: 0; top: 100%; }
.btn__icon { display: grid; place-items: center; width: 1.15rem; height: 1.15rem; overflow: hidden; }
.btn__icon .icon { width: 100%; height: 100%; stroke-width: 1.8; }
.btn:active { transform: scale(.98); }
@media (hover: hover) {
  .btn:hover { color: var(--btn-fill-fg); border-color: var(--btn-fill); }
  .btn:hover .btn__fill { transform: translateY(0); border-radius: 0; }
  .btn:hover .btn__label > span, .btn:hover .btn__label::after { transform: translateY(-100%); }
  .btn:hover .btn__icon .icon { animation: arrow-swap var(--d-base) var(--ease-out); }
}
.btn:focus-visible { outline-offset: 4px; }
@keyframes arrow-swap { 0% { transform: none; } 45% { transform: translateX(130%); } 46% { transform: translateX(-130%); } 100% { transform: none; } }

.btn--primary { }
.theme-orange .btn--primary { --btn-fill: var(--c-cream); --btn-fill-fg: var(--c-ink); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--fg); --btn-bd: color-mix(in srgb, var(--fg) 38%, transparent); }
.btn--light { --btn-bg: var(--c-cream); --btn-fg: var(--c-ink); --btn-fill: var(--c-orange); --btn-fill-fg: var(--c-ink); }
.btn--glass {
  --btn-bg: rgb(14 13 11 / .28); --btn-fg: var(--c-cream); --btn-bd: rgb(231 216 183 / .35);
  --btn-fill: var(--c-cream); --btn-fill-fg: var(--c-ink);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn--sm { height: 2.6rem; padding: 0 1rem 0 1.25rem; gap: .7em; }
.btn--lg { height: 3.9rem; padding: 0 1.6rem 0 2rem; font-size: .8125rem; }
.btn--round { width: 3.25rem; padding: 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }

/* ---------- Tag (pill con borde: motivo del manual de marca) ---------- */
.tag {
  display: inline-flex; align-items: center; gap: .45em;
  padding: .5em 1em .44em; border: 1px solid currentColor; border-radius: var(--r-pill);
  font-family: var(--ff-narrow); font-stretch: var(--fs-narrow-stretch); font-style: italic; font-weight: 500;
  font-size: .875rem; letter-spacing: .05em; text-transform: uppercase; line-height: 1; white-space: nowrap;
}
.tag--sm { font-size: .75rem; padding: .45em .85em .4em; }
.tag--accent { color: var(--accent); }
.tag--solid { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.tag--muted { color: var(--fg-2); }
.tag__dot { width: .45em; height: .45em; border-radius: 50%; background: var(--c-orange); }
.tag-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); }

/* ---------- Eyebrow (rótulo de sección) ---------- */
.eyebrow {
  display: inline-flex; align-items: baseline; gap: .7em;
  font-family: var(--ff-narrow); font-stretch: var(--fs-narrow-stretch); font-style: italic; font-weight: 500;
  font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-2);
}
.eyebrow__num { color: var(--accent); }
.eyebrow__num::before { content: "("; } .eyebrow__num::after { content: ")"; }

/* Cabecera de sección: eyebrow + título + bajada */
.s-head { display: grid; gap: var(--sp-5); margin-bottom: clamp(2.5rem, 6vw, 6rem); }
.s-head__title sup { font-family: var(--ff-narrow); font-stretch: var(--fs-narrow-stretch); font-style: italic; font-weight: 500; font-size: .28em; letter-spacing: .02em; vertical-align: top; position: relative; top: .35em; margin-left: .2em; color: var(--accent); }
@media (min-width: 900px) {
  .s-head--split { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; column-gap: var(--gutter); }
  .s-head--split .eyebrow { grid-column: 1 / -1; }
}
.s-head__lead { color: var(--fg-2); font-size: var(--fs-body-l); max-width: 30rem; text-wrap: pretty; }

/* ---------- Links ---------- */
.link-u {
  background: linear-gradient(currentColor, currentColor) 100% 100% / 0 1px no-repeat;
  transition: background-size var(--d-base) var(--ease-out), color var(--d-fast);
  padding-bottom: .1em;
}
.link-u:hover, .link-u:focus-visible { background-size: 100% 1px; background-position: 0 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-family: var(--ff-display); font-stretch: 112%; font-weight: 700; font-size: var(--fs-ui); letter-spacing: .09em; text-transform: uppercase; }
.link-arrow .icon { width: 1.1em; height: 1.1em; transition: transform var(--d-base) var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(.3em); }

/* ---------- Media (imagen/video con recorte, zoom y B/N) ---------- */
.media { position: relative; overflow: hidden; border-radius: var(--r-m); background: var(--bg-2); isolation: isolate; }
.media > img, .media > video, .media > picture img { width: 100%; height: 100%; object-fit: cover; }
.media--zoom > img, .media--zoom > video { transition: transform 1.4s var(--ease-out), filter .9s var(--ease-out); will-change: transform; }
@media (hover: hover) {
  .media--zoom:hover > img, a:hover .media--zoom > img, a:hover .media--zoom > video { transform: scale(1.05); }
  .media--duo > img { filter: grayscale(1) contrast(1.08) brightness(.92); }
  .media--duo:hover > img, a:hover .media--duo > img, a:focus-visible .media--duo > img { filter: none; }
}
.media--r0 { border-radius: 0; }
.media--parallax > img { height: 118%; margin-top: -9%; }
.ratio-45 { aspect-ratio: 4 / 5; } .ratio-34 { aspect-ratio: 3 / 4; } .ratio-169 { aspect-ratio: 16 / 9; } .ratio-32 { aspect-ratio: 3 / 2; } .ratio-11 { aspect-ratio: 1; } .ratio-916 { aspect-ratio: 9 / 16; }

/* Imagen dentro del texto (pastilla) */
.inline-media {
  display: inline-block; width: 1.9em; height: .82em; border-radius: var(--r-pill); overflow: hidden;
  vertical-align: -.04em; margin-inline: .08em; background: var(--bg-2);
}
.inline-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Marquee (logos, palabras) ---------- */
.marquee {
  --gap: clamp(3rem, 6vw, 6.5rem); --marquee-d: 42s;
  display: flex; overflow: hidden; user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee .marquee__track { display: flex; align-items: center; gap: var(--gap); padding: 0 var(--gap) 0 0; flex-shrink: 0; min-width: 100%; justify-content: space-around; list-style: none; margin: 0; animation: marquee var(--marquee-d) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.marquee__item { flex-shrink: 0; }
.sponsor { display: block; color: var(--fg); opacity: .78; transition: opacity var(--d-fast), color var(--d-base) var(--ease-out); }
.sponsor svg { height: var(--logo-h, 1.6rem); width: auto; }
.marquee__item:hover .sponsor { opacity: 1; color: var(--c-orange); }

/* ---------- Stat ---------- */
.stat { display: grid; gap: var(--sp-3); align-content: start; border-top: 1px solid var(--line); padding-top: var(--sp-5); }
.stat__value { font-family: var(--ff-display); font-weight: var(--fw-display); font-stretch: var(--fs-display-stretch); font-size: clamp(3.2rem, 6.2vw, 7.5rem); line-height: .85; letter-spacing: -.035em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat__pre, .stat__suf { color: var(--accent); }
.stat__pre { font-size: .55em; vertical-align: .55em; margin-right: .06em; }
.stat__suf { font-size: .55em; }
.stat__label { font-family: var(--ff-narrow); font-stretch: var(--fs-narrow-stretch); font-style: italic; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .05em; color: var(--fg-2); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: var(--z-header); height: var(--header-h);
  display: flex; align-items: center; color: var(--c-cream);
  transition: transform .7s var(--ease-out), background-color .5s var(--ease-out), -webkit-backdrop-filter .5s, backdrop-filter .5s;
}
.site-header::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: rgb(231 216 183 / .1); opacity: 0; transition: opacity .5s; }
.site-header.is-solid { background: rgb(14 13 11 / .74); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); }
.site-header.is-solid::after { opacity: 1; }
.site-header.is-hidden:not(.menu-open) { transform: translateY(-101%); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-6); }
.brand { display: block; color: var(--c-cream); transition: color var(--d-base) var(--ease-out); flex-shrink: 0; }
.brand svg { height: clamp(1.45rem, 1.9vw, 1.85rem); width: auto; }
.brand:hover { color: var(--c-orange); }
.nav ul { display: flex; gap: clamp(1rem, 1.9vw, 2.1rem); list-style: none; margin: 0; padding: 0; }
.nav__link { position: relative; display: block; overflow: hidden; height: 1.2em; line-height: 1.2; font-family: var(--ff-display); font-stretch: 112%; font-weight: 600; font-size: var(--fs-ui); letter-spacing: .08em; text-transform: uppercase; }
.nav__link > span { display: block; transition: transform var(--d-base) var(--ease-out); }
.nav__link > span::after { content: attr(data-text); position: absolute; left: 0; top: 100%; color: var(--c-orange); }
.nav__link:hover > span { transform: translateY(-100%); }
.nav__link[aria-current="page"] { color: var(--c-orange); }
.header-actions { display: flex; align-items: center; gap: var(--sp-3); }
.menu-toggle {
  display: none; align-items: center; gap: .65rem; height: 2.6rem; padding: 0 1.1rem;
  border: 1px solid rgb(231 216 183 / .35); border-radius: var(--r-pill);
  font-family: var(--ff-display); font-stretch: 112%; font-weight: 700; font-size: var(--fs-ui); letter-spacing: .09em; text-transform: uppercase;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); background: rgb(14 13 11 / .25);
}
.menu-toggle__lines { position: relative; width: 1.1rem; height: .6rem; }
.menu-toggle__lines::before, .menu-toggle__lines::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform var(--d-base) var(--ease-out), top var(--d-base) var(--ease-out); }
.menu-toggle__lines::before { top: 0; } .menu-toggle__lines::after { top: calc(100% - 1.5px); }
.menu-open .menu-toggle__lines::before { top: calc(50% - .75px); transform: rotate(45deg); }
.menu-open .menu-toggle__lines::after { top: calc(50% - .75px); transform: rotate(-45deg); }
@media (max-width: 1159px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
}
.site-header.menu-open { z-index: calc(var(--z-menu) + 1); background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header.menu-open::after { opacity: 0; }

/* ---------- Menú overlay ---------- */
.menu {
  position: fixed; inset: 0; z-index: var(--z-menu); background: var(--c-ink); color: var(--c-cream);
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .85s var(--ease-in-out), visibility 0s linear .85s;
  overflow-y: auto; overscroll-behavior: contain;
}
.menu.is-open { clip-path: inset(0); visibility: visible; transition: clip-path .85s var(--ease-in-out), visibility 0s; }
.menu__inner { min-height: 100%; display: grid; grid-template-rows: 1fr auto; gap: var(--sp-7); padding-top: calc(var(--header-h) + var(--sp-6)); padding-bottom: var(--sp-6); }
.menu__body { display: grid; align-items: center; gap: var(--gutter); }
@media (min-width: 900px) { .menu__body { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }
.menu__list { list-style: none; margin: 0; padding: 0; }
.menu__item { overflow: hidden; border-bottom: 1px solid rgb(231 216 183 / .1); }
.menu__link {
  display: flex; align-items: baseline; gap: 1rem; padding: .32em 0 .22em;
  font-family: var(--ff-display); font-weight: var(--fw-display); font-stretch: var(--fs-display-stretch); text-transform: uppercase;
  font-size: clamp(2rem, 6.4vw, 5.2rem); line-height: .95; letter-spacing: -.02em;
  transform: translateY(105%); transition: transform .9s var(--ease-out), color var(--d-fast);
}
.menu.is-open .menu__link { transform: none; transition-delay: calc(.28s + var(--i) * .055s), 0s; }
.menu__num { font-family: var(--ff-narrow); font-stretch: var(--fs-narrow-stretch); font-style: italic; font-weight: 500; font-size: .9rem; letter-spacing: .04em; color: var(--c-orange); transform: translateY(-1.2em); }
.menu__link:hover, .menu__link[aria-current="page"] { color: var(--c-orange); }
.menu__preview { display: none; }
@media (min-width: 900px) and (hover: hover) {
  .menu__preview { display: block; position: relative; aspect-ratio: 4 / 5; max-height: 68vh; justify-self: end; width: min(100%, 30rem); border-radius: var(--r-l); overflow: hidden; background: var(--c-ink-2); opacity: 0; transform: translateY(2rem); transition: opacity .8s var(--ease-out) .45s, transform 1s var(--ease-out) .45s; }
  .menu.is-open .menu__preview { opacity: 1; transform: none; }
  .menu__preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .6s var(--ease-out), transform 1.2s var(--ease-out); }
  .menu__preview img.is-on { opacity: 1; transform: none; }
}
.menu__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--sp-5); opacity: 0; transition: opacity .6s var(--ease-out); }
.menu.is-open .menu__foot { opacity: 1; transition-delay: .6s; }

/* ---------- Redes ---------- */
.socials { display: flex; flex-wrap: wrap; gap: var(--sp-2); list-style: none; margin: 0; padding: 0; }
.social { display: inline-flex; align-items: center; gap: .5em; height: 2.5rem; padding: 0 .95rem 0 .75rem; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: var(--fs-small); transition: background-color var(--d-base) var(--ease-out), color var(--d-base) var(--ease-out), border-color var(--d-base); }
.social .icon { width: 1.05rem; height: 1.05rem; }
.social:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.socials--icons .social span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.socials--icons .social { width: 2.75rem; height: 2.75rem; padding: 0; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { position: relative; z-index: 1; padding-top: var(--section-y); overflow: hidden; }
.footer__top { display: grid; gap: var(--sp-8); padding-bottom: var(--sp-8); }
@media (min-width: 900px) { .footer__top { grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, .6fr)); } }
.footer__claim { font-size: var(--fs-h3); max-width: 14ch; }
.footer__col h2 { margin-bottom: var(--sp-4); }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: var(--fs-body-l); }
.footer__logo { color: var(--c-orange); padding-block: var(--sp-6) 0; }
.footer__logo svg { width: 100%; height: auto; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-3) var(--sp-6); padding-block: var(--sp-5) var(--sp-6); border-top: 1px solid var(--line); font-size: var(--fs-small); color: var(--fg-2); }
.footer__bottom a:hover { color: var(--fg); }

/* ---------- Cursor (solo puntero fino) ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: var(--z-cursor); pointer-events: none; width: 0; height: 0; display: none; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }
.cursor__dot {
  position: absolute; width: 5.6rem; height: 5.6rem; left: -2.8rem; top: -2.8rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--c-orange); color: var(--c-ink);
  font-family: var(--ff-display); font-stretch: 112%; font-weight: 700; font-size: var(--fs-ui); letter-spacing: .09em; text-transform: uppercase;
  transform: scale(0); transition: transform .5s var(--ease-out);
}
.cursor.is-on .cursor__dot { transform: scale(1); }

/* ---------- Grano de película (textura global, estática) ---------- */
.grain { position: fixed; inset: -50%; z-index: var(--z-grain); pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.footer__socials { margin-top: var(--sp-5); }
.footer__credits { flex-basis: 100%; font-size: var(--fs-micro); color: var(--fg-3); }

/* ---- 04-motion.css ---- */
/* =========================================================================
   MOTION — sistema de reveals por atributo. Se usa igual en todas las páginas:
     data-reveal            → sube + aparece (default "up")
     data-reveal="fade"     → solo opacidad
     data-reveal="clip"     → cortina desde abajo (ideal para imágenes/cards)
     data-reveal="words"    → cada palabra sube desde una máscara (títulos)
     data-scrub             → palabras que se encienden con el scroll (manifiestos)
     style="--d:N"          → orden en la cascada (N × --stagger)
   Sin JS o con prefers-reduced-motion todo queda visible.
   ========================================================================= */
html.js [data-reveal] {
  opacity: 0; transform: translateY(2.2rem);
  transition: opacity var(--d-reveal) var(--ease-out), transform var(--d-reveal) var(--ease-out);
  transition-delay: calc(var(--d, 0) * var(--stagger));
}
html.js [data-reveal="fade"] { transform: none; }
html.js [data-reveal="clip"] {
  opacity: 1; transform: none; clip-path: inset(100% 0 0 0 round var(--r-m));
  transition: clip-path 1.3s var(--ease-in-out); transition-delay: calc(var(--d, 0) * var(--stagger));
}
html.js [data-reveal="clip"] img, html.js [data-reveal="clip"] video { transform: scale(1.22); transition: transform 1.8s var(--ease-out); transition-delay: calc(var(--d, 0) * var(--stagger)); }
html.js [data-reveal="words"] { opacity: 1; transform: none; }
html.js [data-reveal].is-in { opacity: 1; transform: none; }
html.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round var(--r-m)); }
html.js [data-reveal="clip"].is-in img, html.js [data-reveal="clip"].is-in video { transform: none; }

/* Palabras con máscara (las arma 20-reveal.js) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.w > span { display: inline-block; }
html.js [data-reveal="words"] .w > span { transform: translateY(108%); transition: transform var(--d-reveal) var(--ease-out); transition-delay: calc(var(--wi) * 45ms + var(--d, 0) * var(--stagger)); }
html.js [data-reveal="words"].is-in .w > span { transform: none; }

/* Scrub de palabras */
html.js [data-scrub] .sw { opacity: .17; transition: opacity .35s linear; }
html.js [data-scrub] .sw.is-on { opacity: 1; }
html.js [data-scrub] .inline-media { opacity: .25; transform: scale(.7); transition: opacity .5s, transform .7s var(--ease-out); }
html.js [data-scrub] .inline-media.is-on { opacity: 1; transform: none; }

/* Transición entre páginas (View Transitions entre documentos: Chrome/Edge/Safari 18+) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .55s var(--ease-in-out) both; }
::view-transition-new(root) { animation: vt-in .9s var(--ease-in-out) both; }
@keyframes vt-out { to { opacity: .35; transform: translateY(-6vh) scale(.98); } }
@keyframes vt-in { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  html.js [data-reveal], html.js [data-reveal] img { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  html.js [data-reveal="words"] .w > span { transform: none !important; }
  html.js [data-scrub] .sw, html.js [data-scrub] .inline-media { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none !important; }
  .marquee { flex-wrap: wrap; -webkit-mask-image: none; mask-image: none; }
  .marquee__track[aria-hidden="true"] { display: none; }
  @view-transition { navigation: none; }
}

/* ---- 05-preview.css ---- */
/* Solo en preview (localhost / pages.dev / preview.brekor.com): marca los datos que
   NO se pueden publicar sin confirmar. En jeropaez.com no se ve. */
.is-preview [data-verificar], .is-preview [data-pendiente] { position: relative; outline: 1px dashed var(--c-olive); outline-offset: .5rem; border-radius: 2px; }
.is-preview [data-verificar]::after, .is-preview [data-pendiente]::after {
  content: "verificar"; position: absolute; top: -1.4rem; right: 0; padding: .15rem .45rem; border-radius: 4px;
  background: var(--c-olive); color: var(--c-ink); font: 600 .625rem/1 var(--ff-body); letter-spacing: .08em; text-transform: uppercase;
}
.is-preview [data-pendiente]::after { content: "a confirmar"; }

/* ---- 10-home.css ---- */
/* =========================================================================
   HOME — solo layout de secciones. Colores, tipos, botones y hovers vienen
   del sistema (01–04). Si acá aparece un color o una curva nueva, va a tokens.
   ========================================================================= */

/* Todo lo que viene después del hero lo tapa (el hero queda sticky debajo) */
.page-home main > section:not(.hero) { position: relative; z-index: 1; }

/* ---------------- HERO ---------------- */
.hero { position: sticky; top: 0; height: 100svh; min-height: 34rem; overflow: hidden; z-index: 0; }
.hero.is-covered { visibility: hidden; }
.hero__stage { position: absolute; inset: 0; transform: scale(calc(1 - var(--hero-p, 0) * .06)); transform-origin: 50% 30%; }
.hero__stage::after { content: ""; position: absolute; inset: 0; z-index: 6; background: var(--c-ink); opacity: calc(var(--hero-p, 0) * .75); pointer-events: none; }
.hero__tri { position: absolute; inset: 0; display: flex; gap: 2px; background: var(--c-ink); }
.tri { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; transition: flex-grow 1.1s var(--ease-out); }
.tri__media { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); transition: clip-path 1.5s var(--ease-in-out), opacity 1.2s var(--ease-soft); transition-delay: calc(var(--i) * .13s + .05s), 0s; }
.tri__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(14 13 11 / .6) 0%, rgb(14 13 11 / 0) 30%, rgb(14 13 11 / 0) 52%, rgb(14 13 11 / .8) 100%); pointer-events: none; }
@media (max-width: 899px) { .tri__media::after { background: linear-gradient(180deg, rgb(14 13 11 / .55) 0%, rgb(14 13 11 / 0) 22%, rgb(14 13 11 / .1) 45%, rgb(14 13 11 / .88) 78%, rgb(14 13 11 / .95) 100%); } }
.tri__video, .tri__img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.66) saturate(.92); transform: scale(1.18); transition: transform 2.4s var(--ease-out), filter 1s var(--ease-out); transition-delay: calc(var(--i) * .13s + .05s), 0s; }
.tri__img { animation: kenburns 20s var(--ease-soft) infinite alternate; }
@keyframes kenburns { from { scale: 1; } to { scale: 1.09; } }
.hero.is-ready .tri__media { clip-path: inset(0); }
.hero.is-ready .tri__video, .hero.is-ready .tri__img { transform: scale(1.02); }

.tri__cap { position: absolute; z-index: 3; left: clamp(1rem, 2.2vw, 2.2rem); right: 1rem; top: calc(var(--header-h) + clamp(1rem, 3vh, 2.2rem)); display: grid; gap: .45rem; justify-items: start; opacity: 0; transform: translateY(1.2rem); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out), color .5s; transition-delay: calc(var(--i) * .12s + 1s); }
.hero.is-ready .tri__cap { opacity: 1; transform: none; }
.tri__num { font-family: var(--ff-narrow); font-stretch: var(--fs-narrow-stretch); font-style: italic; font-weight: 500; font-size: .95rem; color: var(--c-orange); }
.tri__num::before { content: "("; } .tri__num::after { content: ")"; }
.tri__word { position: relative; font-family: var(--ff-display); font-weight: var(--fw-display); font-stretch: var(--fs-display-stretch); text-transform: uppercase; font-size: clamp(1.7rem, 3.3vw, 3.7rem); line-height: .9; letter-spacing: -.02em; }
.tri__sub { font-family: var(--ff-narrow); font-stretch: var(--fs-narrow-stretch); font-style: italic; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; color: var(--fg-2); }

@media (hover: hover) and (min-width: 900px) {
  .hero.is-ready .hero__tri:hover .tri { flex-grow: .8; }
  .hero.is-ready .hero__tri .tri:hover { flex-grow: 1.42; }
  .tri:hover .tri__video, .tri:hover .tri__img { filter: brightness(.9) saturate(1.05); }
}

.hero__title { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; pointer-events: none; }
.hero__logo { display: block; width: min(44vw, 62vh, 760px); color: var(--c-orange);
  transform: translateY(calc(var(--hero-p, 0) * -14vh)) scale(calc(1 - var(--hero-p, 0) * .1));
  filter: drop-shadow(0 .6rem 2.5rem rgb(0 0 0 / .4));
  clip-path: inset(-10% 100% -10% 0); transition: clip-path 1.5s var(--ease-in-out) .75s; }
.hero__logo svg { width: 100%; height: auto; }
.hero.is-ready .hero__logo { clip-path: inset(-10% -10% -10% 0); }

.hero__bar { position: absolute; left: 0; right: 0; bottom: clamp(1rem, 3.2vh, 2.2rem); z-index: 5; display: flex; justify-content: space-between; align-items: flex-end; gap: var(--sp-4);
  opacity: 0; transform: translateY(1rem); transition: opacity 1s var(--ease-out) 1.35s, transform 1s var(--ease-out) 1.35s; }
.hero.is-ready .hero__bar { opacity: 1; transform: none; }
.hero__tags .tag { color: var(--c-cream); background: rgb(14 13 11 / .25); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero__tags .tag--muted { color: rgb(231 216 183 / .75); }

@media (max-width: 899px) {
  .hero__tri { display: block; }
  .tri { position: absolute; inset: 0; }
  .tri__media { opacity: 0; }
  .tri.is-active .tri__media { opacity: 1; }
  .tri__cap { top: auto; bottom: calc(9.4rem + (2 - var(--i)) * 2.75rem); left: var(--gutter); display: flex; align-items: baseline; gap: .55rem; color: rgb(231 216 183 / .38); }
  .tri.is-active .tri__cap { color: var(--c-cream); }
  .tri__sub { display: none; }
  .tri__word { font-size: clamp(2rem, 9.5vw, 2.6rem); }
  .tri__word::after { content: ""; position: absolute; left: 0; bottom: -.18em; height: 2px; width: 100%; background: var(--c-orange); transform: scaleX(0); transform-origin: left; }
  .tri.is-active .tri__word::after { animation: tri-progress var(--cycle, 4.2s) linear forwards; }
  .hero__logo { width: min(76vw, 26rem); margin-top: -26vh; }
  .hero__tags { display: none; }
  .hero__bar { justify-content: stretch; }
  .hero__ctas { width: 100%; flex-direction: column-reverse; gap: .5rem; }
  .hero__ctas .btn { width: 100%; height: 2.9rem; }
}
@keyframes tri-progress { to { transform: scaleX(1); } }

/* ---------------- QUIÉN SOY ---------------- */
.intro { border-radius: var(--r-xl) var(--r-xl) 0 0; }
.intro__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--sp-4); padding-bottom: var(--sp-4); margin-bottom: clamp(2rem, 5vw, 4.5rem); border-bottom: 1px solid var(--line); }
.intro__name { font-stretch: 112%; text-transform: uppercase; letter-spacing: .02em; font-size: var(--fs-small); color: var(--fg-2); }
.intro__manifesto { text-indent: clamp(0rem, 14vw, 16rem); max-width: 30ch; }
@media (min-width: 900px) { .intro__manifesto { max-width: 34ch; } }
.intro__grid { display: grid; gap: var(--sp-8); margin-top: var(--section-y); }
@media (min-width: 900px) {
  .intro__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: calc(var(--gutter) * 2.2); align-items: start; }
  .intro__portrait { position: sticky; top: calc(var(--header-h) + 1.5rem); }
  .intro__copy { padding-top: 12vh; }
}
.intro__portrait { display: grid; gap: var(--sp-3); }
.intro__caption { font-size: .95rem; text-transform: uppercase; color: var(--fg-2); }
.intro__copy { display: grid; gap: var(--sp-7); justify-items: start; }
.intro__title { max-width: 12ch; }
.worlds { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); width: 100%; }
.world { display: grid; gap: var(--sp-3); }
.world__label { display: flex; justify-content: space-between; align-items: center; }
.world__label .icon { width: 1.4rem; height: 1.4rem; transition: transform var(--d-base) var(--ease-out); }
.world:hover .world__label .icon { transform: rotate(45deg); color: var(--accent); }
.intro__process { display: grid; gap: var(--sp-3); padding-top: var(--sp-5); border-top: 1px solid var(--line); max-width: 36rem; }

/* ---------------- FRASE ---------------- */
.quote { padding-top: var(--section-y); overflow: hidden; }
.quote__inner { display: grid; gap: var(--sp-5); justify-items: start; padding-bottom: calc(var(--section-y) * .75); }
.quote__mark { font-family: var(--ff-display); font-weight: 900; font-stretch: 125%; font-size: clamp(7rem, 17vw, 17rem); line-height: .62; height: .4em; }
.quote__text { max-width: 19ch; font-size: clamp(2.1rem, 5.4vw, 6.4rem); line-height: .92; }
.quote__ribbon { border-top: 1px solid var(--line); padding-block: clamp(.8rem, 1.6vw, 1.3rem); }
.quote__ribbon .marquee { --gap: clamp(1.5rem, 3vw, 3rem); -webkit-mask-image: none; mask-image: none; }
.quote__ribbon li { font-family: var(--ff-display); font-weight: var(--fw-display); font-stretch: var(--fs-display-stretch); text-transform: uppercase; font-size: clamp(1.4rem, 3vw, 3rem); line-height: 1; }

/* ---------------- PROYECTOS ---------------- */
.projects__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(3.5rem, 7vw, 7rem) var(--gutter); }
@media (min-width: 900px) {
  .projects__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .pcard--a { grid-column: 1 / span 7; }
  .pcard--b { grid-column: 9 / span 4; margin-top: clamp(6rem, 14vw, 16rem); }
  .pcard--c { grid-column: 2 / span 4; }
  .pcard--d { grid-column: 7 / span 6; margin-top: clamp(4rem, 9vw, 10rem); }
}
.pcard__link { display: grid; }
.projects .s-head__title { grid-column: 1 / -1; font-size: clamp(2rem, 9.6vw, 11.5rem); white-space: nowrap; }
@media (min-width: 900px) { .projects .s-head__lead { grid-column: 2; } }
.pcard__media { aspect-ratio: 4 / 3; border-radius: var(--r-m); }
.pcard--b .pcard__media, .pcard--c .pcard__media { aspect-ratio: 4 / 5; }
.pcard__body { display: grid; grid-template-columns: auto 1fr auto; gap: var(--sp-4); align-items: start; padding-top: var(--sp-5); }
.pcard__num { font-family: var(--ff-narrow); font-stretch: var(--fs-narrow-stretch); font-style: italic; font-weight: 500; font-size: 1rem; color: var(--accent); padding-top: .25rem; }
.pcard__num::before { content: "("; } .pcard__num::after { content: ")"; }
.pcard__text { display: grid; gap: .7rem; justify-items: start; }
.pcard__title { transition: color var(--d-base) var(--ease-out); }
.pcard__desc { color: var(--fg-2); max-width: 34ch; }
.pcard__arrow { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid var(--line); transition: background-color var(--d-base) var(--ease-out), color var(--d-base) var(--ease-out), border-color var(--d-base), transform var(--d-base) var(--ease-out); }
.pcard__arrow .icon { width: 1.2rem; height: 1.2rem; }
@media (hover: hover) {
  .pcard__link:hover .pcard__title { color: var(--accent); }
  .pcard__link:hover .pcard__arrow { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transform: rotate(45deg); }
}
.projects__cta { margin-top: clamp(4rem, 8vw, 8rem); display: flex; justify-content: center; }

/* ---------------- CIUDADES ---------------- */
.cities { padding-bottom: var(--section-y); overflow: hidden; }
.cities__words { display: flex; align-items: center; gap: 3vw; width: max-content; margin-left: -8vw; white-space: nowrap;
  font-family: var(--ff-display); font-weight: var(--fw-display); font-stretch: var(--fs-display-stretch); text-transform: uppercase;
  font-size: clamp(4rem, 12.5vw, 15rem); line-height: .95; letter-spacing: -.03em;
  color: transparent; -webkit-text-stroke: 1.5px rgb(231 216 183 / .3); transform: translate3d(var(--drift-x, 0), 0, 0); }
.cities__star { color: var(--c-orange); -webkit-text-stroke: 0; font-size: .42em; }
.cities__row { display: flex; align-items: flex-end; gap: var(--gutter); width: max-content; padding-left: var(--gutter); margin-top: clamp(-5rem, -4vw, -2rem); transform: translate3d(var(--drift-x, 0), 0, 0); }
.city { flex: 0 0 auto; width: clamp(13rem, 23vw, 26rem); display: grid; gap: .85rem; justify-items: start; }
.city > .media { justify-self: stretch; }
.city--wide { width: clamp(19rem, 35vw, 38rem); }
.city:nth-child(even) { margin-bottom: clamp(2rem, 6vw, 7rem); }
.cities__note { display: grid; gap: var(--sp-4); justify-items: start; margin-top: clamp(4rem, 8vw, 8rem); }
.cities__note .t-h3 { max-width: 22ch; }

/* ---------------- NÚMEROS ---------------- */
.numbers { overflow: hidden; }
.numbers__bg { position: absolute; inset: 0; overflow: hidden; }
.numbers__bg img { width: 100%; height: 124%; margin-top: -12%; object-fit: cover; opacity: .5; filter: grayscale(1) contrast(1.1); }
.numbers__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--c-ink) 0%, rgb(14 13 11 / .35) 30%, rgb(14 13 11 / .6) 72%, var(--c-ink) 100%); }
.numbers__inner { position: relative; }
.numbers__grid { display: grid; gap: clamp(3rem, 6vw, 6rem); }
.numbers__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-7); }
@media (min-width: 700px) { .numbers__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); } }
.race { position: relative; display: grid; gap: .55rem; justify-items: start; padding: clamp(1.4rem, 2.4vw, 2.2rem); border: 1px solid var(--line); border-radius: var(--r-l); background: rgb(26 24 21 / .7); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.race__pulse { position: absolute; top: 1.6rem; right: 1.6rem; width: .6rem; height: .6rem; border-radius: 50%; background: var(--c-orange); animation: pulse 2s var(--ease-out) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(237 106 29 / .55); } 100% { box-shadow: 0 0 0 1rem rgb(237 106 29 / 0); } }
.race .tag { margin-bottom: .6rem; }
@media (min-width: 900px) {
  .race { grid-template-columns: auto minmax(0, 1fr) auto auto; grid-auto-flow: column; align-items: center; column-gap: clamp(1.5rem, 3vw, 3.5rem); padding-right: 4rem; }
  .race .tag, .race__date { margin-bottom: 0; }
  .race__pulse { top: 50%; margin-top: -.3rem; }
}
.race__event { font-family: var(--ff-display); font-weight: var(--fw-display); font-stretch: var(--fs-display-stretch); text-transform: uppercase; font-size: clamp(1.5rem, 2.2vw, 2.2rem); line-height: .95; letter-spacing: -.015em; }
.race__place { color: var(--fg-2); }
.race__date { font-family: var(--ff-narrow); font-stretch: var(--fs-narrow-stretch); font-style: italic; text-transform: uppercase; letter-spacing: .04em; color: var(--accent); margin-bottom: .6rem; }

/* ---------------- RIDECAST ---------------- */
.ridecast__band { position: relative; overflow: hidden; border-radius: var(--r-l); aspect-ratio: 4 / 5; background: #000; color: var(--c-cream); }
@media (min-width: 700px) { .ridecast__band { aspect-ratio: 16 / 8; } }
.ridecast__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.68) saturate(.95); }
.ridecast__overlay { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .9rem; padding: var(--gutter); text-align: center; }
.ridecast__title { font-size: clamp(3.6rem, 13vw, 14rem); }
.ridecast__claim { font-size: clamp(1.15rem, 2.1vw, 2rem); }
.ridecast__where { position: absolute; left: clamp(1rem, 2vw, 1.6rem); bottom: clamp(1rem, 2vw, 1.6rem); color: var(--c-cream); background: rgb(14 13 11 / .3); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ridecast__intro { display: grid; gap: var(--sp-6); margin-block: clamp(3rem, 7vw, 7rem) clamp(2.5rem, 5vw, 5rem); }
@media (min-width: 1000px) { .ridecast__intro { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: end; column-gap: calc(var(--gutter) * 2); } }
.ridecast__side { display: grid; gap: var(--sp-5); justify-items: start; }
.ridecast__presenta { display: flex; align-items: center; gap: .9rem; }
.ridecast__lila svg { height: 2rem; width: auto; }
.ridecast__eps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-7) var(--gutter); }
@media (min-width: 600px) { .ridecast__eps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ep:first-child { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .ridecast__eps { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ep:first-child { grid-column: auto; } }
.ep__link { display: grid; gap: .95rem; justify-items: start; }
.ep__media { width: 100%; aspect-ratio: 16 / 9; }
.ep__play { position: absolute; left: 1rem; bottom: 1rem; display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 50%; background: var(--c-orange); color: var(--c-ink); transition: transform var(--d-base) var(--ease-out); }
.ep__play .icon { width: 1.15rem; height: 1.15rem; margin-left: .15rem; }
.ep__link:hover .ep__play { transform: scale(1.14); }
.ep__meta { display: flex; align-items: center; gap: .7rem; }
.ep__place { font-family: var(--ff-narrow); font-stretch: var(--fs-narrow-stretch); font-style: italic; text-transform: uppercase; letter-spacing: .04em; color: var(--fg-2); }
.ep__title { font-family: var(--ff-display); font-weight: var(--fw-display); font-stretch: var(--fs-display-stretch); text-transform: uppercase; font-size: var(--fs-h4); line-height: 1; transition: color var(--d-base); }
.ep__link:hover .ep__title { color: var(--accent); }
.ep__desc { color: var(--fg-2); }

/* ---------------- 220 ---------------- */
.c220 { overflow: hidden; }
.c220__big { position: absolute; right: -3vw; top: 2%; font-family: var(--ff-display); font-weight: 900; font-stretch: 125%; font-size: clamp(12rem, 40vw, 46rem); line-height: .8; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px rgb(231 216 183 / .13); pointer-events: none; transform: translate3d(var(--drift-x, 0), 0, 0); }
.c220 .container { position: relative; }
.c220__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-8) var(--gutter); }
@media (min-width: 900px) { .c220__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } .c220-card:nth-child(2) { margin-top: clamp(3rem, 6vw, 6rem); } }
.c220-card__link { display: grid; gap: 1rem; justify-items: start; }
.c220-card__link .media { width: 100%; }
.c220-card__head { display: flex; align-items: baseline; gap: .45em; margin-top: .4rem; font-family: var(--ff-display); font-weight: var(--fw-display); font-stretch: var(--fs-display-stretch); text-transform: uppercase; font-size: var(--fs-h3); line-height: .95; }
.c220-card__brand { color: var(--accent); }
.c220-card__desc { color: var(--fg-2); max-width: 34ch; }
.c220__cta { margin-top: clamp(3.5rem, 7vw, 7rem); }

/* ---------------- PRENSA ---------------- */
.press__aside { display: grid; gap: var(--sp-5); justify-items: start; }
.press__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.press__link { position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr auto; gap: .6rem var(--gutter); align-items: center; padding: clamp(1.3rem, 2.3vw, 2.1rem) 0; border-bottom: 1px solid var(--line); transition: color var(--d-base) var(--ease-out), padding var(--d-base) var(--ease-out); }
.press__link::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -.6); z-index: -1; border-radius: var(--r-m); background: var(--fg); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .6s var(--ease-out); }
.press__medium { grid-column: 1 / -1; font-family: var(--ff-narrow); font-stretch: var(--fs-narrow-stretch); font-style: italic; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; color: var(--accent); }
.press__title { font-family: var(--ff-display); font-stretch: 100%; font-weight: 700; font-size: clamp(1.12rem, 1.9vw, 1.9rem); line-height: 1.12; letter-spacing: -.015em; text-wrap: balance; }
.press__year { display: none; }
.press__icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--line); transition: transform var(--d-base) var(--ease-out), background-color var(--d-base), color var(--d-base), border-color var(--d-base); }
.press__icon .icon { width: 1.1rem; height: 1.1rem; }
@media (min-width: 900px) {
  .press__link { grid-template-columns: 10rem minmax(0, 1fr) 5rem auto; }
  .press__medium { grid-column: auto; }
  .press__year { display: block; font-family: var(--ff-narrow); font-stretch: var(--fs-narrow-stretch); font-style: italic; color: var(--fg-2); text-align: right; }
}
@media (hover: hover) {
  .press__link:hover { color: var(--bg); padding-inline: clamp(.5rem, 1.2vw, 1.25rem); }
  .press__link:hover::before { transform: scaleY(1); }
  .press__link:hover .press__medium { color: var(--accent); }
  .press__link:hover .press__year { color: var(--fg-3); }
  .press__link:hover .press__icon { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transform: rotate(45deg); }
}

/* ---------------- SPONSORS ---------------- */
.sponsors { margin-top: var(--section-y); }
.sponsors__head { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4); margin-bottom: var(--sp-6); }
.sponsors__marquee { padding-block: clamp(1.8rem, 3.5vw, 3rem); border-block: 1px solid var(--line); }

/* ---------------- CIERRE ---------------- */
.closing { min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; padding-block: var(--section-y) clamp(2rem, 5vw, 4rem); }
.closing__media { position: absolute; inset: 0; overflow: hidden; }
.closing__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--zoom, 1.18)); will-change: transform; }
.closing__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(14 13 11 / .4) 0%, rgb(14 13 11 / .08) 30%, rgb(14 13 11 / .5) 55%, rgb(14 13 11 / .93) 100%); }
.closing__inner { position: relative; display: grid; gap: var(--sp-5); }
.closing__inner .eyebrow { color: rgb(231 216 183 / .8); }
.closing__title { font-size: clamp(2.2rem, 10vw, 13.5rem); line-height: .84; }
.closing__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: var(--sp-5); margin-top: var(--sp-4); }
.closing__lead { max-width: 28ch; }

/* En el home el CTA del header aparece recién cuando el hero (que ya tiene el suyo) queda atrás */
.page-home .header-cta { transition: opacity var(--d-base) var(--ease-out), visibility var(--d-base), color var(--d-base) var(--ease-out), border-color var(--d-base); }
.page-home .site-header:not(.is-solid):not(.menu-open) .header-cta { opacity: 0; visibility: hidden; }

/* Créditos de foto (obligatorios en las de Red Bull Content Pool) */
.city__cap { display: grid; gap: .45rem; justify-items: start; }
.city__credit { font-family: var(--ff-narrow); font-stretch: var(--fs-narrow-stretch); font-style: italic; font-size: .8rem; letter-spacing: .02em; color: var(--fg-3); }

/* ---- 20-pages.css ---- */
/* ===================== Páginas internas ===================== */
/* Stub "en construcción": usa el layout de .closing (10-home.css) */
.stub .closing__title { font-size: clamp(2.2rem, 10vw, 12.5rem); }
.stub__note { max-width: 34ch; }

/* ===================== /sistema/ (guía de estilo) ===================== */
.ds { padding-top: calc(var(--header-h) + var(--sp-8)); }
.ds-section { padding-block: var(--sp-9); border-top: 1px solid var(--line); }
.ds-section > .container { display: grid; gap: var(--sp-6); }
.ds-section > .container > * { min-width: 0; }
.ds-label { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .75rem; color: var(--fg-2); letter-spacing: .02em; overflow-wrap: anywhere; }
.ds-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: var(--sp-4); }
.ds-swatch { border-radius: var(--r-m); overflow: hidden; border: 1px solid var(--line); }
.ds-swatch__chip { height: 7rem; }
.ds-swatch__meta { padding: .8rem; display: grid; gap: .2rem; font-size: var(--fs-small); }
.ds-row { display: flex; flex-wrap: wrap; gap: var(--sp-4); align-items: center; }
.ds-type > * + * { margin-top: var(--sp-5); }
.ds-themes { display: grid; gap: var(--sp-4); }
@media (min-width: 900px) { .ds-themes { grid-template-columns: repeat(2, 1fr); } }
.ds-theme { padding: var(--sp-6); border-radius: var(--r-l); display: grid; gap: var(--sp-4); border: 1px solid var(--line); }
.ds-cards { display: grid; gap: var(--gutter); grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); }
.ds-motion { display: grid; gap: var(--gutter); grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); }
.ds-motion > div { padding: var(--sp-6); border-radius: var(--r-m); background: var(--bg-2); min-height: 9rem; display: grid; align-content: end; }
