/* Заботливая альфа — архив статей. Тёплая, спокойная типографика. */
:root {
  --paper: #fbf6ee;
  --paper-deep: #f4eadb;
  --paper-soft: #fffaf3;
  --ink: #2b2622;
  --ink-soft: #5d544b;
  --muted: #8a7c6e;
  --line: rgba(91, 73, 56, .14);
  --line-strong: rgba(91, 73, 56, .24);
  --accent: #b4442f;
  --accent-deep: #8d2f20;
  --accent-soft: #f2d9cf;
  --sage: #6c8570;
  --sage-soft: #dfe8dd;
  --ochre: #bd8438;
  --ochre-soft: #f2e2c8;
  --plum: #8b6478;
  --plum-soft: #eadde3;
  --sky: #66879b;
  --sky-soft: #dce8ee;
  --shadow: 0 18px 50px -28px rgba(63, 43, 27, .45);
  --shadow-soft: 0 8px 28px -18px rgba(63, 43, 27, .35);
  --radius: 22px;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(240, 214, 190, .55), transparent 60%),
    radial-gradient(800px 500px at -10% 20%, rgba(220, 232, 221, .5), transparent 60%),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--accent); color: #fff; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px;
}
.skip-link:focus { top: 12px; }
.container { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.mt-lg { margin-top: 28px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* ── шапка ─────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 238, .82);
  backdrop-filter: blur(16px) saturate(120%);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 30px -28px rgba(63, 43, 27, .5);
  background: rgba(251, 246, 238, .94);
}
.header-inner {
  display: flex; align-items: center; gap: 26px;
  min-height: 82px;
}
.brand { flex: 0 0 auto; display: flex; align-items: center; }
.brand-logo { height: 48px; width: auto; }
.main-nav {
  display: flex; align-items: center; gap: 20px;
  margin-left: auto; font-size: 15px; color: var(--ink-soft);
}
.main-nav a { position: relative; white-space: nowrap; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .2s ease;
}
.main-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 6px; margin-left: 6px; }
.icon-btn {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px; border: 0; border-radius: 50%;
  background: transparent; color: var(--ink);
}
.icon-btn:hover { background: var(--paper-deep); }
.icon-btn svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.menu-toggle { display: none; }
.menu-toggle span {
  display: block; width: 20px; height: 1.8px; background: currentColor;
  margin: 4px auto; transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.search-panel {
  border-top: 1px solid var(--line);
  padding: 16px 0 20px;
  background: rgba(251, 246, 238, .98);
}
.search-form { display: flex; gap: 10px; }
.search-form input {
  flex: 1; border: 1px solid var(--line-strong); border-radius: 999px;
  background: var(--paper-soft); padding: 13px 20px; outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.search-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(180, 68, 47, .1); }
.search-form--large { max-width: 760px; margin-top: 22px; }
.mobile-nav {
  position: fixed; inset: 82px 0 auto 0; z-index: 45;
  background: var(--paper); border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow); padding: 14px 0 22px;
}
.mobile-nav nav { display: grid; gap: 2px; }
.mobile-nav a {
  display: flex; justify-content: space-between; padding: 13px 4px;
  border-bottom: 1px solid var(--line); font-size: 18px;
}
.mobile-nav a span { color: var(--muted); font-size: 14px; }

/* ── кнопки, ссылки ────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  border: 1px solid transparent; font-size: 15px; font-weight: 600;
  white-space: nowrap;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 12px 24px -16px rgba(180, 68, 47, .8); }
.btn--primary:hover { background: var(--accent-deep); color: #fff; }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--small { min-height: 40px; padding: 0 17px; font-size: 14px; }
.text-link { color: var(--accent); font-weight: 600; white-space: nowrap; }
.text-link span { display: inline-block; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.link-btn {
  border: 0; background: transparent; padding: 0; color: var(--accent);
  font-weight: 600; text-decoration: underline; text-underline-offset: 3px;
}
.eyebrow {
  display: flex; align-items: center; gap: 9px;
  margin: 0 0 14px; font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; font-weight: 700; color: var(--accent);
}
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* ── главная: герой ────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: 74px 0 90px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 54px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 {
  margin: 0; font-family: var(--serif); font-weight: 500;
  font-size: clamp(62px, 8.6vw, 118px); line-height: .91; letter-spacing: -.045em;
}
.hero h1 em { color: var(--accent); font-style: italic; }
.hero-tagline {
  margin: 22px 0 0; font-family: var(--serif); font-size: clamp(21px, 2.2vw, 30px);
  line-height: 1.3; color: var(--ink-soft);
}
.hero-lead { max-width: 520px; margin: 24px 0 0; color: var(--ink-soft); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, auto); gap: 28px;
  margin: 44px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line);
}
.hero-stats dt { font-family: var(--serif); font-size: 27px; line-height: 1; }
.hero-stats dd { margin: 7px 0 0; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.hero-blob { position: absolute; border-radius: 45% 55% 60% 40% / 50% 45% 55% 50%; filter: blur(2px); }
.hero-blob--one {
  width: 520px; height: 500px; right: -140px; top: -120px;
  background: linear-gradient(145deg, rgba(242, 217, 207, .8), rgba(244, 234, 219, .2));
}
.hero-blob--two {
  width: 360px; height: 330px; left: -180px; bottom: -160px;
  background: linear-gradient(145deg, rgba(220, 232, 221, .7), rgba(251, 246, 238, .1));
}
.hero-collage { position: relative; min-height: 560px; z-index: 1; }
.hero-card {
  position: absolute; display: flex; flex-direction: column;
  width: 250px; background: var(--paper-soft); border-radius: 20px;
  box-shadow: var(--shadow); padding: 10px 10px 14px;
  transition: transform .35s ease, box-shadow .35s ease;
}
.hero-card:hover { transform: translateY(-7px) rotate(0deg) !important; box-shadow: 0 28px 60px -28px rgba(63, 43, 27, .55); }
.hero-card--1 { left: 4%; top: 8%; transform: rotate(-7deg); z-index: 3; }
.hero-card--2 { right: 0; top: 20%; transform: rotate(6deg); z-index: 2; width: 230px; }
.hero-card--3 { left: 20%; bottom: 2%; transform: rotate(2deg); z-index: 1; width: 218px; }
.hero-card-image {
  display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 13px;
  background: var(--paper-deep);
}
.hero-card-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-card-image--fallback { display: grid; place-items: center; }
.hero-card-caption { display: grid; gap: 5px; padding: 12px 4px 0; }
.hero-card-section { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); font-weight: 700; }
.hero-card-title { font-family: var(--serif); font-size: 17px; line-height: 1.25; }
.hero-stamp {
  position: absolute; right: 2%; bottom: 8%; width: 104px; height: 104px;
  display: grid; place-items: center; text-align: center;
  border-radius: 50%; background: var(--ink); color: var(--paper);
  font-family: var(--serif); font-size: 15px; line-height: 1.15;
  transform: rotate(10deg); box-shadow: var(--shadow);
}

/* ── секции ────────────────────────────────────────────── */
.section { padding: 76px 0; }
.section--latest { padding-top: 34px; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 28px;
  margin-bottom: 34px;
}
.section-head h2, .page-hero h1, .search-suggestions h2 {
  margin: 0; font-family: var(--serif); font-weight: 500;
  font-size: clamp(32px, 4vw, 50px); line-height: 1.06; letter-spacing: -.025em;
}
.section-note { max-width: 380px; margin: 0; color: var(--muted); font-size: 15px; }
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 22px; }
.story-grid--archive { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.story-card { min-width: 0; }
.story-cover {
  position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3;
  border-radius: 18px; background: var(--paper-deep);
  box-shadow: var(--shadow-soft);
}
.story-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.story-card:hover .story-cover img { transform: scale(1.045); }
.story-cover--fallback { display: grid; place-items: center; position: relative; isolation: isolate; }
.story-cover--fallback::before {
  content: ""; position: absolute; z-index: 0; width: 68%; aspect-ratio: 1;
  right: -18%; top: -22%; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .32);
}
.story-cover--fallback::after {
  content: ""; position: absolute; z-index: 0; width: 52%; aspect-ratio: 1;
  left: -16%; bottom: -20%; border-radius: 50%;
  background: rgba(255, 255, 255, .08);
}
.fallback-mark {
  position: relative; z-index: 1;
  font-family: var(--serif); font-size: 112px; line-height: 1;
  color: rgba(255, 255, 255, .8); font-style: italic;
}
.fallback-word {
  position: absolute; z-index: 1; right: 16px; bottom: 12px;
  font-family: var(--serif); font-style: italic; font-size: 17px;
  color: rgba(255, 255, 255, .55); letter-spacing: .04em;
}
.story-cover--terracotta, .hero-card-image--terracotta { background: linear-gradient(140deg, #c66a50, #8d2f20); }
.story-cover--sage, .hero-card-image--sage { background: linear-gradient(140deg, #8ba18d, #4f6a55); }
.story-cover--ochre, .hero-card-image--ochre { background: linear-gradient(140deg, #d6a45d, #98682a); }
.story-cover--plum, .hero-card-image--plum { background: linear-gradient(140deg, #a98295, #6f4c5e); }
.story-cover--sky, .hero-card-image--sky { background: linear-gradient(140deg, #86a5b7, #4c6c80); }
.section-chip {
  display: inline-flex; align-items: center;
  padding: 5px 10px; border-radius: 999px; font-size: 10px;
  letter-spacing: .1em; text-transform: uppercase; font-weight: 700;
  background: rgba(43, 38, 34, .78); color: #fff; backdrop-filter: blur(6px);
}
.story-cover .section-chip { position: absolute; left: 12px; top: 12px; }
.section-chip--terracotta { background: var(--accent); }
.section-chip--sage { background: var(--sage); }
.section-chip--ochre { background: var(--ochre); }
.section-chip--plum { background: var(--plum); }
.section-chip--sky { background: var(--sky); }
.story-body { padding: 15px 3px 0; }
.story-meta { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 7px; font-size: 11px; color: var(--muted); letter-spacing: .03em; }
.story-title { margin: 0; font-family: var(--serif); font-size: 23px; line-height: 1.2; font-weight: 500; letter-spacing: -.012em; }
.story-title a { background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .3s ease; }
.story-title a:hover { background-size: 100% 1px; }
.story-summary { margin: 9px 0 0; color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; }
.story-card--compact .story-title { font-size: 19px; }

/* темы */
.section--topics { background: linear-gradient(180deg, transparent, rgba(244, 234, 219, .45), transparent); }
.topic-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.topic-card {
  grid-column: span 2; position: relative; display: flex; flex-direction: column;
  min-height: 230px; padding: 24px; border-radius: var(--radius);
  overflow: hidden; transition: transform .25s ease, box-shadow .25s ease;
}
.topic-card:nth-child(4), .topic-card:nth-child(5) { grid-column: span 3; min-height: 190px; }
.topic-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.topic-card--terracotta { background: linear-gradient(145deg, #f3ddd5, #ecc7bb); }
.topic-card--sage { background: linear-gradient(145deg, #e4ecdf, #d2dfd0); }
.topic-card--ochre { background: linear-gradient(145deg, #f4e6cd, #ebd6b0); }
.topic-card--plum { background: linear-gradient(145deg, #eee0e6, #e2cfd8); }
.topic-card--sky { background: linear-gradient(145deg, #e0eaef, #cedfe7); }
.topic-card::after {
  content: ""; position: absolute; right: -42px; top: -46px;
  width: 150px; height: 150px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .55);
}
.topic-count { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-soft); }
.topic-title { margin-top: auto; font-family: var(--serif); font-size: 34px; line-height: 1.03; letter-spacing: -.02em; }
.topic-description { margin-top: 8px; max-width: 330px; font-size: 13.5px; line-height: 1.45; color: var(--ink-soft); }
.topic-arrow { position: absolute; right: 22px; bottom: 20px; font-size: 22px; transition: transform .2s ease; }
.topic-card:hover .topic-arrow { transform: translateX(5px); }
.topic-card--small { min-height: 150px; grid-column: span 2; }
.topic-grid--small { grid-template-columns: repeat(3, 1fr); }

/* цитата */
.section--quote { padding: 34px 0 90px; }
.quote-grid {
  display: grid; grid-template-columns: 80px minmax(0, 1.4fr) minmax(220px, .6fr);
  gap: 34px; align-items: start; padding: 50px 52px;
  background: var(--ink); color: var(--paper); border-radius: 30px;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.quote-grid::after {
  content: ""; position: absolute; width: 340px; height: 340px; right: -120px; bottom: -180px;
  border-radius: 50%; border: 1px solid rgba(251, 246, 238, .16);
}
.quote-mark { font-family: var(--serif); font-size: 110px; line-height: .7; color: var(--accent); }
.quote-grid blockquote {
  margin: 0; font-family: var(--serif); font-size: clamp(25px, 3vw, 38px);
  line-height: 1.22; letter-spacing: -.015em;
}
.quote-source { margin: 20px 0 0; color: rgba(251, 246, 238, .62); font-size: 13px; letter-spacing: .04em; }
.quote-aside { position: relative; z-index: 1; color: rgba(251, 246, 238, .72); font-size: 14px; }
.quote-aside .btn--ghost { border-color: rgba(251, 246, 238, .35); color: var(--paper); margin-top: 12px; }
.quote-aside .btn--ghost:hover { border-color: var(--paper); }

/* метки */
.section--tags { padding-top: 0; }
.tag-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--ink-soft);
  font-size: 13.5px; background: rgba(255, 250, 243, .55);
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.tag-pill:hover { border-color: var(--accent); color: var(--accent); background: var(--paper-soft); }
.tag-pill span { color: var(--muted); font-size: 11px; }
.tag-pill--quiet { border-color: transparent; padding: 4px 0; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }

/* CTA */
.section--cta { padding-top: 20px; }
.cta-card {
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  padding: 44px 50px; border-radius: 28px; color: var(--paper);
  background: linear-gradient(120deg, var(--accent-deep), var(--accent) 55%, #cf7b5d);
  box-shadow: var(--shadow);
}
.cta-card h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3.5vw, 42px); line-height: 1.1; }
.cta-card p { margin: 10px 0 0; color: rgba(255, 255, 255, .78); max-width: 560px; }
.cta-card .eyebrow { color: rgba(255, 255, 255, .7); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; flex: 0 0 auto; }
.cta-card .btn--primary { background: var(--paper); color: var(--accent-deep); }
.cta-card .btn--ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }

/* ── страницы-заголовки ───────────────────────────────── */
.page-hero { padding: 56px 0 46px; border-bottom: 1px solid var(--line); }
.page-hero--small { padding-bottom: 34px; }
.page-hero h1 { max-width: 930px; }
.page-lead { max-width: 760px; margin: 20px 0 0; font-size: 19px; line-height: 1.55; color: var(--ink-soft); }
.page-count { margin: 16px 0 0; font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 28px; font-size: 12px; color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }
.child-categories { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.section--archive { padding-top: 38px; }

.filter-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  padding: 14px; border: 1px solid var(--line); border-radius: 18px;
  background: rgba(255, 250, 243, .66);
}
.filter-search { flex: 1 1 260px; }
.filter-bar input, .filter-bar select {
  width: 100%; border: 1px solid var(--line); border-radius: 12px;
  background: var(--paper-soft); padding: 11px 14px; outline: none;
}
.filter-bar input:focus, .filter-bar select:focus { border-color: var(--accent); }
.select-wrap { flex: 0 1 190px; }
.filter-reset { font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.archive-meta { display: flex; gap: 14px; align-items: center; margin: 20px 0 24px; font-size: 13px; color: var(--muted); }
.tag-chip { border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }

/* ── статья ────────────────────────────────────────────── */
.reading-progress {
  position: fixed; left: 0; top: 0; height: 3px; width: 0;
  background: var(--accent); z-index: 60; transition: width .1s linear;
}
.article-header { padding: 46px 0 38px; }
.article-head-inner { max-width: 900px; }
.article-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px; }
.article-title {
  margin: 0; font-family: var(--serif); font-weight: 500;
  font-size: clamp(38px, 6vw, 68px); line-height: 1.03; letter-spacing: -.035em;
}
.article-summary { max-width: 780px; margin: 24px 0 0; font-size: 20px; line-height: 1.5; color: var(--ink-soft); }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 26px; font-size: 13px; color: var(--muted); }
.article-hero-image { margin: 0 0 8px; }
.article-hero-image img {
  width: 100%; max-height: 620px; object-fit: cover;
  border-radius: 24px; box-shadow: var(--shadow);
}
.article-layout {
  display: grid; grid-template-columns: minmax(0, 760px) 280px;
  gap: 64px; justify-content: center; padding: 42px 0 76px;
}
.article-aside { align-self: start; position: sticky; top: 106px; display: grid; gap: 16px; }
.aside-card {
  padding: 22px; border: 1px solid var(--line); border-radius: 18px;
  background: rgba(255, 250, 243, .6);
}
.aside-card .eyebrow { margin-bottom: 10px; }
.aside-card p { margin: 0 0 12px; font-size: 14px; color: var(--ink-soft); }
.aside-card .text-link { font-size: 14px; }
.aside-card--accent { background: var(--paper-deep); }
.aside-card--accent .text-link { display: block; margin: 8px 0; }
.prose { font-family: var(--serif); font-size: 19px; line-height: 1.72; color: #39332d; }
.prose p { margin: 0 0 1.15em; }
.prose h2 { margin: 1.7em 0 .55em; font-size: 1.45em; line-height: 1.2; letter-spacing: -.01em; }
.prose h3 { margin: 1.5em 0 .5em; font-size: 1.2em; }
.prose h4 { margin: 1.4em 0 .5em; font-size: 1.08em; }
.prose a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose strong { font-weight: 700; }
.prose blockquote {
  margin: 1.4em 0; padding: 4px 0 4px 24px;
  border-left: 3px solid var(--accent); color: var(--ink-soft);
  font-style: italic; font-size: 1.04em;
}
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.prose li { margin-bottom: .35em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose code { background: var(--paper-deep); padding: 2px 6px; border-radius: 5px; font-size: .85em; }
.prose pre { background: var(--ink); color: var(--paper); padding: 18px; border-radius: 14px; overflow: auto; }
.article-figure { display: block; margin: 2em 0; }
.article-figure img { width: 100%; border-radius: 16px; box-shadow: var(--shadow-soft); }
.article-caption { display: block; margin-top: 10px; font-family: var(--sans); font-size: 12.5px; color: var(--muted); }
.article-figure--bare { margin: 1.8em 0; }
.source-note {
  margin-top: 2.6em; padding: 20px 22px; border-radius: 16px;
  background: var(--paper-deep); font-family: var(--sans); font-size: 13.5px;
  color: var(--ink-soft);
}
.source-note-label { display: block; margin-bottom: 6px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.source-note p { margin: 0; }
.article-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 34px; font-family: var(--sans); }
.article-tags-label { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-right: 4px; }
.section--related { background: linear-gradient(180deg, transparent, rgba(244, 234, 219, .5)); }

/* ── поиск / пустые состояния ─────────────────────────── */
.search-suggestions { max-width: 920px; }
.empty-state { padding: 70px 20px; text-align: center; color: var(--muted); }
.empty-state h2 { margin: 6px 0 10px; font-family: var(--serif); font-size: 34px; color: var(--ink); }
.empty-mark { font-family: var(--serif); font-size: 56px; margin: 0; color: var(--accent); }
.error-page { min-height: 56vh; display: grid; place-items: center; }
.error-inner { max-width: 640px; text-align: center; }
.error-code { font-family: var(--serif); font-size: 120px; line-height: .8; color: var(--accent-soft); margin: 0; }
.error-inner h1 { margin: 18px 0 12px; font-family: var(--serif); font-size: 42px; font-weight: 500; }
.error-inner p { color: var(--ink-soft); }
.error-inner .hero-actions { justify-content: center; }
.error-path { margin-top: 28px; font-size: 12px; color: var(--muted); }

/* ── об архиве ────────────────────────────────────────── */
.page-hero--about { padding: 74px 0 60px; background: linear-gradient(180deg, rgba(244, 234, 219, .55), transparent); border: 0; }
.about-hero { display: grid; grid-template-columns: 1fr 220px; gap: 50px; align-items: center; }
.about-stamp {
  width: 190px; height: 190px; border-radius: 50%; display: grid; place-items: center;
  text-align: center; background: var(--paper-soft); border: 1px solid var(--line);
  box-shadow: var(--shadow); transform: rotate(-4deg);
}
.about-stamp-number { display: block; font-family: var(--serif); font-size: 56px; line-height: .9; color: var(--accent); }
.about-stamp-label { display: block; margin-top: 8px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .7fr); gap: 70px; }
.about-prose h2 { margin-top: 1.4em; }
.about-prose h2:first-child { margin-top: 0; }
.about-aside { display: grid; gap: 18px; align-self: start; position: sticky; top: 106px; }
.check-list { padding-left: 1.2em; }
.check-list li { margin-bottom: .7em; }
.check-list code { font-size: .82em; }
.stat-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0; }
.stat-list dt { font-family: var(--serif); font-size: 28px; }
.stat-list dd { margin: 2px 0 0; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

/* ── подвал ───────────────────────────────────────────── */
.site-footer { padding: 54px 0 26px; border-top: 1px solid var(--line); background: rgba(244, 234, 219, .35); }
.footer-grid { display: grid; grid-template-columns: 1.5fr .7fr .8fr; gap: 50px; }
.footer-logo { height: 54px; width: auto; margin-bottom: 16px; }
.footer-brand p { max-width: 380px; margin: 0; color: var(--muted); font-size: 13.5px; }
.footer-col { display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; color: var(--ink-soft); }
.footer-col h2 { margin: 0 0 8px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 11px; color: var(--muted); letter-spacing: .02em;
}

/* ── адаптив ──────────────────────────────────────────── */
@media (max-width: 1080px) {
  .main-nav { gap: 14px; font-size: 14px; }
  .hero-grid { grid-template-columns: 1fr .9fr; gap: 30px; }
  .hero-collage { min-height: 480px; transform: scale(.92); transform-origin: center right; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 250px; gap: 40px; }
  .footer-grid { grid-template-columns: 1.2fr .7fr .8fr; gap: 30px; }
}
@media (max-width: 900px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-grid; }
  .hero { padding: 48px 0 58px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-collage { min-height: 460px; max-width: 520px; width: 100%; margin: 20px auto 0; }
  .hero-copy { text-align: left; }
  .story-grid, .story-grid--archive { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .topic-card, .topic-card:nth-child(4), .topic-card:nth-child(5) { grid-column: span 1; min-height: 200px; }
  .topic-grid .topic-card:last-child { grid-column: span 2; }
  .quote-grid { grid-template-columns: 46px 1fr; padding: 36px; }
  .quote-aside { grid-column: 2; }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-aside { position: static; }
  .cta-card { flex-direction: column; align-items: flex-start; padding: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .container { width: min(var(--max), calc(100% - 32px)); }
  .header-inner { min-height: 68px; gap: 10px; }
  .brand-logo { height: 38px; }
  .mobile-nav { top: 68px; }
  .hero h1 { font-size: clamp(50px, 16vw, 78px); }
  .hero-tagline { font-size: 20px; }
  .hero-lead { font-size: 15.5px; }
  .hero-stats { gap: 16px; margin-top: 30px; }
  .hero-stats dt { font-size: 22px; }
  .hero-stats dd { font-size: 9.5px; }
  .hero-collage { min-height: 380px; transform: none; }
  .hero-card { width: 190px; }
  .hero-card--2 { width: 168px; right: -4px; }
  .hero-card--3 { width: 160px; left: 18%; }
  .hero-stamp { width: 78px; height: 78px; font-size: 12px; right: 0; bottom: 0; }
  .section { padding: 50px 0; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 14px; margin-bottom: 24px; }
  .story-grid, .story-grid--archive { grid-template-columns: 1fr; gap: 28px; }
  .story-cover { aspect-ratio: 16 / 10; }
  .story-title { font-size: 25px; }
  .topic-grid { grid-template-columns: 1fr; }
  .topic-card, .topic-grid .topic-card:last-child, .topic-card:nth-child(4), .topic-card:nth-child(5) { grid-column: span 1; min-height: 170px; }
  .topic-title { font-size: 30px; }
  .quote-grid { grid-template-columns: 1fr; padding: 30px 24px; gap: 16px; }
  .quote-mark { font-size: 70px; }
  .quote-aside { grid-column: auto; }
  .cta-card { padding: 28px 24px; border-radius: 22px; }
  .page-hero { padding: 38px 0 30px; }
  .page-hero h1 { font-size: 38px; }
  .page-lead { font-size: 16px; }
  .article-header { padding: 30px 0 24px; }
  .article-title { font-size: 36px; }
  .article-summary { font-size: 17px; }
  .article-layout { padding: 26px 0 50px; gap: 30px; }
  .article-aside { grid-template-columns: 1fr; }
  .prose { font-size: 17.5px; line-height: 1.68; }
  .article-hero-image img { border-radius: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .about-hero { grid-template-columns: 1fr; }
  .about-stamp { width: 140px; height: 140px; justify-self: start; }
  .about-stamp-number { font-size: 42px; }
  .filter-bar { padding: 10px; }
  .select-wrap { flex: 1 1 140px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero-card:hover { transform: none !important; }
}
