:root {
  --bg: #060a11;
  --bg-2: #0b111b;
  --ink: #f5f8fc;
  --ink-2: #dde7f1;
  --muted: #8193a8;
  --line: rgba(244, 248, 252, 0.12);
  --accent: #75aadb;
  --accent-2: #a9cdef;
  --celeste: #9fd0ff;
  --red: #9e2a24;
  --f-display: "Anton", "Helvetica Neue", Arial, sans-serif;
  --f-cap: "Oswald", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Lora", Georgia, serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-film: cubic-bezier(0.65, 0, 0.35, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  color: var(--ink);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

body { font-family: var(--f-serif); }

button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.label-cap {
  font-family: var(--f-cap);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

/* ---------- Grano + viñeta ---------- */
.grain {
  position: fixed; inset: -50%; width: 200%; height: 200%;
  pointer-events: none; z-index: 400; mix-blend-mode: overlay;
}
.grain--still { opacity: 0.16; }
.grain--drift { opacity: 0.08; animation: drift 0.9s steps(6) infinite; }
@keyframes drift {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -1%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}
.vignette {
  position: fixed; inset: 0; pointer-events: none; z-index: 390;
  background: radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, 0.65) 100%);
}

/* ---------- Gate ---------- */
.gate {
  position: fixed; inset: 0; z-index: 200;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; border: 0; background: var(--bg); padding: 0;
  transition: opacity 1.2s var(--ease-film), transform 1.6s var(--ease-film), filter 1.2s ease;
}
.gate__ten {
  font-family: var(--f-display);
  font-size: clamp(140px, 26vw, 300px);
  line-height: 0.85;
  color: rgba(244, 248, 252, 0.07);
  letter-spacing: -0.02em;
  position: relative;
  animation: breath 5s ease-in-out infinite;
}
.gate__ten::after {
  content: "10";
  position: absolute; inset: 0;
  color: var(--ink);
  clip-path: inset(100% 0 0 0);
  animation: fillUp 2.6s 0.4s var(--ease-film) forwards;
}
@keyframes fillUp { to { clip-path: inset(0 0 0 0); } }
@keyframes breath { 0%, 100% { opacity: 0.88; } 50% { opacity: 1; } }
.gate__name {
  font-family: var(--f-serif); font-style: italic; font-size: clamp(18px, 2.2vw, 24px);
  color: var(--ink-2); opacity: 0; animation: rise 1.4s 1.6s var(--ease) forwards;
}
.gate__dates {
  font-family: var(--f-cap); letter-spacing: 0.5em; font-size: 12px; color: var(--muted);
  opacity: 0; animation: rise 1.4s 1.9s var(--ease) forwards;
}
.gate__hint {
  margin-top: 36px; color: var(--accent); padding: 12px 26px;
  border: 1px solid rgba(117, 170, 219, 0.45); border-radius: 999px;
  opacity: 0; animation: rise 1.4s 2.4s var(--ease) forwards;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.gate:hover .gate__hint, .gate:focus-visible .gate__hint { background: var(--accent); color: var(--bg); }
.gate__sound { color: var(--muted); font-size: 10px; opacity: 0; animation: rise 1.4s 2.7s var(--ease) forwards; }
.gate--exit { opacity: 0; transform: scale(1.08); filter: blur(8px); pointer-events: none; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Film ---------- */
.film { position: fixed; inset: 0; z-index: 100; background: var(--bg); overflow: hidden; }
.film__stage { position: absolute; inset: 0; }

.scene {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.6s var(--ease-film), filter 1.6s var(--ease-film);
  filter: blur(12px) brightness(0.6);
}
.scene.is-in { opacity: 1; filter: none; }
.scene.is-out { opacity: 0; filter: blur(10px) brightness(0.4); }
.scene.is-leaving .scene__text, .scene.is-leaving .subs,
.scene.is-out .scene__text, .scene.is-out .subs { opacity: 0; transition: opacity 0.6s ease; }

.scene__media {
  position: absolute; inset: -4%;
  background-size: cover; background-position: center;
  will-change: transform;
}
.scene__media video { width: 100%; height: 100%; object-fit: cover; }
.scene__blur { display: none; }
.scene--sepia .scene__media { filter: grayscale(1) sepia(0.3) hue-rotate(175deg) saturate(1.6) contrast(1.05) brightness(1.05); }
.scene--mono .scene__media { filter: grayscale(1) contrast(1.1); }
.scene--soft .scene__media { filter: saturate(0.85) contrast(1.05); }
.scene--cool .scene__media { filter: saturate(0.55) hue-rotate(-12deg) contrast(1.05); }
.scene__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 10, 17, 0.55) 0%, rgba(6, 10, 17, 0) 30%, rgba(6, 10, 17, 0) 50%, rgba(6, 10, 17, 0.88) 100%),
    linear-gradient(90deg, rgba(6, 10, 17, 0.55) 0%, rgba(6, 10, 17, 0) 55%);
}

/* Ken Burns */
.kb-in .scene__media { animation: kbIn var(--dur, 8s) linear forwards; }
.kb-out .scene__media { animation: kbOut var(--dur, 8s) linear forwards; }
.kb-left .scene__media { animation: kbLeft var(--dur, 8s) linear forwards; }
.kb-up .scene__media { animation: kbUp var(--dur, 8s) linear forwards; }
.scene__media--clip { inset: 0; animation: clipDrift var(--dur, 8s) linear forwards; }
@keyframes clipDrift { from { transform: scale(1.0); } to { transform: scale(1.06); } }
@keyframes kbIn { from { transform: scale(1.02); } to { transform: scale(1.16); } }
@keyframes kbOut { from { transform: scale(1.18); } to { transform: scale(1.03); } }
@keyframes kbLeft { from { transform: scale(1.12) translateX(2.5%); } to { transform: scale(1.12) translateX(-2.5%); } }
@keyframes kbUp { from { transform: scale(1.14) translateY(3%); } to { transform: scale(1.14) translateY(-3%); } }

.scene__text {
  position: absolute;
  left: clamp(24px, 7vw, 120px);
  right: clamp(24px, 7vw, 120px);
  bottom: clamp(70px, 14vh, 160px);
  max-width: 760px;
}
.scene__text--top { top: 64px; bottom: auto; }
.scene--center .scene__text {
  left: 50%; right: auto; bottom: 50%; transform: translate(-50%, 50%);
  text-align: center; width: min(92vw, 900px); max-width: none;
}
.scene__eyebrow { color: var(--accent); margin: 0 0 18px; }
.scene__title {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(40px, 7vw, 104px); line-height: 1.02; letter-spacing: 0.005em;
  text-transform: uppercase; margin: 0 0 18px; color: var(--ink);
}
.scene__body {
  font-family: var(--f-serif); font-size: clamp(17px, 1.6vw, 22px); line-height: 1.55;
  color: var(--ink-2); margin: 0; max-width: 58ch;
}
.scene__body em { color: var(--ink); }
.reveal { opacity: 0; transform: translateY(18px); filter: blur(6px); }
.is-in .reveal {
  animation: reveal 1.4s var(--ease) forwards;
  animation-delay: calc(0.5s + var(--i, 0) * 0.45s);
}
@keyframes reveal { to { opacity: 1; transform: none; filter: none; } }

/* Diálogo tipo subtítulo de película */
.subs {
  position: absolute; left: 50%; bottom: clamp(60px, 11vh, 120px); transform: translateX(-50%);
  width: min(92vw, 900px); text-align: center;
}
.sub {
  position: absolute; left: 0; right: 0; bottom: 0;
  font-family: var(--f-serif); font-size: clamp(19px, 2.1vw, 28px); line-height: 1.45;
  color: var(--ink); margin: 0; opacity: 0;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.9);
  transition: opacity 0.35s ease-in;
}
.sub.on { opacity: 1; transition: opacity 0.9s var(--ease-film) 0.15s; }
.sub__who { display: block; margin-bottom: 8px; color: var(--accent); }
.sub--narr { font-style: italic; color: var(--ink-2); }

/* Contadores */
.stats {
  display: grid; grid-template-columns: repeat(3, auto); gap: clamp(24px, 6vw, 80px);
  justify-content: center; margin: 28px 0 0;
}
.stat__n { font-family: var(--f-display); font-size: clamp(54px, 9vw, 130px); line-height: 1; display: block; }
.stat__l { color: var(--muted); }

/* Destello */
.flash { position: absolute; inset: 0; background: var(--ink); opacity: 0; pointer-events: none; z-index: 3; }
.flash.go { animation: flash 1.4s var(--ease-film); }
@keyframes flash { 0% { opacity: 0; } 12% { opacity: 0.85; } 100% { opacity: 0; } }

.film__progress {
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px; z-index: 5;
  background: rgba(244, 248, 252, 0.06);
}
.film__progress span { display: block; height: 100%; width: 0; background: var(--accent); transition: width 0.4s linear; }

.film__skip {
  position: absolute; right: 22px; top: 18px; z-index: 6;
  background: none; border: 0; color: rgba(244, 248, 252, 0.5); padding: 8px;
  transition: color 0.3s;
}
.film__skip:hover { color: var(--ink); }

/* ---------- Mundo ---------- */
.world { position: fixed; inset: 0; background: radial-gradient(ellipse at 60% 50%, #0c1422 0%, var(--bg) 60%); }
.world.is-entering #globe { animation: globeIn 3.2s var(--ease) both; }
@keyframes globeIn { from { opacity: 0; transform: scale(0.9); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
#globe { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; outline: none; }

.world__head {
  position: absolute; left: clamp(20px, 5vw, 72px); top: clamp(24px, 7vh, 72px);
  pointer-events: none; max-width: 520px;
}
.world.is-entering .world__head > * { opacity: 0; animation: rise 1.6s var(--ease) forwards; }
.world.is-entering .world__head > :nth-child(2) { animation-delay: 0.25s; }
.world.is-entering .world__head > :nth-child(3) { animation-delay: 0.5s; }
.world__eyebrow { color: var(--accent); margin: 0 0 14px; }
.world__title {
  font-family: var(--f-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(44px, 6.4vw, 92px); line-height: 0.9; margin: 0;
}
.world__title em { font-family: var(--f-serif); font-style: italic; text-transform: none; font-weight: 400; color: var(--accent-2); }
.world__sub { margin: 16px 0 0; color: var(--muted); font-size: 16px; font-style: italic; }

.world__actions {
  position: absolute; left: clamp(20px, 5vw, 72px); bottom: clamp(24px, 6vh, 64px);
  display: flex; gap: 10px; flex-wrap: wrap;
}
.world.is-entering .world__actions { opacity: 0; animation: rise 1.6s 1s var(--ease) forwards; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-cap); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 14px 22px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(6, 10, 17, 0.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform 0.25s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s;
}
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--accent); color: #06121f; border-color: var(--accent); }
.btn--accent:hover { background: #8fbde6; }
.btn--ghost { color: var(--ink-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); }
.btn--ghost:hover { border-color: rgba(244, 248, 252, 0.35); }
.btn--full { width: 100%; justify-content: center; padding: 16px; }
.btn[disabled] { opacity: 0.55; pointer-events: none; }
.btn__dot { width: 7px; height: 7px; border-radius: 50%; background: #06121f; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.7); } }

.world__hint {
  position: absolute; right: clamp(20px, 5vw, 72px); bottom: clamp(30px, 6vh, 70px);
  color: rgba(244, 248, 252, 0.35); margin: 0; pointer-events: none;
  transition: opacity 1s;
}

/* Tarjeta de ciudad */
.card {
  position: absolute; right: clamp(16px, 4vw, 56px); top: 50%; transform: translateY(-50%);
  width: min(400px, calc(100vw - 32px)); max-height: 70vh;
  background: rgba(9, 14, 22, 0.82); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line); border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 30px 60px -20px rgba(0, 0, 0, 0.8);
  padding: 26px 24px 18px; display: flex; flex-direction: column;
  animation: cardIn 0.7s var(--ease);
}
@keyframes cardIn { from { opacity: 0; transform: translateY(-46%); } to { opacity: 1; transform: translateY(-50%); } }
.card__close {
  position: absolute; right: 12px; top: 10px; width: 34px; height: 34px;
  border: 0; background: none; color: var(--muted); font-size: 24px; line-height: 1; border-radius: 50%;
}
.card__close:hover { color: var(--ink); background: rgba(244, 248, 252, 0.06); }
.card__city { color: var(--accent); margin: 0 0 14px; padding-right: 30px; }
.card__list { overflow-y: auto; margin: 0 -8px; padding: 0 8px; scrollbar-width: thin; scrollbar-color: #2a3a4e transparent; }
.msg { padding: 16px 0; border-top: 1px solid var(--line); }
.msg:first-child { border-top: 0; padding-top: 0; }
.msg__text { font-size: 17px; line-height: 1.55; margin: 0 0 10px; color: var(--ink); }
.msg__text::before { content: "\201C"; color: var(--accent); margin-right: 2px; }
.msg__text::after { content: "\201D"; color: var(--accent); margin-left: 2px; }
.msg__meta { font-family: var(--f-cap); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin: 0; }
.msg__audio { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; }
.play {
  width: 42px; height: 42px; flex: none; border-radius: 50%; border: 1px solid var(--accent);
  background: transparent; display: grid; place-items: center; transition: background 0.3s;
}
.play:hover { background: rgba(117, 170, 219, 0.15); }
.play::before {
  content: ""; width: 0; height: 0; margin-left: 3px;
  border-left: 11px solid var(--accent); border-top: 7px solid transparent; border-bottom: 7px solid transparent;
}
.play.is-playing::before { width: 10px; height: 12px; margin: 0; border: 0; border-left: 3px solid var(--accent); border-right: 3px solid var(--accent); }
.msg__bar { flex: 1; height: 2px; background: rgba(244, 248, 252, 0.12); border-radius: 2px; overflow: hidden; }
.msg__bar span { display: block; height: 100%; width: 0; background: var(--accent); }
.msg__time { font-family: var(--f-cap); font-size: 11px; color: var(--muted); min-width: 34px; text-align: right; }

/* Sheet / formulario */
.sheet {
  position: absolute; inset: 0; z-index: 20;
  background: rgba(5, 5, 5, 0.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: flex-start;
  padding: clamp(12px, 4vw, 56px);
  animation: fade 0.5s var(--ease);
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.sheet__panel {
  position: relative; width: min(460px, 100%); max-height: calc(100dvh - 24px); overflow-y: auto;
  background: rgba(9, 14, 22, 0.94); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 40px 80px -30px rgba(0, 0, 0, 0.9);
  padding: 30px 28px 26px;
  animation: panelIn 0.8s var(--ease);
}
.sheet__panel--wide { width: min(620px, 100%); }
@keyframes panelIn { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
.sheet__eyebrow { color: var(--accent); margin: 0 0 8px; }
.sheet__title { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: 34px; line-height: 1; margin: 0 0 24px; }

.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; position: relative; }
.field__label { font-family: var(--f-cap); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-2); }
.field__input {
  font-family: var(--f-serif); font-size: 17px; color: var(--ink);
  background: rgba(244, 248, 252, 0.04); border: 1px solid var(--line); border-radius: 12px;
  padding: 13px 14px; outline: none; transition: border-color 0.3s, background 0.3s;
}
.field__input::placeholder { color: #566476; font-style: italic; }
.field__input:focus { border-color: rgba(117, 170, 219, 0.7); background: rgba(244, 248, 252, 0.06); }
.field__input--area { resize: none; line-height: 1.5; }
.field__input.is-ok { border-color: rgba(117, 170, 219, 0.5); }
.field__hint { margin: 0; font-family: var(--f-cap); font-size: 11px; letter-spacing: 0.08em; color: var(--muted); }
.field__hint.is-err { color: #ff8a80; }

.city-list {
  position: absolute; top: 76px; left: 0; right: 0; z-index: 3; list-style: none; margin: 0; padding: 6px;
  background: #0f1724; border: 1px solid var(--line); border-radius: 12px; max-height: 230px; overflow-y: auto;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.8);
}
.city-list li { padding: 10px 12px; border-radius: 8px; cursor: pointer; font-size: 15px; }
.city-list li small { display: block; color: var(--muted); font-family: var(--f-cap); font-size: 11px; letter-spacing: 0.08em; margin-top: 2px; }
.city-list li[aria-selected="true"], .city-list li:hover { background: rgba(117, 170, 219, 0.14); }
.city-list .city-list__empty { color: var(--muted); cursor: default; font-style: italic; }
.city-list .city-list__empty:hover { background: none; }

.rec {
  display: flex; align-items: center; gap: 14px; padding: 12px;
  border: 1px solid var(--line); border-radius: 14px; background: rgba(244, 248, 252, 0.03);
}
.rec__btn {
  width: 52px; height: 52px; flex: none; border-radius: 50%;
  border: 1px solid rgba(117, 170, 219, 0.7); background: transparent;
  display: grid; place-items: center; transition: transform 0.2s var(--ease), background 0.3s;
}
.rec__btn:active { transform: scale(0.95); }
.rec__icon { width: 16px; height: 16px; border-radius: 50%; background: var(--red); transition: border-radius 0.3s, transform 0.3s; box-shadow: 0 0 0 4px rgba(158, 42, 36, 0.18); }
.rec.is-recording .rec__btn { background: rgba(158, 42, 36, 0.12); border-color: var(--red); }
.rec.is-recording .rec__icon { border-radius: 3px; transform: scale(0.9); animation: pulse 1.2s infinite; }
.rec__body { flex: 1; min-width: 0; }
.rec__wave { width: 100%; height: 30px; display: block; }
.rec__status { margin: 4px 0 0; font-family: var(--f-cap); font-size: 11px; letter-spacing: 0.08em; color: var(--muted); }
.rec__discard { border: 0; background: none; color: var(--muted); font-family: var(--f-cap); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }
.rec__discard:hover { color: var(--ink); }
.rec__preview { width: 100%; margin-top: 10px; height: 36px; filter: invert(0.92) hue-rotate(180deg); }

.form__error { min-height: 20px; margin: 0 0 12px; color: #ff8a80; font-size: 14px; }


.toast {
  position: absolute; left: 50%; top: 24px; transform: translate(-50%, -20px); z-index: 30;
  background: rgba(9, 14, 22, 0.92); border: 1px solid rgba(117, 170, 219, 0.4); border-radius: 999px;
  padding: 12px 22px; font-family: var(--f-cap); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink); opacity: 0; pointer-events: none; transition: opacity 0.5s, transform 0.6s var(--ease);
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }

.mute {
  position: fixed; left: 22px; top: 18px; z-index: 150;
  background: none; border: 0; color: rgba(244, 248, 252, 0.5); padding: 8px; display: flex; align-items: center; gap: 10px;
}
.mute::before {
  content: ""; width: 18px; height: 10px;
  background: linear-gradient(90deg, currentColor 2px, transparent 2px) 0 100% / 4px 100% repeat-x;
  animation: eq 0.9s ease-in-out infinite alternate;
}
.mute[aria-pressed="true"]::before { animation: none; height: 2px; }
@keyframes eq { from { height: 4px; } to { height: 12px; } }
.mute.is-world { top: auto; bottom: clamp(30px, 6vh, 70px); left: auto; right: clamp(20px, 5vw, 72px); transform: translateY(-28px); }

@media (max-width: 767px) {
  .scene__text { left: 22px; right: 22px; bottom: 40px; }
  .scene__shade { background: linear-gradient(180deg, rgba(6,10,17,0.5) 0%, rgba(6,10,17,0) 30%, rgba(6,10,17,0.2) 50%, rgba(6,10,17,0.92) 100%); }
  .stats { grid-template-columns: 1fr; gap: 14px; }
  .world__head { right: 20px; }
  .world__sub { font-size: 14px; }
  .world__actions { right: 20px; }
  .world__actions .btn { flex: 1 1 auto; justify-content: center; padding: 13px 14px; font-size: 11px; }
  .world__actions .btn--primary { flex-basis: 100%; }
  .world__hint { display: none; }
  .card { top: auto; bottom: 12px; transform: none; right: 12px; left: 12px; width: auto; max-height: 58vh; animation: cardUp 0.6s var(--ease); }
  @keyframes cardUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
  .sheet { align-items: flex-end; padding: 0; }
  .sheet__panel { width: 100%; border-radius: 22px 22px 0 0; max-height: 92dvh; animation: cardUp 0.6s var(--ease); }
  .mute.is-world { bottom: auto; top: 14px; right: 104px; transform: none; }
  .world__head { top: 56px; }
}

/* Pedido de girar el celular durante la película */
.film.is-paused .film__stage * { animation-play-state: paused !important; }
.rotate {
  position: absolute; inset: 0; z-index: 20;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 32px; text-align: center;
  background: rgba(6, 10, 17, 0.94); backdrop-filter: blur(10px);
  animation: rise 0.6s var(--ease) both;
}
.rotate[hidden] { display: none; }
.rotate__phone {
  width: 46px; height: 78px; border: 2px solid var(--accent-2); border-radius: 10px; margin-bottom: 18px;
  position: relative; animation: rotatePhone 2.4s var(--ease) infinite;
}
.rotate__phone::after {
  content: ''; position: absolute; left: 50%; bottom: 6px; width: 10px; height: 2px; margin-left: -5px;
  border-radius: 2px; background: var(--accent-2);
}
@keyframes rotatePhone { 0%, 20% { transform: rotate(0); } 55%, 80% { transform: rotate(-90deg); } 100% { transform: rotate(0); } }
.rotate__title { font-family: var(--f-display); font-size: 34px; text-transform: uppercase; margin: 0; color: var(--ink); }
.rotate__body { font-family: var(--f-serif); font-size: 17px; color: var(--ink-2); margin: 0; }
.rotate__skip {
  margin-top: 26px; background: none; border: 1px solid var(--line); border-radius: 999px;
  color: var(--muted); padding: 11px 18px; font-size: 10px;
}

/* Celular horizontal */
@media (orientation: landscape) and (max-height: 520px) {
  .scene__text { left: 6vw; right: 40vw; bottom: 9vh; max-width: none; }
  .scene__eyebrow { margin-bottom: 8px; }
  .scene__title { font-size: clamp(28px, 11vh, 46px); margin-bottom: 8px; }
  .scene__body { font-size: clamp(13px, 3.6vh, 16px); line-height: 1.45; }
  .scene--center .scene__text { width: 80vw; }
  .scene__text--top { top: 52px; }
  .subs { bottom: 7vh; }
  .sub { font-size: clamp(15px, 4.4vh, 19px); }
  .stat__n { font-size: clamp(40px, 16vh, 72px); }
  .stats { margin-top: 12px; }
  .scene--side .scene__text { right: 50%; }
  .scene--side .scene__media { inset: 6vh 4vw 6vh 52%; }
  .film__skip { top: 14px; }
  .mute:not(.is-world) { top: 14px; }
}

@media (min-aspect-ratio: 4/5) {
  .scene--side .scene__blur {
    display: block; position: absolute; inset: -10%;
    background-size: cover; background-position: center;
    filter: blur(32px) brightness(0.4) saturate(0.8);
  }
  .scene--side .scene__media { inset: 8vh 6vw 8vh 50%; background-size: contain; background-repeat: no-repeat; background-position: center; }
  .scene--side .scene__text { right: 52%; }
}

@media (max-aspect-ratio: 4/5) {
  .scene__blur {
    display: block; position: absolute; inset: -10%;
    background-size: cover; background-position: center;
    filter: blur(28px) brightness(0.45) saturate(0.8);
  }
  .scene__media { inset: 0 calc((1 - var(--mz, 1.35)) * 50vw) auto; height: 58vh; background-size: contain !important; background-repeat: no-repeat; background-position: center bottom !important; transform-origin: center bottom; }
  .scene__media video { object-fit: contain; object-position: center bottom; }
  .scene--sepia .scene__blur { filter: blur(28px) brightness(0.45) grayscale(1) sepia(0.3) hue-rotate(175deg) saturate(1.6); }
  .scene--mono .scene__blur { filter: blur(28px) brightness(0.4) grayscale(1); }
  .scene__shade { background: linear-gradient(180deg, rgba(6,10,17,0.55) 0%, rgba(6,10,17,0) 12%, rgba(6,10,17,0) 52%, rgba(6,10,17,0.88) 64%, rgba(6,10,17,0.95) 100%); }
  .scene:not(.scene--center) .scene__text { top: calc(58vh + 22px); bottom: auto; }
  .scene--full .scene__media { inset: 0; height: auto; background-size: cover !important; background-position: var(--pos, center) !important; transform-origin: center; }
  .scene--full .scene__blur { display: none; }
  .scene--below .scene__media { height: 46vh; }
  .scene--below .scene__shade { background: linear-gradient(180deg, rgba(6,10,17,0) 36%, rgba(6,10,17,0.9) 48%, rgba(6,10,17,0.95) 100%) !important; }
  .scene--below .scene__text { top: calc(46vh + 14px); bottom: auto; transform: translateX(-50%); }
  .subs { top: calc(58vh + 96px); bottom: auto; }
  .sub { top: 0; bottom: auto; }
  .toast { top: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  .scene__media { animation: none !important; }
  .grain--drift { animation: none; }
}
