/* Новый сайт moscow.vc — «стекло и 3D» по мотивам new.moscow-export.com в цветах
 * Московского венчурного фонда. Две темы (html[data-theme]): светлая — ровный тёплый
 * белый с лёгкой бежевинкой и графит вместо чёрного; тёмная — ровный графит, а не чёрная.
 * Фон обеих тем однородный и без розового подтона: ни градиента, ни красных свечений
 * (владелец продукта, 02.10.2026: «фон без розового подтона, однородным — ближе к белому
 * или чуть бежевый»). Красный — только в акцентах: числа, кнопки, метки, иконки.
 * Сборки CSS нет — файл правится руками. */

/* ------------------------------------------------------------------ шрифт */
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400 900; font-display: swap; src: url(/site-v2/assets/fonts/golos-cyrillic-ext.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400 900; font-display: swap; src: url(/site-v2/assets/fonts/golos-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400 900; font-display: swap; src: url(/site-v2/assets/fonts/golos-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400 900; font-display: swap; src: url(/site-v2/assets/fonts/golos-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ------------------------------------------------------------------ токены */
:root {
  color-scheme: light;
  --font: 'Golos Text', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gutter: clamp(20px, 5.6vw, 80px);
  --maxw: 1280px;
  --header-h: 76px;

  --page: #FAF8F5;
  --page-grad: #FAF8F5;   /* однородный фон; до 02.10.2026 — градиент в розоватый #F2ECE9 */
  --ink: #2A2A30; --ink-2: #5B5C64; --ink-3: #6E6F77;
  --line: rgba(42, 42, 48, .10); --line-2: rgba(42, 42, 48, .06);
  --glass: linear-gradient(180deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.72) 22%, rgba(255,255,255,.66) 78%, rgba(255,255,255,.9) 100%);
  --glass-b: rgba(42, 42, 48, .08);
  --glass-sh: inset 0 1px 0 rgba(255,255,255,.95), 0 1px 2px rgba(40,36,30,.04), 0 24px 48px -30px rgba(40,36,30,.18);   /* тень нейтральная: красноватая давала розовый ореол под карточками */
  --glass-2: rgba(255, 255, 255, .66); --glass-2-b: rgba(42, 42, 48, .09);
  --glass-hi: linear-gradient(180deg, rgba(255,255,255,.7) 0%, rgba(255,255,255,.3) 100%);   /* выделенная карточка — белее соседних, не розовая */
  --red: #D52A21; --red-hover: #BF2219; --red-ink: #F80615;
  --red-soft: rgba(213, 42, 33, .08); --red-line: rgba(213, 42, 33, .28);
  --hover-line: rgba(42, 42, 48, .55);   /* контур карточки и кнопки при наведении — тёмно-серый, не красный (владелец продукта, 02.10.2026) */
  --light-btn: #FFFFFF; --light-btn-ink: #2A2A30;
  --field: rgba(255, 255, 255, .85); --field-b: rgba(42, 42, 48, .14);
  --logo-filter: grayscale(1) contrast(1.5); --logo-filter-inv: grayscale(1) invert(1) contrast(1.5); --logo-blend: multiply; --logo-opacity: .88; /* contrast — тонкие серые логотипы темнеют, белая подложка остаётся белой */
  --inv-filter: none; --inv-filter-inv: grayscale(1) invert(1);
  --header-bg: rgba(255, 255, 255, .78);
  --modal-bg: #FAF8F5;
  --menu-bg: #FCFBF9;
  --wheel-petal: rgba(255, 255, 255, .8); --wheel-petal-b: rgba(42, 42, 48, .15); --wheel-ring: rgba(42, 42, 48, .2);
  --wheel-label: #4A4B52; --petal-active: #FFFFFF;
  --tile: rgba(255, 255, 255, .9); --dot: rgba(42, 42, 48, .18);
  --poster-ink: #2A2A30; --poster-ink-2: rgba(42, 42, 48, .72); --poster-base: #F6F2EC;
  --soft: #F2EEE8; --soft-b: rgba(70, 55, 40, .08);   /* серо-бежевая подложка вместо розовой (--red-soft): суммы в кейсах, значки, заметки; тёплая, в тон фону — холодный серый #F1F1F3 рядом с бежеватым фоном выглядел голубоватым */
  --stair-bg: #F2EEE8; --stair-b: rgba(70, 55, 40, .08); --stair-sh: 0 1px 2px rgba(40, 36, 30, .04), 0 22px 40px -30px rgba(40, 36, 30, .26);   /* карточки «лестницы» — серо-бежевые: не розовые и не холодно-серые */
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #1A1918;
  --page-grad: #1A1918;   /* однородный графит, чуть тёплый — без винного и без голубоватого оттенка */
  --ink: #F2F1EF; --ink-2: rgba(242, 241, 239, .72); --ink-3: rgba(242, 241, 239, .56);
  --line: rgba(255, 255, 255, .11); --line-2: rgba(255, 255, 255, .06);
  --glass: linear-gradient(180deg, rgba(255,255,255,.11) 0%, rgba(255,255,255,.045) 22%, rgba(255,255,255,.04) 78%, rgba(255,255,255,.09) 100%);
  --glass-b: rgba(255, 255, 255, .11);
  --glass-sh: inset 0 1px 0 rgba(255,255,255,.1), 0 30px 60px -32px rgba(0,0,0,.55);
  --glass-2: rgba(255, 255, 255, .06); --glass-2-b: rgba(255, 255, 255, .11);
  --glass-hi: linear-gradient(180deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.03) 100%);
  --red: #D52A21; --red-hover: #E3332A; --red-ink: #F80615;   /* красный текст на тёмном — чистый красный, светлее фирменного ради контраста (4,9:1 на фоне); до 02.10.2026 — лососевый #FF6A5E */
  --red-soft: rgba(255, 59, 48, .14); --red-line: rgba(255, 59, 48, .45);
  --hover-line: rgba(255, 255, 255, .45);
  --light-btn: #F2F1EF; --light-btn-ink: #232226;
  --field: rgba(255, 255, 255, .05); --field-b: rgba(255, 255, 255, .16);
  --logo-filter: grayscale(1) invert(1) contrast(1.5); --logo-filter-inv: grayscale(1) contrast(1.5); --logo-blend: screen; --logo-opacity: .92;
  --inv-filter: grayscale(1) invert(1) brightness(1.1); --inv-filter-inv: none;
  --header-bg: rgba(33, 32, 30, .74);
  --modal-bg: #232220;
  --menu-bg: #201F1D;
  --wheel-petal: rgba(255, 255, 255, .05); --wheel-petal-b: rgba(255, 255, 255, .17); --wheel-ring: rgba(255, 255, 255, .24);
  --wheel-label: rgba(242, 241, 239, .74); --petal-active: rgba(255, 255, 255, .1);
  --tile: rgba(255, 255, 255, .06); --dot: rgba(255, 255, 255, .24);
  --poster-ink: #FFFFFF; --poster-ink-2: rgba(255, 255, 255, .78); --poster-base: #242220;
  --soft: rgba(255, 255, 255, .07); --soft-b: rgba(255, 255, 255, .1);
  --stair-bg: #2B2927; --stair-b: rgba(255, 255, 255, .09); --stair-sh: 0 30px 60px -32px rgba(0, 0, 0, .55);   /* в тёмной теме — графит светлее фона */
}

/* ------------------------------------------------------------------ основа */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 36px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-width: 320px; font-family: var(--font); font-size: 16px; line-height: 1.5; color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
body::before { content: ''; position: fixed; inset: 0; z-index: -1; background: var(--page-grad); pointer-events: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, figure { margin: 0; }
:focus-visible { outline: 2px solid var(--red-ink); outline-offset: 3px; }
::selection { background: var(--red); color: #FFFFFF; }
input::placeholder, textarea::placeholder { color: var(--ink-3); opacity: 1; }
.nw { all: unset !important; white-space: nowrap !important; } /* обёртка typo для слов через дефис: только запрет переноса, никакого своего вида */
.unit { font-size: .5em; font-weight: 700; letter-spacing: 0; }   /* «руб.» у крупной суммы (фильтр money): знак ₽ был в одну букву, «руб.» в полный кегль не помещается в карточки */
.footer a[href^="mailto:"], .mega__contacts p { overflow-wrap: normal; }
.footer__bottom a[href^="mailto:"] { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: var(--red); color: #FFFFFF; text-decoration: none; font-weight: 600; }
.skip:focus { top: 16px; }
html[data-theme="dark"] .only-light, html:not([data-theme="dark"]) .only-dark { display: none !important; }
html.is-locked { overflow: hidden; }

main { overflow-x: clip; } /* свечения и 3D-сцена шире экрана — не даём им растянуть страницу вбок */
.container { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; position: relative; }
.container--text { width: min(860px, 100% - 2 * var(--gutter)); }
.ic { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic--sm { width: 16px; height: 16px; }
.ic--lg { width: 26px; height: 26px; }
.glass { background: var(--glass); border: 1px solid var(--glass-b); box-shadow: var(--glass-sh); border-radius: 28px; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.glow { display: none; }   /* красные пятна-свечения фона убраны 02.10.2026, фон однородный; из шаблонов сайта они удалены, правило — для кабинета (html/…/reception/views/skin/_wrap.php) */

/* ------------------------------------------------------------------ кнопки, чипы, подписи */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 24px; border: 0; border-radius: 999px; font-size: 16px; font-weight: 600; line-height: 1; white-space: nowrap; text-decoration: none; transition: transform .15s ease, background-color .15s ease, border-color .15s ease; }
.btn:active { transform: translateY(1px); }
.btn--lg { height: 60px; padding: 0 30px; font-size: 17px; }
.btn--sm { height: 44px; padding: 0 20px; font-size: 15px; }
.btn--block { width: 100%; }
.btn--red { background: var(--red); color: #FFFFFF; box-shadow: 0 12px 28px -14px rgba(213, 42, 33, .6), inset 0 1px 0 rgba(255, 255, 255, .22); }
.btn--red:hover { background: var(--red-hover); color: #FFFFFF; }
.btn--glass { background: var(--glass); border: 1px solid var(--glass-b); box-shadow: var(--glass-sh); color: var(--ink); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.btn--glass:hover { border-color: var(--hover-line); color: var(--ink); }
.btn--white { height: 50px; background: #FFFFFF; color: #2A2A30; font-size: 15px; }
.btn--ghost { height: 50px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); color: #FFFFFF; font-size: 15px; }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; border-radius: 999px; border: 1px solid var(--glass-2-b); background: var(--glass-2); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 13px; }
.icon-btn--lg { width: 52px; height: 52px; }
.icon-btn--red { background: var(--red); border-color: var(--red); color: #FFFFFF; }
.icon-btn:hover { border-color: var(--hover-line); }
.chip { display: inline-flex; align-items: center; height: 30px; padding: 0 13px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; background: var(--glass-2); color: var(--ink-2); border: 1px solid var(--glass-2-b); }
.chip--red { background: var(--red-soft); color: var(--red-ink); border-color: var(--red-line); }
.chip--solid { background: var(--red); color: #FFFFFF; border-color: var(--red); }
.chip--poster { background: rgba(255, 255, 255, .5); color: var(--poster-ink); border-color: rgba(42, 42, 48, .08); }
html[data-theme="dark"] .chip--poster { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red-ink); }
.eyebrow::before { content: ''; width: 24px; height: 2px; border-radius: 2px; background: var(--red); }
.rule-label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.rule-label--line { display: flex; align-items: center; gap: 12px; }
.rule-label--line::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; }
.link:hover { color: var(--red-ink); }
.link--red { color: var(--red-ink); }
.note { display: flex; align-items: flex-start; gap: 8px; margin-top: 22px; font-size: 14px; line-height: 1.5; color: var(--ink-3); }
.note a { color: var(--ink-2); }
.note .ic { margin-top: 2px; }

.h1, .phero__title, .hero__title { --fit: calc((100vw - 2 * var(--gutter)) / var(--lw, 1)); }   /* кегль, при котором самое длинное слово заголовка (--lw, build.py fit_em) встаёт в строку */
.h1 { font-size: min(clamp(40px, 6vw, 84px), var(--fit)); line-height: .98; font-weight: 700; letter-spacing: 0; margin-top: 18px; overflow-wrap: break-word; }
.h1--article { font-size: min(clamp(32px, 4.2vw, 56px), var(--fit)); line-height: 1.04; }
.h2 { --fit: calc((100vw - 2 * var(--gutter)) / var(--lw, 1)); font-size: min(clamp(34px, 4.2vw, 60px), var(--fit)); line-height: 1.02; font-weight: 800; letter-spacing: -.035em; text-wrap: balance; }   /* строки поровну: без одинокого слова во второй строке */
.h2--md { font-size: min(clamp(30px, 3.6vw, 52px), var(--fit)); }
.ctaband .h2 { --fit: calc((100vw - 2 * var(--gutter) - 2 * var(--band-pad)) / var(--lw, 1)); }   /* кегль — чтобы самое длинное слово заголовка встало в строку (--lw из fit_em) */
.h3 { font-size: clamp(26px, 2.6vw, 38px); line-height: 1.08; font-weight: 800; letter-spacing: -.03em; margin-bottom: 24px; }

.section { position: relative; padding-top: clamp(80px, 9.7vw, 140px); }
.section--tight { padding-top: clamp(48px, 5.5vw, 80px); }
.section--first { padding-top: calc(var(--header-h) + 72px); }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px 48px; margin-bottom: clamp(28px, 3.6vw, 52px); }
.section__head--row { align-items: center; margin-bottom: 28px; }
.section__head--row .h3 { margin: 0; }
.section__title { display: flex; flex-direction: column; gap: 18px; max-width: 820px; }
.section__aside { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }   /* лид и ссылка раздела — справа от заголовка */
.section__aside .section__lead { margin-bottom: 0; }
.section__lead { max-width: 460px; margin-bottom: 6px; font-size: 18px; line-height: 1.55; color: var(--ink-2); }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 26px; font-size: 14px; color: var(--ink-3); }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--red-ink); }
.crumbs [aria-current] { color: var(--ink-2); }
.crumbs span[aria-hidden] { font-size: 10px; opacity: .6; }

/* ------------------------------------------------------------------ шапка */
.site-header { position: fixed; z-index: 50; top: 16px; left: 0; right: 0; padding: 0 clamp(12px, 2.2vw, 32px); pointer-events: none; }
.site-header__bar {
  pointer-events: auto; max-width: 1376px; height: var(--header-h); margin: 0 auto; padding: 0 14px 0 24px; display: flex; align-items: center; gap: 12px;
  border-radius: 24px; background: var(--header-bg); border: 1px solid var(--glass-b); box-shadow: var(--glass-sh);
  -webkit-backdrop-filter: blur(22px) saturate(1.2); backdrop-filter: blur(22px) saturate(1.2); transition: box-shadow .2s ease;
}
.site-header.is-scrolled .site-header__bar { box-shadow: var(--glass-sh), 0 18px 40px -24px rgba(30, 28, 26, .28); }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; flex-shrink: 0; }
.brand__bm { width: 108px; height: auto; }
.brand__mvf { width: 140px; height: auto; }
.brand__sep { width: 1px; height: 32px; background: var(--line); }
.nav { display: flex; align-items: center; gap: 2px; margin-left: 12px; }
.nav__link { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 12px; border-radius: 999px; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink); white-space: nowrap; }
.nav__link:hover { background: var(--glass-2); }
.nav__link.is-current { box-shadow: inset 0 0 0 1px var(--glass-2-b); background: var(--glass-2); }

/* выпадающие списки разделов: пункты те же, что в мега-меню (site.json: menu); открываются наведением,
   касанием и с клавиатуры (site.js, initDropdowns). Первое нажатие открывает список, второе ведёт в раздел */
.nav__item { position: relative; }
.nav__chev { width: 12px; height: 12px; margin-left: 2px; opacity: .5; transition: transform .2s ease, opacity .2s ease; }
.nav__item.is-open .nav__link { background: var(--glass-2); }
.nav__item.is-open .nav__chev { transform: rotate(180deg); opacity: .9; }
.dd { position: absolute; z-index: 60; top: calc(100% + 18px); left: -14px; width: 316px; display: flex; flex-direction: column; padding: 12px 10px 10px; border-radius: 22px; background: var(--menu-bg); border: 1px solid var(--glass-b); box-shadow: var(--glass-sh), 0 32px 64px -28px rgba(30, 28, 26, .38); animation: dd-in .18s ease; }   /* 316 px — самый длинный пункт «Поделиться информацией о сделке» встаёт в одну строку */
.dd[hidden] { display: none; }
.dd::before { content: ''; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }   /* мостик: мышь идёт от пункта к списку и не закрывает его */
.dd__group { margin: 6px 12px 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red-ink); }
.dd__group:not(:first-child) { margin-top: 16px; }
.dd__link { padding: 8px 12px; border-radius: 12px; font-size: 15px; line-height: 1.3; font-weight: 600; text-decoration: none; color: var(--ink); transition: background .15s ease, color .15s ease; }
.dd__link:hover, .dd__link:focus-visible { background: var(--glass-2); color: var(--red-ink); }
.dd__sep { height: 1px; margin: 6px 12px; background: var(--line); }
.dd__promo { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; align-items: center; margin-top: 8px; padding: 10px 12px; border-radius: 16px; text-decoration: none; color: var(--poster-ink); background: var(--poster-base); border: 1px solid var(--glass-b); }
.dd__promo img { width: 52px; height: 52px; object-fit: contain; transition: transform .35s ease; }
.dd__promo:hover img { transform: translateY(-3px) rotate(-4deg); }
.dd__promo small { display: block; font-size: 12px; font-weight: 600; color: var(--poster-ink-2); }
.dd__promo strong { display: block; margin-top: 2px; font-size: 14.5px; line-height: 1.2; font-weight: 800; }
.dd__all { display: flex; align-items: center; gap: 6px; margin-top: 8px; padding: 12px 12px 4px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; text-decoration: none; color: var(--red-ink); }
@keyframes dd-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.site-header__phone { font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; margin-right: 6px; }
html:not([data-theme="dark"]) .ic--for-dark, html[data-theme="dark"] .ic--for-light { display: none; }
.burger { display: none; }

/* ------------------------------------------------------------------ мега-меню (по «лесенке») */
.mega { position: fixed; inset: 0; z-index: 70; overflow-y: auto; background: var(--menu-bg); color: var(--ink); animation: mega-in .22s ease; }
.mega[hidden] { display: none; }
@keyframes mega-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mega__inner { min-height: 100%; display: grid; grid-template-columns: 490px minmax(0, 1fr); gap: 64px; padding: 64px 0 56px; }
.mega__close { position: absolute; right: -8px; top: 22px; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; background: transparent; color: var(--ink); }
.mega__close:hover { background: var(--glass-2); }
.mega__left { display: flex; flex-direction: column; gap: 22px; }
.mega__cats { padding: 8px; display: flex; flex-direction: column; gap: 6px; border-radius: 22px; }
.mega__cat { display: flex; justify-content: space-between; align-items: center; height: 56px; padding: 0 18px 0 20px; border: 0; border-radius: 14px; background: var(--glass-2); color: var(--ink); font-size: 17px; font-weight: 500; text-align: left; transition: background-color .15s ease; }
.mega__cat:hover { background: var(--soft); }
.mega__cat.is-active { background: var(--red); color: #FFFFFF; box-shadow: 0 14px 30px -16px rgba(213, 42, 33, .7); }
.mega__acc { display: none; }
.mega__contacts { margin-top: auto; padding-top: 40px; display: flex; flex-direction: column; gap: 8px; }
.mega__phone { font-size: 30px; font-weight: 700; letter-spacing: -.01em; text-decoration: none; }
.mega__contacts p { font-size: 15px; color: var(--ink-3); }
.mega__social { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.mega__max { font-size: 12px; letter-spacing: .02em; }
.mega__right { display: flex; flex-direction: column; padding-top: 8px; }
.mega__panel[hidden] { display: none; }
.mega__items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 48px; }
.mega__item { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); }
.mega__item strong { font-size: 28px; line-height: 1.12; font-weight: 800; letter-spacing: -.02em; transition: color .15s ease; }
.mega__item span { font-size: 16px; line-height: 1.5; color: var(--ink-3); }
.mega__item:hover strong { color: var(--red-ink); }
.mega__all { margin-top: 36px; }
.mega__promo { position: relative; margin-top: auto; min-height: 150px; display: flex; align-items: center; padding: 26px 40px; overflow: hidden; text-decoration: none; color: var(--ink); border-radius: 26px; }
.mega__promo::before { content: ''; position: absolute; inset: 0; border-top: 1px solid var(--line); border-radius: 26px; pointer-events: none; }
.mega__promo-art { position: absolute; right: 24px; top: 50%; width: 200px; height: 200px; transform: translateY(-50%); }
.mega__promo-art img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s ease; }
.mega__promo:hover .mega__promo-art img { transform: translateY(-6px) rotate(-3deg); }
.mega__promo-text { position: relative; display: flex; flex-direction: column; gap: 6px; max-width: calc(100% - 220px); }
.mega__promo-text small { font-size: 15px; color: var(--ink-2); }
.mega__promo-text strong { font-size: 30px; line-height: 1.05; font-weight: 900; letter-spacing: -.02em; text-transform: uppercase; }
.mega__promo-text span { font-size: 16px; color: var(--ink-2); }
.mega__promo:hover strong { color: var(--red-ink); }

/* ------------------------------------------------------------------ первый экран главной */
.hero { position: relative; padding-top: 172px; overflow: clip; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr); }
.hero__art { position: absolute; right: -140px; top: -150px; width: 820px; height: 820px; -webkit-mask-image: linear-gradient(180deg, transparent 60px, #000 210px); mask-image: linear-gradient(180deg, transparent 60px, #000 210px); } /* верх сцены уходит под шапку: гасим его, иначе частицы обрываются её нижним краем */
.hero__text { position: relative; max-width: 820px; display: flex; flex-direction: column; align-items: flex-start; }
.badge { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px 0 10px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.badge img { width: 18px; height: auto; }
.hero__title { margin-top: 30px; font-size: min(clamp(60px, 9.45vw, 136px), var(--fit)); line-height: 1; font-weight: 700; letter-spacing: 0; }   /* межстрочное 1: при .9 хвост «р» из «гранта» касался «P» в «IPO» строкой ниже (просвет 0–1 px, теперь 5–15). Заголовки первых экранов (и .phero__title, .h1) — Golos 700 без поджатия: в Black (900) буквы в таком кегле слипались даже при разрядке −.01em (владелец продукта, 28.09.2026: «может их не такими жирными делать?»); .h2 остались 800 */
.hero__title span { display: block; }
.hero__title .hero__org { margin-bottom: clamp(12px, 1.4vw, 20px); font-size: clamp(24px, 2.8vw, 40px); line-height: 1.1; font-weight: 700; letter-spacing: -.025em; }   /* название фонда — первой строкой заголовка */
.hero__lead { margin-top: clamp(20px, 2.2vw, 30px); max-width: 640px; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.55; color: var(--ink-2); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.stats { position: relative; list-style: none; margin: 80px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.stat { container-type: inline-size; padding: 30px 32px 28px; display: flex; flex-direction: column; gap: 10px; }
.stat strong { font-size: clamp(38px, 3.9vw, 60px); font-size: clamp(22px, 16cqi, 60px); line-height: 1; font-weight: 800; letter-spacing: -.035em; }   /* крупные числа (здесь, .statcard, .stair__amount) — от ширины своей карточки (cqi): самая длинная сумма «13+ млрд руб.» — до 5,9 кегля, «до 300 млн руб.» — до 7 (мелкий кегль у шрифта шире); первое значение — для браузеров без cqi */
.stat > span, .stat .unit { font-size: 16px; line-height: 1.4; color: var(--ink-2); }   /* подпись и «руб.»; цифры счётчика (.odo) — кеглем и цветом числа */
/* Цифры фонда выделены: красные числа на стекле с красным отливом (как .statcards программ). При появлении на
   экране число прокручивается, как счётчик (site.js, initCount): каждая цифра — лента 0…9 в окне высотой в строку,
   ширину окна держит сама цифра (.odo__ph), поэтому строка не прыгает. Младшие разряды делают больше оборотов. */
.stat { background: var(--glass-hi), var(--glass); }
.stat strong { color: var(--red-ink); }
.odo__col { position: relative; display: inline-block; clip-path: inset(.13em -.12em .07em); }   /* окно — по высоте цифр Golos при line-height 1 (от .17 до .89 em сверху): соседние цифры ленты не выглядывают */
.odo__ph { visibility: hidden; }
.odo__strip { position: absolute; top: 0; left: -.12em; right: -.12em; display: flex; flex-direction: column; align-items: center; transition: transform 1.9s cubic-bezier(.2, .75, .15, 1); }
.odo__strip > span { line-height: 1; }
.odo.is-on .odo__strip { transform: translateY(calc(var(--n) * -1em)); }

/* Слово руководителя — блок после первого экрана главной: фото слева, справа обращение, имя, ссылка на команду.
   Стекло с красным отливом, как у цифр фонда. На телефоне фото сверху. */
.leader { display: grid; grid-template-columns: 440px minmax(0, 1fr); overflow: hidden; border-radius: 36px; background: var(--glass-hi), var(--glass); }
.leader__photo { position: relative; min-height: 500px; }
.leader__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 20%; }
.leader__body { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 26px; padding: 56px 72px 56px 64px; }
.leader__body::before { content: '«'; position: absolute; right: 44px; top: 4px; font: 900 240px/1 var(--font); color: var(--ink); opacity: .06; pointer-events: none; }   /* кавычка-знак на фоне — серая: красная на 10 % выходила розовой */
.leader__fig { display: flex; flex-direction: column; gap: 26px; margin: 0; }
.leader__quote { position: relative; margin: 0; font-size: clamp(24px, 2.3vw, 33px); line-height: 1.3; font-weight: 700; letter-spacing: -.015em; text-wrap: pretty; }
.leader__name b { display: block; font-size: 20px; font-weight: 800; }
.leader__name span { display: block; margin-top: 4px; font-size: 16px; color: var(--ink-2); }

/* Живая 3D-сцена появляется целиком: холст со знаком и звёздами проявляется, когда сцена готова
   (владелец продукта, 27.09.2026: знак-картинка стоял на полсекунды раньше звёзд). Картинка — запасная:
   сразу видна, когда сцены не будет (.no-3d ставит hero3d.js: нет WebGL, «уменьшить движение», ошибка),
   а если сцена не успела за 1,8 с — проявляется сама и потом уступает место холсту. */
.hero3d { pointer-events: none; }
.hero3d__still { position: absolute; inset: 14%; width: 72%; height: 72%; object-fit: contain; opacity: 0; transform-origin: 50% 100%; animation: var(--sway), still-in .6s ease 1.8s forwards; }
.hero3d.no-3d .hero3d__still { opacity: 1; }
@keyframes still-in { to { opacity: 1; } }
.hero3d canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity .8s ease; -webkit-mask-image: radial-gradient(closest-side, #000 74%, transparent 100%); mask-image: radial-gradient(closest-side, #000 74%, transparent 100%); }
.hero3d.is-live canvas { opacity: 1; }
.hero3d.is-live .hero3d__still { visibility: hidden; transition: visibility 0s linear .8s; animation-play-state: paused; }   /* прячется, когда холст проявился */

/* Покачивание 3D-картинок — одно на весь сайт и в такт живой сцене (hero3d.js, иконки внутренних страниц):
   наклон ±5° вокруг нижнего края картинки, приближение ±2 % и подъём ±7 px с периодами 15,7, 10,5 и 7,9 с —
   4, 6 и 8 тактов сцены, частоты 2:3:4. Картинка идёт восьмёркой, клонясь в сторону хода; рисунок повторяется
   раз в 31,4 с. Владелец продукта, 27.09.2026: картинка не должна просто ходить вверх-вниз.
   Каждое движение — своим свойством (rotate, scale, translate), не transform: transform держит центровку
   (translateY(-50%) у .poster__art), и анимация на нём затирала её — кубок афиши съезжал на кнопки.
   Ось наклона — transform-origin: у картинки без transform — 50% 100%; у картинки с translateY(-50%) —
   50% 50% (по умолчанию): начало отсчитывается до сдвига, и центр рамки приходится на нижний край.
   Поправка позы --tilt стоит в transform после сдвига и поворачивает картинку вокруг её центра.
   Задержки ставят начало в среднюю позу, откуда всё движется как в живой сцене: наклон против часовой стрелки,
   подъём вверх, приближение. Живая иконка берёт время у картинки (hero3d.js) и сменяет её без скачка. */
:root { --sway: art-roll 7.854s ease-in-out -11.781s infinite alternate, art-near 5.236s ease-in-out -2.618s infinite alternate, art-bob 3.927s ease-in-out -1.963s infinite alternate; }
@keyframes art-roll { from { rotate: -5deg; } to { rotate: 5deg; } }
@keyframes art-near { from { scale: .98; } to { scale: 1.02; } }
@keyframes art-bob { from { translate: 0 7px; } to { translate: 0 -7px; } }
.poster__art[src$="/ev-trophy.png"] { --tilt: -5deg; }   /* кубок нарисован с наклоном вправо: качаясь, он стоит прямо */

/* первый экран внутренней страницы */
.phero { position: relative; padding-top: calc(var(--header-h) + 64px); overflow-x: clip; }
.phero__inner { display: grid; grid-template-columns: minmax(0, 1fr) 520px; align-items: center; gap: 24px; }
.phero__text { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; }
.phero__text .eyebrow { margin-bottom: 18px; }
.phero__title { font-size: min(clamp(42px, 6.2vw, 92px), var(--fit)); line-height: .96; font-weight: 700; letter-spacing: 0; overflow-wrap: break-word; } /* без переносов по слогам: длинным названиям title_size (build.py) даёт кегль меньше */
.phero__title--long { font-size: min(clamp(38px, 5vw, 72px), var(--fit)); line-height: .98; }
.phero__title--xlong { font-size: min(clamp(34px, 4vw, 58px), var(--fit)); line-height: 1.02; }
.h1--long { font-size: min(clamp(36px, 4.6vw, 66px), var(--fit)); line-height: 1; }
.h1--xlong { font-size: min(clamp(32px, 3.8vw, 54px), var(--fit)); line-height: 1.04; }
.phero__sub { margin-top: 26px; font-size: clamp(20px, 2vw, 28px); line-height: 1.2; font-weight: 700; letter-spacing: -.02em; }
.phero__lead { margin-top: 16px; max-width: 700px; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.6; color: var(--ink-2); }
.phero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 36px; }
.phero__note { flex-basis: 100%; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-3); }
.phero__art { position: relative; width: 520px; height: 520px; margin: -40px -40px -40px 0; }

/* ------------------------------------------------------------------ карточки программ */
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pcard { position: relative; overflow: hidden; padding: 26px; display: flex; flex-direction: column; align-items: flex-start; min-height: 500px; border-radius: 30px; text-decoration: none; color: var(--ink); transition: transform .2s ease, border-color .2s ease; }
.pcard:hover, .tile:hover, .ncard:hover, .evcard:hover { transform: translateY(-3px); border-color: var(--hover-line); }
.pcard__art { position: relative; width: 190px; height: 190px; margin: 6px auto 0; align-self: center; }
.pcard__art img { position: relative; width: 100%; height: 100%; object-fit: contain; transition: transform .35s ease; }
.pcard:hover .pcard__art img { transform: translateY(-6px) rotate(-3deg); }
.pcard__title { margin-top: 8px; font-size: 23px; line-height: 1.22; font-weight: 700; letter-spacing: -.015em; }
.pcard__text { margin-top: 10px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.pcard__amount { margin-top: auto; padding-top: 18px; font-size: 38px; line-height: 1; font-weight: 800; letter-spacing: -.035em; color: var(--red-ink); }
.pcard__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 15px; font-weight: 600; color: var(--ink); }
.pcard__text + .pcard__more { margin-top: auto; padding-top: 18px; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tile { position: relative; overflow: hidden; padding: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-height: 300px; border-radius: 28px; text-decoration: none; color: var(--ink); transition: transform .2s ease, border-color .2s ease; }
.tile__art { width: 120px; height: 120px; object-fit: contain; margin: -8px 0 6px -8px; transition: transform .35s ease; }
.tile:hover .tile__art { transform: translateY(-6px) rotate(-3deg); }   /* иконка откликается, как у карточек программ */
.tile strong { font-size: 23px; line-height: 1.2; font-weight: 700; letter-spacing: -.015em; }
.tile > span:not(.link) { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.tile .link { margin-top: auto; padding-top: 10px; }

/* ------------------------------------------------------------------ страница программы */
.statcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden; background-image: var(--glass-hi); }
.statcard { container-type: inline-size; padding: 30px 34px; display: flex; flex-direction: column; gap: 10px; }
.statcard + .statcard { border-left: 1px solid var(--line); }
.statcard strong { font-size: clamp(34px, 3.4vw, 50px); font-size: clamp(22px, 13.5cqi, 50px); line-height: 1; font-weight: 800; letter-spacing: -.035em; color: var(--red-ink); }
.statcard span { font-size: 16px; color: var(--ink-2); }
.checks { list-style: none; margin: 0; padding: 4px 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; }
.check-item { display: flex; gap: 14px; align-items: flex-start; padding: 20px 0; border-top: 1px solid var(--line); font-size: 16.5px; line-height: 1.5; }
.checks > .check-item:nth-child(-n+2) { border-top: 0; }
.check-item .ic { width: 22px; height: 22px; margin-top: 1px; color: var(--red-ink); stroke-width: 2.2; }
.numcards { list-style: none; margin: 0; padding: 4px 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; }
.numcard { display: flex; gap: 18px; align-items: flex-start; padding: 22px 0; border-top: 1px solid var(--line); }
.numcards > .numcard:nth-child(-n+2) { border-top: 0; }
.numcards--single { grid-template-columns: minmax(0, 1fr); }
.numcards--single > .numcard:nth-child(2) { border-top: 1px solid var(--line); }
.numcard__sub { margin: 12px 0 0; padding: 0 0 0 18px; columns: 2; column-gap: 40px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.numcard__sub li { break-inside: avoid; margin-bottom: 6px; }
.numcard__sub li::marker { color: var(--red-ink); }
.numcard__n { flex-shrink: 0; min-width: 34px; font-size: 16px; font-weight: 800; color: var(--red-ink); letter-spacing: .02em; margin-top: 2px; }
.numcard b { display: block; font-size: 18px; line-height: 1.3; font-weight: 700; margin-bottom: 6px; }
.numcard > span:not(.numcard__n) > span { display: block; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: s; }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.step b { font-weight: 700; }
.step > span:not(.step__n) > span { display: block; margin-top: 8px; font-size: 15px; line-height: 1.5; font-weight: 400; color: var(--ink-2); }
/* разделы программы из одного пункта — строками одной таблицы */
.facts { margin: 0; padding: 4px 32px; }
.facts__row { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 8px 48px; align-items: baseline; padding: 24px 0; border-top: 1px solid var(--line); }
.facts__row:first-child { border-top: 0; }
.facts dt { font-size: 20px; line-height: 1.3; font-weight: 800; letter-spacing: -.015em; }
.facts dd { margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.step { padding: 24px; display: flex; flex-direction: column; gap: 14px; border-radius: 22px; font-size: 16.5px; line-height: 1.45; font-weight: 600; }
.step__n { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--red); color: #FFFFFF; font-weight: 800; }
.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.case { padding: 30px 32px; display: flex; flex-direction: column; gap: 10px; border-radius: 28px; }
.case__name { font-size: 22px; font-weight: 800; letter-spacing: -.015em; }
.case__sub { font-size: 15.5px; color: var(--ink-2); }
.case__fact { margin-top: 10px; padding: 16px 20px; border-radius: 18px; background: var(--soft); border: 1px solid var(--soft-b); display: flex; flex-direction: column; gap: 4px; }
.case__fact small { font-size: 13px; color: var(--ink-2); }
.case__fact strong { font-size: 26px; line-height: 1.1; font-weight: 800; color: var(--red-ink); letter-spacing: -.02em; }
.case__result { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.case__result b { color: var(--ink); }
.docs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.docs--wide { margin-top: 32px; }
.doc { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 20px; text-decoration: none; color: var(--ink); transition: border-color .15s ease; }
.doc:hover { border-color: var(--hover-line); }
.doc__icon { width: 44px; height: 44px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 14px; background: var(--soft); color: var(--red-ink); }
.doc__name { flex: 1; font-size: 15.5px; line-height: 1.4; font-weight: 600; }
.doc__meta { flex-shrink: 0; font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.doc > .ic { color: var(--ink-3); }
.doc--page:hover .doc__name { color: var(--red-ink); }   /* карточка страницы сайта (реестр), а не файла: стрелка вместо «скачать» */

/* реестр аккредитованных инвесторов: таблица в оформлении сайта вместо PDF */
.reg__meta { margin-top: 18px; font-size: 16px; color: var(--ink-2); }
.reg__meta a { display: inline-flex; align-items: center; gap: 6px; color: var(--red-ink); font-weight: 600; text-decoration: none; }
.reg { margin-top: clamp(28px, 3.4vw, 44px); }
.reg__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 16px; }
.reg__search { flex: 1 1 320px; max-width: 460px; }
.reg__table { padding: 8px 28px; border-radius: 32px; }
.reg__table table { width: 100%; border-collapse: collapse; }
.reg__table th, .reg__table td { padding: 16px 12px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); font-size: 15.5px; line-height: 1.4; }
.reg__table tbody tr:last-child > * { border-bottom: 0; }
.reg__table thead th { padding: 16px 12px 12px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.reg__table tr[hidden] { display: none; }
.reg__n { width: 56px; font-variant-numeric: tabular-nums; color: var(--ink-3); }
.reg__name { font-weight: 700; }
.reg__dec span { display: block; font-weight: 600; }
.reg__dec small { display: block; margin-top: 2px; font-size: 13.5px; color: var(--ink-3); }
.reg__agr { white-space: nowrap; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.reg__empty { padding: 28px 12px; font-size: 16px; color: var(--ink-2); }
.ctaband { --band-pad: clamp(32px, 4vw, 56px); position: relative; overflow: hidden; padding: var(--band-pad); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: center; border-radius: 36px; background-image: var(--glass-hi); }
.ctaband__text { position: relative; display: flex; flex-direction: column; gap: 14px; }
.ctaband__text p { font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.ctaband__actions { position: relative; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
.ctaband__note { flex-basis: 100%; text-align: right; font-size: 14px; color: var(--ink-3); }
/* совет и команда — справочник: небольшое фото, рядом имя и должность; лица есть, но страницу не заслоняют */
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 40px; }
.person { position: relative; display: flex; align-items: center; gap: 18px; min-height: 124px; padding: 14px 22px 14px 14px; border-radius: 26px; background: var(--glass); border: 1px solid var(--glass-b); box-shadow: var(--glass-sh); transition: transform .25s ease, border-color .2s ease; }
.person picture { flex-shrink: 0; }
.person img { position: relative; width: 96px; height: 96px; object-fit: cover; object-position: 50% 25%; border-radius: 20px; background: var(--glass-2); transform-origin: 70% 100%; transition: transform .45s cubic-bezier(.2, .8, .2, 1.2), box-shadow .35s ease, border-radius .35s ease; } /* height задан явно — атрибут height="480" иначе вытянет фото */
/* наведение: карточка теплеет и приподнимается, фото «выходит» из неё крупнее — как поляроид. Растёт вверх и влево,
   чтобы не закрыть имя; только там, где есть курсор: на телефоне тап залипал бы в этом состоянии */
@media (hover: hover) and (min-width: 761px) {
  .person:hover { z-index: 3; transform: translateY(-3px); border-color: var(--hover-line); background-image: var(--glass-hi); }
  .person:hover img { transform: translateY(-8px) scale(1.6) rotate(-2deg); border-radius: 14px; box-shadow: 0 0 0 3px var(--light-btn), 0 26px 50px -18px rgba(30, 28, 26, .45); transition-delay: .08s; } /* задержка — чтобы фото не вспыхивали, когда курсор просто проходит мимо */
  .person:hover figcaption { transform: translateX(16px); transition-delay: .08s; } /* имя отъезжает и не прячется под фото */
}
.person figcaption { display: flex; flex-direction: column; gap: 5px; min-width: 0; transition: transform .35s ease; }
.person b { font-size: 17px; line-height: 1.25; font-weight: 700; }
.person span { font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.contacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.contact { padding: 28px; display: flex; flex-direction: column; gap: 8px; border-radius: 26px; text-decoration: none; color: var(--ink); }
.contact__icon { width: 52px; height: 52px; margin-bottom: 8px; display: flex; align-items: center; justify-content: center; border-radius: 16px; background: var(--soft); color: var(--red-ink); }
.contact small { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.contact strong { font-size: 21px; line-height: 1.3; font-weight: 700; }
.contact a { text-decoration: none; }
.contact > span:not(.contact__icon):not(.link) { font-size: 15px; color: var(--ink-2); }
.article { padding: clamp(24px, 4vw, 48px); border-radius: 30px; font-size: 18px; line-height: 1.7; overflow-wrap: break-word; }   /* длинные адреса ссылок переносятся, а не уходят за край */
.article p + p, .article p + ul, .article ul + p, .article p + ol, .article h2, .article h3 { margin-top: 1em; }
.article ul, .article ol { padding-left: 1.2em; margin: 0; }
.article li + li { margin-top: .4em; }
.article a { color: var(--red-ink); }
.article h2, .article h3 { font-size: 24px; line-height: 1.25; letter-spacing: -.015em; }
.article__meta { display: flex; align-items: center; gap: 14px; font-size: 15px; color: var(--ink-3); }
.article__lead { margin: 22px 0 28px; font-size: 20px; line-height: 1.55; color: var(--ink-2); }
.h1--article + .article { margin-top: 32px; }

/* ------------------------------------------------------------------ события */
.seg { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; }
.seg button { height: 42px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font-size: 15px; font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.seg button[aria-selected="true"], .seg button[aria-pressed="true"] { background: var(--light-btn); color: var(--light-btn-ink); box-shadow: 0 6px 18px -10px rgba(30, 28, 26, .35), inset 0 0 0 1px var(--glass-2-b); }
.seg__count { font-size: 13px; font-weight: 700; opacity: .6; }


/* афиша: светлая в светлой теме, винная — в тёмной (цвет даёт --h, свой у каждого события) */
.poster { position: relative; display: block; width: 100%; height: 100%; border-radius: 28px; overflow: hidden; background: var(--poster-base); color: var(--poster-ink); }
.poster__bg { position: absolute; inset: 0; background: radial-gradient(120% 130% at 80% 38%, #FFFFFF 0%, var(--poster-base) 60%); }   /* до 02.10.2026 — розовый оттенок по типу события (--h) и красное свечение */
html[data-theme="dark"] .poster__bg { background: radial-gradient(120% 130% at 80% 38%, #312F2C 0%, var(--poster-base) 58%, #1E1D1B 100%); }
.poster__grid { position: absolute; inset: 0; background-size: 44px 44px; background-image: linear-gradient(rgba(42,42,48,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(42,42,48,.05) 1px, transparent 1px); -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.9), transparent 70%); mask-image: linear-gradient(90deg, rgba(0,0,0,.9), transparent 70%); }
html[data-theme="dark"] .poster__grid { background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); }
.poster__art { position: absolute; right: 3%; top: 50%; transform: translateY(-50%); height: 92%; width: auto; max-width: none; pointer-events: none; }
.poster__brand { position: absolute; left: 40px; top: 34px; display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--poster-ink-2); }
.poster__brand img { width: 30px; height: auto; }
.poster__body { position: absolute; left: 40px; bottom: 36px; width: min(520px, 100% - 80px); display: flex; flex-direction: column; gap: 16px; }
.poster__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.poster__title { font-size: clamp(34px, 3.5vw, 50px); line-height: .98; font-weight: 900; letter-spacing: -.035em; }
.poster__tagline { font-size: 16px; line-height: 1.45; color: var(--poster-ink-2); }
.poster__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 15px; color: var(--poster-ink-2); }
.poster__meta > span { display: inline-flex; align-items: center; gap: 8px; }
.poster__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.poster .btn--ghost, .now__event .btn--ghost { background: rgba(42, 42, 48, .06); border-color: rgba(42, 42, 48, .16); color: var(--poster-ink); }
html[data-theme="dark"] .poster .btn--ghost, html[data-theme="dark"] .now__event .btn--ghost { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .26); }
.poster .btn--white, .now__event .btn--white { box-shadow: 0 10px 24px -14px rgba(30, 28, 26, .45); }
.evlist { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.evlist--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.evcard { padding: 22px; display: flex; flex-direction: column; gap: 16px; min-height: 250px; text-align: left; color: var(--ink); border-radius: 26px; text-decoration: none; transition: transform .2s ease, border-color .2s ease; }
.evcard.is-past { opacity: .86; }
.evcard__top { display: flex; gap: 14px; align-items: flex-start; }
.evcard__date { width: 68px; height: 76px; flex-shrink: 0; border-radius: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--red); color: #FFFFFF; }
.evcard.is-past .evcard__date { background: var(--glass-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--glass-2-b); }
.evcard__date b { font-size: 30px; line-height: 1; font-weight: 800; letter-spacing: -.03em; }
.evcard__date small { margin-top: 4px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.evcard__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.evcard__title { display: block; font-size: 20px; line-height: 1.2; font-weight: 700; letter-spacing: -.015em; }
.evcard__sub { display: none; }
.evcard__meta { margin-top: auto; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--ink-2); }
.evcard__meta > span { display: flex; align-items: center; gap: 8px; } /* текст внутри — в своём span: во flex каждый элемент стал бы отдельной колонкой */
.evgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.evposter { display: block; height: 360px; border-radius: 30px; text-decoration: none; box-shadow: var(--glass-sh); border: 1px solid var(--glass-b); overflow: hidden; transition: transform .2s ease; }
.evposter:hover { transform: translateY(-3px); }
.evposter[hidden] { display: none; }
.evposter .poster__art { right: 2%; height: 78%; transition: translate .35s ease, rotate .35s ease; }
.evposter:hover .poster__art { translate: 0 -6px; rotate: -3deg; }   /* свойствами translate и rotate: transform держит центровку */
.evposter__chips { position: absolute; left: 28px; top: 26px; display: flex; flex-wrap: wrap; gap: 6px; }
.evposter__body { position: absolute; left: 28px; bottom: 26px; right: 42%; display: flex; flex-direction: column; gap: 8px; }
.evposter__body small { font-size: 14px; font-weight: 600; color: var(--poster-ink-2); }
.evposter__body strong { font-size: 28px; line-height: 1.05; font-weight: 800; letter-spacing: -.025em; }
.evposter__body > span { font-size: 14px; color: var(--poster-ink-2); }
.evsoon { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.evsoon--empty { grid-template-columns: minmax(0, 560px); }
.evposter--lg { height: 440px; }
.evposter--lg .evposter__body { right: 44%; gap: 10px; }
.evposter--lg .evposter__body strong { font-size: clamp(30px, 3.1vw, 44px); line-height: 1; }
.evposter__tag { font-size: 16px !important; line-height: 1.4; color: var(--poster-ink-2); }
.evposter--lg .poster__art { height: 84%; }
.evgrid--past { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.evposter--sm { height: 290px; }
.evposter--sm .poster__art { height: 62%; top: 40%; }
.evposter--sm .evposter__body { right: 24px; }
.evposter--sm .evposter__body strong { font-size: 22px; }
/* подписка на каналы фонда (макрос subscribe): строки каналов в духе поля e-mail с круглой кнопкой */
.sub { padding: 32px; border-radius: 30px; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.sub__text { display: flex; flex-direction: column; gap: 10px; }
.sub__title { font-size: 26px; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
.sub__lead { font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.sub__body { display: flex; flex-direction: column; gap: 14px; }
.sub__form { display: flex; flex-direction: column; gap: 12px; }
.sub__field { display: flex; align-items: center; gap: 8px; height: 64px; padding: 0 8px 0 20px; border-radius: 20px; background: var(--field); border: 1px solid var(--field-b); transition: border-color .15s ease; }
.sub__field:focus-within { border-color: var(--red-line); }
.sub__field input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font-size: 17px; color: var(--ink); }
.sub__go { width: 48px; height: 48px; flex-shrink: 0; border-radius: 999px; display: flex; align-items: center; justify-content: center; background: var(--glass-2); border: 1px solid var(--glass-2-b); color: var(--ink); transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.sub__go:hover, .sub__field:focus-within .sub__go { background: var(--red); border-color: var(--red); color: #FFFFFF; }
.sub__go:disabled { opacity: .6; cursor: default; }
.sub__form.is-busy .sub__go .ic { animation: sub-pulse .8s ease-in-out infinite alternate; }
@keyframes sub-pulse { to { transform: translateX(4px); } }
.sub__form.is-done .sub__field { opacity: .6; }
.sub__note { font-size: 13px; line-height: 1.5; color: var(--ink-3); }
.sub__note a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.sub__status { padding: 12px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.45; background: var(--glass-2); border: 1px solid var(--glass-2-b); }
.sub__status.is-ok { background: rgba(22, 163, 74, .08); border-color: rgba(22, 163, 74, .3); }
.sub__status.is-err { background: var(--red-soft); border-color: var(--red-line); }
.sub__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sub__alt { font-size: 14px; color: var(--ink-3); }
.sub__alt a { color: var(--ink); font-weight: 600; text-decoration: none; }
.sub__alt a:hover { color: var(--red-ink); }
.sub--wide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); align-items: center; gap: 24px 56px; padding: 40px 44px; }
.sub--wide .sub__title { font-size: clamp(26px, 2.4vw, 34px); }
.evpage__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.evhead { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 24px 48px; align-items: start; }
.evpage__title { margin: 18px 0 18px; }
.evhead__lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; color: var(--ink-2); }
.evhead__art { position: relative; height: 440px; border-radius: 30px; box-shadow: var(--glass-sh); border: 1px solid var(--glass-b); }
.evhead__art .poster__art { left: 0; right: 0; margin: 0 auto; transform: translateY(-50%) rotate(var(--tilt, 0deg)); height: 72%; animation: var(--sway); }   /* по центру — полями auto: горизонтальный сдвиг в transform сбил бы ось качания */
.evpage__grid { display: flex; flex-direction: column; gap: 20px; margin-top: 20px; }
.evm__when { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 28px; border-radius: 22px; border: 1px solid var(--glass-b); overflow: hidden; background: var(--tile); }
.evm__when > div { padding: 20px 24px; display: flex; flex-direction: column; gap: 10px; }
.evm__when > div + div { border-left: 1px solid var(--line); }
.evm__label { display: flex; align-items: center; gap: 8px; color: var(--ink-3); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.evm__value { font-size: 17px; line-height: 1.4; font-weight: 500; }
.evm__sub { margin-top: -4px; font-size: 14px; color: var(--ink-2); }
.evm__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.evm__block { padding: 28px 32px; display: flex; flex-direction: column; gap: 14px; border-radius: 24px; }
.evm__block > p:not(.rule-label) { font-size: 17px; line-height: 1.6; }
.evm__prog { display: flex; gap: 24px; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.evm__prog:last-child { border-bottom: 0; }
.evm__prog b { width: 130px; flex-shrink: 0; font-size: 15px; font-weight: 600; color: var(--red-ink); font-variant-numeric: tabular-nums; }
.evm__secs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.evm__sec { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 12px; border-radius: 22px; }
.evm__sec h4 { margin: 0; font-size: 16px; font-weight: 700; }
.evm__sec ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.evm__sec li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.evm__sec li::before { content: ''; width: 6px; height: 6px; margin-top: 8px; flex-shrink: 0; border-radius: 99px; background: var(--red); }
.evm__speakers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; }
.speaker { display: flex; gap: 16px; align-items: center; }
.speaker__ava { width: 60px; height: 60px; flex-shrink: 0; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 800; color: var(--red-ink); background: var(--soft); box-shadow: inset 0 0 0 1.5px var(--soft-b); }
.speaker__ava--photo { overflow: hidden; background: var(--glass-2); box-shadow: 0 0 0 1px var(--glass-b); }   /* фото с i.moscow (static/assets/img/people/speakers/, кадр по лицу); без фото — инициалы */
.speaker__ava picture, .speaker__ava img { width: 100%; height: 100%; }
.speaker__ava img { object-fit: cover; }
.speaker b { display: block; font-size: 17px; font-weight: 700; }
.speaker b + span { display: block; margin-top: 3px; font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.evm__more { font-size: 14px; color: var(--ink-3); }
.evm__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 24px; font-size: 13.5px; color: var(--ink-3); }

/* ------------------------------------------------------------------ о фонде */
.fond { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.fond__main { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding-right: 40px; }
.fond__lead { font-size: 19px; line-height: 1.6; color: var(--ink-2); }
.fond__origin { padding: 24px 26px; display: flex; gap: 20px; align-items: flex-start; border-radius: 24px; }
.fond__origin img { width: 46px; height: auto; }
.fond__origin div { display: flex; flex-direction: column; gap: 10px; }
.fond__origin p { font-size: 16px; line-height: 1.55; }
.fond__why { display: flex; flex-direction: column; gap: 14px; }
.fond__why .rule-label { padding: 6px 4px 4px; }
.why { display: flex; gap: 22px; padding: 26px 30px; align-items: flex-start; border-radius: 24px; text-decoration: none; color: var(--ink); transition: border-color .15s ease; }
a.why:hover { border-color: var(--hover-line); }
.why .link { margin-top: 12px; }
.why__n { margin-top: 5px; font-size: 15px; font-weight: 800; letter-spacing: .04em; color: var(--red-ink); }
.why h3 { font-size: 24px; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; }
.why p { margin-top: 6px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }

/* ------------------------------------------------------------------ карта инвесторов */
.map { display: grid; grid-template-columns: minmax(0, 850px) minmax(360px, 1fr); gap: 20px; align-items: stretch; }
.map__wheel { padding: 30px; border-radius: 36px; }
.wheel { position: relative; width: 100%; aspect-ratio: 1; }
.wheel__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.wheel__ring { fill: none; stroke: var(--wheel-ring); stroke-width: 2; }
.wheel__ring--dots { stroke-width: 3; stroke-dasharray: 2 16; stroke-linecap: round; }
.wheel__node { fill: var(--page); stroke: var(--wheel-ring); stroke-width: 3; }
.petal { fill: var(--wheel-petal); stroke: var(--wheel-petal-b); stroke-width: 3; stroke-linejoin: round; cursor: pointer; transition: fill .25s ease, stroke .25s ease, stroke-width .25s ease; }
.petal:hover { stroke: var(--hover-line); }
.petal.is-active { fill: var(--petal-active); stroke: var(--red); stroke-width: 8; }
.wheel__hub { fill: var(--wheel-petal); stroke: var(--wheel-petal-b); stroke-width: 4; stroke-linejoin: round; }
.wheel__hub-dash { fill: none; stroke: var(--red); stroke-width: 3; stroke-dasharray: 10 12; opacity: .6; }
.wheel__kicker { font: 800 42px var(--font); letter-spacing: 6px; fill: var(--red-ink); text-anchor: middle; }
.wheel__count { font: 800 176px var(--font); letter-spacing: -6px; fill: var(--ink); text-anchor: middle; }
.wheel__sub { font: 500 34px var(--font); fill: var(--ink-3); text-anchor: middle; }
.wheel__label { font: 700 40px var(--font); letter-spacing: 5px; fill: var(--wheel-label); transition: fill .25s ease; }
.wheel__label.is-active { fill: var(--red-ink); }
.wheel__logos { position: absolute; inset: 0; pointer-events: none; }
.wlogo { position: absolute; padding: 0; border: 0; background: none; line-height: 0; border-radius: 6px; pointer-events: auto; transition: opacity .25s ease, transform .15s ease; }
.wlogo:hover { transform: scale(1.06); }
.wlogo img { width: 100%; height: auto; filter: var(--inv-filter); }
.wlogo.is-dim { opacity: .14; }
.wlogo.is-selected { outline: 3px solid var(--red-ink); outline-offset: 5px; }
.map__panel { position: relative; border-radius: 36px; min-height: 520px; }
.map__panel-inner { position: absolute; inset: 28px; display: flex; flex-direction: column; }
.panel-list { display: flex; flex-direction: column; gap: 18px; height: 100%; min-height: 0; }
.panel-list[hidden] { display: none; }
.panel-list > * { flex-shrink: 0; }
.search { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 18px; border-radius: 16px; background: var(--field); border: 1px solid var(--field-b); color: var(--ink-3); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 16px; color: var(--ink); }
.search:focus-within { border-color: var(--red-line); }
.cats { display: flex; flex-direction: column; gap: 2px; }
.cat { display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 14px; border: 0; border-radius: 12px; background: transparent; text-align: left; color: var(--ink); font-size: 15px; font-weight: 500; }
.cat b { width: 30px; font-size: 16px; font-weight: 800; color: var(--red-ink); font-variant-numeric: tabular-nums; }
.cat:hover { background: var(--glass-2); }
.cat[aria-pressed="true"] { background: var(--glass-hi); box-shadow: inset 3px 0 0 var(--red); font-weight: 700; }
.stages { display: flex; flex-wrap: wrap; gap: 8px; }
.stage { height: 36px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 600; background: var(--glass-2); color: var(--ink); border: 1px solid var(--glass-2-b); }
.stage[aria-pressed="true"] { background: var(--red); color: #FFFFFF; border-color: var(--red); }
.invlist { flex: 1 1 0px !important; min-height: 0; overflow-y: auto; margin: 0 -8px; padding: 0 8px; scrollbar-width: thin; }
.inv { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 52px; padding: 6px 8px; border: 0; border-bottom: 1px solid var(--line-2); background: transparent; text-align: left; }
.inv[hidden] { display: none; }
.inv:hover { background: var(--glass-2); border-radius: 12px; }
.inv__logo { width: 76px; height: 38px; flex-shrink: 0; border-radius: 10px; background: #FFFFFF; display: flex; align-items: center; justify-content: center; box-shadow: inset 0 0 0 1px rgba(42, 42, 48, .06); }
.inv__logo img { max-width: 62px; max-height: 26px; object-fit: contain; }
.inv__name { flex: 1; font-size: 15px; font-weight: 600; color: var(--ink); }
.inv .ic { color: var(--ink-3); }
.invlist__empty { padding: 20px 8px; font-size: 15px; color: var(--ink-2); }
.panel-card { display: flex; flex-direction: column; gap: 18px; height: 100%; overflow-y: auto; }
.panel-card[hidden] { display: none; }
.pc__back { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 10px; border-radius: 999px; border: 1px solid var(--glass-2-b); background: var(--glass-2); color: var(--ink-2); font-size: 14px; font-weight: 600; }
.pc__logo { height: 132px; flex-shrink: 0; border-radius: 22px; background: #FFFFFF; display: flex; align-items: center; justify-content: center; box-shadow: inset 0 0 0 1px rgba(42, 42, 48, .06); }
.pc__logo img { max-width: 62%; max-height: 64px; object-fit: contain; }
.pc__cat { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red-ink); }
.pc__name { margin-top: 8px; font-size: 32px; line-height: 1.05; font-weight: 800; letter-spacing: -.03em; }
.pc__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pc__fact { padding: 14px 16px; border-radius: 16px; background: var(--glass-2); border: 1px solid var(--glass-2-b); display: flex; flex-direction: column; gap: 6px; }
.pc__fact small { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.pc__fact span { font-size: 15px; line-height: 1.35; font-weight: 600; }
.pc__about small { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.pc__about p { font-size: 15.5px; line-height: 1.55; }
.pc__sectors { display: flex; flex-wrap: wrap; gap: 6px; }
.pc__site { margin-top: auto; display: flex; align-items: center; justify-content: space-between; height: 56px; flex-shrink: 0; padding: 0 22px; border-radius: 18px; background: var(--red); color: #FFFFFF; font-size: 16px; font-weight: 600; text-decoration: none; }
.pc__site:hover { background: var(--red-hover); color: #FFFFFF; }

/* ------------------------------------------------------------------ портфель */
.pf__tabs { margin-bottom: 28px; }
.pf__grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 14px; }
.pf__grid[hidden] { display: none; }
.pf__tile { height: 116px; display: flex; align-items: center; justify-content: center; padding: 18px; border-radius: 22px; }
.pf__tile img { max-width: 100%; max-height: 46px; object-fit: contain; filter: var(--logo-filter); opacity: var(--logo-opacity); transition: filter .2s ease, opacity .2s ease; }
.pf__tile:not([class*="tone-"]):hover img { filter: none; opacity: 1; }
html[data-theme="dark"] .pf__tile:hover img { filter: var(--logo-filter); opacity: 1; }
.pf__more { display: flex; justify-content: center; margin-top: 28px; }
.pf__more[hidden] { display: none; }

/* ------------------------------------------------------------------ новости */
.ngrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ngrid--list .ncard[hidden] { display: none; }
.ncard { padding: 30px 30px 28px; display: flex; flex-direction: column; gap: 16px; min-height: 340px; text-decoration: none; color: var(--ink); border-radius: 28px; transition: transform .2s ease, border-color .2s ease; }
.ncard--accent { background-image: var(--glass-hi); }
.ncard__meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-3); }
.ncard strong { font-size: 23px; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; }
.ncard__text { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.ncard .link { margin-top: auto; }

/* ------------------------------------------------------------------ заявка */
.consult { display: flex; justify-content: center; }
.form { width: min(1000px, 100%); padding: 44px 48px 40px; display: flex; flex-direction: column; gap: 26px; border-radius: 36px; }
.form__row, .form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field--wide { grid-column: 1 / -1; }
.field label, .field legend { padding: 0; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field legend { margin-bottom: 8px; }
.field input, .field textarea { width: 100%; height: 56px; padding: 0 18px; border-radius: 16px; background: var(--field); border: 1px solid var(--field-b); font-size: 16px; color: var(--ink); outline: 0; transition: border-color .15s ease; }
.field textarea { height: auto; min-height: 128px; padding: 16px 18px; line-height: 1.5; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--red-line); }
.field[hidden] { display: none; }
.seg--field { display: flex; width: 100%; padding: 5px; border-radius: 18px; background: var(--field); border: 1px solid var(--field-b); }
.seg--field button { flex: 1; height: 46px; padding: 0 12px; border-radius: 13px; font-size: 15px; color: var(--ink-2); }
.check { display: flex; align-items: flex-start; gap: 14px; cursor: pointer; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.check input { width: 22px; height: 22px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--red); }
.check a { color: var(--red-ink); font-weight: 600; text-decoration: none; }
.form__note { padding: 16px 18px; border-radius: 16px; background: var(--soft); border: 1px solid var(--soft-b); font-size: 15px; line-height: 1.5; }
.form__note a { color: var(--red-ink); font-weight: 600; }

/* ------------------------------------------------------------------ подвал */
.site-footer { position: relative; margin-top: clamp(96px, 11vw, 160px); padding-bottom: 44px; }
.footer { padding: 48px 48px 40px; display: flex; flex-direction: column; gap: 44px; border-radius: 36px; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px; align-items: stretch; }
.footer__info { display: flex; flex-direction: column; gap: 36px; }
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.footer__phone { margin-top: 10px; font-size: 24px; font-weight: 800; letter-spacing: -.01em; text-decoration: none; }
.footer__brand p { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.footer__brand p a { color: var(--ink-2); text-decoration: none; }
.footer__brand p a:hover { color: var(--red-ink); }
.footer__social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.footer__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px; padding-top: 6px; }
.footer__nav a { font-size: 17px; line-height: 1.4; font-weight: 600; color: var(--ink); text-decoration: none; }
.footer__nav a:hover { color: var(--red-ink); }
/* карта: пока API не загрузился (или не открылся) — видна ссылка с адресом; карта ложится поверх неё */
.footer__map { position: relative; min-height: 420px; border-radius: 26px; overflow: hidden; border: 1px solid var(--glass-b); background: var(--glass-2); isolation: isolate; }
.footer__map > ymaps { position: absolute !important; inset: 0; }
.footer__map-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center; font-size: 15px; color: var(--ink-2); text-decoration: none; }
.footer__map-fallback > .ic { width: 30px; height: 30px; color: var(--red-ink); }
.footer__map.is-live .footer__map-fallback { visibility: hidden; }
html[data-theme="dark"] .footer__map [class*="ground-pane"] { filter: brightness(.8) saturate(.85); } /* в тёмной теме приглушаем подложку, метка фонда остаётся яркой */
.footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
.footer__bottom a { color: var(--ink-2); text-decoration: none; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__legal a { color: var(--ink-3); }

/* ================================================================== адаптив */
@media (max-width: 1440px) { .site-header__phone { display: none; } }
@media (max-width: 1320px) {
  .nav__link { padding: 0 10px; font-size: 14.5px; }
  .nav { margin-left: 4px; }
  .brand { gap: 12px; }
  .brand__bm { width: 96px; }
  .brand__mvf { width: 126px; }
  .mega__inner { grid-template-columns: 420px minmax(0, 1fr); gap: 48px; }
  .phero__inner { grid-template-columns: minmax(0, 1fr) 440px; }
  .phero__art { width: 440px; height: 440px; }
}
@media (max-width: 1220px) {
  .nav, .site-header__cta { display: none; }
  .burger { display: inline-flex; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pcard { min-height: 470px; }
  .tiles, .contacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .evlist, .evlist--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .evhead { grid-template-columns: minmax(0, 1fr) 340px; gap: 24px 32px; }
  .evhead__art { height: 380px; }
  .evsoon { grid-template-columns: minmax(0, 1fr); }
  .sub--wide { grid-template-columns: minmax(0, 1fr); }
  .evgrid--past { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .map { grid-template-columns: minmax(0, 1fr); }
  .map__wheel { max-width: 780px; width: 100%; margin: 0 auto; }
  .map__panel { min-height: 0; }
  .map__panel-inner { position: static; padding: 28px; }
  .invlist { flex: none !important; max-height: 420px; }
  .panel-card { height: auto; overflow: visible; }
  .pf__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .footer__map { min-height: 360px; }
  .mega__inner { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 88px; }
  .mega__right { display: none; }
  .mega__cat.is-active { background: var(--glass-2); color: var(--ink); box-shadow: none; }
  .mega__cat[aria-expanded="true"] { background: var(--red); color: #FFFFFF; }
  .mega__cat[aria-expanded="true"] .ic { transform: rotate(90deg); }
  .mega__acc { flex-direction: column; padding: 4px 8px 12px 20px; }
  .mega__cat[aria-expanded="true"] + .mega__acc { display: flex; }
  .mega__acc a { padding: 11px 0; font-size: 17px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
  .mega__acc a:last-child { border-bottom: 0; }
  .mega__acc .mega__acc-all { color: var(--red-ink); }
  .mega__contacts { padding-top: 12px; }
}
@media (max-width: 1100px) {
  .stat { padding: 26px 22px 24px; }
  .leader { grid-template-columns: 360px minmax(0, 1fr); }
  .leader__body { padding: 44px; }
  .hero { padding-top: 120px; }
  .hero__art { position: relative; right: auto; top: auto; width: min(560px, 110vw); height: min(560px, 110vw); margin: -30px auto -130px; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 90%); mask-image: linear-gradient(180deg, #000 60%, transparent 90%); }
  .hero__text { max-width: 720px; }
  .stats { margin-top: 56px; }
  .phero__inner { grid-template-columns: minmax(0, 1fr); }
  .phero__art { order: -1; width: min(420px, 90vw); height: min(420px, 90vw); margin: -40px auto -70px; }
  .section__head { flex-direction: column; align-items: flex-start; }
  .section__head--row { flex-direction: row; flex-wrap: wrap; }
  .section__lead { max-width: 640px; }
  .fond { grid-template-columns: minmax(0, 1fr); }
  .fond__main { padding-right: 0; }
  .cases, .ngrid, .docs, .evgrid:not(.evgrid--past) { grid-template-columns: minmax(0, 1fr); }
  .evhead { grid-template-columns: minmax(0, 1fr); }
  .evhead__art { order: -1; height: 190px; }
  .evhead__art .poster__art { left: auto; right: 6%; margin: 0; height: 118%; }
  .facts__row { grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 8px 28px; }
  .ncard { min-height: 0; }
  .evm__secs { grid-template-columns: minmax(0, 1fr); }
  .ctaband { grid-template-columns: minmax(0, 1fr); }
  .ctaband__actions { justify-content: flex-start; }
  .ctaband__note { text-align: left; }
}
@media (max-width: 760px) {
  :root { --header-h: 60px; }
  .site-header { top: 12px; padding: 0 12px; }
  .site-header__bar { padding: 0 8px 0 14px; border-radius: 20px; }
  .brand { gap: 10px; }
  .brand__bm { width: 84px; }
  .brand__mvf { width: 110px; }
  .brand__sep { height: 24px; }
  .hero { padding-top: 88px; }
  .hero__art { width: 118vw; height: 118vw; margin: -10px 0 -140px -9vw; }
  .badge { height: 34px; font-size: 12.5px; padding: 0 12px 0 8px; }
  .hero__title { margin-top: 20px; }
  .hero__cta, .phero__cta { flex-direction: column; align-items: stretch; width: 100%; }
  .hero__cta .btn, .phero__cta .btn { width: 100%; }
  .phero { padding-top: calc(var(--header-h) + 36px); }
  .phero__art { width: 64vw; height: 64vw; margin: -18px auto -30px; } /* заголовок и кнопки — в первом экране телефона */
  .phero__note { justify-content: center; }
  .stats { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 30px; }
  .leader { grid-template-columns: minmax(0, 1fr); border-radius: 28px; }
  .leader__photo { min-height: 0; aspect-ratio: 4 / 3.4; }
  .leader__body { padding: 28px 22px 30px; gap: 18px; }
  .leader__body::before { font-size: 150px; right: 16px; top: -6px; }
  .leader__fig { gap: 18px; }
  .leader__quote { font-size: 21px; }
  .stat { flex-direction: row; align-items: baseline; gap: 14px; padding: 18px 20px; border-radius: 22px; }
  .stat strong { font-size: 32px; white-space: nowrap; }
  .stat > span, .stat .unit { font-size: 14px; }
  /* на телефоне длинная надпись кнопки переносится на вторую строку, а не обрезается
     («Подать заявку на организационное партнерство»); короткие остаются в одну строку прежней высоты */
  .btn { height: auto; min-height: 52px; padding-top: 12px; padding-bottom: 12px; white-space: normal; text-align: center; line-height: 1.25; }
  .btn--lg { min-height: 56px; }
  .btn--sm { min-height: 44px; padding-top: 9px; padding-bottom: 9px; }
  .ctaband { --band-pad: 22px; border-radius: 28px; }
  .ctaband__actions .btn { width: 100%; padding-left: 20px; padding-right: 20px; }   /* как кнопки первого экрана: во всю ширину; «Получить консультацию» — в одну строку */
  .section__lead { font-size: 16px; }
  .pgrid { display: flex; gap: 12px; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .pgrid::-webkit-scrollbar { display: none; }
  .pcard { flex: 0 0 280px; min-height: 440px; padding: 22px; border-radius: 26px; scroll-snap-align: start; }
  .pcard__art { width: 150px; height: 150px; }
  .pcard__title { font-size: 20px; }
  .pcard__amount { font-size: 32px; }
  .tiles, .contacts, .steps, .steps--3, .steps--2 { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .checks, .numcards { grid-template-columns: minmax(0, 1fr); padding: 2px 20px; border-radius: 24px; }
  .checks > .check-item:nth-child(2), .numcards > .numcard:nth-child(2) { border-top: 1px solid var(--line); }
  .check-item { padding: 16px 0; font-size: 15.5px; }
  .numcard { padding: 18px 0; gap: 14px; }
  .numcard__sub { columns: 1; }
  .statcards { grid-template-columns: minmax(0, 1fr); border-radius: 24px; }
  .statcard { padding: 20px 22px; }
  .statcard + .statcard { border-left: 0; border-top: 1px solid var(--line); }
  .facts { padding: 2px 20px; border-radius: 24px; }
  .facts__row { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 16px 0; }
  .facts dt { font-size: 17px; }
  .facts dd { font-size: 15.5px; }
  .evgrid--past { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .step { flex-direction: row; align-items: flex-start; gap: 14px; padding: 16px 18px; border-radius: 20px; font-size: 15.5px; } /* шаг на телефоне — строкой: номер слева */
  .step__n { flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; font-size: 15px; }
  .evposter--lg { height: 380px; }
  .evposter--lg .evposter__body { right: 22px; }
  .evposter--lg .poster__art { height: 50%; top: 34%; }
  .evposter--sm { height: 240px; }
  .sub, .sub--wide { padding: 22px; border-radius: 24px; gap: 18px; }
  .sub__title, .sub--wide .sub__title { font-size: 22px; }
  .sub__lead { font-size: 15px; }
  .evhead__art { height: 150px; border-radius: 24px; }
  .phero__title--long { font-size: min(34px, var(--fit)); }
  .phero__title--xlong { font-size: min(30px, var(--fit)); }
  .h1--long { font-size: min(32px, var(--fit)); }
  .h1--xlong { font-size: min(28px, var(--fit)); }
  .tile { min-height: 0; padding: 22px; }
  .tile__art { width: 88px; height: 88px; }
  .people { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 24px; }
  .person { min-height: 0; gap: 14px; padding: 10px 16px 10px 10px; border-radius: 22px; }
  .person img { width: 72px; height: 72px; border-radius: 16px; }
  .person b { font-size: 16px; }
  .person span { font-size: 13px; }
  .poster__brand { left: 22px; top: 22px; font-size: 10.5px; }
  .poster__brand img { width: 24px; }
  .poster__body { left: 22px; right: 22px; bottom: 22px; width: auto; gap: 12px; }
  .poster__title { font-size: 32px; }
  .poster__tagline { display: none; }
  .poster__meta { flex-direction: column; gap: 6px; font-size: 14px; }
  .poster__actions .btn { flex: 1; }
  .poster__actions .btn--ghost { display: none; }
  .evlist, .evlist--3 { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .evcard { min-height: 0; padding: 14px; flex-direction: row; align-items: center; gap: 14px; border-radius: 22px; }
  .evcard__top { display: contents; }
  .evcard__date { width: 58px; height: 64px; border-radius: 16px; }
  .evcard__date b { font-size: 24px; }
  .evcard__chips, .evcard__meta { display: none; }
  .evcard__title { font-size: 16px; }
  .evcard__sub { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-2); }
  .evposter__body { right: 22px; }
  .evm__when { grid-template-columns: minmax(0, 1fr); }
  .evm__when > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .evm__actions .btn { flex: 1 1 100%; }
  .evm__block { padding: 20px; }
  .evm__block > p:not(.rule-label) { font-size: 15px; }
  .evm__prog { gap: 14px; }
  .evm__prog b { width: 104px; font-size: 14px; }
  .evm__speakers { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .speaker__ava { width: 46px; height: 46px; font-size: 15px; }
  .fond__lead { font-size: 16px; }
  .fond__origin { padding: 18px; gap: 14px; }
  .fond__origin img { width: 36px; }
  .fond__origin p { font-size: 14px; }
  .why { padding: 18px; gap: 14px; border-radius: 20px; }
  .why h3 { font-size: 18px; }
  .why p { font-size: 14px; }
  .map__wheel { padding: 10px; border-radius: 26px; }
  .map__panel { border-radius: 26px; }
  .map__panel-inner { padding: 18px; }
  .cats { flex-direction: row; overflow-x: auto; gap: 8px; margin: 0 -18px; padding: 0 18px 4px; scrollbar-width: none; }
  .cats::-webkit-scrollbar { display: none; }
  .cat { flex-shrink: 0; height: 40px; border-radius: 999px; border: 1px solid var(--glass-2-b); white-space: nowrap; gap: 8px; }
  .cat b { width: auto; }
  .cat[aria-pressed="true"] { box-shadow: none; border-color: var(--red-line); }
  .pc__name { font-size: 26px; }
  .pf__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .pf__tile { height: 76px; padding: 12px; border-radius: 16px; }
  .pf__tile img { max-height: 32px; }
  .seg--scroll { display: flex; width: calc(100% + 2 * var(--gutter)); margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter); border: 0; box-shadow: none; background: none; overflow-x: auto; scrollbar-width: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .seg--scroll::-webkit-scrollbar { display: none; }
  .seg--scroll button { flex-shrink: 0; height: 40px; padding: 0 16px; border: 1px solid var(--glass-2-b); font-size: 14px; }
  .section__head--row .seg { width: 100%; overflow-x: auto; }
  .ngrid { display: flex; overflow-x: auto; gap: 12px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .ngrid--list { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0; padding: 0; overflow: visible; }
  .ncard { flex: 0 0 280px; padding: 20px; gap: 12px; border-radius: 24px; scroll-snap-align: start; }
  .ncard strong { font-size: 19px; }
  .ncard__text { display: none; }
  .ngrid--list .ncard__text { display: block; font-size: 14.5px; }
  .article { font-size: 16.5px; }
  .form { padding: 20px 18px 22px; gap: 16px; border-radius: 28px; }
  .form__row, .form__grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .seg--field button { height: auto; min-height: 44px; padding: 8px 10px; font-size: 14px; line-height: 1.2; white-space: normal; text-align: center; }   /* «Технологическая компания» в 320 px — в две строки */
  .check { font-size: 13.5px; }
  .footer { padding: 26px 22px; gap: 22px; border-radius: 28px; }
  .footer__nav { gap: 14px 16px; }
  .footer__nav a { font-size: 15.5px; }
  .footer__info { gap: 26px; }
  .footer__map { min-height: 300px; border-radius: 20px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; font-size: 12.5px; }
  .site-footer { padding-bottom: 24px; }
  .mega__phone { font-size: 24px; }
  .mega__cat { height: 52px; font-size: 16px; }
  .h3 { margin-bottom: 16px; }
  .docs--wide { margin-top: 20px; }
  .phero__title { font-size: min(38px, var(--fit)); }
  .h1 { font-size: min(38px, var(--fit)); }
  .h1--article { font-size: min(30px, var(--fit)); }
  .doc { flex-wrap: wrap; gap: 6px 14px; padding: 16px 18px; }
  .doc__name { flex: 1 1 calc(100% - 64px); font-size: 15px; }
  .doc__meta { flex-basis: 100%; padding-left: 58px; }
  .doc > .ic { display: none; }
  .mega__inner { padding-top: 76px; }
}
@media (max-width: 400px) { .brand__bm, .brand__sep { display: none; } }
@media (max-width: 760px) {
  /* реестр на телефоне: строка — карточка без колонок */
  .reg__search { flex-basis: 100%; max-width: none; }
  .reg__kinds { width: 100%; }
  .reg__kinds button { flex: 1; height: auto; min-height: 42px; padding: 6px 8px; font-size: 14px; line-height: 1.15; white-space: normal; text-align: center; justify-content: center; flex-wrap: wrap; column-gap: 5px; }
  .reg__table { padding: 4px 18px; border-radius: 24px; }
  .reg__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .reg__table tr { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .reg__table tbody tr:last-child { border-bottom: 0; }
  .reg__table th, .reg__table td { padding: 0; border: 0; }
  .reg__n { grid-row: 1 / span 3; width: auto; padding-top: 1px !important; }
  .reg__dec, .reg__agr { grid-column: 2; font-size: 14px; }
  .reg__dec { margin-top: 6px; }
  .reg__dec span { display: inline; font-weight: 600; }
  .reg__dec small { display: inline; font-size: 13.5px; }
  .reg__dec small::before { content: ' · '; }
  .reg__agr { color: var(--ink-3); }
  .reg__agr span::before { content: 'Соглашение '; }
}
@media (max-width: 420px) { .stat { flex-direction: column; align-items: flex-start; gap: 6px; } }   /* подпись под числом: рядом с «2,5 млрд руб.» ей нет места */
@media (max-width: 540px) { .evhead__art .poster__brand-name { display: none; } }   /* на телефоне подпись баннера события легла бы под кубок — остаётся эмблема */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .hero3d__still { opacity: 1; }   /* сцены не будет, а проявляющая анимация выключена */
}

/* логотипы белые и на своих плашках: чтобы их было видно в обеих темах (tone — в content/*.json) */
.tone-light img { filter: var(--logo-filter-inv); }
.tone-onwhite img { mix-blend-mode: var(--logo-blend); }
.tone-ondark img { filter: var(--logo-filter-inv); mix-blend-mode: var(--logo-blend); }
.wlogo.tone-light img, .wlogo.tone-ondark img { filter: var(--inv-filter-inv); }
.inv__logo.tone-light, .pc__logo.tone-light { background: #2A2A30; }
.inv__logo.tone-light img, .pc__logo.tone-light img, .inv__logo.tone-onwhite img, .pc__logo.tone-onwhite img, .inv__logo.tone-ondark img, .pc__logo.tone-ondark img { filter: none; mix-blend-mode: normal; }

/* ================================================================== главная: короткие блоки-входы в разделы */
.home-sec { padding-top: clamp(80px, 8.3vw, 120px); }
.head-links { display: flex; flex-wrap: wrap; gap: 10px; }
a.badge { text-decoration: none; transition: color .15s ease; }
a.badge:hover { color: var(--red-ink); }

/* программы «лестницей»: ступени растут от гранта к IPO */
.stairs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: end; }
.stair { display: flex; }
/* Карточки «лестницы» — серо-бежевые, без розового отлива и свечения за иконкой (владелец продукта, 02.10.2026:
   «не с розовой заливкой, а светло-светлой серой», затем «серо-бежевые»). Стекло (.glass) здесь не нужно: заливка
   ровная. Иконки — общие для сайта, плоские красно-бордовые (tools/icons, style: flat). */
.stair__card { container-type: inline-size; position: relative; overflow: hidden; flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-height: 380px; padding: 24px 24px 22px; border-radius: 28px; text-decoration: none; color: var(--ink); background: var(--stair-bg); border-color: var(--stair-b); box-shadow: var(--stair-sh); -webkit-backdrop-filter: none; backdrop-filter: none; transition: transform .2s ease, border-color .2s ease; }
.stair:nth-child(2) .stair__card { min-height: 430px; }
.stair:nth-child(3) .stair__card { min-height: 480px; }
.stair:nth-child(4) .stair__card { min-height: 530px; }
.stair__card:hover { transform: translateY(-4px); border-color: var(--hover-line); }
.stair__top { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.stair__n { font-size: 15px; font-weight: 800; letter-spacing: .04em; color: var(--red-ink); }
.stair__who { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.stair__title { font-size: 23px; line-height: 1.2; font-weight: 700; letter-spacing: -.015em; }
.stair__amount { margin-top: 6px; font-size: 36px; font-size: clamp(20px, 13.5cqi, 36px); line-height: 1; font-weight: 800; letter-spacing: -.035em; color: var(--red-ink); }
.stair__art { position: absolute; right: 6px; bottom: 10px; width: 130px; height: 130px; pointer-events: none; }
.stair__art img { position: relative; width: 100%; height: 100%; object-fit: contain; transition: transform .35s ease; }
.stair__card:hover .stair__art img { transform: translateY(-6px) rotate(-4deg); }
.stair__more { position: relative; margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
/* экспертиза и обучение: мини-карточки под «лестницей» — отдельный блок, а не строка мелких плашек,
   которая терялась рядом с крупными карточками (замечание к главной, 27.09.2026) */
.xp { margin-top: clamp(44px, 5vw, 68px); }
.xp__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.xp__grid > li { display: flex; }
.xp__card { flex: 1; display: flex; align-items: center; gap: 14px; padding: 16px 20px 16px 12px; border-radius: 24px; text-decoration: none; color: var(--ink); transition: transform .2s ease, border-color .2s ease; }
.xp__card:hover { transform: translateY(-3px); border-color: var(--hover-line); }
.xp__art { position: relative; flex-shrink: 0; width: 78px; height: 78px; }
.xp__art img { position: relative; width: 100%; height: 100%; object-fit: contain; transition: transform .35s ease; }
.xp__card:hover .xp__art img { transform: translateY(-4px) rotate(-4deg); }
.xp__text { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.xp__text strong { font-size: 17px; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; transition: color .15s ease; }
.xp__card:hover .xp__text strong { color: var(--red-ink); }
.xp__text > span { font-size: 14px; line-height: 1.4; color: var(--ink-2); }

/* инвесторам: текст и колесо карты рынка */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 580px); gap: 56px; align-items: center; }
.split__text { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.split__text .section__lead { max-width: 560px; margin: 0; }
.tz { margin: 0; padding: 26px 26px 20px; border-radius: 36px; }
.tz__svg { display: block; width: 100%; height: auto; overflow: visible; }
.tz__seg { cursor: pointer; outline: none; }
.tz__seg .petal { transition: fill .2s ease, stroke .2s ease, stroke-width .2s ease; }
.tz__seg:hover .petal, .tz__seg:focus-visible .petal { fill: var(--petal-active); stroke: var(--red); stroke-width: 8; }
.tz__n { font: 800 150px var(--font); letter-spacing: -4px; fill: var(--ink); text-anchor: middle; pointer-events: none; transition: fill .2s ease; }
.tz__seg:hover .tz__n, .tz__seg:focus-visible .tz__n { fill: var(--red-ink); }
.tz .wheel__label { font-size: 56px; letter-spacing: 4px; }
.tz__hint { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; font-size: 14px; color: var(--ink-3); }

/* жизнь фонда: ближайшее событие и свежие материалы */
.now { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; }
.now__event { position: relative; min-height: 470px; border-radius: 30px; overflow: hidden; border: 1px solid var(--glass-b); box-shadow: var(--glass-sh); }
.now__event > .poster { position: absolute; inset: 0; border-radius: 0; }
.now__event .poster__art { right: 1%; top: 42%; height: 66%; transform: translateY(-50%) rotate(var(--tilt, 0deg)); animation: var(--sway); }   /* как устроено покачивание — у .hero3d__still */
.now__event .poster__body { width: min(470px, 66%); }
.now__event .poster__actions { flex-wrap: nowrap; }   /* кнопки в ряд и там, где им тесно в колонке текста (1220–1300 px): иначе текст поднимается под качающуюся картинку */
.now__list { display: flex; flex-direction: column; padding: 26px 28px 12px; border-radius: 30px; }
.now__list .rule-label { margin-bottom: 6px; }
.now__item { display: flex; flex-direction: column; gap: 10px; padding: 18px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.now__item strong { font-size: 18px; line-height: 1.3; font-weight: 700; transition: color .15s ease; }
.now__item:hover strong { color: var(--red-ink); }
.now__meta { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--ink-3); }

/* портфель: две бегущие строки логотипов */
/* цифры портфеля — мини-блоками под логотипами, каждый ведёт на свою вкладку /portfolio/#… */
.pfstats { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pfstats > li { display: flex; }
.pfstat { flex: 1; display: flex; align-items: baseline; gap: 12px; padding: 20px 24px; border-radius: 24px; text-decoration: none; color: var(--ink); transition: transform .2s ease, border-color .2s ease; }
.pfstat:hover { transform: translateY(-3px); border-color: var(--hover-line); }
.pfstat strong { font-size: clamp(34px, 3vw, 44px); line-height: 1; font-weight: 800; letter-spacing: -.035em; }
.pfstat span { font-size: 15px; line-height: 1.35; color: var(--ink-2); }
.marquee { display: flex; flex-direction: column; gap: 14px; overflow: hidden; padding: 6px 0 14px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 80s linear infinite; }
.marquee__row--rev .marquee__track { animation-direction: reverse; animation-duration: 95s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; gap: 14px; padding-right: 14px; }
.marquee__logo { flex-shrink: 0; width: 184px; height: 92px; display: flex; align-items: center; justify-content: center; padding: 16px 24px; border-radius: 20px; background: var(--tile); border: 1px solid var(--glass-b); box-shadow: 0 12px 26px -22px rgba(30, 28, 26, .3); }
.marquee__logo img { max-width: 100%; max-height: 42px; object-fit: contain; filter: var(--logo-filter); opacity: var(--logo-opacity); }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 1220px) {
  .xp__grid, .pfstats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stairs { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
  .stair:nth-child(n) .stair__card { min-height: 340px; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .tz { width: 100%; max-width: 620px; margin: 0 auto; }
  .now { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .stairs { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .stair:nth-child(n) .stair__card { min-height: 0; gap: 6px; padding: 18px 118px 18px 18px; border-radius: 22px; }
  .stair__top { margin-bottom: 2px; }
  .stair__art { width: 92px; height: 92px; right: 12px; top: 50%; bottom: auto; transform: translateY(-50%); }
  .stair__title { font-size: 18px; }
  .stair__more { margin-top: 8px; font-size: 14px; }
  .xp__grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .xp__card { padding: 12px 18px 12px 10px; border-radius: 22px; }
  .xp__art { width: 64px; height: 64px; }
  .xp__text strong { font-size: 16px; }
  .xp__text > span { font-size: 13.5px; }
  .tz { padding: 12px 12px 14px; border-radius: 26px; }
  .tz__hint { font-size: 13px; }
  .now__event { min-height: 480px; border-radius: 26px; }
  .now__event .poster__art { top: 26px; right: -6px; transform: none; height: 200px; animation: none; }
  .now__event .poster__body { width: auto; }
  .now__list { padding: 20px 20px 6px; border-radius: 26px; }
  .now__item strong { font-size: 16.5px; }
  .pfstats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pfstat { flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 20px; }
  .pfstat strong { font-size: 30px; }
  .pfstat span { font-size: 13.5px; }
  .marquee__logo { width: 140px; height: 72px; padding: 12px 16px; border-radius: 16px; }
  .marquee__logo img { max-height: 32px; }
  .head-links .btn { height: auto; min-height: 44px; padding: 9px 18px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none !important; }
}

/* ================================================================== вкладки раздела (соседние страницы) */

/* ================================================================== /programs/: условия программ рядом */
.ptable { padding: 8px 28px; border-radius: 32px; overflow-x: auto; }
.ptable table { width: 100%; border-collapse: collapse; }
.ptable th, .ptable td { padding: 22px 16px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); font-size: 15.5px; line-height: 1.45; }
.ptable tbody tr:last-child > * { border-bottom: 0; }
.ptable thead th { padding: 18px 16px 14px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.ptable tbody td { color: var(--ink-2); }
.ptable tbody td:nth-child(5) { max-width: 300px; }
.ptable__prog { display: flex; align-items: center; gap: 16px; min-width: 260px; text-decoration: none; color: var(--ink); }
.ptable__prog small { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.ptable__prog strong { display: block; font-size: 19px; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; transition: color .15s ease; }
.ptable__prog:hover strong { color: var(--red-ink); }
.ptable__art { width: 64px; height: 64px; flex-shrink: 0; }
.ptable__art img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s ease; }
.ptable__prog:hover .ptable__art img { transform: translateY(-4px) rotate(-4deg); }
.ptable__amount { font-size: 24px; line-height: 1.1; font-weight: 800; letter-spacing: -.025em; white-space: nowrap; color: var(--red-ink); }
.ptable__go { width: 60px; text-align: right; }
.ptable__go .icon-btn:hover { background: var(--red); border-color: var(--red); color: #FFFFFF; }

/* уже 1100 px таблица становится карточками: на планшете в две колонки, на телефоне в одну */
@media (max-width: 1100px) {
  .ptable { padding: 0; overflow: visible; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .ptable table, .ptable tbody, .ptable tr, .ptable th, .ptable td { display: block; }
  .ptable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ptable tbody { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .ptable tr { padding: 20px 20px 8px; border-radius: 24px; background: var(--glass); border: 1px solid var(--glass-b); box-shadow: var(--glass-sh); }
  .ptable th, .ptable td, .ptable tbody tr:last-child > * { padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: 15px; }
  .ptable tbody tr > :nth-last-child(2) { border-bottom: 0; }
  .ptable th { padding-top: 0; }
  .ptable td { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; align-items: baseline; }
  .ptable td::before { content: attr(data-label); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
  .ptable tbody td:nth-child(5) { max-width: none; }
  .ptable__prog { min-width: 0; }
  .ptable__go, .ptable .is-na { display: none !important; }
  .ptable__amount { font-size: 21px; }   /* карточки в две колонки: «до 300 млн руб.» в 24 px не помещается */
}
@media (max-width: 760px) {
  .ptable tbody { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ptable tr { padding: 18px 18px 8px; border-radius: 22px; }
  .ptable th, .ptable td, .ptable tbody tr:last-child > * { font-size: 14.5px; }
  .ptable td { grid-template-columns: 110px minmax(0, 1fr); }
  .ptable__prog strong { font-size: 17px; }
  .ptable__art { width: 52px; height: 52px; }
  .ptable__amount { font-size: 20px; }
}
@media (max-width: 400px) {
  .ptable__amount { font-size: 17px; }
}


/* Numeric highlights share the same hover behaviour across the site. */
:is(.stat > strong, .statcard > strong, .stair__amount, .pcard__amount, .ptable__amount, .pfstat > strong, .case__fact strong) {
  transform-origin: left center;
  transition: transform 220ms ease;
}
:is(.stat > strong, .statcard > strong) { align-self: flex-start; }
.case__fact strong { display: inline-block; }
@media (hover: hover) and (pointer: fine) {
  :is(.stat > strong, .statcard > strong, .stair__amount, .pcard__amount, .ptable__amount, .pfstat > strong, .case__fact strong):hover {
    transform: scale(1.08);
  }
}
@media (prefers-reduced-motion: reduce) {
  :is(.stat > strong, .statcard > strong, .stair__amount, .pcard__amount, .ptable__amount, .pfstat > strong, .case__fact strong) { transition: none; }
}

/* Monetary units match descriptive copy; only the number remains prominent. */
.unit {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--ink-2);
  white-space: nowrap;
}
@media (max-width: 760px) {
  .stat .unit { font-size: 14px; }
}

/* Units are slightly larger than the explanatory captions. */
.unit, .stat .unit { font-size: 22px; }
@media (max-width: 760px) {
  .unit, .stat .unit { font-size: 19px; }
}

.unit, .stat .unit { font-weight: 700; }


/* Direct consultation access beside the theme switch. */
.site-header__actions .consultation-help {
  background: #F80615;
  border-color: #F80615;
  color: #fff;
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
}
.site-header__actions .consultation-help:hover { background: #d90512; border-color: #d90512; }

/* Month calendar on the fund events page. */
.event-calendar { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,1fr); gap:40px; padding:32px; margin-top:24px; }
.event-calendar__toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:24px; }
.event-calendar__toolbar .h3 { margin:0; font-size:24px; text-align:center; }
.event-calendar__week,.event-calendar__days { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:8px; }
.event-calendar__week { color:var(--ink-2); text-align:center; margin-bottom:10px; font-size:14px; }
.event-calendar__day { min-height:44px; border:1px solid transparent; border-radius:14px; background:transparent; color:var(--ink); font:600 17px var(--font); cursor:pointer; transition:background .15s,border-color .15s; }
.event-calendar__day:hover { background:var(--glass-2); border-color:var(--line); }
.event-calendar__day.has-events { background:#F80615; color:#fff; }
.event-calendar__day.has-events:hover { background:#d90512; }
.event-calendar__day[aria-current="date"] { border-color:var(--ink-2); }
.event-calendar__day[aria-pressed="true"] { outline:2px solid var(--ink); outline-offset:2px; }
.event-calendar__legend { margin-top:22px; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; color:var(--ink-2); font-size:13px; }
.event-calendar__legend > span { display:flex; align-items:center; gap:8px; }
.event-calendar__legend i { width:9px; height:9px; border-radius:50%; background:#F80615; }
.event-calendar__agenda { min-width:0; border-left:1px solid var(--line); padding-left:32px; }
.event-calendar__agenda .h3 { margin:0 0 18px; font-size:22px; }
.event-calendar__event { display:flex; flex-direction:column; gap:8px; padding:18px 0; border-bottom:1px solid var(--line); text-decoration:none; color:var(--ink); }
.event-calendar__event strong { font-size:20px; line-height:1.3; }
.event-calendar__event:hover strong { color:var(--red-ink); }
.event-calendar__date { color:var(--red-ink); font-size:14px; font-weight:700; }
.event-calendar__place,.event-calendar__empty { color:var(--ink-2); font-size:15px; line-height:1.5; }
@media(max-width:760px) {
 .event-calendar { grid-template-columns:1fr; gap:26px; padding:20px 16px; }
 .event-calendar__agenda { border-left:0; border-top:1px solid var(--line); padding:22px 0 0; }
 .event-calendar__week,.event-calendar__days { gap:4px; }
 .event-calendar__toolbar .h3 { font-size:20px; }
}


/* Quiet moving brand signature before the contact panel. */
.brand-ribbon { overflow:hidden; padding:23px 0; margin:38px 0 0; border-block:1px solid var(--line); color:var(--ink-2); }
.brand-ribbon__track { display:flex; width:max-content; animation:brand-ribbon-scroll 65s linear infinite; }
.brand-ribbon__group { display:flex; flex-shrink:0; align-items:center; gap:48px; padding-right:48px; }
.brand-ribbon__group > span:not(.brand-ribbon__spark) { white-space:nowrap; font-size:15px; font-weight:600; letter-spacing:.09em; text-transform:uppercase; }
.brand-ribbon__spark { display:inline-block; color:var(--red-ink); font-size:23px; line-height:1; animation:brand-ribbon-float 6s ease-in-out infinite; }
.brand-ribbon:hover .brand-ribbon__track { animation-play-state:paused; }
@keyframes brand-ribbon-scroll { to { transform:translateX(-50%); } }
@keyframes brand-ribbon-float { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-3px); } }
@media(max-width:760px) { .brand-ribbon { padding:18px 0; } .brand-ribbon__group { gap:28px; padding-right:28px; } .brand-ribbon__group > span:not(.brand-ribbon__spark) { font-size:12px; } }
@media(prefers-reduced-motion:reduce) { .brand-ribbon__track,.brand-ribbon__spark { animation:none; } }

#consult-form { scroll-margin-top: 120px; }

/* Equal spacing above and below the moving brand signature. */
.brand-ribbon { margin-top:clamp(96px,11vw,160px); }
.brand-ribbon + .site-footer { margin-top:clamp(96px,11vw,160px); }
.brand-ribbon__spark { display:inline-flex; align-items:center; justify-content:center; width:38px; height:38px; flex-shrink:0; }
.brand-ribbon__spark img { display:block; width:38px; height:auto; }


.brand-ribbon__dot { display:block; flex-shrink:0; width:8px; height:8px; border-radius:50%; background:var(--red-ink); }

.brand-ribbon__chevron { display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; width:20px; height:24px; color:var(--red-ink); font-size:23px; font-weight:700; line-height:1; }

/* Arrow separators travel along a small circle while keeping their direction. */
.brand-ribbon__chevron { animation: brand-ribbon-orbit 7s linear infinite; }
@keyframes brand-ribbon-orbit {
  from { transform: rotate(0deg) translateX(3px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(3px) rotate(-360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .brand-ribbon__chevron { animation: none; }
}
/* Six primary sections fit alongside the account controls. */
@media (min-width: 1221px) and (max-width: 1440px) {
  .nav { margin-left: 0; gap: 0; }
  .nav__link { padding: 0 6px; font-size: 13.5px; }
  .site-header__actions { gap: 6px; }
  .site-header__cta { padding-left: 14px; padding-right: 14px; font-size: 13px; }
}
@media (min-width:1221px) and (max-width:1440px) { .brand {gap:8px;} .brand__bm {width:88px;} .brand__mvf {width:114px;} .site-header__bar {gap:8px;padding-left:18px;} }

/* Compact month strip: a single row, horizontally scrollable on small screens. */
.event-calendar { display:block; padding:24px; }
.event-calendar__toolbar { justify-content:flex-start; margin-bottom:16px; }
.event-calendar__toolbar .h3 { min-width:190px; font-size:20px; }
.event-calendar__toolbar .icon-btn { width:36px; height:36px; }
.event-calendar__days { display:grid; grid-template-columns:none; grid-auto-flow:column; grid-auto-columns:minmax(32px,1fr); gap:3px; overflow-x:auto; padding:4px 3px 9px; scrollbar-width:thin; }
.event-calendar__day { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; min-height:58px; padding:5px 0; border-radius:10px; font-size:15px; }
.event-calendar__day small { font-size:10px; font-weight:400; text-transform:uppercase; opacity:.7; }
.event-calendar__legend { margin-top:9px; }
.event-calendar__legend .btn { min-height:32px; padding:5px 12px; font-size:12px; }
.event-calendar__agenda { border-left:0; border-top:1px solid var(--line); padding:14px 0 0; margin-top:16px; }
.event-calendar__agenda .h3 { font-size:14px; margin:0 0 8px; color:var(--ink-2); font-weight:500; }
.event-calendar__event { flex-direction:row; align-items:baseline; flex-wrap:wrap; gap:8px 20px; padding:8px 0; }
.event-calendar__event:last-child { border-bottom:0; }
.event-calendar__event strong { font-size:16px; }
.event-calendar__place,.event-calendar__empty { font-size:13px; }
.event-calendar__empty { margin:0; }
@media(max-width:760px) { .event-calendar {padding:16px;} .event-calendar__days {grid-auto-columns:40px;} .event-calendar__toolbar .h3 {min-width:0;flex:1;text-align:center;} }

/* Mentor school faculty: neutral portraits and a restrained brand accent. */
.mentor-teachers { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.mentor-teacher { overflow:hidden; border-radius:28px; padding:16px; }
.mentor-teacher__portrait { overflow:hidden; border-radius:18px; background:#d7d7d7; aspect-ratio:2.6; }
.mentor-teacher__portrait img { display:block; width:100%; height:100%; object-fit:cover; filter:none; }
.mentor-teacher__bio { padding:24px 10px 14px; }
.mentor-teacher__label { display:flex; align-items:center; gap:8px; color:var(--red-ink); font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.mentor-teacher__label::before {content:'';width:18px;height:2px;background:currentColor;}
.mentor-teacher h3 { font-size:24px; line-height:1.2; margin:12px 0; letter-spacing:-.03em; }
.mentor-teacher p { color:var(--ink-2); font-size:16px; line-height:1.55; margin:0; }
@media(max-width:760px) { .mentor-teachers { grid-template-columns:1fr; gap:18px; } .mentor-teacher h3 {font-size:22px;} .mentor-teacher__bio {padding:20px 6px 10px;} }
/* Compact faculty gallery with portrait zoom. */
.mentor-teachers { grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; }
.mentor-teacher.glass { padding:0 0 18px; border:0; border-bottom:1px solid var(--line); border-radius:0; background:transparent; box-shadow:none; backdrop-filter:none; }
.mentor-teacher__portrait { aspect-ratio:1.25; border-radius:20px; background:#b8aea2; }
.mentor-teacher__portrait img { object-position:65% center; transition:transform .5s cubic-bezier(.2,.7,.3,1); }
.mentor-teacher:last-child img { object-position:50% center; }
.mentor-teacher__bio { padding:18px 0 0; }
.mentor-teacher__label { display:none; }
.mentor-teacher h3 { margin:0 0 10px; font-size:20px; }
.mentor-teacher p { font-size:13px; line-height:1.5; }
@media(hover:hover) and (prefers-reduced-motion:no-preference) { .mentor-teacher:hover img {transform:scale(1.08);} }
@media(max-width:1000px) { .mentor-teachers {grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 18px;} }
@media(max-width:760px) { .mentor-teacher__portrait {border-radius:14px;} .mentor-teacher h3 {font-size:18px;} .mentor-teacher p {font-size:12px;} }

/* Balanced grant terms: numbers, units and a textual funding condition. */
.statcards--grants .grant-value {display:flex;align-items:baseline;gap:8px;min-height:48px;line-height:1.1;white-space:nowrap;}
.statcards--grants .grant-number {font-size:44px;font-weight:800;letter-spacing:-.035em;color:var(--red-ink);}
.statcards--grants .grant-unit {font-size:27px;font-weight:700;letter-spacing:-.02em;color:var(--ink-2);}
.statcards--grants .grant-value--text {font-size:27px;font-weight:700;letter-spacing:-.025em;align-items:center;}
@media(min-width:761px) and (max-width:1100px){.statcards--grants .statcard {padding:24px 20px;}.statcards--grants .grant-unit,.statcards--grants .grant-value--text{font-size:22px;}.statcards--grants .grant-number{font-size:38px;}}
.statcards--grants .grant-value--text { color:var(--ink-2); }

/* Grant support cards: eligibility plus three explorable uses. */
.grant-benefits {display:grid;grid-template-columns:1.05fr repeat(3,minmax(0,1fr));gap:18px;align-items:start;}
.grant-eligibility {background:var(--red-ink);color:white;border-radius:26px;padding:26px;min-height:390px;display:flex;flex-direction:column;align-items:flex-start;}
.grant-benefit__tag {font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;}
.grant-eligibility>img {height:100px;width:100px;object-fit:contain;filter:brightness(0) invert(1);margin:24px 0;}
.grant-eligibility h3 {font-size:27px;letter-spacing:-.03em;line-height:1.1;margin:0 0 14px;}
.grant-eligibility p {font-size:16px;line-height:1.5;margin:0 0 24px;}
.grant-eligibility a {color:white;font-size:13px;margin-top:auto;display:flex;align-items:center;gap:10px;text-underline-offset:4px;}
.grant-benefit {border-radius:26px;overflow:hidden;padding:12px;}
.grant-benefit summary {cursor:pointer;list-style:none;}
.grant-benefit summary::-webkit-details-marker {display:none;}
.grant-benefit summary:focus-visible {outline:2px solid var(--red-ink);outline-offset:0;border-radius:16px;}
.grant-benefit__visual {position:relative;display:grid;place-items:center;height:175px;border-radius:18px;background:var(--glass-2);overflow:hidden;}
.grant-benefit__visual img {height:112px;width:112px;z-index:1;transition:transform .35s;}
.grant-benefit__index {position:absolute;left:15px;top:14px;color:var(--red-ink);font-size:12px;font-weight:600;}
.grant-benefit__dots {position:absolute;width:160px;height:160px;border:2px dotted var(--ink-2);opacity:.15;border-radius:50%;transform:rotate(-25deg) scaleY(.55);}
.grant-benefit__intro {padding:22px 12px 12px;}
.grant-benefit__intro .grant-benefit__tag {color:var(--ink-2);font-size:9px;}
.grant-benefit h3 {font-size:22px;letter-spacing:-.03em;line-height:1.2;margin:12px 0;}
.grant-benefit__intro p {font-size:14px;line-height:1.5;color:var(--ink-2);min-height:44px;margin:0;}
.grant-benefit__expand {display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;font-weight:600;color:var(--red-ink);margin-top:24px;}
.grant-benefit__expand b {font-size:24px;font-weight:400;transition:transform .2s;}
.grant-benefit[open] .grant-benefit__expand b {transform:rotate(45deg);}
.grant-benefit[open] {border-color:var(--red-ink);}
.grant-benefit__detail {margin:4px 12px 12px;padding-top:16px;border-top:1px solid var(--line);font-size:14px;line-height:1.6;color:var(--ink-2);}
.grant-benefit__detail p {margin:0 0 14px;}.grant-benefit__detail a {color:var(--red-ink);font-size:12px;display:inline-flex;gap:8px;align-items:center;}
.grant-benefits__note {max-width:780px;margin:20px 0 0;font-size:12px;line-height:1.6;color:var(--ink-2);}
@media(hover:hover) and (prefers-reduced-motion:no-preference) {.grant-benefit summary:hover img {transform:translateY(-5px) scale(1.08);}}
@media(max-width:1100px) {.grant-benefits{grid-template-columns:repeat(2,minmax(0,1fr));}.grant-eligibility{min-height:390px;}}
@media(max-width:600px) {.grant-benefits{grid-template-columns:1fr;}.grant-eligibility{min-height:0;padding:24px;}.grant-eligibility>img{height:72px;width:72px;margin:16px 0;}.grant-benefit__visual{height:150px;}.grant-benefit__intro p{min-height:0;}}
@media(prefers-reduced-motion:reduce){.grant-benefit__visual img,.grant-benefit__expand b{transition:none;}}

/* Shared project stories: human portraits, one result, an expandable narrative. */
.project-stories__nav {display:flex;align-items:center;gap:10px;flex-shrink:0;}
.project-stories__nav>span {font-size:13px;color:var(--ink-2);margin-right:10px;}
.project-stories__nav button:disabled {opacity:.3;cursor:default;}
.project-stories {display:flex;align-items:flex-start;gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;padding:4px 4px 22px;}
.project-story {flex:0 0 88%;min-width:0;display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.25fr);border-radius:28px;overflow:hidden;scroll-snap-align:start;}
.project-story:only-child {flex-basis:100%;}
.project-story__visual {position:relative;background:#c8bfb5;min-height:420px;overflow:hidden;}
.project-story__photo {width:100%;height:100%;position:absolute;inset:0;object-fit:cover;transition:transform .5s;}
.project-story__serial {position:absolute;left:24px;top:22px;color:#51483f;font-size:11px;letter-spacing:.12em;text-transform:uppercase;font-weight:600;}
.project-story__placeholder {min-height:420px;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:28px;padding:32px;position:relative;}
.project-story__avatar {display:grid;place-items:center;width:102px;height:102px;border-radius:50%;background:#f5f0e866;color:#756a5e;border:1px solid #f5f0e8;z-index:1;}
.project-story__avatar .ic {width:40px;height:40px;}
.project-story__orbit {position:absolute;width:260px;height:260px;border-radius:50%;border:2px dotted #95897a66;transform:rotate(-25deg) scaleY(.65);}
.project-story__photo-label {position:relative;color:#6c6054;text-align:center;font-size:13px;line-height:1.5;}
.project-story__person {position:absolute;bottom:18px;left:18px;right:18px;padding:16px;border-radius:16px;background:#faf7f1ed;color:#292725;display:grid;gap:5px;}.project-story__person span{font-size:12px;}
.project-story__body {padding:34px;min-width:0;}
.project-story__category {font-size:11px;color:var(--red-ink);letter-spacing:.06em;text-transform:uppercase;font-weight:600;}
.project-story h3 {font-size:30px;line-height:1.15;margin:18px 0 14px;letter-spacing:-.04em;}
.project-story__intro {font-size:16px;line-height:1.6;color:var(--ink-2);margin:0;}
.project-story__metric {border-left:3px solid var(--red-ink);padding-left:18px;margin:28px 0;display:grid;gap:10px;}
.project-story__metric>span {color:var(--ink-2);font-size:12px;}
.project-story__metric strong {font-size:32px;line-height:1.2;color:var(--red-ink);letter-spacing:-.03em;}
.project-story__metric .unit {font-size:22px;}
.project-story__details {border-top:1px solid var(--line);}
.project-story__details summary {display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;cursor:pointer;padding:18px 0 0;color:var(--red-ink);font-size:14px;font-weight:600;}
.project-story__details summary::-webkit-details-marker {display:none;}
.project-story__details summary:focus-visible {outline:2px solid var(--red-ink);outline-offset:4px;border-radius:4px;}
.project-story__details summary b {font-size:24px;font-weight:400;transition:transform .2s;}
.project-story__details[open] summary b {transform:rotate(45deg);}
.project-story__story {padding-top:22px;}
.project-story__chapter+.project-story__chapter {margin-top:20px;}
.project-story__chapter-label {font-size:11px;text-transform:uppercase;letter-spacing:.06em;font-weight:600;color:var(--ink);}
.project-story__chapter p {font-size:15px;line-height:1.7;color:var(--ink-2);margin:10px 0 0;}
.project-story blockquote {border-left:2px solid var(--red-ink);margin:24px 0 0;padding:0 0 0 18px;font-size:17px;line-height:1.6;}.project-story cite{display:block;font-size:12px;margin-top:10px;}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.project-story:hover .project-story__photo{transform:scale(1.04);}}
@media(max-width:1000px){.project-story{flex-basis:94%;}.project-story__body{padding:26px;}.project-story h3{font-size:25px;}}
@media(max-width:650px){.project-story{grid-template-columns:1fr;flex-basis:94%;}.project-story__visual,.project-story__placeholder{min-height:240px;}.project-story__visual{height:240px;}.project-story__placeholder{gap:16px;}.project-story__avatar{width:76px;height:76px;}.project-story__orbit{width:210px;height:210px;}.project-story__body{padding:24px;}.project-story__intro{font-size:14px;}.project-story__metric strong{font-size:28px;}.project-stories__nav{margin-top:16px;}}
@media(prefers-reduced-motion:reduce){.project-story__photo,.project-story__details summary b{transition:none;}}

/* Pick a participant, then explore their project and outcome. */
.story-picker {display:flex;gap:12px;overflow-x:auto;padding:4px 4px 24px;scrollbar-width:thin;}
.story-picker button {display:flex;align-items:center;gap:12px;flex-shrink:0;padding:10px 16px 10px 10px;border:1px solid var(--line);border-radius:18px;background:var(--glass);color:var(--ink-2);font:600 13px var(--font);cursor:pointer;transition:border-color .2s,background .2s;}
.story-picker button[aria-pressed=true] {border-color:var(--red-ink);color:var(--ink);background:var(--glass-2);}
.story-picker__avatar {display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#c8bfb5;color:#6c6054;overflow:hidden;}.story-picker__avatar .ic{width:20px;height:20px;}.story-picker__avatar img{width:100%;height:100%;object-fit:cover;}
.story-picker__arrow{color:var(--red-ink);margin-left:8px;}
.story-view-switch {display:flex;gap:4px;padding:4px;background:var(--glass-2);border:1px solid var(--line);border-radius:14px;margin:22px 0;}
.story-view-switch button{flex:1;padding:10px 8px;border:0;border-radius:10px;font:600 12px var(--font);color:var(--ink-2);background:transparent;cursor:pointer;}
.story-view-switch button[aria-pressed=true]{background:var(--red-ink);color:white;box-shadow:0 4px 14px #ed001a18;}
.story-read-next {display:flex;align-items:center;justify-content:space-between;width:100%;border:0;border-bottom:1px solid var(--line);padding:20px 0 14px;margin-top:10px;font:600 13px var(--font);color:var(--red-ink);background:none;cursor:pointer;}.story-read-next[hidden]{display:none;}
.project-story__body [data-story-panel]:not([hidden]){animation:story-reveal .3s ease both;}
.project-story__story {padding-top:0;}
@keyframes story-reveal{from{opacity:0;transform:translateY(6px);}to{opacity:1;transform:translateY(0);}}
@media(hover:hover){.story-picker button:hover{border-color:var(--red-ink);}.story-read-next:hover span{transform:translateX(4px);}.story-read-next span{transition:transform .2s;}}
@media(prefers-reduced-motion:reduce){.project-story__body [data-story-panel]:not([hidden]){animation:none;}.story-picker button,.story-read-next span{transition:none;}}
.grant-obligations{margin-top:28px;padding:28px 32px;border-radius:22px;border-left:4px solid var(--red-ink);}.grant-obligations h3{font-size:24px;letter-spacing:-.025em;margin:14px 0;}.grant-obligations p{font-size:16px;line-height:1.7;color:var(--ink-2);max-width:960px;margin:0 0 18px;}.grant-obligations a{color:var(--red-ink);font-size:13px;font-weight:600;text-decoration:none;display:inline-flex;gap:10px;align-items:center;}@media(max-width:650px){.grant-obligations{padding:22px;}.grant-obligations h3{font-size:21px;}.grant-obligations p{font-size:14px;}}
/* Both participants remain visible; interaction lives inside each story. */
.project-stories--grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;overflow:visible;align-items:start;padding:0;scroll-snap-type:none;}
.project-stories--grid .project-story{display:block;min-width:0;}
.project-stories--grid .project-story:only-child{max-width:720px;grid-column:1/-1;width:100%;}
.project-stories--grid .project-story__visual,.project-stories--grid .project-story__placeholder{min-height:155px;height:155px;}
.project-stories--grid .project-story__placeholder{flex-direction:row;gap:18px;padding:24px;}
.project-stories--grid .project-story__avatar{width:64px;height:64px;flex-shrink:0;}
.project-stories--grid .project-story__avatar .ic{width:28px;height:28px;}
.project-stories--grid .project-story__orbit{width:180px;height:150px;}
.project-stories--grid .project-story__photo-label{text-align:left;font-size:12px;}
.project-stories--grid .project-story__serial{top:14px;left:20px;font-size:9px;}
.project-stories--grid .project-story__body{padding:24px;}
.project-stories--grid .project-story h3{font-size:25px;margin:12px 0;}
.project-stories--grid .project-story__category{font-size:9px;}
.project-stories--grid .story-view-switch{margin:16px 0;}
.project-stories--grid .project-story__intro{font-size:14px;line-height:1.5;min-height:42px;}
.project-stories--grid .story-read-next{padding:12px 0;margin-top:6px;font-size:12px;}
.project-stories--grid .project-story__metric{margin:20px 0 0;gap:6px;}
.project-stories--grid .project-story__metric strong{font-size:29px;}
.project-stories--grid .project-story__chapter p{font-size:14px;line-height:1.6;}
.project-stories--grid .project-story__story{max-height:220px;overflow-y:auto;scrollbar-width:thin;}
@media(max-width:650px){.project-stories--grid{grid-template-columns:1fr;}.project-stories--grid .project-story__visual,.project-stories--grid .project-story__placeholder{height:150px;min-height:150px;}.project-stories--grid .project-story__body{padding:22px;}}
/* Side-by-side portrait and story, with both projects visible. */
.project-stories--grid .project-story{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.25fr);align-items:stretch;}
.project-stories--grid .project-story__visual{height:auto;min-height:360px;}
.project-stories--grid .project-story__placeholder{height:100%;min-height:360px;flex-direction:column;padding:34px 16px;gap:20px;}
.project-stories--grid .project-story__photo-label{text-align:center;font-size:11px;}
.project-stories--grid .project-story__orbit{width:160px;height:200px;}
.project-stories--grid .project-story__body{padding:22px;}
.project-stories--grid .project-story h3{font-size:23px;overflow-wrap:anywhere;}
.project-stories--grid .story-view-switch button{font-size:11px;padding:9px 5px;}
.project-stories--grid .project-story__metric strong{font-size:26px;}
.project-stories--grid .project-story__metric .unit{font-size:18px;}
@media(max-width:1100px) and (min-width:651px){.project-stories--grid{grid-template-columns:1fr;}.project-stories--grid .project-story__visual,.project-stories--grid .project-story__placeholder{min-height:300px;}}
@media(max-width:650px){.project-stories--grid .project-story{grid-template-columns:1fr;}.project-stories--grid .project-story__visual{height:220px;min-height:220px;}.project-stories--grid .project-story__placeholder{height:220px;min-height:220px;flex-direction:row;}.project-stories--grid .project-story__photo-label{text-align:left;}}
/* Financing cards: a quiet glow appears only on interaction. */
.stair__card{isolation:isolate;}
.stair__card::before{content:'';position:absolute;inset:0;z-index:-1;border-radius:inherit;pointer-events:none;background:radial-gradient(ellipse at 85% 95%,rgba(237,0,30,.095),transparent 65%);opacity:0;transition:opacity .3s ease;}
@media(hover:hover){.stair__card:hover::before{opacity:1;}}
.stair__card:focus-visible::before{opacity:1;}
@media(prefers-reduced-motion:reduce){.stair__card::before{transition:none;}}

/* Keep desktop controls inside the capped header even on wide screens. */
@media(min-width:1221px){.site-header__bar{gap:10px}.site-header__phone{display:none}.site-header__actions{flex:0 0 auto;gap:8px}.site-header .brand{gap:10px}.site-header .brand__bm{width:96px}.site-header .brand__mvf{width:126px}.site-header .nav{margin-left:0;gap:0;min-width:0}.site-header .nav__link{padding:0 8px;font-size:14px}.site-header__cta{padding-left:14px;padding-right:14px;font-size:13px}}
@media(min-width:1221px) and (max-width:1320px){.site-header__bar{gap:8px}.site-header .brand{gap:8px}.site-header .brand__bm{width:88px}.site-header .brand__mvf{width:114px}.site-header .nav__link{padding:0 6px;font-size:13.5px}.site-header__actions{gap:6px}}

/* Mobile header: the complete brand and three controls must fit the bar. */
@media(max-width:760px){
 .site-header{top:max(12px,env(safe-area-inset-top));padding-inline:12px}
 .site-header__bar{width:100%;min-width:0;gap:8px;padding:0 8px 0 12px}
 .site-header .brand{flex:1 1 auto;min-width:0;gap:6px}
 .site-header .brand__bm{display:block;width:clamp(52px,16.4vw,76px);height:auto;flex-shrink:1}
 .site-header .brand__mvf{width:clamp(74px,22.4vw,104px);height:auto;flex-shrink:1}
 .site-header .brand__sep{display:block;width:1px;flex:0 0 1px;height:24px}
 .site-header__actions{flex:0 0 auto;gap:4px;margin-left:auto}
 .site-header__actions .icon-btn{width:40px;height:40px}
 .site-header__actions .consultation-help{font-size:24px}
 .hero__art{width:100%;max-width:420px;height:clamp(260px,82vw,380px);margin:0 auto -40px;justify-self:center;right:auto;left:auto;top:auto;mask-image:linear-gradient(180deg,#000 65%,transparent 100%);-webkit-mask-image:linear-gradient(180deg,#000 65%,transparent 100%)}
 .hero__text{min-width:0}
 .badge{max-width:100%;font-size:clamp(10px,3vw,12.5px)}
}
@media(max-width:360px){
 .site-header .brand__bm,.site-header .brand__sep{display:none}
 .site-header .brand__mvf{width:108px;max-width:100%}
 .site-header .brand{gap:0}
}



