:root {
  --bg: #100d17;
  --panel: rgba(255, 255, 255, 0.07);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --text: #fff9ff;
  --muted: #c8bed0;
  --accent: #ff7aa8;
  --accent-2: #ffc46b;
  --border: rgba(255, 255, 255, 0.13);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 122, 168, 0.16), transparent 32rem),
    radial-gradient(circle at 90% 30%, rgba(255, 196, 107, 0.12), transparent 28rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button { font: inherit; }
.screen { display: none; min-height: 100vh; }
.screen--active { display: block; }

#bootScreen {
  place-items: center;
  padding: 24px;
}
#bootScreen.screen--active { display: grid; }
.boot-card {
  width: min(720px, 100%);
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(18, 14, 26, 0.85);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.boot-card h1 { font-size: clamp(2rem, 6vw, 4rem); margin: 0 0 28px; line-height: 1; }
.eyebrow { color: var(--accent-2); letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; font-weight: 800; }
.progress { height: 12px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.08); }
.progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .35s ease; }
.terminal-line { color: var(--muted); min-height: 1.6em; }

.button {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 12px 18px;
  color: var(--text);
  background: var(--panel);
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); background: var(--panel-strong); }
.button--primary { border: 0; color: #1b1020; background: linear-gradient(120deg, var(--accent), var(--accent-2)); font-weight: 800; }

.section { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 88px 0; }
.hero { min-height: 100vh; display: grid; align-content: center; }
.hero > .eyebrow { max-width: 100%; font-size: clamp(.95rem, 1.1vw, 1.28rem); font-weight: 900; letter-spacing: clamp(.06em, .7vw, .12em); line-height: 1.35; }
.hero h1, .section-heading h2, .home-section h2, .update-section h2 { font-size: clamp(2.6rem, 8vw, 6.8rem); line-height: .94; margin: 10px 0 24px; }
.hero__lead { max-width: 760px; font-size: clamp(1.15rem, 2.4vw, 1.8rem); color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 36px 0; }
.stat { min-height: 150px; padding: 22px; border: 1px solid var(--border); border-radius: 24px; background: var(--panel); }
.stat strong { display: block; font-size: clamp(2rem, 5vw, 4.5rem); }
.stat span { color: var(--muted); }
.stat small { display: block; margin-top: 10px; color: var(--accent-2); font-size: clamp(.82rem, .28vw + .76rem, 1rem); font-weight: 850; line-height: 1.25; }

.section-heading { margin-bottom: 36px; }
.section-heading p:not(.eyebrow) { max-width: 760px; color: var(--muted); font-size: 1.1rem; }
#chapters { width: min(1460px, calc(100% - clamp(32px, 5vw, 96px))); }
#chapters .timeline { scroll-snap-type: y proximity; }
.timeline { display: grid; gap: clamp(18px, 1.6vw, 28px); }
.chapter { position: relative; padding: clamp(28px, 2.7vw, 46px); border: 1px solid var(--border); border-radius: 28px; background: var(--panel); overflow: hidden; }
.chapter::after { content: ""; position: absolute; inset: auto -70px -70px auto; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(255,122,168,.22), transparent 65%); }
.chapter__level { color: var(--accent-2); font-size: clamp(.82rem, .35vw + .74rem, 1.02rem); font-weight: 900; letter-spacing: .12em; }
.chapter h3 { margin: 8px 0 12px; font-size: clamp(1.75rem, 2.8vw, 3.55rem); line-height: .98; }
.chapter p { max-width: 820px; color: var(--muted); font-size: clamp(1rem, .45vw + .92rem, 1.28rem); line-height: 1.62; }
.chapter small { display: block; margin-top: 18px; color: #a99caf; }
.chapter--story-level { display: grid; grid-template-columns: minmax(0, .9fr) minmax(340px, 1.15fr); gap: clamp(22px, 2.4vw, 42px); align-items: start; scroll-snap-align: center; }
.chapter__copy { position: relative; z-index: 1; }
.chapter__date { color: var(--accent-2); font-size: clamp(.95rem, .32vw + .88rem, 1.12rem); font-weight: 900; letter-spacing: .04em; margin-bottom: 12px; }
.chapter-media { position: relative; z-index: 1; display: grid; gap: clamp(10px, 1vw, 16px); }
.chapter-media .media-hero img { max-height: clamp(420px, 38vw, 620px); }
.chapter-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, .8vw, 12px); }
.story-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(14px, 2.4vw, 28px);
  z-index: 4;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  color: rgba(255, 249, 255, .86);
  background: linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.055));
  box-shadow: 0 12px 34px rgba(255, 122, 168, .18), 0 0 28px rgba(255, 196, 107, .12);
  backdrop-filter: blur(14px) saturate(1.25);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity .42s ease, transform .42s ease, border-color .18s ease;
  animation: storyCueFloat 2.8s ease-in-out infinite;
}
.story-cue svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 7px rgba(255,196,107,.22));
}
.story-cue:hover { border-color: rgba(255, 255, 255, .42); transform: translate(-50%, 2px); }
.chapter--current .story-cue { opacity: .92; pointer-events: auto; transform: translate(-50%, 0); transition-delay: .78s; }
.body--scrolling .story-cue { opacity: 0; pointer-events: none; transform: translate(-50%, 8px); transition-delay: 0s; }

@keyframes storyCueFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 5px; }
}

.chapter-route-gate {
  display: grid;
  justify-items: center;
  margin: clamp(26px, 4vw, 46px) auto 0;
}
[data-level="LEVEL 1"] .chapter-media::before {
  content: "первый кадр";
  position: absolute;
  z-index: 3;
  top: 14px;
  left: 14px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  color: #1b1020;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  box-shadow: 0 12px 32px rgba(0,0,0,.2);
  font-size: clamp(.78rem, .2vw + .74rem, .94rem);
  font-weight: 900;
  letter-spacing: .02em;
  animation: memoryTag 7.5s ease-in-out infinite;
  pointer-events: none;
}
[data-level="LEVEL 1"] .chapter-media::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0 auto auto 0;
  width: 42%;
  height: 34%;
  border-radius: 22px;
  background: linear-gradient(115deg, transparent 18%, rgba(255,255,255,.28) 48%, transparent 72%);
  opacity: 0;
  transform: translateX(-55%) rotate(8deg);
  animation: memoryGlimmer 9s ease-in-out infinite;
  pointer-events: none;
}
[data-level="LEVEL 1"] .media-hero img { animation: memoryHeroBreath 12s ease-in-out infinite; will-change: transform; }
[data-level="LEVEL 1"] .chapter-thumbs .media-thumb { box-shadow: 0 14px 34px rgba(0,0,0,.18); will-change: transform; }
[data-level="LEVEL 1"] .chapter-thumbs .media-thumb:nth-child(1) { animation: memoryFloatA 8.4s ease-in-out infinite; }
[data-level="LEVEL 1"] .chapter-thumbs .media-thumb:nth-child(2) { animation: memoryFloatB 9.2s ease-in-out infinite; }
[data-level="LEVEL 1"] .chapter-thumbs .media-thumb:nth-child(3) { animation: memoryFloatC 10s ease-in-out infinite; }
[data-level="LEVEL 5"] .chapter-media::before {
  content: "дом найден";
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  color: var(--text);
  background: rgba(16,13,23,.72);
  box-shadow: 0 12px 32px rgba(0,0,0,.22);
  backdrop-filter: blur(10px);
  font-size: clamp(.78rem, .2vw + .74rem, .96rem);
  font-weight: 900;
  animation: homeStatus 8s ease-in-out infinite;
  pointer-events: none;
}
[data-level="LEVEL 5"] .chapter-media::after {
  content: "1640 км ↓ 0 км ↓ дом";
  position: absolute;
  z-index: 3;
  left: 14px;
  bottom: calc(33.333% + 24px);
  padding: 8px 11px;
  border-radius: 14px;
  color: #1b1020;
  background: linear-gradient(120deg, rgba(255,255,255,.92), var(--accent-2));
  box-shadow: 0 12px 34px rgba(0,0,0,.22);
  font-size: clamp(.74rem, .18vw + .7rem, .9rem);
  font-weight: 900;
  animation: homeRouteNote 10s ease-in-out infinite;
  pointer-events: none;
}
[data-level="LEVEL 5"] .media-hero img { animation: homeHeroWarmth 13s ease-in-out infinite; will-change: transform; }
[data-level="LEVEL 5"] .chapter-thumbs .media-thumb { box-shadow: 0 14px 34px rgba(0,0,0,.18); will-change: transform; }
[data-level="LEVEL 5"] .chapter-thumbs .media-thumb:nth-child(1) { transform: rotate(-1deg); animation: homeFloatA 9.5s ease-in-out infinite; }
[data-level="LEVEL 5"] .chapter-thumbs .media-thumb:nth-child(2) { transform: rotate(1deg); animation: homeFloatB 10.3s ease-in-out infinite; }
[data-level="LEVEL 5"] .chapter-thumbs .media-thumb:nth-child(3) { animation: homeFloatC 8.8s ease-in-out infinite; }
[data-level="LEVEL 5"] .chapter-thumbs .media-thumb:nth-child(4) { animation: homeFloatA 11s ease-in-out infinite reverse; }
[data-level="LEVEL 5"] .chapter-thumbs .media-thumb:nth-child(5) { animation: homeFloatB 9.8s ease-in-out infinite reverse; }
.home-collage { position: relative; z-index: 1; display: grid; grid-template-rows: minmax(270px, .8fr) auto auto; gap: clamp(12px, 1.1vw, 18px); min-height: 650px; padding: clamp(12px, 1.1vw, 18px); border: 1px solid rgba(255,255,255,.12); border-radius: 26px; background: radial-gradient(circle at 18% 12%, rgba(255,196,107,.16), transparent 34%), rgba(255,255,255,.045); overflow: hidden; }
.home-collage__hero { position: relative; min-height: 270px; max-height: clamp(330px, 31vw, 460px); overflow: hidden; border-radius: 22px; background: rgba(255,255,255,.06); box-shadow: 0 22px 60px rgba(0,0,0,.24); }
.home-collage__hero .media-hero { width: 100%; height: 100%; border-radius: inherit; overflow: hidden; }
.home-collage__hero .media-hero img { width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: center; animation: homeHeroWarmth 13s ease-in-out infinite; will-change: transform, filter; }
.home-status-card { position: absolute; right: 14px; bottom: 14px; z-index: 3; display: grid; gap: 3px; max-width: min(260px, calc(100% - 28px)); padding: 12px 14px; border: 1px solid rgba(255,255,255,.2); border-radius: 18px; color: var(--text); background: rgba(16,13,23,.76); box-shadow: 0 16px 42px rgba(0,0,0,.28); backdrop-filter: blur(12px); animation: homeStatus 8s ease-in-out infinite; pointer-events: none; }
.home-status-card span { color: var(--accent-2); font-size: clamp(.76rem, .18vw + .72rem, .9rem); font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.home-status-card strong { font-size: clamp(1rem, .35vw + .92rem, 1.18rem); line-height: 1.05; }
.home-moment-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: clamp(142px, 12vw, 220px); gap: clamp(8px, .75vw, 12px); }
.home-moment { min-width: 0; overflow: hidden; border-radius: 16px; background: rgba(255,255,255,.06); box-shadow: 0 14px 34px rgba(0,0,0,.18); will-change: transform; }
.home-moment .media-thumb { width: 100%; height: 100%; border-radius: inherit; }
.home-moment .media-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.home-moment--1 .media-thumb img,
.home-moment--2 .media-thumb img,
.home-moment--5 .media-thumb img { object-position: center 28%; }
.home-moment--3 .media-thumb img,
.home-moment--4 .media-thumb img,
.home-moment--6 .media-thumb img { object-position: center 38%; }
.home-moment--1 { grid-column: span 2; animation: homeFloatA 9.5s ease-in-out infinite; }
.home-moment--2 { grid-column: span 2; animation: homeFloatB 10.3s ease-in-out infinite; }
.home-moment--3 { grid-column: span 2; animation: homeFloatC 8.8s ease-in-out infinite; }
.home-moment--4 { grid-column: span 2; animation: homeFloatA 11s ease-in-out infinite reverse; }
.home-moment--5 { grid-column: span 2; animation: homeFloatB 9.8s ease-in-out infinite reverse; }
.home-moment--6 { grid-column: span 2; animation: homeFloatC 10.5s ease-in-out infinite reverse; }
.home-life-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.home-life-chips span { padding: 7px 10px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; color: #1b1020; background: linear-gradient(120deg, rgba(255,255,255,.94), var(--accent-2)); font-size: clamp(.76rem, .18vw + .72rem, .9rem); font-weight: 900; box-shadow: 0 10px 26px rgba(0,0,0,.14); }
.home-life-chips span:nth-child(2) { color: var(--text); background: rgba(255,255,255,.1); }
.home-life-chips span:nth-child(3) { color: #1b1020; background: linear-gradient(120deg, var(--accent), var(--accent-2)); }
.ticket-board { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: center; }
.ticket-card { margin: 0; padding: 12px; border: 1px solid var(--border); border-radius: 18px; background: rgba(255,255,255,.06); transition: transform .18s ease, background .18s ease; }
.ticket-card--left { transform: rotate(-1.5deg); animation: ticketSwayLeft 9s ease-in-out infinite; }
.ticket-card--right { transform: rotate(1.5deg); animation: ticketSwayRight 9.8s ease-in-out infinite; }
.ticket-card:hover { transform: translateY(-2px) scale(1.01); background: rgba(255,255,255,.09); }
.ticket-card--left:hover { transform: translateY(-2px) rotate(-1.5deg) scale(1.01); }
.ticket-card--right:hover { transform: translateY(-2px) rotate(1.5deg) scale(1.01); }
.ticket-card img { display: block; width: 100%; border-radius: 12px; }
.ticket-card figcaption { display: grid; gap: 3px; margin-top: 10px; color: var(--muted); font-size: clamp(.85rem, .22vw + .78rem, 1rem); }
.ticket-card figcaption strong { color: var(--text); }
.ticket-route-mark { display: grid; gap: 5px; justify-items: center; min-width: 74px; color: var(--accent-2); font-size: clamp(.74rem, .18vw + .7rem, .9rem); font-weight: 900; letter-spacing: .04em; text-align: center; text-transform: uppercase; }
.ticket-route-mark b { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #1b1020; background: linear-gradient(120deg, var(--accent), var(--accent-2)); box-shadow: 0 12px 34px rgba(255,122,168,.24); }
.chapter-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chapter-badges span, .distance-shift { padding: 7px 11px; border-radius: 999px; background: rgba(255,255,255,.08); color: #f3eaf5; font-size: clamp(.9rem, .22vw + .84rem, 1.08rem); font-weight: 800; }
.distance-shift { display: inline-flex; align-items: center; margin-top: 16px; padding: 9px 13px 10px; color: var(--accent-2); line-height: 1.15; white-space: nowrap; vertical-align: middle; overflow: visible; }
.sticker-cloud { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; margin-top: -18px; padding: 0 10px 4px; }
.chapter-sticker-panel { position: relative; z-index: 1; display: grid; align-content: center; min-height: 240px; padding: 22px; border: 1px solid var(--border); border-radius: 24px; background: radial-gradient(circle at 20% 20%, rgba(255,196,107,.2), transparent 38%), rgba(255,255,255,.045); overflow: hidden; }
.chapter-sticker-panel::before { content: "✈"; position: absolute; right: 22px; bottom: 10px; color: rgba(255,255,255,.12); font-size: 7rem; line-height: 1; transform: rotate(-12deg); }
.chapter-sticker-panel .sticker-cloud { margin: 0; padding: 0; }
.chapter-sticker-panel--real { min-height: 380px; align-content: stretch; padding: clamp(20px, 1.6vw, 28px); }
.chapter-sticker-panel--real::before { content: none; }
.chapter-sticker-panel--real::after { content: "SVO ↔ SVX"; position: absolute; right: 22px; bottom: 58px; z-index: 1; padding: 6px 10px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; color: rgba(255,255,255,.58); background: rgba(255,255,255,.06); font-size: .74rem; font-weight: 900; letter-spacing: .08em; }
.real-sticker-grid { position: relative; z-index: 1; min-height: 282px; }
.real-sticker { position: absolute; display: block; width: clamp(70px, 17vw, 128px); height: auto; object-fit: contain; filter: drop-shadow(0 16px 24px rgba(0,0,0,.28)); transform-origin: center; will-change: transform; }
.real-sticker--1 { left: 50%; top: 16%; width: clamp(108px, 23vw, 168px); transform: translateX(-50%); animation: stickerSwayCentered 7.4s ease-in-out infinite; }
.real-sticker--2 { left: 4%; top: 7%; animation: stickerBob 8.2s ease-in-out infinite, stickerCheckpointGlow 12s ease-in-out infinite; }
.real-sticker--3 { right: 8%; top: 6%; animation: stickerTilt 9s ease-in-out infinite, stickerTopRightActive 12s ease-in-out infinite; }
.real-sticker--4 { left: 5%; bottom: 8%; animation: stickerBob 7.7s ease-in-out infinite reverse, stickerCheckpointGlowLate 12s ease-in-out infinite; }
.real-sticker--5 { right: 15%; bottom: 8%; animation: stickerSway 8.8s ease-in-out infinite reverse, stickerBottomRightActive 12s ease-in-out infinite; }
.sticker-route {
  --flight-x1: clamp(74px, 15vw, 92px);
  --flight-x2: clamp(154px, 30vw, 190px);
  --flight-x3: clamp(250px, 43vw, 315px);
  --flight-x4: clamp(340px, 58vw, 430px);
  --flight-back: clamp(112px, 24vw, 150px);
  position: absolute;
  z-index: 2;
  inset: 26px 22px auto;
  height: 128px;
  color: var(--accent-2);
  opacity: .84;
}
.sticker-route span { position: absolute; left: 8%; right: 7%; top: 64px; height: 78px; border-top: 2px dashed rgba(255,255,255,.36); border-radius: 50% 50% 0 0; transform: rotate(-4deg); }
.sticker-route b { position: absolute; left: 8%; top: 40px; font-size: 1.35rem; animation: smallPlaneTrip 12s cubic-bezier(.45, 0, .35, 1) infinite; will-change: transform; }
.flight-scene-label { position: absolute; z-index: 3; display: grid; gap: 2px; padding: 7px 10px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(16,13,23,.55); box-shadow: 0 12px 30px rgba(0,0,0,.18); pointer-events: none; }
.flight-scene-label strong { color: var(--accent-2); font-size: .8rem; letter-spacing: .08em; }
.flight-scene-label span { color: rgba(255,255,255,.76); font-size: .74rem; font-weight: 800; text-transform: lowercase; }
.flight-scene-label--start { left: 36px; top: 64px; animation: flightStartStatus 12s ease-in-out infinite; }
.flight-scene-label--finish { right: 30px; top: 142px; text-transform: uppercase; animation: flightFinishStatus 12s ease-in-out infinite; }
.flight-scene-label--finish span { color: #1b1020; text-transform: uppercase; }
.flight-scene-label--finish { background: linear-gradient(120deg, var(--accent), var(--accent-2)); }
.flight-checkpoints { position: absolute; z-index: 3; inset: 104px 42px auto; pointer-events: none; }
.flight-checkpoints span { position: absolute; padding: 5px 8px; border-radius: 999px; color: rgba(255,255,255,.8); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); font-size: .68rem; font-weight: 900; opacity: 0; transform: translate3d(0,5px,0) scale(.96); }
.flight-checkpoints span:nth-child(1) { left: 18%; top: 34px; animation: checkpointOne 12s ease-in-out infinite; }
.flight-checkpoints span:nth-child(2) { right: 28%; top: -54px; animation: checkpointTwo 12s ease-in-out infinite; }
.flight-checkpoints span:nth-child(3) { right: 13%; top: 132px; animation: checkpointThree 12s ease-in-out infinite; }
.chapter-sticker-panel--real .sticker-cloud { align-self: end; justify-content: center; }
.level-sticker { display: inline-flex; align-items: center; min-height: 34px; padding: 7px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #1b1020; background: linear-gradient(120deg, #fff7c7, #ffc46b); box-shadow: 0 10px 26px rgba(0,0,0,.18); font-size: .85rem; font-weight: 900; animation: stickerFloat 6s ease-in-out infinite; will-change: transform; }
.level-sticker:nth-child(2) { animation-delay: -1.7s; background: linear-gradient(120deg, #ffd1e0, #ff7aa8); }
.level-sticker:nth-child(3) { animation-delay: -3.1s; color: var(--text); background: rgba(255,255,255,.1); }
[data-level="LEVEL 3"] .chapter-badges span:nth-child(1) { animation: chapterBadgeFlight 12s ease-in-out infinite; }
[data-level="LEVEL 3"] .chapter-badges span:nth-child(2) { animation: chapterBadgeMeet 12s ease-in-out infinite; }
[data-level="LEVEL 3"] .chapter-badges span:nth-child(3) { animation: chapterBadgeWait 12s ease-in-out infinite; }
[data-level="LEVEL 3"] .level-sticker:nth-child(1) { animation: stickerFloat 6s ease-in-out infinite, phrasePopOne 12s ease-in-out infinite; }
[data-level="LEVEL 3"] .level-sticker:nth-child(2) { animation: stickerFloat 6s ease-in-out infinite, phrasePopTwo 12s ease-in-out infinite; }
[data-level="LEVEL 3"] .level-sticker:nth-child(3) { animation: stickerFloat 6s ease-in-out infinite, phrasePopThree 12s ease-in-out infinite; }
.connection-visual { position: relative; z-index: 1; display: grid; gap: 14px; align-content: center; min-height: 280px; padding: 22px; border: 1px solid var(--border); border-radius: 24px; background: radial-gradient(circle at 18% 15%, rgba(255,122,168,.18), transparent 38%), rgba(255,255,255,.045); overflow: hidden; }
.connection-visual--photo { min-height: 620px; padding: 18px; align-content: stretch; }
.connection-deck {
  --deck-top: translate(-50%, -50%) rotate(.4deg) scale(1);
  --deck-second: translate(calc(-50% - 18px), calc(-50% + 18px)) rotate(-3deg) scale(.965);
  --deck-third: translate(calc(-50% - 34px), calc(-50% + 34px)) rotate(2.6deg) scale(.93);
  --deck-drop-start: translate(calc(-50% + 22px), calc(-50% - 34px)) rotate(3deg) scale(.97);
  --deck-drop-mid: translate(calc(-50% + 2px), calc(-50% - 2px)) rotate(.8deg) scale(1.006);
  position: absolute;
  inset: 18px 24px 18px 24px;
  z-index: 0;
}
.connection-deck-card { position: absolute; left: 50%; top: 50%; width: min(440px, 72%); height: min(560px, 92%); overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 26px; background: rgba(255,255,255,.06); box-shadow: 0 22px 64px rgba(0,0,0,.32); transform-origin: center; will-change: transform, opacity, filter; }
.connection-deck-card img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; background: radial-gradient(circle at 50% 18%, rgba(255,196,107,.13), rgba(16,13,23,.76)); }
.connection-deck-card--1 { z-index: 4; transform: var(--deck-top); }
.connection-deck-card--2 { z-index: 3; transform: var(--deck-second); filter: brightness(.78); }
.connection-deck-card--3 { z-index: 2; transform: var(--deck-third); filter: brightness(.62); }
.connection-deck.is-dealing .connection-deck-card--1 { animation: deckDrop 860ms cubic-bezier(.2,.72,.2,1) both; }
.connection-deck.is-dealing .connection-deck-card--2 { animation: deckSinkOne 860ms cubic-bezier(.2,.72,.2,1) both; }
.connection-deck.is-dealing .connection-deck-card--3 { animation: deckSinkTwo 860ms cubic-bezier(.2,.72,.2,1) both; }
.connection-dialog { position: absolute; z-index: 4; right: clamp(14px, 2vw, 30px); bottom: 54px; display: grid; gap: 10px; justify-items: end; width: min(270px, calc(100% - clamp(28px, 4vw, 60px))); max-width: calc(100% - 28px); box-sizing: border-box; pointer-events: none; }
.connection-note { box-sizing: border-box; max-width: 100%; padding: 9px 12px; border-radius: 16px; font-weight: 900; box-shadow: 0 12px 28px rgba(0,0,0,.18); opacity: 0; transform: translate3d(0,7px,0) scale(.98); transition: opacity .42s ease, transform .42s ease; }
.connection-note--question { color: var(--text); background: rgba(16,13,23,.72); backdrop-filter: blur(10px); }
.connection-response { display: inline-grid; justify-items: end; gap: 8px; justify-self: end; max-width: 100%; box-sizing: border-box; opacity: 0; transform: translate3d(-12px,7px,0) scale(.98); transition: opacity .32s ease, transform .32s ease; }
.connection-response-bubble { display: grid; place-items: center; min-width: 76px; min-height: 38px; padding: 8px 12px; border-radius: 999px; color: #1b1020; background: linear-gradient(120deg, var(--accent), var(--accent-2)); box-shadow: 0 12px 28px rgba(0,0,0,.18); }
.connection-answer { grid-area: 1 / 1; opacity: 0; transform: translate3d(0,4px,0) scale(.96); font-weight: 900; transition: opacity .24s ease, transform .24s ease; }
.connection-dialog .connection-note,
.connection-dialog .connection-response,
.connection-dialog .connection-answer,
.connection-dialog .typing-indicator,
.connection-dialog .voice-note { opacity: 0; }
.connection-visual--photo.is-dialog-question .connection-note--question { opacity: 1; transform: translate3d(0,0,0) scale(1); }
.connection-visual--photo.is-dialog-typing .connection-response,
.connection-visual--photo.is-dialog-answer .connection-response { opacity: 1; transform: translate3d(-12px,0,0) scale(1); }
.connection-visual--photo.is-dialog-answer .connection-answer { opacity: 1; transform: translate3d(0,0,0) scale(1); }
.connection-visual--photo.is-dialog-answer .typing-indicator { opacity: 0; transform: translate3d(0,4px,0) scale(.96); }
.connection-visual--photo.is-voicing .voice-note { opacity: 1; transform: translate3d(0,0,0) scale(1); }
.connection-visual--photo.is-voicing .voice-note i { animation: voiceWave 1.1s ease-in-out 2; }
.connection-stage { position: absolute; inset: 18px; z-index: 0; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(140px, .72fr); grid-template-rows: 1fr; gap: 14px; align-items: stretch; }
.connection-support { display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 12px; align-self: stretch; min-height: 0; }
.connection-screen { position: relative; min-height: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 22px; background: rgba(255,255,255,.06); box-shadow: 0 18px 48px rgba(0,0,0,.28); animation: connectionFloat 9s ease-in-out infinite; will-change: transform; }
.connection-screen--support { border-radius: 18px; animation-duration: 8.2s; }
.connection-screen--support-2 { animation-direction: reverse; animation-duration: 9.5s; }
.connection-screen--support-3 { animation-duration: 10.2s; }
.connection-screen img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; background: radial-gradient(circle at 50% 18%, rgba(255,196,107,.13), rgba(16,13,23,.72)); transition: opacity .42s ease, transform .42s ease, filter .42s ease; }
.connection-screen--active img { object-fit: contain; }
.connection-screen--support img { object-fit: cover; object-position: center 22%; }
.connection-screen img.is-covered { opacity: .34; transform: scale(.965); filter: brightness(.72); }
.connection-screen img.connection-card-enter { z-index: 2; opacity: 0; transform: translate3d(0,-18px,0) scale(1.025); box-shadow: 0 18px 46px rgba(0,0,0,.24); }
.connection-screen--support img.connection-card-enter { transform: translate3d(12px,-12px,0) scale(1.03); }
.connection-screen img.connection-card-enter.is-visible { opacity: 1; transform: translate3d(0,0,0) scale(1); }
.connection-screen--support .chat-bubble { position: absolute; left: 10px; right: 10px; bottom: 10px; max-width: none; text-align: center; box-shadow: 0 10px 26px rgba(0,0,0,.18); }
.connection-screen--support .chat-bubble--accent { left: auto; right: 10px; width: max-content; max-width: calc(100% - 20px); }
.connection-visual--photo::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(16,13,23,.02), transparent 42%, rgba(16,13,23,.42)); pointer-events: none; }
.call-card { position: relative; width: min(260px, 86%); padding: 22px; border: 1px solid rgba(255,255,255,.18); border-radius: 22px; background: rgba(16,13,23,.72); box-shadow: 0 20px 60px rgba(0,0,0,.24); }
.call-card--overlay { position: absolute; z-index: 4; top: 18px; left: 18px; width: min(220px, 48%); padding: 14px 15px; margin-top: 0; backdrop-filter: blur(10px); }
.call-card strong, .call-card small { position: relative; z-index: 1; display: block; }
.call-card strong { font-size: 1.15rem; }
.call-card small { margin-top: 6px; color: var(--muted); }
.call-card__ring { position: absolute; inset: 12px auto auto 12px; width: 56px; height: 56px; border-radius: 50%; border: 2px solid rgba(255,196,107,.45); animation: callPulse 2.8s ease-in-out infinite; }
.call-card__dot { position: absolute; top: 30px; left: 30px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 24px rgba(255,196,107,.55); }
.chat-stack { position: absolute; right: 28px; bottom: 28px; z-index: 3; display: grid; justify-items: end; gap: 10px; }
.chat-bubble { max-width: 82%; padding: 10px 13px; border-radius: 18px 18px 5px 18px; color: var(--text); background: rgba(255,255,255,.1); font-weight: 800; }
.chat-bubble--accent { justify-self: start; border-radius: 18px 18px 18px 5px; color: #1b1020; background: linear-gradient(120deg, var(--accent), var(--accent-2)); }
.typing-indicator { grid-area: 1 / 1; display: inline-flex; gap: 4px; align-items: center; opacity: 0; transform: translate3d(0,4px,0) scale(.96); transition: opacity .28s ease, transform .28s ease; }
.typing-indicator i { width: 5px; height: 5px; border-radius: 50%; background: rgba(27,16,32,.72); animation: typingDot 900ms ease-in-out infinite; }
.typing-indicator i:nth-child(2) { animation-delay: .14s; }
.typing-indicator i:nth-child(3) { animation-delay: .28s; }
.connection-visual--photo.is-dialog-typing .typing-indicator { opacity: 1; transform: translate3d(0,0,0) scale(1); }
.voice-note { display: flex; align-items: center; justify-content: center; gap: 4px; justify-self: end; min-width: 104px; padding: 10px 12px; border-radius: 999px; background: rgba(255,255,255,.08); opacity: 0; transform: translate3d(0,4px,0) scale(.96); transition: opacity .28s ease, transform .28s ease; }
.voice-note i { display: block; width: 8px; height: 16px; border-radius: 999px; background: rgba(255,196,107,.85); transform: scaleY(.65); }
.voice-note i:nth-child(2) { height: 24px; animation-delay: -.2s; }
.voice-note i:nth-child(3) { height: 12px; animation-delay: -.4s; }
.voice-note i:nth-child(4) { height: 28px; animation-delay: -.6s; }
.voice-note i:nth-child(5) { height: 18px; animation-delay: -.8s; }
@keyframes stickerFloat { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-5px) rotate(1deg); } }
@keyframes ticketSwayLeft { 0%, 100% { transform: rotate(-1.5deg) translate3d(0,0,0); } 50% { transform: rotate(-.2deg) translate3d(0,-2px,0); } }
@keyframes ticketSwayRight { 0%, 100% { transform: rotate(1.5deg) translate3d(0,0,0); } 50% { transform: rotate(.2deg) translate3d(0,2px,0); } }
@keyframes stickerSway { 0%, 100% { transform: translate3d(0,0,0) rotate(-3deg); } 50% { transform: translate3d(0,-6px,0) rotate(3deg); } }
@keyframes stickerSwayCentered { 0%, 100% { transform: translate3d(-50%,0,0) rotate(-2deg); } 50% { transform: translate3d(-50%,-6px,0) rotate(2deg); } }
@keyframes stickerBob { 0%, 100% { transform: translate3d(0,0,0) rotate(2deg); } 50% { transform: translate3d(0,5px,0) rotate(-2deg); } }
@keyframes stickerTilt { 0%, 100% { transform: translate3d(0,0,0) rotate(5deg); } 50% { transform: translate3d(-3px,-5px,0) rotate(-4deg); } }
@keyframes smallPlaneTrip {
  0%, 7% { transform: translate3d(0,8px,0) rotate(-18deg); }
  19% { transform: translate3d(var(--flight-x1),-23px,0) rotate(-12deg); }
  31% { transform: translate3d(var(--flight-x2),-45px,0) rotate(0deg); }
  43% { transform: translate3d(var(--flight-x3),-26px,0) rotate(13deg); }
  50%, 54% { transform: translate3d(var(--flight-x4),2px,0) rotate(22deg); }
  59% { transform: translate3d(var(--flight-x4),2px,0) rotate(202deg); }
  72% { transform: translate3d(var(--flight-x3),-27px,0) rotate(189deg); }
  84% { transform: translate3d(var(--flight-back),-21px,0) rotate(168deg); }
  93%, 100% { transform: translate3d(0,8px,0) rotate(162deg); }
}
@keyframes flightStartStatus { 0%, 4%, 17%, 100% { opacity: 0; transform: translate3d(0,5px,0) scale(.97); } 6%, 14% { opacity: 1; transform: translate3d(0,0,0) scale(1); } }
@keyframes flightFinishStatus { 0%, 50%, 100% { opacity: 0; transform: translate3d(0,5px,0) scale(.97); } 57%, 72% { opacity: 1; transform: translate3d(0,0,0) scale(1); } }
@keyframes checkpointOne { 0%, 14%, 26%, 100% { opacity: 0; transform: translate3d(0,5px,0) scale(.96); } 17%, 23% { opacity: 1; transform: translate3d(0,0,0) scale(1); } }
@keyframes checkpointTwo { 0%, 28%, 40%, 100% { opacity: 0; transform: translate3d(0,5px,0) scale(.96); } 31%, 37% { opacity: 1; transform: translate3d(0,0,0) scale(1); } }
@keyframes checkpointThree { 0%, 41%, 53%, 100% { opacity: 0; transform: translate3d(0,5px,0) scale(.96); } 44%, 50% { opacity: 1; transform: translate3d(0,0,0) scale(1); } }
@keyframes stickerCheckpointGlow { 0%, 14%, 25%, 100% { filter: drop-shadow(0 16px 24px rgba(0,0,0,.28)); } 18%, 22% { filter: drop-shadow(0 16px 24px rgba(0,0,0,.28)) drop-shadow(0 0 18px rgba(255,196,107,.6)); } }
@keyframes stickerCheckpointGlowLate { 0%, 28%, 42%, 100% { filter: drop-shadow(0 16px 24px rgba(0,0,0,.28)); } 32%, 38% { filter: drop-shadow(0 16px 24px rgba(0,0,0,.28)) drop-shadow(0 0 18px rgba(255,122,168,.56)); } }
@keyframes stickerTopRightActive { 0%, 28%, 40%, 100% { filter: drop-shadow(0 16px 24px rgba(0,0,0,.28)); } 31%, 37% { filter: drop-shadow(0 16px 24px rgba(0,0,0,.28)) drop-shadow(0 0 20px rgba(255,196,107,.64)); } }
@keyframes stickerBottomRightActive { 0%, 41%, 54%, 100% { filter: drop-shadow(0 16px 24px rgba(0,0,0,.28)); } 44%, 50% { filter: drop-shadow(0 16px 24px rgba(0,0,0,.28)) drop-shadow(0 0 22px rgba(255,122,168,.58)); } }
@keyframes chapterBadgeFlight { 0%, 15%, 27%, 100% { transform: scale(1); box-shadow: none; background: rgba(255,255,255,.08); } 18%, 24% { transform: scale(1.04); box-shadow: 0 0 0 1px rgba(255,196,107,.34), 0 0 24px rgba(255,196,107,.18); background: rgba(255,196,107,.16); } }
@keyframes chapterBadgeMeet { 0%, 37%, 53%, 100% { transform: scale(1); box-shadow: none; background: rgba(255,255,255,.08); } 43%, 49% { transform: scale(1.04); box-shadow: 0 0 0 1px rgba(255,122,168,.34), 0 0 24px rgba(255,122,168,.18); background: rgba(255,122,168,.16); } }
@keyframes chapterBadgeWait { 0%, 50%, 67%, 100% { transform: scale(1); box-shadow: none; background: rgba(255,255,255,.08); } 57%, 63% { transform: scale(1.04); box-shadow: 0 0 0 1px rgba(255,196,107,.34), 0 0 24px rgba(255,196,107,.18); background: rgba(255,255,255,.13); } }
@keyframes phrasePopOne { 0%, 55%, 63%, 100% { filter: none; } 58%, 61% { filter: drop-shadow(0 0 12px rgba(255,196,107,.44)); } }
@keyframes phrasePopTwo { 0%, 60%, 68%, 100% { filter: none; } 63%, 66% { filter: drop-shadow(0 0 12px rgba(255,122,168,.44)); } }
@keyframes phrasePopThree { 0%, 65%, 73%, 100% { filter: none; } 68%, 71% { filter: drop-shadow(0 0 12px rgba(255,255,255,.3)); } }
@keyframes connectionFloat { 0%, 100% { transform: translate3d(0,0,0) rotate(-.6deg); } 50% { transform: translate3d(0,-4px,0) rotate(.6deg); } }
@keyframes callPulse { 0%, 100% { transform: scale(.88); opacity: .35; } 50% { transform: scale(1.22); opacity: .85; } }
@keyframes typingDot { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-3px); opacity: 1; } }
@keyframes voiceWave { 0%, 100% { transform: scaleY(.65); } 50% { transform: scaleY(1); } }
@keyframes deckDrop {
  0% { opacity: 0; transform: var(--deck-drop-start); }
  68% { opacity: 1; transform: var(--deck-drop-mid); }
  100% { opacity: 1; transform: var(--deck-top); }
}
@keyframes deckSinkOne {
  0% { transform: var(--deck-top); filter: brightness(1); }
  100% { transform: var(--deck-second); filter: brightness(.78); }
}
@keyframes deckSinkTwo {
  0% { transform: var(--deck-second); filter: brightness(.78); }
  100% { transform: var(--deck-third); filter: brightness(.62); }
}
@keyframes dialogQuestion { 0% { opacity: 0; transform: translate3d(0,7px,0) scale(.98); } 18%, 76% { opacity: 1; transform: translate3d(0,0,0) scale(1); } 100% { opacity: .78; transform: translate3d(0,0,0) scale(1); } }
@keyframes dialogReply { 0% { opacity: 0; transform: translate3d(-18px,7px,0) scale(.98); } 20%, 82% { opacity: 1; transform: translate3d(-18px,0,0) scale(1); } 100% { opacity: .82; transform: translate3d(-18px,0,0) scale(1); } }
@keyframes messageAppear { 0%, 22%, 100% { opacity: .7; transform: translate3d(0,0,0); } 45%, 72% { opacity: 1; transform: translate3d(0,-2px,0); } }
@keyframes memoryTag { 0%, 100% { transform: translate3d(0,0,0); } 45% { transform: translate3d(0,-3px,0); } }
@keyframes memoryGlimmer { 0%, 58%, 100% { opacity: 0; transform: translateX(-55%) rotate(8deg); } 66% { opacity: .52; } 78% { opacity: 0; transform: translateX(150%) rotate(8deg); } }
@keyframes memoryHeroBreath { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.018); } }
@keyframes memoryFloatA { 0%, 100% { transform: translate3d(0,0,0) rotate(-.7deg); } 50% { transform: translate3d(0,-4px,0) rotate(1.1deg); } }
@keyframes memoryFloatB { 0%, 100% { transform: translate3d(0,0,0) rotate(1deg); } 50% { transform: translate3d(0,3px,0) rotate(-.8deg); } }
@keyframes memoryFloatC { 0%, 100% { transform: translate3d(0,0,0) rotate(.4deg); } 50% { transform: translate3d(0,-3px,0) rotate(1.4deg); } }
@keyframes homeStatus { 0%, 100% { opacity: .86; transform: translate3d(0,0,0); } 45% { opacity: 1; transform: translate3d(0,-2px,0); } }
@keyframes homeRouteNote { 0%, 100% { opacity: .78; transform: translate3d(0,0,0); } 50% { opacity: 1; transform: translate3d(0,-3px,0); } }
@keyframes homeHeroWarmth { 0%, 100% { transform: scale(1); filter: saturate(1); } 50% { transform: scale(1.014); filter: saturate(1.06); } }
@keyframes homeFloatA { 0%, 100% { transform: translate3d(0,0,0) rotate(-1deg); } 50% { transform: translate3d(0,-3px,0) rotate(.6deg); } }
@keyframes homeFloatB { 0%, 100% { transform: translate3d(0,0,0) rotate(1deg); } 50% { transform: translate3d(0,3px,0) rotate(-.6deg); } }
@keyframes homeFloatC { 0%, 100% { transform: translate3d(0,0,0) rotate(.4deg); } 50% { transform: translate3d(0,-2px,0) rotate(1.1deg); } }

.route-caption { margin: 50px 0 0; color: var(--accent-2); font-weight: 800; letter-spacing: .04em; text-align: center; }
.route-line { display: grid; grid-template-columns: auto minmax(220px, 1fr) auto; align-items: end; gap: 18px; margin: 18px 0 56px; }
.city { font-weight: 800; }
.air-route { position: relative; min-height: 150px; }
.air-route__arc { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.air-route__glow, .air-route__path { fill: none; vector-effect: non-scaling-stroke; }
.air-route__glow { stroke: rgba(255,196,107,.22); stroke-width: 13; filter: blur(3px); }
.air-route__path { stroke: rgba(255,255,255,.72); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 10 15; animation: flightDash 15s linear infinite; }
.air-route__dot { position: absolute; bottom: 17%; width: 9px; height: 9px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 22px rgba(255,196,107,.65); }
.air-route__dot--start { left: 3%; }
.air-route__dot--end { right: 3%; }
.traveller { position: absolute; left: 3%; top: 72%; transform: translate(-50%, -50%) rotate(18deg); font-size: 2.4rem; filter: drop-shadow(0 10px 18px rgba(0,0,0,.35)); animation: flightRoundTrip 16s linear infinite; will-change: left, top, transform; }
@keyframes flightDash { to { stroke-dashoffset: -100; } }
@keyframes flightRoundTrip {
  0% { left: 3%; top: 72%; transform: translate(-50%, -50%) rotate(18deg); }
  24% { left: 50%; top: 12%; transform: translate(-50%, -50%) rotate(0deg); }
  49% { left: 97%; top: 72%; transform: translate(-50%, -50%) rotate(18deg); }
  51% { left: 97%; top: 72%; transform: translate(-50%, -50%) rotate(198deg); }
  76% { left: 50%; top: 12%; transform: translate(-50%, -50%) rotate(180deg); }
  100% { left: 3%; top: 72%; transform: translate(-50%, -50%) rotate(198deg); }
}
.route-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.route-card { padding: 24px; border: 1px solid var(--border); border-radius: 24px; background: var(--panel); }
.route-card strong { display: block; font-size: 1.2rem; margin-bottom: 8px; }
.route-card span { color: var(--muted); }
.stage-transition, .timeline-finale {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin: clamp(34px, 5vw, 64px) auto 0;
  text-align: center;
}
.timeline-finale {
  width: min(680px, 100%);
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255,255,255,.055);
  box-shadow: 0 18px 54px rgba(0,0,0,.2);
}
.timeline-finale p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, .75vw + .9rem, 1.35rem);
}
.timeline-finale p:first-child { color: var(--text); font-weight: 850; }

.home-section { text-align: center; padding-top: 140px; padding-bottom: 140px; }
.zero-counter { margin: 0 auto 10px; color: rgba(255,255,255,.42); font-size: clamp(2.8rem, 9vw, 7.2rem); font-weight: 900; line-height: .9; letter-spacing: .02em; }
.zero-distance { overflow: visible; padding: .1em 0 .16em; font-size: clamp(7rem, 25vw, 20rem); font-weight: 900; line-height: 1; letter-spacing: -.05em; background: linear-gradient(120deg, var(--accent), var(--accent-2)); color: transparent; background-clip: text; }
.home-section h2 { max-width: 980px; margin-left: auto; margin-right: auto; font-size: clamp(2rem, 6vw, 5.6rem); }
.home-section p { color: var(--muted); font-size: 1.3rem; }
.after-credits-gate { display: grid; justify-items: center; gap: 8px; width: min(720px, 100%); margin: clamp(38px, 5vw, 68px) auto 0; padding-top: clamp(18px, 3vw, 32px); border-top: 1px solid var(--border); }
.after-credits-gate p { margin: 0; color: var(--muted); }
.after-credits-gate p:first-child { color: var(--text); font-weight: 900; }

.game-shell { border: 1px solid var(--border); border-radius: 28px; overflow: hidden; background: rgba(0,0,0,.2); box-shadow: var(--shadow); }
.game-shell__bar { display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 18px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.04); }
.game-shell__bar h3 { margin: 4px 0 0; font-size: clamp(1.5rem, 4vw, 2.7rem); line-height: 1; }
.game-level-dots { display: flex; gap: 8px; align-items: center; }
.game-level-dots span,
.game-level-selector button { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); background: rgba(255,255,255,.05); font-weight: 900; }
.game-level-dots span.is-complete { color: #17111f; background: var(--accent-2); border-color: rgba(255,196,107,.75); }
.game-level-dots span.is-current { color: var(--text); border-color: rgba(255,122,168,.7); box-shadow: 0 0 0 3px rgba(255,122,168,.14); }
.game-level-selector { display: none; grid-template-columns: repeat(5, auto); justify-content: center; gap: 10px; padding: 14px 16px 0; }
.game-shell.is-free-selector-visible .game-level-selector,
body[data-max-unlocked-stage="free"] .game-level-selector,
body[data-unlock-all] .game-level-selector { display: grid; }
.game-level-selector button { cursor: pointer; }
.game-level-selector button.is-current { color: #17111f; background: var(--accent); border-color: rgba(255,122,168,.8); }
.game-frame-wrap { overflow: hidden; background: #120d19; }
.game-frame { display: block; width: 100%; height: min(86vh, 900px); min-height: 720px; border: 0; background: transparent; }
.game-shell__status { margin: 0; padding: 12px 18px 16px; color: var(--muted); border-top: 1px solid var(--border); }
.game-stage { position: relative; }
#gameCanvas { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 900 / 460; background: linear-gradient(#2a2440, #171323); touch-action: none; outline: none; }
#gameCanvas:focus-visible { box-shadow: inset 0 0 0 3px rgba(255,196,107,.75); }
.game-overlay { position: absolute; inset: 0; display: grid; place-items: center; padding: 18px; background: rgba(16,13,23,.68); backdrop-filter: blur(8px); transition: opacity .18s ease, visibility .18s ease; }
.game-overlay[hidden] { display: none; }
.game-overlay__panel { width: min(460px, 100%); padding: clamp(22px, 4vw, 34px); border: 1px solid var(--border); border-radius: 24px; background: rgba(24,19,34,.88); box-shadow: 0 20px 60px rgba(0,0,0,.32); text-align: center; }
.game-overlay__panel h3 { margin: 8px 0 12px; font-size: clamp(1.6rem, 4vw, 2.7rem); line-height: 1; }
.game-overlay__panel p:not(.eyebrow) { margin: 0 0 22px; color: var(--muted); }
.game-hud { display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 18px; color: var(--muted); }
.mobile-controls { display: none; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 0 16px 16px; }
.mobile-controls button { min-height: 54px; border: 1px solid var(--border); border-radius: 16px; background: var(--panel); color: var(--text); font-size: 1.4rem; touch-action: none; user-select: none; }

.update-section { text-align: center; }
.update-complete { margin-bottom: clamp(42px, 6vw, 74px); }
.update-complete h2 { max-width: 920px; margin-left: auto; margin-right: auto; font-size: clamp(2.1rem, 5.6vw, 5.8rem); }
.changelog { max-width: 760px; margin: 34px auto; padding: 0; list-style: none; display: grid; gap: 12px; text-align: left; }
.changelog li { padding: 18px 20px; border: 1px solid var(--border); border-radius: 18px; background: var(--panel); }
.install-panel { width: min(620px, 100%); margin: 30px auto 0; padding: 20px; border: 1px solid var(--border); border-radius: 22px; background: rgba(255,255,255,.055); box-shadow: 0 18px 52px rgba(0,0,0,.22); }
.install-panel__meta { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 12px; color: var(--muted); text-align: left; }
.install-panel__meta span:first-child { color: var(--accent-2); font-size: 1.25rem; font-weight: 900; }
.install-progress { height: 12px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.09); }
.install-progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .48s ease; }
.final-message { max-width: 560px; margin: 22px auto 0; font-size: clamp(1.08rem, 2vw, 1.45rem); line-height: 1.28; }
.epilogue-section { width: min(1460px, calc(100% - clamp(24px, 4vw, 80px))); }
.epilogue-scenes { display: grid; gap: clamp(34px, 6vw, 78px); scroll-snap-type: y proximity; }
.epilogue-scene { min-height: min(920px, calc(100vh - 42px)); display: grid; place-items: center; scroll-snap-align: center; }
.epilogue-scene figure { width: 100%; margin: 0; display: grid; gap: 16px; justify-items: center; }
.epilogue-scene img { display: block; width: min(100%, 1320px); max-height: min(76vh, 760px); object-fit: contain; border-radius: 22px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); box-shadow: var(--shadow); }
.epilogue-scene figcaption { max-width: 920px; color: var(--text); font-size: clamp(1.35rem, 2.4vw, 2.4rem); font-weight: 900; line-height: 1.12; text-align: center; }
.final-screen { min-height: 70vh; display: grid; align-content: center; justify-items: center; gap: 18px; text-align: center; }
.final-screen h2 { margin: 0; font-size: clamp(4rem, 16vw, 12rem); line-height: .9; background: linear-gradient(120deg, var(--accent), var(--accent-2)); color: transparent; background-clip: text; }
.final-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.confetti { position: fixed; inset: 0; pointer-events: none; width: 100%; height: 100%; z-index: 20; }

@media (max-width: 800px) {
  .stats, .route-cards { grid-template-columns: 1fr 1fr; }
  .chapter--story-level, .ticket-board { grid-template-columns: 1fr; }
  .chapter--story-level { gap: 18px; }
  .ticket-route-mark { grid-template-columns: 1fr auto 1fr; justify-items: center; min-width: 0; }
  .ticket-route-mark b { width: 38px; height: 38px; transform: rotate(90deg); }
  .route-line { grid-template-columns: auto minmax(120px, 1fr) auto; gap: 10px; }
  .air-route { width: 100%; }
  .game-hud { align-items: stretch; flex-direction: column; }
  .mobile-controls { display: grid; }
  .game-shell__bar { align-items: flex-start; flex-direction: column; }
  .game-frame { min-height: 780px; height: 92vh; }
}

@media (max-width: 520px) {
  .section { width: min(100% - 22px, 1120px); padding: 64px 0; }
  #chapters { width: min(100% - 22px, 1120px); }
  .stats, .route-cards { grid-template-columns: 1fr; }
  .stat { min-height: auto; }
  .hero > .eyebrow { font-size: clamp(.78rem, 4vw, .98rem); letter-spacing: .06em; }
  .hero h1 { font-size: clamp(3rem, 17vw, 5.2rem); }
  .chapter { padding: 22px; }
  .chapter__level { font-size: .78rem; }
  .chapter h3 { font-size: clamp(1.55rem, 8vw, 2.35rem); }
  .chapter p { font-size: 1rem; }
  .game-level-dots { width: 100%; justify-content: space-between; gap: 5px; }
  .game-level-dots span,
  .game-level-selector button { width: 32px; height: 32px; }
  .game-frame { min-height: 820px; height: 96vh; }
  .chapter-media .media-hero img { max-height: 420px; }
  [data-level="LEVEL 1"] .chapter-media::before,
  [data-level="LEVEL 5"] .chapter-media::before { top: 10px; padding: 7px 10px; }
  [data-level="LEVEL 5"] .chapter-media::after { left: 10px; bottom: calc(33.333% + 18px); max-width: calc(100% - 20px); }
  .zero-distance { font-size: clamp(6rem, 31vw, 10rem); }
  .city { font-size: .9rem; }
  .air-route { min-height: 116px; }
  .traveller { font-size: 2rem; }
  .connection-visual { min-height: 240px; padding: 16px; }
  .connection-visual--photo { min-height: 620px; }
  .connection-deck {
    --deck-second: translate(calc(-50% - 12px), calc(-50% + 16px)) rotate(-3deg) scale(.96);
    --deck-third: translate(calc(-50% - 24px), calc(-50% + 30px)) rotate(2.6deg) scale(.92);
    --deck-drop-start: translate(calc(-50% + 16px), calc(-50% - 28px)) rotate(3deg) scale(.97);
    --deck-drop-mid: translate(calc(-50% + 1px), calc(-50% - 2px)) rotate(.8deg) scale(1.006);
    inset: 18px 16px 72px 16px;
  }
  .connection-deck-card { width: min(310px, 78%); height: min(455px, 84%); border-radius: 22px; }
  .connection-dialog { top: auto; right: 14px; bottom: 18px; width: min(250px, calc(100% - 28px)); gap: 8px; }
  .connection-response { transform: translate3d(-8px,7px,0) scale(.98); }
  .connection-visual--photo.is-dialog-typing .connection-response,
  .connection-visual--photo.is-dialog-answer .connection-response { transform: translate3d(-8px,0,0) scale(1); }
  .connection-stage { inset: 12px; grid-template-columns: 1fr; grid-template-rows: minmax(330px, 1.2fr) minmax(190px, .8fr); gap: 10px; }
  .connection-support { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 1fr; gap: 8px; }
  .connection-screen--support { border-radius: 14px; }
  .connection-screen--support .chat-bubble { display: none; }
  .call-card--overlay { top: 16px; left: 16px; width: min(210px, calc(100% - 44px)); }
  .chat-stack { right: 20px; bottom: 20px; }
  .chapter-sticker-panel--real { min-height: 350px; }
  .sticker-route {
    --flight-x1: clamp(54px, 18vw, 70px);
    --flight-x2: clamp(112px, 34vw, 135px);
    --flight-x3: clamp(176px, 52vw, 210px);
    --flight-x4: clamp(235px, 70vw, 285px);
    --flight-back: clamp(78px, 26vw, 104px);
  }
  .flight-scene-label--start { left: 16px; top: 56px; }
  .flight-scene-label--finish { right: 14px; top: 126px; }
  .flight-checkpoints { inset: 96px 18px auto; }
  .flight-checkpoints span { font-size: .62rem; }
  .flight-checkpoints span:nth-child(2) { right: 24%; top: -48px; }
  .flight-checkpoints span:nth-child(3) { right: 8%; top: 110px; }
  .real-sticker-grid { min-height: 250px; }
  .real-sticker { width: clamp(64px, 23vw, 112px); }
  .real-sticker--1 { left: 50%; width: clamp(92px, 32vw, 146px); }
  .real-sticker--2 { left: 2%; }
  .real-sticker--3 { right: 2%; }
  .real-sticker--4 { left: 3%; }
  .home-collage { min-height: 0; grid-template-rows: minmax(220px, auto) auto auto; padding: 12px; border-radius: 22px; }
  .home-collage__hero { min-height: 220px; max-height: 310px; }
  .home-status-card { right: 10px; bottom: 10px; padding: 10px 12px; }
  .home-moment-grid { grid-template-columns: 1fr; grid-auto-rows: clamp(170px, 52vw, 250px); }
  .home-moment { grid-column: span 1; }
  .home-moment .media-thumb img { object-position: center 30%; }
  .home-life-chips { gap: 6px; }
  .home-life-chips span { padding: 6px 9px; }
  .ticket-card { transform: none; }
  .ticket-card--left:hover, .ticket-card--right:hover { transform: translateY(-2px) scale(1.01); }
}

@media (prefers-reduced-motion: reduce) {
  .level-sticker, .real-sticker, .sticker-route b, .flight-scene-label, .flight-checkpoints span, .chapter-badges span, .connection-deck-card, .connection-deck-card img, .connection-note, .connection-response, .connection-answer, .typing-indicator i, .connection-screen, .connection-screen img, .call-card__ring, .voice-note i,
  .ticket-card,
  [data-level="LEVEL 1"] .media-hero img,
  [data-level="LEVEL 1"] .chapter-thumbs .media-thumb,
  [data-level="LEVEL 1"] .chapter-media::before,
  [data-level="LEVEL 1"] .chapter-media::after,
  [data-level="LEVEL 5"] .media-hero img,
  [data-level="LEVEL 5"] .chapter-thumbs .media-thumb,
  [data-level="LEVEL 5"] .chapter-media::before,
  [data-level="LEVEL 5"] .chapter-media::after,
  .home-collage__hero .media-hero img,
  .home-status-card,
  .home-moment,
  .story-cue { animation: none; }
  .connection-note,
  .connection-response,
  .flight-scene-label--start,
  .flight-scene-label--finish { opacity: 1; transform: none; }
  .connection-dialog .connection-note,
  .connection-dialog .connection-response,
  .connection-dialog .connection-answer,
  .connection-dialog .typing-indicator,
  .connection-dialog .voice-note { opacity: 0; }
  .connection-visual--photo.is-dialog-question .connection-note--question,
  .connection-visual--photo.is-dialog-typing .connection-response,
  .connection-visual--photo.is-dialog-typing .typing-indicator,
  .connection-visual--photo.is-dialog-answer .connection-response,
  .connection-visual--photo.is-dialog-answer .connection-answer,
  .connection-visual--photo.is-voicing .voice-note { opacity: 1; transform: none; }
  .connection-visual--photo.is-dialog-answer .typing-indicator { opacity: 0; }
  .flight-checkpoints span { opacity: .72; transform: none; }
}

.trip-timeline-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: end;
  margin: 84px 0 30px;
}
.trip-timeline-head h3 { margin: 6px 0 0; font-size: clamp(2rem, 5vw, 4rem); line-height: 1; }
.trip-years { display: grid; gap: 44px; }
.trip-year { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 24px; }
.trip-year__label { position: sticky; top: 20px; align-self: start; font-size: 1.1rem; font-weight: 900; color: var(--accent-2); }
.trip-year__cards { display: grid; gap: 14px; }
.trip-card { padding: 22px; border: 1px solid var(--border); border-radius: 22px; background: rgba(255,255,255,.05); }
.trip-card--featured { background: linear-gradient(135deg, rgba(255,122,168,.12), rgba(255,196,107,.08)); border-color: rgba(255,196,107,.24); }
.trip-card--secondary { opacity: .78; }
.trip-card__date { color: var(--accent-2); font-size: .82rem; font-weight: 800; letter-spacing: .04em; }
.trip-card h4 { margin: 8px 0 8px; font-size: clamp(1.2rem, 3vw, 2rem); }
.trip-card p { margin: 0; color: var(--muted); line-height: 1.6; }
.trip-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.trip-card__tags span { padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.07); color: #d9cedf; font-size: .78rem; }
.trip-media { display: grid; gap: 14px; margin-top: 18px; }
.media-hero, .media-thumb, .media-feature { display: block; padding: 0; border: 0; color: inherit; background: none; cursor: zoom-in; }
.media-hero { width: 100%; overflow: hidden; border-radius: 18px; background: rgba(255,255,255,.06); }
.media-hero img { display: block; width: 100%; max-height: 420px; object-fit: cover; transition: transform .18s ease; }
.trip-media .media-hero.media-is-portrait,
.trip-media .media-hero.media-is-very-portrait {
  display: grid;
  place-items: center;
  padding: clamp(10px, 1.5vw, 18px);
  background: radial-gradient(circle at 50% 18%, rgba(255,196,107,.12), transparent 40%), rgba(255,255,255,.055);
}
.trip-media .media-hero.media-is-portrait img,
.trip-media .media-hero.media-is-very-portrait img {
  width: auto;
  max-width: min(100%, 520px);
  max-height: min(68vh, 620px);
  border-radius: 14px;
  object-fit: contain;
  box-shadow: 0 16px 42px rgba(0,0,0,.22);
}
.media-feature {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: clamp(230px, 34vw, 430px);
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255,255,255,.06);
}
.media-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--media-backdrop);
  background-position: center;
  background-size: cover;
  filter: blur(22px) brightness(.48) saturate(1.05);
  transform: scale(1.12);
  opacity: .72;
}
.media-feature img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  max-height: min(66vh, 560px);
  object-fit: contain;
  transition: transform .18s ease;
}
.media-feature.media-is-landscape::before,
.media-feature.media-is-square::before { opacity: .34; }
.media-feature.media-is-landscape img,
.media-feature.media-is-square img {
  width: 100%;
  max-height: clamp(260px, 34vw, 460px);
  object-fit: contain;
}
.media-feature.media-is-portrait img,
.media-feature.media-is-very-portrait img {
  width: auto;
  max-width: min(100%, 520px);
  max-height: min(70vh, 620px);
  border-radius: 14px;
  box-shadow: 0 18px 46px rgba(0,0,0,.28);
}
.media-single { display: grid; }
.media-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.media-duo .media-feature { min-height: clamp(220px, 26vw, 360px); }
.media-trio { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(180px, .8fr); gap: 12px; align-items: stretch; }
.media-trio .media-feature--primary { min-height: clamp(300px, 38vw, 500px); }
.media-trio__support { display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 12px; }
.media-trio__support .media-thumb { aspect-ratio: auto; min-height: 0; }
.media-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(126px, 1fr)); gap: 10px; align-items: stretch; }
.media-layout--many .media-gallery { grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); }
.media-gallery--count-1 { grid-template-columns: minmax(170px, 360px); }
.media-thumb { overflow: hidden; aspect-ratio: 1; border-radius: 12px; background: rgba(255,255,255,.06); }
.media-gallery--count-1 .media-thumb { aspect-ratio: 4 / 3; }
.media-gallery--count-1 .media-thumb.media-is-portrait,
.media-gallery--count-1 .media-thumb.media-is-very-portrait { aspect-ratio: 3 / 4; max-width: 240px; }
.media-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .18s ease; }
.media-thumb.media-is-portrait img,
.media-thumb.media-is-very-portrait img { object-position: center 38%; }
.media-thumb:hover img, .media-hero:hover img, .media-feature:hover img { transform: scale(1.035); }
.media-more { display: grid; place-items: center; min-height: 92px; border: 0; border-radius: 12px; color: var(--muted); background: rgba(255,255,255,.07); font: inherit; font-weight: 800; cursor: zoom-in; }
.media-videos { display: grid; gap: 12px; justify-items: center; }
.media-videos--count-2 { grid-template-columns: repeat(2, minmax(0, auto)); justify-content: center; align-items: end; }
.media-video { margin: 0; }
.media-video video { display: block; width: 100%; max-height: 420px; border-radius: 16px; background: #000; }
.media-video.media-is-portrait {
  display: grid;
  justify-items: center;
  padding: clamp(10px, 1.4vw, 16px);
  border-radius: 18px;
  background: rgba(255,255,255,.045);
}
.media-video.media-is-portrait video {
  width: min(100%, 360px);
  max-height: min(70vh, 560px);
  object-fit: contain;
}
.media-video.media-is-landscape video,
.media-video.media-is-square video,
.media-video.media-is-unknown video { width: min(100%, 560px); object-fit: contain; }
.media-video figcaption { margin-top: 8px; color: var(--muted); font-size: .86rem; }
.home-film { width: min(calc(100vw - 24px), 1240px); margin: clamp(34px, 5vw, 64px) 0 0 50%; transform: translateX(-50%); display: grid; gap: clamp(12px, 1.8vw, 22px); overflow: hidden; }
.home-film__row { max-width: 100%; overflow: hidden; box-sizing: border-box; padding-inline: max(14px, calc((100vw - min(100vw, 1240px)) / 2)); overscroll-behavior-inline: contain; scroll-behavior: auto; scrollbar-width: none; cursor: grab; touch-action: pan-y; contain: layout paint; }
.home-film__row::-webkit-scrollbar { display: none; }
.home-film__row[data-dragging="true"] { cursor: grabbing; scroll-behavior: auto; }
.home-film__track { display: flex; gap: clamp(10px, 1.2vw, 16px); width: max-content; padding: 4px 0; transform: translate3d(0, 0, 0); will-change: transform; backface-visibility: hidden; }
.home-film__row--2 .home-film__track { padding-top: 2px; }
.home-film__set { display: flex; flex: 0 0 auto; gap: clamp(10px, 1.2vw, 16px); }
.home-film__photo { flex: 0 0 auto; display: block; height: clamp(142px, 17vw, 230px); aspect-ratio: var(--film-ratio, 1); padding: 0; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; overflow: hidden; color: inherit; background: rgba(255,255,255,.06); box-shadow: 0 18px 42px rgba(0,0,0,.2); cursor: zoom-in; transform: translateZ(0); }
.home-film__photo.media-is-portrait,
.home-film__photo.media-is-very-portrait { height: clamp(158px, 20vw, 270px); }
.home-film__photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .22s ease, filter .22s ease; user-select: none; pointer-events: none; }
.home-film__photo:hover img { transform: scale(1.035); filter: saturate(1.06); }
.body--lightbox-open { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 50; display: grid; grid-template-columns: 56px minmax(0, 1fr) 56px; gap: 12px; align-items: center; padding: 22px; background: rgba(10,8,14,.88); backdrop-filter: blur(12px); }
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; display: grid; justify-items: center; gap: 12px; min-width: 0; }
.lightbox__figure img { max-width: 100%; max-height: calc(100vh - 120px); border-radius: 16px; object-fit: contain; box-shadow: var(--shadow); }
.lightbox__figure figcaption { max-width: 760px; color: var(--muted); text-align: center; }
.lightbox__close, .lightbox__nav { border: 1px solid var(--border); border-radius: 999px; color: var(--text); background: rgba(255,255,255,.1); cursor: pointer; }
.lightbox__close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; font-size: 1.8rem; line-height: 1; }
.lightbox__nav { width: 52px; height: 52px; font-size: 1.5rem; }

@media (max-width: 800px) {
  .trip-timeline-head { grid-template-columns: 1fr; align-items: start; }
  .trip-year { grid-template-columns: 1fr; gap: 10px; }
  .trip-year__label { position: static; }
  .media-duo,
  .media-trio,
  .media-videos--count-2 { grid-template-columns: 1fr; }
  .media-trio__support { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; }
  .media-feature { min-height: clamp(230px, 74vw, 440px); }
  .media-duo .media-feature,
  .media-trio .media-feature--primary { min-height: clamp(230px, 72vw, 420px); }
  .home-film { width: calc(100vw - 24px); margin-left: 50%; margin-right: 0; transform: translateX(-50%); gap: 12px; }
  .home-film__row { padding-inline: 12px; }
  .home-film__photo { height: clamp(132px, 38vw, 178px); border-radius: 14px; }
  .home-film__photo.media-is-portrait,
  .home-film__photo.media-is-very-portrait { height: clamp(154px, 46vw, 220px); }
  .lightbox { grid-template-columns: 44px minmax(0, 1fr) 44px; padding: 14px; gap: 6px; }
  .lightbox__nav { width: 42px; height: 42px; }
  .lightbox__figure img { max-height: calc(100vh - 150px); }
}

@media (prefers-reduced-motion: reduce) {
  .home-film__row { scroll-behavior: auto; }
  .home-film__photo img { transition: none; }
}
