:root {
  --bg: #0a0807;
  --cream: #f1ece2;
  --ink: #15120f;
  --fg: #f5efe5;
  --mut: rgba(245, 239, 229, .55);
  --line: rgba(245, 239, 229, .6);
  --f-logo: 'Oswald', 'Arial Narrow', sans-serif;
  --f-disp: 'Inter Tight', system-ui, sans-serif;
  --f-serif: 'Cormorant Garamond', Georgia, serif;
  --side: 64px;
  --top: 21vh;
  --fh: 74vh;
  --gap: 4.4vh;
  --rad: 30px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
@supports (height: 1svh) {
  :root { --top: 21svh; --fh: 74svh; --gap: 4.4svh; }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; overflow: hidden; background: var(--bg); color: var(--fg); overscroll-behavior: none; }
body {
  font-family: var(--f-disp);
  -webkit-font-smoothing: antialiased;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
body.is-drag { cursor: grabbing; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; -webkit-user-drag: none; }
[hidden] { display: none !important; }

/* вогнутые углы билета: размеры углов задаются переменными */
.notch {
  --tl: 6px; --tr: 6px; --br: 6px; --bl: 6px;
  -webkit-mask:
    radial-gradient(circle var(--tl) at 0 0, #0000 98%, #000) 0 0 / 51% 51% no-repeat,
    radial-gradient(circle var(--tr) at 100% 0, #0000 98%, #000) 100% 0 / 51% 51% no-repeat,
    radial-gradient(circle var(--bl) at 0 100%, #0000 98%, #000) 0 100% / 51% 51% no-repeat,
    radial-gradient(circle var(--br) at 100% 100%, #0000 98%, #000) 100% 100% / 51% 51% no-repeat;
  mask:
    radial-gradient(circle var(--tl) at 0 0, #0000 98%, #000) 0 0 / 51% 51% no-repeat,
    radial-gradient(circle var(--tr) at 100% 0, #0000 98%, #000) 100% 0 / 51% 51% no-repeat,
    radial-gradient(circle var(--bl) at 0 100%, #0000 98%, #000) 0 100% / 51% 51% no-repeat,
    radial-gradient(circle var(--br) at 100% 100%, #0000 98%, #000) 100% 100% / 51% 51% no-repeat;
}

/* кнопка-билет: контур рисует app.js */
.tbtn { display: inline-flex; height: 40px; color: var(--fg); }
.tbtn__a, .tbtn__b { position: relative; display: grid; place-items: center; }
.tbtn__a { padding: 0 20px; }
.tbtn__b { width: 40px; }
.tbtn em {
  position: relative; z-index: 1; font-style: normal;
  font: 600 9.5px/1 var(--f-disp); letter-spacing: .16em; text-transform: uppercase;
  transition: color .25s;
}
.tbtn__b em { font-size: 13px; letter-spacing: 0; }
.ol { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.ol path { fill: transparent; stroke: currentColor; stroke-opacity: .75; stroke-width: 1; transition: fill .25s; }
@media (hover: hover) {
  .tbtn:hover .ol path { fill: var(--fg); }
  .tbtn:hover em { color: var(--ink); }
}
.tbtn--fill .ol path { fill: var(--cream); stroke: none; }
.tbtn--fill em { color: var(--ink); }
.tbtn--xs { height: 24px; }
.tbtn--xs .tbtn__a { padding: 0 9px; }
.tbtn--xs .tbtn__b { width: 24px; }
.tbtn--xs em { font-size: 7.5px; }
.tbtn--xs .tbtn__b em { font-size: 9px; }
.tbtn--big { height: 48px; }
.tbtn--big .tbtn__a { padding: 0 28px; }
.tbtn--big .tbtn__b { width: 48px; }
.tbtn--big em { font-size: 10.5px; }

/* логотип */
.logo { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; }
.logo__word { font: 600 38px/.86 var(--f-logo); text-transform: uppercase; letter-spacing: -.005em; padding-bottom: .2em; }
.logo__sub { font: 600 6.5px/1 var(--f-disp); letter-spacing: .44em; text-transform: uppercase; margin-top: 3px; padding-left: .44em; }

/* WebGL-плёнка */
#gl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.reel { position: fixed; left: 0; top: 0; width: 100%; padding-top: var(--top); z-index: 1; will-change: transform; opacity: 0; transition: opacity .6s; }
.is-live .reel { opacity: 1; }
.shot { position: relative; height: var(--fh); margin: 0 var(--side) var(--gap); border-radius: var(--rad); }
.nogl .shot::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: #1c1612 var(--img) center 30% / cover no-repeat;
  filter: sepia(.55) contrast(1.05) brightness(.72);
}
.shot__ui { position: absolute; inset: 0; text-shadow: 0 1px 22px rgba(0, 0, 0, .35); }

.shot__award, .shot__cat, .shot__meta, .shot__cta, .shot__quotes li {
  opacity: 0; transform: translateY(16px);
  transition: opacity .5s, transform .9s var(--ease);
}
.shot.is-on .shot__award, .shot.is-on .shot__cat, .shot.is-on .shot__meta, .shot.is-on .shot__cta, .shot.is-on .shot__quotes li { opacity: 1; transform: none; }
.shot.is-on .shot__award { transition-delay: .15s; }
.shot.is-on .shot__cat { transition-delay: .1s; }
.shot.is-on .shot__meta { transition-delay: .45s; }
.shot.is-on .shot__quotes li:nth-child(1) { transition-delay: .3s; }
.shot.is-on .shot__quotes li:nth-child(2) { transition-delay: .45s; }
.shot.is-on .shot__quotes li:nth-child(3) { transition-delay: .6s; }
.shot.is-on .shot__cta { transition-delay: .7s; }

.shot__award { position: absolute; left: 5.6%; top: 14%; display: flex; flex-direction: column; align-items: center; text-align: center; }
.shot__award b { font: 600 clamp(24px, 2.3vw, 36px)/1 var(--f-disp); letter-spacing: -.03em; text-transform: uppercase; }
.shot__award span { font: 600 clamp(11px, 1vw, 14px)/1.02 var(--f-disp); text-transform: uppercase; letter-spacing: -.01em; margin-top: 6px; }
.laurel { position: relative; width: 112px; height: 76px; margin-top: 18px; display: grid; place-items: center; }
.laurel svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: currentColor; opacity: .92; }
.laurel p { font: 600 6.5px/1.3 var(--f-disp); letter-spacing: .06em; text-transform: uppercase; max-width: 62px; text-align: center; }

.shot__head { position: absolute; left: 4.6%; bottom: 5.5%; display: flex; flex-direction: column; align-items: center; text-align: center; }
.shot__cat { font: 600 10.5px/1 var(--f-serif); letter-spacing: .36em; text-transform: uppercase; margin-bottom: 16px; padding-left: .36em; }
.shot__title {
  font: 600 clamp(42px, 5.7vw, 104px)/.86 var(--f-disp); text-transform: uppercase; letter-spacing: -.04em;
  display: flex; flex-direction: column; align-items: center;
  transition: opacity .4s;
}
.shot:not(.is-on) .shot__title { opacity: 0; }
.ln { display: block; white-space: nowrap; }
.ch { display: inline-block; text-align: center; transition: transform .45s var(--ease), opacity .3s; }
.ch.flip { transform: scaleY(-1); opacity: .7; transition: none; }
.shot__meta { align-self: stretch; min-width: 320px; margin-top: 16px; border-top: 1px solid var(--line); }
.shot__meta div { display: grid; grid-template-columns: 1fr 1.3fr; gap: 12px; border-bottom: 1px solid var(--line); padding: 4px 0 3px; font: 600 11px/1 var(--f-disp); text-transform: uppercase; letter-spacing: .02em; }
.shot__meta dt { opacity: .72; }

.shot__quotes { position: absolute; right: 4%; top: 12%; bottom: 17%; width: clamp(210px, 19vw, 310px); list-style: none; display: flex; flex-direction: column; justify-content: space-between; text-align: center; }
.stars { font-size: 14px; letter-spacing: 5px; padding-left: 5px; line-height: 1; }
.src { font: 600 10.5px/1 var(--f-serif); letter-spacing: .3em; text-transform: uppercase; margin: 13px 0 10px; opacity: .88; }
.shot__quotes q { display: block; quotes: '«' '»'; font: 600 clamp(15px, 1.5vw, 23px)/1 var(--f-disp); text-transform: uppercase; letter-spacing: -.02em; }
.shot__cta { position: absolute; right: 7%; bottom: 4.5%; }

/* колонка «сюжета» вместо цитат: биография и неудачные дубли */
.shot--story .shot__ui { border-radius: inherit; background: radial-gradient(34% 62% at 79% 50%, rgba(8, 6, 4, .62), rgba(8, 6, 4, 0) 100%); }
.shot__story { position: absolute; right: 4%; top: 12%; bottom: 17%; width: clamp(260px, 25vw, 380px); list-style: none; display: flex; flex-direction: column; justify-content: center; gap: 22px; text-align: left; }
.shot__story .src { margin: 0 0 10px; }
.shot__story p { font: 500 clamp(14px, 1.15vw, 17px)/1.45 var(--f-disp); letter-spacing: -.005em; text-shadow: 0 1px 14px rgba(0, 0, 0, .7); }
.shot__story--many { gap: 0; justify-content: space-between; }
.shot__story--many li { padding: 12px 0; border-top: 1px solid var(--line); }
.shot__story--many li:first-child { border-top: 0; padding-top: 0; }
.shot__story--many .src { margin-bottom: 6px; color: #ff8a73; opacity: 1; }
.shot__story--many p { font-size: clamp(13px, 1.05vw, 16px); line-height: 1.32; }
.shot__story li { opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .9s var(--ease); }
.shot.is-on .shot__story li { opacity: 1; transform: none; }
.shot.is-on .shot__story li:nth-child(1) { transition-delay: .3s; }
.shot.is-on .shot__story li:nth-child(2) { transition-delay: .4s; }
.shot.is-on .shot__story li:nth-child(3) { transition-delay: .5s; }
.shot.is-on .shot__story li:nth-child(4) { transition-delay: .6s; }
.shot.is-on .shot__story li:nth-child(5) { transition-delay: .7s; }
.shot.is-on .shot__story li:nth-child(6) { transition-delay: .8s; }
.shot__story h3 { font: 600 clamp(14px, 1.2vw, 18px)/1.1 var(--f-disp); text-transform: uppercase; letter-spacing: -.01em; margin-bottom: 6px; text-shadow: 0 1px 14px rgba(0, 0, 0, .7); }

/* списки с подзаголовками (темы, этапы, вопросы): плотный блок по центру, воздух внутри пунктов */
@media (min-width: 761px) {
  .shot__story--many:has(h3) { justify-content: center; }
  .shot__story--many:has(h3) li { padding: 18px 0; }
  .shot__story--many:has(h3) .src { margin-bottom: 10px; }
  .shot__story--many:has(h3) h3 { font-size: clamp(15px, 1.2vw, 19px); line-height: 1.15; margin-bottom: 8px; }
  .shot__story--many:has(h3) p { font-size: clamp(13px, 1vw, 15px); line-height: 1.45; color: rgba(245, 239, 229, .82); }
  .shot__story.shot__story--grid { column-gap: 56px; }
}
@media (min-width: 761px) and (max-height: 860px) {
  .shot__story--many:has(h3) { top: 8%; bottom: 19%; }
  .shot__story--many:has(h3) li { padding: 10px 0; }
  .shot__story--many:has(h3) .src { display: none; }
  .shot__story--many:has(h3) h3 { font-size: 14.5px; margin-bottom: 5px; }
  .shot__story--many:has(h3) p { font-size: 12.5px; line-height: 1.38; }
}

/* шесть тем — в две колонки */
@media (min-width: 761px) { .shot__story--many:has(h3):not(.shot__story--grid) { width: clamp(300px, 30vw, 450px); } }
.shot__story--grid { width: clamp(480px, 44vw, 660px); display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; align-content: center; }
.shot__story--grid li:nth-child(2) { border-top: 0; padding-top: 0; }

/* цифры вместо отзывов на главном кадре */
.shot__stats b { display: block; font: 600 clamp(26px, 2.9vw, 46px)/1 var(--f-disp); letter-spacing: -.035em; text-transform: uppercase; white-space: nowrap; }
.shot__stats .src { margin: 10px 0 0; }

/* форматы: билеты на сеанс */
.shot__passes { width: clamp(300px, 27vw, 410px); gap: 14px; }
.pass { background: var(--cream); color: var(--ink); padding: 14px 18px 16px; text-shadow: none; --tl: 10px; --tr: 10px; --bl: 10px; --br: 10px; }
.pass .pass__top { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 9px; border-bottom: 1px solid rgba(21, 18, 15, .25); font: 600 7.5px/1 var(--f-disp); letter-spacing: .16em; text-transform: uppercase; }
.pass h3 { margin: 12px 0 8px; font: 600 clamp(18px, 1.6vw, 24px)/1 var(--f-disp); letter-spacing: -.03em; text-transform: uppercase; text-shadow: none; }
.pass .pass__spec { font: 500 12.5px/1.35 var(--f-disp); color: rgba(21, 18, 15, .72); text-shadow: none; }
.pass .pass__lead { margin-top: 8px; font: 600 9px/1.2 var(--f-disp); letter-spacing: .12em; text-transform: uppercase; text-shadow: none; }
.pass__price { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(21, 18, 15, .25); }
.pass__price b { font: 600 clamp(22px, 2vw, 30px)/1 var(--f-disp); letter-spacing: -.03em; white-space: nowrap; }
.pass__price span { flex: 1; min-width: 90px; font: 500 11px/1.2 var(--f-disp); color: rgba(21, 18, 15, .7); }
.pass__price a { padding: 8px 10px; border: 1px solid rgba(21, 18, 15, .6); border-radius: 4px; font: 600 8.5px/1 var(--f-disp); letter-spacing: .16em; text-transform: uppercase; }
@media (hover: hover) { .pass__price a:hover { background: var(--ink); color: var(--cream); } }

/* кейсы: слайдер в одном контейнере */
.shot__vs { right: 7%; bottom: 4.5%; width: clamp(360px, 30vw, 460px); gap: 14px; justify-content: stretch; opacity: 0; transform: translateY(16px); transition: opacity .5s .3s, transform .9s .3s var(--ease); }
.shot.is-on .shot__vs { opacity: 1; transform: none; }
.vs { position: relative; flex: 1; min-height: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: rgba(8, 6, 4, .6); touch-action: pan-y; }
.vs__track { display: flex; height: 100%; transition: transform .6s var(--ease); }
.vs__slide { position: relative; flex: 0 0 100%; display: grid; place-items: center; }
.vs__bar { display: flex; align-items: center; gap: 8px; }
.vs__n { order: 1; margin-left: 10px; font: 600 9px/1 var(--f-disp); letter-spacing: .2em; font-variant-numeric: tabular-nums; }
.vs__arr { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; }
.vs__case { display: flex; flex-direction: column; place-items: stretch; }
/* contain: size — иначе iOS Safari растягивает строку фото по его родной высоте и выталкивает подпись */
.vs__case img { flex: 1; min-height: 0; width: 100%; contain: size; object-fit: cover; object-position: 50% 20%; filter: sepia(.25) contrast(1.04); }
.vs__case figcaption { padding: 14px 16px 16px; border-top: 1px solid var(--line); }
.vs__who { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; font: 600 8px/1 var(--f-disp); letter-spacing: .18em; text-transform: uppercase; color: #ff8a73; }
.vs__who b { font: 600 clamp(15px, 1.25vw, 19px)/1 var(--f-disp); letter-spacing: -.01em; color: var(--fg); }
.vs__case p { font-size: clamp(12px, .95vw, 14px); line-height: 1.38; }
@media (hover: hover) { .vs__arr:hover { background: var(--fg); color: var(--ink); } }

/* шапка */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 30; display: flex; justify-content: space-between; align-items: flex-start; padding: 30px 34px; pointer-events: none; opacity: 0; transition: opacity .8s .3s; }
.is-live .hdr { opacity: 1; }
.hdr > * { pointer-events: auto; }
.tkt { position: relative; display: grid; grid-template-columns: 246px 104px; align-items: start; color: var(--ink); filter: drop-shadow(0 12px 30px rgba(0, 0, 0, .4)); }
/* скрытое меню занимает место в сетке — пустая коробка .tkt не должна перехватывать нажатия */
.tkt { pointer-events: none; }
.tkt__card, .tkt__stub, .tkt.menu-on .tkt__menu { pointer-events: auto; }
.tkt__card { background: var(--cream); --tr: 8px; --br: 8px; --tl: 5px; --bl: 5px; }
.tkt__main { display: grid; grid-template-columns: 40px 1fr 12px; gap: 12px; align-items: center; width: 100%; height: 70px; padding: 0 16px 0 13px; text-align: left; color: var(--ink); }
.tkt__thumb, .tkt__row img { width: 40px; height: 40px; border-radius: 5px; object-fit: cover; filter: sepia(.35) saturate(.85) contrast(1.05); }
.tkt__title { font: 600 15px/.95 var(--f-disp); text-transform: uppercase; letter-spacing: -.02em; }
.tkt__chev { width: 12px; transition: transform .4s var(--ease); }
.tkt.list-on .tkt__chev { transform: rotate(180deg); }
.tkt__meta { display: grid; grid-template-columns: 1.5fr 1fr 1fr; height: 26px; border-top: 1px solid rgba(21, 18, 15, .25); }
.tkt__meta span { display: grid; place-items: center; font: 600 7px/1 var(--f-disp); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.tkt__meta span + span { border-left: 1px solid rgba(21, 18, 15, .25); }
.tkt__list { max-height: 0; overflow: hidden; transition: max-height .55s var(--ease); }
.tkt.list-on .tkt__list { max-height: min(520px, 66vh); overflow-y: auto; }
.tkt__row { display: grid; grid-template-columns: 22px 1fr 6px; gap: 10px; align-items: center; width: 100%; height: 34px; padding: 0 16px 0 13px; border-top: 1px solid rgba(21, 18, 15, .14); text-align: left; font: 600 9.5px/1 var(--f-disp); letter-spacing: .02em; text-transform: uppercase; color: var(--ink); }
.tkt__row img { width: 22px; height: 22px; border-radius: 3px; }
.tkt__row i { width: 5px; height: 5px; border-radius: 50%; background: var(--ink); opacity: 0; }
.tkt__row.is-cur i { opacity: 1; }
@media (hover: hover) { .tkt__row:hover { background: rgba(21, 18, 15, .06); } }
.tkt__stub { height: 96px; background: var(--cream); --tl: 8px; --bl: 8px; --tr: 5px; --br: 5px; border-left: 1.5px dashed rgba(21, 18, 15, .45); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--ink); }
.tkt__stub i { display: block; width: 30px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease), opacity .3s; }
.tkt.menu-on .tkt__stub i:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.tkt.menu-on .tkt__stub i:nth-child(2) { opacity: 0; }
.tkt.menu-on .tkt__stub i:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
.tkt__menu {
  grid-column: 1 / -1; background: var(--cream); padding: 16px 18px 14px; margin-top: -1px;
  display: flex; flex-direction: column; color: var(--ink);
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .6s var(--ease), visibility 0s .6s;
}
.tkt.menu-on .tkt__menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .6s var(--ease); }
.tkt__menu > a { display: flex; align-items: baseline; gap: 10px; font: 600 26px/1.08 var(--f-disp); text-transform: uppercase; letter-spacing: -.03em; }
.tkt__menu small { font: 600 9px/1 var(--f-disp); letter-spacing: .1em; opacity: .6; }
.tkt__menu sup { font: 600 8px/1 var(--f-disp); letter-spacing: .14em; opacity: .6; }
.tkt__menu-row { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(21, 18, 15, .2); font: 600 8.5px/1 var(--f-disp); letter-spacing: .16em; text-transform: uppercase; }
.tkt__menu-foot { margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(21, 18, 15, .2); font: 600 7.5px/1 var(--f-disp); letter-spacing: .14em; text-transform: uppercase; opacity: .55; }
@media (hover: hover) { .tkt__menu > a:hover { opacity: .6; } }

/* низ */
.hud { position: fixed; left: 34px; right: 34px; bottom: 12px; z-index: 30; display: flex; justify-content: space-between; align-items: center; font: 600 8.5px/1 var(--f-disp); letter-spacing: .22em; text-transform: uppercase; color: var(--mut); pointer-events: none; opacity: 0; transition: opacity .8s .5s; }
.is-live .hud { opacity: 1; }
.hud > * { pointer-events: auto; }
.snd { display: flex; align-items: center; gap: 10px; padding: 6px 0; color: inherit; letter-spacing: inherit; text-transform: inherit; font: inherit; }
.snd__bars { display: flex; gap: 2px; align-items: flex-end; height: 10px; }
.snd__bars i { width: 2px; height: 3px; background: currentColor; }
.snd.is-on { color: var(--fg); }
.snd.is-on .snd__bars i { animation: eq .8s ease-in-out infinite alternate; }
.snd.is-on .snd__bars i:nth-child(2) { animation-delay: -.3s; }
.snd.is-on .snd__bars i:nth-child(3) { animation-delay: -.55s; }
.snd.is-on .snd__bars i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { from { height: 2px; } to { height: 10px; } }
.hud__count { font-variant-numeric: tabular-nums; }

/* вход */
.gate { position: fixed; inset: 0; z-index: 50; background: var(--bg); display: grid; place-items: center; transition: opacity .9s, visibility .9s; }
.gate.is-out { opacity: 0; visibility: hidden; }
.gate__note { position: absolute; top: 30px; left: 0; right: 0; text-align: center; font: 600 8.5px/1 var(--f-disp); letter-spacing: .3em; text-transform: uppercase; color: var(--mut); }
.gate__logo { display: flex; flex-direction: column; align-items: center; }
.gate__logo .logo__word { font-size: clamp(72px, 14vw, 220px); }
.gate__logo .logo__sub { font-size: clamp(8px, .9vw, 13px); margin-top: .4em; }
.gate__load { margin-top: 38px; font: 600 8.5px/1 var(--f-disp); letter-spacing: .3em; text-transform: uppercase; color: var(--mut); font-variant-numeric: tabular-nums; transition: opacity .4s; }
.gate.is-ready .gate__load { opacity: 0; }
.gate__actions { position: absolute; left: 0; right: 0; bottom: 8%; display: flex; flex-direction: column; align-items: center; gap: 16px; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .6s, transform .8s var(--ease); }
.gate.is-ready .gate__actions { opacity: 1; transform: none; pointer-events: auto; }
.gate__mute { font: 600 8.5px/1 var(--f-disp); letter-spacing: .24em; text-transform: uppercase; color: var(--mut); padding: 6px; }
@media (hover: hover) { .gate__mute:hover { color: var(--fg); } }

/* подсказки */
.toast { position: fixed; left: 58%; bottom: 34px; z-index: 35; width: 236px; margin-left: -118px; padding: 8px; border-radius: 10px; background: #1d1a17; color: var(--fg); box-shadow: 0 20px 60px rgba(0, 0, 0, .5); transition: opacity .5s, transform .6s var(--ease); }
.toast.is-hide { opacity: 0; transform: translateY(16px); pointer-events: none; }
.toast__pic { position: relative; height: 116px; border-radius: 6px; background: #2a2521; overflow: hidden; }
.toast__pic i { position: absolute; left: 17%; width: 66%; height: 46%; border-radius: 7px; background: linear-gradient(160deg, #6b5442, #2f2620); animation: mini 3.6s linear infinite; }
.toast__pic i:nth-child(2) { animation-delay: -1.2s; }
.toast__pic i:nth-child(3) { animation-delay: -2.4s; }
.toast__pic b { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px; border: 1px solid rgba(245, 239, 229, .8); border-radius: 50%; animation: pull 1.8s var(--ease) infinite; }
@keyframes mini { from { top: 110%; } to { top: -60%; } }
@keyframes pull { 0%, 20% { transform: translateY(18px); opacity: 0; } 40% { opacity: 1; } 80% { transform: translateY(-18px); opacity: 1; } 100% { transform: translateY(-18px); opacity: 0; } }
.toast__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 10px 2px 2px 4px; }
.toast__row p { font: 600 7.5px/1.35 var(--f-disp); letter-spacing: .09em; text-transform: uppercase; min-height: 3em; transition: opacity .25s; }
.toast__row .tbtn { flex: none; }

/* курсор */
.cursor { position: fixed; left: 0; top: 0; z-index: 70; pointer-events: none; opacity: 0; transition: opacity .4s; mix-blend-mode: difference; }
.is-live.has-cursor .cursor { opacity: 1; }
.cursor__ring { position: absolute; width: 96px; height: 96px; margin: -48px; border: 1px solid rgba(245, 239, 229, .5); border-radius: 50%; display: grid; place-items: center; transition: transform .45s var(--ease), background .35s, border-color .35s; }
.cursor__lbl { font: 600 8px/1 var(--f-disp); letter-spacing: .2em; text-transform: uppercase; padding-left: .2em; transition: opacity .2s; }
.cursor.is-link .cursor__ring { transform: scale(.16); background: var(--fg); }
.cursor.is-link .cursor__lbl { opacity: 0; }
.is-drag .cursor__ring { transform: scale(.82); }

/* финал: билет */
.finale { position: relative; height: 100vh; height: 100svh; margin-top: 8vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; padding: 128px var(--side) 52px; }
.credits { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 34px; font: 600 10.5px/1 var(--f-serif); letter-spacing: .3em; text-transform: uppercase; color: var(--mut); text-align: center; }
.credits b { font-family: var(--f-disp); font-size: 9.5px; letter-spacing: .14em; color: var(--fg); }
.credits { opacity: 0; transition: opacity 1s .5s; }
.finale.is-in .credits { opacity: 1; }

.ticket { position: relative; width: min(1080px, 100%); display: grid; grid-template-columns: 1fr 190px; color: var(--ink); filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .5)); opacity: 0; transform: translateY(70px) rotate(-2.5deg); transition: opacity .8s .15s, transform 1.4s .15s var(--ease); }
.finale.is-in .ticket { opacity: 1; transform: none; }
.ticket__main { grid-area: 1 / 1; background: var(--cream); --tl: 10px; --bl: 10px; --tr: 15px; --br: 15px; display: grid; grid-template-columns: 34% 1fr; gap: 34px; padding: 16px 38px 16px 16px; min-height: min(530px, 60vh); }
.ticket__photo { position: relative; border-radius: 6px; overflow: hidden; background: #2a2420; }
.ticket__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: grayscale(1) sepia(.4) contrast(1.12) brightness(.94); }
.ticket__photo::after { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 40%, transparent 50%, rgba(20, 12, 6, .45)); }
.ticket__body { display: flex; flex-direction: column; padding: 6px 0 4px; }
.tk__top { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(21, 18, 15, .25); font: 600 8.5px/1 var(--f-disp); letter-spacing: .2em; text-transform: uppercase; }
.tk__title { margin: 22px 0 22px; font: 600 clamp(28px, 3.3vw, 52px)/.9 var(--f-disp); letter-spacing: -.035em; text-transform: uppercase; }
.tk__prog { list-style: none; border-top: 1px solid rgba(21, 18, 15, .7); }
.tk__prog li { display: grid; grid-template-columns: 38px 128px 1fr; align-items: baseline; gap: 8px; padding: 9px 0 8px; border-bottom: 1px solid rgba(21, 18, 15, .22); }
.tk__prog b { font: 600 11px/1 var(--f-serif); letter-spacing: .2em; }
.tk__prog span { font: 600 11px/1.1 var(--f-disp); letter-spacing: .08em; text-transform: uppercase; }
.tk__prog i { font: 500 13px/1.25 var(--f-disp); font-style: normal; color: rgba(21, 18, 15, .72); }
.tk__foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin-top: auto; padding-top: 16px; font: 600 9px/1 var(--f-disp); letter-spacing: .16em; text-transform: uppercase; }
@media (hover: hover) { .tk__foot a:hover { opacity: .55; } }

.ticket__stub {
  grid-area: 1 / 2; position: relative; z-index: 2; background: var(--cream); color: var(--ink);
  --tl: 15px; --bl: 15px; --tr: 10px; --br: 10px;
  border-left: 2px dashed rgba(21, 18, 15, .38);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 26px 0 24px;
  cursor: grab; touch-action: none; transform-origin: 0 100%;
}
.ticket__stub:active { cursor: grabbing; }
.stub__mark { font: 600 30px/1 var(--f-logo); letter-spacing: -.01em; }
.stub__txt { writing-mode: vertical-rl; transform: rotate(180deg); font: 600 10px/1 var(--f-disp); letter-spacing: .3em; text-transform: uppercase; }
.stub__code { display: block; width: 92px; height: 36px; }
.stub__code svg { width: 100%; height: 100%; fill: var(--ink); }
.stub__go { font: 600 8.5px/1 var(--f-disp); letter-spacing: .2em; text-transform: uppercase; }
.ticket__stub.is-torn { transform: translate(55vw, 40vh) rotate(42deg) !important; opacity: 0; pointer-events: none; transition: transform 1.2s cubic-bezier(.45, .05, .55, .95), opacity 1.2s ease-in !important; }
.ticket__after { grid-area: 1 / 2; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; color: var(--fg); opacity: 0; pointer-events: none; transition: opacity .6s .5s; }
.ticket.is-torn .ticket__after { opacity: 1; pointer-events: auto; }
.after__k { font: 600 10px/1 var(--f-serif); letter-spacing: .3em; text-transform: uppercase; margin-bottom: 6px; }

/* мобилка */
@media (max-width: 760px) {
  :root { --side: 12px; --top: 15vh; --fh: 72vh; --gap: 3vh; --rad: 20px; }
  @supports (height: 1svh) { :root { --top: 15svh; --fh: 72svh; --gap: 3svh; } }
  .hdr { padding: 16px 14px; }
  .logo__word { font-size: 24px; }
  .logo__sub { font-size: 4.6px; margin-top: 2px; }
  .tkt { grid-template-columns: 158px 50px; }
  .tkt__main { grid-template-columns: 30px 1fr 10px; gap: 9px; height: 54px; padding: 0 11px 0 10px; }
  .tkt__thumb { width: 30px; height: 30px; border-radius: 4px; }
  .tkt__title { font-size: 11px; }
  .tkt__meta { height: 21px; }
  .tkt__meta span { font-size: 5.6px; letter-spacing: .12em; }
  .tkt__stub { height: 75px; }
  .tkt__stub i { width: 20px; }
  .tkt__menu > a { font-size: 22px; }
  .hud { left: 14px; right: 14px; bottom: 8px; }

  .shot__award { left: 6%; top: 5.5%; align-items: flex-start; text-align: left; }
  .shot__award b { font-size: 22px; }
  .shot__award span { font-size: 10px; }
  .laurel { display: none; }
  .shot__quotes { top: 5.5%; right: 6%; bottom: auto; width: 48%; text-align: right; }
  .shot__quotes li:not(:first-child) { display: none; }
  .stars { font-size: 10px; letter-spacing: 3px; padding-left: 0; }
  .src { font-size: 8.5px; letter-spacing: .2em; margin: 8px 0 6px; }
  .shot__quotes q { font-size: 13px; }
  .shot__head { left: 6%; right: 6%; bottom: 80px; }
  .shot__cat { font-size: 9px; margin-bottom: 12px; }
  .shot__title { font-size: clamp(36px, 12vw, 58px); }
  .shot__meta { min-width: 0; }
  .shot__meta div { font-size: 9.5px; }
  .shot__cta { left: 0; right: 0; margin-inline: auto; width: max-content; bottom: 22px; }
  .shot--story .shot__award { display: none; }
  .shot--story .shot__ui { background: radial-gradient(95% 42% at 50% 16%, rgba(8, 6, 4, .74), rgba(8, 6, 4, 0) 100%); }
  .shot__story { top: 5%; left: 6%; right: 6%; bottom: auto; width: auto; gap: 0; }
  .shot__story p { font-size: 12.5px; line-height: 1.38; }
  .shot__story .src { font-size: 8.5px; letter-spacing: .2em; margin-bottom: 6px; }
  .shot__story--many li { padding: 6px 0; }
  .shot__story--many p { font-size: 11.5px; line-height: 1.28; }
  .tkt.list-on .tkt__list { max-height: 50vh; overflow-y: auto; }
  .shot__stats { gap: 10px; justify-content: flex-start; }
  .shot__stats li:not(:first-child) { display: block; }
  .shot__stats b { font-size: 19px; }
  .shot__stats .src { font-size: 7.5px; letter-spacing: .14em; margin-top: 4px; }
  .shot:has(.shot__story h3) .shot__meta { display: none; }
  .shot:has(.shot__story h3) .shot__ui { background: radial-gradient(120% 62% at 50% 24%, rgba(8, 6, 4, .82), rgba(8, 6, 4, 0) 100%); }
  .shot__story li:has(h3) .src { display: none; }
  .shot__story h3 { font-size: 12px; margin-bottom: 3px; }
  .shot__story--grid { column-gap: 14px; align-content: start; }
  .shot__story--grid p { font-size: 10.5px; }
  .shot__passes { gap: 8px; }
  .pass { padding: 10px 12px 11px; }
  .pass .pass__top, .pass .pass__lead { display: none; }
  .pass h3 { font-size: 15px; margin: 0 0 5px; }
  .pass .pass__spec { font-size: 10.5px; line-height: 1.3; }
  .pass__price { margin-top: 7px; padding-top: 7px; }
  .pass__price b { font-size: 18px; }
  .pass__price span { font-size: 9.5px; }
  .shot:has(.vs) .shot__meta { display: none; }
  .shot__vs .vs { flex: none; height: calc(var(--fh) - 265px); }
  .vs__case { display: grid; grid-template-rows: minmax(110px, 1fr) minmax(0, auto); }
  .vs__case img { height: 100%; }
  .vs__arr { width: 34px; height: 34px; }
  .vs__case figcaption { padding: 9px 10px 10px; overflow-y: auto; overscroll-behavior: contain; }
  .vs__who { margin-bottom: 5px; font-size: 6.5px; }
  .vs__who b { font-size: 13px; }
  .vs__case p { font-size: 10.5px; line-height: 1.3; }

  .toast { left: 12px; right: 12px; bottom: 28px; width: auto; margin-left: 0; padding: 4px 6px 4px 10px; border-radius: 8px; }
  .toast__pic { display: none; }
  .toast__row { align-items: center; padding: 0; }
  .toast__row p { min-height: 0; }

  .finale { justify-content: flex-end; gap: 14px; padding: 92px 12px 40px; }
  .credits { display: none; }
  .ticket { grid-template-columns: 1fr; grid-template-rows: auto 84px; }
  .ticket__main { grid-area: 1 / 1; grid-template-columns: 1fr; padding: 16px 16px 14px; min-height: 0; --tl: 10px; --tr: 10px; --bl: 15px; --br: 15px; }
  .ticket__photo { display: none; }
  .tk__top { font-size: 7px; letter-spacing: .14em; }
  .tk__title { font-size: 25px; margin: 16px 0; }
  .tk__prog li { grid-template-columns: 26px 92px 1fr; padding: 7px 0 6px; }
  .tk__prog b, .tk__prog span { font-size: 9px; }
  .tk__prog i { font-size: 11px; }
  .tk__foot { font-size: 7.5px; padding-top: 14px; }
  .ticket__stub { grid-area: 2 / 1; flex-direction: row; padding: 0 20px; border-left: 0; border-top: 2px dashed rgba(21, 18, 15, .38); --tl: 15px; --tr: 15px; --bl: 10px; --br: 10px; transform-origin: 100% 0; }
  .stub__txt { writing-mode: horizontal-tb; transform: none; font-size: 8.5px; letter-spacing: .2em; max-width: 92px; line-height: 1.3; }
  .stub__mark { font-size: 24px; }
  .stub__code { width: 64px; height: 30px; }
  .ticket__stub.is-torn { transform: translate(-20vw, 70vh) rotate(-24deg) !important; }
  .ticket__after { grid-area: 2 / 1; flex-direction: row; gap: 8px; }
  .after__k { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .toast__pic i, .toast__pic b, .snd.is-on .snd__bars i { animation: none; }
}

/* маленькие телефоны: списки ужимаются, чтобы не наезжать на заголовок */
@media (max-width: 760px) and (max-height: 700px) {
  .shot:has(.shot__story--many) .shot__meta { display: none; }
  .shot__story--many li { padding: 4px 0; }
  .shot__story--many p { font-size: 10.5px; line-height: 1.25; }
  .shot__story h3 { font-size: 11px; margin-bottom: 2px; }
  .shot__story--grid p { font-size: 9.5px; }
}
