@charset "UTF-8";

/* ============================================================
   «Бизнес, ИИ и человек: что усилить в 2027 г.?» — /ai-conf-2026-dec/assets/css/style.css
   Промо-лендинг конференции 14.12.2026, статичная страница вне шаблона сайта (своя шапка, подвал,
   прелоадер), префикс ac-. В сборщик шаблона не входит. По структуре повторяет лендинг /ai-conf-2026/ (сентябрь), палитра —
   фиолетовая по программе конференции (PDF): глубокий фиолетовый фон, световые вертикальные
   линии на canvas, светлые карточки программы (крем / голубой / зелёный). Лёгкий снег — декабрь.
   Блок «Как это было» — видео и фото сентябрьской конференции (файлы из /ai-conf-2026/assets/, превью в assets/img/was/).
   ============================================================ */

.ac-page {
  --ac-bg: #150b35;
  --ac-bg-2: #1f1050;
  --ac-bg-3: #2c1870;
  --ac-line: rgba(190, 160, 255, .16);
  --ac-line-2: rgba(190, 160, 255, .32);
  --ac-text: #f6f2ff;
  --ac-muted: #bfaee6;
  --ac-muted-2: #8b7ab8;
  --ac-violet: #8b5cf6;
  --ac-violet-d: #6d3df0;
  --ac-violet-2: #c4a5ff;
  --ac-pink: #efc3ff;
  --ac-glow: rgba(139, 92, 246, .5);
  --ac-card: #ffffff;
  --ac-card-2: #fcf8ea;
  --ac-card-blue: #e6f1ff;
  --ac-card-green: #e9f8e6;
  --ac-card-text: #1a0e3f;
  --ac-card-muted: #5a4e86;
  --ac-light: #efe8ff;
  --ac-display: "Unbounded", "Arial Black", sans-serif;
  --ac-body: "Onest", "Inter", Arial, sans-serif;
  --ac-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ac-radius: 20px;
  --ac-ease: cubic-bezier(.22, 1, .36, 1);
  --ac-container: 1240px;
  --ac-top: 80px; /* высота своей шапки, уточняется скриптом */

  position: relative;
  overflow: clip;
  background: var(--ac-bg);
  color: var(--ac-text);
  font-family: var(--ac-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body.ac-body { margin: 0; background: #150b35; overflow-x: hidden; }
body.ac-body.is-locked { overflow: hidden; }

/* Сбросы — через :where(), чтобы не перебивать свои же классы компонентов */
.ac-page *, .ac-page *::before, .ac-page *::after { box-sizing: border-box; }
.ac-page :where(img, video) { display: block; max-width: 100%; height: auto; }
.ac-page :where(a) { color: inherit; text-decoration: none; border: 0; transition: none; }
.ac-page a:hover { color: inherit; text-decoration: none; }
.ac-page :where(button) { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; border-radius: 0; white-space: normal; }
.ac-page :where(ul, ol) { margin: 0; padding: 0; list-style: none; font-size: inherit; line-height: inherit; counter-reset: none; }
.ac-page :where(h1, h2, h3, h4, p) { margin: 0; padding: 0; font-size: inherit; line-height: inherit; font-weight: inherit; color: inherit; }
.ac-page :where(p, li) { font-size: inherit; line-height: inherit; color: inherit; }
.ac-page :where(p, li, figcaption, h2, h3, h4) { text-wrap: pretty; } /* без висячих строк в одно короткое слово (Chrome 117+, Safari 17.5+) */
.ac-page :where(svg) { display: inline-block; }
.ac-page :where(small) { font-size: inherit; }
.ac-page :where(b, strong) { font-weight: 700; }

.ac-container { width: min(var(--ac-container), 100% - 48px); margin-inline: auto; }
.ac-nowrap { white-space: nowrap; }
@media (max-width: 640px) { .ac-container { width: calc(100% - 32px); } }

.ac-section { position: relative; padding: clamp(72px, 9vw, 130px) 0; }

/* ---------- Фон: световые линии + снег (canvas, sticky внутри страницы) ---------- */
.ac-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.ac-bg__stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.ac-bg canvas { width: 100%; height: 100%; display: block; }
.ac-bg__fallback { position: absolute; inset: 0; background: linear-gradient(90deg, #1a0d45 0%, #3b1f8f 18%, #1c0f4a 34%, #4a27a8 52%, #1a0d45 70%, #35208a 86%, #180c40 100%); opacity: .55; }
.ac-bg canvas + .ac-bg__fallback { display: none; }
.ac-main { position: relative; z-index: 1; }

/* ---------- Типографика ---------- */
.ac-h2 {
  font-family: var(--ac-display); font-weight: 600;
  font-size: clamp(27px, 3.8vw, 50px); line-height: 1.1; letter-spacing: -.01em;
  max-width: 20ch; text-wrap: balance;
}
.ac-h2 em { font-style: normal; background: linear-gradient(90deg, var(--ac-violet-2), var(--ac-pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ac-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px;
  font-family: var(--ac-mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ac-violet-2);
}
.ac-eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--ac-violet-2); opacity: .7; }
.ac-section__head { margin-bottom: clamp(36px, 5vw, 64px); }
.ac-section__head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.ac-section__lead { margin-top: 22px; max-width: 62ch; color: var(--ac-muted); font-size: 18px; }
.ac-section__lead a, .ac-link { color: var(--ac-violet-2); border-bottom: 1px solid rgba(196,165,255,.35); transition: border-color .2s, color .2s; }
.ac-section__lead a:hover, .ac-link:hover { border-color: currentColor; color: #fff; }

/* split-text */
.ac-page [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.ac-page [data-split] .w > span { display: inline-block; will-change: transform; }

/* ---------- Кнопки, чипы ---------- */
.ac-page .ac-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 30px; border-radius: 999px; border: 0;
  background: linear-gradient(135deg, #a07cff 0%, var(--ac-violet-d) 100%); color: #fff;
  font-family: var(--ac-body); font-weight: 600; font-size: 16px; line-height: 1.1; text-align: center; text-decoration: none;
  overflow: hidden; isolation: isolate; cursor: pointer;
  box-shadow: 0 0 0 0 var(--ac-glow);
  transition: transform .4s var(--ac-ease), box-shadow .4s var(--ac-ease), filter .3s;
}
.ac-page .ac-btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(140px 70px at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.35), transparent 70%);
  opacity: 0; transition: opacity .3s;
}
.ac-page .ac-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px var(--ac-glow); filter: brightness(1.06); color: #fff; }
.ac-page .ac-btn:hover::after { opacity: 1; }
.ac-page .ac-btn:active { transform: translateY(0); }
.ac-page .ac-btn--lg { min-height: 62px; padding: 0 36px; font-size: 17px; }
.ac-page .ac-btn--sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
.ac-page .ac-btn--full { width: 100%; }
.ac-page .ac-btn--light { background: #fff; color: #4c1d95; }
.ac-page .ac-btn--light:hover { color: #4c1d95; box-shadow: 0 16px 40px -14px rgba(255,255,255,.5); }
.ac-page .ac-btn--ghost { background: transparent; color: var(--ac-text); box-shadow: inset 0 0 0 1px var(--ac-line-2); }
.ac-page .ac-btn--ghost:hover { background: rgba(190,160,255,.1); box-shadow: inset 0 0 0 1px rgba(190,160,255,.55); color: #fff; }
.ac-page .ac-btn--ghost::after { display: none; }
.ac-page .ac-btn svg { flex: 0 0 auto; }

.ac-chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 14px; border-radius: 999px;
  background: #fff; color: #4c1d95; font-family: var(--ac-mono); font-size: 13px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase;
}
.ac-chip--ghost { background: rgba(21,11,53,.45); color: var(--ac-text); box-shadow: inset 0 0 0 1px var(--ac-line-2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-weight: 400; }
.ac-chip--dark { background: rgba(21,11,53,.6); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-weight: 400; }
.ac-chip svg { width: 16px; height: 16px; }

/* ---------- Прелоадер ---------- */
.ac-preloader {
  position: fixed; inset: 0; z-index: 1000; background: var(--ac-bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  animation: acPreloaderAuto .6s ease 4.5s forwards; /* страховка: если скрипт не загрузился, прелоадер уходит сам */
}
@keyframes acPreloaderAuto { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.ac-preloader__mark { font-family: var(--ac-display); font-weight: 600; font-size: clamp(22px, 4vw, 40px); display: flex; gap: .4em; align-items: center; color: var(--ac-text); }
.ac-preloader__mark span { display: inline-block; opacity: 0; transform: translateY(20px); }
.ac-preloader__x { color: var(--ac-violet-2); font-weight: 400; }
.ac-preloader__bar { width: 160px; height: 2px; background: var(--ac-line); border-radius: 2px; overflow: hidden; }
.ac-preloader__bar i { display: block; height: 100%; width: 0; background: var(--ac-violet-2); }
.ac-page.ac-static .ac-preloader { display: none; }

/* ---------- Шапка лендинга ---------- */
.ac-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0; transition: background .4s, padding .4s, box-shadow .4s;
}
.ac-header.is-scrolled {
  padding: 12px 0;
  background: rgba(21,11,53,.74);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--ac-line);
}
.ac-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.ac-header__logo img { height: 36px; width: auto; }
.ac-header__nav { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.ac-header__nav a:not(.ac-btn) { position: relative; color: var(--ac-muted); transition: color .25s; padding: 6px 0; white-space: nowrap; }
.ac-header__nav a:not(.ac-btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--ac-violet-2); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ac-ease);
}
.ac-header__nav a:not(.ac-btn):hover, .ac-header__nav a.is-active { color: var(--ac-text); }
.ac-header__nav a:not(.ac-btn):hover::after, .ac-header__nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.ac-header__cta { margin-left: 8px; }
.ac-page .ac-burger { display: none; width: 44px; height: 44px; position: relative; z-index: 102; }
.ac-burger span { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ac-text); transition: transform .35s var(--ac-ease), top .35s var(--ac-ease); }
.ac-burger span:first-child { top: 17px; }
.ac-burger span:last-child { top: 25px; }
.ac-burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.ac-burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
@media (max-width: 1100px) { .ac-header__nav { gap: 18px; font-size: 14px; } }
@media (max-width: 960px) {
  .ac-page .ac-burger { display: block; }
  .ac-header__nav {
    position: fixed; inset: 0; z-index: 101; flex-direction: column; justify-content: center; gap: 26px;
    background: rgba(21,11,53,.96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    font-family: var(--ac-display); font-size: 22px;
    opacity: 0; pointer-events: none; transition: opacity .35s;
  }
  .ac-header__nav.is-open { opacity: 1; pointer-events: auto; }
  .ac-header__nav a:not(.ac-btn) { color: var(--ac-text); }
  .ac-header__cta { margin: 16px 0 0; font-family: var(--ac-body); }
}

/* ---------- Hero: фото зала на весь экран, текст внизу (как у /ai-conf-2026/) ---------- */
.ac-hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.ac-hero__bg { position: absolute; inset: 0; z-index: 0; }
.ac-hero__img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transform: scale(1.12); filter: saturate(.9) contrast(1.05); }
.ac-hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(21,11,53,.6) 0%, rgba(21,11,53,.15) 30%, rgba(21,11,53,.75) 70%, var(--ac-bg) 100%),
    linear-gradient(90deg, rgba(21,11,53,.7) 0%, rgba(21,11,53,.1) 60%);
}
.ac-hero__glow {
  position: absolute; left: -10%; bottom: -20%; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(139,92,246,.38), transparent 60%);
  filter: blur(40px); pointer-events: none; mix-blend-mode: screen;
}
.ac-hero__snow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ac-hero__inner { position: relative; z-index: 1; padding: 160px 0 110px; }
.ac-hero__meta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.ac-page .ac-hero__title {
  font-family: var(--ac-display); font-weight: 700;
  /* Две строки названия на компьютере, четыре — на телефоне; размер зависит от ширины контейнера. */
  font-size: min(calc((100vw - 48px) / 16.8), 70px); line-height: 1; letter-spacing: -.02em;
  margin-bottom: 30px; color: var(--ac-text);
}
.ac-hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; white-space: nowrap; }
.ac-hero__title .ac-br-m { display: none; }
@media (max-width: 640px) {
  .ac-page .ac-hero__title { font-size: min(10vw, 40px); }
  .ac-hero__title .ac-br-m { display: inline; }
}
.ac-hero__title .line > span { display: block; }
.ac-hero__title .ac-hero__accent { background: linear-gradient(90deg, var(--ac-violet-2), var(--ac-pink)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .05em; }
.ac-page .ac-hero__sub { max-width: 34ch; font-family: var(--ac-display); font-weight: 400; font-size: clamp(17px, 1.6vw, 23px); line-height: 1.32; color: #efe7ff; margin-bottom: 18px; }
.ac-page .ac-hero__text { max-width: 64ch; font-size: clamp(15px, 1.2vw, 17px); color: #d9ccff; margin-bottom: 36px; }
.ac-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.ac-hero__scroll { position: absolute; right: 0; bottom: 36px; width: 1px; height: 70px; background: var(--ac-line); overflow: hidden; }
.ac-hero__scroll span { position: absolute; left: 0; top: -100%; width: 100%; height: 100%; background: var(--ac-violet-2); animation: acScrollHint 2.2s var(--ac-ease) infinite; }
@keyframes acScrollHint { 0% { top: -100%; } 60%, 100% { top: 100%; } }
.ac-hero__ticker { position: relative; z-index: 1; width: 100%; border-top: 1px solid var(--ac-line); border-bottom: 1px solid var(--ac-line); background: rgba(21,11,53,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
@media (max-width: 640px) { .ac-hero__inner { padding: 120px 0 80px; } .ac-hero__meta { margin-bottom: 24px; } }

/* ---------- Бегущая строка ---------- */
.ac-ticker { overflow: hidden; white-space: nowrap; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ac-ticker__track { display: inline-flex; align-items: center; gap: 36px; padding: 16px 0; animation: acTicker 32s linear infinite; will-change: transform; }
.ac-ticker__track span { font-family: var(--ac-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ac-muted); }
.ac-ticker__track i { width: 6px; height: 6px; border-radius: 50%; background: var(--ac-violet-2); opacity: .8; }
.ac-ticker:hover .ac-ticker__track { animation-play-state: paused; }
@keyframes acTicker { to { transform: translateX(-50%); } }

/* ---------- О конференции: факты ---------- */
.ac-about { background: linear-gradient(180deg, var(--ac-bg) 0%, rgba(21,11,53,.42) 30%, rgba(21,11,53,.42) 100%); }
.ac-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ac-fact {
  position: relative; padding: 32px 28px 28px; border-radius: var(--ac-radius);
  background: rgba(31,16,80,.72); box-shadow: inset 0 0 0 1px var(--ac-line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  overflow: hidden; transition: box-shadow .4s, transform .5s var(--ac-ease);
}
.ac-fact::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .5s;
  background: radial-gradient(420px 220px at var(--mx, 50%) var(--my, 0%), rgba(139,92,246,.22), transparent 70%);
}
.ac-fact:hover { box-shadow: inset 0 0 0 1px var(--ac-line-2); transform: translateY(-3px); }
.ac-fact:hover::before { opacity: 1; }
.ac-fact__num { font-family: var(--ac-display); font-weight: 600; font-size: clamp(42px, 5vw, 70px); line-height: 1; letter-spacing: -.02em; white-space: nowrap; color: var(--ac-violet-2); }
.ac-fact__num small { font-size: .36em; font-weight: 500; color: var(--ac-muted); margin-left: .1em; }
.ac-fact__num--sm { font-size: clamp(34px, 3.9vw, 54px); }
.ac-fact__label { color: var(--ac-muted); font-size: 15px; line-height: 1.45; max-width: 28ch; }
.ac-fact--wide { grid-column: span 2; }
.ac-fact--wide .ac-fact__label { max-width: 52ch; }
.ac-fact--for { grid-column: span 2; justify-content: center; gap: 14px; background: var(--ac-card-2); color: var(--ac-card-text); box-shadow: none; }
.ac-fact--for::before { background: radial-gradient(420px 220px at var(--mx, 50%) var(--my, 0%), rgba(139,92,246,.16), transparent 70%); }
.ac-fact--for .ac-fact__kicker { font-family: var(--ac-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ac-violet-d); }
.ac-fact--for p { font-family: var(--ac-display); font-weight: 400; font-size: clamp(15px, 1.35vw, 19px); line-height: 1.4; }
@media (max-width: 1000px) { .ac-facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ac-facts { gap: 10px; } .ac-fact { min-height: 0; padding: 22px 18px 20px; gap: 12px; } .ac-fact__num { font-size: 40px; } .ac-fact__num--sm { font-size: 30px; } .ac-fact__label { font-size: 13px; } .ac-fact--for { grid-column: span 2; } }

/* ---------- Как это было: видео + фото конференции 18 сентября ---------- */
.ac-was { background: rgba(21,11,53,.5); overflow: hidden; }
.ac-was::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: var(--ac-line); }
.ac-was .ac-section__head { margin-bottom: clamp(28px, 3.5vw, 44px); }
.ac-was .ac-h2 { max-width: none; font-size: clamp(26px, 3.2vw, 42px); }
.ac-was .ac-section__head--row > div:first-child { flex: 1 1 520px; max-width: 860px; }
.ac-was__aside { flex: 0 0 auto; padding-bottom: 6px; }
.ac-was__aside { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
/* кнопка «Посмотреть» + подпись рядом — одна ссылка на сентябрьский лендинг */
.ac-was__more { display: inline-flex; align-items: center; gap: 16px; }
.ac-was__more-text { min-width: 0; font-size: 14px; line-height: 1.35; color: var(--ac-muted); transition: color .25s; }
.ac-was__more:hover .ac-was__more-text { color: #fff; }
.ac-page .ac-was__more:hover .ac-btn { transform: translateY(-2px); box-shadow: 0 16px 40px -14px rgba(255,255,255,.5); }
/* подарок: записи сентябрьской конференции в каждом билете — заметная плашка между шапкой блока и видео */
.ac-gift {
  position: relative; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px 26px;
  margin-bottom: clamp(24px, 3vw, 36px); padding: 24px 32px; border-radius: 24px; color: #fff;
  background: linear-gradient(110deg, #5b2be0 0%, #7c3aed 50%, #a43ee6 100%);
  box-shadow: 0 30px 80px -30px rgba(139,92,246,.75), inset 0 0 0 1px rgba(255,255,255,.2);
}
.ac-gift::before { content: ""; position: absolute; right: -6%; top: -120%; width: 46%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.28), transparent 62%); pointer-events: none; }
.ac-gift > * { position: relative; }
.ac-gift__icon { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.16); box-shadow: inset 0 0 0 1px rgba(255,255,255,.32); }
.ac-gift__icon svg { width: 30px; height: 30px; }
.ac-gift__text { font-family: var(--ac-display); font-weight: 500; font-size: clamp(16px, 1.55vw, 21px); line-height: 1.38; max-width: 46ch; text-wrap: balance; }
.ac-gift__text em { font-style: normal; font-weight: 700; white-space: nowrap; padding: .04em .42em .1em; border-radius: 9px; background: #fff; color: #4c1d95; }
.ac-was__stats { display: flex; gap: 28px; }
.ac-was__stats b { display: block; font-family: var(--ac-display); font-weight: 600; font-size: clamp(26px, 2.4vw, 34px); line-height: 1; color: var(--ac-violet-2); }
.ac-was__stats span { display: block; margin-top: 6px; font-size: 13px; color: var(--ac-muted); }
.ac-was__media { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.ac-was__mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 16px; }
.ac-photo { position: relative; margin: 0; border-radius: 18px; overflow: hidden; background: var(--ac-bg-3); isolation: isolate; box-shadow: inset 0 0 0 1px var(--ac-line); cursor: zoom-in; }
.ac-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ac-ease); user-select: none; -webkit-user-drag: none; }
.ac-photo:hover img { transform: scale(1.05); }
.ac-photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; font-size: 13px; line-height: 1.3; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(21,11,53,.85)); opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s var(--ac-ease);
}
.ac-photo:hover figcaption { opacity: 1; transform: none; }
@media (hover: none) { .ac-photo figcaption { opacity: 1; transform: none; } }
.ac-was__mosaic .ac-photo { aspect-ratio: 4 / 3; }
.ac-was__mosaic .ac-photo img { position: absolute; inset: 0; }

.ac-player {
  position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #000; cursor: pointer; align-self: stretch;
  box-shadow: 0 40px 100px -40px rgba(0,0,0,.9), inset 0 0 0 1px var(--ac-line-2);
}
.ac-player video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ac-player__preview { transition: opacity .6s, transform 1s var(--ac-ease); transform: scale(1.02); }
.ac-player__full { opacity: 0; pointer-events: none; }
.ac-player.is-playing .ac-player__preview { opacity: 0; pointer-events: none; }
.ac-player.is-playing .ac-player__full { opacity: 1; pointer-events: auto; cursor: default; }
.ac-player.is-playing .ac-player__play, .ac-player.is-playing .ac-player__caption, .ac-player.is-playing::after { opacity: 0; pointer-events: none; }
.ac-player::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(21,11,53,.65)); pointer-events: none; transition: opacity .4s; }
.ac-page .ac-player__play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 2;
  width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(139,92,246,.3); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fff;
  box-shadow: inset 0 0 0 1px rgba(196,165,255,.6);
  transition: transform .5s var(--ac-ease), background .3s;
}
.ac-player__play svg { margin-left: 4px; }
.ac-player:hover .ac-player__play { transform: scale(1.08); background: var(--ac-violet); }
.ac-player__ring { position: absolute; inset: -1px; border-radius: 50%; border: 1px solid rgba(196,165,255,.7); animation: acRing 2.4s ease-out infinite; }
@keyframes acRing { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }
.ac-player__caption { position: absolute; left: 24px; bottom: 20px; z-index: 2; display: flex; align-items: center; gap: 14px; font-size: 14px; color: rgba(255,255,255,.85); transition: opacity .3s; }

.ac-was__strip-head { display: flex; justify-content: space-between; align-items: center; margin-top: 40px; margin-bottom: 18px; }
.ac-was__strip-label { font-family: var(--ac-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ac-muted-2); }
.ac-gallery__nav { display: flex; gap: 10px; }
.ac-page .ac-arrow { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--ac-line-2); color: var(--ac-text); transition: background .25s, transform .3s var(--ac-ease), color .25s; }
.ac-page .ac-arrow:hover { background: var(--ac-violet); color: #fff; transform: scale(1.06); }
.ac-page .ac-arrow:disabled { opacity: .3; pointer-events: none; }
.ac-gallery {
  display: flex; gap: 14px; padding: 4px max(24px, (100% - var(--ac-container)) / 2) 8px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; cursor: grab;
}
.ac-gallery::-webkit-scrollbar { display: none; }
.ac-gallery.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.ac-gallery__item { flex: 0 0 auto; width: clamp(240px, 26vw, 380px); aspect-ratio: 3 / 2; scroll-snap-align: start; }
@media (max-width: 960px) {
  .ac-was__media { grid-template-columns: 1fr; }
  .ac-was__mosaic .ac-photo { aspect-ratio: 3 / 2; }
  .ac-was__aside { gap: 16px; }
}
/* ≤900px внизу экрана закреплена кнопка «Купить билет» (.ac-fab) — своя кнопка плашке не нужна */
@media (max-width: 900px) { .ac-gift { grid-template-columns: auto minmax(0, 1fr); } .ac-page .ac-gift__btn { display: none; } }
@media (max-width: 640px) {
  /* на телефоне текст на всю ширину плашки, подарок — крупным полупрозрачным знаком в правом нижнем углу */
  .ac-gift { display: block; padding: 18px 20px 20px; border-radius: 20px; }
  .ac-gift .ac-gift__icon { position: absolute; right: 12px; bottom: 10px; width: 56px; height: 56px; background: none; box-shadow: none; opacity: .4; }
  .ac-gift__icon svg { width: 56px; height: 56px; stroke-width: 1.4; }
  .ac-gift__text { font-size: 15px; max-width: none; text-wrap: pretty; }
}
@media (max-width: 640px) {
  .ac-player { border-radius: 16px; } .ac-page .ac-player__play { width: 72px; height: 72px; } .ac-player__caption { left: 14px; bottom: 12px; font-size: 12px; } .ac-player__caption span:last-child { display: none; }
  .ac-was__mosaic { gap: 10px; } .ac-photo { border-radius: 12px; } .ac-photo figcaption { font-size: 12px; padding: 30px 12px 10px; }
  .ac-was__stats { gap: 18px; } .ac-gallery { gap: 10px; padding-left: 16px; padding-right: 16px; } .ac-gallery__item { width: 72vw; }
}

/* ---------- Лайтбокс ---------- */
.ac-lightbox {
  position: fixed; inset: 0; z-index: 600; background: rgba(12,6,32,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: grid; place-items: center; padding: 60px; opacity: 0; pointer-events: none; transition: opacity .35s;
}
.ac-lightbox.is-open { opacity: 1; pointer-events: auto; }
.ac-lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.ac-lightbox img { max-width: min(1400px, 100%); max-height: calc(100vh - 160px); width: auto; border-radius: 12px; object-fit: contain; transform: scale(.96); transition: transform .5s var(--ac-ease); }
.ac-lightbox.is-open img { transform: none; }
.ac-lightbox figcaption { color: var(--ac-muted); font-size: 14px; text-align: center; }
.ac-page .ac-lightbox__close { position: absolute; top: 22px; right: 22px; width: 48px; height: 48px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--ac-line-2); }
.ac-lightbox__close::before, .ac-lightbox__close::after { content: ""; position: absolute; left: 15px; top: 23px; width: 18px; height: 1.5px; background: var(--ac-text); transform: rotate(45deg); }
.ac-lightbox__close::after { transform: rotate(-45deg); }
.ac-page .ac-lightbox__arrow { position: absolute; top: 50%; translate: 0 -50%; width: 56px; height: 56px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--ac-line-2); transition: background .25s; }
.ac-page .ac-lightbox__arrow:hover { background: rgba(139,92,246,.3); }
.ac-lightbox__arrow::before { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border-right: 1.5px solid var(--ac-text); border-bottom: 1.5px solid var(--ac-text); translate: -50% -50%; }
.ac-lightbox__arrow--prev { left: 24px; } .ac-lightbox__arrow--prev::before { transform: rotate(135deg); margin-left: 2px; }
.ac-lightbox__arrow--next { right: 24px; } .ac-lightbox__arrow--next::before { transform: rotate(-45deg); margin-left: -2px; }
@media (max-width: 640px) { .ac-lightbox { padding: 70px 12px 40px; } .ac-page .ac-lightbox__arrow { display: none; } }

/* ---------- Программа ---------- */
.ac-program { background: linear-gradient(180deg, rgba(21,11,53,.6), rgba(21,11,53,.35) 40%, rgba(21,11,53,.35)); }
.ac-program::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: var(--ac-line); }
.ac-note { display: inline-flex; align-items: flex-start; gap: 10px; margin-top: 18px; padding: 10px 16px; border-radius: 12px; background: rgba(255,107,122,.1); box-shadow: inset 0 0 0 1px rgba(255,107,122,.3); color: #ffb3bc; font-size: 14px; line-height: 1.4; }
.ac-note::before { content: ""; flex: 0 0 auto; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: #ff6b7a; }
.ac-timeline { position: relative; max-width: 1040px; }
.ac-timeline::before { content: ""; position: absolute; left: 118px; top: 20px; bottom: 20px; width: 1px; background: var(--ac-line-2); z-index: 1; }
.ac-timeline::after { content: ""; position: absolute; left: 118px; top: 20px; bottom: 20px; width: 1px; background: var(--ac-violet-2); transform: scaleY(var(--draw, 0)); transform-origin: top; box-shadow: 0 0 12px var(--ac-glow); z-index: 1; }
.ac-tl { position: relative; display: grid; grid-template-columns: 118px 1fr; gap: 0 48px; padding: 12px 0; }
.ac-tl::before {
  content: ""; position: absolute; left: 113px; top: 34px; width: 11px; height: 11px; border-radius: 50%; z-index: 2;
  background: var(--ac-bg); box-shadow: inset 0 0 0 2px var(--ac-violet-2); transition: background .3s, transform .3s;
}
.ac-tl:hover::before, .ac-tl.is-open::before { background: var(--ac-violet-2); transform: scale(1.2); box-shadow: inset 0 0 0 2px var(--ac-violet-2), 0 0 14px var(--ac-glow); }
.ac-tl__time { font-family: var(--ac-mono); font-weight: 500; font-size: 18px; letter-spacing: .02em; padding-top: 24px; color: var(--ac-violet-2); line-height: 1.3; }
.ac-tl__time small { display: block; font-size: 12px; color: var(--ac-muted-2); letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; }
.ac-tl__body {
  min-width: 0; background: var(--ac-card-2); color: var(--ac-card-text); border-radius: 18px; padding: 28px 32px 26px;
  box-shadow: 0 20px 60px -30px rgba(0,0,0,.6);
  transition: transform .5s var(--ac-ease), box-shadow .5s;
}
.ac-tl:hover .ac-tl__body { transform: translateX(4px); box-shadow: 0 30px 70px -30px rgba(0,0,0,.7); }
.ac-tl--break .ac-tl__body { background: var(--ac-card-green); }
.ac-tl--slot .ac-tl__body { background: var(--ac-card); }
/* Блок программы — панель-группа: заголовок блока сверху, его выступления внутри, рельса таймлайна проходит сквозь */
.ac-block {
  position: relative; margin: 14px -22px; padding: 10px 22px 12px; border-radius: 30px;
  background: linear-gradient(180deg, rgba(190,160,255,.09), rgba(190,160,255,.03) 220px, rgba(190,160,255,.03));
  box-shadow: inset 0 0 0 1px rgba(190,160,255,.22);
}
.ac-block__head { position: relative; display: grid; grid-template-columns: 118px 1fr; gap: 0 48px; padding: 12px 0; }
.ac-block__head::before {
  content: ""; position: absolute; left: 110px; top: 31px; width: 17px; height: 17px; border-radius: 50%; z-index: 2;
  background: var(--ac-violet-2); box-shadow: 0 0 0 4px rgba(196,165,255,.22), 0 0 18px var(--ac-glow);
}
.ac-block__num { font-family: var(--ac-display); font-weight: 600; font-size: 34px; line-height: 1; letter-spacing: -.02em; padding-top: 20px; color: var(--ac-violet-2); opacity: .9; }
.ac-block__card {
  min-width: 0; background: var(--ac-card-blue); color: var(--ac-card-text); border-radius: 18px; padding: 28px 32px 28px;
  box-shadow: 0 20px 60px -30px rgba(0,0,0,.6);
}
.ac-block__kicker { display: block; font-family: var(--ac-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #2d5bbf; margin-bottom: 10px; }
.ac-block__kicker span { white-space: nowrap; }
.ac-block__title { font-family: var(--ac-display); font-weight: 600; font-size: clamp(20px, 1.9vw, 26px); line-height: 1.22; letter-spacing: -.01em; color: var(--ac-card-text); text-wrap: balance; }
.ac-block__text { margin-top: 12px; color: #2b2358; max-width: 66ch; }
.ac-block__items { position: relative; }
.ac-block__items > .ac-tl:last-child { padding-bottom: 6px; }
.ac-tl__host { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: 28px; align-items: center; }
.ac-tl__host-photo { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; }
.ac-tl__host-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }
.ac-tl__host .ac-block__title { margin-bottom: 16px; }
.ac-tl__host b { display: block; font-weight: 700; font-size: 16px; text-transform: uppercase; letter-spacing: .02em; }
.ac-tl__host p { margin-top: 6px; color: var(--ac-card-muted); max-width: 48ch; }
.ac-tl__speakers { display: flex; flex-wrap: wrap; gap: 14px 32px; margin-bottom: 18px; }
.ac-speaker { display: flex; align-items: center; gap: 14px; }
.ac-speaker img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; box-shadow: 0 0 0 2px var(--ac-violet); }
.ac-speaker b { display: block; font-weight: 600; font-size: 16px; line-height: 1.25; }
.ac-speaker span { display: block; color: var(--ac-card-muted); font-size: 13px; line-height: 1.4; max-width: 50ch; margin-top: 3px; }
.ac-tl__title { font-family: var(--ac-display); font-weight: 600; font-size: clamp(17px, 1.55vw, 21px); line-height: 1.28; letter-spacing: -.01em; margin-bottom: 10px; text-wrap: pretty; }
.ac-tl__title--sm { font-size: clamp(14px, 1.15vw, 16px); font-weight: 600; text-transform: uppercase; letter-spacing: .02em; }
.ac-tl__title--sm em { font-style: normal; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--ac-card-muted); }
.ac-tl__short { color: #2b2358; max-width: 66ch; }
.ac-tl--break .ac-tl__short, .ac-tl--slot .ac-tl__short { color: var(--ac-card-muted); }
.ac-tl__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ac-ease); }
.ac-tl__more-inner { overflow: hidden; }
.ac-tl__more-inner > * { opacity: 0; transform: translateY(8px); transition: opacity .4s .1s, transform .5s .1s var(--ac-ease); }
.ac-tl.is-open .ac-tl__more { grid-template-rows: 1fr; }
.ac-tl.is-open .ac-tl__more-inner > * { opacity: 1; transform: none; }
.ac-tl__more p, .ac-tl__more ol, .ac-tl__more ul { color: #3d3470; max-width: 66ch; margin-top: 14px; }
.ac-tl__more ol { counter-reset: ac; }
.ac-tl__more ol li { position: relative; padding-left: 30px; margin-top: 8px; counter-increment: ac; }
.ac-tl__more ol li::before { content: counter(ac); position: absolute; left: 0; top: .1em; width: 20px; height: 20px; border-radius: 50%; background: var(--ac-violet); color: #fff; font-family: var(--ac-mono); font-size: 11px; display: grid; place-items: center; }
.ac-tl__more ul li { position: relative; padding-left: 18px; margin-top: 6px; }
.ac-tl__more ul li::before { content: ""; position: absolute; left: 0; top: .65em; width: 7px; height: 2px; background: var(--ac-violet); }
.ac-tl__more .ac-tl__result { color: var(--ac-card-text); }
.ac-tl__more .ac-tl__result b { color: var(--ac-violet-d); }
.ac-tl__toggle { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--ac-violet-d); transition: color .2s; }
.ac-tl__toggle::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .35s var(--ac-ease); }
.ac-tl__toggle:hover { color: #4c1d95; }
.ac-tl.is-open .ac-tl__toggle::after { transform: rotate(-135deg) translateY(-2px); }
.ac-tl__cta { margin-top: 16px; }
.ac-tl__tree { display: inline-block; vertical-align: -3px; width: 18px; height: 18px; margin-right: 6px; color: #2f9e44; }
@media (max-width: 720px) {
  .ac-timeline::before, .ac-timeline::after { left: 5px; }
  .ac-tl { grid-template-columns: 1fr; gap: 8px; padding: 10px 0 10px 26px; }
  .ac-tl::before { left: 0; top: 16px; }
  .ac-block { margin: 12px -10px; padding: 6px 10px 8px; border-radius: 22px; }
  .ac-block__head { grid-template-columns: 1fr; gap: 6px; padding: 10px 0 10px 26px; }
  .ac-block__head::before { left: -2px; top: 13px; width: 15px; height: 15px; }
  .ac-block__num { font-size: 22px; padding: 0; }
  .ac-block__card { padding: 20px 20px 20px; border-radius: 14px; }
  .ac-tl__time { font-size: 14px; padding: 0; }
  .ac-tl__time small { display: inline; margin-left: 8px; }
  .ac-tl__body { padding: 20px 20px 18px; border-radius: 14px; }
  .ac-tl:hover .ac-tl__body { transform: none; }
  .ac-speaker span { max-width: none; }
  .ac-tl__host { grid-template-columns: 1fr; gap: 18px; }
  .ac-tl__host-photo { aspect-ratio: 16 / 9; }
}

/* ---------- Форматы участия: два тарифа, кнопки — триггеры попапа Timepad (светлая секция) ---------- */
.ac-tickets { background: var(--ac-light); color: var(--ac-card-text); overflow: hidden; padding: clamp(56px, 7vw, 88px) 0; }
.ac-tickets::before {
  content: ""; position: absolute; right: -15%; top: -30%; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(139,92,246,.35), transparent 60%); filter: blur(40px); pointer-events: none;
}
.ac-tickets::after {
  content: ""; position: absolute; left: -20%; bottom: -40%; width: 50vw; height: 50vw; max-width: 700px; max-height: 700px;
  background: radial-gradient(circle, rgba(239,195,255,.5), transparent 60%); filter: blur(50px); pointer-events: none;
}
.ac-tickets__inner { position: relative; z-index: 1; }
.ac-tickets__head { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px 56px; align-items: end; margin-bottom: clamp(28px, 3.5vw, 44px); }
.ac-tickets .ac-h2 { max-width: 18ch; }
.ac-tickets .ac-section__lead { margin-top: 0; max-width: none; color: #3d3470; }
.ac-tickets .ac-section__lead a { color: var(--ac-violet-d); border-color: rgba(109,61,240,.3); }
.ac-tickets .ac-section__lead a:hover { color: #4c1d95; border-color: currentColor; }

.ac-tickets__sub { margin-bottom: 20px; }
.ac-tickets__sub h3 { font-family: var(--ac-display); font-weight: 600; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.3; letter-spacing: -.01em; }
.ac-tariffs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ac-tariff {
  position: relative; display: flex; flex-direction: column; padding: 32px 32px 28px; border-radius: 24px;
  background: #fff; color: var(--ac-card-text); box-shadow: 0 30px 70px -40px rgba(76,29,149,.45), inset 0 0 0 1px rgba(109,61,240,.1);
  transition: transform .5s var(--ac-ease), box-shadow .5s;
}
.ac-tariff:hover { transform: translateY(-4px); box-shadow: 0 44px 90px -40px rgba(76,29,149,.55), inset 0 0 0 1px rgba(109,61,240,.25); }
.ac-tariff__top { display: flex; align-items: center; justify-content: space-between; gap: 10px 14px; flex-wrap: wrap; margin-bottom: 18px; }
.ac-tariff__name { font-family: var(--ac-display); font-weight: 600; font-size: 20px; text-transform: uppercase; letter-spacing: .02em; background: linear-gradient(90deg, #6d3df0, #b14ff0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ac-tariff__tag { font-family: var(--ac-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ac-violet-d); padding: 6px 12px; border-radius: 999px; background: rgba(109,61,240,.08); white-space: nowrap; }
.ac-tariff__prices { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 16px; margin-bottom: 14px; }
.ac-tariff__price { flex: 1 1 auto; min-width: 0; font-family: var(--ac-display); font-weight: 600; font-size: clamp(34px, 3.2vw, 46px); line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.ac-tariff__price small { display: block; margin-top: 8px; font-family: var(--ac-mono); font-weight: 500; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ac-violet-d); white-space: normal; }
.ac-tariff__next { flex: 0 0 auto; text-align: right; padding: 10px 14px; border-radius: 14px; background: rgba(109,61,240,.06); box-shadow: inset 0 0 0 1px rgba(109,61,240,.12); }
.ac-tariff__next span { display: block; font-family: var(--ac-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ac-card-muted); }
.ac-tariff__next b { display: block; margin-top: 4px; font-family: var(--ac-display); font-weight: 600; font-size: 20px; line-height: 1; letter-spacing: -.01em; color: #3d3470; white-space: nowrap; }
.ac-tariff__desc { font-size: 17px; line-height: 1.45; color: #2b2358; margin-bottom: 18px; }
.ac-tariff__list { display: grid; gap: 10px; align-content: start; margin-bottom: 26px; padding-top: 18px; border-top: 1px solid rgba(109,61,240,.12); flex: 1 1 auto; }
.ac-tariff__list li { position: relative; padding-left: 28px; font-size: 15px; line-height: 1.45; color: #3d3470; }
.ac-tariff__list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: rgba(109,61,240,.12); }
.ac-tariff__list li::after { content: ""; position: absolute; left: 6px; top: 6px; width: 4px; height: 7px; border-right: 2px solid var(--ac-violet-d); border-bottom: 2px solid var(--ac-violet-d); transform: rotate(45deg); }
.ac-page .ac-tariff__btn { margin-top: auto; }

.ac-tickets__fine { margin-top: 16px; font-size: 13px; line-height: 1.5; color: #5a4f8a; max-width: 92ch; padding: 0 4px; }

/* Счёт для юрлиц: белая карточка в гамме тарифов Timepad — текст слева, короткая форма справа */
.ac-invoice {
  margin-top: 28px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px 48px; align-items: center;
  background: #fff; color: var(--ac-card-text); border-radius: 24px; padding: 36px 40px;
  box-shadow: 0 30px 70px -40px rgba(76,29,149,.45), inset 0 0 0 1px rgba(109,61,240,.1);
}
.ac-invoice__kicker { display: inline-block; font-family: var(--ac-display); font-weight: 600; font-size: 20px; text-transform: uppercase; letter-spacing: .02em; background: linear-gradient(90deg, #6d3df0, #b14ff0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ac-invoice__text h3 { font-family: var(--ac-display); font-weight: 700; font-size: clamp(21px, 1.9vw, 27px); line-height: 1.22; letter-spacing: -.01em; margin: 16px 0; text-wrap: balance; }
.ac-invoice__text p { color: #3d3470; max-width: 48ch; }
.ac-invoice__text p + p { margin-top: 10px; }
.ac-form { position: relative; }
.ac-page .ac-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ac-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ac-field { display: block; min-width: 0; }
.ac-field--wide { grid-column: 1 / -1; }
.ac-page .ac-field input {
  width: 100%; height: 56px; padding: 0 18px; border-radius: 14px; border: 1px solid rgba(109,61,240,.22); margin: 0;
  background: #f7f3ff; color: var(--ac-card-text); font: inherit; font-size: 16px; outline: none; box-shadow: none; -webkit-appearance: none; appearance: none;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.ac-page .ac-field input::placeholder { color: #6a5f9c; opacity: 1; }
.ac-page .ac-field input:hover { border-color: rgba(109,61,240,.4); }
.ac-page .ac-field input:focus { border-color: var(--ac-violet-d); background: #fff; box-shadow: 0 0 0 4px rgba(109,61,240,.14); }
.ac-page .ac-field.is-error input { border-color: #d6455d; box-shadow: 0 0 0 4px rgba(214,69,93,.13); }
.ac-check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: #5a4f8a; margin: 16px 0 18px; cursor: pointer; }
.ac-page .ac-check input { position: absolute; opacity: 0; width: 0; height: 0; margin: 0; }
.ac-check i { flex: 0 0 auto; width: 20px; height: 20px; border-radius: 6px; border: 1px solid rgba(109,61,240,.4); background: #fff; margin-top: 1px; position: relative; transition: background .2s, border-color .2s; font-style: normal; }
.ac-check i::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg) scale(0); transition: transform .25s var(--ac-ease); }
.ac-check input:checked + i { background: var(--ac-violet-d); border-color: var(--ac-violet-d); }
.ac-check input:checked + i::after { transform: rotate(45deg) scale(1); }
.ac-check input:focus-visible + i { outline: 2px solid var(--ac-violet-d); outline-offset: 2px; }
.ac-check.is-error i { border-color: #d6455d; box-shadow: 0 0 0 4px rgba(214,69,93,.13); }
.ac-check a { color: var(--ac-violet-d); border-bottom: 1px solid rgba(109,61,240,.3); }
.ac-check a:hover { border-color: currentColor; }
.ac-form__error { display: none; margin: -8px 0 16px; font-size: 13px; color: #b3263e; }
.ac-form__error a { color: inherit; font-weight: 600; border-bottom: 1px solid rgba(179,38,62,.4); }
.ac-form.is-failed .ac-form__error { display: block; }
.ac-form__success {
  position: absolute; inset: -8px; border-radius: 20px; background: #fff; padding: 20px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center;
  opacity: 0; visibility: hidden; transition: opacity .5s, visibility 0s .5s;
}
.ac-form__ok { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(47,158,68,.12); color: #2f9e44; }
.ac-form__ok svg { width: 26px; height: 26px; }
.ac-form__success b { font-family: var(--ac-display); font-weight: 600; font-size: 22px; }
.ac-form__success p { color: #3d3470; max-width: 44ch; }
.ac-page .ac-form__success .ac-btn { margin-top: 6px; }
.ac-page .ac-btn[hidden] { display: none; }
.ac-form.is-sent .ac-form__success { opacity: 1; visibility: visible; transition: opacity .5s; }
.ac-form.is-sending .ac-btn { opacity: .6; pointer-events: none; }

.ac-charity { margin-top: 20px; display: flex; align-items: center; gap: 18px; padding: 14px 20px; border-radius: 16px; background: rgba(255,255,255,.6); box-shadow: inset 0 0 0 1px rgba(109,61,240,.1); }
.ac-charity img { flex: 0 0 auto; width: 92px; height: auto; }
.ac-charity p { font-size: 14px; color: #2b2358; line-height: 1.4; }
@media (max-width: 1000px) {
  .ac-tickets__head { grid-template-columns: 1fr; align-items: start; }
  .ac-invoice { grid-template-columns: 1fr; gap: 24px; padding: 28px 24px; }
  .ac-invoice__text p { max-width: 66ch; }
}
@media (max-width: 760px) { .ac-tariffs { grid-template-columns: 1fr; gap: 14px; } }
@media (max-width: 640px) {
  .ac-tariff { padding: 24px 20px 22px; border-radius: 20px; } .ac-tariff__price { font-size: 34px; }
  .ac-tariff__next { padding: 8px 12px; } .ac-tariff__next b { font-size: 18px; } .ac-tariff__price small { max-width: 14ch; }
  .ac-invoice { padding: 24px 18px; border-radius: 22px; } .ac-form__grid { grid-template-columns: 1fr; gap: 10px; }
}

/* ---------- Организатор, оргкомитет, площадка ---------- */
.ac-team { background: rgba(21,11,53,.55); }
.ac-team::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: var(--ac-line); }
.ac-team__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px; }
.ac-card {
  position: relative; padding: 32px; border-radius: 24px; overflow: hidden;
  background: rgba(31,16,80,.72); box-shadow: inset 0 0 0 1px var(--ac-line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.ac-card__kicker { display: block; font-family: var(--ac-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ac-violet-2); margin-bottom: 20px; }
.ac-person { display: flex; align-items: center; gap: 22px; }
.ac-person img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; box-shadow: 0 0 0 3px var(--ac-violet), 0 20px 40px -20px rgba(0,0,0,.6); }
.ac-person b { display: block; font-family: var(--ac-display); font-weight: 600; font-size: 20px; line-height: 1.25; margin-bottom: 8px; }
.ac-person p { color: var(--ac-muted); font-size: 15px; max-width: 44ch; }
.ac-committee { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.ac-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.ac-contact img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--ac-violet); }
.ac-contact b { display: block; font-weight: 600; font-size: 16px; line-height: 1.25; }
.ac-tg { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; background: rgba(190,160,255,.12); box-shadow: inset 0 0 0 1px var(--ac-line-2); font-family: var(--ac-mono); font-size: 13px; color: var(--ac-text); transition: background .25s, box-shadow .25s; }
.ac-tg svg { width: 18px; height: 18px; color: #2aabee; }
.ac-tg:hover { background: rgba(190,160,255,.22); box-shadow: inset 0 0 0 1px rgba(190,160,255,.6); color: #fff; }
.ac-logos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.ac-logo { display: flex; align-items: center; gap: 20px; padding: 24px 28px; border-radius: 20px; background: rgba(31,16,80,.72); box-shadow: inset 0 0 0 1px var(--ac-line); }
.ac-logo__img { flex: 0 0 auto; display: grid; place-items: center; width: 110px; height: 52px; }
.ac-logo__img img { max-height: 40px; width: auto; }
.ac-logo--kd .ac-logo__img img { max-height: 28px; }
.ac-logo span { display: block; font-family: var(--ac-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ac-muted-2); margin-bottom: 4px; }
.ac-logo p { font-size: 14px; color: var(--ac-muted); }
.ac-venue { position: relative; min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; padding: 32px; color: #fff; }
.ac-venue img.ac-venue__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ac-venue::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,11,53,.1), rgba(21,11,53,.85) 75%); }
.ac-venue > * { position: relative; z-index: 1; }
.ac-venue__title { font-family: var(--ac-display); font-weight: 600; font-size: 24px; margin-bottom: 8px; }
.ac-venue p { color: #e4d9ff; font-size: 15px; max-width: 40ch; }
.ac-venue .ac-btn { margin-top: 18px; align-self: flex-start; }
@media (max-width: 960px) { .ac-team__grid { grid-template-columns: 1fr; } .ac-venue { min-height: 340px; } }
@media (max-width: 560px) { .ac-card { padding: 24px 20px; } .ac-person { flex-direction: column; align-items: flex-start; gap: 16px; } .ac-committee { grid-template-columns: 1fr; } .ac-logos { grid-template-columns: 1fr; } .ac-logo { padding: 20px; } }

/* ---------- FAQ ---------- */
.ac-faq { background: rgba(21,11,53,.62); }
.ac-faq::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: var(--ac-line); }
.ac-faq__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.ac-faq__head { position: sticky; top: calc(var(--ac-top) + 72px); }
.ac-qa { border-top: 1px solid var(--ac-line-2); }
.ac-qa:last-child { border-bottom: 1px solid var(--ac-line-2); }
.ac-qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font-family: var(--ac-display); font-weight: 500; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.35;
  transition: color .25s;
}
.ac-qa summary::-webkit-details-marker { display: none; }
.ac-qa summary::after {
  content: ""; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--ac-line-2);
  background:
    linear-gradient(var(--ac-violet-2), var(--ac-violet-2)) center / 12px 2px no-repeat,
    linear-gradient(var(--ac-violet-2), var(--ac-violet-2)) center / 2px 12px no-repeat;
  transition: transform .4s var(--ac-ease);
}
.ac-qa[open] summary::after { transform: rotate(135deg); }
.ac-qa summary:hover { color: var(--ac-violet-2); }
.ac-qa__body { overflow: hidden; }
.ac-qa__body p { color: var(--ac-muted); max-width: 62ch; padding-bottom: 24px; }
.ac-qa__body a { color: var(--ac-violet-2); border-bottom: 1px solid rgba(196,165,255,.35); }
.ac-qa__body a:hover { border-color: currentColor; }
@media (max-width: 900px) { .ac-faq__inner { grid-template-columns: 1fr; gap: 24px; } .ac-faq__head { position: static; } }

/* ---------- Финальный призыв ---------- */
.ac-final { background: linear-gradient(180deg, rgba(21,11,53,.4), var(--ac-bg)); text-align: center; overflow: hidden; }
.ac-final::before { content: ""; position: absolute; left: 50%; top: 40%; translate: -50% -50%; width: 70vw; height: 70vw; max-width: 1000px; max-height: 1000px; background: radial-gradient(circle, rgba(139,92,246,.35), transparent 60%); filter: blur(60px); pointer-events: none; }
.ac-final__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.ac-final .ac-h2 { max-width: 22ch; margin-inline: auto; }
.ac-final__date { font-family: var(--ac-mono); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--ac-violet-2); }
.ac-final__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.ac-trees { display: flex; justify-content: center; align-items: flex-end; gap: 10px; margin-top: 24px; color: rgba(196,165,255,.55); }
.ac-trees svg { width: 22px; height: 26px; }
.ac-trees svg:nth-child(2n) { width: 30px; height: 36px; color: rgba(239,195,255,.7); }

/* ---------- Подвал лендинга ---------- */
.ac-footer { position: relative; z-index: 1; background: var(--ac-bg); border-top: 1px solid var(--ac-line); padding: 64px 0 32px; font-size: 15px; }
.ac-footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.ac-footer__brand img { height: 32px; width: auto; margin-bottom: 20px; }
.ac-footer__brand p { color: var(--ac-muted); max-width: 44ch; }
.ac-footer__col { display: flex; flex-direction: column; gap: 8px; }
.ac-footer__col > span { font-family: var(--ac-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ac-muted-2); margin-bottom: 8px; }
.ac-footer__col a { color: var(--ac-text); width: fit-content; border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
.ac-footer__col a:hover { border-color: var(--ac-violet-2); color: var(--ac-violet-2); }
.ac-footer__col p { color: var(--ac-muted); line-height: 1.6; }
.ac-footer__bottom { grid-column: 1 / -1; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--ac-line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--ac-muted-2); font-size: 13px; }
.ac-footer__bottom a { color: var(--ac-muted); }
.ac-footer__bottom a:hover { color: var(--ac-violet-2); }
.ac-footer__dev { white-space: nowrap; }
@media (max-width: 760px) { .ac-footer__inner { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Плавающая кнопка на мобильных ---------- */
.ac-fab { display: none; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; transform: translateY(120%); transition: transform .5s var(--ac-ease); }
.ac-fab.is-visible { transform: none; }
.ac-fab .ac-btn { width: 100%; box-shadow: 0 20px 50px -14px rgba(0,0,0,.7); }
@media (max-width: 900px) { .ac-fab { display: block; } }

/* ---------- Появление ---------- */
/* Стартовые состояния (opacity 0, сдвиг) ставит скрипт через gsap.set — без GSAP или при ошибке загрузки скрипта страница видна целиком. */

@media (prefers-reduced-motion: reduce) {
  .ac-page *, .ac-page *::before, .ac-page *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
  .ac-preloader { animation-delay: 0s !important; }
  .ac-bg canvas, .ac-hero__snow { display: none; }
  .ac-bg canvas + .ac-bg__fallback { display: block; }
}
