/* ============================================================
   КИБЕРТЕАТР — v2 «кибер-брутализм»
   Шрифты: Tektur (заголовки), JetBrains Mono (всё остальное)
   ============================================================ */
:root {
  --bg: #050605;
  --bg-2: #0a0c09;
  --panel: #0c0f0b;
  --text: #e8efe2;
  --mute: #808b7b;
  --dim: #4a5247;
  --lime: #00d046;
  --lime-2: #009632;
  --lime-glow: rgba(0, 208, 70, .35);
  --cyan: #3bd6ff;
  --line: rgba(0, 208, 70, .16);
  --line-2: rgba(232, 239, 226, .09);
  --display: 'Tektur', 'Arial Narrow', Impact, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --gutter: clamp(16px, 3.4vw, 48px);
  --header-h: 68px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 15px/1.6 var(--mono); letter-spacing: -.01em;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p, dl, dd, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
::selection { background: var(--lime); color: #000; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1480px; margin: 0 auto; padding: 0 var(--gutter); }
.lime { color: var(--lime); }
.mute { color: var(--mute); }
.outline { color: transparent; -webkit-text-stroke: 1.5px var(--text); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--lime); color: #000; padding: 10px 14px; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* ---------- фоновые слои ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }

.scroll-rail { position: fixed; right: 0; top: 0; bottom: 0; width: 2px; z-index: 80; background: var(--line-2); }
.scroll-rail span { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: var(--lime); transform-origin: top; transform: scaleY(0); box-shadow: 0 0 10px var(--lime-glow); }

/* ---------- кастомный курсор ---------- */
.cursor { display: none; }
@media (pointer: fine) {
  html.js.has-cursor, html.js.has-cursor * { cursor: none !important; }
  html.js.has-cursor .cursor {
    display: block; position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none;
    width: 28px; height: 28px; margin: -14px 0 0 -14px; transition: width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease);
    border: 1px solid var(--lime); mix-blend-mode: difference;
  }
  .cursor-x, .cursor-y { position: absolute; background: var(--lime); }
  .cursor-x { left: 50%; top: -8px; width: 1px; height: calc(100% + 16px); }
  .cursor-y { top: 50%; left: -8px; height: 1px; width: calc(100% + 16px); }
  .cursor-label { position: absolute; left: calc(100% + 10px); top: 100%; white-space: nowrap; font: 600 10px/1 var(--mono); letter-spacing: .12em; color: var(--lime); opacity: 0; transition: opacity .2s; }
  .cursor.is-hover { width: 54px; height: 54px; margin: -27px 0 0 -27px; }
  .cursor.is-hover .cursor-label { opacity: 1; }
}

/* ---------- загрузка ---------- */
.boot { display: none; }
html.js .boot {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 500; background: var(--bg);
  transition: opacity .5s ease, visibility .5s;
}
html.booted .boot { opacity: 0; visibility: hidden; pointer-events: none; }
.boot-inner { width: min(520px, 86vw); font: 500 12px/1.9 var(--mono); color: var(--mute); letter-spacing: .04em; }
.boot-lines p { opacity: 0; animation: bootLine .01s forwards; white-space: nowrap; overflow: hidden; }
.boot-lines p:nth-child(1) { animation-delay: .05s; color: var(--text); }
.boot-lines p:nth-child(2) { animation-delay: .3s; }
.boot-lines p:nth-child(3) { animation-delay: .6s; }
.boot-lines p:nth-child(4) { animation-delay: .85s; }
.boot-lines b { color: var(--lime); font-weight: 600; }
@keyframes bootLine { to { opacity: 1; } }
.boot-dots::after { content: ''; animation: dots 1s steps(4) infinite; }
@keyframes dots { 0%{content:''} 25%{content:'.'} 50%{content:'..'} 75%{content:'...'} }
.boot-bar { margin-top: 18px; height: 3px; background: var(--line-2); overflow: hidden; }
.boot-bar span { display: block; height: 100%; width: 0; background: var(--lime); box-shadow: 0 0 12px var(--lime); transition: width .15s linear; }
.boot-foot { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11px; }
.boot-pct { color: var(--lime); }

/* ---------- кнопки ---------- */
.btn {
  --cut: 12px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 26px; font: 700 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  transition: background .25s, color .25s, transform .25s var(--ease);
  isolation: isolate; overflow: hidden; white-space: nowrap;
}
.btn span[aria-hidden] { transition: transform .3s var(--ease); }
.btn:hover span[aria-hidden] { transform: translate(3px, -3px); }
.btn-lime { background: var(--lime); color: #050605; }
.btn-lime::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.65) 50%, transparent 70%); transform: translateX(-120%); transition: transform .6s var(--ease); }
.btn-lime:hover::before { transform: translateX(120%); }
.btn-lime:hover { box-shadow: 0 0 30px var(--lime-glow); }
.btn-ghost { color: var(--text); background: rgba(232,239,226,.04); box-shadow: inset 0 0 0 1px rgba(232,239,226,.22); }
.btn-ghost:hover { background: rgba(0,208,70,.08); box-shadow: inset 0 0 0 1px var(--lime); color: var(--lime); }
.btn-line { color: var(--lime); box-shadow: inset 0 0 0 1px var(--line); background: transparent; }
.btn-line:hover { background: var(--lime); color: #000; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 12px; --cut: 9px; }
.play { width: 26px; height: 26px; border: 1px solid currentColor; border-radius: 50%; position: relative; flex: none; }
.play::after { content: ''; position: absolute; left: 10px; top: 7px; border-left: 8px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }

/* ---------- шапка ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center; gap: 28px; padding: 0 var(--gutter);
  background: rgba(5,6,5,.55); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--line-2);
  transition: transform .4s var(--ease), background .3s;
}
.header.is-hidden { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--lime); }
.brand-mark { width: 30px; height: 30px; transition: transform .6s var(--ease); }
.brand:hover .brand-mark { transform: rotate(90deg); }
.brand-text { font: 700 19px/1 var(--display); letter-spacing: .02em; color: var(--text); display: flex; flex-direction: column; gap: 4px; }
.brand-text small { font: 500 8.5px/1 var(--mono); letter-spacing: .28em; color: var(--mute); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); display: flex; gap: 6px; padding: 8px 0; position: relative; transition: color .2s; }
.nav a i { font-style: normal; color: var(--lime); font-size: 9px; opacity: .8; }
.nav a::after { content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--lime); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav a:hover, .nav a.is-active { color: var(--text); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.header-sys { display: flex; flex-direction: column; font: 500 9px/1.25 var(--mono); letter-spacing: .14em; color: var(--mute); padding-left: 22px; border-left: 1px solid var(--line-2); }
.header-sys b { color: var(--lime); font-weight: 600; font-size: 12px; letter-spacing: .06em; }
.menu-toggle { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; box-shadow: inset 0 0 0 1px var(--line-2); }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--lime); transition: transform .3s var(--ease), top .3s; }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-nav { position: fixed; z-index: 99; top: var(--header-h); left: 0; right: 0; background: rgba(5,6,5,.97); border-bottom: 1px solid var(--line); padding: 10px var(--gutter) 24px; display: grid; }
.mobile-nav[hidden] { display: none; }
.mobile-nav a { font: 700 26px/1 var(--display); text-transform: uppercase; padding: 16px 0; border-bottom: 1px solid var(--line-2); display: flex; gap: 14px; align-items: baseline; }
.mobile-nav a i { font: 500 11px var(--mono); color: var(--lime); font-style: normal; }

/* ---------- общие секции ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.sec-head { display: flex; align-items: center; gap: 16px; margin-bottom: clamp(32px, 4vw, 56px); font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.sec-num { color: var(--lime); font-weight: 700; }
.sec-label { color: var(--text); font-size: 12px; font-weight: 500; letter-spacing: .14em; font-family: var(--mono); }
.sec-line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); position: relative; }
.sec-line::after { content: '+'; position: absolute; right: 0; top: -9px; color: var(--dim); font-size: 14px; }
.kicker { display: flex; align-items: center; gap: 10px; font: 500 11.5px/1.3 var(--mono); letter-spacing: .16em; color: var(--mute); text-transform: uppercase; }
.dot { width: 8px; height: 8px; background: var(--lime); flex: none; box-shadow: 0 0 10px var(--lime); animation: blink 1.6s steps(2) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.caret { color: var(--lime); animation: blink 1s steps(2) infinite; margin-left: 2px; }

.h-xl, .h-mega { font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: .92; letter-spacing: -.02em; }
.h-xl { font-size: clamp(40px, 6.6vw, 104px); }
.h-mega { font-size: clamp(52px, 9.6vw, 168px); line-height: .88; }
.big-head { display: grid; grid-template-columns: 1fr minmax(240px, 360px); gap: 40px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.big-head p { color: var(--mute); font-size: 14px; border-left: 2px solid var(--lime); padding-left: 16px; }

/* уголки-скобки */
.br { position: absolute; width: 16px; height: 16px; border-color: var(--lime); border-style: solid; border-width: 0; pointer-events: none; z-index: 3; }
.br-tl { left: 0; top: 0; border-left-width: 2px; border-top-width: 2px; }
.br-tr { right: 0; top: 0; border-right-width: 2px; border-top-width: 2px; }
.br-bl { left: 0; bottom: 0; border-left-width: 2px; border-bottom-width: 2px; }
.br-br { right: 0; bottom: 0; border-right-width: 2px; border-bottom-width: 2px; }

/* появление */
html.js .reveal { opacity: 0; transform: translateY(36px); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: var(--d, 0s); }
html.js .reveal.is-in { opacity: 1; transform: none; filter: none; }

/* глитч */
.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; inset: 0; pointer-events: none; opacity: 0; }
.glitch::before { color: var(--cyan); transform: translate(-3px, 0); clip-path: inset(0 0 60% 0); mix-blend-mode: screen; }
.glitch::after { color: #ff2e6a; transform: translate(3px, 0); clip-path: inset(55% 0 0 0); mix-blend-mode: screen; }
.glitch.is-glitching::before { opacity: .9; animation: glA .35s steps(3) 1; }
.glitch.is-glitching::after { opacity: .9; animation: glB .35s steps(3) 1; }
@keyframes glA { 0%{clip-path:inset(10% 0 70% 0);transform:translate(-6px,-2px)} 33%{clip-path:inset(50% 0 20% 0);transform:translate(5px,1px)} 66%{clip-path:inset(80% 0 5% 0);transform:translate(-3px,2px)} 100%{clip-path:inset(30% 0 50% 0);transform:translate(2px,0)} }
@keyframes glB { 0%{clip-path:inset(60% 0 10% 0);transform:translate(6px,1px)} 33%{clip-path:inset(5% 0 80% 0);transform:translate(-5px,-1px)} 66%{clip-path:inset(40% 0 40% 0);transform:translate(4px,2px)} 100%{clip-path:inset(70% 0 0 0);transform:translate(-2px,0)} }

/* ============================================================
   ПЕРВЫЙ ЭКРАН
   ============================================================ */
.hero {
  position: relative; min-height: max(720px, 100svh); padding: calc(var(--header-h) + 40px) var(--gutter) 0;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); grid-template-rows: 1fr auto; gap: 0 32px;
  overflow: hidden; border-bottom: 1px solid var(--line-2);
}
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 88px 88px; background-position: center top;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 45%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 45%, #000 20%, transparent 80%);
}
.hero::after { /* лаймовое свечение за маской */
  content: ''; position: absolute; right: 8%; top: 18%; width: 46vw; height: 46vw; max-width: 720px; max-height: 720px; pointer-events: none;
  background: radial-gradient(circle, rgba(59,214,255,.13), rgba(0,208,70,.05) 40%, transparent 68%); filter: blur(10px);
}
.hero-vertical { position: absolute; left: 10px; top: 50%; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; font: 500 9.5px/1 var(--mono); letter-spacing: .32em; color: var(--dim); }

.hero-content { position: relative; z-index: 2; align-self: center; padding: 20px 0 40px 18px; grid-column: 1; grid-row: 1; }
.hero-title { font-family: var(--display); font-weight: 900; font-stretch: 100%; text-transform: uppercase; font-size: clamp(64px, 11.4vw, 196px); line-height: .84; letter-spacing: -.035em; margin: 26px 0 18px; position: relative; }
.hero-title .glitch { display: block; }
.hero-title .line2 { color: var(--lime); text-shadow: 0 0 40px rgba(0,208,70,.25); }
.hero-title sup { position: absolute; top: 8px; right: 0; font: 600 13px/1 var(--mono); letter-spacing: .1em; color: var(--lime); }
.hero-tagline { font: 700 clamp(14px, 1.45vw, 20px)/1.3 var(--mono); letter-spacing: .2em; color: var(--text); margin-bottom: 18px; }
.hero-lead { color: var(--mute); max-width: 470px; font-size: 15px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-stage { position: relative; z-index: 1; align-self: stretch; min-height: 520px; margin: 0 0 24px; grid-column: 2; grid-row: 1; }
.mask-gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.mask-fallback { position: absolute; inset: 8% 14%; width: 72%; height: 84%; object-fit: contain; opacity: 0; transition: opacity .6s; mix-blend-mode: screen; }
.no-webgl .mask-fallback { opacity: .85; }
.hud { position: absolute; inset: 0; pointer-events: none; font: 500 11px/1.5 var(--mono); letter-spacing: .1em; color: var(--mute); }
.hud .br { width: 22px; height: 22px; border-color: rgba(0,208,70,.55); }
.hud-tl { position: absolute; left: 18px; top: 16px; display: flex; flex-direction: column; }
.hud-tl b { color: var(--lime); font-size: 22px; font-family: var(--display); letter-spacing: 0; }
.hud-tr { position: absolute; right: 18px; top: 16px; color: var(--lime); }
.hud-globe { width: 36px; height: 36px; animation: spin 12s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hud-coords { position: absolute; right: 18px; bottom: 56px; padding: 10px 12px; border: 1px solid var(--line); background: rgba(5,6,5,.5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.hud-coords p { display: flex; gap: 10px; justify-content: space-between; }
.hud-coords b { color: var(--lime); font-weight: 500; min-width: 7ch; text-align: right; }
.hud-bl { position: absolute; left: 18px; bottom: 16px; display: flex; flex-direction: column; }
.hud-bl b { color: var(--text); font-weight: 500; }
.hud-br { position: absolute; right: 18px; bottom: 16px; color: var(--text); }
.hud-scan { position: absolute; left: 6%; right: 6%; height: 1px; top: 0; background: linear-gradient(90deg, transparent, var(--lime), transparent); opacity: .5; animation: scan 5.5s cubic-bezier(.45,0,.55,1) infinite; box-shadow: 0 0 12px var(--lime); }
@keyframes scan { 0% { top: 8%; } 50% { top: 92%; } 100% { top: 8%; } }

.hero-data { grid-column: 1 / -1; position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); margin: 0 calc(var(--gutter) * -1); }
.hero-data div { padding: 20px var(--gutter); border-right: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 6px; }
.hero-data div:last-child { border-right: 0; }
.hero-data dt { font: 500 10px/1 var(--mono); letter-spacing: .2em; color: var(--mute); }
.hero-data dd { font: 700 clamp(15px, 1.5vw, 21px)/1.1 var(--display); letter-spacing: .02em; }
.hero-data div:first-child dd { color: var(--lime); }

/* ============================================================
   ЛЕНТЫ
   ============================================================ */
.tapes { position: relative; height: 150px; overflow: hidden; margin: -10px 0; z-index: 3; }
.tape { position: absolute; left: -5%; width: 110%; overflow: hidden; padding: 14px 0; }
.tape-a { top: 34px; background: var(--lime); color: #050605; transform: rotate(-2.2deg); z-index: 2; box-shadow: 0 10px 40px rgba(0,208,70,.18); }
.tape-b { top: 52px; background: #0d100c; color: var(--lime); transform: rotate(2.4deg); border-block: 1px solid var(--line); }
.tape-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.tape-b .tape-track { animation-direction: reverse; animation-duration: 46s; }
.tape span { font: 800 clamp(18px, 2.2vw, 30px)/1 var(--display); letter-spacing: .02em; white-space: nowrap; padding-right: 0; }
.tape-b span { font: 600 clamp(13px, 1.2vw, 16px)/1.6 var(--mono); letter-spacing: .18em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   ПРИНЦИПЫ
   ============================================================ */
.principles { padding-top: clamp(70px, 8vw, 110px); padding-bottom: 0; }
.principle-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line-2); }
.principle { position: relative; padding: 30px 26px 34px; border-right: 1px solid var(--line-2); min-height: 280px; display: flex; flex-direction: column; transition: background .4s; overflow: hidden; }
.principle:last-child { border-right: 0; }
.principle::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(0,208,70,.10), transparent 60%); opacity: 0; transition: opacity .4s; }
.principle:hover::before { opacity: 1; }
.principle svg { width: 58px; height: 58px; color: var(--lime); margin-bottom: auto; }
.principle .p-num { font: 600 11px var(--mono); color: var(--mute); letter-spacing: .14em; margin-top: 40px; }
.principle h3 { font: 700 21px/1.1 var(--display); text-transform: uppercase; margin: 8px 0 10px; }
.principle p { color: var(--mute); font-size: 13.5px; line-height: 1.55; }
.draw path, .draw circle { stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 2.2s var(--ease) .2s; }
html:not(.js) .draw path, html:not(.js) .draw circle, .is-in .draw path, .is-in .draw circle { stroke-dashoffset: 0; }
.draw circle[stroke-dasharray="3 4"] { stroke-dasharray: 3 4; stroke-dashoffset: 0; }

/* ============================================================
   АФИША
   ============================================================ */
.show-grid { display: grid; grid-template-columns: 1fr; gap: clamp(24px, 3vw, 44px); }
.show { position: relative; background: var(--panel); border: 1px solid var(--line-2); display: grid; grid-template-columns: 1.05fr .95fr; transition: border-color .4s; }
.show:hover { border-color: var(--line); }
.show-media { position: relative; min-height: 540px; overflow: hidden; background: #000; }
.show-toys .show-media { order: 2; }
.show-media .br { width: 20px; height: 20px; margin: 12px; }
.slideshow img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1s ease, transform 6s linear, filter .4s; }
.slideshow img.is-on { opacity: 1; transform: scale(1); }
.slideshow.is-glitch img.is-on { animation: imgGlitch .35s steps(4) 1; }
@keyframes imgGlitch { 0%{clip-path:inset(0 0 70% 0);transform:translateX(-8px)} 25%{clip-path:inset(40% 0 30% 0);transform:translateX(8px)} 50%{clip-path:inset(80% 0 0 0);transform:translateX(-4px)} 75%{clip-path:inset(10% 0 50% 0);transform:translateX(4px)} 100%{clip-path:inset(0);transform:none} }
.show-media::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 1px, transparent 1px 3px), linear-gradient(180deg, transparent 55%, rgba(5,6,5,.75)); }
.media-tag { position: absolute; z-index: 4; font: 600 10.5px/1 var(--mono); letter-spacing: .14em; padding: 7px 9px; background: rgba(5,6,5,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: flex; gap: 6px; align-items: center; }
.media-tag-tl { left: 22px; top: 22px; }
.media-tag-tr { right: 22px; top: 22px; color: var(--lime); }
.media-tag-bl { left: 22px; bottom: 22px; background: var(--lime); color: #000; font-weight: 800; }
.rec { width: 7px; height: 7px; border-radius: 50%; background: #ff2e4d; box-shadow: 0 0 8px #ff2e4d; animation: blink 1.2s steps(2) infinite; }

/* X-МАКС: главная карточка с афишей во весь рост */
.show-xmax { border-color: var(--line); background: linear-gradient(120deg, #0b0f0a 0%, #070907 60%), var(--panel); box-shadow: 0 40px 120px rgba(0,0,0,.45); }
.show-xmax .show-media { min-height: 780px; padding: 56px 40px; }
.show-xmax .show-media::after { background: linear-gradient(180deg, rgba(5,6,5,.35), transparent 25%, transparent 75%, rgba(5,6,5,.55)); }
.poster-stage { display: grid; place-items: center; perspective: 1200px; background: #030403; }
.poster-bg { position: absolute; inset: -12%; width: 124%; height: 124%; object-fit: cover; filter: blur(46px) saturate(1.5) brightness(.5); transform: scale(1.1); }
.poster-stage::before { content: ''; position: absolute; inset: 0; z-index: 1; background-image: linear-gradient(rgba(232,239,226,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(232,239,226,.06) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(circle at 50% 50%, transparent 30%, #000 75%); -webkit-mask-image: radial-gradient(circle at 50% 50%, transparent 30%, #000 75%); }
.poster-ring { position: absolute; z-index: 1; left: 50%; top: 50%; width: min(620px, 92%); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 1px dashed rgba(0,208,70,.35); box-shadow: 0 0 120px rgba(59,214,255,.25), inset 0 0 80px rgba(0,208,70,.08); animation: spin 40s linear infinite; }
.poster-ring::after { content: ''; position: absolute; inset: 7%; border-radius: 50%; border: 1px solid rgba(59,214,255,.25); }
.poster-tilt { position: relative; z-index: 2; width: min(450px, 82%); aspect-ratio: 855 / 1280; transform-style: preserve-3d; transition: transform .5s var(--ease); box-shadow: 0 40px 90px rgba(0,0,0,.75), 0 0 0 1px rgba(0,208,70,.55), 0 0 70px rgba(59,214,255,.3); }
.poster-tilt img { width: 100%; height: 100%; object-fit: cover; }
.show-xmax .show-body { padding: clamp(30px, 4.4vw, 72px); justify-content: center; }
.xmax-title { display: block; font: 900 clamp(72px, 9vw, 150px)/.86 var(--display) !important; letter-spacing: -.04em !important; color: var(--lime); text-shadow: 0 0 50px rgba(0,208,70,.3); margin-top: 22px; }
.show-xmax .show-sub { font-size: clamp(14px, 1.4vw, 19px); margin-top: 14px; color: var(--text); }
.show-xmax .show-desc { font-size: 15px; color: #a9b3a4; }
.badge { font: 700 10.5px/1.3 var(--mono); letter-spacing: .16em; padding: 8px 10px; border: 1px solid var(--line); color: var(--lime); align-self: center; }
.poster-glare { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,.28), transparent 50%); mix-blend-mode: overlay; opacity: 0; transition: opacity .4s; }
.poster-stage:hover .poster-glare { opacity: 1; }

.show-body { padding: clamp(22px, 2.4vw, 34px); display: flex; flex-direction: column; flex: 1; }
.show-title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.show h3 { font: 800 clamp(40px, 4.6vw, 72px)/.9 var(--display); text-transform: uppercase; letter-spacing: -.02em; }
.show-idx { font: 800 clamp(32px, 3.6vw, 54px)/.92 var(--display); color: transparent; -webkit-text-stroke: 1px var(--dim); }
.show-sub { font: 700 13px/1 var(--mono); letter-spacing: .2em; color: var(--lime); margin-top: 12px; }
.show-desc { color: var(--mute); margin: 18px 0 22px; font-size: 14px; max-width: 520px; }
.spec { border-top: 1px solid var(--line-2); margin-bottom: 26px; }
.spec div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line-2); font-size: 13px; }
.spec dt { font: 500 10.5px/1.7 var(--mono); letter-spacing: .16em; color: var(--mute); }
.spec dd { color: var(--text); }
.spec dd.lime { color: var(--lime); font-weight: 700; }
.show-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 12px; }

/* ============================================================
   ВНУТРИ ИСТОРИИ
   ============================================================ */
.inside { position: relative; overflow: hidden; padding: clamp(90px, 12vw, 170px) 0 clamp(60px, 7vw, 100px); border-block: 1px solid var(--line-2); }
.inside-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.inside-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,6,5,.92) 0%, rgba(5,6,5,.55) 50%, rgba(5,6,5,.85) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 30%, transparent 75%, var(--bg) 100%); }
.scanlines { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0,0,0,.28) 0 1px, transparent 1px 4px); }
.inside-inner { position: relative; z-index: 2; }
.inside-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: end; }
.inside-copy { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; padding-bottom: 12px; }
.inside-copy p { font-size: clamp(15px, 1.3vw, 18px); color: var(--text); max-width: 420px; }

.frames { position: relative; z-index: 2; margin-top: clamp(70px, 8vw, 120px); }
.frames-head { display: flex; justify-content: space-between; font: 600 11px var(--mono); letter-spacing: .16em; margin-bottom: 18px; }
.frames-track { display: grid; grid-template-columns: 1.35fr 1.35fr 1fr 1fr; gap: 14px; padding: 0 var(--gutter); max-width: 1480px; margin: 0 auto; }
.frame { position: relative; height: clamp(170px, 17vw, 250px); overflow: hidden; background: #000; border: 1px solid var(--line-2); }
.frame img, .frame video { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) brightness(.85); transition: transform .8s var(--ease), filter .4s; }
.frame:hover img, .frame:hover video { transform: scale(1.06); filter: saturate(1.15) brightness(1); }
.frame figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; font: 500 10px/1.3 var(--mono); letter-spacing: .14em; background: linear-gradient(transparent, rgba(0,0,0,.85)); }
.frame figcaption b { color: var(--lime); margin-right: 6px; }

/* ============================================================
   РАСПИСАНИЕ
   ============================================================ */
.schedule { background:
  radial-gradient(ellipse 60% 50% at 85% 20%, rgba(0,208,70,.06), transparent 70%); }
.sched-layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.terminal { border: 1px solid var(--line); background: rgba(10,12,9,.85); box-shadow: 0 0 0 1px rgba(0,0,0,.5), 0 30px 80px rgba(0,0,0,.4); }
.term-bar { display: flex; align-items: center; gap: 16px; padding: 12px 18px; border-bottom: 1px solid var(--line-2); font: 500 11px var(--mono); letter-spacing: .1em; }
.term-bar .mute { margin-left: auto; }
.lights { display: flex; gap: 6px; }
.lights i { width: 9px; height: 9px; border-radius: 50%; background: var(--dim); }
.lights i:first-child { background: var(--lime); box-shadow: 0 0 8px var(--lime); }
.term-filters { display: flex; flex-wrap: wrap; gap: 6px; padding: 16px 18px; border-bottom: 1px dashed var(--line-2); }
.chip { font: 600 11.5px/1 var(--mono); letter-spacing: .08em; padding: 10px 12px; color: var(--mute); transition: color .2s, background .2s; }
.chip:hover { color: var(--text); }
.chip.is-on { background: var(--lime); color: #000; }
.row { display: grid; grid-template-columns: auto 1fr auto auto; gap: 26px; align-items: center; padding: 22px 18px; border-bottom: 1px solid var(--line-2); position: relative; transition: background .3s; }
.row:last-child { border-bottom: 0; }
.row::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--lime); transform: scaleY(0); transition: transform .3s var(--ease); }
.row:hover { background: rgba(0,208,70,.04); }
.row:hover::before { transform: scaleY(1); }
.row[hidden] { display: none; }
.row time { font: 800 clamp(34px, 3.8vw, 54px)/1 var(--display); letter-spacing: -.02em; color: var(--lime); min-width: 3.2ch; }
.row-title h3 { font: 700 clamp(17px, 1.6vw, 22px)/1.15 var(--display); text-transform: uppercase; }
.row-title p { color: var(--mute); font-size: 12.5px; margin-top: 4px; }
.age { font: 700 12px/1 var(--mono); padding: 8px 10px; border: 1px solid var(--line-2); color: var(--text); letter-spacing: .06em; }
.term-note { padding: 16px 18px; border-top: 1px dashed var(--line-2); color: var(--mute); font-size: 12.5px; }

.status { border: 1px solid var(--line-2); padding: 22px; background: rgba(10,12,9,.6); position: sticky; top: calc(var(--header-h) + 24px); }
.status-head { display: flex; align-items: center; gap: 10px; font: 700 12px var(--mono); letter-spacing: .16em; margin-bottom: 18px; }
.status li { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; padding: 12px 0; border-bottom: 1px dashed var(--line-2); font-size: 11px; letter-spacing: .12em; }
.status li span { color: var(--mute); }
.status li b { color: var(--lime); font-weight: 600; text-align: right; }
.status li i { grid-column: 1 / -1; grid-row: 2; height: 6px; background: repeating-linear-gradient(90deg, var(--lime) 0 6px, transparent 6px 8px); clip-path: inset(0 calc(100% - var(--v) * 100%) 0 0); position: relative; opacity: .85; transition: clip-path 1.6s var(--ease); }
html.js .status:not(.is-in) li i { clip-path: inset(0 100% 0 0); }
.status-foot { margin-top: 18px; font-size: 12px; letter-spacing: .1em; }

/* ============================================================
   СТУДИЯ
   ============================================================ */
.studio { border-top: 1px solid var(--line-2); }
.studio-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 80px); align-items: center; margin-bottom: clamp(50px, 6vw, 90px); }
.studio-grid .kicker { margin-bottom: 22px; }
.studio-copy .h-xl { font-size: clamp(36px, 4.8vw, 76px); margin-bottom: 30px; }
.studio-copy h3 { font: 700 22px/1.2 var(--display); text-transform: uppercase; margin-bottom: 16px; color: var(--lime); }

/* логотип LazerDance — крупно */
.ld-logo { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: #0b2a1d; box-shadow: 0 0 0 1px var(--line), 0 40px 100px rgba(0,0,0,.5), 0 0 90px rgba(0,208,70,.18); }
.ld-logo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease), filter .6s; filter: saturate(1.05) brightness(.92); }
.ld-logo:hover img { transform: scale(1.1); filter: saturate(1.2) brightness(1.05); }
.ld-logo::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0,0,0,.14) 0 1px, transparent 1px 3px), radial-gradient(circle at 50% 45%, transparent 45%, rgba(3,10,6,.65) 100%); }
.ld-logo .br { width: 22px; height: 22px; margin: 14px; z-index: 4; }
.ld-scan { position: absolute; left: 0; right: 0; height: 2px; top: 0; z-index: 3; background: linear-gradient(90deg, transparent, var(--lime), transparent); box-shadow: 0 0 16px var(--lime); opacity: .7; animation: scan 6s cubic-bezier(.45,0,.55,1) infinite; }

/* «цифровые буквы» (letters.js) */
[data-letters] { position: relative; }
.dl-canvas { position: absolute; z-index: 1; pointer-events: none; max-width: none; image-rendering: pixelated; image-rendering: crisp-edges; }
.hero-title.is-data .glitch { color: transparent; text-shadow: none; }
.hero-title.is-data .glitch:not(.is-glitching)::before, .hero-title.is-data .glitch:not(.is-glitching)::after { opacity: 0; }
.hero-title.is-data { filter: drop-shadow(0 0 18px rgba(0,208,70,.28)); }
.wordmark.is-data { color: transparent; -webkit-text-stroke: 0; background: none; filter: drop-shadow(0 0 22px rgba(0,208,70,.22)); }

/* официальный логотип в подвале: чёрный фон растворяется */
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 0 auto 34px; width: max-content; max-width: 100%; color: var(--mute); font: 600 11px/1.5 var(--mono); letter-spacing: .16em; transition: color .3s; }
.footer-brand img { width: 92px; height: 92px; mix-blend-mode: screen; filter: hue-rotate(10deg) saturate(1.1); transition: transform .5s var(--ease), filter .4s; }
.footer-brand b { color: var(--text); font-size: 15px; letter-spacing: .1em; }
.footer-brand:hover { color: var(--lime); }
.footer-brand:hover img { transform: rotate(-6deg) scale(1.06); filter: hue-rotate(10deg) saturate(1.3) drop-shadow(0 0 16px rgba(0,208,70,.5)); }
.studio-copy p { color: var(--mute); margin-bottom: 14px; font-size: 14.5px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tags li { font: 600 10.5px/1 var(--mono); letter-spacing: .14em; padding: 9px 11px; border: 1px solid var(--line); color: var(--text); transition: background .2s, color .2s; }
.tags li:hover { background: var(--lime); color: #000; }

.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.card { position: relative; border: 1px solid var(--line-2); background: var(--panel); padding: 20px 20px 18px; min-height: 260px; display: flex; flex-direction: column; overflow: hidden; transition: border-color .3s, transform .5s var(--ease); }
.card::after { content: ''; position: absolute; left: 0; right: 0; top: -40%; height: 40%; background: linear-gradient(transparent, rgba(0,208,70,.08), transparent); transition: top 1s var(--ease); pointer-events: none; }
.card:hover { border-color: var(--line); transform: translateY(-4px); }
.card:hover::after { top: 110%; }
.card-top { display: flex; justify-content: space-between; font: 600 10px var(--mono); letter-spacing: .16em; color: var(--mute); margin-bottom: auto; }
.card-top span:first-child { color: var(--lime); }
.card h3 { font: 800 clamp(22px, 2.1vw, 30px)/.98 var(--display); text-transform: uppercase; margin-top: 50px; }
.card p { color: var(--mute); font-size: 12.5px; margin-top: 10px; min-height: 2.6em; }
.barcode { height: 22px; margin-top: 18px; opacity: .5; background: repeating-linear-gradient(90deg, var(--text) 0 1px, transparent 1px 3px, var(--text) 3px 5px, transparent 5px 6px, var(--text) 6px 7px, transparent 7px 11px); }
.card-lime { background: var(--lime); color: #050605; border-color: var(--lime); }
.card-lime .card-top, .card-lime .card-top span:first-child, .card-lime p { color: rgba(5,6,5,.7); }
.card-lime .barcode { background: repeating-linear-gradient(90deg, #050605 0 1px, transparent 1px 3px, #050605 3px 5px, transparent 5px 6px, #050605 6px 7px, transparent 7px 11px); }

/* ============================================================
   ВОПРОСЫ
   ============================================================ */
.faq { border-top: 1px solid var(--line-2); }
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 6vw, 100px); align-items: start; }
.qa { border-top: 1px solid var(--line-2); }
.qa details { border-bottom: 1px solid var(--line-2); }
.qa summary { list-style: none; display: grid; grid-template-columns: 54px 1fr 24px; gap: 12px; align-items: center; padding: 24px 0; cursor: pointer; font: 700 clamp(16px, 1.5vw, 20px)/1.25 var(--display); text-transform: uppercase; transition: color .2s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--lime); }
.q-n { font: 600 10.5px var(--mono); color: var(--lime); letter-spacing: .1em; }
.qa summary i { width: 18px; height: 18px; position: relative; justify-self: end; }
.qa summary i::before, .qa summary i::after { content: ''; position: absolute; left: 0; top: 8px; width: 18px; height: 2px; background: var(--lime); transition: transform .3s var(--ease); }
.qa summary i::after { transform: rotate(90deg); }
.qa details[open] summary i::after { transform: rotate(0); }
.qa details p { padding: 0 36px 26px 66px; color: var(--mute); font-size: 14px; }

/* ============================================================
   ТОЧКА ВСТРЕЧИ
   ============================================================ */
.visit { position: relative; overflow: hidden; padding: clamp(90px, 12vw, 170px) 0; border-top: 1px solid var(--line-2); }
.visit-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.visit-shade { position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(5,6,5,.6) 35%, rgba(5,6,5,.7) 70%, var(--bg) 100%), linear-gradient(90deg, rgba(5,6,5,.85), transparent 70%); }
.visit-inner { position: relative; z-index: 2; }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; margin-top: clamp(40px, 5vw, 70px); align-items: end; }
.loc { display: flex; gap: 18px; align-items: center; }
.metro { width: 64px; height: 64px; display: grid; place-items: center; flex: none; font: 900 34px/1 var(--display); color: #000; background: var(--lime); clip-path: polygon(0 0, 78% 0, 100% 22%, 100% 100%, 22% 100%, 0 78%); }
.loc p { color: var(--mute); font-size: 13px; }
.loc b { font: 700 clamp(17px, 1.6vw, 22px)/1.2 var(--display); text-transform: uppercase; }
.visit-data div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line-2); font-size: 13px; }
.visit-data dt { font-size: 10.5px; letter-spacing: .16em; color: var(--mute); }
.visit-cta { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.visit-cta p { color: var(--text); font-size: 15px; }

/* ============================================================
   ПОДВАЛ
   ============================================================ */
.footer { border-top: 1px solid var(--line-2); padding-bottom: 28px; overflow: hidden; }
.hazard { position: relative; height: 46px; background: repeating-linear-gradient(-45deg, var(--lime) 0 16px, #050605 16px 32px); display: flex; align-items: center; justify-content: center; }
.hazard span { background: #050605; color: var(--lime); font: 700 12px/1 var(--mono); letter-spacing: .24em; padding: 10px 18px; border: 1px solid var(--lime); }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 56px 0 20px; }
.footer-cols div { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--mute); }
.footer-cols a:hover { color: var(--lime); }
.f-h { font: 700 10.5px var(--mono); letter-spacing: .2em; color: var(--text); margin-bottom: 8px; }
.wordmark { font: 900 clamp(48px, 15.6vw, 240px)/.8 var(--display); letter-spacing: -.045em; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(0,208,70,.45); margin: 30px 0 30px; user-select: none; white-space: nowrap; background: linear-gradient(180deg, rgba(0,208,70,.22), transparent 85%); -webkit-background-clip: text; background-clip: text; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font: 500 11px var(--mono); letter-spacing: .14em; color: var(--mute); border-top: 1px solid var(--line-2); padding-top: 20px; }
.footer-bottom a:hover { color: var(--lime); }

/* ============================================================
   ДИАЛОГИ
   ============================================================ */
.dlg { position: fixed; border: 1px solid var(--line); background: #0a0c09; color: var(--text); padding: 36px; width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; }
.dlg::backdrop { background: rgba(0,0,0,.78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.dlg[open] { animation: dlgIn .45s var(--ease); }
@keyframes dlgIn { from { opacity: 0; transform: translateY(20px) scale(.98); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0); } }
.dlg .br { margin: -1px; }
.dlg-close { position: absolute; right: 14px; top: 12px; width: 40px; height: 40px; color: var(--mute); font-size: 18px; transition: color .2s; }
.dlg-close:hover { color: var(--lime); }
.dlg h2 { font: 800 clamp(34px, 5vw, 48px)/.95 var(--display); text-transform: uppercase; margin: 16px 0 10px; }
.dlg-session { color: var(--lime); font-size: 13px; letter-spacing: .06em; margin-bottom: 24px; }
.dlg-msg { display: flex; gap: 16px; padding: 18px; border: 1px dashed var(--line); margin-bottom: 26px; }
.dlg-msg > span { width: 34px; height: 34px; flex: none; display: grid; place-items: center; background: var(--lime); color: #000; font: 900 18px var(--display); }
.dlg-msg h3 { font: 700 15px/1.3 var(--display); text-transform: uppercase; margin-bottom: 4px; }
.dlg-msg p { color: var(--mute); font-size: 13px; }
.dlg-video { width: min(1100px, calc(100vw - 32px)); padding: 18px; }
.dlg-video-head { display: flex; justify-content: space-between; gap: 16px; font: 600 11px var(--mono); letter-spacing: .14em; padding: 4px 50px 14px 2px; }
.dlg-video video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
body.dialog-open { overflow: hidden; }

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 1180px) {
  .header-sys { display: none; }
  .nav { gap: 18px; }
  .principle-grid { grid-template-columns: repeat(2, 1fr); }
  .principle:nth-child(2) { border-right: 0; }
  .principle:nth-child(-n+2) { border-bottom: 1px solid var(--line-2); }
  .team { grid-template-columns: repeat(2, 1fr); }
  .frames-track { grid-template-columns: repeat(2, 1fr); }
  .sched-layout { grid-template-columns: 1fr; }
  .status { position: static; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  :root { --header-h: 62px; }
  .nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .hero { grid-template-columns: 1fr; grid-template-rows: auto auto auto; padding-top: calc(var(--header-h) + 8px); }
  .hero-stage { grid-column: 1; grid-row: 1; min-height: 0; height: min(86vw, 480px); margin: 0 calc(var(--gutter) * -1) 0; }
  .hero-content { grid-row: 2; padding: 0 0 36px; }
  .hero-data { grid-row: 3; }
  .hud-bl, .hud-coords { display: none; }
  .hero-title { margin-top: 18px; }
  .hero-vertical { display: none; }
  .hero::after { right: -10%; top: 6%; width: 90vw; height: 90vw; }
  .hero-data { grid-template-columns: repeat(2, 1fr); }
  .hero-data div:nth-child(2) { border-right: 0; }
  .hero-data div:nth-child(-n+2) { border-bottom: 1px solid var(--line-2); }
  .big-head, .inside-grid, .studio-grid, .faq-grid { grid-template-columns: 1fr; }
  .show { grid-template-columns: 1fr; }
  .show-toys .show-media { order: 0; }
  .show-media { min-height: 0; aspect-ratio: 4 / 3; }
  .show-xmax .show-media { min-height: 0; aspect-ratio: auto; padding: 72px 24px 52px; }
  .poster-tilt { width: min(380px, 78%); }
  .visit-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 620px) {
  body { font-size: 14px; }
  .hud-coords { bottom: 48px; right: 12px; font-size: 10px; }
  .hud-tl { left: 12px; } .hud-tr { right: 12px; } .hud-bl { left: 12px; } .hud-br { right: 12px; }
  .hud-tl b { font-size: 17px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-data dd { font-size: 14px; }
  .hero-data div { padding: 14px var(--gutter); }
  .tapes { height: 120px; }
  .tape-a { top: 26px; } .tape-b { top: 46px; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle { border-right: 0; border-bottom: 1px solid var(--line-2); min-height: 0; }
  .principle:last-child { border-bottom: 0; }
  .principle .p-num { margin-top: 24px; }
  .spec div { grid-template-columns: 1fr; gap: 2px; }
  .row { grid-template-columns: auto 1fr; gap: 10px 16px; }
  .row .age { justify-self: start; grid-column: 2; }
  .row .btn { grid-column: 1 / -1; width: 100%; }
  .team { grid-template-columns: 1fr; }
  .card { min-height: 200px; }
  .frames-track { grid-template-columns: 1fr 1fr; gap: 8px; }
  .frame { height: 140px; }
  .frames-head { flex-direction: column; gap: 6px; }
  .qa summary { grid-template-columns: 42px 1fr 20px; }
  .qa details p { padding: 0 0 22px 54px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .f-sys { display: none !important; }
  .term-bar span:nth-child(2) { font-size: 10px; }
  .show-actions .btn { flex: 1 1 auto; }
}

/* ============================================================
   КАЛЕНДАРЬ ПОКАЗОВ
   ============================================================ */
.cal { border: 1px solid var(--line-2); padding: 22px; background: rgba(10,12,9,.7); position: sticky; top: calc(var(--header-h) + 24px); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-month { font: 800 17px/1 var(--display); letter-spacing: .04em; }
.cal-nav { width: 34px; height: 34px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--lime); font-size: 18px; transition: background .2s, color .2s; }
.cal-nav:hover:not(:disabled) { background: var(--lime); color: #000; }
.cal-nav:disabled { opacity: .25; cursor: default; }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow span { font: 600 9.5px/1 var(--mono); letter-spacing: .12em; color: var(--mute); text-align: center; padding: 6px 0; }
.cal-dow span:nth-child(n+6) { color: var(--lime); }
.cal-cell { position: relative; aspect-ratio: 1; display: grid; place-items: center; font: 500 12.5px/1 var(--mono); color: var(--dim); }
.cal-cell.is-empty { visibility: hidden; }
.cal-cell.is-past { opacity: .35; }
.cal-cell.is-today::after { content: ''; position: absolute; inset: 2px; border: 1px dashed var(--mute); pointer-events: none; }
.cal-cell.is-show { color: var(--text); font-weight: 700; box-shadow: inset 0 0 0 1px var(--line); background: rgba(0,208,70,.05); padding-bottom: 8px; transition: background .2s, color .2s, transform .2s var(--ease); }
.cal-cell.is-show:hover { background: rgba(0,208,70,.16); transform: translateY(-2px); }
.cal-cell.is-sel { background: var(--lime) !important; color: #000; box-shadow: 0 0 22px var(--lime-glow); }
.cal-dots { position: absolute; bottom: 5px; left: 0; right: 0; display: flex; justify-content: center; gap: 3px; }
.cal-dots i, .cal-legend i, .row-status i { width: 5px; height: 5px; display: block; flex: none; }
.cal-cell.is-sel .cal-dots i { outline: 1px solid rgba(0,0,0,.5); }
.st-free { background: var(--lime); }
.st-few { background: #ffb21e; }
.st-sold { background: #ff2e6a; }
.st-soon { background: transparent; box-shadow: inset 0 0 0 1px var(--mute); }
.cal-legend { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line-2); font: 500 10.5px/1 var(--mono); color: var(--mute); }
.cal-legend span { display: flex; align-items: center; gap: 6px; }
.cal-legend i { width: 8px; height: 8px; }
.cal-note { margin-top: 14px; font-size: 11.5px; color: var(--mute); line-height: 1.5; }
.row { grid-template-columns: auto 1fr auto auto auto; }
.row-status { display: inline-flex; align-items: center; gap: 7px; font: 700 10.5px/1 var(--mono); letter-spacing: .12em; color: var(--mute); white-space: nowrap; }
.row-status i { width: 8px; height: 8px; }
.row-status.st-free, .row-status.st-few, .row-status.st-sold, .row-status.st-soon { background: none; box-shadow: none; }
.row-status.st-free b { color: var(--lime); } .row-status.st-free i { background: var(--lime); }
.row-status.st-few b { color: #ffb21e; } .row-status.st-few i { background: #ffb21e; }
.row-status.st-sold b { color: #ff2e6a; } .row-status.st-sold i { background: #ff2e6a; }
.row-status.st-soon i { box-shadow: inset 0 0 0 1px var(--mute); }
.row .btn:disabled { opacity: .3; pointer-events: none; }
.term-date { color: var(--lime) !important; font-weight: 700; }
.terminal.is-flash { animation: termFlash .5s steps(3) 1; }
@keyframes termFlash { 0% { box-shadow: 0 0 0 1px var(--lime), 0 0 40px var(--lime-glow); } 100% { box-shadow: 0 0 0 1px rgba(0,0,0,.5), 0 30px 80px rgba(0,0,0,.4); } }

/* ---------- уведомление ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 400; transform: translate(-50%, 140%); max-width: calc(100vw - 32px); padding: 14px 18px; background: #0a0c09; border: 1px solid var(--lime); color: var(--lime); font: 600 12px/1.4 var(--mono); letter-spacing: .06em; box-shadow: 0 0 30px var(--lime-glow); transition: transform .4s var(--ease); pointer-events: none; }
.toast.is-on { transform: translate(-50%, 0); }

/* ============================================================
   СВЯЗЬ
   ============================================================ */
.contacts { border-top: 1px solid var(--line-2); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ccard { position: relative; border: 1px solid var(--line-2); background: var(--panel); padding: 22px; display: flex; flex-direction: column; min-height: 330px; transition: border-color .3s; }
.ccard:hover { border-color: var(--line); }
.ccard h3 { font: 800 clamp(24px, 2.4vw, 34px)/.95 var(--display); text-transform: uppercase; margin: 36px 0 12px; }
.ccard > p { color: var(--mute); font-size: 13px; margin-bottom: 16px; }
.ccard-mail { font: 700 clamp(14px, 1.25vw, 17px)/1.3 var(--mono); color: var(--lime); word-break: break-all; margin-bottom: 18px; border-bottom: 1px dashed var(--line); padding-bottom: 6px; align-self: flex-start; transition: color .2s; }
.ccard-mail:hover { color: var(--text); }
.ccard-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.socials { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.soc { display: flex; flex-direction: column; gap: 6px; padding: 14px; border: 1px solid var(--line); transition: background .2s, color .2s; }
.soc b { font: 900 24px/1 var(--display); color: var(--lime); }
.soc span { font: 500 10.5px var(--mono); letter-spacing: .12em; color: var(--mute); text-transform: uppercase; }
.soc:hover { background: var(--lime); }
.soc:hover b, .soc:hover span { color: #000; }
.soc-wide { grid-column: 1 / -1; }
.soc[data-soon] { border-style: dashed; border-color: var(--line-2); }
.soc[data-soon] b { color: var(--dim); }
.sites-bar { display: grid; grid-template-columns: 1fr 1fr; margin-top: 14px; border: 1px solid var(--line); }
.sites-bar a { display: flex; align-items: baseline; gap: 18px; padding: 24px; position: relative; overflow: hidden; transition: background .3s, color .3s; }
.sites-bar a + a { border-left: 1px solid var(--line); }
.sites-bar span { font: 600 10.5px var(--mono); letter-spacing: .16em; color: var(--mute); }
.sites-bar b { font: 800 clamp(22px, 3vw, 44px)/1 var(--display); letter-spacing: -.01em; }
.sites-bar i { margin-left: auto; font-style: normal; color: var(--lime); font-size: 22px; transition: transform .3s var(--ease); }
.sites-bar a:hover { background: var(--lime); color: #000; }
.sites-bar a:hover span, .sites-bar a:hover i { color: #000; }
.sites-bar a:hover i { transform: translate(4px, -4px); }
.meta-note { margin-top: 16px; font-size: 10.5px; color: var(--dim); }
a.card { color: inherit; }
.card-link { font: 700 12px var(--mono); letter-spacing: .08em; margin-top: 10px; color: #050605; text-decoration: underline; text-underline-offset: 3px; }
.studio-link { margin-top: 22px; }
.footer-cols .f-socials { display: flex; flex-direction: row; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.f-socials a { font: 800 12px/1 var(--display); padding: 8px 9px; border: 1px solid var(--line); color: var(--lime); }
.f-socials a:hover { background: var(--lime); color: #000; }
.f-socials a[data-soon] { color: var(--dim); border-color: var(--line-2); border-style: dashed; }
.footer-bottom a:hover { color: var(--lime); }
.bot-call { font: 700 11px var(--mono); letter-spacing: .14em; color: var(--lime); border: 1px dashed var(--line); padding: 6px 10px; }
.bot-call[hidden] { display: none; }

/* ============================================================
   КАК ДОЙТИ
   ============================================================ */
.route { margin-top: clamp(40px, 5vw, 64px); border: 1px solid var(--line); background: rgba(5,6,5,.78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.route-tabs { display: flex; border-bottom: 1px solid var(--line-2); }
.route-tab { flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px; font: 700 13px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); transition: background .2s, color .2s; }
.route-tab + .route-tab { border-left: 1px solid var(--line-2); }
.route-tab.is-on { background: var(--lime); color: #000; }
.m-badge { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 5px; font: 900 13px/1 var(--display); background: #050605; color: var(--lime); }
.route-tab.is-on .m-badge { background: #000; }
.route-body { padding: clamp(18px, 2.4vw, 30px); }
.route-panel { display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; align-items: center; }
.route-panel[hidden] { display: none; }
.route-map { width: 100%; height: auto; }
.route-line { animation: routeDash 1.2s linear infinite; }
@keyframes routeDash { to { stroke-dashoffset: -32; } }
.route-steps { list-style: none; margin: 0; padding: 0; }
.route-steps li { display: flex; gap: 14px; padding: 11px 0; border-bottom: 1px dashed var(--line-2); font-size: 13.5px; }
.route-steps b { color: var(--lime); font-weight: 700; }
.route-steps em { color: var(--mute); font-style: normal; }
.route-time { margin-top: 12px; font-size: 11px; letter-spacing: .14em; color: var(--mute); grid-column: 2; }
.route-time b { color: var(--text); font-weight: 600; }
.route-btn { margin-top: 16px; }
.route-steps strong { color: var(--text); }
.route-note { margin-top: 16px; font-size: 11.5px; color: var(--mute); }

/* ============================================================
   РОБОТ ПИКСЕЛЬ
   ============================================================ */
.bot { position: fixed; left: 0; top: 0; z-index: 95; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; will-change: transform; }
html.has-cursor .bot { cursor: none; }
.bot.is-gone { display: none; }
.bot.is-drag { cursor: grabbing; }
.bot-sprite { transform-origin: 50% 100%; filter: drop-shadow(0 0 6px rgba(0,208,70,.55)); }
.bot-sprite svg { display: block; overflow: visible; transition: transform .15s var(--ease); transform-origin: 50% 100%; }
.bot.is-air .bot-sprite svg { transform: scaleY(1.08) scaleX(.94); }
.bot.is-land .bot-sprite svg { transform: scaleY(.86) scaleX(1.1); }
.bot.is-drag .bot-sprite svg { transform: rotate(-10deg); }
.bot-legs-b, .bot-arm-wave { display: none; }
.bot.step-b .bot-legs-a { display: none; }
.bot.step-b .bot-legs-b { display: inline; }
.bot.is-wave .bot-arm-r { display: none; }
.bot.is-wave .bot-arm-wave { display: inline; animation: botWave .3s steps(2) infinite; }
@keyframes botWave { 50% { transform: translateX(-.5px) rotate(-6deg); } }
.bot.is-walk .bot-head { animation: botBob .25s steps(2) infinite; }
@keyframes botBob { 50% { transform: translateY(-.5px); } }
.bot-tip { animation: blink 1s steps(2) infinite; }
.bot-heart { animation: blink 1.6s steps(2) infinite; }
.bot.is-beam .bot-sprite { filter: drop-shadow(0 -40px 0 rgba(0,208,70,.25)) drop-shadow(0 -80px 0 rgba(0,208,70,.12)) drop-shadow(0 0 12px var(--lime)); }
.bot-shadow { height: 3px; margin: 0 20%; background: radial-gradient(ellipse, rgba(0,208,70,.45), transparent 70%); }
.bot.is-air .bot-shadow { opacity: 0; }
.bot-say { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translate(-50%, 6px); width: max-content; max-width: 230px; padding: 9px 11px; background: #0a0c09; border: 1px solid var(--lime); color: var(--text); font: 600 11.5px/1.4 var(--mono); letter-spacing: .02em; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease); box-shadow: 0 0 22px rgba(0,208,70,.25); }
.bot-say::after { content: ''; position: absolute; left: 50%; top: 100%; width: 10px; height: 10px; background: #0a0c09; border-right: 1px solid var(--lime); border-bottom: 1px solid var(--lime); transform: translate(-50%, -5px) rotate(45deg); }
.bot.is-talking .bot-say { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1180px) {
  .cal { position: static; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid .ccard:last-child { grid-column: 1 / -1; min-height: 0; }
}
@media (max-width: 960px) {
  .route-panel { grid-template-columns: 1fr; gap: 14px; }
  .route-time { grid-column: auto; }
}
@media (max-width: 620px) {
  .row .row-status { grid-column: 2; }
  .contact-grid, .sites-bar { grid-template-columns: 1fr; }
  .sites-bar a + a { border-left: 0; border-top: 1px solid var(--line); }
  .ccard { min-height: 0; }
  .route-tab { font-size: 11px; padding: 14px 8px; gap: 6px; }
  .bot-say { max-width: 180px; font-size: 10.5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  html.js .reveal { opacity: 1; transform: none; filter: none; }
  .tape-track { animation: none; }
}

/* ============================================================
   v2.1 (12.11): компактнее страница + досье команды + предпремьера
   ============================================================ */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.big-head { margin-bottom: clamp(28px, 3.4vw, 48px); }
.h-xl.h-tight { font-size: clamp(34px, 4.8vw, 74px); }
.sec-head { margin-bottom: clamp(24px, 3vw, 40px); }
.inside { padding: clamp(70px, 9vw, 120px) 0 clamp(48px, 6vw, 80px); }
.frames { margin-top: clamp(40px, 5vw, 64px); }
.visit { padding: clamp(70px, 9vw, 120px) 0; }
.visit-grid { margin-top: clamp(28px, 3.4vw, 44px); }
.ccard { min-height: 290px; }
.ccard h3 { margin: 24px 0 10px; }
@media (min-width: 961px) { .show-toys .show-media { min-height: 430px; } }
.spec-2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.spec-2 div { grid-template-columns: 1fr; gap: 2px; }
.spec-2 div:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* предпремьера на первом экране */
.premiere { display: inline-flex; align-items: center; gap: 14px; padding: 7px 16px 7px 7px; margin-bottom: 22px; border: 1px solid var(--lime); background: rgba(0,208,70,.08); color: var(--text); animation: premPulse 2.6s ease-in-out infinite; transition: background .2s; }
.premiere-date { font: 900 22px/1 var(--display); background: var(--lime); color: #050605; padding: 9px 10px 8px; letter-spacing: -.02em; transition: background .2s, color .2s; }
.premiere-text b { display: block; font: 700 12px/1.25 var(--mono); letter-spacing: .14em; color: var(--lime); }
.premiere-text small { font: 500 11px/1.3 var(--mono); color: var(--mute); letter-spacing: .04em; }
.premiere > span:last-child { color: var(--lime); font-size: 18px; }
.premiere:hover { background: var(--lime); }
.premiere:hover .premiere-text b, .premiere:hover .premiere-text small, .premiere:hover > span:last-child { color: #050605; }
.premiere:hover .premiere-date { background: #050605; color: var(--lime); }
@keyframes premPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(0,208,70,.35); } 50% { box-shadow: 0 0 0 8px rgba(0,208,70,0), 0 0 34px rgba(0,208,70,.25); } }

/* принципы — одной строкой внутри «Внутри истории» */
.pillars { list-style: none; margin: clamp(32px, 4vw, 52px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line-2); background: rgba(5,6,5,.62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.pillars .principle { min-height: 0; padding: 20px 20px 22px; flex-direction: row; gap: 14px; align-items: flex-start; }
.pillars .principle svg { width: 34px; height: 34px; margin: 2px 0 0; flex: none; }
.pillars .p-num { margin-top: 0; display: block; }
.pillars .principle h3 { font-size: 16px; margin: 4px 0 6px; }
.pillars .principle p { font-size: 12.5px; line-height: 1.5; }

/* ---------- досье ---------- */
.dossier { display: grid; grid-template-columns: minmax(230px, 290px) 1fr; border: 1px solid var(--line); background: var(--panel); box-shadow: 0 40px 100px rgba(0,0,0,.4); }
.dos-tabs { display: flex; flex-direction: column; border-right: 1px solid var(--line-2); min-width: 0; }
.dos-tab { position: relative; display: grid; grid-template-columns: 30px 1fr; gap: 5px 8px; text-align: left; padding: 20px 20px 19px; border-bottom: 1px solid var(--line-2); color: var(--mute); transition: background .25s, color .25s; }
.dos-tab .dos-n { grid-row: 1 / 3; font: 700 11px/1.7 var(--mono); color: var(--lime); letter-spacing: .1em; }
.dos-tab b { font: 800 16px/1.05 var(--display); text-transform: uppercase; color: var(--text); letter-spacing: -.005em; }
.dos-tab small { font: 500 11px/1.35 var(--mono); letter-spacing: .04em; }
.dos-tab:hover { background: rgba(0,208,70,.07); }
.dos-tab.is-on { background: var(--lime); color: rgba(5,6,5,.72); }
.dos-tab.is-on b, .dos-tab.is-on .dos-n { color: #050605; }
.dos-tab.is-on::after { content: ''; position: absolute; right: -9px; top: 50%; width: 16px; height: 16px; background: var(--lime); transform: translateY(-50%) rotate(45deg); z-index: 2; }
.dos-tab:focus-visible { outline: 2px solid var(--cyan); outline-offset: -4px; }
.dos-hint { margin-top: auto; padding: 18px 20px; display: flex; gap: 10px; align-items: center; font: 500 10.5px/1.45 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.dos-panels { position: relative; min-width: 0; }
.dos-panel { display: grid; grid-template-columns: minmax(190px, 290px) 1fr; gap: clamp(20px, 3vw, 40px); padding: clamp(20px, 2.6vw, 36px); align-items: start; }
.dos-panel[hidden] { display: none; }
.dos-panel:focus-visible { outline: 1px dashed var(--line); outline-offset: -6px; }
.dos-panel.is-enter { animation: dosIn .5s var(--ease) both; }
@keyframes dosIn { from { opacity: 0; clip-path: inset(0 0 100% 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
.dos-photo { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; margin: 0; background: #000; box-shadow: 0 0 0 1px var(--line); }
.dos-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.12) brightness(.92); transition: filter .7s, transform 1.4s var(--ease); }
.dos-photo::before { content: ''; position: absolute; inset: 0; z-index: 1; background: var(--lime); mix-blend-mode: color; opacity: .5; pointer-events: none; transition: opacity .7s; }
.dos-photo::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0,0,0,.16) 0 1px, transparent 1px 3px), linear-gradient(180deg, transparent 60%, rgba(5,6,5,.7)); }
.dos-panel:hover .dos-photo img { filter: none; transform: scale(1.03); }
.dos-panel:hover .dos-photo::before { opacity: 0; }
.dos-photo .br { width: 18px; height: 18px; margin: 10px; }
.dos-photo .media-tag-bl { left: 14px; bottom: 14px; }
.dos-logo { aspect-ratio: 1; background: #0b2a1d; }
.dos-logo::before { display: none; }
.dos-logo img { filter: saturate(1.05) brightness(.92); transform: scale(1.04); }
.dos-panel:hover .dos-logo img { filter: saturate(1.2) brightness(1.05); transform: scale(1.09); }
.dos-file { font: 600 10.5px/1.4 var(--mono); letter-spacing: .16em; color: var(--lime); margin-bottom: 12px; }
.dos-body { min-width: 0; }
.dos-body h3 { font: 800 clamp(28px, 3.2vw, 46px)/.95 var(--display); text-transform: uppercase; letter-spacing: -.02em; }
.dos-role { font: 600 12.5px/1.45 var(--mono); color: var(--text); margin: 12px 0 14px; padding-left: 12px; border-left: 2px solid var(--lime); max-width: 620px; }
.dos-lead { color: var(--mute); font-size: 14px; line-height: 1.6; max-width: 640px; }
.dos-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line-2); margin-top: 20px; max-width: 640px; }
.dos-stats div { padding: 12px 12px 12px 0; }
.dos-stats div + div { border-left: 1px dashed var(--line-2); padding-left: 14px; }
.dos-stats dt { font: 500 9.5px/1.3 var(--mono); letter-spacing: .16em; color: var(--mute); }
.dos-stats dd { font: 800 clamp(15px, 1.5vw, 21px)/1.1 var(--display); color: var(--lime); margin-top: 6px; }
.dos-more { margin-top: 20px; }
.dos-more summary { list-style: none; display: inline-flex; align-items: center; gap: 14px; cursor: pointer; padding: 12px 16px; border: 1px solid var(--lime); font: 700 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--lime); transition: background .2s, color .2s; user-select: none; }
.dos-more summary::-webkit-details-marker { display: none; }
.dos-more summary:hover { background: var(--lime); color: #050605; }
.dos-more summary i { width: 12px; height: 12px; position: relative; }
.dos-more summary i::before, .dos-more summary i::after { content: ''; position: absolute; left: 0; top: 5px; width: 12px; height: 2px; background: currentColor; transition: transform .3s var(--ease); }
.dos-more summary i::after { transform: rotate(90deg); }
.dos-more[open] summary i::after { transform: rotate(0); }
.dos-more-close, .dos-more[open] .dos-more-open { display: none; }
.dos-more[open] .dos-more-close { display: inline; }
.dos-more-body { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 30px; margin-top: 20px; padding-top: 20px; border-top: 1px dashed var(--line); animation: dosIn .45s var(--ease) both; }
.dos-more-body section { min-width: 0; }
.dos-more-body h4 { font: 700 10.5px/1.4 var(--mono); letter-spacing: .16em; color: var(--lime); margin-bottom: 8px; }
.dos-more-body p, .dos-more-body li { font-size: 13px; line-height: 1.55; color: var(--mute); }
.dos-more-body b { color: var(--text); }
.dos-more-body ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.dos-more-body li { position: relative; padding-left: 15px; }
.dos-more-body li::before { content: '›'; position: absolute; left: 0; top: 0; color: var(--lime); font-weight: 700; }
.dos-more-body > .btn { grid-column: 1 / -1; justify-self: start; }
.dos-mail { color: var(--lime); border-bottom: 1px dashed var(--line); }
.ccard-phone { font: 800 clamp(20px, 1.9vw, 27px)/1.1 var(--display); color: var(--text); margin-bottom: 10px; align-self: flex-start; transition: color .2s; }
.ccard-phone:hover { color: var(--lime); }
.footer-cols span.lime { color: var(--lime); }

@media (max-width: 1180px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .dossier { grid-template-columns: 220px 1fr; }
  .dos-panel { grid-template-columns: 200px 1fr; }
  .dos-more-body { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .dossier { grid-template-columns: 1fr; }
  .dos-tabs { display: grid; grid-template-columns: 1fr 1fr; border-right: 0; border-bottom: 1px solid var(--line-2); }
  .dos-tab:nth-child(odd) { border-right: 1px solid var(--line-2); }
  .dos-tab.is-on::after { right: auto; left: 50%; top: auto; bottom: -9px; transform: translateX(-50%) rotate(45deg); }
  .dos-hint { display: none; }
}
@media (max-width: 620px) {
  .premiere { gap: 10px; margin-bottom: 18px; }
  .premiere-date { font-size: 18px; }
  .premiere-text b { font-size: 11px; letter-spacing: .1em; }
  .pillars .principle { padding: 14px 12px; flex-direction: column; gap: 6px; border-bottom: 1px solid var(--line-2); }
  .pillars .principle:nth-child(odd) { border-right: 1px solid var(--line-2); }
  .pillars .principle:nth-child(n+3) { border-bottom: 0; }
  .pillars .principle svg { width: 26px; height: 26px; }
  .pillars .principle h3 { font-size: 14px; }
  .pillars .principle p { font-size: 11.5px; }
  .dos-tab { padding: 13px 12px; grid-template-columns: 1fr; gap: 3px; }
  .dos-tab .dos-n { grid-row: auto; font-size: 10px; line-height: 1; }
  .dos-tab b { font-size: 13px; }
  .dos-tab small { font-size: 10px; }
  .dos-panel { grid-template-columns: 104px 1fr; gap: 0 14px; padding: 20px 16px; }
  .dos-body { display: contents; }
  .dos-photo { grid-row: 1 / 4; grid-column: 1; align-self: start; }
  .dos-photo .media-tag, .dos-photo .br, .dos-photo .ld-scan { display: none; }
  .dos-file, .dos-body h3, .dos-role { grid-column: 2; }
  .dos-file { margin-bottom: 6px; font-size: 9.5px; letter-spacing: .1em; }
  .dos-body h3 { font-size: 23px; }
  .dos-role { font-size: 11px; margin: 8px 0 0; padding-left: 9px; }
  .dos-lead, .dos-stats, .dos-more { grid-column: 1 / -1; }
  .dos-lead { margin-top: 16px; font-size: 13.5px; }
  .dos-stats dd { font-size: 14px; }
  .dos-more summary { width: 100%; justify-content: center; }
  .ccard-actions .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .premiere { animation: none; }
  .dos-panel.is-enter, .dos-more-body { animation: none; }
}
/* особая дата в календаре (предпремьера) */
.cal-cell.is-event { box-shadow: inset 0 0 0 2px var(--cyan); color: var(--cyan); }
.cal-cell.is-event::before { content: '★'; position: absolute; top: 2px; right: 4px; font-size: 8px; line-height: 1; color: var(--cyan); }
.cal-cell.is-event.is-sel { color: #000; }
.cal-cell.is-event.is-sel::before { color: #000; }

/* ---------- признание ---------- */
.honors { margin-top: 14px; border: 1px solid var(--line-2); background: var(--panel); padding: clamp(20px, 2.6vw, 36px); display: grid; grid-template-columns: minmax(230px, 290px) 1fr; gap: 20px clamp(20px, 3vw, 40px); }
.honors-head h3 { font: 800 clamp(26px, 2.8vw, 40px)/.95 var(--display); letter-spacing: -.02em; }
.honors-head > p:last-child { color: var(--mute); font-size: 13px; line-height: 1.55; margin-top: 12px; }
.honors-world { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-self: start; }
.honor { position: relative; display: flex; flex-direction: column; gap: 6px; text-align: left; padding: 16px 16px 18px; border: 1px solid var(--line); background: rgba(0,208,70,.04); color: var(--text); transition: background .25s, border-color .25s, transform .3s var(--ease); }
.honor:hover { background: rgba(0,208,70,.12); border-color: var(--lime); transform: translateY(-3px); }
.honor-code { font: 900 30px/1 var(--display); color: transparent; -webkit-text-stroke: 1px var(--lime); letter-spacing: -.02em; }
.honor-year { position: absolute; top: 16px; right: 16px; font: 700 11px/1 var(--mono); color: var(--lime); letter-spacing: .12em; }
.honor b { font: 800 13px/1.2 var(--display); letter-spacing: .02em; margin-top: 6px; }
.honor small { font: 500 11.5px/1.45 var(--mono); color: var(--mute); }
.honor::after { content: '⌕'; position: absolute; right: 14px; bottom: 12px; color: var(--lime); font-size: 14px; opacity: 0; transition: opacity .25s; }
.honor:hover::after { opacity: 1; }
.honors-ru { grid-column: 2; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line-2); }
.honors-ru li { padding: 12px 12px 12px 0; display: flex; flex-direction: column; gap: 5px; }
.honors-ru li + li { border-left: 1px dashed var(--line-2); padding-left: 14px; }
.honors-ru b { font: 800 12.5px/1.2 var(--display); color: var(--lime); letter-spacing: .02em; }
.honors-ru span { font: 500 11px/1.4 var(--mono); color: var(--mute); }
.honors-more { grid-column: 2; margin-top: 0; }
.honors-body { margin-top: 20px; padding-top: 20px; border-top: 1px dashed var(--line); display: grid; gap: 26px; animation: dosIn .45s var(--ease) both; }
.honors-texts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 28px; }
.honors-texts h4 { font: 700 10.5px/1.4 var(--mono); letter-spacing: .16em; color: var(--lime); margin-bottom: 10px; }
.honors-texts ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.honors-texts li { position: relative; padding-left: 15px; font-size: 12.5px; line-height: 1.55; color: var(--mute); }
.honors-texts li::before { content: '›'; position: absolute; left: 0; color: var(--lime); font-weight: 700; }
.honors-texts b { color: var(--text); }
.certs { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.certs button { display: flex; flex-direction: column; gap: 6px; text-align: left; padding: 6px; border: 1px solid var(--line-2); background: #0a0c09; transition: border-color .2s, transform .3s var(--ease); }
.certs button:hover { border-color: var(--lime); transform: translateY(-3px); }
.certs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; background: #fff; filter: saturate(.85); }
.certs span { font: 600 10px/1.3 var(--mono); letter-spacing: .04em; color: var(--mute); }
.dlg-cert { width: min(1100px, calc(100vw - 32px)); padding: 16px; }
.dlg-cert figure { margin: 0; }
.dlg-cert img { display: block; width: 100%; max-height: calc(100vh - 150px); object-fit: contain; background: transparent; }
.dlg-cert figcaption { padding: 12px 40px 2px 2px; font: 600 12px/1.4 var(--mono); letter-spacing: .06em; color: var(--lime); }

@media (max-width: 1180px) {
  .honors { grid-template-columns: 1fr; }
  .honors-ru, .honors-more { grid-column: 1; }
  .honors-texts { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .honors-world { grid-template-columns: 1fr; }
  .honor { display: grid; grid-template-columns: 44px 1fr; gap: 2px 12px; padding: 12px 14px; }
  .honor-code { grid-row: 1 / 3; font-size: 24px; align-self: center; }
  .honor-year { top: 12px; right: 12px; }
  .honor b { margin-top: 0; padding-right: 40px; }
  .honors-ru { grid-template-columns: 1fr 1fr; }
  .honors-ru li:nth-child(3) { border-left: 0; padding-left: 0; }
  .honors-ru li:nth-child(n+3) { border-top: 1px dashed var(--line-2); }
}
@media (max-width: 620px) {
  .honors { padding: 20px 16px; }
  .honors-more summary { width: 100%; justify-content: center; }
  .certs { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .certs span { font-size: 9px; }
}

/* ============================================================
   v3 (13.11): сайт продаёт спектакль — видео, бронь, сюжет, фото
   ============================================================ */
body { font-size: 15px; }
:root { --mute: #a3ad9d; }
.big-head p, .show-desc, .dos-lead, .qa details p { font-size: 15px; line-height: 1.6; }

/* первый экран: маска собирается и включает кадры спектакля */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; }
.mask-gl, .mask-fallback { transition: opacity 1.4s ease; }
.hero-stage.is-live .hero-video { opacity: .92; }
.hero-stage.is-live .mask-gl, .hero-stage.is-live .mask-fallback { opacity: 0 !important; }
.hero-stage::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 1.4s; background: repeating-linear-gradient(0deg, rgba(0,0,0,.16) 0 1px, transparent 1px 3px), radial-gradient(ellipse at 50% 50%, transparent 45%, rgba(5,6,5,.85) 100%); }
.hero-stage.is-live::after { opacity: 1; }
.hero-stage.is-live .hud-coords, .hero-stage.is-live .hud-tl { opacity: 0; transition: opacity .8s; }
.hud { z-index: 2; }
.hud-br { display: flex; align-items: center; gap: 8px; }
.hero-title { margin-top: 20px; }
.hero-tagline { color: var(--lime); }
.hero-lead { color: var(--text); font-size: 16px; max-width: 500px; }
.hero-data div:first-child dd { color: var(--lime); }
.header-cta { white-space: nowrap; }

/* афиша: сюжет */
.plot { margin: -6px 0 22px; }
.plot summary { list-style: none; display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font: 700 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--lime); padding: 8px 0; border-bottom: 1px dashed var(--line); user-select: none; }
.plot summary::-webkit-details-marker { display: none; }
.plot summary i { width: 12px; height: 12px; position: relative; }
.plot summary i::before, .plot summary i::after { content: ''; position: absolute; left: 0; top: 5px; width: 12px; height: 2px; background: currentColor; transition: transform .3s var(--ease); }
.plot summary i::after { transform: rotate(90deg); }
.plot[open] summary i::after { transform: rotate(0); }
.plot[open] .dos-more-open { display: none; }
.plot[open] .dos-more-close { display: inline; }
.plot-body { margin-top: 16px; display: grid; gap: 12px; animation: dosIn .45s var(--ease) both; max-width: 560px; }
.plot-body p { font-size: 14.5px; line-height: 1.65; color: #b9c2b3; }
.plot-body b { color: var(--text); }
.show-actions .btn-line { align-self: center; }

/* кадры спектакля */
.frames-photos { grid-template-columns: repeat(4, 1fr); }
button.frame { display: block; padding: 0; text-align: left; color: inherit; }
.frame-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; font: 500 10px/1.3 var(--mono); letter-spacing: .14em; background: linear-gradient(transparent, rgba(0,0,0,.85)); }
.frame-cap b { color: var(--lime); margin-right: 6px; }
.frames-photos .frame img { filter: saturate(1) brightness(.92); }
.frames-head .mute { text-align: right; }

/* расписание */
.row, .row[data-show] { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.row[hidden] { display: none; }
.row-title { flex: 1 1 200px; min-width: 0; }
.row-price { font: 800 clamp(17px, 1.7vw, 22px)/1 var(--display); color: var(--text); white-space: nowrap; }
.row-price.is-none { display: none; }
.rows-empty { padding: 26px 18px; color: var(--mute); font-size: 14px; }
.rows-empty[hidden] { display: none; }
.term-note a { color: var(--lime); border-bottom: 1px dashed var(--line); }
.term-bar .term-date { text-align: right; }
.st-none { display: none !important; }
.cal-legend i.st-event { background: none; box-shadow: inset 0 0 0 2px var(--cyan); }
.cal-legend i.st-day { background: rgba(0,208,70,.15); box-shadow: inset 0 0 0 1px var(--line); }
.cal-cell.is-show { padding-bottom: 0; }

/* родителям */
.facts { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; border-block: 1px solid var(--line-2); }
.facts li { padding: 14px 22px 14px 0; display: flex; flex-direction: column; gap: 4px; }
.facts li + li { padding-left: 22px; border-left: 1px dashed var(--line-2); }
.facts b { font: 800 clamp(20px, 2.2vw, 30px)/1 var(--display); color: var(--lime); white-space: nowrap; }
.facts span { font: 500 11px/1.3 var(--mono); color: var(--mute); letter-spacing: .06em; }
.qa details p a, .visit-data a { color: var(--lime); border-bottom: 1px dashed var(--line); }

/* окно брони */
.dlg-price { font: 800 28px/1 var(--display); margin: -10px 0 22px; }
.dlg-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.dlg-actions .btn { flex: 1 1 auto; justify-content: center; }

/* закреплённая бронь на телефоне */
.sticky-cta { display: none; }
.contact-grid .ccard:last-child .socials { margin-top: auto; }

@media (max-width: 1180px) {
  .cal { order: -1; }
  .frames-photos { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 960px) {
  /* первый экран: заголовок и кнопка сразу, видео — фоном */
  .hero { position: relative; grid-template-rows: auto auto; padding-top: var(--header-h); }
  .hero-stage { position: absolute; left: 0; right: 0; top: var(--header-h); height: min(74vh, 620px); margin: 0; z-index: 0; -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%); mask-image: linear-gradient(180deg, #000 30%, transparent 100%); }
  .hero-stage.is-live .hero-video { opacity: .6; }
  .hero-stage .hud { display: none; }
  .hero-content { grid-row: 1; padding: clamp(96px, 21vh, 190px) 0 30px; }
  .hero-data { grid-row: 2; background: var(--bg); }
  .hero-lead { text-shadow: 0 1px 12px #000; }
  .frames-photos { grid-template-columns: repeat(2, 1fr); }
  /* X-МАКС: название над афишей */
  .show-xmax { display: flex; flex-direction: column; padding: 22px 16px 24px; }
  .show-xmax .show-body { display: contents; }
  .show-xmax .show-body > * { order: 5; }
  .show-xmax .show-body > .show-title-row { order: 1; }
  .show-xmax .show-body > .xmax-title { order: 2; margin-top: 4px; }
  .show-xmax .show-body > .show-sub { order: 3; margin-bottom: 18px; }
  .show-xmax .show-media { order: 4; margin: 0 -16px 20px; padding: 40px 24px; }
  .show-xmax .show-media .media-tag-tr { display: none; }
  .show-xmax .show-desc { margin-top: 0; }
  /* закреплённая бронь */
  .sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 96; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(5,6,5,.94); border-top: 1px solid var(--lime); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transform: translateY(110%); transition: transform .35s var(--ease); }
  .sticky-cta.is-on { transform: none; }
  .sticky-cta b { display: block; font: 800 15px/1.1 var(--display); color: var(--lime); }
  .sticky-cta small { font: 500 10.5px/1.3 var(--mono); color: var(--mute); }
  .sticky-cta .btn { flex: none; }
  body.dialog-open .sticky-cta { display: none; }
  .footer { padding-bottom: 70px; }
  .toast { bottom: 84px; }
}
@media (max-width: 620px) {
  .term-bar { flex-wrap: wrap; gap: 6px 12px; }
  .term-bar .term-date { margin-left: 0; flex: 1 1 100%; text-align: left; font-size: 10.5px; }
  .term-bar span:nth-child(2) { font-size: 11px; }
  .row { gap: 10px 14px; padding: 18px 14px; }
  .row time { font-size: 34px; }
  .row .age, .row .row-status { grid-column: auto; }
  .row .btn { flex: 1 1 100%; }
  .facts li { padding-right: 14px; }
  .facts li + li { padding-left: 14px; }
  .frames-head .mute { text-align: left; }
  .frame-cap { font-size: 9px; letter-spacing: .08em; padding: 20px 8px 8px; }
  .dlg { padding: 26px 20px; }
  /* робот на телефоне меньше мешает */
  .bot { opacity: .92; }
  .bot-say { max-width: 170px; }
}

/* фото входа в «Как добраться» */
.entry { display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px; margin-top: 22px; }
.entry button { position: relative; display: block; padding: 0; text-align: left; overflow: hidden; border: 1px solid var(--line-2); height: clamp(170px, 20vw, 270px); transition: border-color .2s; }
.entry button:hover { border-color: var(--lime); }
.entry img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.entry button:hover img { transform: scale(1.04); }
.entry span { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; font: 500 12px/1.4 var(--mono); color: var(--text); background: linear-gradient(transparent, rgba(0,0,0,.9)); }
.entry b { display: block; font: 700 10.5px/1.4 var(--mono); letter-spacing: .16em; color: var(--lime); }
@media (max-width: 620px) { .entry { grid-template-columns: 1fr; } .entry button { height: 190px; } }

/* 15.11.2026 — описание X-МАКС от автора проекта */
.show-xmax .show-sub { line-height: 1.5; letter-spacing: .04em; }
.plot-body h4 { font: 700 18px/1.4 var(--display); color: var(--text); }
.plot-body ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.plot-body li { font-size: 14.5px; line-height: 1.65; color: #b9c2b3; }
.plot-body a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
