/* Вне зоны доступа. Кинематографичный тёмный: свет даёт кадр, акцент взят из пазла на логотипе.
   Анимируются только transform и opacity. */

:root {
  --ink: #101317;        /* подвал, холодный графит из кадров «Узника» и «Метро» */
  --ink-2: #171b20;      /* приподнятая поверхность */
  --ink-3: #20262c;      /* поля, кнопки */
  --line: #2b3239;
  --line-2: #3c444c;
  --paper: #ebe5da;      /* основной текст, свет лампы на бумаге */
  --mute: #9aa1a8;
  --dim: #6d747b;
  --rose: #d15a8e;       /* пазл с логотипа */
  --rose-ink: #e889b2;
  --wa: #008069;
  --wa-chat: #0b141a;
  --wa-head: #202c33;
  --wa-bub: #005c4b;
  --wa-txt: #e9edef;

  --f-d: "Alumni Sans", "Arial Narrow", sans-serif;
  --f-t: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;

  --hh: 56px;
  --pad: 20px;
  --max: 1360px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--hh); scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font: 400 16px/1.55 var(--f-t);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; -webkit-user-drag: none; user-select: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
:focus-visible { outline: 2px solid var(--rose-ink); outline-offset: 3px; }
::selection { background: var(--rose); color: #fff; }

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

.h2 {
  font: 700 clamp(3rem, 12vw, 6.4rem)/.88 var(--f-d);
  letter-spacing: -.005em;
  text-wrap: balance;
}
.h2--xl { font-size: clamp(4.4rem, 19vw, 11rem); font-weight: 800; }
.h3 { font: 700 1.9rem/1 var(--f-d); }
.lead { font-size: 1.12rem; line-height: 1.6; max-width: 36em; }

/* ───── кнопки ───── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border: 1px solid transparent; border-radius: 3px;
  font: 600 1rem/1 var(--f-t); text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), opacity .2s;
}
.btn:active { transform: scale(.97); }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--line { border-color: rgba(235, 229, 218, .45); color: var(--paper); }
.btn--wa { background: var(--wa); color: #fff; width: 100%; min-height: 56px; font-size: 1.05rem; }
.btn--wa:not(.is-ready) { opacity: .78; }

/* ───── скважина на входе ───── */
.keyhole {
  position: fixed; z-index: 100; left: 50%; top: 50%;
  width: 300vmax; height: 300vmax; margin: -150vmax 0 0 -150vmax;
  pointer-events: none;
  transform-origin: 50% 50.3%;
  animation: kh-open 1.5s cubic-bezier(.7, 0, .18, 1) .45s both, kh-fade .45s ease 1.45s both;
}
.keyhole svg { width: 100%; height: 100%; display: block; fill: #000; }
@keyframes kh-open { from { transform: scale(1); } to { transform: scale(16); } }
@keyframes kh-fade { from { opacity: 1; visibility: visible; } to { opacity: 0; visibility: hidden; } }

/* ───── шапка ───── */
.top {
  position: fixed; z-index: 50; top: 0; left: 0; right: 0;
  height: var(--hh);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 var(--pad);
}
.top::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink); border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity .3s;
}
.top.is-solid::before { opacity: 1; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.45rem/1 var(--f-d); letter-spacing: .01em; }
.nav { display: none; }
.top__cta {
  font-weight: 600; font-size: .95rem; text-decoration: none;
  padding: 10px 16px; border: 1px solid rgba(235, 229, 218, .5); border-radius: 3px;
}

/* ───── первый экран ───── */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: 0 0 26% 0; z-index: -2; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 64% 50%;
  animation: hero-settle 2.6s var(--ease) .45s both;
}
@keyframes hero-settle { from { transform: scale(1.14); } to { transform: scale(1); } }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(16, 19, 23, .55) 0, rgba(16, 19, 23, 0) 22%),
    linear-gradient(0deg, var(--ink) 0, var(--ink) 27%, rgba(16, 19, 23, .72) 44%, rgba(16, 19, 23, .12) 66%, rgba(16, 19, 23, 0) 80%);
}
.hero__in { width: 100%; max-width: var(--max); margin: 0 auto; padding: calc(var(--hh) + 24px) var(--pad) 28px; }
.hero__place { font-size: .95rem; color: var(--paper); margin-top: 12px; }
.hero__t {
  font: 800 clamp(5.6rem, 25vw, 17.5rem)/.8 var(--f-d);
  letter-spacing: -.015em;
  margin-left: -.04em;
}
.ln { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.ln > span { display: block; animation: ln-up 1.1s var(--ease) both; }
.ln:nth-child(1) > span { animation-delay: 1.05s; }
.ln:nth-child(2) > span { animation-delay: 1.17s; }
@keyframes ln-up { from { transform: translateY(104%); } to { transform: none; } }
.hero__sub {
  font: 500 clamp(1.7rem, 7vw, 2.6rem)/1 var(--f-d);
  margin-top: 14px; color: var(--paper);
}
.hero__lead { margin-top: 12px; max-width: 30em; color: #cfc9bf; font-size: 1rem; }
.hero__sub, .hero__lead, .hero__btns, .hero__facts, .hero__place { animation: fade-in .9s ease 1.5s both; }
@keyframes fade-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hero__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.hero__btns .btn { padding: 0 12px; }
.hero__facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(235, 229, 218, .2);
}
.hero__facts dt { font: 700 2rem/1 var(--f-d); }
.hero__facts dd { font-size: .8rem; line-height: 1.35; color: var(--mute); margin-top: 4px; }

/* ───── пять дверей ───── */
.book { padding-top: 72px; }
.doors__h { padding: 0 var(--pad); max-width: var(--max); margin: 0 auto 24px; position: relative; }
.doors__l { color: var(--mute); margin-top: 14px; max-width: 34em; }
.doors__h .step__err { margin-top: 10px; display: inline-block; }

.frame { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-2); }
.frame__img { position: absolute; inset: 0; opacity: 0; transition: opacity .55s ease; }
.frame__img.is-on { opacity: 1; }
.frame__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.4s var(--ease); }
.frame__img.is-on img { transform: scale(1); }
.frame__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px var(--pad) 16px;
  background: linear-gradient(0deg, rgba(16, 19, 23, .85), rgba(16, 19, 23, 0));
  display: flex; justify-content: space-between; align-items: flex-end; gap: 12px;
}
.frame__tag { font: 500 1.5rem/1.05 var(--f-d); max-width: 16em; }
.frame__age { font: 700 2.6rem/.9 var(--f-d); color: var(--paper); }

.quests { padding: 0 var(--pad); }
.q {
  position: relative; width: 100%; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 16px;
  padding: 16px 0 14px; text-align: left;
  background: none; border: 0; border-bottom: 1px solid var(--line);
}
.q:first-child { border-top: 1px solid var(--line); }
.q__n { grid-column: 1 / -1; font: 700 clamp(2rem, 8.6vw, 3.2rem)/.95 var(--f-d); color: var(--dim); transition: opacity .3s; text-wrap: balance; }
.q__n i { font-style: normal; display: block; font-weight: 500; font-size: .62em; line-height: 1.1; margin-top: 2px; }
.q__m { font-size: .86rem; color: var(--mute); }
.q__p { font-size: .86rem; font-weight: 600; color: var(--paper); white-space: nowrap; }
.q__mark {
  position: absolute; right: 0; top: 18px; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--ink);
}
.q__mark svg { opacity: 0; transform: scale(.6); transition: opacity .25s, transform .3s var(--ease); }
.q.is-on .q__n { color: var(--paper); }
.q.is-on .q__mark { background: var(--rose); border-color: var(--rose); color: #fff; }
.q.is-on .q__mark svg { opacity: 1; transform: none; }
.q.is-peek .q__n { color: #c6c0b6; }
.q .q__n { padding-right: 44px; }

/* ───── шаги ───── */
.book__grid { display: grid; gap: 40px; margin-top: 72px; }
.steps__h { margin-bottom: 26px; }
.step { padding: 26px 0 30px; border-top: 1px solid var(--line); }
.step__h { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.step__n { font: 700 1.1rem/1 var(--f-d); color: var(--rose-ink); min-width: 1ch; }
.step__h h3 { font: 700 2.1rem/1 var(--f-d); }
.step__opt { font-size: .85rem; color: var(--dim); }
.step__err { font-size: .85rem; color: var(--rose-ink); opacity: 0; transition: opacity .25s; }
.step__err.is-on { opacity: 1; }
.step.is-shake { animation: shake .45s var(--ease); }
.doors.is-shake { animation: shake .45s var(--ease); }
@keyframes shake { 0%, 100% { transform: none; } 25% { transform: translateX(-6px); } 60% { transform: translateX(5px); } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 46px; padding: 9px 15px; border-radius: 3px;
  background: var(--ink-2); border: 1px solid var(--line-2);
  display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; text-align: left;
  font-size: .95rem; line-height: 1.2;
  transition: transform .15s var(--ease);
}
.chip:active { transform: scale(.97); }
.chip__p { font-size: .78rem; color: var(--mute); margin-top: 2px; }
.chip.is-on { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.chip.is-on .chip__p { color: #5a554e; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field__l { font-size: .85rem; color: var(--mute); }
.field__l--group { margin: 4px 0 10px; }
.field__l--group ~ .field__l--group { margin-top: 22px; }
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: end; }
.stepper { display: grid; grid-template-columns: 46px 1fr 46px; align-items: center; height: 50px; border: 1px solid var(--line-2); border-radius: 3px; background: var(--ink-2); }
.stepper__b { height: 100%; border: 0; background: none; font-size: 1.35rem; color: var(--paper); }
.stepper__b:disabled { opacity: .25; cursor: default; }
.stepper__v { text-align: center; font: 700 1.55rem/1 var(--f-d); white-space: nowrap; }
.hint { font-size: .86rem; color: var(--mute); margin-top: 12px; max-width: 40em; }
.hint:empty { display: none; }
.hint--warn { color: var(--rose-ink); }

.cal__wd, .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal__wd span { font-size: .78rem; color: var(--dim); text-align: center; padding-bottom: 6px; }
.day {
  aspect-ratio: 1 / 1.08; border: 1px solid var(--line); border-radius: 3px; background: var(--ink-2);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding: 0;
  transition: transform .15s var(--ease);
}
.day:active { transform: scale(.94); }
.day__d { font: 700 1.45rem/1 var(--f-d); }
.day__m { font-size: .75rem; line-height: 1; color: var(--mute); }
.day--wk .day__d { color: var(--rose-ink); }
.day:disabled { opacity: .22; cursor: default; }
.day.is-on { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.day.is-on .day__d { color: var(--ink); }
.day.is-on .day__m { color: #5a554e; }

.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.slot {
  min-height: 62px; border: 1px solid var(--line-2); border-radius: 3px; background: var(--ink-2);
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 8px 12px; text-align: left;
  transition: transform .15s var(--ease);
}
.slot:active { transform: scale(.96); }
.slot__t { font: 700 1.6rem/1 var(--f-d); }
.slot__p:empty { display: none; }
.slot__p { font-size: .78rem; color: var(--mute); margin-top: 3px; }
.slot:disabled { opacity: .25; cursor: default; }
.slot.is-on { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.slot.is-on .slot__p { color: #5a554e; }

.you { display: grid; gap: 14px; }
.field__i {
  height: 52px; padding: 0 14px; width: 100%;
  background: var(--ink-2); border: 1px solid var(--line-2); border-radius: 3px;
  color: var(--paper); font: 400 16px var(--f-t);
}
.field__i::placeholder { color: var(--dim); }
.field__i:focus { outline: none; border-color: var(--paper); }

/* ───── заявка в WhatsApp ───── */
.ticket { scroll-margin-top: calc(var(--hh) + 12px); }
.chat { border-radius: 12px; overflow: hidden; background: var(--wa-chat); border: 1px solid #1d2a31; }
.chat__h { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--wa-head); }
.chat__h img { border-radius: 50%; background: #fff; padding: 3px; }
.chat__h b { display: block; font-weight: 600; color: var(--wa-txt); font-size: .98rem; }
.chat__h span { font-size: .78rem; color: #8696a0; }
.chat__body { padding: 18px 12px 16px 24px; display: flex; justify-content: flex-end; }
.bubble {
  position: relative; max-width: 100%; width: 100%;
  background: var(--wa-bub); color: var(--wa-txt);
  border-radius: 8px 0 8px 8px; padding: 9px 11px 22px;
  font-size: .92rem; line-height: 1.42;
}
.bubble::after {
  content: ""; position: absolute; top: 0; right: -8px;
  border-style: solid; border-width: 0 8px 10px 0; border-color: transparent transparent transparent transparent;
  border-top: 0; border-left: 8px solid var(--wa-bub); border-bottom: 10px solid transparent; border-right: 0;
}
.bubble__hi { margin-bottom: 6px; }
.bubble__dl { margin: 0; }
.bl { display: block; }
.bl dt { display: inline; font-weight: 700; }
.bl dt::after { content: ": "; }
.bl dd { display: inline; }
.bl--empty { color: rgba(233, 237, 239, .45); }
.bl--empty dt { font-weight: 600; }
.bl--empty dd { font-style: italic; }
.bl--new { opacity: 0; transform: translateY(4px); }
.bl--new.is-in { opacity: 1; transform: none; transition: opacity .35s ease, transform .35s var(--ease); }
.bubble__ps { margin-top: 6px; }
.bubble__time { position: absolute; right: 9px; bottom: 5px; font-size: .75rem; color: rgba(233, 237, 239, .6); display: inline-flex; align-items: center; gap: 3px; }
.bubble__time::after {
  content: ""; width: 16px; height: 10px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M1 5.5l2.6 2.6L9.5 1.5M6.5 8.1L7 8.6 13.4 1.5' fill='none' stroke='%2353bdeb' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.sum { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 20px; }
.sum__l { color: var(--mute); font-size: .9rem; }
.sum__v { font: 700 2.4rem/1 var(--f-d); text-align: right; }
.sum__note { font-size: .8rem; color: var(--mute); margin: 8px 0 16px; }
.ticket__left { font-size: .82rem; color: var(--mute); margin-top: 10px; text-align: center; }

/* ───── нижняя панель ───── */
.dock {
  position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom));
  background: var(--ink-2); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .35s var(--ease);
}
.dock.is-on { transform: none; }
.dock__s { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dock__s b { font: 700 1.5rem/1 var(--f-d); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock__locks { display: flex; gap: 4px; align-items: center; font-size: .75rem; color: var(--mute); }
.dock__locks i { width: 18px; height: 4px; background: var(--line-2); border-radius: 2px; }
.dock__locks i.on { background: var(--rose); }
.dock__locks span { margin-left: 6px; }
.dock__b { flex: none; background: var(--wa); color: #fff; text-decoration: none; font-weight: 600; padding: 13px 20px; border-radius: 3px; }

/* ───── праздник ───── */
.party { padding-top: 96px; }
.party__cover { position: relative; overflow: hidden; height: 78svh; min-height: 460px; max-height: 760px; }
.party__cover img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%; }
.party__cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--ink) 0, rgba(16, 19, 23, .7) 30%, rgba(16, 19, 23, 0) 62%); }
.party__cap { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 0 var(--pad) 24px; max-width: var(--max); margin: 0 auto; }
.party__cap p { font: 500 clamp(1.6rem, 6.4vw, 2.6rem)/1.02 var(--f-d); margin-top: 10px; max-width: 18em; }
.party__grid { display: grid; gap: 48px; margin-top: 32px; }
.ticks { list-style: none; padding: 0; margin: 24px 0 28px; }
.ticks li { padding: 13px 0 13px 28px; border-top: 1px solid var(--line); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 12px; height: 1px; background: var(--rose-ink); }
.prices { display: grid; gap: 36px; }
.rows { margin-top: 14px; }
.rows > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); }
.rows dt { color: #cfc9bf; }
.rows dd { font-weight: 600; white-space: nowrap; }
.tbl { margin-top: 14px; }
.tbl__r { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 8px; padding: 11px 0; border-top: 1px solid var(--line); }
.tbl__r span:not(:first-child) { text-align: right; font-weight: 600; white-space: nowrap; }
.tbl__r--h span { font-size: .8rem; color: var(--mute); font-weight: 400 !important; }
.tbl__r span:first-child { color: #cfc9bf; }
.price__n { font-size: .8rem; color: var(--mute); margin-top: 8px; }
.strip { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; margin-top: 64px; }
.strip img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.strip img:first-child { grid-column: 1 / -1; aspect-ratio: 3 / 2; }

/* ───── отзывы ───── */
.revs { padding: 96px 0 40px; }
.revs__h { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 28px; margin-bottom: 36px; }
.score { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.score__v { font: 800 5.2rem/.8 var(--f-d); }
.score__l { font-size: .85rem; color: var(--mute); line-height: 1.35; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; }
.revs__list { display: grid; gap: 0; }
.rev { padding: 26px 0; border-top: 1px solid var(--line); }
.rev blockquote { font: 500 1.75rem/1.08 var(--f-d); text-wrap: pretty; }
.rev--big blockquote { font-size: clamp(2.1rem, 8.4vw, 3.6rem); line-height: 1.02; font-weight: 500; }
.rev figcaption { font-size: .86rem; color: var(--mute); margin-top: 14px; }

/* ───── вопросы ───── */
.faq { padding: 56px 0 96px; }
.faq__grid { display: grid; gap: 28px; }
.acc__item { border-top: 1px solid var(--line); }
.acc__item:last-child { border-bottom: 1px solid var(--line); }
.acc__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0; background: none; border: 0; text-align: left;
  font-size: 1.06rem; font-weight: 500;
}
.acc__i { position: relative; flex: none; width: 16px; height: 16px; transition: transform .35s var(--ease); }
.acc__i::before, .acc__i::after { content: ""; position: absolute; left: 0; top: 7.5px; width: 16px; height: 1.5px; background: currentColor; }
.acc__i::after { transform: rotate(90deg); }
.is-open .acc__i { transform: rotate(45deg); }
.acc__a { padding: 0 0 22px; color: #cfc9bf; max-width: 40em; }

/* ───── как найти ───── */
.find { position: relative; min-height: 92vh; min-height: 92svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.find__media { position: absolute; inset: 0; z-index: -2; }
.find__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; }
.find__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--ink) 0, rgba(16, 19, 23, .88) 36%, rgba(16, 19, 23, .1) 72%); }
.find__in { padding-bottom: 48px; }
.find__t { font: 800 clamp(4.2rem, 21vw, 15rem)/.82 var(--f-d); letter-spacing: -.015em; margin-left: -.04em; }
.find__sub { font: 500 clamp(1.7rem, 7vw, 2.6rem)/1 var(--f-d); margin-top: 12px; }
.find__l { color: #cfc9bf; margin-top: 14px; max-width: 32em; }
.find__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.foot { border-top: 1px solid var(--line); padding: 22px 0 calc(22px + env(safe-area-inset-bottom)); font-size: .85rem; color: var(--mute); }
.foot__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

/* появление крупных кадров (класс через двойной rAF) */
.rv { opacity: 0; transform: translateY(18px); }
.rv.is-in { opacity: 1; transform: none; transition: opacity .8s ease, transform .9s var(--ease); }

/* ───── планшет и шире ───── */
@media (min-width: 720px) {
  :root { --pad: 32px; }
  .hero__btns { display: flex; }
  .hero__facts { max-width: 640px; }
  .slots { grid-template-columns: repeat(3, 1fr); }
  .you { grid-template-columns: 1fr 1fr; }
  .field--wide { grid-column: 1 / -1; }
  .prices { grid-template-columns: 1fr 1fr; }
  .prices .price:last-child { grid-column: 1 / -1; }
  .strip { grid-template-columns: 1.2fr 1fr 1fr; }
  .strip img, .strip img:first-child { grid-column: auto; aspect-ratio: 4 / 3; }
  .revs__list { grid-template-columns: repeat(3, 1fr); column-gap: 32px; }
  .rev--big { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
  :root { --hh: 64px; --pad: 48px; }
  .nav { display: flex; gap: 28px; position: absolute; left: 50%; transform: translateX(-50%); }
  .nav a { text-decoration: none; font-size: .95rem; color: #d6d0c6; transition: opacity .2s; }
  .nav a:hover { opacity: .7; }
  .hero__media { inset: 0; }
  .hero__media img { object-position: 50% 40%; }
  .hero__shade { background: linear-gradient(180deg, rgba(16, 19, 23, .5) 0, rgba(16, 19, 23, 0) 20%), linear-gradient(0deg, var(--ink) 0, rgba(16, 19, 23, .82) 30%, rgba(16, 19, 23, .2) 62%, rgba(16, 19, 23, 0) 80%); }
  .hero__in { display: grid; grid-template-columns: 1fr 380px; column-gap: 48px; align-items: end; padding-bottom: 48px; }
  .hero__place { grid-column: 1 / -1; grid-row: 1; margin: 0 0 12px; color: var(--mute); }
  .hero__t { grid-column: 1 / -1; grid-row: 2; }
  .hero__t { font-size: clamp(9rem, 17.5vw, 19rem); }
  .hero__sub { grid-column: 1; grid-row: 3; align-self: start; margin-top: 18px; }
  .hero__lead { grid-column: 1; grid-row: 4; }
  .hero__btns { grid-column: 1; grid-row: 5; }
  .hero__facts { grid-column: 2; grid-row: 3 / span 3; align-self: end; grid-template-columns: 1fr; gap: 14px; margin: 0; padding: 0 0 0 24px; border-top: 0; border-left: 1px solid rgba(235, 229, 218, .2); }
  .hero__facts div { display: flex; align-items: baseline; gap: 14px; }
  .hero__facts dt { min-width: 3.2ch; font-size: 2.4rem; }
  .hero__facts dd { margin: 0; font-size: .88rem; }

  .book { padding-top: 120px; }
  .doors { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
  .doors__h { padding: 0; display: grid; grid-template-columns: 7fr 5fr; column-gap: 48px; align-items: end; margin-bottom: 36px; }
  .doors__l { margin: 0; }
  .doors__h .step__err { grid-column: 2; }
  .doors__grid { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: start; }
  .frame { aspect-ratio: 3 / 2; position: sticky; top: calc(var(--hh) + 24px); }
  .frame__cap { padding: 60px 24px 20px; }
  .quests { padding: 0; }
  .q { padding: 18px 0 16px; }
  .q__n { font-size: 2.7rem; }

  .book__grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 64px; align-items: start; margin-top: 120px; }
  .ticket { position: sticky; top: calc(var(--hh) + 24px); }
  .step { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; padding: 30px 0 34px; }
  .step__h { flex-direction: column; gap: 8px; margin: 0; }
  .step__h h3 { font-size: 2.3rem; }
  .slots { grid-template-columns: repeat(3, 1fr); max-width: 560px; }
  .cal { max-width: 560px; }
  .hero__place { text-shadow: 0 1px 12px rgba(0, 0, 0, .8); }
  .dock { display: none; }

  .party { padding-top: 140px; }
  .party__cover { max-width: calc(var(--max) - 2 * var(--pad)); margin: 0 auto; height: 72vh; max-height: 720px; }
  .party__cap { padding: 0 40px 36px; }
  .party__grid { grid-template-columns: 5fr 7fr; gap: 64px; margin-top: 56px; }
  .strip { max-width: calc(var(--max) - 2 * var(--pad)); margin: 72px auto 0; }

  .revs { padding: 140px 0 56px; }
  .rev blockquote { font-size: 1.9rem; }
  .rev--big blockquote { font-size: 3.4rem; max-width: 24em; }

  .faq { padding: 72px 0 140px; }
  .faq__grid { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  .find { min-height: 88vh; }
  .find__in { padding-bottom: 72px; }
}

@media (min-width: 1600px) {
  :root { --max: 1520px; }
}

@media (hover: hover) {
  .btn:hover { opacity: .88; }
  .q:hover .q__n { color: #c6c0b6; }
  .q.is-on:hover .q__n { color: var(--paper); }
  .chip:not(.is-on):hover, .day:not(.is-on):not(:disabled):hover, .slot:not(.is-on):not(:disabled):hover { border-color: var(--mute); }
}
.hint--top { margin: 0 0 12px; }
