/* Форум Территория 2026. Стили по макету Евгения (Figma, кадр 2029, 6 сентября 2026). База 1920 пикселей, контейнер 1702. Правки по замечаниям 7 сентября: наведения, ярлыки, спикеры, плитки, расписание с раскрытием. */
:root {
  --bg: #DEE3E4;
  --ink: #211A25;
  --grey: #5B5260;
  --violet: #7700FF;
  --violet-2: #7C1EFF;
  --lime: #C9FF36;
  --plate: #EEF2F5;
  --plate-2: #CAD7DF;
  --dark: #2D1A48;
  --white: #FFFFFF;
  --line: #B2B2B2;
  --pad: clamp(20px, 5.68vw, 109px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: clamp(72px, 5.2vw, 104px); }
html.is-static { scroll-behavior: auto; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'Rostelecom Basis', 'Arial', sans-serif; font-size: clamp(16px, 1.04vw, 20px); line-height: 1.1; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }
.container { width: min(100% - var(--pad) * 2, 1702px); margin-inline: auto; }
.section { padding-block: clamp(48px, 5.2vw, 100px) 0; }

/* Срезы углов под 45 градусов */
.cut-tr { clip-path: polygon(0 0, calc(100% - var(--cut, 90px)) 0, 100% var(--cut, 90px), 100% 100%, 0 100%); }
.cut-tl { clip-path: polygon(var(--cut, 90px) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut, 90px)); }
.cut-br { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut, 90px)), calc(100% - var(--cut, 90px)) 100%, 0 100%); }
.cut-2 { clip-path: polygon(var(--cut, 90px) 0, 100% 0, 100% calc(100% - var(--cut, 90px)), calc(100% - var(--cut, 90px)) 100%, 0 100%, 0 var(--cut, 90px)); }

/* Типографика */
.kicker { display: inline-flex; align-items: center; gap: 12px; color: var(--violet); font-size: clamp(16px, 1.25vw, 24px); margin-bottom: clamp(14px, 1.4vw, 28px); }
.kicker::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.kicker.is-link { cursor: pointer; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color 0.2s, color 0.2s; }
.kicker.is-link:hover { text-decoration-color: currentColor; }
.h2 { font-size: clamp(36px, 4.17vw, 80px); line-height: 1; font-weight: 700; letter-spacing: -0.01em; max-width: 16ch; }
.h2.is-white { color: var(--white); }
.h2 .w { display: inline-block; opacity: 0; transform: translateY(0.3em); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.h2.is-in .w { opacity: 1; transform: none; }
.head-row { display: grid; gap: 24px; grid-template-columns: 1fr; align-items: start; margin-bottom: clamp(28px, 2.6vw, 50px); }
@media (min-width: 900px) { .head-row { grid-template-columns: 1fr 1fr; gap: 40px; } .head-note, .head-cols { padding-top: 0.5em; } }
.head-cols { display: grid; gap: 28px; grid-template-columns: 1fr; font-size: clamp(16px, 1.04vw, 20px); line-height: 1.2; }
@media (min-width: 700px) { .head-cols { grid-template-columns: 1fr 1fr; } }
.head-note { font-size: clamp(16px, 1.04vw, 20px); line-height: 1.2; max-width: 46ch; }

/* Кнопки: пилюли */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 30px; border-radius: 70px; font-size: 17px; font-weight: 700; white-space: nowrap; transition: transform 0.35s var(--ease), background 0.25s, color 0.25s; }
.btn:hover { transform: translateY(-2px); }
.btn.is-violet { background: var(--violet); color: var(--white); }
.btn.is-violet:hover { background: var(--lime); color: var(--ink); }
.btn.is-lime { background: var(--lime); color: var(--ink); }
.btn.is-lime:hover { background: var(--violet); color: var(--white); }
.reg-plate .btn.is-lime:hover, .hero-date .btn.is-lime:hover { background: var(--white); color: var(--ink); }

/* Шапка */
.header { position: sticky; top: 0; z-index: 50; background: var(--white); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: clamp(64px, 4.95vw, 95px); }
.brand { display: flex; align-items: center; gap: clamp(18px, 2.7vw, 52px); }
.brand .logo-rt { width: clamp(120px, 10.4vw, 200px); height: auto; }
.brand .logo-tr { width: clamp(130px, 11.29vw, 217px); height: auto; margin-top: clamp(4.6px, 0.4vw, 7.6px); }
.brand img.is-dark { display: none; }
html[data-theme="dark"] .brand img.is-light { display: none; }
html[data-theme="dark"] .brand img.is-dark { display: block; }
.nav { display: none; gap: clamp(18px, 1.6vw, 30px); font-size: clamp(15px, 0.885vw, 17px); font-weight: 500; }
.nav a { transition: color 0.2s; white-space: nowrap; }
.nav a:hover { color: var(--violet); }
.header-cta { display: none; }
.header-right { display: flex; align-items: center; gap: 12px; }
.theme-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 20px; border-radius: 70px; font-size: 17px; font-weight: 700; color: var(--ink); background: var(--plate); }
.theme-toggle i { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.theme-toggle .t-dark { display: inline; } .theme-toggle .t-light { display: none; }
html[data-theme="dark"] .theme-toggle .t-dark { display: none; } html[data-theme="dark"] .theme-toggle .t-light { display: inline; }
html[data-theme="dark"] .theme-toggle i { background: var(--lime); }
.menu-btn { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; min-height: 44px; padding: 0 4px; }
@media (max-width: 1099px) { .theme-toggle { min-height: 44px; padding: 0 14px; font-size: 15px; gap: 6px; } }
@media (min-width: 1000px) { .nav, .header-cta { display: inline-flex; } .menu-btn { display: none; } }
.mobile-menu { position: fixed; inset: 64px 0 0 0; z-index: 49; background: var(--white); padding: 24px var(--pad); display: none; flex-direction: column; gap: 4px; }
.mobile-menu.is-open { display: flex; }
.mobile-menu a { font-size: 28px; font-weight: 700; padding: 12px 0; border-bottom: 1px solid var(--plate-2); }
.mobile-menu .btn { margin-top: 20px; align-self: flex-start; border-bottom: 0; font-size: 17px; padding: 0 30px; }
body.is-locked { overflow: hidden; }

/* Первый экран */
.hero-media { position: relative; overflow: hidden; min-height: clamp(520px, 39.6vw, 760px); display: flex; align-items: flex-start; isolation: isolate; }
.hero-video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero-tint { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(119, 0, 255, 0.92) 0%, rgba(119, 0, 255, 0.72) 38%, rgba(124, 30, 255, 0.35) 100%); }
.hero-text { color: var(--white); padding-block: clamp(32px, 3.2vw, 61px) clamp(48px, 4.9vw, 94px); }
.hero-title { font-size: clamp(44px, 5.16vw, 99px); line-height: 1.07; font-weight: 700; text-transform: uppercase; max-width: 12ch; }
.hero-title .w { display: inline-block; opacity: 0; transform: translateY(0.3em); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.hero-title.is-in .w { opacity: 1; transform: none; }
.hero-sub { margin-top: clamp(10px, 0.9vw, 17px); font-size: clamp(20px, 2.5vw, 48px); line-height: 1.09; max-width: 22ch; }
.hero-btn { margin-top: clamp(40px, 8.7vw, 167px); }
.hero-date { position: absolute; right: 0; bottom: clamp(48px, 4.9vw, 94px); z-index: 2; --cut: clamp(44px, 5vw, 96px); background: var(--violet-2); color: var(--white); padding: clamp(24px, 1.9vw, 36px) clamp(28px, 6.25vw, 120px) clamp(10px, 0.85vw, 16px) clamp(48px, 5vw, 96px); text-align: right; }
.hero-date-num { font-size: clamp(56px, 5.7vw, 109px); font-weight: 500; line-height: 1; }
.hero-date-month { font-size: clamp(20px, 1.67vw, 32px); font-weight: 500; line-height: 1; margin-top: 0; }
.hero-date-place { margin-top: clamp(12px, 1vw, 18px); font-size: clamp(14px, 1.04vw, 20px); line-height: 1.25; }
.hero-date-btn { display: none; margin-top: 22px; }
@media (max-width: 760px) {
  .hero-media { min-height: 0; display: block; }
  .hero-text { padding: 28px var(--pad) 300px; }
  .hero-title { max-width: 100%; }
  .hero-date { left: 0; right: auto; bottom: 0; width: 76%; text-align: left; padding: 24px 24px 24px 24px; --cut: 40px; clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%); }
  .hero-date-btn { display: inline-flex; }
}

/* Бегущая строка */
.marquee { background: var(--white); padding: 22px 0; overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 44px; padding-right: 44px; font-size: 17px; white-space: nowrap; }
.marquee-track span::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--violet); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Цифры */
.stats-plate { background: var(--plate); margin-top: clamp(28px, 3vw, 56px); margin-right: max(var(--pad), calc((100% - 1702px) / 2)); --cut: clamp(50px, 7vw, 134px); }
.stats-plate .container { margin-right: 0; margin-left: auto; width: min(100% - var(--pad), 1702px + var(--pad)); padding-left: 0; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 16px; padding-block: clamp(32px, 3vw, 60px) clamp(40px, 4vw, 80px); }
/* Колонки цифр по координатам макета: 212, 518, 840, 1304 при ширине 1920 */
@media (min-width: 900px) { .stats-plate .stats { grid-template-columns: 306fr 322fr 464fr 507fr; column-gap: 0; padding-left: clamp(0px, 5.36vw, 103px); } }
@media (min-width: 1300px) { .stats-plate .stats { grid-template-columns: 15.94vw 16.77vw 24.17vw minmax(0, 1fr); } }
.stat-num { font-size: clamp(56px, 6.77vw, 130px); font-weight: 700; line-height: 0.9; letter-spacing: -0.02em; }
.stat-num em { font-style: normal; color: var(--violet); }
.stat-text { margin-top: 14px; font-size: clamp(14px, 1.25vw, 24px); font-weight: 700; line-height: 1.05; }

/* Треки */
.tracks { display: grid; gap: 0; grid-template-columns: 1fr; }
@media (min-width: 900px) { .tracks { grid-template-columns: 825fr 855fr; grid-template-rows: 1fr 1fr; } .track.is-image { grid-row: 1 / 3; } }
.track { position: relative; padding: clamp(24px, 1.9vw, 36px); min-height: clamp(220px, 17.4vw, 335px); display: flex; flex-direction: column; justify-content: flex-start; }
.track.is-violet { justify-content: flex-end; }
.track.is-image { padding: 0; min-height: clamp(300px, 36.5vw, 702px); overflow: hidden; }
.track.is-image img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.track-caption { position: relative; padding: clamp(24px, 1.9vw, 36px); margin-top: auto; }
.track.is-grey { background: var(--plate-2); }
.track.is-violet { background: var(--violet-2); color: var(--white); --cut: clamp(50px, 5vw, 96px); }
.track-kicker { font-size: clamp(16px, 1.25vw, 24px); font-weight: 700; color: var(--violet); margin-bottom: 14px; }
.track-kicker.is-lime { color: var(--lime); }
.track-title { font-size: clamp(28px, 3.33vw, 64px); font-weight: 700; line-height: 1; max-width: 12ch; }

/* Программа */
.program-plate { background: var(--white); margin-top: clamp(24px, 2.4vw, 46px); padding: clamp(16px, 1.4vw, 28px) clamp(20px, 2.7vw, 52px) clamp(28px, 2.6vw, 50px); --cut: clamp(60px, 6.5vw, 124px); }
.program-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-inline: calc(clamp(20px, 2.7vw, 52px) * -1); }
.tabs { display: flex; align-items: stretch; }
.tab { padding: 16px clamp(24px, 2.7vw, 52px) 14px; font-size: clamp(20px, 1.56vw, 30px); font-weight: 700; color: var(--ink); background: var(--lime); clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%); transform: translateY(0); }
.tab.is-active { background: var(--white); color: var(--violet); }
.halls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 7px clamp(20px, 2.7vw, 52px); }
@media (max-width: 899px) { .program-plate { margin-top: 40px; overflow: visible; } .program-top { margin-inline: 0; } .tabs { width: 100%; margin-inline: calc(clamp(20px, 2.7vw, 52px) * -1); } .tab { flex: 1; text-align: left; padding-inline: 20px; font-size: 17px; } }
.hall { min-height: 52px; padding: 0 28px; border-radius: 70px; font-size: 17px; font-weight: 700; box-shadow: inset 0 0 0 1px var(--line); background: var(--white); color: var(--ink); transition: background 0.2s, color 0.2s; }
.hall:hover:not(.is-active) { background: var(--plate); box-shadow: none; }
.hall.is-active { background: var(--violet); color: var(--white); box-shadow: none; }
.program-list { border-top: 1px solid var(--plate-2); margin-top: 10px; }
.session { display: grid; grid-template-columns: 1fr; gap: 8px; padding: clamp(18px, 1.5vw, 30px) 16px; margin-inline: -16px; border-bottom: 1px solid var(--line); cursor: pointer; transition: background 0.25s; }
@media (min-width: 900px) { .session { grid-template-columns: clamp(140px, 13vw, 260px) clamp(120px, 10vw, 200px) minmax(0, 1fr) clamp(150px, 9vw, 170px); column-gap: 20px; row-gap: 0; align-items: start; } .session-details { grid-column: 1 / -1; } .session-actions { align-self: start; margin-top: -6px; } }
@media (hover: hover) { .session:hover { background: var(--plate); } }
.session-actions { display: flex; align-items: center; gap: 14px; justify-self: stretch; justify-content: flex-end; }
@media (max-width: 899px) { .session-actions { justify-self: start; margin-top: 6px; } }
.session-toggle { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--violet); color: var(--white); display: grid; place-items: center; transition: transform 0.35s var(--ease), background 0.25s, color 0.25s; }
.session-toggle svg { width: 22px; height: 22px; }
.session-toggle:hover, .session:hover .session-toggle { background: var(--lime); color: var(--ink); }
.session.is-open .session-toggle { transform: rotate(180deg); }
.session-mod { margin-top: 8px; font-size: clamp(14px, 0.9vw, 17px); line-height: 1.3; color: var(--violet); }
.session-peek { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease); }
.session-peek > div { overflow: hidden; }
@media (hover: hover) { .session:hover:not(.is-open) .session-peek { grid-template-rows: 1fr; } }
.session-peek-text { margin-top: 10px; font-size: clamp(14px, 0.9vw, 17px); line-height: 1.3; color: var(--grey); max-width: 60ch; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.session-peek .ph { margin-top: 10px; }
.session-peek-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: clamp(14px, 0.85vw, 16px); color: var(--violet); }
.session-peek-more svg { width: 16px; height: 16px; }
html[data-theme="dark"] .session-peek-more { color: var(--lime); }
.ph { display: inline-block; padding: 5px 10px; border: 1px dashed var(--line); color: var(--grey); font-size: 15px; font-weight: 400; line-height: 1.3; }
.session-details { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.session-details-in { overflow: hidden; }
.session.is-open .session-details { grid-template-rows: 1fr; }
.session-body { margin-top: clamp(16px, 1.5vw, 28px); background: var(--plate); padding: clamp(22px, 2vw, 40px) clamp(20px, 2.5vw, 48px) clamp(26px, 2.2vw, 44px); --cut: clamp(36px, 3.6vw, 70px); display: grid; gap: clamp(24px, 2.5vw, 48px); grid-template-columns: 1fr; }
@media (min-width: 900px) { .session-body { margin-left: calc(clamp(140px, 13vw, 260px) + 20px); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (hover: hover) { .session:hover .session-body { background: var(--white); } }
.session-label { font-size: 15px; color: var(--grey); margin-bottom: 10px; }
.session-desc p { font-size: clamp(15px, 0.94vw, 18px); line-height: 1.3; max-width: 60ch; }
.session-desc .session-label + p + .session-label, .session-desc p + .session-label { margin-top: 22px; }
.session-topics { display: grid; gap: 8px; font-size: clamp(15px, 0.94vw, 18px); line-height: 1.3; max-width: 60ch; }
.session-topics li { position: relative; padding-left: 18px; }
.session-topics li::before { content: ''; position: absolute; left: 0; top: 0.5em; width: 7px; height: 7px; border-radius: 50%; background: var(--violet); }
.people { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 1300px) { .people.is-many { grid-template-columns: 1fr 1fr; gap: 16px 20px; } }
.session-col > * + .session-people, .session-col > .session-desc + .session-desc { margin-top: 26px; }
.person { display: flex; gap: 14px; align-items: center; }
.person img, .person-photo-ph { flex: none; width: clamp(56px, 3.75vw, 72px); height: clamp(56px, 3.75vw, 72px); border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.person-photo-ph { background: var(--plate-2); box-shadow: inset 0 0 0 1px var(--line); }
.person-tag { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--violet); margin-bottom: 3px; }
.person-name { font-size: clamp(15px, 0.94vw, 18px); font-weight: 700; line-height: 1.15; }
.person-role { margin-top: 4px; font-size: 14px; line-height: 1.25; color: var(--grey); }
.session-time { font-size: clamp(20px, 1.46vw, 28px); font-weight: 700; }
.session-format { font-size: clamp(16px, 1.25vw, 24px); color: var(--grey); line-height: 1.1; }
.session-title { font-size: clamp(18px, 1.46vw, 28px); font-weight: 700; line-height: 1.15; max-width: 30ch; }
.session.is-key .session-title { color: var(--violet); }
.hall-tag { display: inline-flex; align-items: center; justify-content: center; min-height: 30px; min-width: 96px; padding: 0 16px; border-radius: 70px; background: var(--plate); font-size: 17px; }
.program-empty { padding: 30px 0; color: var(--grey); }
.program-dl { margin-top: clamp(24px, 2.2vw, 42px); }

/* Спикеры */
.speakers-wrap { position: relative; }
.speakers-row { --sg: clamp(12px, 1.2vw, 24px); display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 398px); gap: var(--sg); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.speakers-row::-webkit-scrollbar { display: none; }
@media (min-width: 1300px) { .speakers-row { grid-auto-columns: calc((100% - 3 * var(--sg)) / 4); } }
/* Карточка 398 на 550 по макету: фото на всю высоту, плашка подписи лежит поверх нижней части, срез открывает фото */
.speaker { position: relative; aspect-ratio: 398 / 550; scroll-snap-align: start; container-type: inline-size; overflow: hidden; }
.speaker-photo { position: absolute; inset: 0; background: var(--plate); overflow: hidden; }
.speaker-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.speaker-photo img.is-dark { display: none; }
html[data-theme="dark"] .speaker-photo img.is-light { display: none; }
html[data-theme="dark"] .speaker-photo img.is-dark { display: block; }
.speaker-cap { position: absolute; left: 0; right: 0; bottom: 0; background: var(--violet); color: var(--white); padding: clamp(18px, 1.5vw, 28px) clamp(18px, 1.5vw, 28px) clamp(16px, 1.3vw, 24px); aspect-ratio: 398 / 164; min-height: 0; --cut: 10cqw; }
.speaker.is-placeholder .speaker-photo { box-shadow: inset 0 0 0 1px var(--line); }
.speaker.is-placeholder .speaker-photo svg { width: 34%; height: auto; opacity: 0.6; }
.speaker.is-placeholder .speaker-photo svg { margin-bottom: 30%; }
.speaker.is-placeholder .ph-label { position: absolute; left: 0; right: 0; top: 14px; text-align: center; font-size: 13px; color: var(--grey); }
.speaker.is-placeholder .speaker-cap { background: var(--plate-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.speaker.is-placeholder .speaker-role { color: var(--grey); }
.speaker-name { font-size: clamp(18px, 1.25vw, 24px); font-weight: 700; line-height: 1.1; }
.speaker-role { margin-top: 10px; font-size: clamp(14px, 0.83vw, 16px); line-height: 1.2; }
.arrow { position: absolute; top: 45%; z-index: 3; width: 52px; height: 52px; border-radius: 50%; background: var(--white); display: grid; place-items: center; box-shadow: 0 6px 20px rgba(33, 26, 37, 0.15); }
.arrow svg { width: 22px; height: 22px; }
.arrow.is-prev { left: -20px; } .arrow.is-next { right: -20px; }
.arrow:hover { background: var(--lime); }
@media (min-width: 1920px) { .arrow.is-prev { left: -26px; } .arrow.is-next { right: -26px; } }

/* Форматы */
.formats { display: grid; gap: clamp(12px, 1.2vw, 24px); grid-template-columns: 1fr; }
@media (min-width: 900px) { .formats { grid-template-columns: repeat(3, 1fr); } }
.format { padding: clamp(24px, 2vw, 40px) clamp(24px, 1.6vw, 30px) clamp(28px, 2vw, 40px); min-height: clamp(300px, 26.8vw, 514px); display: flex; flex-direction: column; --cut: clamp(50px, 5vw, 96px); }
.format.is-violet { background: var(--violet-2); color: var(--white); }
.format.is-lime { background: var(--lime); color: var(--ink); }
.format.is-grey { background: var(--plate-2); color: var(--ink); }
.format-icon { width: clamp(48px, 3.5vw, 67px); height: clamp(48px, 3.5vw, 67px); margin-bottom: clamp(28px, 3vw, 60px); }
.format-title { font-size: clamp(28px, 2.5vw, 48px); font-weight: 700; line-height: 1; max-width: 12ch; }
.format p { margin-top: auto; padding-top: 28px; font-size: clamp(15px, 1.04vw, 20px); line-height: 1.2; max-width: 34ch; }
.concert { position: relative; margin-top: clamp(12px, 1.2vw, 24px); background: var(--dark); color: var(--white); min-height: clamp(320px, 28.9vw, 555px); overflow: hidden; --cut: clamp(50px, 5vw, 96px); display: flex; align-items: flex-start; }
.concert-text { position: relative; z-index: 2; padding: clamp(56px, 4.5vw, 86px) clamp(44px, 3.1vw, 59px) clamp(28px, 3.9vw, 76px); }
.concert-title { font-size: clamp(32px, 4.17vw, 80px); font-weight: 700; line-height: 1; }
.concert-name { margin-top: clamp(14px, 1.7vw, 33px); font-size: clamp(32px, 4.17vw, 80px); font-weight: 400; line-height: 1; }
.concert-lab { display: block; margin-top: clamp(20px, 2.4vw, 46px); width: clamp(220px, 29.6vw, 568px); height: auto; }
.concert-photo { position: absolute; right: 0; top: 0; height: 102%; width: auto; max-width: none; will-change: transform; }
@media (max-width: 760px) { .concert { display: block; } .concert-photo { position: static; max-width: 100%; height: auto; margin: -20px auto 0; transform: none !important; } }

/* Партнёры */
.logos-band { background: var(--white); margin-top: clamp(20px, 2vw, 40px); padding: 14px 0 6px; overflow: hidden; }
.logos { overflow: hidden; }
.logos-track { display: flex; width: max-content; gap: 12px; animation: marquee 80s linear infinite; padding-bottom: 12px; }
.logos.is-reverse .logos-track { animation-direction: reverse; animation-duration: 95s; }
.logo-tile { flex: none; width: 220px; height: 80px; background: var(--white); box-shadow: inset 0 0 0 1px var(--plate); display: grid; place-items: center; padding: 14px 24px; clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%); }
.logo-tile img { max-width: 160px; max-height: 44px; width: auto; height: auto; object-fit: contain; }
@media (prefers-reduced-motion: reduce) { .marquee-track, .logos-track { animation: none; flex-wrap: wrap; width: auto; } }

/* Площадка */
.venue-plate { background: linear-gradient(rgba(255,255,255,0.5), rgba(255,255,255,0.5)), url(../media/img/fig-venue-bg.webp) var(--white); background-size: cover; background-position: center; background-repeat: no-repeat; margin-top: 0; padding-block: clamp(40px, 4.5vw, 86px) clamp(36px, 3.65vw, 70px); }
.venue-grid { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) { .venue-grid { grid-template-columns: minmax(0, 1fr) 57.5%; gap: clamp(32px, 10.6vw, 203px); } }
.venue-lead { font-size: clamp(16px, 1.04vw, 20px); line-height: 1.1; max-width: 498px; margin-top: clamp(16px, 1.4vw, 27px); }
.venue-when { margin-top: clamp(20px, 2vw, 38px); font-size: clamp(18px, 1.25vw, 24px); font-weight: 700; line-height: 1.25; }
.venue-time { margin-top: clamp(32px, 4.7vw, 90px); font-size: clamp(16px, 1.04vw, 20px); line-height: 1.3; }
.venue-text .btn { margin-top: clamp(24px, 3.2vw, 62px); }
.venue-map { position: relative; display: block; overflow: hidden; aspect-ratio: 979 / 565; --cut: clamp(50px, 5.7vw, 110px); }
.venue-map img:first-child { position: absolute; left: -4.1%; top: -17.9%; width: 118.7%; height: auto; max-width: none; }
.venue-pin { position: absolute; left: 55.7%; top: 51%; width: clamp(38px, 3.9vw, 75px); height: auto; transform: translate(-50%, -100%); filter: drop-shadow(0 6px 10px rgba(0,0,0,0.25)); }

/* Как это было */
.past-grid { display: grid; gap: clamp(12px, 1.2vw, 24px); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .past-grid { grid-template-columns: repeat(4, 1fr); } }
.past { position: relative; aspect-ratio: 398 / 374; background-size: cover; background-position: center; padding: clamp(16px, 1.3vw, 26px); display: flex; flex-direction: column; justify-content: space-between; cursor: pointer; overflow: hidden; --cut: clamp(40px, 3.5vw, 66px); color: var(--ink); transition: color 0.3s; }
.past-hover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity 0.45s var(--ease), transform 0.9s var(--ease); pointer-events: none; }
.past-year, .past-city { position: relative; z-index: 1; }
@media (hover: hover) { .past:hover { color: var(--white); } .past:hover .past-hover { opacity: 1; transform: none; } .past:hover .play { color: var(--white); border-color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.12); } }
.past-year { font-size: clamp(16px, 1.25vw, 24px); font-weight: 700; }
.past-city { font-size: clamp(20px, 1.875vw, 36px); font-weight: 700; }
.play { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); width: clamp(56px, 4.2vw, 80px); height: clamp(56px, 4.2vw, 80px); border-radius: 50%; border: 3px solid rgba(119,0,255,0.6); display: grid; place-items: center; color: var(--violet); background: rgba(255,255,255,0.4); transition: transform 0.3s var(--ease), color 0.3s, border-color 0.3s, background 0.3s; }
.past:hover .play { transform: translate(-50%, -50%) scale(1.08); }
.play svg { width: 40%; height: 40%; }
.past-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 16px; margin-top: clamp(24px, 2.4vw, 46px); }
@media (min-width: 900px) { .past-stats { grid-template-columns: repeat(4, 1fr); } }
.past-stats .stat-num { font-size: clamp(48px, 5.16vw, 99px); }
.past-stats .stat-text { font-weight: 500; font-size: clamp(14px, 1.04vw, 20px); }

/* Регистрация */
.reg-tabs { display: flex; justify-content: flex-end; }
/* Ярлыки по макету: серый 828 на 65 лежит под фиолетовым 495, срез слева на всю высоту, у фиолетового справа срез 22, надписи по центру боксов 221 */
.reg-tabs { --tab-v: clamp(200px, 25.8vw, 495px); --tab-g: clamp(150px, 17.3vw, 333px); }
.reg-tab { box-sizing: border-box; height: clamp(48px, 3.4vw, 65px); padding: 0; font-size: 17px; font-weight: 400; line-height: 1; text-align: center; --cut: clamp(30px, 3.4vw, 65px); }
.reg-tab { background: var(--plate-2); color: var(--ink); transition: background 0.25s, color 0.25s; }
.reg-tab.is-active { background: var(--violet-2); color: var(--white); }
.reg-tab.is-online { width: calc(var(--tab-g) + var(--tab-v)); margin-right: calc(var(--tab-v) * -1); padding-left: clamp(36px, 4.17vw, 80px); padding-right: calc(var(--tab-v) + clamp(10px, 1vw, 19px)); }
.reg-tab.is-offline { position: relative; z-index: 1; width: var(--tab-v); padding-left: clamp(12px, 1.15vw, 22px); padding-right: clamp(60px, 13.1vw, 252px); clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut)); }
@media (max-width: 1400px) and (min-width: 761px) { .reg-tab { font-size: 14px; } .reg-tab.is-online { padding-left: 24px; } .reg-tab.is-offline { padding-left: 14px; } }
@media (max-width: 760px) { .reg-tabs { --tab-v: 52%; --tab-g: 48%; } .reg-tab { --cut: 24px; font-size: 14px; } .reg-tab.is-online { padding-left: 30px; padding-right: calc(var(--tab-v) + 8px); } .reg-tab.is-offline { padding-left: 10px; padding-right: 30px; } }
.reg-plate { background: var(--violet-2); color: var(--white); --cut: clamp(50px, 5.7vw, 110px); padding: clamp(40px, 5.1vw, 98px) clamp(24px, 7.65vw, 147px) clamp(40px, 3.5vw, 68px) clamp(28px, 4.5vw, 87px); display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .reg-plate { grid-template-columns: minmax(0, 1fr) clamp(280px, 32.6vw, 627px); gap: clamp(32px, 6vw, 120px); } }
.reg-text .h2 { max-width: clamp(200px, 29.7vw, 571px); }
.reg-lead { margin-top: clamp(16px, 1.35vw, 26px); font-size: clamp(16px, 1.04vw, 20px); line-height: 1.1; max-width: 512px; }
.reg-date { margin-top: clamp(24px, 2.6vw, 50px); color: var(--lime); font-size: clamp(22px, 1.67vw, 32px); font-weight: 600; line-height: 1; }
.countdown { display: inline-block; margin-top: clamp(20px, 2vw, 38px); padding: clamp(14px, 1.2vw, 22px) clamp(22px, 2vw, 38px) clamp(16px, 1.3vw, 24px) clamp(18px, 1.5vw, 28px); background: #5A10C2; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%); }
.countdown-label { font-size: clamp(14px, 0.83vw, 16px); opacity: 0.85; margin-bottom: 10px; }
.countdown-row { display: flex; gap: clamp(16px, 1.8vw, 34px); }
.cd b { display: block; font-size: clamp(32px, 2.5vw, 48px); font-weight: 700; line-height: 1; color: var(--lime); font-variant-numeric: tabular-nums; }
.cd span { display: block; margin-top: 6px; font-size: 14px; opacity: 0.85; }
.reg-list { margin-top: clamp(24px, 2.55vw, 49px); display: grid; gap: 10px; font-size: clamp(16px, 1.04vw, 20px); }
.reg-list li { padding-left: 20px; position: relative; }
.reg-list li::before { content: ''; position: absolute; left: 0; top: 0.5em; width: 6px; height: 6px; border-radius: 50%; background: var(--white); }
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 5px; }
.field span { font-size: 18px; font-weight: 600; }
.field input { width: 100%; min-height: clamp(52px, 3.1vw, 59px); padding: 0 24px; background: var(--white); border: 0; border-radius: 50px; color: var(--ink); font: inherit; font-size: 18px; outline: none; }
.field input:focus { box-shadow: 0 0 0 3px var(--lime); }
.radios { margin: 6px 0 0; padding: 0; border: 0; display: grid; gap: 10px; }
.radios legend { padding: 0; margin-bottom: 10px; font-size: 18px; font-weight: 600; }
.radio { display: flex; gap: 12px; align-items: center; font-size: 16px; cursor: pointer; }
.radio input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--lime); }
.check { display: flex; gap: 12px; align-items: center; font-size: 16px; font-weight: 600; margin-top: 34px; }
.check.is-second { margin-top: 16px; align-items: flex-start; font-weight: 400; line-height: 1.3; }
.check.is-second input { margin-top: 2px; }
.check input { width: 27px; height: 27px; margin: 0; flex: none; accent-color: var(--lime); }
.check a { text-decoration: underline; text-underline-offset: 3px; }
.form .btn { margin-top: 35px; justify-self: start; }
.form.is-done .form-done { display: block; }
.form.is-done .field, .form.is-done .check, .form.is-done .radios, .form.is-done .btn { display: none; }

/* Подвал */
.footer { padding-block: clamp(40px, 3.2vw, 62px) clamp(60px, 6vw, 120px); }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1fr clamp(240px, 20.9vw, 402px) clamp(240px, 20.9vw, 402px); gap: clamp(20px, 1.35vw, 26px); } }
.footer .brand { align-items: flex-start; }
.footer-label { font-size: clamp(16px, 1.04vw, 20px); font-weight: 500; margin-bottom: 15px; }
.footer-mail { color: var(--violet); text-decoration: underline; text-underline-offset: 4px; font-size: clamp(16px, 1.04vw, 20px); font-weight: 500; }
.footer-links { display: grid; gap: 10px; font-size: 16px; }
.footer .ph-field { display: inline; background: rgba(119, 0, 255, 0.12); padding: 0 4px; }
html[data-theme="dark"] .footer .ph-field { background: rgba(201, 255, 54, 0.22); }
.footer-contact + .footer-links { margin-top: 18px; }

/* Липкая кнопка, появление блоков */
.sticky-cta { position: fixed; z-index: 55; right: 20px; bottom: 20px; transform: translateY(120px); opacity: 0; transition: transform 0.5s var(--ease), opacity 0.4s; }
.sticky-cta.is-on { transform: none; opacity: 1; }
@media (min-width: 1100px) { .sticky-cta { display: none; } }
.sticky-cta .btn { box-shadow: 0 12px 30px rgba(33, 26, 37, 0.25); }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.fade-img { opacity: 0; transition: opacity 0.6s var(--ease); }
.fade-img.is-loaded { opacity: 1; }
.is-static .reveal, .is-static .fade-img, .is-static .h2 .w, .is-static .hero-title .w { opacity: 1; transform: none; transition: none; }
.is-static .marquee-track, .is-static .logos-track { animation: none; }
@media (prefers-reduced-motion: reduce) { .reveal, .fade-img, .h2 .w, .hero-title .w { opacity: 1; transform: none; transition: none; } }

/* Спикеры на тёмном фоне, как в макете */
.section.is-dark { background: #211A25; color: var(--white); padding-bottom: clamp(48px, 5.2vw, 100px); margin-top: clamp(48px, 5.2vw, 100px); }
.section.is-dark .kicker { color: var(--violet-2); }
.section.is-dark .h2 { color: var(--white); }
.section.is-dark .arrow { color: var(--ink); }

/* Тёмная тема в палитре макета: фон 211A25, плашки 2D1A48 */
html[data-theme="dark"] { --bg: #4A1663; --ink: #FFFFFF; --grey: rgba(255, 255, 255, 0.78); --plate: #5B1C7A; --plate-2: #6D2B93; --line: rgba(255, 255, 255, 0.35); }
html[data-theme="dark"] body { color: var(--white); }
html[data-theme="dark"] .header, html[data-theme="dark"] .mobile-menu, html[data-theme="dark"] .marquee, html[data-theme="dark"] .program-plate, html[data-theme="dark"] .logos-band { background: #5B1C7A; }
html[data-theme="dark"] .tab { color: #211A25; }
html[data-theme="dark"] .tab.is-active { background: #5B1C7A; color: var(--lime); }
html[data-theme="dark"] .hall { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4); }
html[data-theme="dark"] .hall:hover:not(.is-active) { background: rgba(255,255,255,0.12); }
html[data-theme="dark"] .hall.is-active { background: var(--violet); box-shadow: none; }
html[data-theme="dark"] .hall-tag { background: rgba(255,255,255,0.12); color: var(--white); }
html[data-theme="dark"] .session { border-color: rgba(255,255,255,0.18); }
html[data-theme="dark"] .program-list { border-color: rgba(255,255,255,0.18); }
html[data-theme="dark"] .stat-num em, html[data-theme="dark"] .past-stats .stat-num em { color: var(--lime); }
html[data-theme="dark"] .track.is-grey { background: #6D2B93; color: var(--white); }
html[data-theme="dark"] .track-kicker { color: var(--lime); }
html[data-theme="dark"] .format.is-grey { background: #6D2B93; color: var(--white); }
html[data-theme="dark"] .format.is-lime, html[data-theme="dark"] .btn.is-lime, html[data-theme="dark"] .tab:not(.is-active) { color: #211A25; }
html[data-theme="dark"] .logo-tile { background: var(--white); box-shadow: none; }
html[data-theme="dark"] .venue-plate { background: linear-gradient(rgba(91,28,122,0.78), rgba(91,28,122,0.78)), url(../media/img/fig-speaker-bg.webp) #5B1C7A; background-size: cover; background-position: center; background-repeat: no-repeat; color: var(--white); }
html[data-theme="dark"] .countdown { background: #4A1663; }
html[data-theme="dark"] .past { color: #211A25; }
@media (hover: hover) { html[data-theme="dark"] .past:hover { color: var(--white); } }
html[data-theme="dark"] .reg-tab { background: #6D2B93; color: var(--white); }
html[data-theme="dark"] .reg-tab.is-active { background: var(--violet-2); }
html[data-theme="dark"] .field input { color: #211A25; }
html[data-theme="dark"] .footer-mail { color: var(--lime); }
html[data-theme="dark"] .section.is-dark { background: #3D1052; }
html[data-theme="dark"] .arrow { background: #6D2B93; color: var(--white); }
html[data-theme="dark"] .menu-btn { color: var(--white); }
html[data-theme="dark"] .speaker-photo { background: #000 url(../media/img/fig-speaker-floor.webp) 56% 0 / 225% auto no-repeat; }
html[data-theme="dark"] .speaker-photo::before { display: none; }
html[data-theme="dark"] .speaker:nth-child(2) .speaker-photo, html[data-theme="dark"] .speaker:nth-child(4) .speaker-photo { background-position: 16% 0; }

/* Нижние блоки на белой подложке, как в макете */
#past, #register, .footer { background: var(--white); }
#past { padding-top: clamp(48px, 4.7vw, 90px); }
html[data-theme="dark"] #past, html[data-theme="dark"] #register, html[data-theme="dark"] .footer { background: #5B1C7A; }
html[data-theme="dark"] .kicker { color: var(--lime); }
html[data-theme="dark"] .kicker::before { background: var(--lime); }
html[data-theme="dark"] .session.is-key .session-title, html[data-theme="dark"] .session.key .session-title { color: var(--lime); }

/* Тёмная тема: расписание с раскрытием, спикеры-заглушки, стрелки */
@media (hover: hover) { html[data-theme="dark"] .session:hover { background: rgba(255,255,255,0.06); } html[data-theme="dark"] .session:hover .session-body { background: #6D2B93; } }
html[data-theme="dark"] .session-body { background: #6D2B93; }
html[data-theme="dark"] .session-label, html[data-theme="dark"] .person-role, html[data-theme="dark"] .session-peek-text { color: rgba(255,255,255,0.78); }
html[data-theme="dark"] .session-topics li::before, html[data-theme="dark"] .person-tag { color: var(--lime); background: var(--lime); }
html[data-theme="dark"] .person-tag { background: none; }
html[data-theme="dark"] .ph { border-color: rgba(255,255,255,0.45); color: rgba(255,255,255,0.8); }
html[data-theme="dark"] .person-photo-ph { background: #5B1C7A; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35); }
html[data-theme="dark"] .speaker.is-placeholder .speaker-photo { background: #5B1C7A; color: rgba(255,255,255,0.75); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35); }
html[data-theme="dark"] .speaker.is-placeholder .ph-label { color: rgba(255,255,255,0.75); }
html[data-theme="dark"] .speaker.is-placeholder .speaker-cap { background: #6D2B93; color: var(--white); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35); }
html[data-theme="dark"] .speaker.is-placeholder .speaker-role { color: rgba(255,255,255,0.78); }
html[data-theme="dark"] .arrow:hover { background: var(--lime); color: #211A25; }
html[data-theme="dark"] .session-toggle { background: var(--lime); color: #211A25; }
html[data-theme="dark"] .session-toggle:hover, html[data-theme="dark"] .session:hover .session-toggle { background: var(--white); color: #211A25; }
html[data-theme="dark"] .session-mod { color: var(--lime); }

/* Баннер cookie и страница политики */
.btn.is-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn.is-ghost:hover { background: var(--plate); }
.cookie { position: fixed; z-index: 60; left: 16px; bottom: 16px; width: min(560px, calc(100% - 32px)); background: var(--white); color: var(--ink); padding: 22px 24px 20px; --cut: 32px; box-shadow: 0 12px 40px rgba(33, 26, 37, 0.18); }
.cookie[hidden] { display: none; }
.cookie-text { font-size: 16px; line-height: 1.35; }
.cookie-text a { color: var(--violet); text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.cookie .btn { min-height: 52px; padding: 0 26px; }
.is-static .cookie { display: none; }
html[data-theme="dark"] .cookie { background: #5B1C7A; color: var(--white); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35); }
html[data-theme="dark"] .cookie-text a { color: var(--lime); }
html[data-theme="dark"] .btn.is-ghost { color: var(--white); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.45); }
html[data-theme="dark"] .btn.is-ghost:hover { background: rgba(255,255,255,0.12); }
.doc { padding-bottom: clamp(48px, 5.2vw, 100px); }
.doc-in { max-width: 900px; }
.doc-title { font-size: clamp(30px, 2.6vw, 50px); line-height: 1.1; font-weight: 700; margin: 0 0 18px; }
.doc-meta { font-size: clamp(14px, 0.9vw, 17px); line-height: 1.5; color: var(--grey); }
.doc-pdf { margin: 22px 0 8px; }
.doc h2 { margin-top: clamp(28px, 2.4vw, 46px); margin-bottom: 12px; font-size: clamp(20px, 1.46vw, 28px); font-weight: 700; line-height: 1.15; }
.doc p { font-size: clamp(16px, 1.04vw, 20px); line-height: 1.4; margin-bottom: 12px; }
.doc .num { font-weight: 700; }
.doc ul { padding-left: 22px; list-style: disc; margin-bottom: 12px; }
.doc li { font-size: clamp(16px, 1.04vw, 20px); line-height: 1.4; margin-bottom: 6px; }
.doc a { color: var(--violet); text-decoration: underline; text-underline-offset: 3px; }
.doc table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: clamp(14px, 0.9vw, 17px); line-height: 1.35; }
.doc th { text-align: left; font-weight: 700; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--ink); vertical-align: bottom; }
.doc td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.ph-field { display: inline; background: rgba(119, 0, 255, 0.12); padding: 0 4px; }
.doc-note { margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--grey); font-size: 15px; line-height: 1.4; }
.doc .sign { margin-top: 24px; font-size: clamp(15px, 0.94vw, 18px); line-height: 1.4; }
.doc-back { margin-top: 28px; }
.doc-back a { text-decoration: none; }
html[data-theme="dark"] .doc a { color: var(--lime); }
html[data-theme="dark"] .ph-field { background: rgba(201, 255, 54, 0.22); }
html[data-theme="dark"] .doc th { border-color: var(--white); }
/* Подвал: реквизиты, документы, маркировка */
.footer-req { font-size: 14px; line-height: 1.4; color: var(--grey); margin-bottom: 14px; }
.footer-age { margin-top: 14px; }
.footer-copy { margin-top: 10px; font-size: 14px; color: var(--grey); }
.footer-contact { margin-bottom: 14px; font-size: clamp(15px, 0.94vw, 18px); line-height: 1.4; }
.footer-contact b { display: block; font-weight: 500; }
.footer-links a { cursor: pointer; }
.form-note { font-size: 14px; line-height: 1.35; opacity: 0.85; margin-top: 12px; }
.form-note .ph-field { background: rgba(255,255,255,0.22); padding: 0 4px; }
.field-error { display: none; font-size: 13px; color: var(--lime); margin-top: 4px; }
.field.is-error .field-error, .check.is-error .field-error, .radios.is-error .field-error { display: block; }
.field.is-error input, .field.is-error select { box-shadow: 0 0 0 3px var(--lime); }
.check.is-error > span { text-decoration: underline; text-decoration-color: var(--lime); text-underline-offset: 3px; }
.form-done { display: none; padding: 24px 28px; background: rgba(255,255,255,0.15); }
.form-done h3 { font-size: clamp(22px, 1.67vw, 32px); font-weight: 700; margin-bottom: 12px; }
.form-done p { font-size: clamp(15px, 0.94vw, 18px); line-height: 1.4; }
.form-done .ph-field { background: rgba(255,255,255,0.22); padding: 0 4px; }
.form-done a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.form-done-mail { margin-top: 8px; }
.cookie-title { font-weight: 700; font-size: 16px; margin-bottom: 6px; }

/* Возрастная маркировка в подвале */
.age { display: inline-block; margin-left: 10px; padding: 2px 7px; border: 1px solid currentColor; border-radius: 4px; font-size: 13px; font-weight: 700; line-height: 1.2; vertical-align: 2px; }

/* Раунд 11 сентября: форма по полям действующего сайта, программа без спикеров, спикеры без заглушек */
.field span i, .radios legend i { font-style: normal; color: var(--lime); }
.field select { width: 100%; min-height: clamp(52px, 3.1vw, 59px); padding: 0 52px 0 24px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23211A25' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 22px center / 18px; border: 0; border-radius: 50px; color: var(--ink); font: inherit; font-size: 18px; outline: none; -webkit-appearance: none; appearance: none; }
.field select:focus { box-shadow: 0 0 0 3px var(--lime); }
.field input::placeholder { color: #8A8492; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin-top: 14px; font-size: 16px; color: var(--lime); }
.session:not(.has-data) { cursor: default; }
@media (hover: hover) { .session:not(.has-data):hover, html[data-theme="dark"] .session:not(.has-data):hover { background: transparent; } }
.session-toggle-ph { flex: none; width: 44px; height: 44px; }
.session-col.is-wide { grid-column: 1 / -1; }
@media (min-width: 900px) { .session-col.is-wide .session-topics { grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 3vw, 56px); max-width: none; } }
.speakers-wrap.no-scroll .arrow { display: none; }
@media (hover: none) { .footer-mail { display: inline-block; padding: 10px 0; } }

/* Плитки треков ведут в программу, 11 сентября */
a.track { cursor: pointer; }
.track-more { display: inline-flex; align-items: center; gap: 8px; margin-top: clamp(14px, 1.2vw, 22px); font-size: clamp(15px, 1vw, 19px); font-weight: 500; }
.track.is-grey .track-more { margin-top: auto; padding-top: clamp(14px, 1.2vw, 22px); }
.track-more svg { width: 18px; height: 18px; flex: none; transition: transform 0.3s var(--ease); }
@media (hover: hover) { a.track:hover .track-more { text-decoration: underline; text-underline-offset: 4px; } a.track:hover .track-more svg { transform: translateX(4px); } }
a.track:focus-visible { outline: 3px solid var(--lime); outline-offset: -3px; }
.track-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; margin-top: clamp(14px, 1.3vw, 24px); padding: 6px clamp(16px, 1.4vw, 24px); background: var(--plate); font-size: clamp(15px, 0.94vw, 18px); line-height: 1.35; }
.track-filter[hidden] { display: none; }
.track-filter-reset { min-height: 44px; font: inherit; font-weight: 700; color: var(--violet); text-decoration: underline; text-underline-offset: 4px; }
html[data-theme="dark"] .track-filter { background: rgba(255,255,255,0.08); }
html[data-theme="dark"] .track-filter-reset { color: var(--lime); }

/* Видео прошлых форумов во всплывающем окне, залы одной строкой на узких экранах, 11 сентября */
html.is-modal { overflow: hidden; }
.video-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: clamp(64px, 6vw, 96px) clamp(16px, 4vw, 64px) clamp(24px, 4vw, 64px); background: rgba(33, 26, 37, 0.88); }
.video-modal-in { position: relative; width: min(1200px, 100%); }
.video-modal video { display: block; width: 100%; max-height: 78vh; aspect-ratio: 16 / 9; background: #000; }
.video-modal-cap { margin-top: 12px; color: var(--white); font-size: clamp(15px, 1vw, 18px); font-weight: 500; }
.video-modal-close { position: absolute; right: 0; top: -56px; width: 44px; height: 44px; border-radius: 50%; background: var(--white); color: var(--ink); display: grid; place-items: center; }
.video-modal-close svg { width: 20px; height: 20px; }
.video-modal-close:hover { background: var(--lime); }
.video-modal-close:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.halls-wrap { position: relative; }
.halls-arrow { display: none; }
/* Телефон и планшет: залы одной лентой. Стрелка у края показывает, что ленту можно листать,
   и перекрывает обрезанную кнопку. У края, до которого лента докручена, стрелка скрыта. */
@media (max-width: 899px) {
  .halls-wrap { margin-inline: calc(clamp(20px, 2.7vw, 52px) * -1); }
  .halls { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; padding-right: 64px; }
  .halls::-webkit-scrollbar { display: none; }
  .halls .hall { flex: none; }
  .halls-arrow { display: grid; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; }
  .halls-arrow svg { width: 20px; height: 20px; }
  .halls-arrow.is-prev { left: 8px; }
  .halls-arrow.is-next { right: 8px; }
  .halls-wrap.at-start .halls-arrow.is-prev, .halls-wrap.at-end .halls-arrow.is-next, .halls-wrap.no-scroll .halls-arrow { display: none; }
}

/* Страница «Менторская гостиная», 12 сентября */
.mg-hero { padding-top: clamp(28px, 3vw, 56px); }
.mg-h1 { font-size: clamp(44px, 5.2vw, 100px); font-weight: 700; line-height: 0.95; margin: 14px 0 0; }
.mg-lead { font-size: clamp(18px, 1.35vw, 26px); line-height: 1.3; max-width: 34ch; }
.mg-hero-row { display: grid; gap: 24px; margin-top: clamp(24px, 2.5vw, 48px); }
@media (min-width: 900px) { .mg-hero-row { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }
.mg-hero-row .btn { justify-self: start; }
.mg-hero .stat-num { font-size: clamp(52px, 4.8vw, 92px); white-space: nowrap; }
@media (min-width: 900px) { .mg-hero .stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; } .mg-hero .stats .stat { margin: 0; padding: 0; position: static; left: auto; } }
.mg-steps { display: grid; gap: 0; margin-top: clamp(24px, 2.4vw, 46px); border-top: 1px solid var(--plate-2); }
@media (min-width: 900px) { .mg-steps { grid-template-columns: repeat(3, 1fr); } .mg-step + .mg-step { border-left: 1px solid var(--plate-2); padding-left: clamp(20px, 1.6vw, 32px); } }
.mg-step { padding: clamp(20px, 2vw, 36px) clamp(0px, 1.6vw, 32px) clamp(20px, 2vw, 36px) 0; }
.mg-step-k { font-size: clamp(16px, 1.1vw, 20px); font-weight: 700; color: var(--violet); }
html[data-theme="dark"] .mg-step-k { color: var(--lime); }
.mg-step h3 { font-size: clamp(22px, 1.8vw, 34px); font-weight: 700; line-height: 1.1; margin: 10px 0 12px; }
.mg-step p { font-size: clamp(16px, 1vw, 19px); line-height: 1.35; color: var(--grey); max-width: 36ch; }
.mg-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.mg-tags .hall { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; }
.mg-mentors { display: grid; gap: clamp(12px, 1.2vw, 24px); grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(24px, 2.4vw, 46px); }
@media (min-width: 700px) { .mg-mentors { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .mg-mentors { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 599px) { .mg-mentors { grid-template-columns: 1fr; } }
.mg-mentors .speaker-cap { aspect-ratio: auto; }
.mg-mentor-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.mg-mentor-tags span { font-size: 13px; line-height: 1; padding: 6px 10px; border-radius: 70px; background: rgba(255,255,255,0.18); }
.mg-demo { margin: 18px 0 clamp(20px, 2vw, 36px); padding: 16px 20px; background: var(--plate); font-size: clamp(15px, 0.94vw, 18px); line-height: 1.4; }
.mg-demo b { font-weight: 700; }
.mg-demo-link { display: block; margin-top: 10px; font: inherit; font-weight: 700; color: var(--violet); text-decoration: underline; text-underline-offset: 4px; min-height: 44px; }
html[data-theme="dark"] .mg-demo { background: rgba(255,255,255,0.08); }
html[data-theme="dark"] .mg-demo-link { color: var(--lime); }
.mg-plate[hidden] { display: none; }
.reg-plate.is-form-only { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .reg-plate.is-form-only { grid-template-columns: minmax(0, 680px); justify-content: center; } }
.mg-plate-title { font-size: clamp(24px, 2vw, 38px); font-weight: 700; line-height: 1.1; margin: 0; }
.mg-plate-lead { margin-top: 14px; font-size: clamp(16px, 1.04vw, 20px); line-height: 1.35; max-width: 40ch; }
.mg-rules { display: grid; gap: 14px 40px; margin-top: clamp(20px, 2vw, 36px); }
@media (min-width: 900px) { .mg-rules { grid-template-columns: 1fr 1fr; } .mg-rules.is-one { grid-template-columns: 1fr; } }
.mg-rules li { position: relative; padding-left: 22px; font-size: clamp(16px, 1.05vw, 20px); line-height: 1.35; }
.mg-rules li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; border-radius: 50%; background: var(--violet); }
.reg-plate .mg-rules li::before { background: var(--lime); }
.mg-rules.is-flow { grid-template-columns: minmax(0, 1fr); gap: 10px; max-width: 52ch; }
.mg-rules.is-flow li.is-group { margin-top: clamp(12px, 1vw, 18px); }
.head-row .mg-rules.is-flow { margin-top: 0; }
.mg-result, .mg-done { background: var(--white); padding: clamp(24px, 2.4vw, 44px); --cut: clamp(36px, 3.6vw, 70px); }
.mg-result[hidden], .mg-done[hidden], .mg-found[hidden] { display: none; }
.mg-result h3, .mg-done h3 { font-size: clamp(24px, 2.2vw, 42px); font-weight: 700; line-height: 1.1; margin: 0 0 14px; }
.mg-result p, .mg-done p { font-size: clamp(16px, 1.04vw, 20px); line-height: 1.35; max-width: 60ch; margin: 0; }
.mg-result-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.mg-done .btn { margin-top: 22px; }
html[data-theme="dark"] .mg-result, html[data-theme="dark"] .mg-done { background: #6D2B93; }
.mg-found-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.mg-found-head h3 { font-size: clamp(22px, 1.9vw, 36px); font-weight: 700; line-height: 1.15; margin: 0; }
.mg-picked { font-size: clamp(15px, 0.94vw, 18px); font-weight: 700; }
.mg-grid { margin-top: 18px; border-top: 1px solid var(--plate-2); }
.mg-row { display: grid; gap: 12px 20px; padding: 16px 0; border-bottom: 1px solid var(--plate-2); }
@media (min-width: 900px) { .mg-row { grid-template-columns: clamp(240px, 20vw, 380px) minmax(0, 1fr); align-items: center; } }
.mg-who { display: flex; gap: 14px; align-items: center; }
.mg-who img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; background: var(--plate); flex: none; }
.mg-who b { display: block; font-size: 18px; line-height: 1.15; }
.mg-who span { display: block; font-size: 14px; color: var(--grey); margin-top: 3px; }
.mg-slots { display: flex; flex-wrap: wrap; gap: 8px; }
.mg-slot { min-width: 84px; min-height: 44px; padding: 0 16px; border-radius: 70px; font: inherit; font-size: 16px; font-weight: 700; background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; }
.mg-slot.is-busy { background: var(--plate); color: #8A8492; box-shadow: none; text-decoration: line-through; cursor: default; }
.mg-slot.is-on { background: var(--violet); color: var(--white); box-shadow: none; }
.mg-legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 16px; font-size: 15px; color: var(--grey); }
.mg-legend i { display: inline-block; width: 14px; height: 14px; border-radius: 50%; vertical-align: -2px; margin-right: 6px; box-shadow: inset 0 0 0 1px var(--line); }
.mg-legend i.b { background: var(--plate); box-shadow: none; } .mg-legend i.s { background: var(--violet); box-shadow: none; }
.mg-example { display: inline-block; margin-top: 14px; font-size: 14px; }
.mg-people { display: grid; gap: clamp(16px, 1.6vw, 28px); margin-top: clamp(20px, 2vw, 36px); }
.mg-people[hidden] { display: none; }
.mg-person { background: var(--violet-2); color: var(--white); padding: clamp(20px, 2vw, 36px); display: grid; gap: 16px; --cut: clamp(30px, 3vw, 56px); }
.mg-person-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; }
.mg-person-head b { font-size: clamp(18px, 1.25vw, 24px); }
.mg-person-head span { font-size: clamp(15px, 0.94vw, 18px); opacity: 0.9; }
.mg-person-del { margin-left: auto; font: inherit; font-size: 15px; font-weight: 700; color: var(--lime); text-decoration: underline; text-underline-offset: 4px; min-height: 44px; }
.mg-person .field textarea { width: 100%; min-height: 96px; padding: 14px 24px; background: var(--white); border: 0; border-radius: 26px; color: var(--ink); font: inherit; font-size: 18px; line-height: 1.35; resize: vertical; outline: none; }
.mg-note { margin-top: 16px; font-size: clamp(14px, 0.9vw, 17px); line-height: 1.4; color: var(--grey); }
.mg-people .mg-note { color: inherit; opacity: 0.85; }
.mg-people .btn { justify-self: start; }
.mg-picked.is-limit { color: var(--violet); max-width: 46ch; text-align: right; line-height: 1.3; }
html[data-theme="dark"] .mg-picked.is-limit { color: var(--lime); }

/* Менторская гостиная: фоновые сцены и полупрозрачные плашки, 12 сентября */
.mg-scene { position: relative; isolation: isolate; overflow: hidden; }
.mg-scene::before { content: ''; position: absolute; left: 0; right: 0; top: -14%; bottom: -14%; z-index: -2; background: url("../media/img/bg-streams-1.webp") center / cover no-repeat; transform: translate3d(0, var(--par, 0px), 0); }
.mg-scene.is-book::before { background-image: url("../media/img/bg-streams-2.webp"); }
.mg-scene::after { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(222, 227, 228, 0.72); }
html[data-theme="dark"] .mg-scene::after { background: rgba(74, 22, 99, 0.82); }
.mg-glass { background: rgba(255, 255, 255, 0.46); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7); }
html[data-theme="dark"] .mg-glass { background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28); }
.mg-hero-plate { padding: clamp(24px, 2.6vw, 52px); --cut: clamp(40px, 4vw, 76px); }
.mg-hero .stats-plate { background: transparent; }
.mg-scene .program-plate { background: rgba(255, 255, 255, 0.62); }
html[data-theme="dark"] .mg-scene .program-plate { background: rgba(255, 255, 255, 0.12); }
.mg-scene .mg-result, .mg-scene .mg-done { background: rgba(255, 255, 255, 0.62); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7); }
html[data-theme="dark"] .mg-scene .mg-result, html[data-theme="dark"] .mg-scene .mg-done { background: rgba(255, 255, 255, 0.12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28); }
.mg-scene .mg-demo { background: rgba(255, 255, 255, 0.55); }
html[data-theme="dark"] .mg-scene .mg-demo { background: rgba(255, 255, 255, 0.12); }
.mg-slot { transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, box-shadow 0.2s; }
@media (hover: hover) { .mg-slot:hover:not(.is-busy):not(.is-on) { transform: translateY(-2px); background: var(--plate); } }
.mg-slot.is-on { transform: none; }
.mg-person { animation: mgIn 0.45s var(--ease) both; }
@keyframes mgIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 899px) { .mg-scene::before { transform: none; } }
@media (prefers-reduced-motion: reduce) { .mg-person { animation: none; } .mg-scene::before { transform: none; } }
.mg-picked { padding-right: clamp(20px, 2.7vw, 52px); }
@media (max-width: 899px) { .mg-picked { padding-right: 0; } }

/* Менторская гостиная: одна линия внутренних отступов у плашек, 12 сентября */
.mg-plate { padding: clamp(28px, 3vw, 56px) clamp(20px, 2.7vw, 52px) clamp(32px, 3.2vw, 60px); }
.mg-scene .mg-demo { padding: 16px clamp(20px, 2.7vw, 52px); }
.mg-result, .mg-done { padding: clamp(28px, 3vw, 56px) clamp(20px, 2.7vw, 52px); }
.mg-person { padding: clamp(24px, 2.6vw, 44px) clamp(20px, 2.7vw, 52px); }
.mg-people { margin-bottom: clamp(28px, 3vw, 56px); }
#mgForm .form-note { margin-top: 16px; }
.mg-rules.reveal { margin-bottom: clamp(20px, 2vw, 36px); }

/* Телефоны: кегли заголовков и цифр не должны быть больше доступной ширины.
   Основные clamp рассчитаны от десктопа, их нижняя граница на узких экранах не помещается. */
/* На узких экранах плашка с именем спикера растёт по тексту: фиксированная пропорция
   обрезала должность в две-три строки. */
@media (max-width: 900px) {
  .speaker-cap { aspect-ratio: auto; min-height: 0; }
  .speaker-name { font-size: 17px; }
  .speaker-role { margin-top: 8px; font-size: 13px; }
}
@media (max-width: 430px) {
  .hero-title { font-size: clamp(26px, 9vw, 44px); }
  .mg-h1 { font-size: clamp(26px, 9vw, 44px); }
  .stat-num { font-size: clamp(34px, 12vw, 56px); }
  .past-stats .stat-num { font-size: clamp(30px, 10.5vw, 48px); }
  .track-title { font-size: clamp(20px, 6.6vw, 28px); max-width: 100%; }
  .past-city { font-size: clamp(15px, 5vw, 20px); }
  .h2 { font-size: clamp(24px, 7.6vw, 34px); }

  /* Шапка в одну строку: логотип, переключатель темы, кнопка */
  .header-in { gap: 8px; }
  .brand .logo-rt { width: 112px; }
  .brand .logo-tr { width: 122px; }
  .header-right { gap: 8px; }
  .theme-toggle { font-size: 14px; padding: 0 12px; gap: 6px; min-height: 44px; }
  .theme-toggle span { white-space: nowrap; }
  .theme-toggle i { width: 8px; height: 8px; }
  .header-right .btn { font-size: 14px; padding: 0 16px; min-height: 44px; }
  .menu-btn { font-size: 12px; padding: 0 2px; }
}
@media (max-width: 900px) {
  /* Длинное слово в названии трека шире ограничения в 12 знаков */
  .track-title { max-width: 100%; }
}
@media (max-width: 360px) {
  /* На самых узких кнопка в шапке уступает место переключателю: её дублирует кнопка первого экрана */
  .header-right .btn { display: none; }
}

/* Поле уточнения под вариантом «Другое» в вопросе «Откуда вы узнали о форуме» */
.field.is-sub { margin-top: 10px; }
.field[hidden] { display: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
