/* Cervelló Studio · México — «Estreno privado»
   Sala a oscuras, un haz de proyector azul que cae sobre la pantalla (la VSL) y los casos en cartelera.
   Negro y azul eléctrico. Clash Display para hablar, Satoshi para explicar.
   Movimiento (Emil Kowalski): ease-out fuerte para entrar, respuesta al pulsar < 160 ms, nada desde scale(0). */

@font-face { font-family: 'Clash Display'; font-weight: 500; font-display: swap; src: url('fonts/clash-display-500.woff2') format('woff2'); }
@font-face { font-family: 'Clash Display'; font-weight: 600; font-display: swap; src: url('fonts/clash-display-600.woff2') format('woff2'); }
@font-face { font-family: 'Satoshi'; font-weight: 400; font-display: swap; src: url('fonts/satoshi-400.woff2') format('woff2'); }
@font-face { font-family: 'Satoshi'; font-weight: 500; font-display: swap; src: url('fonts/satoshi-500.woff2') format('woff2'); }
@font-face { font-family: 'Satoshi'; font-weight: 700; font-display: swap; src: url('fonts/satoshi-700.woff2') format('woff2'); }

:root {
  --bg: #04060b;
  --bg-2: #070b15;
  --surface: #0b0c10;
  --surface-2: #121318;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #eef2ff;
  --text-2: #a3aecb;
  --text-3: #7f8bab;
  --blue: #2f6bff;
  --blue-hi: #79a2ff;

  --display: 'Clash Display', 'Satoshi', system-ui, sans-serif;
  --sans: 'Satoshi', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1240px;
  --gutter: clamp(18px, 5vw, 64px);
  --r-lg: 28px;
  --r-md: 20px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);

  color-scheme: dark;
  accent-color: var(--blue);
  caret-color: var(--blue);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: #24304f var(--bg); scrollbar-width: thin; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 18px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* grano de película sobre toda la página: quita el negro plano digital */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 50; pointer-events: none;
  opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, video { display: block; max-width: 100%; }
button { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { list-style: none; padding: 0; }
em { font-style: normal; }
b, strong { font-weight: 700; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 4px; border-radius: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- barra ---------- */
.bar { position: absolute; inset: 0 0 auto; z-index: 5; }
.bar__in { display: flex; align-items: center; justify-content: space-between; height: 88px; }
.mark { font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: -0.01em; }
.mark span { color: var(--text-3); font-weight: 500; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px 9px 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(11, 17, 32, 0.6);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 14px; font-weight: 500; color: var(--text);
}
.pill__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--blue-hi); }

/* ---------- portada: la sala ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding-top: clamp(136px, 18vh, 190px);
  padding-bottom: clamp(56px, 8vw, 110px);
  background:
    radial-gradient(60% 50% at 50% 100%, rgba(47, 107, 255, 0.16), transparent 70%),
    var(--bg);
}
.hero__beam { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0; transition: opacity 1600ms ease; }
.hero__beam.is-on { opacity: 1; }
/* respaldo sin WebGL: un cono de luz en CSS */
.hero--nogl::before {
  content: ''; position: absolute; z-index: -1; left: 50%; top: -10%; width: 140%; height: 90%; transform: translateX(-50%);
  background: conic-gradient(from 160deg at 50% 0%, transparent 0deg, rgba(79, 130, 255, 0.18) 20deg, transparent 40deg);
  filter: blur(18px);
}
.hero__in { position: relative; text-align: center; }
.hero__title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(40px, 6vw, 92px);
  line-height: 1; letter-spacing: -0.03em; word-spacing: 0.12em;
  text-wrap: balance;
}
.line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.line > span { display: inline-block; }
.hero__title em { color: var(--blue-hi); }
.hero__lede { max-width: 58ch; margin: 28px auto 0; color: var(--text-2); font-size: clamp(17px, 1.5vw, 20px); }

.credits {
  display: inline-flex; flex-wrap: wrap; justify-content: center;
  margin-top: 36px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(7, 11, 21, 0.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.credits li { padding: 12px 22px; font-size: 15px; color: var(--text-2); }
.credits li + li { border-left: 1px solid var(--line); }
.credits b { font-family: var(--display); font-weight: 600; color: var(--text); font-size: 17px; margin-right: 2px; }
.credits li:last-child b { color: var(--blue-hi); }

/* la pantalla: la VSL, iluminada por el haz */
.screen { position: relative; margin: clamp(48px, 7vw, 88px) auto 0; max-width: 1080px; }
.screen__frame {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r-lg);
  background:
    #08090c;
  border: 1px solid rgba(140, 175, 255, 0.22);
  box-shadow:
    0 0 0 1px rgba(47, 107, 255, 0.08),
    0 40px 120px -30px rgba(47, 107, 255, 0.55),
    0 24px 60px -24px rgba(0, 0, 0, 0.9);
}
.screen__loop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.88; }
.screen__frame::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(120, 160, 255, 0.10), transparent 30%, transparent 55%, rgba(4, 6, 11, 0.85));
}
.screen__frame img, .screen__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.screen__frame iframe { opacity: 1; transition: opacity 300ms ease; @starting-style { opacity: 0; } }
.screen__play {
  position: absolute; inset: 0; width: 100%; display: grid; place-content: center; justify-items: center; gap: 14px;
  border: 0; background: transparent; color: var(--text); font: inherit; cursor: pointer;
}
.screen__icon {
  position: relative; width: 92px; height: 92px; border-radius: 50%;
  background: var(--blue); box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.8);
  transition: transform 160ms var(--ease-out), box-shadow 300ms ease;
}
.screen__icon::after {
  content: ''; position: absolute; left: 37px; top: 30px;
  border-style: solid; border-width: 16px 0 16px 25px; border-color: transparent transparent transparent #fff;
}
.screen__play:active .screen__icon { transform: scale(0.97); }
.screen__label { font-family: var(--display); font-weight: 500; font-size: clamp(20px, 2.2vw, 30px); letter-spacing: -0.01em; }
.screen__soon { display: none; font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue-hi); }
.screen__play { z-index: 1; }
.screen--empty .screen__play { cursor: default; place-content: end start; justify-items: start; gap: 6px; padding: clamp(18px, 3vw, 36px); text-align: left; }
.screen--empty .screen__icon { display: none; }
.screen--empty .screen__soon { display: block; }
/* el reflejo de la pantalla en el suelo de la sala */
.screen__floor {
  position: absolute; left: 6%; right: 6%; bottom: -70px; height: 90px; z-index: -1;
  background: radial-gradient(50% 60% at 50% 0%, rgba(47, 107, 255, 0.35), transparent 70%);
  filter: blur(14px);
}

/* ---------- cinta de resultados ---------- */
.ticker { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; }
.ticker__track { display: flex; width: max-content; }
.ticker__list { display: flex; flex: none; }
.ticker__list li {
  display: flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 22px 28px; font-size: 16px; color: var(--text-2);
}
.ticker__list li::after { content: ''; width: 6px; height: 6px; margin-left: 28px; border-radius: 50%; background: var(--blue); }
.ticker__list b { font-family: var(--display); font-weight: 600; font-size: 20px; color: var(--text); letter-spacing: -0.01em; }

/* ---------- títulos de sección ---------- */
.h2 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(36px, 5vw, 72px); line-height: 1.02; letter-spacing: -0.025em; word-spacing: 0.12em;
  margin-bottom: clamp(44px, 6vw, 80px);
}
.h2 span { color: var(--text-3); }

/* ---------- casos: cartelera que se apila ---------- */
.cases { padding-block: clamp(88px, 11vw, 160px); }
.stack { display: grid; gap: 28px; }
.card {
  position: sticky; top: calc(88px + var(--i, 0) * 14px);
  display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(18px, 2vw, 26px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: 0 -12px 40px -20px rgba(0, 0, 0, 0.9), 0 30px 80px -40px rgba(0, 0, 0, 0.9);
  transform-origin: 50% 0;
}
.media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r-md); background: #0e1526; }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; }
.media video { opacity: 1; transition: opacity 300ms ease; @starting-style { opacity: 0; } }
.media__right { object-position: 85% 40%; }
.media__top { object-position: 50% 30%; }
.media__play { position: absolute; inset: 0; width: 100%; border: 0; background: transparent; cursor: pointer; }
.media__play span {
  position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%;
  background: var(--blue); box-shadow: 0 16px 36px -14px rgba(0, 0, 0, 0.85);
  transition: transform 160ms var(--ease-out);
}
.media__play span::after {
  content: ''; position: absolute; left: 30px; top: 25px;
  border-style: solid; border-width: 13px 0 13px 20px; border-color: transparent transparent transparent #fff;
}
.media__play:active span { transform: scale(0.97); }
.media--pending img { filter: saturate(0.8) brightness(0.8); }
.media--empty { background: radial-gradient(70% 80% at 50% 0%, rgba(47, 107, 255, 0.12), transparent 70%), #0e0f13; }
.media__note {
  position: absolute; left: 14px; bottom: 14px; padding: 7px 12px; border-radius: 999px;
  background: rgba(4, 6, 11, 0.72); border: 1px solid var(--line-strong);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-size: 13px; font-weight: 500; color: var(--text);
}
.card__tag { margin-top: 8px; font-size: 15px; color: var(--blue-hi); font-weight: 500; }
.card__name { font-family: var(--display); font-weight: 600; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.02; letter-spacing: -0.02em; word-spacing: 0.1em; }
.facts { margin-top: 22px; }
.facts li { padding: 12px 0; border-top: 1px solid var(--line); color: var(--text-2); font-size: 17px; }
.facts b { color: var(--text); }

/* ---------- servicio: bento ---------- */
.service { padding-block: clamp(88px, 11vw, 160px); border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.bento {
  display: grid; gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  grid-template-areas:
    "rec rec scr"
    "edi edi edi"
    "chat chat you";
}
.tile {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  min-height: 210px; padding: 28px;
  border-radius: var(--r-lg); border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
}
.tile h3 { position: relative; font-family: var(--display); font-weight: 600; font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.015em; word-spacing: 0.1em; line-height: 1.1; }
.tile p { position: relative; }
.tile p { color: var(--text-2); font-size: 16px; max-width: 48ch; }
.tile--rec { grid-area: rec; }
.tile--script { grid-area: scr; }
.tile--edit { grid-area: edi; min-height: 0; }
.tile--chat { grid-area: chat; }
.tile--you { grid-area: you; }

/* el guion: una página de guion de verdad */
.script {
  position: relative; margin-bottom: auto; padding: 22px 22px 18px; border-radius: 14px;
  background: #f2f0ea; color: #16171c; transform: rotate(-1.2deg);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.9);
  font-family: 'Courier New', ui-monospace, monospace; font-size: 14px; line-height: 1.45;
}
.tile .script p { color: #16171c; }
.tile .script .script__scene { color: #1d4ac4; }
.script__scene { font-weight: 700; text-transform: uppercase; font-size: 12px; letter-spacing: 0.04em; }
.script__line { margin: 4px 0 14px; }
.script__line:last-child { margin-bottom: 0; }

/* la edición: tira de fotogramas reales con cabezal */
.filmstrip { position: relative; overflow: hidden; container-type: inline-size; height: 150px; margin: -28px -28px 22px; border-bottom: 1px solid var(--line); }
.filmstrip img { height: 100%; width: auto; max-width: none; }
.filmstrip__head { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--blue-hi); }
.filmstrip__head::before { content: ''; position: absolute; top: 0; left: -6px; border: 7px solid transparent; border-top-color: var(--blue-hi); }
.tile__row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; align-items: end; }
.tile .chat__note { position: absolute; right: 28px; bottom: 28px; font-size: 13px; color: var(--text-3); }

.tile--rec { min-height: 460px; background: #08090c; }
.tile__shot {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; z-index: 0;
  -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 82%); mask-image: linear-gradient(180deg, #000 45%, transparent 82%);
  opacity: 0.85;
}
.tile--rec > h3, .tile--rec > p, .viewfinder { position: relative; z-index: 1; }
.viewfinder { position: absolute; inset: 28px 28px 150px; }
.vf__corner { position: absolute; width: 34px; height: 34px; border: 0 solid rgba(238, 242, 255, 0.7); }
.vf__corner--tl { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; border-top-left-radius: 8px; }
.vf__corner--tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; border-top-right-radius: 8px; }
.vf__corner--bl { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; border-bottom-left-radius: 8px; }
.vf__corner--br { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; border-bottom-right-radius: 8px; }
.vf__rec, .vf__tc, .vf__meta { position: absolute; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; color: var(--text); font-variant-numeric: tabular-nums; }
.vf__rec { top: 16px; left: 18px; display: flex; align-items: center; gap: 8px; }
.vf__dot { width: 10px; height: 10px; border-radius: 50%; background: #ff3b4e; }
.vf__tc { top: 16px; right: 18px; }
.vf__meta { bottom: 16px; right: 18px; color: var(--text-2); }

.tile--chat { min-height: 460px; }
.chat { position: absolute; inset: 28px 28px 190px; display: flex; flex-direction: column; gap: 10px; justify-content: flex-end; }
.bubble { max-width: 78%; padding: 11px 16px; border-radius: 20px; font-size: 15px; line-height: 1.4; }
.tile .bubble--in { color: #fff; }
.tile .bubble--out { color: var(--text); }
.bubble--in { align-self: flex-end; background: #2457e6; color: #fff; border-bottom-right-radius: 6px; transform-origin: 100% 100%; }
.bubble--out { align-self: flex-start; background: #18213b; color: var(--text); border-bottom-left-radius: 6px; transform-origin: 0% 100%; }

.tile--you { background: radial-gradient(90% 80% at 100% 0%, rgba(120, 160, 255, 0.35), transparent 60%), #2457e6; border-color: rgba(160, 190, 255, 0.4); }
.tile--you h3 { font-size: clamp(32px, 3vw, 44px); }
.tile--you p { color: #fff; }

/* ---------- cierre: sala privada, el clímax ---------- */
.close { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(110px, 14vw, 200px) clamp(90px, 10vw, 150px); border-top: 1px solid var(--line); text-align: center; }
/* el haz vuelve a encenderse, esta vez sobre las tres plazas */
.close__beam {
  position: absolute; z-index: -1; left: 50%; top: -6%; width: min(1400px, 150%); height: 92%; transform: translateX(-50%);
  background: conic-gradient(at 50% 0%, transparent 157deg, rgba(79, 130, 255, 0.10) 166deg, rgba(140, 178, 255, 0.30) 180deg, rgba(79, 130, 255, 0.10) 194deg, transparent 203deg);
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  filter: blur(6px);
}
.close__title { font-family: var(--display); font-weight: 600; font-size: clamp(38px, 5.4vw, 80px); line-height: 1; letter-spacing: -0.025em; word-spacing: 0.12em; }
.close__title span { color: var(--text-2); }
.tickets { display: flex; justify-content: center; gap: clamp(14px, 2vw, 26px); margin-top: clamp(48px, 6vw, 80px); }
.ticket {
  position: relative; display: grid; justify-items: center; align-content: center; gap: 2px;
  width: clamp(150px, 16vw, 210px); aspect-ratio: 3 / 4; border-radius: 18px;
  background: linear-gradient(180deg, #16203b, #0b0d14 70%);
  border: 1px solid rgba(160, 190, 255, 0.35);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  /* muescas de entrada de cine a media altura */
  -webkit-mask: radial-gradient(circle 13px at 0 62%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 13px at 100% 62%, transparent 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 13px at 0 62%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 13px at 100% 62%, transparent 98%, #000) right / 51% 100% no-repeat;
}
.ticket::after { content: ''; position: absolute; left: 18px; right: 18px; top: 62%; border-top: 1px dashed rgba(160, 190, 255, 0.35); }
.ticket__kind { font-size: 13px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-2); }
.ticket__n { font-family: var(--display); font-weight: 600; font-size: clamp(72px, 8vw, 112px); line-height: 1; letter-spacing: -0.04em; }
.ticket__state { position: absolute; bottom: 8%; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--blue-hi); }
.ticket__state::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--blue-hi); }
.close__ask { margin-top: clamp(64px, 8vw, 110px); font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2.4vw, 32px); color: var(--text-2); }
.close__cta { margin-top: 6px; font-family: var(--display); font-weight: 600; font-size: clamp(56px, 10.5vw, 168px); line-height: 0.95; letter-spacing: -0.035em; word-spacing: 0.1em; }

/* ---------- pie ---------- */
.foot { border-top: 1px solid var(--line); }
.foot__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 96px; font-size: 14px; color: var(--text-3); }
.foot .mark { color: var(--text); font-size: 18px; }

/* ---------- movimiento ----------
   Por defecto todo se ve. Con JS (html.js) y sin «reducir movimiento» se prepara la entrada. */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__title .line > span { transform: translateY(100%); filter: blur(8px); transition: transform 1100ms var(--ease-out), filter 900ms ease; }
  .js .hero__title .line:nth-child(2) > span { transition-delay: 100ms; }
  .js.is-in .hero__title .line > span { transform: none; filter: none; }

  .js .hero__lede, .js .credits, .js .bar__in { opacity: 0; transform: translateY(12px); transition: opacity 800ms ease, transform 1000ms var(--ease-out); }
  .js .hero__lede { transition-delay: 380ms; }
  .js .credits { transition-delay: 480ms; }
  .js .bar__in { transition-delay: 200ms; }
  .js.is-in .hero__lede, .js.is-in .credits, .js.is-in .bar__in { opacity: 1; transform: none; }

  .js .screen { opacity: 0; transform: translateY(40px) scale(0.96); transition: opacity 1000ms ease, transform 1400ms var(--ease-out); transition-delay: 560ms; }
  .js.is-in .screen { opacity: 1; transform: none; }

  .ticker__track { animation: cinta 46s linear infinite; }
  .ticker:hover .ticker__track, .ticker.is-paused .ticker__track, .tile--edit.is-paused .filmstrip img { animation-play-state: paused; }
  @keyframes cinta { to { transform: translateX(-50%); } }

  .pill__dot::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--blue-hi); animation: latido 2.4s var(--ease-out) infinite; }
  @keyframes latido { from { transform: scale(0.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
  .vf__dot { animation: rec 1.6s steps(2, jump-none) infinite; }
  @keyframes rec { 50% { opacity: 0.15; } }

  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 800ms ease, transform 1000ms var(--ease-out); }
  .js .reveal.is-seen { opacity: 1; transform: none; }
  .hero__beam.is-on { animation: encender 1100ms steps(1, end) both; }
  @keyframes encender { 0% { opacity: 0; } 12% { opacity: 0.55; } 20% { opacity: 0.1; } 34% { opacity: 0.8; } 42% { opacity: 0.35; } 60%, 100% { opacity: 1; } }
  .filmstrip img { animation: tira 38s linear infinite alternate; }
  @keyframes tira { to { transform: translateX(calc(-100% + 100cqw)); } }
  .js .ticket { opacity: 0; transform: translateY(24px); transition: opacity 800ms ease, transform 1100ms var(--ease-out); }
  .js .tickets.is-seen .ticket { opacity: 1; transform: none; }
  .js .tickets.is-seen .ticket:nth-child(2) { transition-delay: 120ms; }
  .js .tickets.is-seen .ticket:nth-child(3) { transition-delay: 240ms; }

  .js .bubble { opacity: 0; transform: scale(0.96) translateY(8px); transition: opacity 300ms ease, transform 400ms var(--ease-out); }
  .js .chat.is-playing .bubble.is-on { opacity: 1; transform: none; }

}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__track { flex-wrap: wrap; width: auto; }
  .ticker__list[aria-hidden] { display: none; }
  .ticker__list { flex-wrap: wrap; justify-content: center; }
  .js .reveal { opacity: 0; transition: opacity 240ms ease; }
  .js .reveal.is-seen { opacity: 1; }
}

@media (hover: hover) and (pointer: fine) {
  .screen__play:hover .screen__icon { transform: scale(1.05); }
  .media__play:hover span { transform: scale(1.06); }
  .media img { transition: transform 900ms var(--ease-out); }
  .card:hover .media img { transform: scale(1.03); }
}

/* ---------- tablet y móvil ---------- */
@media (max-width: 960px) {
  .card { grid-template-columns: 1fr; top: calc(76px + var(--i, 0) * 10px); }
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "rec rec" "scr you" "edi edi" "chat chat"; }
}
@media (max-width: 620px) {
  body { font-size: 17px; }
  .bar__in { height: 72px; }
  .mark { font-size: 18px; }
  .pill { padding: 7px 12px 7px 11px; font-size: 13px; }
  .hero { padding-top: 120px; }
  .hero__lede { margin-top: 20px; font-size: 16px; }
  .credits { margin-top: 22px; border-radius: 14px; }
  .credits li { padding: 9px 12px; font-size: 13px; }
  .credits b { font-size: 15px; }
  .screen { margin-top: 32px; }
  .screen__frame { border-radius: var(--r-md); }
  .screen__icon { width: 72px; height: 72px; }
  .screen__icon::after { left: 29px; top: 23px; border-width: 13px 0 13px 20px; }
  .bento { grid-template-columns: 1fr; grid-template-areas: "rec" "scr" "edi" "chat" "you"; }
  .tile__row { grid-template-columns: 1fr; gap: 8px; }
  .tickets { gap: 10px; }
  .ticket { width: 31%; border-radius: 14px; }
  .tile--rec { min-height: 380px; }
  .tile--chat { min-height: 520px; }
  .foot__in { flex-direction: column; justify-content: center; padding-block: 28px; }
}
