/* Nunito Sans: кириллица и латиница, woff2, локально */
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/nunito-sans-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/nunito-sans-400-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;
}
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/nunito-sans-600-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/nunito-sans-600-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;
}
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/nunito-sans-700-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/nunito-sans-700-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 {
  --fog: #E4E9F1;
  --fog-deep: #D3DCEA;
  --sheet: #F6F8FB;
  --white: #FFFFFF;
  --ink: #111E36;
  --ink-2: #2C3F62;
  --blue: #1E3663;
  --blue-deep: #142546;
  --warm: #C25330;
  --warm-deep: #9C3F1F;
  --warm-soft: #F1DCD1;
  --muted: #5A6B88;
  --rule: #B6C2D6;

  --wrap: 1180px;
  --gut: clamp(16px, 4vw, 48px);
  --band: clamp(36px, 5.5vw, 80px);
  --cover: clamp(160px, 21vw, 268px);
  --r: 4px;
}

/* Атрибут hidden не работает на элементе, которому задан свой display:
   правило браузера по умолчанию проигрывает по специфичности. Без этой
   страховки фильтры и кнопка меню показываются до запуска скрипта, а при
   отключённом JavaScript остаются на экране навсегда. */
[hidden] { display: none !important; }


*, *::before, *::after { box-sizing: border-box; }

html {
  scrollbar-color: var(--blue) var(--fog-deep);
  scrollbar-width: thin;
  -webkit-text-size-adjust: 100%;
}
html::-webkit-scrollbar { width: 12px; height: 12px; }
html::-webkit-scrollbar-track { background: var(--fog-deep); }
html::-webkit-scrollbar-thumb { background: var(--blue); border: 3px solid var(--fog-deep); border-radius: 99px; }
html::-webkit-scrollbar-thumb:hover { background: var(--warm); }

body {
  margin: 0;
  background: var(--fog);
  color: var(--ink);
  font-family: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
a { color: var(--blue); }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; }

:focus-visible { outline: 2px solid var(--warm); outline-offset: 2px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 50;
  background: var(--ink); color: #fff; padding: 12px 18px; text-decoration: none;
}
.skip:focus { left: 8px; top: 8px; }

.frame { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }

/* --- Шапка -------------------------------------------------------------- */

.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(228, 233, 241, .94);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(8px);
}
.top__in {
  display: flex; align-items: center; gap: 14px;
  min-height: 64px; flex-wrap: nowrap;
}
.brandmark {
  flex: 1 1 auto; min-width: 0;
  display: flex; align-items: center; gap: 10px;
  color: inherit; text-decoration: none;
}
.brandmark__glyph { flex: 0 0 auto; color: var(--warm); display: flex; }
.brandmark__words { min-width: 0; display: grid; }
.brandmark__name {
  font-weight: 700; font-size: 16.5px; letter-spacing: -.015em; line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.brandmark__note {
  font-size: 12px; color: var(--muted); line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.nav { flex: 0 0 auto; }
.nav__list { display: flex; flex-wrap: nowrap; gap: clamp(8px, 1.5vw, 20px); list-style: none; margin: 0; }
.nav__link {
  display: inline-block; white-space: nowrap; text-decoration: none;
  color: var(--ink); font-size: 15px; font-weight: 600;
  padding: 6px 2px; border-bottom: 2px solid transparent;
}
.nav__link:hover { color: var(--warm-deep); border-bottom-color: var(--warm); }

.burger {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px;
  background: transparent; border: 1px solid var(--rule); border-radius: 999px;
  color: var(--ink); font: inherit; font-size: 14px; font-weight: 600;
  padding: 9px 14px; min-height: 40px; cursor: pointer;
}
.burger__bars { width: 16px; height: 2px; background: currentColor; box-shadow: 0 5px 0 currentColor, 0 -5px 0 currentColor; }
.burger__word { white-space: nowrap; }

.top.is-compact .top__in { position: relative; }
.top.is-compact .nav {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--sheet); border-bottom: 1px solid var(--rule);
  padding: 8px var(--gut) 14px;
}
.top.is-compact .nav__list { flex-direction: column; gap: 0; }
.top.is-compact .nav__link {
  display: block; padding: 12px 0; border-bottom: 1px solid var(--rule); border-top: 0;
}

/* --- Хлебные крошки ----------------------------------------------------- */

.trail { padding-top: 16px; }
.trail__list { display: flex; flex-wrap: wrap; gap: 6px 10px; list-style: none; font-size: 12.5px; color: var(--muted); }
.trail__i + .trail__i::before { content: "→"; margin-right: 10px; color: var(--rule); }
.trail__i a { color: var(--muted); }

/* --- Общая типографика -------------------------------------------------- */

.kick {
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
}
.kick::before {
  content: ""; display: inline-block; width: 24px; height: 2px;
  background: var(--warm); vertical-align: 3px; margin-right: 10px;
}
.kick a { color: var(--muted); text-transform: none; letter-spacing: .01em; font-size: 13px; }

.display {
  font-size: clamp(29px, 5.2vw, 54px); font-weight: 700; line-height: 1.05;
  letter-spacing: -.03em; margin-top: .3em;
}
.display--sm { font-size: clamp(25px, 4vw, 40px); letter-spacing: -.025em; }

.lede { margin-top: 16px; font-size: clamp(15.5px, 1.1vw, 17.5px); line-height: 1.62; color: var(--ink-2); max-width: 38rem; }
.lede--wide { max-width: 46rem; }

.head2 { font-size: clamp(19px, 2.3vw, 27px); font-weight: 700; letter-spacing: -.025em; line-height: 1.15; }
.head2--light { color: #fff; }

.strip {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
  padding-bottom: 10px; border-bottom: 2px solid var(--ink);
  margin-bottom: clamp(10px, 1.6vw, 18px);
}

.hint { margin-top: 14px; font-size: 13.5px; line-height: 1.6; color: var(--muted); max-width: 34rem; }

.acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 22px; }

.go {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 11px 22px; border-radius: 999px;
  background: var(--warm); color: #fff; text-decoration: none;
  font-weight: 600; font-size: 15px; letter-spacing: -.01em;
  border: 1px solid var(--warm);
}
.go:hover { background: var(--warm-deep); border-color: var(--warm-deep); }
.go--big { min-height: 50px; padding: 14px 28px; font-size: 16.5px; }

.link {
  color: var(--blue); font-weight: 600; font-size: 14.5px;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
}
.link:hover { color: var(--warm-deep); }

/* --- Цифры в строку ----------------------------------------------------- */

.tally, .facts { list-style: none; display: flex; flex-wrap: wrap; margin-top: 26px; border-top: 1px solid var(--rule); }
.tally li, .facts li {
  flex: 1 1 152px; min-width: 0; padding: 13px 18px 13px 0;
}
.tally b, .facts b { display: block; font-size: clamp(16px, 1.5vw, 19px); font-weight: 700; letter-spacing: -.02em; }
.tally span, .facts span { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.tally--tight { margin-top: 20px; }
.facts li { border-left: 2px solid var(--warm-soft); padding-left: 14px; }
.facts li:first-child { border-left-color: var(--warm); }

/* --- Разворот ----------------------------------------------------------- */

.duo { display: grid; align-items: start; gap: clamp(18px, 2.6vw, 40px); }
.duo--wide { grid-template-columns: minmax(0, 1fr) minmax(0, clamp(230px, 29vw, 372px)); }

.duo__cover {
  display: block; min-width: 0; text-decoration: none; color: inherit;
}
.duo__cover > img {
  display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover;
  background: var(--fog-deep); border: 1px solid var(--rule);
}
.duo--row .duo__cover > img { transition: filter .2s ease; }
.duo--row .duo__cover:hover > img { filter: saturate(1.15) contrast(1.04); }
.duo__noimg {
  display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1;
  background: var(--fog-deep); border: 1px solid var(--rule);
  font-size: 13px; color: var(--muted);
}
.duo__cover--hero figcaption {
  display: grid; gap: 4px; margin-top: 12px;
  font-size: 13px; line-height: 1.45; color: var(--muted);
}
.duo__cover--hero figcaption a { font-size: 16px; font-weight: 700; color: var(--ink); text-decoration: none; }
.duo__cover--hero figcaption a:hover { color: var(--warm-deep); }
.duo__label { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--warm-deep); }

.overture { padding-block: clamp(26px, 4.5vw, 60px) clamp(30px, 5vw, 66px); }

/* --- Лента разворотов --------------------------------------------------- */

.stream { padding-block: clamp(24px, 3.6vw, 52px); }
.duos { border-bottom: 1px solid var(--rule); }

.duo--row {
  grid-template-columns: minmax(0, 1fr) var(--cover);
  grid-template-areas: "head cover" "rest cover";
  column-gap: clamp(14px, 2.4vw, 32px); row-gap: 12px;
  padding-block: clamp(18px, 2.4vw, 28px);
  border-top: 1px solid var(--rule);
}
.duo__head { min-width: 0; }
.duo--row .duo__head { grid-area: head; }
.duo--row .duo__cover { grid-area: cover; }
.duo--row .duo__rest { grid-area: rest; min-width: 0; }

.duo__scene { font-size: 12.5px; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.duo__scene a { color: var(--blue); text-decoration: none; border-bottom: 1px solid var(--rule); }
.duo__scene a:hover { color: var(--warm-deep); border-bottom-color: var(--warm); }
.duo__title { margin-top: 5px; font-size: clamp(19px, 2.1vw, 25px); font-weight: 700; letter-spacing: -.028em; line-height: 1.12; }
.duo__title a { color: var(--ink); text-decoration: none; }
.duo__title a:hover { color: var(--warm-deep); }
.duo__meta { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 7px; font-size: 13px; color: var(--muted); }
.duo__meta span:not(:last-child)::after { content: "·"; margin-left: 12px; color: var(--rule); }
.duo__cast {
  margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.duo__deal { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 14px; }
.tag { font-size: 15px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.tag b { font-weight: 700; font-size: 17px; }

.ribbon { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.ribbon__i {
  display: flex; flex-direction: column; min-width: 0;
  padding: 6px 10px; background: var(--sheet);
  border: 1px solid var(--rule); border-radius: var(--r);
  border-left: 2px solid var(--blue);
  font-size: 12px;
}
.ribbon__i b { font-size: 13px; font-weight: 600; white-space: nowrap; letter-spacing: -.01em; }
.ribbon__i span { color: var(--muted); white-space: nowrap; }

.stream__foot { margin-top: clamp(18px, 2.6vw, 28px); }

/* --- Как устроена афиша ------------------------------------------------- */

.shape { padding-block: var(--band); background: var(--sheet); border-block: 1px solid var(--rule); }
.shape__list {
  list-style: none; margin-top: clamp(18px, 2.6vw, 30px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: clamp(20px, 3vw, 38px);
}
.shape__i { border-top: 2px solid var(--ink); padding-top: 14px; min-width: 0; }
.shape__no { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; color: var(--warm); }
.shape__t { margin-top: 8px; font-size: 17.5px; font-weight: 700; letter-spacing: -.02em; }
.shape__x { margin-top: 8px; font-size: 14.5px; line-height: 1.62; color: var(--ink-2); }

/* --- Подбор ------------------------------------------------------------- */

.picker { background: var(--blue); color: #E6EDF9; padding-block: var(--band); }
.picker__lede { margin-top: 14px; font-size: 15.5px; line-height: 1.62; color: #C3D1E8; max-width: 40rem; }
.picker__box { margin-top: clamp(20px, 3vw, 32px); background: var(--blue-deep); border: 1px solid #2E4878; border-radius: var(--r); padding: clamp(18px, 3vw, 30px); }
.picker__note, .pick__lead { font-size: 14.5px; line-height: 1.6; color: #C3D1E8; }
.picker__note a, .pick__lead a { color: #fff; }

.pick__step { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #F0B49B; }
.pick__q { margin-top: 10px; font-size: clamp(18px, 2.2vw, 24px); font-weight: 700; letter-spacing: -.025em; color: #fff; line-height: 1.2; }
.pick__answers { margin-top: 18px; display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(228px, 1fr)); }
.pick__a {
  font: inherit; font-size: 15px; font-weight: 600; text-align: left;
  min-height: 48px; padding: 12px 16px; cursor: pointer;
  background: transparent; color: #E6EDF9;
  border: 1px solid #3B5788; border-radius: var(--r);
}
.pick__a:hover { border-color: var(--warm); color: #fff; background: rgba(194, 83, 48, .16); }
.pick__dots { list-style: none; display: flex; gap: 6px; margin-top: 18px; }
.pick__dots li { height: 3px; flex: 1 1 0; background: #2E4878; }
.pick__dots li.is-on { background: var(--warm); }

.pick__res { margin-top: 18px; display: grid; gap: 10px; }
.pres {
  display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; align-items: start;
  background: rgba(255, 255, 255, .05); border: 1px solid #2E4878; border-radius: var(--r); padding: 12px;
}
.pres__cover > img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border: 1px solid #3B5788; }
.pres__t { font-size: 16.5px; font-weight: 700; letter-spacing: -.02em; }
.pres__t a { color: #fff; text-decoration: none; }
.pres__t a:hover { color: #F0B49B; }
.pres__m { margin-top: 4px; font-size: 12.5px; color: #B2C3DE; }
.pres__p { margin-top: 6px; font-size: 14.5px; font-weight: 700; color: #fff; }
.pres .go { margin-top: 10px; min-height: 40px; padding: 9px 18px; font-size: 14px; }
.pick__again { margin-top: 16px; }
.pick__restart {
  font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer;
  background: transparent; color: #E6EDF9; border: 1px solid #3B5788; border-radius: 999px;
  min-height: 42px; padding: 10px 20px;
}
.pick__restart:hover { border-color: var(--warm); color: #fff; }

/* --- Срезы и сцены ------------------------------------------------------ */

.ways { padding-block: var(--band); }
.ways--alt { background: var(--sheet); border-block: 1px solid var(--rule); }
.ways__lede { margin-top: 12px; font-size: 14.5px; line-height: 1.6; color: var(--muted); max-width: 44rem; }

.slices { margin-top: clamp(18px, 2.6vw, 28px); display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: clamp(18px, 2.6vw, 34px); }
.slices__col { min-width: 0; }
.slices__label { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-bottom: 8px; border-bottom: 1px solid var(--rule); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; min-height: 36px;
  padding: 7px 14px; border: 1px solid var(--rule); border-radius: 999px;
  background: var(--white); color: var(--ink); text-decoration: none;
  font-size: 13.5px; font-weight: 600;
}
.chip i { font-style: normal; font-weight: 400; font-size: 12px; color: var(--muted); }
.chip:hover { border-color: var(--warm); color: var(--warm-deep); }

.scenes { list-style: none; margin-top: clamp(18px, 2.6vw, 26px); display: grid; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); gap: 12px; }
.scenes__i { min-width: 0; }
.scenes__link {
  display: grid; gap: 5px; height: 100%; padding: 16px 18px;
  background: var(--white); border: 1px solid var(--rule); border-left: 3px solid var(--blue);
  border-radius: var(--r); text-decoration: none; color: inherit;
}
.scenes__link:hover { border-left-color: var(--warm); }
.scenes__name { font-size: 15.5px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.scenes__addr { font-size: 12.5px; color: var(--muted); }
.scenes__count { font-size: 12px; font-weight: 600; color: var(--warm-deep); }

/* --- Фильтры ------------------------------------------------------------ */

.sieve { display: flex; flex-wrap: wrap; gap: 10px 26px; padding-bottom: 16px; border-bottom: 1px solid var(--rule); }
.sieve__group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.sieve__label { font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sieve__b {
  font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer;
  min-height: 38px; padding: 8px 15px;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--rule); border-radius: 999px;
}
.sieve__b:hover { border-color: var(--warm); color: var(--warm-deep); }
.sieve__b.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.nothing { padding: 26px 0; font-size: 15px; color: var(--muted); }

/* --- Календарь показов -------------------------------------------------- */

.sched { padding-block: clamp(22px, 3.4vw, 42px); background: var(--sheet); border-block: 1px solid var(--rule); }
.sched__sum {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  cursor: pointer; list-style: none; padding-bottom: 10px; border-bottom: 2px solid var(--ink);
}
.sched__sum::-webkit-details-marker { display: none; }
.sched__hint { font-size: 12.5px; color: var(--muted); }
.sched__month { margin-top: clamp(16px, 2.2vw, 22px); }
.sched__name { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 9px; }
.ribbon--big { gap: 8px; }
.ribbon--big .ribbon__i { padding: 10px 13px; background: var(--white); }
.ribbon--big .ribbon__i b { font-size: 14.5px; font-weight: 700; }
.ribbon__go {
  margin-top: 7px; font-size: 12px; font-weight: 600; color: var(--warm-deep);
  text-decoration: underline; text-underline-offset: 3px; text-transform: uppercase; letter-spacing: .08em;
}
.ribbon__go:hover { color: var(--warm); }
.sched__note { margin-top: 18px; font-size: 13px; line-height: 1.6; color: var(--muted); max-width: 44rem; }

/* --- Текст и боковина --------------------------------------------------- */

.reading__in, .essay__in, .qa__in { display: grid; align-items: start; gap: clamp(24px, 4vw, 56px); }
.reading__in { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); padding-block: var(--band); }
.essay__in { grid-template-columns: minmax(0, 1fr) minmax(0, 258px); padding-block: clamp(26px, 4vw, 48px); }
.qa__in { grid-template-columns: minmax(0, 350px) minmax(0, 1fr); padding-block: var(--band); }

.prose { max-width: 37rem; min-width: 0; font-size: 16px; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-size: clamp(19px, 2.1vw, 24px); font-weight: 700; letter-spacing: -.025em; margin-top: 1.7em; line-height: 1.2; }
.prose h3 { font-size: 17.5px; font-weight: 700; letter-spacing: -.02em; margin-top: 1.5em; }
.prose h2 + p, .prose h3 + p { margin-top: .6em; }
.prose p { line-height: 1.68; color: var(--ink-2); }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 20px; }
.prose li { line-height: 1.62; color: var(--ink-2); margin-top: .4em; }
.prose a { color: var(--warm-deep); text-decoration: underline; text-underline-offset: 3px; }

.aside { min-width: 0; background: var(--white); border: 1px solid var(--rule); border-top: 3px solid var(--blue); border-radius: var(--r); padding: 18px 20px; }
.aside__label { font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.aside__label + * { margin-top: 10px; }
.aside > * + .aside__label { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--rule); }
.aside__cast { list-style: none; display: grid; gap: 5px; font-size: 14.5px; }
.aside__cast li { padding-left: 13px; position: relative; }
.aside__cast li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 2px; background: var(--warm); }
.aside__links { list-style: none; display: grid; gap: 8px; font-size: 14.5px; font-weight: 600; }
.aside__list { display: grid; gap: 9px; font-size: 14px; }
.aside__list > div { display: grid; grid-template-columns: minmax(0, 96px) minmax(0, 1fr); gap: 4px 12px; }
.aside__list dt { color: var(--muted); font-size: 12.5px; }
.aside__note { margin-top: 14px; font-size: 12.5px; line-height: 1.55; color: var(--muted); }

/* --- Вопросы ------------------------------------------------------------ */

.qa__list { list-style: none; min-width: 0; }
.qa__i { min-width: 0; }
.ask { border-top: 1px solid var(--rule); }
.qa__i:last-child .ask { border-bottom: 1px solid var(--rule); }
.ask__q {
  display: flex; gap: 14px; align-items: baseline; cursor: pointer; list-style: none;
  padding: 16px 0; font-size: clamp(15.5px, 1.5vw, 17.5px); font-weight: 700; letter-spacing: -.015em;
}
.ask__q::-webkit-details-marker { display: none; }
.ask__no { flex: 0 0 auto; font-size: 12.5px; font-weight: 700; color: var(--warm); }
.ask[open] .ask__q { color: var(--blue); }
.ask__a { padding: 0 0 18px 30px; }
.ask__a p { font-size: 15px; line-height: 1.66; color: var(--ink-2); }

/* --- Блог --------------------------------------------------------------- */

.shelf { list-style: none; border-bottom: 1px solid var(--rule); }
.shelf__i { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 18px; border-top: 1px solid var(--rule); padding-block: clamp(16px, 2.4vw, 26px); }
.shelf__no { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--warm); padding-top: 4px; }
.shelf__body { min-width: 0; }
.shelf__t { font-size: clamp(18px, 2.1vw, 24px); font-weight: 700; letter-spacing: -.028em; line-height: 1.15; }
.shelf__t a { color: var(--ink); text-decoration: none; }
.shelf__t a:hover { color: var(--warm-deep); }
.shelf__x { margin-top: 8px; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); max-width: 42rem; }
.shelf__d { margin-top: 8px; font-size: 12.5px; color: var(--muted); }

.reads__list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: clamp(18px, 2.6vw, 32px); margin-top: clamp(14px, 2vw, 22px); }
.reads__i { min-width: 0; border-top: 1px solid var(--rule); padding-top: 14px; }
.reads__no { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; color: var(--warm); }
.reads__t { margin-top: 8px; font-size: 17px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.reads__t a { color: var(--ink); text-decoration: none; }
.reads__t a:hover { color: var(--warm-deep); }
.reads__x { margin-top: 7px; font-size: 13.5px; line-height: 1.55; color: var(--muted); }

.pagehead { padding-block: clamp(22px, 3.6vw, 52px) clamp(18px, 2.6vw, 30px); }
.essay { padding-top: clamp(22px, 3.6vw, 48px); }

/* --- Нижняя полоса покупки --------------------------------------------- */

.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 10px var(--gut); background: var(--blue); color: #fff;
  border-top: 1px solid var(--blue-deep);
}
.dock__price { font-size: 15px; font-weight: 700; }
@media (min-width: 900px) { .dock { display: none; } }
@media (max-width: 899px) { body[data-page-type="event"] { padding-bottom: 72px; } }

/* --- Подвал ------------------------------------------------------------- */

.base { background: var(--ink); color: #C7D3E6; padding-block: clamp(30px, 4.5vw, 56px); margin-top: var(--band); }
.base__in { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(22px, 3.4vw, 46px); }
.base__col { min-width: 0; }
.base__name { font-size: 16.5px; font-weight: 700; letter-spacing: -.02em; color: #fff; }
.base__text { margin-top: 10px; font-size: 13.5px; line-height: 1.6; max-width: 34rem; }
.base__stamp { margin-top: 14px; font-size: 12.5px; color: #8CA0BF; }
.base__label { font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #8CA0BF; }
.base__list { list-style: none; margin-top: 12px; display: grid; gap: 9px; font-size: 13.5px; }
.base__list a { color: #C7D3E6; text-decoration: none; border-bottom: 1px solid transparent; }
.base__list a:hover { color: #fff; border-bottom-color: var(--warm); }

/* --- Ширины ------------------------------------------------------------- */

@media (max-width: 1040px) {
  .base__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .base__col--wide { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .reading__in, .essay__in, .qa__in { grid-template-columns: minmax(0, 1fr); }
  .prose { max-width: 40rem; }
  .aside { max-width: 40rem; }
}

@media (max-width: 899px) {
  .duo--wide { grid-template-columns: minmax(0, 1fr); }
  .duo--wide .duo__cover { max-width: 330px; }
  .overture .duo--wide .duo__cover { order: -1; }
  .display { margin-top: .2em; }
}

@media (max-width: 719px) {
  .duo--row { grid-template-columns: minmax(0, 1fr) clamp(88px, 25vw, 122px); grid-template-areas: "head cover" "rest rest"; }
  .base__in { grid-template-columns: minmax(0, 1fr); }
  .tally li, .facts li { flex: 1 1 130px; }
}

@media (max-width: 460px) {
  .brandmark__note { display: none; }
  .brandmark__name { font-size: 15.5px; }
  .duo__meta span:not(:last-child)::after { margin-left: 10px; }
  .go--big { width: 100%; }
  .acts { gap: 12px; }
  .ask__a { padding-left: 0; }
  .tally li, .facts li { flex: 1 1 100%; border-bottom: 1px solid var(--rule); }
  .tally li:last-child, .facts li:last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
