:root {
  --bg: #fff;
  --soft: #f3f4f1;
  --ink: #0a0a0a;
  --ink-2: #16181a;
  --text: #121212;
  --muted: #62665f;
  --line: #e2e4de;
  --green: #03d302;
  --green-d: #008315;
  --green-soft: #e9fbe6;
  --disp: "Unbounded", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --wrap: 1280px;
  --r: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.025em; line-height: 1.1; text-wrap: balance; }
h3 { font-size: 1.14rem; line-height: 1.25; letter-spacing: -.015em; font-weight: 700; }
:focus-visible { outline: 3px solid var(--green-d); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--green); color: var(--ink); }
[hidden] { display: none !important; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.wrap--read { max-width: 780px; }
.wrap--tool { max-width: 980px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--green); color: var(--ink); padding: 10px 16px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }
.ico { width: 1em; height: 1em; flex: none; }
.kicker { font: 700 .72rem/1.2 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--green-d); }
.kicker--on { color: var(--green); }
.meta { font-size: .82rem; color: var(--muted); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.28rem); line-height: 1.5; color: var(--muted); max-width: 62ch; }
.crumb { font-size: .84rem; color: var(--muted); }
.crumb a { color: var(--green-d); font-weight: 600; }
.crumb a:hover { text-decoration: underline; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 52px; padding: 0 24px; border-radius: 12px; background: var(--green); color: var(--ink); font: 700 .95rem/1 var(--sans); border: 2px solid var(--green); cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); }
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--green); transform: translateY(-1px); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .86rem; border-radius: 10px; }
.btn--ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--ink:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn--line, .btn.secondary { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--line:hover, .btn.secondary:hover { background: var(--ink); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.more { display: inline-flex; align-items: center; gap: .4em; min-height: 44px; font-weight: 700; font-size: .9rem; color: var(--green-d); white-space: nowrap; }
.more .ico { transition: transform .2s var(--ease); }
a:hover > .more .ico, .more:hover .ico { transform: translateX(4px); }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .86rem; font-weight: 600; background: #fff; transition: background .2s, border-color .2s, color .2s; white-space: nowrap; }
.chip:hover, .chip[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--green); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { position: absolute; right: 10px; bottom: 10px; background: var(--ink); color: #fff; font-size: .74rem; font-weight: 700; padding: 4px 8px; border-radius: 6px; }

/* Верх */
.strip { background: var(--ink); color: #fff; font-size: .8rem; font-weight: 500; }
.strip__in { display: flex; align-items: center; gap: 20px; min-height: 38px; }
.strip__in span { margin-right: auto; display: flex; align-items: center; gap: 10px; }
.strip a { display: inline-flex; align-items: center; gap: 4px; color: var(--green); font-weight: 700; min-height: 38px; }
.strip a:hover { color: #fff; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(3, 211, 2, .7); animation: pulse 2s infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 9px rgba(3, 211, 2, 0); } }
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1.5px solid var(--ink); }
.top__in { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.logo { font: 800 1.28rem/1 var(--disp); letter-spacing: -.03em; display: inline-flex; align-items: baseline; white-space: nowrap; }
.logo b { color: var(--green); }
.logo small { font: 600 .62rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-left: 3px; }
.logo--inv { color: #fff; }
.nav { display: flex; gap: 4px; margin-left: auto; font-size: .92rem; font-weight: 600; }
.nav a { padding: 0 12px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 8px; white-space: nowrap; transition: background .2s, color .2s; }
.nav a:hover { background: var(--soft); }
.nav a[aria-current] { color: var(--green-d); }

/* Заголовки секций */
.sec { padding: clamp(44px, 6vw, 88px) 0; }
.sec--tight { padding-top: 0; }
.sec--soft { background: var(--soft); }
.sec--ink { background: var(--ink); color: #fff; }
.sec--ink .meta { color: #a4a8a0; }
.sec--ink .kicker, .sec--ink .more { color: var(--green); }
.sh { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: clamp(20px, 2.6vw, 34px); }
.sh h2 { font: 800 clamp(1.35rem, 2.6vw, 2.1rem)/1.1 var(--disp); letter-spacing: -.03em; display: flex; align-items: center; gap: .5em; }
.sh h2::before { content: ""; width: .5em; height: .5em; background: var(--green); border-radius: 3px; flex: none; }
.phead { padding: clamp(36px, 6vw, 80px) 0 clamp(28px, 4vw, 52px); }
.phead .wrap { display: grid; gap: 16px; }
.phead h1 { font: 800 clamp(2rem, 5.4vw, 4.2rem)/1.03 var(--disp); letter-spacing: -.04em; }

/* Главная: первый экран */

section.lead { padding: clamp(18px, 2.6vw, 32px) 0 0; font-size: inherit; color: inherit; max-width: none; }
.lead__in { display: grid; grid-template-columns: 1.9fr 1fr; gap: clamp(20px, 2.6vw, 36px); align-items: stretch; }
.lead__main { display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: var(--ink); color: #fff; }
.lead__pic { aspect-ratio: 16 / 9; overflow: hidden; }
.lead__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.lead__main:hover .lead__pic img { transform: scale(1.03); }
.lead__txt { display: grid; gap: 12px; justify-items: start; padding: clamp(20px, 2.6vw, 34px); border-top: 4px solid var(--green); flex: 1; align-content: center; }
.lead__txt h1 { font-size: clamp(1.6rem, 3vw, 2.6rem); }
.lead__txt > p:not(.kicker) { color: #c3c7bf; max-width: 64ch; }
.lead__main:hover .btn { background: #fff; border-color: #fff; }
.lead__side { display: flex; flex-direction: column; border-top: 4px solid var(--ink); padding-top: 16px; }
.lead__side .sh { margin-bottom: 4px; }
.lead__side .sh h2 { font-size: 1.25rem; }
.rows { display: grid; }
.row { display: grid; gap: 6px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.row__k { font: 700 .68rem/1 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--green-d); }
.row__t { font-weight: 700; line-height: 1.3; letter-spacing: -.01em; transition: color .2s; }
.row:hover .row__t { color: var(--green-d); }

.topics { border-block: 1px solid var(--line); margin-top: clamp(24px, 3vw, 40px); }
.topics__in { display: flex; align-items: center; gap: 8px; padding: 14px 0; overflow-x: auto; scrollbar-width: none; }
.topics__in::-webkit-scrollbar { display: none; }
.topics__in > span { font: 800 .8rem/1 var(--disp); margin-right: 8px; }
.topics__in--page { padding: 0 0 28px; flex-wrap: wrap; }

/* Карточки материалов */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.card { display: flex; flex-direction: column; gap: 14px; padding: clamp(20px, 2.2vw, 30px); border-radius: var(--r); background: #fff; border: 1.5px solid var(--line); min-height: 280px; transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); border-color: var(--ink); box-shadow: 6px 6px 0 var(--green); }
.card h3 { font-size: clamp(1.15rem, 1.6vw, 1.42rem); font-weight: 800; letter-spacing: -.02em; }
.card__d { color: var(--muted); font-size: .94rem; line-height: 1.5; }
.card .meta { margin-top: auto; }
.card--ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.card--ink .kicker { color: var(--green); }
.card--ink .card__d, .card--ink .meta { color: #a9ada5; }
.card--green { background: var(--green); border-color: var(--green); }
.card--green .kicker, .card--green .card__d, .card--green .meta { color: #0b3d0b; }
.card--green:hover { box-shadow: 6px 6px 0 var(--ink); }

/* Подкасты */
.eps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); }
.eps--light { grid-template-columns: repeat(2, 1fr); margin-bottom: clamp(24px, 3vw, 40px); }
.eps--light h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 800; }
.ep { display: grid; gap: 10px; align-content: start; }
.ep__img { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; margin-bottom: 4px; }
.ep__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ep:hover .ep__img img { transform: scale(1.05); }
.ep h3 { transition: color .2s; }
.sec--ink .ep:hover h3 { color: var(--green); }
.ep:hover h3 { color: var(--green-d); }
@media (min-width: 901px) { .sec--ink .eps:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); } }

/* Плеер и клипы */
.player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #000; }
.player img, .player iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.player img { transition: transform .6s var(--ease); }
.player:hover img { transform: scale(1.03); }
.player__btn { position: absolute; inset: 0; width: 100%; display: grid; place-items: center; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .4)); border: 0; cursor: pointer; color: var(--ink); }
.player__btn svg { width: 76px; height: 76px; padding: 23px; border-radius: 50%; background: var(--green); transition: transform .25s var(--ease), background .2s; }
.player__btn:hover svg { transform: scale(1.1); background: #fff; }
.player--v { aspect-ratio: 9 / 16; border-radius: 12px; }
.player--v .player__btn svg { width: 52px; height: 52px; padding: 15px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(168px, 17vw, 220px); gap: 14px; overflow-x: auto; padding: 4px max(20px, calc((100vw - var(--wrap)) / 2)) 16px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.rail .clip { scroll-snap-align: start; }
.clips { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: clamp(14px, 2vw, 24px); }
.clip { display: grid; gap: 8px; align-content: start; scroll-margin-top: 100px; }
.clip h3 { font-size: .92rem; font-weight: 600; line-height: 1.35; letter-spacing: 0; }

/* Мероприятия */
.evs { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.8vw, 24px); }
.ev { display: grid; gap: 8px; align-content: start; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r); padding: 10px 10px 18px; transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.ev > :not(.ev__img) { padding-inline: 8px; }
.ev:hover { transform: translateY(-4px); border-color: var(--ink); box-shadow: 6px 6px 0 var(--green); }
.ev__img { aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--soft); margin-bottom: 6px; }
.ev__img img { width: 100%; height: 100%; object-fit: cover; }
.ev h3 { font-size: 1.02rem; }
.filters { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; margin-bottom: 14px; }
label { display: grid; gap: 6px; font-size: .8rem; font-weight: 700; }
input, select { font: 500 1rem var(--sans); min-height: 50px; padding: 0 14px; border: 1.5px solid var(--ink); border-radius: 12px; background: #fff; color: var(--text); width: 100%; }
input:focus-visible, select:focus-visible { outline: 3px solid var(--green); outline-offset: 0; }
#evCount { margin-bottom: 20px; }
.empty { padding: 40px 0; font-weight: 600; }
.event, .episode { padding: clamp(24px, 4vw, 52px) 0 clamp(44px, 6vw, 80px); }
.event .wrap, .episode .wrap { display: grid; gap: 18px; }
.event h1, .episode h1 { font-size: clamp(2rem, 4.6vw, 3.6rem); letter-spacing: -.035em; max-width: 22ch; }
.event__cols, .episode__cols { display: grid; grid-template-columns: 1.8fr 1fr; gap: clamp(24px, 4vw, 56px); margin-top: 16px; align-items: start; }
.event__img { width: 100%; border-radius: var(--r); margin-bottom: 28px; }
.facts { position: sticky; top: 92px; display: grid; gap: 18px; padding: 24px; border: 1.5px solid var(--ink); border-radius: var(--r); box-shadow: 6px 6px 0 var(--green); }
.facts dl { display: grid; gap: 14px; }
.facts dt { font: 700 .7rem/1 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.facts dd { font-weight: 700; }
.episode .player { margin-top: 8px; }
.episode__cols h2 { font: 800 1.3rem/1.1 var(--disp); letter-spacing: -.03em; margin-bottom: 14px; }
.episode__cols aside { display: grid; gap: 4px; align-content: start; justify-items: start; }
.episode__cols aside h2:not(:first-child) { margin-top: 26px; }
.episode__cols aside .btn { margin-top: 26px; }
.tc { border-top: 1.5px solid var(--ink); }
.tc a { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 13px 6px; border-bottom: 1px solid var(--line); font-weight: 500; transition: background .2s; }
.tc a:hover { background: var(--green-soft); }
.tc span { color: var(--green-d); font-weight: 800; font-variant-numeric: tabular-nums; }

/* Инструменты */
.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.tool { display: flex; flex-direction: column; gap: 10px; padding: clamp(20px, 2.2vw, 30px); border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
a.tool:hover { border-color: var(--ink); box-shadow: 6px 6px 0 var(--green); transform: translateY(-4px); }
.tool h3 { font-size: 1.3rem; font-weight: 800; }
.tool p:not(.kicker) { color: var(--muted); font-size: .94rem; }
.tool p a { color: var(--green-d); font-weight: 600; text-decoration: underline; }
.tool .more { margin-top: auto; }
.tool--big { background: var(--ink); border-color: var(--ink); color: #fff; }
.tool--big .kicker, .tool--big .more { color: var(--green); }
.tool--big p:not(.kicker) { color: #a9ada5; }
.tool--big h3 { font: 800 clamp(1.4rem, 2.4vw, 2rem)/1.1 var(--disp); letter-spacing: -.03em; }
.note { padding: 16px 20px; background: var(--green-soft); border-radius: 12px; margin-bottom: 24px; font-size: .95rem; }

/* CTA */
.cta { background: var(--green); color: var(--ink); padding: clamp(40px, 6vw, 80px) 0; }
.cta__in { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta h2 { font: 800 clamp(1.5rem, 3.6vw, 2.8rem)/1.05 var(--disp); letter-spacing: -.04em; max-width: 18ch; }
.cta p { margin-top: 12px; font-weight: 500; max-width: 46ch; }

/* Статья */
.art__head { padding: clamp(28px, 5vw, 64px) 0 clamp(20px, 3vw, 36px); }
.art__head .wrap { display: grid; gap: 16px; }
.art__head h1 { font-size: clamp(1.9rem, 4.4vw, 3.3rem); letter-spacing: -.035em; }
.art { padding-bottom: clamp(44px, 6vw, 80px); }
.prose { font-size: 1.09rem; line-height: 1.72; }
.prose > * + *, .prose section > * + *, .prose article > * + *, .prose aside > * + * { margin-top: 1.1em; }
.prose section, .prose aside, .prose details { margin-top: 2.2em; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); letter-spacing: -.03em; scroll-margin-top: 96px; }
.prose h3 { font-size: 1.2rem; }
.prose a { color: var(--green-d); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 1.5em; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: .55em; height: .55em; background: var(--green); border-radius: 2px; }
.prose li + li { margin-top: .5em; }
.prose .article-intro { font-size: 1.24rem; line-height: 1.55; font-weight: 500; }
.prose .ar-downloads { display: flex; flex-wrap: wrap; gap: 10px; }
.prose .ar-downloads a { display: inline-flex; align-items: center; min-height: 50px; padding: 0 20px; border-radius: 12px; background: var(--green); color: var(--ink); font-weight: 700; font-size: .95rem; text-decoration: none; transition: background .2s, color .2s; }
.prose .ar-downloads a:hover { background: var(--ink); color: var(--green); }
.prose details { border: 1.5px solid var(--line); border-radius: var(--r); padding: 4px 20px; }
.prose summary { cursor: pointer; font-weight: 800; padding: 14px 0; min-height: 44px; }
.prose details[open] { padding-bottom: 20px; }
.prose details section { margin-top: .6em; }
.prose details h2 { font-size: 1.1rem; }
.prose .ar-toc ol { list-style: none; padding: 0; display: grid; gap: 2px; font-size: .96rem; margin-top: 1em; }
.prose .ar-toc li { margin: 0; }
.prose .ar-toc a { display: block; padding: 8px 0; text-decoration: none; }
.prose .ar-toc a:hover { text-decoration: underline; }
.prose .ar-calculation, .prose .ar-assumptions, .prose .ar-error, .prose .ar-checklist, .prose .status-note, .prose .source-note, .prose .growth-transparency { padding: 20px 24px; border-radius: var(--r); background: var(--soft); font-size: 1rem; }
.prose .ar-calculation { background: var(--green-soft); border-left: 5px solid var(--green); }
.prose .ar-error { background: #fff3f0; border-left: 5px solid #e2452b; }
.prose .ar-assumptions { border-left: 5px solid var(--ink); }
.prose .ar-checklist { background: var(--ink); color: #fff; }
.prose .ar-checklist a { color: var(--green); }
.prose .ar-label { font: 800 .72rem/1 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--green-d); }
.prose .ar-error .ar-label, .prose .ar-error-label { color: #b3301a; }
.prose .source-note { font-size: .92rem; color: #3d403b; }
.prose .source-note h2 { font-size: 1.05rem; }
.prose .article-table-wrap, .prose .table-wrap { overflow-x: auto; }
.prose table { border-collapse: collapse; width: 100%; font-size: .94rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 800; border-bottom: 2px solid var(--ink); }
.prose button:not(.btn) { font: 700 .9rem var(--sans); min-height: 44px; padding: 0 16px; border-radius: 10px; border: 1.5px solid var(--ink); background: #fff; cursor: pointer; }

/* Калькулятор */
.prose--tool { font-size: 1rem; }
.cash-box { display: grid; gap: 18px; padding: clamp(18px, 3vw, 32px); border: 1.5px solid var(--ink); border-radius: var(--r); box-shadow: 6px 6px 0 var(--green); }
.cash-box > * { margin-top: 0 !important; }
.cash-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.cash-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr auto; gap: 10px; align-items: end; }
.cash-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.cash-box button:disabled { opacity: .45; cursor: not-allowed; }
.cash-box p { font-size: .88rem; color: var(--muted); }
#cash-error { color: #b3301a; font-weight: 700; }
#cash-error:empty, #cash-status:empty { display: none; }
#cash-result { margin-top: 28px; display: grid; gap: 20px; }
.cash-chart { display: block; width: 100%; height: auto; color: var(--ink); }
.cash-chart text { font: 23px Arial, sans-serif; fill: currentColor; }
.cash-summary { min-width: 0; padding: 20px; border: 1.5px solid var(--line); border-radius: var(--r); }
.cash-negative { color: #b3301a; font-weight: 700; }

/* О медиа */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.about figure { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 10px 10px 0 var(--green); }
.about figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; }
.about > div { display: grid; gap: 18px; justify-items: start; }
.about h2 { font: 800 clamp(1.6rem, 3.4vw, 2.7rem)/1.05 var(--disp); letter-spacing: -.04em; }
.stats { display: flex; flex-wrap: wrap; gap: 12px 40px; margin-top: 8px; }
.stats b { display: block; font: 800 2.4rem/1 var(--disp); letter-spacing: -.04em; }
.stats span { font-size: .84rem; color: var(--muted); }
.about .actions { margin-top: 8px; }

/* Подвал */
.foot { background: var(--ink); color: #fff; padding: clamp(40px, 5vw, 64px) 0 26px; }
.foot__in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot__note { color: #a4a8a0; font-size: .9rem; margin-top: 14px; max-width: 32ch; }
.foot nav { display: grid; align-content: start; font-size: .92rem; }
.foot nav p { font: 700 .7rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--green); margin-bottom: 8px; }
.foot nav a { color: #d6d9d2; min-height: 38px; display: inline-flex; align-items: center; }
.foot nav a:hover { color: var(--green); }
.foot__copy { margin-top: 36px; padding-top: 20px; border-top: 1px solid #2a2d2a; color: #8c9088; font-size: .8rem; }

@media (max-width: 1100px) {
  .top__in { flex-wrap: wrap; gap: 0 16px; }
  .top__tg { margin-left: auto; }
  .nav { order: 3; width: 100%; margin: 0 -20px; padding: 0 12px; width: calc(100% + 40px); overflow-x: auto; scrollbar-width: none; border-top: 1px solid var(--line); }
  .nav::-webkit-scrollbar { display: none; }
  .top__in { min-height: 60px; padding-top: 8px; }
  .evs { grid-template-columns: repeat(3, 1fr); }
  .eps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .lead__in, .event__cols, .episode__cols, .about { grid-template-columns: 1fr; }
  .cards, .tools { grid-template-columns: repeat(2, 1fr); }
  .evs { grid-template-columns: repeat(2, 1fr); }
  .facts { position: static; }
  .foot__in { grid-template-columns: 1fr 1fr; }
  .about figure { max-width: 420px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { width: min(100% - 32px, var(--wrap)); }
  .nav { margin: 0 -16px; width: calc(100% + 32px); padding: 0 6px; }
  .strip__in span { font-size: .74rem; }
  .strip a:last-child { display: none; }
  .cards, .tools, .eps, .eps--light, .filters { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .evs, .clips { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ev { padding: 6px 6px 14px; }
  .ev h3 { font-size: .92rem; }
  .cash-row { grid-template-columns: 1fr; }
  .cta .btn, .actions .btn { width: 100%; }
  .sh .more { font-size: .82rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

input[type=file] { padding: 11px 14px; font-size: .88rem; }
.prose--tool article { margin-top: 2.4em; }

.row--ep { grid-template-columns: 132px 1fr; gap: 14px; align-items: center; padding: 12px 0; }
.row--ep img { border-radius: 8px; aspect-ratio: 16 / 9; object-fit: cover; }
.row--ep > span { display: grid; gap: 6px; }
.row--ep .row__t { font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.eps--grid { grid-template-columns: repeat(3, 1fr); row-gap: clamp(28px, 3.4vw, 48px); }
.sec--ink .eps { row-gap: clamp(28px, 3.4vw, 44px); }
.tool--wide { padding: clamp(28px, 4vw, 56px); }
.tool--wide p:not(.kicker) { max-width: 56ch; font-size: 1.05rem; }
.episode__p { font-size: 1.12rem; line-height: 1.6; margin-bottom: 1em; }
.episode__p + h2 { margin-top: 28px; }
.tools:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1100px) { .eps--grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .eps--grid { grid-template-columns: 1fr; } .row--ep { grid-template-columns: 108px 1fr; } .tools:has(> :nth-child(2):last-child) { grid-template-columns: 1fr; } }
.tc { list-style: none; padding: 0; }

/* Меню «Видео» */
.dd { position: relative; }
.dd summary { list-style: none; cursor: pointer; padding: 0 12px; min-height: 44px; display: inline-flex; align-items: center; gap: 5px; border-radius: 8px; white-space: nowrap; transition: background .2s, color .2s; }
.dd summary::-webkit-details-marker { display: none; }
.dd summary:hover, .dd[open] summary { background: var(--soft); }
.dd summary.is-cur { color: var(--green-d); }
.dd summary .ico { transition: transform .2s var(--ease); }
.dd[open] summary .ico { transform: rotate(180deg); }
.dd__menu { position: absolute; top: calc(100% + 8px); left: 0; z-index: 60; min-width: 200px; display: grid; padding: 8px; background: #fff; border: 1.5px solid var(--ink); border-radius: 14px; box-shadow: 6px 6px 0 var(--green); }
.dd__menu a { padding: 0 14px; min-height: 46px; font-size: .95rem; }
.dd__menu a:hover { background: var(--green-soft); }
@media (max-width: 1100px) {
  .nav { overflow: visible; justify-content: space-between; }
}
@media (max-width: 600px) {
  .nav { font-size: .84rem; gap: 0; }
  .nav a, .dd summary { padding: 0 8px; }
}
.dd__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }

.ev__ph { display: grid; place-items: center; width: 100%; height: 100%; padding: 14px; background: var(--ink); color: var(--green); font: 800 .95rem/1.15 var(--disp); letter-spacing: -.03em; text-align: center; }
.ev__ph--big { aspect-ratio: 16 / 9; border-radius: var(--r); font-size: clamp(1.3rem, 3vw, 2.2rem); margin-bottom: 28px; }
.past { padding: 12px 16px; background: var(--soft); border-left: 5px solid var(--ink); border-radius: 8px; font-weight: 700; justify-self: start; }

/* Афиши мероприятий: целиком, без обрезки, на размытом фоне */
.ev__img { position: relative; isolation: isolate; background: var(--ink); }
.ev__img::before { content: ""; position: absolute; inset: -24px; z-index: -1; background: var(--bg) center / cover no-repeat; filter: blur(22px) brightness(.55) saturate(1.2); }
.ev__img img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.ev__img--big { border-radius: var(--r); margin-bottom: 28px; aspect-ratio: 16 / 9; }
