:root {
  --cream: #fff5e6;
  --wine: #6f1230;
  --deep: #3b0c1e;
  --pink: #f9cfdd;
  --sky: #d3e6f3;
  --blue: #24408e;
  --f-display: "Oswald", Impact, sans-serif;
  --f-text: "Manrope", system-ui, sans-serif;
  --pad: clamp(16px, 2.2vw, 32px);
  --paper: var(--cream) url("img/paper.webp?v=4") 0 0 / 360px 360px;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { overflow-x: clip; background: var(--paper); color: var(--wine); font: 400 17px/1.55 var(--f-text); }
body.locked { overflow: hidden; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
h1, h2 { font-family: var(--f-display); font-weight: 700; line-height: 1.04; text-transform: uppercase; }
h2 { font-size: clamp(40px, 6vw, 86px); }

/* Титры перед началом */
#intro { display: none; }
.js #intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1vh;
  background: var(--bg, var(--deep));
  color: var(--fg, var(--pink));
  text-align: center;
  transition: transform .8s cubic-bezier(.76, 0, .24, 1);
}
#intro.done { display: none !important; }
#intro.up { transform: translateY(-100%); }
#intro-cap { min-height: 1.4em; font: 600 clamp(16px, 1.7vw, 24px)/1.4 var(--f-text); }
#intro-word { font: 700 clamp(64px, 19vw, 300px)/1.05 var(--f-display); text-transform: uppercase; white-space: nowrap; }
#skip { position: absolute; right: var(--pad); bottom: var(--pad); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

.top {
  position: absolute;
  z-index: 5;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 18px var(--pad);
  font-weight: 600;
  font-size: 15px;
}
.logo { font: 700 28px/1 var(--f-display); text-transform: uppercase; }
.logo span { text-transform: none; }
.top nav { display: flex; gap: 30px; }
.top-right { justify-self: end; display: flex; align-items: center; gap: 18px; }
.lang { display: flex; border: 2px solid currentColor; font-size: 13px; font-weight: 800; line-height: 1; }
.lang a { display: grid; place-items: center; min-width: 40px; min-height: 32px; padding-inline: 8px; }
.social { display: flex; gap: 4px; }
.social a { display: grid; place-items: center; width: 40px; height: 36px; background: var(--wine); color: var(--cream); transition: background .15s; }
.social svg { width: 21px; height: 21px; }
.top .social a:hover { background: var(--blue); text-decoration: none; }
.top .lang a:hover { text-decoration: none; background: var(--pink); }
.top .lang a[aria-current] { background: var(--wine); color: var(--cream); }
.top a:hover { text-decoration: underline; text-underline-offset: 4px; }
.logo:hover { text-decoration: none !important; }

.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; }
.hero-word {
  position: absolute;
  top: 11svh;
  left: 0;
  right: 0;
  color: var(--pink);
  font: 700 20.6vw/1 var(--f-display);
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}
.hero-girls {
  position: absolute;
  left: 50%;
  bottom: -1svh;
  width: min(60vw, 118svh);
  height: auto;
  transform: translateX(-50%);
}
.js .hero-word { transform: translateY(14%); opacity: 0; transition: transform 1s .1s cubic-bezier(.2, .8, .2, 1), opacity .6s .1s; }
.js .hero-girls { transform: translate(-50%, 16%); opacity: 0; transition: transform 1s .25s cubic-bezier(.2, .8, .2, 1), opacity .5s .25s; }
.js.shown .hero-word { transform: none; opacity: 1; }
.js.shown .hero-girls { transform: translateX(-50%); opacity: 1; }

.hero-left, .hero-right { position: absolute; z-index: 2; bottom: 34px; width: min(19vw, 290px); }
.hero-left { left: var(--pad); }
.hero-left h1 { margin-bottom: 10px; font-size: clamp(26px, 2.8vw, 42px); }
.hero-right { right: var(--pad); text-align: right; }
.hero-right p { margin-bottom: 16px; font-size: 18px; }

.btn {
  display: inline-block;
  padding: 14px 26px;
  background: var(--wine);
  color: var(--cream);
  font: 700 18px/1.2 var(--f-display);
  letter-spacing: .03em;
  text-transform: uppercase;
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--blue); transform: translateY(-2px); }

.doors { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 2px solid var(--wine); background: var(--pink); }
.doors a { display: block; overflow: hidden; }
.doors a + a { border-left: 2px solid var(--wine); }
.doors span {
  display: flex;
  justify-content: space-between;
  padding: 8px 14px;
  border-bottom: 2px solid var(--wine);
  font: 700 clamp(22px, 2.8vw, 40px)/1.2 var(--f-display);
  text-transform: uppercase;
}
.doors span::after { content: "→"; font-family: var(--f-text); transition: transform .2s; }
.doors a:hover span::after { transform: translateX(-6px); }
.doors img { height: clamp(170px, 20vw, 300px); transition: transform .5s; }
.doors a:hover img { transform: scale(1.05); }

.reel { overflow: hidden; padding-block: 26px 70px; background: var(--wine); color: var(--pink); }
.run { overflow: hidden; }
.run div { display: flex; align-items: center; width: max-content; animation: run 34s linear infinite; }
.run span { padding-inline: 26px; font: 700 clamp(56px, 8vw, 118px)/1.2 var(--f-display); text-transform: uppercase; white-space: nowrap; }
.run img { flex: none; width: clamp(110px, 12vw, 170px); height: clamp(70px, 7.4vw, 104px); border-radius: 50%; border: 3px solid var(--cream); }
@keyframes run { to { transform: translateX(-50%); } }
.reel-copy { display: grid; grid-template-columns: minmax(0, 1fr) 190px; align-items: center; gap: 40px; max-width: 1040px; margin: 44px auto 0; padding-inline: var(--pad); }
.reel-copy p { font: 600 clamp(21px, 2.1vw, 30px)/1.28 var(--f-display); text-transform: uppercase; }
.ring { width: 190px; height: 190px; animation: spin 18s linear infinite; }
.ring text { fill: var(--pink); font: 600 19.5px var(--f-text); letter-spacing: .02em; }
@keyframes spin { to { transform: rotate(360deg); } }

.moments {
  position: relative;
  height: 1560px;
  overflow: hidden;
  background: repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), rgb(111 18 48 / .13) 0 25%), var(--paper);
}
.bigword { position: absolute; left: 0; right: 0; color: var(--pink); font: 700 25vw/1 var(--f-display); text-align: center; text-transform: uppercase; }
.w1 { top: 160px; }
.w2 { top: 900px; color: var(--sky); }
.ph { position: absolute; padding: 8px 8px 0; background: #fff; box-shadow: 0 8px 26px rgb(59 12 30 / .16); will-change: transform; }
.ph img { height: auto; aspect-ratio: var(--r, 4 / 5); }
.ph figcaption { padding: 7px 2px 9px; color: var(--deep); font-size: 13px; line-height: 1.35; }
.ph:not(:has(figcaption)) { padding-bottom: 8px; }
.p1 { top: 70px; left: 6%; width: 21%; rotate: -2deg; }
.p2 { top: 240px; left: 40%; width: 19%; rotate: 2deg; --r: 3 / 4; }
.p3 { top: 90px; right: 7%; width: 19%; rotate: 3deg; --r: 1; }
.p4 { top: 760px; left: 8%; width: 32%; rotate: 2deg; --r: 3 / 2; }
.p5 { top: 900px; left: 47%; width: 19%; rotate: -3deg; --r: 1; }
.p6 { top: 720px; right: 5%; width: 20%; rotate: 2deg; --r: 1; }

.band { padding: 62px var(--pad); background: var(--sky); color: var(--blue); text-align: center; }
.band h2 { max-width: 15em; margin-inline: auto; }

.program { padding: 90px var(--pad); background: var(--deep); color: var(--cream); }
.program h2 { margin-bottom: 40px; color: var(--pink); }
.program ol { border-top: 1px solid rgb(249 207 221 / .55); }
.program li {
  position: relative;
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) minmax(0, 1fr) 96px;
  align-items: center;
  gap: 16px;
  min-height: 84px;
  padding: 8px 6px;
  border-bottom: 1px solid rgb(249 207 221 / .55);
  transition: background .2s, color .2s, padding .2s;
}
.program li span { font-size: 14px; font-weight: 600; }
.program li b { font: 700 clamp(25px, 2.7vw, 38px)/1.1 var(--f-display); text-transform: uppercase; }
.program li small { font-size: 16px; }
.program li img { width: 96px; height: 66px; object-fit: contain; transition: transform .25s; }
.program li:hover, .program li.on { padding-inline: 16px; background: var(--pink); color: var(--deep); }
.program li:hover img { transform: scale(1.18) rotate(-3deg); }

.studio { display: grid; grid-template-columns: 1fr 1fr; background: var(--pink); }
.studio-copy { align-self: center; padding: 64px var(--pad); }
.studio h2 { margin-bottom: 30px; font-size: clamp(38px, 4.8vw, 70px); }
.studio li { padding-block: 12px; border-top: 1px solid var(--wine); }
.studio > img { height: 100%; min-height: 560px; max-height: 760px; }

.booking { padding: 90px var(--pad); background: var(--blue); }
.ticket { display: grid; grid-template-columns: 96px 1fr; max-width: 900px; margin-inline: auto; background: var(--paper); }
.stub { position: relative; display: grid; place-items: center; border-right: 3px dashed var(--wine); background: var(--pink); }
.stub span { font: 700 26px/1 var(--f-display); text-transform: uppercase; writing-mode: vertical-rl; rotate: 180deg; }
.ticket-body { padding: clamp(24px, 4vw, 48px); }
.ticket-body h2 { font-size: clamp(36px, 4.6vw, 62px); }
.ticket-body > p { margin-block: 12px 24px; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form > label, fieldset { display: grid; gap: 5px; font-size: 13px; font-weight: 800; }
input[type="date"], input[type="number"], input[type="text"] {
  width: 100%; height: 48px; padding: 0 12px; border: 2px solid var(--wine); border-radius: 0;
  background: #fff; color: var(--deep); font: 600 16px/1 var(--f-text); appearance: none;
}
input[aria-invalid="true"] { border-color: #d0103f; box-shadow: inset 0 0 0 2px #d0103f; }
fieldset { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); padding: 0; border: 0; }
legend { padding-bottom: 5px; }
fieldset label { cursor: pointer; }
fieldset input { position: absolute; opacity: 0; }
fieldset span { display: block; padding: 11px 0; border: 2px solid var(--wine); font-size: 16px; text-align: center; }
fieldset input:checked + span { background: var(--wine); color: var(--cream); }
fieldset input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.total { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; padding-block: 9px; border-block: 1px solid var(--wine); }
.total output { font: 700 28px/1.2 var(--f-display); }
form .btn { grid-column: 1 / -1; border: 0; cursor: pointer; }
.status { grid-column: 1 / -1; min-height: 3.1em; font-size: 15px; }
.status a { font-weight: 800; text-decoration: underline; }

.foot { overflow: hidden; background: var(--wine); color: var(--pink); }
.foot-word { font: 700 20.9vw/1.08 var(--f-display); text-align: center; text-transform: uppercase; white-space: nowrap; }
.foot-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding: 14px var(--pad) 20px; font-size: 14px; }
.foot-row a { margin-left: 16px; font-weight: 800; }
.foot-row a:first-child { margin-left: 0; }
#replay { padding: 0; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .top { grid-template-columns: 1fr auto; }
  .top nav { display: none; }
  .hero { height: auto; min-height: 0; padding-top: 74px; padding-bottom: 24px; }
  .hero-word { top: 70px; font-size: 20.6vw; }
  .hero-girls { position: relative; left: auto; bottom: auto; display: block; width: 104%; max-width: none; height: auto; margin: 13vw 0 -8px -2%; }
  .js .hero-girls { transform: translateY(12%); }
  .js.shown .hero-girls { transform: none; }
  .hero-left, .hero-right { position: relative; bottom: auto; left: auto; right: auto; width: auto; padding-inline: var(--pad); text-align: left; }
  .hero-left { padding-top: 22px; }
  .hero-left h1 { font-size: 36px; }
  .hero-right { padding-top: 16px; }
  .hero-right .btn { display: block; text-align: center; }
  .doors { grid-template-columns: 1fr 1fr; }
  .doors a:nth-child(3) { border-left: 0; }
  .doors a:nth-child(n+3) { border-top: 2px solid var(--wine); }
  .doors img { height: 150px; }
  .reel-copy { grid-template-columns: 1fr; justify-items: center; gap: 24px; }
  .ring { width: 140px; height: 140px; }
  .moments { height: 1260px; background: repeating-linear-gradient(90deg, transparent 0 calc(50% - 1px), rgb(111 18 48 / .13) 0 50%), var(--paper); }
  .w1 { top: 130px; font-size: 25vw; }
  .w2 { top: 720px; font-size: 25vw; }
  .ph figcaption { font-size: 12px; }
  .p1 { top: 34px; left: 4%; width: 48%; }
  .p2 { top: 200px; left: auto; right: 4%; width: 42%; }
  .p3 { top: 410px; right: auto; left: 7%; width: 37%; }
  .p4 { top: 610px; left: 4%; width: 62%; }
  .p5 { top: 860px; left: auto; right: 4%; width: 44%; }
  .p6 { top: 1000px; right: auto; left: 7%; width: 40%; }
  .program { padding-block: 60px; }
  .program li { grid-template-columns: minmax(0, 1fr) 76px; gap: 2px 12px; padding-block: 12px; }
  .program li span { grid-column: 1; }
  .program li b { grid-column: 1; }
  .program li small { grid-column: 1; font-size: 15px; }
  .program li img { grid-column: 2; grid-row: 1 / span 3; width: 76px; height: 76px; }
  .studio { grid-template-columns: 1fr; }
  .studio-copy { padding-block: 48px 36px; }
  .studio > img { min-height: 0; height: 380px; }
  .booking { padding-block: 40px; padding-inline: 12px; }
  .ticket { grid-template-columns: 1fr; }
  .stub { padding: 8px; border-right: 0; border-bottom: 3px dashed var(--wine); }
  .stub span { font-size: 19px; writing-mode: horizontal-tb; rotate: none; }
  form { gap: 12px; }
  .foot-row { flex-direction: column; align-items: flex-start; }
}

/* Наклейки сценария */
.program { overflow-x: clip; }
.program-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(280px, 1fr); align-items: start; gap: clamp(20px, 3vw, 48px); }
.program li { cursor: default; grid-template-columns: 86px minmax(0, 1fr); }
.program li small { grid-column: 2; }
.program li b { grid-column: 2; }
.program li span { grid-row: 1 / span 2; }
.program-grid li img { display: none; }
.stickers { position: sticky; top: 9vh; height: min(78vh, 620px); animation: bob 3.6s ease-in-out infinite; }
.stickers img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0;
  filter: drop-shadow(0 14px 18px rgb(0 0 0 / .4));
  transform: translateY(70px) scale(.35) rotate(-26deg);
  transition: transform .28s ease-in, opacity .18s;
}
.stickers img:nth-child(even) { --tilt: 5deg; }
.stickers img:nth-child(odd) { --tilt: -5deg; }
.stickers img.on { opacity: 1; transform: rotate(var(--tilt)); transition: transform .6s cubic-bezier(.2, 1.7, .4, 1), opacity .12s; }
@keyframes bob { 50% { translate: 0 -12px; rotate: 1.4deg; } }

/* Анимации */
.hero-word { translate: var(--hx, 0) var(--hy, 0); }
.hero-float { position: absolute; inset: 0; pointer-events: none; translate: calc(var(--hx, 0px) * -2) calc(var(--hy, 0px) * -2); }
.hero-float i { position: absolute; color: var(--pink); font-style: normal; line-height: 1; font-size: var(--s); animation: drift 6s ease-in-out infinite; }
.hero-float i:nth-child(1) { --s: clamp(70px, 11vw, 170px); left: 3%; top: 50%; }
.hero-float i:nth-child(2) { --s: clamp(46px, 6vw, 96px); left: 18%; top: 58%; animation-delay: -2s; animation-duration: 7s; }
.hero-float i:nth-child(3) { --s: clamp(54px, 8vw, 124px); left: 27%; top: 44%; animation-delay: -4s; }
.hero-float i:nth-child(4) { --s: clamp(44px, 5.5vw, 88px); left: 50%; top: 47%; animation-delay: -1s; animation-duration: 7.5s; }
.hero-float i:nth-child(5) { --s: clamp(58px, 9vw, 140px); left: 67%; top: 45%; animation-delay: -3s; }
.hero-float i:nth-child(6) { --s: clamp(76px, 12vw, 190px); left: 84%; top: 46%; animation-delay: -5s; animation-duration: 7s; }
.hero-float i:nth-child(7) { --s: clamp(44px, 5vw, 80px); left: 78%; top: 70%; animation-delay: -2.5s; }
@media (max-width: 760px) {
  .hero-float i:nth-child(n+4) { display: none; }
  .hero-float i:nth-child(1) { --s: 84px; left: 72%; top: 50%; }
  .hero-float i:nth-child(2) { --s: 60px; left: 76%; top: 77%; }
  .hero-float i:nth-child(3) { --s: 40px; left: 42%; top: 71%; }
}
@keyframes drift { 0%, 100% { transform: rotate(-8deg); } 50% { transform: translateY(-18px) rotate(9deg) scale(1.08); } }
.film video { transition: transform .35s; }
.film figure { overflow: hidden; }
.film figure:hover video { transform: scale(1.06); }
.cast img { transition: transform .4s cubic-bezier(.2, 1.7, .4, 1); }
.cast a:hover img { transform: rotate(-10deg) scale(1.16); }
.price li { transition: transform .3s cubic-bezier(.2, 1.5, .4, 1), rotate .3s; }
.price li:hover { transform: translateY(-8px); rotate: -1.5deg; }
.anim .word { display: inline-block; opacity: 0; transform: translateY(.6em) rotate(5deg); transition: transform .7s cubic-bezier(.2, 1.3, .4, 1) var(--d, 0s), opacity .3s var(--d, 0s); }
.anim .in .word { opacity: 1; transform: none; }
.anim .pop { opacity: 0; transform: translateY(44px) scale(.9) rotate(var(--from, -3deg)); transition: transform .7s cubic-bezier(.2, 1.4, .4, 1) var(--d, 0s), opacity .35s var(--d, 0s); }
.anim .pop.in { opacity: 1; transform: none; }
.anim .pop.in.done { transition: transform .3s cubic-bezier(.2, 1.5, .4, 1), rotate .3s; transition-delay: 0s; }
.price li.pop.in.done:hover { transform: translateY(-8px); }
.foot-word .ch { display: inline-block; }
.foot-word.in .ch { animation: hop .7s cubic-bezier(.3, 1.5, .5, 1) calc(var(--i) * 55ms) both; }
@keyframes hop { 0% { transform: translateY(70%); } 55% { transform: translateY(-9%); } 100% { transform: none; } }

@media (max-width: 900px) {
  .program-grid { display: block; }
  .stickers { display: none; }
  .program li { grid-template-columns: minmax(0, 1fr) 84px; }
  .program li span, .program li b, .program li small { grid-column: 1; grid-row: auto; }
  .program-grid li img { display: block; grid-column: 2; grid-row: 1 / span 3; width: 84px; height: 84px; transform: scale(.2) rotate(-30deg); opacity: 0; transition: transform .6s cubic-bezier(.2, 1.7, .4, 1), opacity .15s; }
  .program-grid li.on img, .program-grid li.seen img { transform: rotate(-5deg); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .stickers, .hero-float i { animation: none; }
  .stickers img { transition: none; }
  .program-grid li img { transform: none; opacity: 1; transition: none; }
}

/* Трейлер */
.trailer { padding: 80px var(--pad); background: var(--deep); color: var(--cream); }
.trailer-head { margin-bottom: 32px; }
.trailer-head span { font-weight: 600; color: var(--pink); }
.trailer-head h2 { color: var(--pink); }
.film { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.film video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: var(--wine); }

/* Блогеры */
.cast { padding: 64px var(--pad); background: var(--paper); }
.cast h2 { margin-bottom: 28px; }
.cast ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 2px solid var(--wine); }
.cast li + li { border-left: 2px solid var(--wine); }
.cast a { display: grid; gap: 4px; height: 100%; padding: 20px 16px; transition: background .2s; }
.cast a:hover { background: var(--pink); }
.cast img { width: 72px; height: 72px; margin-bottom: 8px; border: 2px solid var(--wine); border-radius: 50%; }
.cast b { font: 700 clamp(24px, 2.4vw, 34px)/1.1 var(--f-display); text-transform: uppercase; overflow-wrap: anywhere; }
.cast span { font-weight: 600; overflow-wrap: anywhere; }
.cast small { font-size: 14px; }

/* Что входит */
.price { padding: 80px var(--pad); background: var(--paper); }
.price-head { display: grid; grid-template-columns: 1fr minmax(0, 420px); align-items: end; gap: 24px; margin-bottom: 32px; }
.price-head p { font-size: 19px; }
.price ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.price li { min-height: 210px; padding: 20px; background: var(--pink); }
.price li:nth-child(even) { background: var(--sky); color: var(--blue); }
.price li span { display: block; margin-bottom: 12px; font: 700 clamp(28px, 2.8vw, 40px)/1.1 var(--f-display); text-transform: uppercase; }

/* Позвать подруг */
.invite { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px, 5vw, 72px); padding: 80px var(--pad); background: var(--wine); color: var(--cream); }
.chat { display: grid; gap: 10px; max-width: 460px; justify-self: center; width: 100%; }
.chat p { justify-self: start; max-width: 85%; padding: 10px 16px; border-radius: 18px 18px 18px 4px; background: var(--cream); color: var(--deep); font-weight: 600; }
.chat .me { justify-self: end; border-radius: 18px 18px 4px 18px; background: var(--pink); }
.invite h2 { color: var(--pink); font-size: clamp(38px, 4.8vw, 70px); }
.invite-copy p { margin-block: 14px 22px; }
.invite .btn { background: var(--pink); color: var(--deep); }
.invite .btn:hover { background: var(--cream); }
.ask { margin-top: 8px; font-size: 15px; }
.ask a { font-weight: 800; text-decoration: underline; }

@media (max-width: 1024px) {
  .cast ul { grid-template-columns: 1fr 1fr; }
  .cast li:nth-child(3) { border-left: 0; }
  .cast li:nth-child(n+3) { border-top: 2px solid var(--wine); }
  .price ul { grid-template-columns: 1fr 1fr; }
  .price li { min-height: 150px; }
}

@media (max-width: 760px) {
  .trailer, .price, .invite { padding-block: 56px; }
  .film { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); }
  .film figure { flex: 0 0 62vw; scroll-snap-align: center; }
  .cast { padding-block: 48px; }
  .cast ul { grid-template-columns: 1fr; }
  .cast li + li { border-left: 0; border-top: 2px solid var(--wine); }
  .price-head, .invite { grid-template-columns: 1fr; }
  .price ul { grid-template-columns: 1fr; }
  .price li { min-height: 0; }
  .invite .btn { display: block; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .run div, .ring { animation: none; }
  .js .hero-word, .js .hero-girls { transition: none; }
  #intro { transition: none; }
}

/* Лёгкая ткань под главной надписью и цветные девочки */
.hero-weave {
  position: absolute; left: 0; right: 0; top: 0; height: calc(11svh + 27vw);
  background: url("img/weave-hot.webp?v=2") 0 0 / 480px 480px;
  opacity: .09;
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent);
  mask-image: linear-gradient(to bottom, #000 72%, transparent);
}
.hero-word, .hero-float i { color: #f2a2c2; }
.hero-girls { width: min(47vw, 92svh); bottom: 0; filter: drop-shadow(0 8px 16px rgb(111 18 48 / .2)); }

@media (min-width: 761px) and (max-width: 900px) {
  .hero-girls { width: 42vw; }
}

@media (max-width: 760px) {
  .hero-weave { height: calc(74px + 30vw); }
  .hero-girls { width: 92%; bottom: auto; margin: 15vw auto -4px; }
}

/* Газетная вырезка, рисунки линиями и воздух после первого экрана */
.hero-art { position: absolute; z-index: 1; left: 50%; bottom: 1.6svh; width: min(47vw, 90svh); transform: translateX(-50%); }
.hero-girls { position: relative; left: auto; bottom: auto; display: block; width: 100%; height: auto; margin: 0; filter: drop-shadow(1px 5px 7px rgb(59 12 30 / .3)); }
.js .hero-girls { transform: translateY(16%); }
.js.shown .hero-girls { transform: none; }
.doors { margin-top: clamp(56px, 7vw, 112px); }
.line { position: absolute; overflow: visible; fill: none; stroke: #c62d6e; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.line-img { position: absolute; height: auto; }
.line-crown { left: 43.5%; top: -15%; width: 12.5%; }
.line-cherry { left: 2%; top: 0; width: 10%; rotate: -8deg; }
@media (min-width: 761px) {
  .hero-float i:nth-child(4) { left: 57%; }
}
.line-bow { left: 29%; bottom: -2.5%; width: 39%; }

@media (min-width: 761px) and (max-width: 900px) {
  .hero-art { width: 42vw; }
}

@media (max-width: 760px) {
  .hero-art { position: relative; left: auto; bottom: auto; width: 92%; margin: 30vw auto 0; transform: none; }
  .line-cherry { left: 1%; top: -7%; }
  .hero-girls { width: 100%; margin: 0; }
  .js .hero-girls { transform: translateY(12%); }
  .doors { margin-top: 48px; }
  .line { stroke-width: 5; }
  .hero-float i:nth-child(1) { top: 53%; }
  .hero-float i:nth-child(2) { top: 79%; }
  .hero-float i:nth-child(3) { top: 74%; }
}

/* Ровная форма на всех экранах */
form > label { min-width: 0; grid-template-rows: 1fr 48px; align-items: end; }
form input { min-width: 0; max-width: 100%; }
input[type="date"] { text-align: left; }
input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.total { gap: 12px; }
.total output { white-space: nowrap; }
.ask { margin-top: 0; }

@media (max-width: 560px) {
  form { grid-template-columns: minmax(0, 1fr); }
  form > label { grid-template-rows: auto 48px; }
  .total output { font-size: 24px; }
  .status { min-height: 2.6em; }
}

@media (max-width: 340px) {
  .total { flex-direction: column; align-items: flex-start; gap: 0; }
  .total output { font-size: 24px; }
}

/* Переключатель языка на узком телефоне: логотип и кнопки не должны слипаться */
@media (max-width: 420px) {
  .logo { font-size: 24px; }
  .top-right { gap: 10px; font-size: 14px; }
  .lang a { min-width: 34px; padding-inline: 4px; }
}
@media (max-width: 340px) {
  .logo { font-size: 20px; }
  .top-right { gap: 6px; }
  .lang a { min-width: 30px; }
  .social a { width: 36px; }
}

/* Планшет: меню, язык и соцсети в одну строку с воздухом */
@media (min-width: 761px) and (max-width: 960px) {
  .top nav { gap: 16px; font-size: 14px; }
  .top-right { gap: 10px; }
  .logo { font-size: 24px; }
}

/* Плавающий блок при пролистывании: «Выбрать дату» + Telegram + Instagram (24.11.2026) */
.dock { position: fixed; z-index: 6; right: var(--pad); bottom: 12px; display: flex; gap: 4px; visibility: hidden; opacity: 0; transform: translateY(140%); transition: opacity .2s, transform .2s, visibility .2s; filter: drop-shadow(0 6px 14px rgb(59 12 30 / .3)); }
.dock .btn { padding: 14px 22px; }
.dock .btn:hover { transform: none; }
.dock a:not(.btn) { display: grid; place-items: center; width: 52px; background: var(--wine); color: var(--cream); transition: background .15s; }
.dock a:not(.btn):hover { background: var(--blue); }
.dock svg { width: 24px; height: 24px; }
.cta-on .dock { visibility: visible; opacity: 1; transform: none; }
@media (max-width: 760px) {
  .dock { left: var(--pad); }
  .dock .btn { flex: 1; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .dock { transition: none; }
}
/* Ловушка для спам-ботов в форме заявки: людям не видна (DVN-3) */
.trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
