:root {
  color-scheme: light;
  /* Палитра оригинала (тема Lucid «Spirit Blog», настройки темы в инлайн-CSS, снимок 2023–2024):
     полоса меню и подвал #0a0a0a, белый фон, серый #757575, светлый #f5f5f5; голубой — акварель гор в логотипе (~#b4d4d8) */
  --accent: #0a0a0a;        /* кнопки, полоса меню, номера */
  --accent-dark: #333;
  --brand: #b4d4d8;         /* голубой из логотипа: полосы, номера (чёрный текст на нём 13:1) */
  --link: #2a6470;          /* ссылки в тексте: голубой логотипа, затемнённый до 6.3:1 */
  --tint: #eff6f7;          /* светлая подложка в цвет акварели */
  --tint-line: #d4e6e9;
  --soft: #f5f5f5;          /* #f5f5f5 оригинала */
  --bg: #fff;
  --card: #fff;
  --text: #0a0a0a;
  --body: #2b2b2b;
  --muted: #666;            /* #757575 оригинала, затемнён для 4.5:1 на подложке */
  --line: #e8e8e8;
  --head: 'Josefin Sans', 'Century Gothic', sans-serif;
  --ui: 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --read: 'Open Sans', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--body); font: 16px/1.65 var(--ui); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3 { font-family: var(--head); line-height: 1.2; margin: 0 0 .5em; color: var(--text); font-weight: 600; }
h1 { font-size: clamp(32px, 5vw, 46px); }
h2 { font-size: clamp(24px, 3.2vw, 30px); }
h3 { font-size: 20px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
section { margin: 64px 0; }

/* header: чёрная полоса меню + логотип по центру, как в оригинале */
.top { background: #fff; }
.navbar { background: var(--accent); position: sticky; top: 0; z-index: 10; }
.bar { display: flex; align-items: center; min-height: 52px; }
.menu { display: flex; gap: 4px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.menu a { font: 700 13px/1 var(--ui); letter-spacing: .08em; text-transform: uppercase; color: #fff; text-decoration: none; padding: 19px 14px 17px; border-bottom: 3px solid transparent; }
.menu a:hover, .menu a[aria-current] { color: #fff; border-bottom-color: var(--brand); }
.brand { display: flex; justify-content: center; padding: 22px 20px 18px; border-bottom: 1px solid var(--line); max-width: none; }
.logo img { width: min(360px, 78vw); height: auto; }
.burger { display: none; background: none; color: #fff; border: 0; font: 700 14px/1 var(--ui); letter-spacing: .08em; text-transform: uppercase; min-height: 48px; padding: 0 4px; cursor: pointer; }
@media (max-width: 960px) {
  .top { position: relative; }
  .navbar .bar { justify-content: flex-start; }
  .burger { display: block; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 52px; background: var(--accent); flex-direction: column; padding: 4px 20px 14px; margin: 0; }
  .menu.open { display: flex; }
  .menu a { padding: 15px 4px; border-bottom: 1px solid #232323; }
}

/* buttons, labels */
.btn { display: inline-flex; align-items: center; min-height: 46px; padding: 0 24px; border-radius: 999px; background: var(--accent); color: #fff; font: 700 13px/1 var(--ui); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border: 2px solid var(--accent); }
.btn:hover { background: #fff; color: var(--accent); }
.btn.ghost { background: #fff; color: var(--accent); border-color: var(--accent); }
.btn.ghost:hover { background: var(--accent); color: #fff; }
.eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin: 0 0 12px; }
.kicker { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin: 0 0 6px; }
.chip { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; background: var(--tint); color: var(--text); border: 1px solid var(--tint-line); text-decoration: none; }
.chip:hover { border-color: var(--accent); color: var(--text); }
.t { font-family: var(--head); font-weight: 600; font-size: 20px; line-height: 1.25; margin: 0 0 6px; }
.t a { color: var(--text); text-decoration: none; }
.t a:hover { color: var(--link); }
.desc { color: var(--muted); margin: 0; font-size: 15px; }
.lead { font-size: 18px; color: var(--muted); }

/* section heading */
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; border-bottom: 3px solid var(--line); margin-bottom: 24px; }
.head h2 { margin: 0; padding-bottom: 10px; position: relative; }
.head h2::after { content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px; background: var(--brand); }
.head a { padding: 10px 0; font-weight: 700; text-decoration: none; white-space: nowrap; color: var(--text); }
.head a:hover { color: var(--link); }

/* hero */
.hero { background: var(--tint); border-bottom: 1px solid var(--tint-line); padding: 56px 0; margin: 0; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5.4vw, 56px); }
.hero .lead { max-width: 32em; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero-card { background: #fff; border: 1px solid var(--tint-line); border-radius: 14px; overflow: hidden; box-shadow: 0 12px 34px rgba(42, 100, 112, .12); }
.hero-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.hero-txt { padding: 22px 24px 26px; }
.hero-txt .t { font-size: 24px; margin-top: 12px; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding: 36px 0; } }

/* cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px; transition: border-color .2s, box-shadow .2s; }
.card:hover, .lead-card:hover { border-color: var(--tint-line); box-shadow: 0 8px 24px rgba(42, 100, 112, .1); }
.feat { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; }
.lead-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.lead-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.lead-txt { padding: 22px 24px 26px; }
.lead-card .t { font-size: 26px; }
.rows { display: grid; gap: 14px; align-content: start; }
.row { border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.row.has-img { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; }
.thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
@media (max-width: 860px) { .feat { grid-template-columns: 1fr; } }

/* numbered */
.pop { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pop .card { position: relative; padding-top: 60px; }
.num { position: absolute; top: 16px; left: 20px; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: var(--text); font: 700 15px/32px var(--head); text-align: center; }
@media (max-width: 860px) { .pop { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; } .pop .card { scroll-snap-align: start; } }

/* topics block */
.topics { background: var(--tint); border: 1px solid var(--tint-line); border-radius: 14px; padding: 32px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 24px; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 999px; background: #fff; border: 1px solid var(--tint-line); color: var(--text); text-decoration: none; font-weight: 600; }
.pill small { color: var(--link); font-weight: 700; font-size: 13px; }
.pill:hover { border-color: var(--accent); color: var(--text); }
@media (max-width: 600px) { .topics, .about { padding: 22px; } }

/* lists */
.list { list-style: none; margin: 0; padding: 0; }
.list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.list li.has-img { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; }
.list .meta { font-size: 13px; color: var(--muted); margin: 0 0 4px; }
@media (max-width: 520px) { .list li.has-img { grid-template-columns: 84px 1fr; gap: 14px; } }

/* about block */
.about { background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 32px; display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: center; }
.about-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; }
.facts { display: flex; gap: 32px; flex-wrap: wrap; margin: 20px 0; }
.facts b { display: block; font: 700 36px/1.1 var(--head); color: var(--text); }
@media (max-width: 700px) { .about { grid-template-columns: 1fr; } .about-img { max-width: 220px; } }

/* article */
.page { max-width: 760px; margin: 40px auto 64px; padding: 0 20px; }
.page.wide { max-width: 900px; }
.page .body { font: 17px/1.75 var(--read); color: var(--body); }
.page .body p { margin: 0 0 1.1em; }
.page .body h2 { font-size: 27px; margin-top: 1.6em; }
.page .body h3 { font-size: 21px; margin-top: 1.4em; }
.page .body img { border-radius: 10px; margin: 1.4em auto; }
.page .body blockquote { margin: 1.4em 0; padding: 4px 20px; border-left: 4px solid var(--brand); background: var(--tint); }
.page .block { margin: 40px 0; }
.page .more { margin: 40px 0 0; }
.page .more h2 { font-size: 24px; }
.about-photo { width: 100%; max-width: 360px; border-radius: 12px; margin: 8px 0 28px; }
.crumbs { font-size: 14px; margin-bottom: 16px; }
.crumbs a { text-decoration: none; display: inline-block; padding: 6px 0; }
.meta-line { color: var(--muted); font-size: 14px; margin: -4px 0 28px; display: flex; gap: 8px 12px; flex-wrap: wrap; align-items: center; }
.nav2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.nav2 a { display: block; padding: 14px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--text); font-family: var(--head); font-size: 17px; }
.nav2 a:hover { border-color: var(--brand); }
.nav2 small { display: block; color: var(--muted); font-family: var(--ui); font-size: 13px; }
@media (max-width: 600px) { .nav2 { grid-template-columns: 1fr; } }

/* footer: чёрный, как в оригинале */
.foot { background: var(--accent); color: #d6d6d6; border-top: 4px solid var(--brand); padding: 44px 0 24px; margin-top: 64px; }
.foot .muted { color: #bdbdbd; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.foot-logo { width: 220px; background: #fff; border-radius: 10px; padding: 8px 14px; margin-bottom: 14px; }
.foot-h { font: 700 13px/1 var(--ui); letter-spacing: .1em; text-transform: uppercase; color: #fff; margin: 0 0 8px; }
.links { display: flex; flex-direction: column; margin: 0; }
.links a { display: inline-block; padding: 7px 0; color: #d6d6d6; text-decoration: none; }
.links a:hover { color: #fff; text-decoration: underline; }
.copy { color: #bdbdbd; border-top: 1px solid #232323; padding-top: 18px; margin-top: 24px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }
