/* Hallmark · shape: Bento Grid, opened by a pinned scroll story · genre: editorial · theme: Hedgerow (deal manual, brand spec) · job: try · draw: 23f256
 * hero: Poster inside the story (the tavern table full-bleed, the game's own logo, the head, the store pair) · nav: three-part bar, sticky · footer: colophon block, under the cast lined up · imagery: the product, 7 screens plus the game's character renders and portraits · signature: the camera walking into the tavern table and the cast passing one by one, each with his line and sheet from the game · hedgerow: hedge, brand gold accent
 * brand: La Mano Real (spec 2026-11-25, from the game's own EstiloMovilMus.cs) · type: Lora 700 over Poppins 500, the game's own faces
 * motion: the user asked for the Rockstar GTA VI site's scroll experience on the whole page, which overrides the theme's stillness and scroll-choreography's budget (prose moving, phones included): two pinned chapters scrubbed by CSS scroll timelines (the table and the 13 characters; a hand in four screens), then view-timeline entrances (frames straightening, lines filling, the chinchón stamp, the cast lining up); nothing moves on its own beyond the one-shot entrance; no support or reduced motion gets the static page
 * axes: dark/high-contrast-serif/chromatic-gold · posture: drenched · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E5 S5 R3 V5 · weakest: R, a long pinned story is far past the theme's restraint; it is the user's ask, it shows only the game (its table, its cast, its own lines), and the static page underneath is complete */
/* Hallmark · answered F4 · the store pair repeats at the close on the cream band, where the theme turns the same pill hedge green */
/* Hallmark · waive 38iii · .fila__hueco and .fila__lleno carry the same whole line · the line is set twice, outline under fill, so scrolling fills it in; no word is singled out */
/* Hallmark · answered F7 · the pill stays on controls only (the store pair); the portraits in the index take the card's square */
@import url("./tokens.css");
@import url("./base.css");

:root { --nav-h: 76px; }

/* ---------- a way past the nav ---------- */
.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }

/* ---------- nav: a three-part bar that stays ---------- */
.mast { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper-2); border-bottom: var(--rule-hair) solid var(--color-rule); }
.mast__bar { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; min-height: var(--nav-h); column-gap: var(--space-lg); }
.mast__logo { justify-self: start; display: block; }
.mast__logo img { width: 220px; height: auto; }
.mast__nav { display: flex; gap: var(--space-xl); }
.mast__nav a, .mast__action { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--text-sm); font-weight: 500; color: var(--color-ink-2); text-decoration: none; white-space: nowrap; transition: color var(--dur-short) var(--ease-out); }
.mast__nav a:hover { color: var(--color-ink); }
.mast__action { justify-self: end; color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 0.3em; }
.mast__action:hover { color: var(--color-accent-2); }
.mast__nav a:active, .mast__action:active { color: var(--color-accent); }
.mast__nav a:focus-visible, .mast__action:focus-visible, .mast__logo:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

/* ---------- buttons, the hedgerow pair ---------- */
.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 var(--space-lg); border: 1.5px solid var(--color-accent); border-radius: var(--radius-pill); font: 700 var(--text-sm)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: var(--color-accent-2); border-color: var(--color-accent-2); }
.btn--secondary { background: color-mix(in oklab, var(--color-paper-2) 55%, transparent); color: var(--color-accent); }
.btn--secondary:hover { background: color-mix(in oklab, var(--color-accent) 16%, var(--color-paper-2)); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }

/* ---------- the opening: the tavern table, then the cast passing one by one ---------- */
/* base: the finished page (a poster over the table, then the cast as a grid); the pinned story lives under @supports below */
.cine { --portada-h: calc(100svh - var(--nav-h)); position: relative; }
.cine__marca { position: absolute; left: 0; top: var(--portada-h); width: 1px; height: 1px; pointer-events: none; }
.cine__escena { position: relative; }
.cine__fondo { position: absolute; inset: 0 0 auto; height: var(--portada-h); overflow: clip; isolation: isolate; }
.cine__mesa { position: absolute; inset: 0; margin: 0; }
.cine__mesa > img { object-position: 58% 45%; animation: entra-camara 2.6s var(--ease-out) both; }
.cine__fondo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--color-paper-2); opacity: 0.35; }
.cine__fondo::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, var(--color-paper) 0%, transparent 38%), radial-gradient(70% 60% at 50% 48%, color-mix(in oklab, var(--color-paper-2) 70%, transparent) 0%, transparent 100%); }
.cine__portada { position: relative; z-index: 2; min-height: var(--portada-h); display: grid; justify-items: center; align-content: center; gap: var(--space-lg); padding: var(--space-2xl) var(--gutter) var(--space-xl); text-align: center; }
.cine__logo { width: min(820px, 88vw); height: auto; animation: aparecer 1s var(--ease-out) both; }
.cine__portada h1 { max-width: 16ch; font-size: clamp(2.5rem, 3.2vw + 1rem, 4.25rem); line-height: 1.02; }
.cine__portada h1 .w { display: inline-block; animation: subir 0.8s var(--ease-out) both; animation-delay: calc(250ms + var(--w) * 90ms); }
.cine__portada .lead { max-width: 34ch; color: var(--color-ink); animation: aparecer 0.8s var(--ease-out) 0.8s both; }
.cine__portada .actions { justify-content: center; animation: aparecer 0.8s var(--ease-out) 0.95s both; }
.cine__baja { display: inline-grid; justify-items: center; gap: var(--space-2xs); min-height: 44px; color: var(--color-ink-2); font-size: var(--text-sm); text-decoration: none; animation: aparecer 0.8s var(--ease-out) 1.1s both; transition: color var(--dur-short) var(--ease-out); }
.cine__baja svg { animation: botar 1.4s var(--ease-in-out) 2s 3; }
.cine__baja:hover { color: var(--color-accent); }
.cine__baja:active { color: var(--color-accent-2); }
.cine__baja:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.cine__rotulo { position: relative; z-index: 2; width: 100%; max-width: var(--container); margin-inline: auto; padding: var(--section-gap-s) var(--gutter) var(--space-2xl); }
.cine__reparto { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: var(--space-3xl) var(--gap-columns); max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter) var(--section-gap-s); list-style: none; }
.pj { display: grid; gap: var(--space-lg); align-content: start; min-width: 0; }
.pj__eco { display: none; }
.pj__img { justify-self: center; width: auto; height: 420px; max-width: none; }
.pj__texto { display: grid; gap: var(--space-md); }
.pj__texto h3 { max-width: 14ch; font-size: var(--text-3xl); line-height: 1; }
.pj__desc { max-width: 40ch; color: var(--color-ink-2); }
.pj__datos { display: grid; gap: var(--space-xs); margin: 0; }
.pj__datos div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: var(--space-sm); padding-top: var(--space-xs); border-top: var(--rule-hair) solid var(--color-rule); }
.pj__datos dt { font-size: var(--text-sm); color: var(--color-muted); }
.pj__datos dd { margin: 0; font-size: var(--text-sm); font-weight: 500; color: var(--color-ink); }
.cine__indice, .cine__barra { display: none; }
@keyframes entra-camara { from { transform: scale(1.12); } }
@keyframes subir { from { opacity: 0; transform: translateY(0.45em); } }
@keyframes aparecer { from { opacity: 0; transform: translateY(14px); } }
@keyframes botar { 50% { transform: translateY(6px); } }

/* product captures keep their own colour: no photograph treatment on the game's screens */
[data-kind="product"] > img { filter: none; outline: var(--rule-hair) solid color-mix(in oklab, var(--color-ink) 8%, transparent); outline-offset: -1px; }
.cine__mesa[data-kind="product"] > img { outline: 0; }

/* ---------- shared ---------- */
h2 { max-width: 18ch; }

/* ---------- Así va una mano: chapter two, the hand in four screens ---------- */
/* base: the four screens stacked, each with its line over it */
.mano { position: relative; padding-block: var(--section-gap-s); }
.mano__escena { position: relative; }
.mano__rotulo { width: 100%; max-width: var(--container); margin: 0 auto var(--space-2xl); padding-inline: var(--gutter); font-size: clamp(2.75rem, 4.5vw + 1rem, 6rem); line-height: 1; }
.mano__pasos { display: grid; gap: var(--space-3xl); max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); list-style: none; }
.paso { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; min-width: 0; }
.paso__shot { grid-column: 1 / -1; grid-row: 1; margin: 0; aspect-ratio: 16 / 9; }
.paso__shot::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, color-mix(in oklab, var(--color-paper-2) 90%, transparent) 0%, color-mix(in oklab, var(--color-paper-2) 45%, transparent) 40%, transparent 68%), linear-gradient(0deg, color-mix(in oklab, var(--color-paper-2) 85%, transparent) 0%, transparent 42%); }
.paso__texto { grid-column: 1 / 6; grid-row: 1; position: relative; z-index: 3; display: grid; gap: var(--space-md); padding: 0 0 var(--space-2xl) var(--space-2xl); }
.paso__texto h3 { max-width: 11ch; font-size: clamp(2.25rem, 3.4vw + 1rem, 5rem); line-height: 1; }
.paso__texto p { max-width: 30ch; font-size: var(--text-lead); line-height: 1.45; color: var(--color-ink); }
.paso__num { position: absolute; right: var(--space-xl); top: var(--space-lg); z-index: 3; font-family: var(--font-display); font-weight: 700; font-size: clamp(4.5rem, 9vw, 10rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px color-mix(in oklab, var(--color-accent) 75%, transparent); pointer-events: none; }
.mano__marcas { display: none; }

/* ---------- the tavern: two framed screens, then the rest as big lines ---------- */
.taberna { position: relative; padding-block: var(--section-gap) var(--section-gap-s); background: radial-gradient(60% 38% at 30% 0%, color-mix(in oklab, var(--color-accent) 10%, transparent), transparent 70%); }
.taberna__titulo { max-width: 13ch; margin-bottom: var(--space-3xl); font-size: clamp(2.75rem, 4.5vw + 1rem, 6rem); line-height: 1; }
.taberna__dos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2xl) var(--gap-columns); align-items: start; margin-bottom: var(--section-gap-s); perspective: 1600px; }
.vista { display: grid; gap: var(--space-md); min-width: 0; }
.vista--baja { margin-top: var(--space-3xl); }
.vista__marco { margin: 0 0 var(--space-md); aspect-ratio: 16 / 9; box-shadow: 0 0 0 1px color-mix(in oklab, var(--color-accent) 50%, transparent), 0 44px 60px -30px var(--color-paper-2); }
.vista h3 { font-size: var(--text-3xl); line-height: 1.05; }
.vista p { max-width: 40ch; color: var(--color-ink-2); }
.taberna__filas { margin: 0; padding: 0; list-style: none; border-top: var(--rule-hair) solid var(--color-rule); }
.fila { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: center; padding-block: var(--space-xl); border-bottom: var(--rule-hair) solid var(--color-rule); }
.fila__t { grid-column: 1 / 9; position: relative; max-width: none; font-size: clamp(2.25rem, 4.4vw + 0.5rem, 5.5rem); line-height: 1; }
.fila__hueco { color: transparent; -webkit-text-stroke: 1.5px color-mix(in oklab, var(--color-accent) 85%, transparent); }
.fila__lleno { position: absolute; inset: 0; color: var(--color-ink); }
.fila p { grid-column: 9 / 13; max-width: 32ch; color: var(--color-ink-2); }

/* ---------- el chinchón: covered, coming soon, in its own eucalyptus ---------- */
.chinchon { position: relative; isolation: isolate; overflow: clip; padding-block: var(--section-gap); background: var(--color-ch-paper); }
.chinchon__velo { position: absolute; inset: 0; z-index: -2; }
.chinchon__velo img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.chinchon::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 70% at 78% 60%, color-mix(in oklab, var(--color-ch-accent) 16%, transparent), transparent 70%), linear-gradient(90deg, var(--color-ch-paper) 0%, color-mix(in oklab, var(--color-ch-paper) 55%, transparent) 55%, transparent 100%); }
.chinchon__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; }
.chinchon__texto { grid-column: 1 / 9; display: grid; gap: var(--space-lg); justify-items: start; align-self: center; }
.chinchon__titulo { max-width: none; font-size: clamp(4.5rem, 11.5vw, 12rem); line-height: 0.9; color: transparent; -webkit-text-stroke: 2px var(--color-ch-accent); }
.chinchon__sello { margin: calc(-1 * var(--space-2xl)) 0 0 clamp(2rem, 16vw, 18rem); padding: var(--space-2xs) var(--space-lg); border: 2px solid var(--color-accent); background: color-mix(in oklab, var(--color-ch-paper) 75%, transparent); color: var(--color-accent); font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 2vw + 1rem, 2.75rem); line-height: 1.15; transform: rotate(-6deg); }
.chinchon__texto .lead { max-width: 30ch; margin-top: var(--space-md); color: var(--color-ink); }
.chinchon__siluetas { grid-column: 9 / 13; display: flex; justify-content: center; align-items: flex-end; height: clamp(360px, 38vw, 560px); }
.chinchon__siluetas img { position: relative; width: auto; height: 92%; max-width: none; filter: brightness(0) drop-shadow(0 0 1.5px var(--color-ch-accent)) drop-shadow(0 0 22px color-mix(in oklab, var(--color-ch-accent) 45%, transparent)); }
.chinchon__siluetas img:nth-child(2) { z-index: 1; height: 100%; margin-inline: -9%; }

/* ---------- the close: the whole cast lined up under the download ---------- */
.cierre { position: relative; isolation: isolate; overflow: clip; padding-top: var(--section-gap); background: radial-gradient(52% 46% at 50% 100%, color-mix(in oklab, var(--color-accent) 24%, transparent), transparent 75%), var(--color-paper-2); }
.cierre__texto { display: grid; justify-items: center; gap: var(--space-lg); text-align: center; }
.cierre__texto h2 { max-width: 12ch; font-size: clamp(3rem, 6vw + 1rem, 7.5rem); line-height: 0.95; }
.cierre__texto .lead { color: var(--color-ink-2); }
.cierre__texto .actions { justify-content: center; }
.cierre__cuadrilla { --alto: clamp(220px, 28vw, 460px); display: flex; justify-content: center; align-items: flex-end; height: var(--alto); margin-top: var(--space-2xl); }
.cierre__cuadrilla img { position: relative; z-index: calc(20 - max(var(--i) - 6, 6 - var(--i))); width: auto; height: 100%; max-width: none; margin-inline: calc(var(--alto) * -0.095); }

/* ---------- footer: the logo, a line, the links ---------- */
.pie { padding-block: var(--space-3xl) var(--space-2xl); background: var(--color-paper-2); border-top: var(--rule-hair) solid var(--color-rule); }
.pie__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); align-items: end; }
.pie__logo { grid-column: 1 / 6; width: min(100%, 400px); height: auto; }
.pie__colofon { grid-column: 6 / 10; color: var(--color-ink-2); }
.pie__colofon a, .pie__links a { color: var(--color-ink); text-decoration-color: var(--color-accent); transition: text-decoration-thickness var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.pie__colofon a:hover, .pie__links a:hover { color: var(--color-accent); text-decoration-thickness: 2px; }
.pie__colofon a:focus-visible, .pie__links a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.pie__links { grid-column: 11 / 13; display: grid; gap: var(--space-xs); margin: 0; padding: 0; list-style: none; font-size: var(--text-sm); }
.pie__legal { grid-column: 1 / -1; padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); font-size: var(--text-sm); color: var(--color-muted); }

/* ---------- the pinned story: scroll-driven, where it is supported and motion is welcome ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .cine { height: 1200svh; view-timeline: --cine block; }
    .cine__marca { top: calc(1100svh * var(--p)); }
    .cine__escena { position: sticky; top: var(--nav-h); height: var(--portada-h); overflow: clip; }
    .cine__fondo { inset: 0; height: auto; animation: travelling linear both; animation-timeline: --cine; animation-range: contain 0% contain 100%; }
    .cine__mesa { animation: acercar linear both; animation-timeline: --cine; animation-range: contain 0% contain 15%; }
    .cine__fondo::before { animation: oscurecer linear both; animation-timeline: --cine; animation-range: contain 0% contain 14%; }
    .cine__portada { position: absolute; inset: 0; min-height: 0; animation: portada-sale linear both; animation-timeline: --cine; animation-range: contain 0% contain 5.5%; }
    .cine__rotulo { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; max-width: none; padding: 0 var(--gutter); text-align: center; font-size: clamp(2.75rem, 5vw + 1rem, 6.5rem); line-height: 1; animation: rotulo linear both; animation-timeline: --cine; animation-range: contain 6% contain 15.5%; }
    .cine__reparto { position: absolute; inset: 0; display: block; max-width: none; padding: 0; }
    .cine__reparto::before { content: ""; position: absolute; inset: 0; background: radial-gradient(38% 58% at 64% 58%, color-mix(in oklab, var(--color-accent) 22%, transparent), transparent 72%); animation: luz linear both; animation-timeline: --cine; animation-range: contain 11% contain 16%; }
    .pj { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr); column-gap: var(--gap-columns); align-items: center; padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); }
    .pj__eco { display: block; position: absolute; inset: 6% 0 auto; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: min(16rem, calc(150vw / var(--letras, 6))); line-height: 1; letter-spacing: -0.03em; white-space: nowrap; color: color-mix(in oklab, var(--color-accent) 7%, transparent); -webkit-text-stroke: 1.5px color-mix(in oklab, var(--color-accent) 60%, transparent); pointer-events: none; animation: pj-eco linear both; animation-timeline: --cine; }
    .pj__img { grid-column: 7 / 12; grid-row: 1; align-self: end; height: 88%; filter: drop-shadow(0 30px 40px color-mix(in oklab, var(--color-paper-2) 90%, transparent)); animation: pj-fig linear both; animation-timeline: --cine; }
    .pj__texto { grid-column: 1 / 6; grid-row: 1; position: relative; z-index: 2; animation: pj-texto linear both; animation-timeline: --cine; }
    .pj__texto h3 { font-size: clamp(3rem, 4.4vw + 1rem, 6.5rem); line-height: 0.95; }
    .pj__desc { font-size: var(--text-lead); line-height: 1.45; max-width: 34ch; }
    .pj__datos { max-width: 30rem; }
    .cine__indice { position: absolute; right: var(--space-lg); top: 50%; z-index: 4; display: grid; gap: var(--space-xs); transform: translateY(-50%); animation: indice linear both; animation-timeline: --cine; animation-range: contain 11% contain 16%; }
    .indice__pj { position: relative; display: block; width: 38px; height: 38px; opacity: 0.45; animation: indice-pj linear both; animation-timeline: --cine; transition: opacity var(--dur-short) var(--ease-out); }
    .indice__pj img { width: 100%; height: 100%; }
    .indice__pj::after { content: ""; position: absolute; inset: -3px; border: 2px solid var(--color-accent); opacity: 0; animation: indice-aro linear both; animation-timeline: --cine; }
    .indice__pj:hover { opacity: 1; }
    .indice__pj:active { transform: scale(0.95); }
    .indice__pj:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; opacity: 1; }
    .cine__barra { display: block; position: absolute; left: 0; right: 0; top: 0; z-index: 4; height: 3px; background: var(--color-accent); transform-origin: left; animation: barra linear both; animation-timeline: --cine; animation-range: contain 14% contain 98%; }
    .pj:nth-child(1) > *, .indice__pj:nth-child(1), .indice__pj:nth-child(1)::after { animation-range: contain 12.423% contain 21.885%; }
    .pj:nth-child(2) > *, .indice__pj:nth-child(2), .indice__pj:nth-child(2)::after { animation-range: contain 18.731% contain 28.192%; }
    .pj:nth-child(3) > *, .indice__pj:nth-child(3), .indice__pj:nth-child(3)::after { animation-range: contain 25.038% contain 34.5%; }
    .pj:nth-child(4) > *, .indice__pj:nth-child(4), .indice__pj:nth-child(4)::after { animation-range: contain 31.346% contain 40.808%; }
    .pj:nth-child(5) > *, .indice__pj:nth-child(5), .indice__pj:nth-child(5)::after { animation-range: contain 37.654% contain 47.115%; }
    .pj:nth-child(6) > *, .indice__pj:nth-child(6), .indice__pj:nth-child(6)::after { animation-range: contain 43.962% contain 53.423%; }
    .pj:nth-child(7) > *, .indice__pj:nth-child(7), .indice__pj:nth-child(7)::after { animation-range: contain 50.269% contain 59.731%; }
    .pj:nth-child(8) > *, .indice__pj:nth-child(8), .indice__pj:nth-child(8)::after { animation-range: contain 56.577% contain 66.038%; }
    .pj:nth-child(9) > *, .indice__pj:nth-child(9), .indice__pj:nth-child(9)::after { animation-range: contain 62.885% contain 72.346%; }
    .pj:nth-child(10) > *, .indice__pj:nth-child(10), .indice__pj:nth-child(10)::after { animation-range: contain 69.192% contain 78.654%; }
    .pj:nth-child(11) > *, .indice__pj:nth-child(11), .indice__pj:nth-child(11)::after { animation-range: contain 75.5% contain 84.962%; }
    .pj:nth-child(12) > *, .indice__pj:nth-child(12), .indice__pj:nth-child(12)::after { animation-range: contain 81.808% contain 91.269%; }
    .pj:nth-child(13) > *, .indice__pj:nth-child(13), .indice__pj:nth-child(13)::after { animation-range: contain 88.115% contain 97.577%; }
    .pj:last-child > .pj__img { animation-name: pj-fig-fin; }
    .pj:last-child > .pj__eco { animation-name: pj-eco-fin; }
    .pj:last-child > .pj__texto { animation-name: pj-texto-fin; }
    .indice__pj:last-child { animation-name: indice-fin; }
    .indice__pj:last-child::after { animation-name: indice-aro-fin; }
    @media (max-width: 60rem) {
      .cine__indice { display: none; }
      .pj { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; row-gap: var(--space-md); padding: var(--space-lg) var(--gutter) var(--space-xl); }
      .pj__eco { inset: 4% 0 auto; }
      .pj__img { grid-column: 1; grid-row: 1; justify-self: center; height: 100%; }
      .pj__texto { grid-column: 1; grid-row: 2; gap: var(--space-sm); }
      .pj__texto h3 { font-size: clamp(2.25rem, 7vw + 0.5rem, 3.25rem); }
      .pj__desc { font-size: var(--text-md); }
      .cine__reparto::before { background: radial-gradient(70% 45% at 50% 40%, color-mix(in oklab, var(--color-accent) 20%, transparent), transparent 72%); }
    }
  }
}
@keyframes travelling { from { transform: scale(1.08) translateX(2.5%); } to { transform: scale(1.08) translateX(-2.5%); } }
@keyframes acercar { to { transform: scale(1.3); } }
@keyframes oscurecer { to { opacity: 0.82; } }
@keyframes portada-sale { to { opacity: 0; transform: translateY(-12vh) scale(0.96); visibility: hidden; } }
@keyframes rotulo { 0% { opacity: 0; transform: translateY(6vh) scale(0.96); } 25%, 62% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-6vh) scale(1.04); } }
@keyframes luz { from { opacity: 0; } }
@keyframes indice { from { opacity: 0; visibility: hidden; } }
@keyframes pj-fig { 0% { opacity: 0; transform: translateX(18vw) scale(0.94); } 30% { opacity: 1; transform: none; } 70% { opacity: 1; transform: scale(1.03); } 100% { opacity: 0; transform: translateX(-18vw) scale(0.97); } }
@keyframes pj-eco { 0%, 12% { opacity: 0; transform: translateX(45vw); } 32% { opacity: 1; transform: translateX(4vw); } 68% { opacity: 1; transform: translateX(-4vw); } 88%, 100% { opacity: 0; transform: translateX(-45vw); } }
@keyframes pj-texto { 0%, 22% { opacity: 0; transform: translateY(5vh); visibility: hidden; } 34%, 66% { opacity: 1; transform: none; visibility: visible; } 78%, 100% { opacity: 0; transform: translateY(-5vh); visibility: hidden; } }
@keyframes indice-pj { 0%, 100% { opacity: 0.45; } 30%, 70% { opacity: 1; } }
@keyframes indice-aro { 0%, 100% { opacity: 0; } 30%, 70% { opacity: 1; } }
@keyframes pj-fig-fin { 0% { opacity: 0; transform: translateX(18vw) scale(0.94); } 30% { opacity: 1; transform: none; } 100% { opacity: 1; transform: scale(1.03); } }
@keyframes pj-eco-fin { 0%, 12% { opacity: 0; transform: translateX(45vw); } 32% { opacity: 1; transform: translateX(4vw); } 100% { opacity: 1; transform: translateX(-4vw); } }
@keyframes pj-texto-fin { 0%, 22% { opacity: 0; transform: translateY(5vh); visibility: hidden; } 34%, 100% { opacity: 1; transform: none; visibility: visible; } }
@keyframes indice-fin { 0% { opacity: 0.45; } 30%, 100% { opacity: 1; } }
@keyframes indice-aro-fin { 0% { opacity: 0; } 30%, 100% { opacity: 1; } }
@keyframes barra { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- chapter two and the rest: scroll-driven, where supported and motion is welcome ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .mano { height: 520svh; padding: 0; view-timeline: --mano block; }
    .mano__escena { position: sticky; top: var(--nav-h); height: calc(100svh - var(--nav-h)); overflow: clip; }
    .mano__rotulo { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; max-width: none; margin: 0; text-align: center; font-size: clamp(3rem, 6vw + 1rem, 7.5rem); animation: mano-rotulo linear both; animation-timeline: --mano; animation-range: contain 0% contain 12%; }
    .mano__pasos { position: absolute; inset: 0; display: block; max-width: none; padding: 0; }
    .paso { position: absolute; inset: 0; grid-template-rows: minmax(0, 1fr); padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); }
    .paso__shot { position: absolute; inset: 0; aspect-ratio: auto; animation: paso-shot linear both; animation-timeline: --mano; }
    .paso__texto { padding: 0 0 var(--space-3xl); animation: pj-texto linear both; animation-timeline: --mano; }
    .paso__num { top: var(--space-2xl); right: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); animation: pj-eco-vertical linear both; animation-timeline: --mano; }
    .paso:first-child > .paso__shot { animation-name: paso-shot-ini; }
    .paso:last-child > .paso__shot { animation-name: paso-shot-fin; }
    .paso:last-child > .paso__texto { animation-name: pj-texto-fin; }
    .paso:last-child > .paso__num { animation-name: pj-eco-vertical-fin; }
    .mano__marcas { display: flex; position: absolute; right: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); bottom: var(--space-3xl); z-index: 5; gap: var(--space-xs); }
    .mano__marcas span { position: relative; width: 40px; height: 3px; background: color-mix(in oklab, var(--color-ink) 25%, transparent); }
    .mano__marcas span::after { content: ""; position: absolute; inset: 0; background: var(--color-accent); opacity: 0; animation: indice-aro linear both; animation-timeline: --mano; }
    .mano__marcas span:last-child::after { animation-name: indice-aro-fin; }
    .paso:nth-child(1) > *, .mano__marcas span:nth-child(1)::after { animation-range: contain 4.5% contain 37.5%; }
    .paso:nth-child(2) > *, .mano__marcas span:nth-child(2)::after { animation-range: contain 26.5% contain 59.5%; }
    .paso:nth-child(3) > *, .mano__marcas span:nth-child(3)::after { animation-range: contain 48.5% contain 81.5%; }
    .paso:nth-child(4) > *, .mano__marcas span:nth-child(4)::after { animation-range: contain 70.5% contain 103.5%; }
    .vista__marco { animation: enderezar linear both; animation-timeline: view(); animation-range: entry 0% cover 42%; }
    .fila__lleno { animation: llenar-fila linear both; animation-timeline: view(); animation-range: cover 30% cover 48%; }
    .chinchon__titulo { animation: acercar-titulo linear both; animation-timeline: view(); animation-range: entry 10% cover 40%; }
    .chinchon__sello { animation: sellar linear both; animation-timeline: view(); animation-range: entry 70% cover 42%; }
    .chinchon__siluetas img { animation: asomar linear both; animation-timeline: view(); animation-range: entry calc(10% + var(--i) * 12%) cover calc(38% + var(--i) * 6%); }
    .cierre__cuadrilla img { animation: asomar linear both; animation-timeline: view(); animation-range: entry calc(5% + max(var(--i) - 6, 6 - var(--i)) * 8%) entry calc(60% + max(var(--i) - 6, 6 - var(--i)) * 5%); }
    @media (max-width: 60rem) {
      .paso { grid-template-columns: minmax(0, 1fr); align-items: end; }
      .paso__shot { inset: calc(var(--space-xl) + var(--space-2xl)) 0 auto; height: 54%; aspect-ratio: auto; }
      .paso__shot::after { background: linear-gradient(0deg, var(--color-paper) 0%, transparent 35%); }
      .paso__texto { grid-column: 1; padding-bottom: var(--space-2xl); }
      .paso__num { top: var(--space-md); font-size: clamp(3rem, 14vw, 5rem); }
      .mano__marcas { top: var(--space-xl); bottom: auto; right: auto; left: var(--gutter); }
    }
  }
}
@keyframes mano-rotulo { 0%, 50% { opacity: 1; transform: none; visibility: visible; } 100% { opacity: 0; transform: translateY(-6vh) scale(1.04); visibility: hidden; } }
@keyframes paso-shot { 0% { opacity: 0; transform: scale(1.14); } 30% { opacity: 1; transform: scale(1.08); } 70% { opacity: 1; transform: scale(1.02); } 100% { opacity: 0; transform: scale(1); } }
@keyframes paso-shot-ini { 0% { opacity: 1; transform: scale(1.14); } 70% { opacity: 1; transform: scale(1.02); } 100% { opacity: 0; transform: scale(1); } }
@keyframes paso-shot-fin { 0% { opacity: 0; transform: scale(1.14); } 30% { opacity: 1; transform: scale(1.08); } 100% { opacity: 1; transform: scale(1); } }
@keyframes pj-eco-vertical { 0%, 12% { opacity: 0; transform: translateY(12vh); } 32% { opacity: 1; transform: translateY(2vh); } 68% { opacity: 1; transform: translateY(-2vh); } 88%, 100% { opacity: 0; transform: translateY(-12vh); } }
@keyframes pj-eco-vertical-fin { 0%, 12% { opacity: 0; transform: translateY(12vh); } 32% { opacity: 1; transform: translateY(2vh); } 100% { opacity: 1; transform: translateY(-2vh); } }
@keyframes enderezar { from { opacity: 0.35; transform: rotateX(16deg) translateY(70px) scale(0.94); } to { opacity: 1; transform: none; } }
@keyframes llenar-fila { from { opacity: 0; } to { opacity: 1; } }
@keyframes acercar-titulo { from { opacity: 0; transform: translateY(8vh) scale(1.1); } to { opacity: 1; transform: none; } }
@keyframes sellar { from { opacity: 0; transform: rotate(-14deg) scale(1.9); } to { opacity: 1; transform: rotate(-6deg) scale(1); } }
@keyframes asomar { from { opacity: 0; transform: translateY(26%); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .cine__mesa > img, .cine__logo, .cine__portada h1 .w, .cine__portada .lead, .cine__portada .actions, .cine__baja, .cine__baja svg { animation: none; }
}

@media (max-width: 60rem) {
  :root { --nav-h: 64px; }
  .mast__bar { grid-template-columns: minmax(0, 1fr) auto; }
  .mast__nav { display: none; }
  .mast__logo img { width: 180px; }
  .paso { grid-template-columns: minmax(0, 1fr); }
  .paso__texto { grid-column: 1; padding: 0 var(--space-lg) var(--space-lg); }
  .taberna__dos { grid-template-columns: minmax(0, 1fr); }
  .vista--baja { margin-top: 0; }
  .fila { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-sm); }
  .fila__t, .fila p { grid-column: 1; }
  .chinchon__grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-2xl); }
  .chinchon__texto, .chinchon__siluetas { grid-column: 1; }
  .chinchon__siluetas { height: 320px; }
  .pie__grid { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .pie__logo, .pie__colofon, .pie__links, .pie__legal { grid-column: 1; }
  .pie__logo { width: min(100%, 300px); }
  .pie__links { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); }
}
@media (max-width: 40rem) {
  .cierre__cuadrilla img:nth-child(-n+3), .cierre__cuadrilla img:nth-child(n+11) { display: none; }
  .chinchon__sello { margin: calc(-1 * var(--space-md)) 0 0 var(--space-xl); }
}
