@charset "UTF-8";

/* =========================================================================
   «Вечер в городе» — городской альманах
   Направление: газетная полоса. Бумажный фон, линейки вместо карточек,
   высококонтрастный серифный заголовок, буквица, врезки-цитаты.
   Осознанно против категории: у конкурентов пастель, скруглённые пилюли,
   макеты телефонов и стоковые пары. Здесь ничего этого нет.
   ========================================================================= */

@font-face {
  font-family: "Playfair Display";
  src: url("/assets/fonts/playfair-display-cyrillic.woff2") format("woff2");
  font-weight: 700 900; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Playfair Display";
  src: url("/assets/fonts/playfair-display-latin.woff2") format("woff2");
  font-weight: 700 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "PT Sans";
  src: url("/assets/fonts/pt-sans-cyrillic.woff2") format("woff2");
  font-weight: 400 700; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "PT Sans";
  src: url("/assets/fonts/pt-sans-latin.woff2") format("woff2");
  font-weight: 400 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}

:root {
  --paper: oklch(97.5% 0.008 85);
  --paper-2: oklch(94.5% 0.012 85);
  --ink: oklch(20% 0.014 60);
  --ink-2: oklch(42% 0.014 60);
  --ink-3: oklch(58% 0.012 60);
  --rule: oklch(84% 0.014 75);
  --rule-strong: oklch(20% 0.014 60);
  --accent: oklch(48% 0.16 32);
  --accent-2: oklch(38% 0.13 32);

  --serif: "Playfair Display", Georgia, serif;
  --sans: "PT Sans", -apple-system, "Segoe UI", sans-serif;

  --t-xs: 0.8125rem;
  --t-sm: 0.9375rem;
  --t-base: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --t-lg: clamp(1.1875rem, 1.08rem + 0.42vw, 1.375rem);
  --t-h3: clamp(1.25rem, 1.1rem + 0.62vw, 1.625rem);
  --t-h2: clamp(1.625rem, 1.25rem + 1.6vw, 2.75rem);
  --t-h1: clamp(2.125rem, 1.5rem + 3vw, 4.25rem);

  --pad: clamp(2.75rem, 2rem + 3.5vw, 5rem);
  --gutter: clamp(1.15rem, 0.6rem + 2.2vw, 2.5rem);
  --wrap: 68rem;
  --col: 38rem;

  --fast: 130ms;
  --ease: cubic-bezier(0.25, 0.8, 0.35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 4.5rem; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--t-base);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.08; letter-spacing: -0.005em; margin: 0 0 0.45em; text-wrap: balance; }
h1 { font-size: var(--t-h1); font-weight: 900; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); }
h4 { font-size: var(--t-lg); }

p { margin: 0 0 1.05em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }

img, svg { max-width: 100%; height: auto; display: block; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 2.5rem 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--ink); color: var(--paper); }

.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -120%; z-index: 200; background: var(--ink); color: var(--paper); padding: 0.7rem 1.2rem; font-weight: 700; text-decoration: none; transition: top 200ms var(--ease); }
.skip:focus { top: 1rem; }

/* --- Сетка --------------------------------------------------------------- */
.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - var(--gutter) * 2, var(--col)); margin-inline: auto; }

.band { padding-block: var(--pad); }
.band--sm { padding-block: calc(var(--pad) * 0.55); }
.band--panel { background: var(--paper-2); border-block: 1px solid var(--rule); }
.band + .band { border-top: 1px solid var(--rule); }

/* Заголовок раздела в стиле газетной рубрики */
.lead-in { margin-bottom: clamp(1.5rem, 1rem + 1.8vw, 2.25rem); max-width: 42rem; }
.lead-in p { color: var(--ink-2); font-size: var(--t-lg); }

.tag {
  display: block; margin-bottom: 0.9rem; padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--rule-strong);
  font-family: var(--sans); font-size: var(--t-xs); font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink);
}
.lead-in .tag { display: inline-block; }

.lede { font-size: var(--t-lg); color: var(--ink-2); }

/* --- Кнопки: прямые, без скруглений и теней ------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.5rem; border: 2px solid var(--ink);
  background: var(--ink); color: var(--paper);
  font-family: var(--sans); font-size: var(--t-sm); font-weight: 700;
  letter-spacing: 0.02em; text-decoration: none; cursor: pointer;
  transition: background-color var(--fast) linear, color var(--fast) linear;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn .i { width: 1.1em; height: 1.1em; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn--ghost:hover { border-color: var(--ink); background: transparent; color: var(--ink); }
.btn--lg { padding: 1rem 1.9rem; font-size: var(--t-base); }
.btn--full { width: 100%; }
.btns { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

.more { display: inline-flex; align-items: baseline; gap: 0.35rem; font-weight: 700; text-decoration: none; color: var(--accent); border-bottom: 1px solid currentColor; }
.more:hover { color: var(--ink); }

/* --- Мелочи -------------------------------------------------------------- */
.i { width: 1.3rem; height: 1.3rem; flex: none; }

.pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.2rem 0 0.35rem; border-bottom: 1px solid var(--rule);
  font-size: var(--t-xs); color: var(--ink-2); letter-spacing: 0.02em;
}
.pill .i { width: 0.95rem; height: 0.95rem; color: var(--accent); }
.pill--age { border-bottom-color: var(--accent); color: var(--accent); font-weight: 700; }
.pills { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; }

/* --- Шапка: как газетная марка ------------------------------------------- */
.top { position: sticky; top: 0; z-index: 60; background: var(--paper); border-bottom: 1px solid var(--rule); }
.top.stuck { border-bottom-color: var(--rule-strong); }
.top__row { display: flex; align-items: center; gap: 1.25rem; min-height: 3.75rem; }

.logo { display: inline-flex; align-items: baseline; gap: 0.5rem; text-decoration: none; color: var(--ink); flex: none; }
.logo b { font-family: var(--serif); font-weight: 900; font-size: 1.25rem; letter-spacing: -0.01em; }
.logo span { font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }

.nav { display: none; margin-left: auto; }
.nav ul { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.nav a { font-size: var(--t-sm); color: var(--ink-2); text-decoration: none; letter-spacing: 0.01em; }
.nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 0.3em; }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 700; }

.top__btn { display: none; }

.burger { margin-left: auto; width: 2.4rem; height: 2.4rem; display: grid; place-items: center; gap: 5px; background: transparent; border: 1px solid var(--rule-strong); cursor: pointer; }
.burger i { display: block; width: 15px; height: 1px; background: var(--ink); transition: transform 200ms var(--ease), opacity var(--fast) linear; }
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.drawer { position: fixed; inset: 3.75rem 0 0; z-index: 55; display: none; background: var(--paper); padding: 1.5rem var(--gutter) 3rem; overflow-y: auto; }
.drawer.open { display: block; }
.drawer ul { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.drawer li { border-bottom: 1px solid var(--rule); }
.drawer a { display: flex; justify-content: space-between; align-items: baseline; padding: 0.9rem 0; font-family: var(--serif); font-size: 1.375rem; font-weight: 700; text-decoration: none; color: var(--ink); }
.drawer a .i { width: 0.95rem; height: 0.95rem; color: var(--ink-3); }

@media (min-width: 62rem) {
  .nav { display: block; }
  .top__btn { display: inline-flex; }
  .burger { display: none; }
  .drawer { display: none !important; }
}

/* --- Первая полоса ------------------------------------------------------- */
.hero { padding-block: clamp(2rem, 1.2rem + 3vw, 3.5rem) var(--pad); }
.hero__kicker { font-size: var(--t-xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); padding-bottom: 0.9rem; border-bottom: 1px solid var(--rule); margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem); display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; }
.hero__grid { display: grid; gap: clamp(1.75rem, 1rem + 3vw, 3rem); }
@media (min-width: 60rem) { .hero__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.hero h1 { margin-bottom: 0.75rem; }
.hero__lede { font-size: var(--t-lg); color: var(--ink-2); max-width: 32rem; margin-bottom: 1.5rem; }
.hero__side { border-top: 2px solid var(--rule-strong); padding-top: 1.15rem; }
@media (min-width: 60rem) { .hero__side { border-top: 0; border-left: 1px solid var(--rule); padding-top: 0; padding-left: clamp(1.5rem, 1rem + 1.6vw, 2.25rem); } }

/* Полоса содержания вместо карточек */
.index { list-style: none; margin: 0; padding: 0; counter-reset: idx; }
.index li { border-bottom: 1px solid var(--rule); }
.index li:first-child { border-top: 1px solid var(--rule); }
.index a { display: grid; grid-template-columns: 2.25rem 1fr auto; gap: 0.85rem; align-items: baseline; padding: 0.8rem 0; text-decoration: none; color: var(--ink); }
.index a:hover { color: var(--accent); }
.index a::before { counter-increment: idx; content: counter(idx, decimal-leading-zero); font-family: var(--sans); font-size: var(--t-xs); color: var(--ink-3); letter-spacing: 0.04em; }
.index__title { font-family: var(--serif); font-weight: 700; font-size: 1.0625rem; }
.index__note { font-size: var(--t-xs); color: var(--ink-3); text-align: right; }

/* --- Цифры в разрядку ---------------------------------------------------- */
.figures { display: grid; gap: 0; border-top: 2px solid var(--rule-strong); border-bottom: 2px solid var(--rule-strong); }
@media (min-width: 44rem) { .figures { grid-template-columns: repeat(3, 1fr); } }
.figures > div { padding: clamp(1.15rem, 0.9rem + 0.9vw, 1.75rem) 0; }
@media (min-width: 44rem) { .figures > div + div { border-left: 1px solid var(--rule); padding-left: 1.5rem; } }
@media (max-width: 43.99rem) { .figures > div + div { border-top: 1px solid var(--rule); } }
.figures b { display: block; font-family: var(--serif); font-weight: 900; font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem); line-height: 1; margin-bottom: 0.35rem; }
.figures span { font-size: var(--t-sm); color: var(--ink-2); }

/* --- Материалы полосами -------------------------------------------------- */
.entries { display: grid; }
.entry { display: grid; gap: 0.35rem 1.5rem; padding-block: 1.35rem; border-bottom: 1px solid var(--rule); }
.entry:first-child { border-top: 1px solid var(--rule); }
@media (min-width: 52rem) { .entry { grid-template-columns: 12rem 1fr; } }
.entry__meta { font-size: var(--t-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); padding-top: 0.35rem; }
.entry h3 { font-size: var(--t-h3); margin-bottom: 0.3rem; }
.entry p { color: var(--ink-2); font-size: var(--t-sm); margin: 0; }
.entry a { text-decoration: none; color: inherit; }
.entry a:hover h3 { color: var(--accent); }

/* --- Места: список с линейками ------------------------------------------- */
.places { display: grid; }
.place { display: grid; gap: 0.3rem 1.25rem; padding-block: 1.35rem; border-bottom: 1px solid var(--rule); }
.place:first-child { border-top: 2px solid var(--rule-strong); }
@media (min-width: 48rem) { .place { grid-template-columns: 1.75rem 1fr 11rem; } }
.place .i { width: 1.35rem; height: 1.35rem; color: var(--accent); margin-top: 0.3rem; }
.place h3 { font-size: 1.125rem; margin-bottom: 0.2rem; }
.place p { font-size: var(--t-sm); color: var(--ink-2); margin: 0; }
.place__meta { font-size: var(--t-xs); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); padding-top: 0.3rem; }
@media (min-width: 48rem) { .place__meta { text-align: right; } }

/* --- Колонки со списками ------------------------------------------------- */
.cols { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
@media (min-width: 48rem) { .cols--2 { grid-template-columns: repeat(2, 1fr); } .cols--3 { grid-template-columns: repeat(3, 1fr); } }
.col-head { font-family: var(--sans); font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding-bottom: 0.4rem; border-bottom: 2px solid var(--rule-strong); margin-bottom: 0.9rem; }

.marks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.marks li { display: grid; grid-template-columns: 1.15rem 1fr; gap: 0.6rem; align-items: start; font-size: var(--t-sm); color: var(--ink-2); }
.marks .i { width: 1.15rem; height: 1.15rem; color: var(--accent); margin-top: 0.15rem; }

/* --- Врезка-цитата ------------------------------------------------------- */
.aside {
  margin-block: 2em; padding: 1.25rem 0;
  border-top: 2px solid var(--rule-strong); border-bottom: 1px solid var(--rule);
  display: grid; grid-template-columns: 1.4rem 1fr; gap: 0.9rem;
}
.aside .i { width: 1.4rem; height: 1.4rem; color: var(--accent); margin-top: 0.2rem; }
.aside p { font-size: var(--t-sm); color: var(--ink-2); }
.aside strong { color: var(--ink); }
.aside--alert { border-top-color: var(--accent); }

/* --- Таблицы: газетные, без рамок ---------------------------------------- */
.tablebox { overflow-x: auto; margin-block: 2em; border-top: 2px solid var(--rule-strong); }
table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); }
th, td { padding: 0.8rem 1rem 0.8rem 0; text-align: left; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-family: var(--sans); font-weight: 700; font-size: var(--t-xs); letter-spacing: 0.08em; text-transform: uppercase; }
td { color: var(--ink-2); }

/* --- Текст полосы -------------------------------------------------------- */
.prose { max-width: var(--col); }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { margin-top: 1.9em; margin-bottom: 0.45em; }
.prose h3 { margin-top: 1.5em; margin-bottom: 0.35em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.25rem; margin-block: 1.05em; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--accent); }
.prose blockquote {
  margin: 1.8em 0; padding: 0.2em 0 0.2em 1.25rem; border-left: 3px solid var(--accent);
  font-family: var(--serif); font-size: var(--t-lg); font-weight: 700; line-height: 1.3; color: var(--ink);
}
/* Буквица в первом абзаце полосы */
.prose--drop > p:first-of-type::first-letter {
  float: left; font-family: var(--serif); font-weight: 900;
  font-size: 3.6em; line-height: 0.82; padding: 0.06em 0.1em 0 0; color: var(--accent);
}

/* --- Вопросы ------------------------------------------------------------- */
.qa { border-top: 2px solid var(--rule-strong); }
.qa__item { border-bottom: 1px solid var(--rule); }
.qa__item summary { display: flex; align-items: baseline; justify-content: space-between; gap: 1.25rem; padding: 1rem 0; cursor: pointer; list-style: none; font-family: var(--serif); font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
.qa__item summary::-webkit-details-marker { display: none; }
.qa__item summary:hover { color: var(--accent); }
.qa__item summary .i { width: 1rem; height: 1rem; color: var(--accent); flex: none; transition: transform 200ms var(--ease); }
.qa__item[open] summary .i { transform: rotate(180deg); }
.qa__body { padding-bottom: 1.25rem; font-size: var(--t-sm); color: var(--ink-2); max-width: 48rem; }

/* --- Крошки -------------------------------------------------------------- */
.crumbs { padding-top: 1.25rem; font-size: var(--t-xs); letter-spacing: 0.06em; text-transform: uppercase; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }
.crumbs li::after { content: "·"; margin-left: 0.4rem; color: var(--ink-3); }
.crumbs li:last-child::after { content: none; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs span { color: var(--ink-3); }

/* --- Шапка полосы -------------------------------------------------------- */
.phead { padding-block: clamp(1.25rem, 1rem + 1.5vw, 2rem) clamp(1.5rem, 1rem + 2vw, 2.5rem); border-bottom: 2px solid var(--rule-strong); }
.phead h1 { margin-bottom: 0.6rem; }
.phead .lede { max-width: 40rem; }
.phead .pills { margin-top: 1.1rem; }

/* --- Оффер: как рекламный модуль в газете -------------------------------- */
.offer { border-top: 3px double var(--rule-strong); border-bottom: 3px double var(--rule-strong); padding: clamp(1.5rem, 1.1rem + 2vw, 2.5rem) 0; }
.offer h2 { max-width: 20ch; }
.offer p { color: var(--ink-2); max-width: 44ch; margin-bottom: 1.35rem; }
.offer__note { font-size: var(--t-xs); color: var(--ink-3); margin-top: 0.85rem; }

.offer-line { display: grid; gap: 1rem; align-items: baseline; margin-block: 2em; padding: 1.15rem 0; border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule-strong); }
@media (min-width: 44rem) { .offer-line { grid-template-columns: 1fr auto; } }
.offer-line h3 { margin-bottom: 0.15rem; font-size: 1.125rem; }
.offer-line p { font-size: var(--t-sm); color: var(--ink-2); margin: 0; }

/* --- Записки ------------------------------------------------------------- */
.notes { display: grid; }
.note-card { display: grid; gap: 0.3rem 1.5rem; padding-block: 1.5rem; border-bottom: 1px solid var(--rule); text-decoration: none; color: inherit; }
.note-card:first-child { border-top: 2px solid var(--rule-strong); }
@media (min-width: 52rem) { .note-card { grid-template-columns: 12rem 1fr; } }
.note-card__meta { font-size: var(--t-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 0.5rem; padding-top: 0.3rem; }
.note-card h2, .note-card h3 { font-size: var(--t-h3); margin-bottom: 0.3rem; }
.note-card p { font-size: var(--t-sm); color: var(--ink-2); margin: 0; }
.note-card:hover h2, .note-card:hover h3 { color: var(--accent); }

.pmeta { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; font-size: var(--t-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.pmeta i { width: 3px; height: 3px; background: currentColor; display: block; }

.pager { display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; margin-top: 2.5rem; }
.pager a, .pager span { min-width: 2.3rem; height: 2.3rem; padding-inline: 0.7rem; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--rule); font-size: var(--t-sm); text-decoration: none; color: var(--ink-2); }
.pager a:hover { border-color: var(--ink); color: var(--ink); }
.pager [aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--paper); font-weight: 700; }

/* --- Иллюстрации во всю ширину полосы ------------------------------------ */
.plate { margin-block: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.plate img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; filter: grayscale(0.35) contrast(1.05); }
.plate figcaption { font-size: var(--t-xs); color: var(--ink-3); padding-top: 0.5rem; border-top: 1px solid var(--rule); margin-top: 0.5rem; }

/* --- Возрастной шлюз ----------------------------------------------------- */
.gate { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: var(--gutter); background: oklch(20% 0.014 60 / 0.72); }
.gate.open { display: grid; }
.gate__box { width: min(100%, 27rem); background: var(--paper); border: 2px solid var(--ink); padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); }
.gate__mark { width: 2.75rem; height: 2.75rem; margin-bottom: 1rem; display: grid; place-items: center; border: 2px solid var(--accent); color: var(--accent); }
.gate__mark .i { width: 1.4rem; height: 1.4rem; }
.gate h2 { font-size: var(--t-h3); }
.gate p { font-size: var(--t-sm); color: var(--ink-2); }
.gate__btns { display: grid; gap: 0.6rem; margin-top: 1.5rem; }
.gate__legal { font-size: var(--t-xs); color: var(--ink-3); margin-top: 1rem; }

/* --- Подвал: выходные данные --------------------------------------------- */
.foot { border-top: 3px double var(--rule-strong); padding-block: clamp(2.25rem, 1.8rem + 2.4vw, 3.5rem) 1.5rem; }
.foot__grid { display: grid; gap: 2rem; }
@media (min-width: 48rem) { .foot__grid { grid-template-columns: 1.6fr repeat(3, 1fr); } }
.foot__about p { font-size: var(--t-sm); color: var(--ink-2); margin-top: 0.9rem; max-width: 34ch; }
.foot h3 { font-family: var(--sans); font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding-bottom: 0.4rem; border-bottom: 1px solid var(--rule); margin-bottom: 0.9rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.foot a { font-size: var(--t-sm); color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--accent); text-decoration: underline; }
.foot__bottom { margin-top: 2.25rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; font-size: var(--t-xs); color: var(--ink-3); }
.foot__disc { max-width: 68ch; line-height: 1.55; }

/* --- Появление ----------------------------------------------------------- */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .in { opacity: 0; transition: opacity 450ms var(--ease); animation: in-safety 0.01s linear 2.5s forwards; }
  .in.shown { opacity: 1; animation: none; }
}
@keyframes in-safety { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* --- Утилиты ------------------------------------------------------------- */
.muted, p.muted { color: var(--ink-2); }
.dim, p.dim { color: var(--ink-3); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
