/* ============================================================
   СЕВЕР — система стилей
   Onest geometric + warm palette + colored cards
   ============================================================ */

:root {
  --bg: #ffffff;
  --paper: #f5efe0;
  --paper-2: #efe7d3;
  --ink: #1a1410;
  --ink-2: #3a2e25;
  --muted: #7a6d5f;
  --muted-2: #a39988;
  --line: #e8e2d2;

  --terra: #d4593b;
  --terra-ink: #fff5e8;
  --olive: #4d5b3a;
  --olive-ink: #f3f0d9;
  --sea: #2a5e62;
  --sea-ink: #e8eee0;
  --ochre: #d99a2e;
  --ochre-ink: #2a1f10;
  --plum: #6b2a3a;
  --plum-ink: #f5e8d6;
  --sand: #e9d9b8;
  --sand-ink: #1a1410;
  --night: #1a1410;
  --night-ink: #f5efe0;

  --r-card: 14px;
  --r-card-lg: 18px;
  --r-pill: 12px;
  --r-tile: 10px;

  --max: 1320px;
  --pad: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Onest", system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.4;
  font-size: 16px;
  letter-spacing: -0.01em;
}
img, svg { display: block; max-width: 100%; }
button, input, a { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { text-decoration: none; color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 16px 0;
  background: linear-gradient(to bottom, var(--bg) 70%, transparent);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand__mark {
  width: 52px;
  height: 52px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.04em;
}
.brand__name {
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.brand__name small {
  display: block;
  font-weight: 500;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: -0.005em;
}
.nav {
  display: inline-flex;
  background: var(--paper);
  padding: 6px;
  border-radius: var(--r-pill);
  gap: 2px;
}
.nav a {
  padding: 11px 22px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.012em;
  transition: background 180ms ease, color 180ms ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav a:hover { background: var(--bg); }
.nav a.is-active { background: var(--ink); color: var(--bg); }
.header-actions { display: inline-flex; gap: 10px; }
.pill-btn {
  height: 48px;
  padding: 0 22px;
  border-radius: var(--r-pill);
  background: var(--paper);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 180ms ease, transform 180ms ease;
}
.pill-btn:hover { background: var(--paper-2); }
.pill-btn.dark { background: var(--ink); color: var(--bg); }
.pill-btn.dark:hover { background: #2e251d; }
.pill-btn.terra { background: var(--terra); color: var(--terra-ink); }
.pill-btn.terra:hover { background: #b94527; }
.pill-btn svg { width: 18px; height: 18px; }
.pill-btn.search {
  width: clamp(200px, 22vw, 320px);
  justify-content: flex-start;
  color: var(--muted);
  font-weight: 400;
}
.pill-btn.search:hover { color: var(--ink); background: var(--paper-2); }
.icon-btn {
  width: 48px;
  height: 48px;
  border-radius: var(--r-pill);
  background: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 180ms ease;
}
.icon-btn:hover { background: var(--paper-2); }
.icon-btn svg { width: 20px; height: 20px; }
.menu-toggle { display: none; }
.nav-scrim { display: none; }

/* ============================================================
   HERO (index)
   ============================================================ */
.hero { padding: 12px 0 56px; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: 24px;
}
.hero-card {
  position: relative;
  border-radius: var(--r-card-lg);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: var(--ink);
}
.hero-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(20,12,8,0.7) 100%);
}
.hero-card__body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 48px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 28px;
  z-index: 2;
}
.hero-card__tag {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 10px;
  background: rgba(255,255,255,0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.hero-card__tag .dot { width: 8px; height: 8px; background: var(--terra); border-radius: 50%; }
.hero-card__title {
  font-size: clamp(40px, 4.8vw, 72px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin: 0;
  max-width: 16ch;
  text-wrap: balance;
}
.hero-card__sub {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  max-width: 50ch;
  letter-spacing: -0.008em;
  line-height: 1.5;
  margin: 0;
}
.hero-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  background: #fff;
  color: var(--ink);
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.012em;
  align-self: flex-start;
  transition: transform 180ms ease, background 180ms ease;
}
.hero-card__cta:hover { background: var(--ochre); transform: translateY(-2px); }
.hero-card__cta svg { width: 18px; height: 18px; }

.hero-side { display: flex; flex-direction: column; gap: 16px; }
.promo {
  border-radius: var(--r-card);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
  transition: transform 220ms cubic-bezier(.2,.7,.2,1);
  position: relative;
  overflow: hidden;
}
.promo:hover { transform: translateY(-3px); }
.promo.is-terra { background: var(--terra); color: var(--terra-ink); }
.promo.is-olive { background: var(--olive); color: var(--olive-ink); }
.promo.is-sand { background: var(--sand); color: var(--sand-ink); }
.promo.is-sea { background: var(--sea); color: var(--sea-ink); }
.promo.is-ochre { background: var(--ochre); color: var(--ochre-ink); }
.promo__cat { font-size: 12px; font-weight: 500; letter-spacing: 0.01em; opacity: 0.85; display: inline-flex; gap: 8px; align-items: center; }
.promo__cat .dotsm { width: 6px; height: 6px; background: currentColor; border-radius: 50%; opacity: 0.5; }
.promo__title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
.promo__meta {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: end;
  font-size: 13px;
  opacity: 0.85;
  letter-spacing: -0.005em;
}
.promo__arrow {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.18);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 200ms ease;
}
.promo:hover .promo__arrow { background: rgba(255,255,255,0.3); }
.promo.is-sand .promo__arrow { background: rgba(26,20,16,0.1); }
.promo.is-sand:hover .promo__arrow { background: rgba(26,20,16,0.18); }
.promo.is-ochre .promo__arrow { background: rgba(26,20,16,0.12); }
.promo.is-ochre:hover .promo__arrow { background: rgba(26,20,16,0.2); }

/* ============================================================
   CATEGORY PILLS
   ============================================================ */
.cats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 8px 0 36px;
}
.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--paper);
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.012em;
  transition: background 180ms ease;
}
.cat-pill:hover { background: var(--paper-2); }
.cat-pill.is-active { background: var(--ink); color: var(--bg); }
.cat-pill svg { width: 18px; height: 18px; }
.cat-pill .count { font-size: 12px; opacity: 0.6; margin-left: 4px; }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.sec { padding: 56px 0; }
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 28px;
}
.sec-head h2 {
  font-size: clamp(32px, 3.6vw, 52px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.038em;
  margin: 0;
  max-width: 20ch;
  text-wrap: balance;
}
.sec-head p {
  font-size: 16px;
  color: var(--muted);
  margin: 8px 0 0;
  letter-spacing: -0.005em;
  max-width: 40ch;
}
.sec-head__right { display: flex; align-items: center; gap: 10px; }
.sec-head .pill-btn { height: 44px; }

/* ============================================================
   MOSAIC
   ============================================================ */
.mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 132px;
  gap: 16px;
}
.tile {
  border-radius: var(--r-tile);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 240ms cubic-bezier(.2,.7,.2,1);
}
.tile:hover { transform: translateY(-3px); }
.tile.span-6-3 { grid-column: span 6; grid-row: span 3; }
.tile.span-3-3 { grid-column: span 3; grid-row: span 3; }
.tile.span-3-2 { grid-column: span 3; grid-row: span 2; }
.tile.span-4-3 { grid-column: span 4; grid-row: span 3; }
.tile.span-4-2 { grid-column: span 4; grid-row: span 2; }
.tile.span-8-2 { grid-column: span 8; grid-row: span 2; }
.tile.span-6-2 { grid-column: span 6; grid-row: span 2; }
.tile.span-12-2 { grid-column: span 12; grid-row: span 2; }

.tile.t-paper { background: var(--paper); color: var(--ink); }
.tile.t-terra { background: var(--terra); color: var(--terra-ink); }
.tile.t-olive { background: var(--olive); color: var(--olive-ink); }
.tile.t-sea { background: var(--sea); color: var(--sea-ink); }
.tile.t-ochre { background: var(--ochre); color: var(--ochre-ink); }
.tile.t-plum { background: var(--plum); color: var(--plum-ink); }
.tile.t-sand { background: var(--sand); color: var(--sand-ink); }
.tile.t-night { background: var(--night); color: var(--night-ink); }
.tile.t-photo { background: #ddd0b6; }
.tile.t-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile.t-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(20,12,8,0.55) 100%);
}
.tile.t-photo .tile__body { color: #fff; z-index: 2; }
.tile__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  position: relative;
  z-index: 2;
}
.tile__cat {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.005em;
  opacity: 0.8;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.tile__cat .dotsm { width: 6px; height: 6px; background: currentColor; border-radius: 50%; opacity: 0.6; }
.tile__title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
.tile.span-6-3 .tile__title, .tile.span-8-2 .tile__title { font-size: 32px; line-height: 1.04; letter-spacing: -0.032em; }
.tile.span-12-2 .tile__title { font-size: 36px; }
.tile__sub {
  font-size: 14px;
  opacity: 0.85;
  line-height: 1.45;
  margin: 0;
  letter-spacing: -0.008em;
  max-width: 44ch;
}
.tile__foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: end;
  font-size: 13px;
  opacity: 0.85;
  letter-spacing: -0.005em;
  gap: 12px;
}
.tile__foot .tile__author { display: inline-flex; gap: 10px; align-items: center; }
.tile__foot .tile__author .avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 11px;
}
.tile.t-paper .tile__foot .tile__author .avatar,
.tile.t-sand .tile__foot .tile__author .avatar,
.tile.t-ochre .tile__foot .tile__author .avatar { background: rgba(26,20,16,0.12); }
.tile__arrow {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 200ms ease;
}
.tile:hover .tile__arrow { background: rgba(255,255,255,0.32); }
.tile.t-paper .tile__arrow, .tile.t-sand .tile__arrow, .tile.t-ochre .tile__arrow { background: rgba(26,20,16,0.1); }
.tile.t-paper:hover .tile__arrow, .tile.t-sand:hover .tile__arrow, .tile.t-ochre:hover .tile__arrow { background: rgba(26,20,16,0.18); }
.tile.t-quote .tile__title { font-size: 28px; font-weight: 500; }
.tile.t-quote .qmark {
  font-size: 80px;
  line-height: 0.7;
  font-weight: 700;
  margin-bottom: -20px;
  opacity: 0.85;
}
.tile.t-stats { background: var(--paper); color: var(--ink); }
.tile.t-stats .tile__body { gap: 0; justify-content: center; }
.tile.t-stats .big {
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
}
.tile.t-stats .label { font-size: 14px; color: var(--muted); margin-top: 6px; }
.tile.t-stats .sublabel { font-size: 13px; color: var(--muted); margin-top: 16px; line-height: 1.45; }

/* ============================================================
   REGIONS — tappable region cards
   ============================================================ */
.regions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.region {
  border-radius: var(--r-tile);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 5;
  background: #ddd0b6;
  transition: transform 220ms cubic-bezier(.2,.7,.2,1);
}
.region:hover { transform: translateY(-3px); }
.region img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.region::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(20,12,8,0.7) 100%);
}
.region__body {
  position: absolute;
  left: 18px; right: 18px; bottom: 18px;
  color: #fff;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.region__name {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.05;
}
.region__meta {
  font-size: 13px;
  opacity: 0.85;
  display: flex;
  justify-content: space-between;
}
.region__pin {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(20,12,8,0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  border-radius: var(--r-pill);
  padding: 6px 10px 6px 8px;
  font-size: 12px;
  font-weight: 500;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  z-index: 3;
}

/* ============================================================
   LONG READS
   ============================================================ */
.longreads {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.lr {
  background: var(--paper);
  border-radius: var(--r-card);
  overflow: hidden;
  display: grid;
  grid-template-rows: 280px auto;
  transition: transform 220ms cubic-bezier(.2,.7,.2,1);
}
.lr:hover { transform: translateY(-3px); }
.lr__media { position: relative; overflow: hidden; }
.lr__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lr__body { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.lr__cat { font-size: 12px; color: var(--muted); font-weight: 500; }
.lr__title { font-size: 28px; font-weight: 700; line-height: 1.05; letter-spacing: -0.032em; margin: 0; text-wrap: balance; }
.lr__lead { font-size: 15px; color: var(--ink-2); line-height: 1.5; margin: 0; max-width: 52ch; }
.lr__foot { display: flex; justify-content: space-between; align-items: end; margin-top: 6px; }
.lr__author { font-size: 13px; color: var(--muted); }
.lr__author strong { color: var(--ink); font-weight: 600; }
.lr__arrow {
  width: 44px; height: 44px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 200ms ease, transform 200ms ease;
}
.lr:hover .lr__arrow { background: var(--terra); transform: rotate(-12deg); }

/* ============================================================
   CTA strip
   ============================================================ */
.cta {
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--r-card-lg);
  padding: 56px 64px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 320px; height: 320px;
  background: var(--ochre);
  border-radius: 50%;
  opacity: 0.3;
}
.cta::after {
  content: "";
  position: absolute;
  right: 100px; bottom: -120px;
  width: 220px; height: 220px;
  background: var(--terra);
  border-radius: 50%;
  opacity: 0.55;
}
.cta__title {
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.038em;
  margin: 0;
  max-width: 18ch;
  position: relative; z-index: 2;
}
.cta__sub {
  color: rgba(245,239,224,0.7);
  font-size: 16px;
  line-height: 1.5;
  margin: 14px 0 0;
  max-width: 42ch;
  position: relative; z-index: 2;
}
.cta__form {
  position: relative; z-index: 2;
  background: rgba(255,255,255,0.08);
  border-radius: var(--r-pill);
  padding: 6px;
  display: flex;
  align-items: center;
}
.cta__form input {
  flex: 1;
  background: transparent;
  border: 0; outline: none;
  padding: 14px 20px;
  color: #fff;
  font-size: 15px;
  letter-spacing: -0.012em;
}
.cta__form input::placeholder { color: rgba(245,239,224,0.45); }
.cta__form button {
  background: #fff;
  color: var(--ink);
  border-radius: var(--r-pill);
  padding: 14px 24px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.012em;
  transition: background 180ms ease;
}
.cta__form button:hover { background: var(--ochre); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  margin-top: 96px;
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
}
.foot-brand { display: flex; flex-direction: column; gap: 14px; }
.foot-brand p { font-size: 14px; color: var(--muted); max-width: 32ch; line-height: 1.55; margin: 0; }
.foot-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 14px;
  letter-spacing: -0.005em;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.foot-col a { color: var(--muted); font-size: 14px; letter-spacing: -0.005em; transition: color 180ms ease; }
.foot-col a:hover { color: var(--ink); }
.foot-legal {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
  gap: 12px;
}

/* ============================================================
   ARTICLE PAGE
   ============================================================ */
.crumbs {
  padding: 24px 0 12px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: -0.005em;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.crumbs a { transition: color 180ms ease; }
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { color: var(--muted-2); }
.crumbs span:last-child { color: var(--ink); font-weight: 500; }

.article-mast {
  padding: 24px 0 48px;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 56px;
  align-items: end;
}
.article-mast__cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  background: var(--terra);
  color: var(--terra-ink);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  margin-bottom: 28px;
}
.article-mast__cat .dotsm { width: 6px; height: 6px; background: currentColor; border-radius: 50%; opacity: 0.8; }
.article-mast h1 {
  font-size: clamp(40px, 5.4vw, 84px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin: 0 0 24px;
  text-wrap: balance;
}
.article-mast .lead {
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.4;
  color: var(--ink-2);
  max-width: 50ch;
  margin: 0;
  letter-spacing: -0.012em;
}
.article-mast__side {
  background: var(--paper);
  border-radius: var(--r-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.metarow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.metarow:last-child { border-bottom: 0; padding-bottom: 0; }
.metarow .l { display: flex; gap: 12px; align-items: center; min-width: 0; }
.metarow .avatar-lg {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.metarow .role { font-size: 12px; color: var(--muted); }
.metarow .name { font-size: 15px; font-weight: 600; letter-spacing: -0.012em; }
.metarow .val { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; text-align: right; }
.metarow .val small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; margin-top: 2px; }

.article-hero {
  border-radius: var(--r-card-lg);
  overflow: hidden;
  margin-bottom: 48px;
  position: relative;
}
.article-hero img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.article-hero figcaption {
  padding: 20px 28px;
  background: var(--paper);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: -0.005em;
  gap: 24px;
}
.article-hero figcaption strong { color: var(--ink); font-weight: 600; }

.prose {
  max-width: 720px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.68;
  color: var(--ink-2);
  letter-spacing: -0.005em;
}
.prose > p:first-of-type::first-letter {
  font-size: 76px;
  font-weight: 700;
  float: left;
  line-height: 0.85;
  margin: 8px 14px 0 0;
  color: var(--ink);
  letter-spacing: -0.05em;
}
.prose p { margin: 0 0 24px; text-wrap: pretty; }
.prose h2 {
  font-size: clamp(28px, 2.6vw, 40px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 56px 0 20px;
  color: var(--ink);
  text-wrap: balance;
}
.prose h3 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 40px 0 12px;
  color: var(--ink);
}
.prose a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--terra);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: color 180ms ease;
}
.prose a:hover { color: var(--terra); }
.prose blockquote {
  margin: 40px 0;
  padding: 32px 36px;
  background: var(--sand);
  border-radius: var(--r-card);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.022em;
  color: var(--ink);
  text-wrap: balance;
}
.prose blockquote::before {
  content: "“";
  display: block;
  font-size: 60px;
  line-height: 0.6;
  font-weight: 700;
  color: var(--terra);
  margin-bottom: 12px;
}
.prose blockquote cite {
  display: block;
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
  font-style: normal;
  font-weight: 500;
  letter-spacing: -0.005em;
}

.fig-wide, .fig-full {
  margin: 48px auto;
  border-radius: var(--r-card);
  overflow: hidden;
}
.fig-wide { max-width: 960px; }
.fig-full { max-width: var(--max); }
.fig-wide img, .fig-full img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}
.fig-wide figcaption, .fig-full figcaption {
  padding: 16px 24px;
  background: var(--paper);
  font-size: 13px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  letter-spacing: -0.005em;
}
.fig-wide figcaption strong, .fig-full figcaption strong { color: var(--ink); font-weight: 600; }

.route {
  max-width: 720px;
  margin: 56px auto;
  background: var(--olive);
  color: var(--olive-ink);
  border-radius: var(--r-card-lg);
  padding: 36px 40px;
}
.route__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
  flex-wrap: wrap;
  gap: 12px;
}
.route__head h3 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.028em;
  margin: 0;
}
.route__meta {
  font-size: 13px;
  opacity: 0.8;
  font-weight: 500;
}
.route ol {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  counter-reset: step;
}
.route ol li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: baseline;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(243,240,217,0.15);
  font-size: 16px;
  letter-spacing: -0.008em;
  line-height: 1.45;
}
.route ol li:last-child { border-bottom: 0; }
.route ol li::before {
  content: counter(step, decimal-leading-zero);
  font-weight: 600;
  font-size: 13px;
  opacity: 0.7;
}
.route ol li .dist {
  font-size: 13px;
  opacity: 0.75;
  font-weight: 500;
  white-space: nowrap;
}

.share {
  max-width: 720px;
  margin: 56px auto 64px;
  padding: 24px 32px;
  background: var(--paper);
  border-radius: var(--r-card);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.share__l { font-size: 15px; color: var(--ink); font-weight: 500; }
.share__r { display: flex; gap: 8px; }
.share__r button { background: #fff; padding: 8px 16px; border-radius: var(--r-pill); font-size: 13px; font-weight: 500; letter-spacing: -0.008em; transition: background 180ms ease; }
.share__r button:hover { background: var(--paper-2); }

.read-next { margin-top: 96px; padding-bottom: 0; }
.read-next__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.read-next .tile { aspect-ratio: 4/5; height: auto; }
.read-next .tile__body { padding: 20px; }
.read-next .tile__title { font-size: 20px; }

/* ============================================================
   REGION PAGE
   ============================================================ */
.region-mast {
  padding: 24px 0 40px;
}
.region-mast__top {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 24px;
}
.region-mast__cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  background: var(--sea);
  color: var(--sea-ink);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  margin-bottom: 20px;
}
.region-mast__cat .dotsm { width: 6px; height: 6px; background: currentColor; border-radius: 50%; opacity: 0.8; }
.region-mast h1 {
  font-size: clamp(60px, 9vw, 144px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.92;
  margin: 0;
  text-wrap: balance;
}
.region-mast .dek {
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.45;
  color: var(--ink-2);
  margin: 0;
  letter-spacing: -0.012em;
}

.region-photo {
  border-radius: var(--r-card-lg);
  overflow: hidden;
  margin-bottom: 28px;
  position: relative;
  aspect-ratio: 21/9;
}
.region-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.region-photo figcaption {
  position: absolute;
  left: 28px; bottom: 28px; right: 28px;
  background: rgba(20,12,8,0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--r-pill);
  padding: 12px 20px;
  color: #fff;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  letter-spacing: -0.005em;
}
.region-photo figcaption strong { font-weight: 600; }

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.fact {
  background: var(--paper);
  border-radius: var(--r-card);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fact .k { font-size: 13px; color: var(--muted); font-weight: 500; }
.fact .v {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.05;
  color: var(--ink);
}
.fact small { font-size: 13px; color: var(--muted); margin-top: 4px; }
.fact.is-terra { background: var(--terra); color: var(--terra-ink); }
.fact.is-terra .k, .fact.is-terra small { color: rgba(255,245,232,0.85); }
.fact.is-terra .v { color: var(--terra-ink); }

.tabs {
  position: sticky;
  top: 80px;
  z-index: 30;
  background: var(--bg);
  padding: 16px 0;
  margin-top: 32px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
  padding: 10px 18px;
  background: var(--paper);
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.012em;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.tabs button:hover { background: var(--paper-2); }
.tabs button.is-active { background: var(--ink); color: var(--bg); }
.tabs button .step { font-size: 11px; opacity: 0.6; font-weight: 500; }
.tabs button.is-active .step { opacity: 0.7; }

.r-sec { padding: 56px 0; border-bottom: 0; }
.r-sec__head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: baseline;
  margin-bottom: 32px;
}
.r-sec__head h2 {
  font-size: clamp(32px, 3.6vw, 52px);
  font-weight: 700;
  letter-spacing: -0.038em;
  line-height: 1;
  margin: 0;
  text-wrap: balance;
}
.r-sec__head .n {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.r-sec__body { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
.r-sec__body > .l { color: var(--muted); font-size: 14px; line-height: 1.55; }
.r-sec__body > .l p { margin: 0 0 12px; }
.r-sec__body > .r { max-width: 760px; }
.r-sec__body p { margin: 0 0 18px; font-size: 17px; line-height: 1.6; color: var(--ink-2); letter-spacing: -0.008em; }

.poi {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.poi li {
  background: var(--paper);
  border-radius: var(--r-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 180ms ease, transform 180ms ease;
}
.poi li:hover { background: var(--paper-2); transform: translateY(-2px); }
.poi .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.poi .n {
  background: var(--ink);
  color: var(--bg);
  width: 32px; height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.poi .nm {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.05;
  margin: 8px 0 0;
}
.poi .ds { font-size: 14px; color: var(--ink-2); line-height: 1.5; letter-spacing: -0.005em; }
.poi .meta-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

.seasons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.season {
  background: var(--paper);
  border-radius: var(--r-card);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.season h4 { font-size: 13px; color: var(--muted); font-weight: 600; margin: 0; }
.season .months {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.028em;
  margin: 4px 0 8px;
  color: var(--ink);
}
.season .note { font-size: 14px; color: var(--ink-2); line-height: 1.5; letter-spacing: -0.005em; margin: 0; }
.season.is-rec { background: var(--ochre); color: var(--ochre-ink); }
.season.is-rec h4 { color: rgba(26,31,16,0.7); }
.season.is-rec .note { color: var(--ochre-ink); opacity: 0.9; }
.season .tag {
  align-self: flex-start;
  background: rgba(26,20,16,0.1);
  border-radius: var(--r-pill);
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 4px;
}

.routes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.route-card {
  border-radius: var(--r-card);
  overflow: hidden;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 220ms cubic-bezier(.2,.7,.2,1);
}
.route-card:hover { transform: translateY(-3px); }
.route-card.is-1 { background: var(--olive); color: var(--olive-ink); }
.route-card.is-2 { background: var(--terra); color: var(--terra-ink); }
.route-card.is-3 { background: var(--plum); color: var(--plum-ink); }
.route-card .badge {
  align-self: flex-start;
  background: rgba(255,255,255,0.18);
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 500;
}
.route-card h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}
.route-card .info {
  display: flex;
  gap: 20px;
  font-size: 13px;
  opacity: 0.85;
  font-weight: 500;
}
.route-card .info span strong { display: block; font-size: 17px; font-weight: 700; margin-bottom: 2px; opacity: 1; letter-spacing: -0.012em; }
.route-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0.92;
  letter-spacing: -0.005em;
}
.route-card ul li::before { content: "·"; opacity: 0.5; margin-right: 8px; }
.route-card .more {
  margin-top: auto;
  align-self: flex-start;
  background: rgba(255,255,255,0.16);
  padding: 10px 16px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 180ms ease;
}
.route-card .more:hover { background: rgba(255,255,255,0.28); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  :root { --pad: 20px; }
  .nav a { padding: 10px 16px; font-size: 14px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero-card { aspect-ratio: 4/3; }
  .mosaic { grid-template-columns: repeat(6, 1fr); }
  .tile.span-6-3 { grid-column: span 6; }
  .tile.span-3-3, .tile.span-3-2 { grid-column: span 3; }
  .tile.span-4-3, .tile.span-4-2 { grid-column: span 6; }
  .tile.span-8-2 { grid-column: span 6; }
  .tile.span-12-2 { grid-column: span 6; }
  .regions { grid-template-columns: repeat(3, 1fr); }
  .longreads { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; padding: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-mast { grid-template-columns: 1fr; gap: 24px; }
  .region-mast__top { grid-template-columns: 1fr; gap: 24px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .seasons { grid-template-columns: repeat(2, 1fr); }
  .r-sec__head, .r-sec__body { grid-template-columns: 1fr; gap: 16px; }
  .poi { grid-template-columns: 1fr; }
  .routes-grid { grid-template-columns: 1fr; }
  .read-next__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav.is-open {
    display: flex;
    position: fixed;
    top: 78px; left: 12px; right: 12px;
    flex-direction: column;
    background: var(--paper);
    border-radius: 12px;
    padding: 12px;
    gap: 4px;
    z-index: 70;
    box-shadow: 0 24px 60px rgba(26,20,16,0.18);
  }
  .nav.is-open a { padding: 15px 18px; font-size: 16px; border-radius: 8px; }
  .nav.is-open a.is-active { background: var(--ink); color: var(--bg); }
  .nav-scrim.is-open {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(26,20,16,0.3);
    z-index: 65;
  }
  .header-actions .pill-btn span:not(.mobi) { display: none; }
  .header-actions .pill-btn { padding: 0 16px; gap: 0; }
  .header-actions .pill-btn.search { width: 48px; }
  .hero__grid { gap: 16px; }
  .hero-card__body { padding: 28px; gap: 18px; }
  .mosaic { grid-template-columns: 1fr; grid-auto-rows: 140px; }
  .tile.span-6-3, .tile.span-3-3, .tile.span-3-2, .tile.span-4-3, .tile.span-4-2, .tile.span-8-2, .tile.span-12-2, .tile.span-6-2 { grid-column: span 1; }
  .tile.span-6-3 { grid-row: span 3; }
  .regions { grid-template-columns: 1fr 1fr; }
  .cta { padding: 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .article-mast__side { padding: 22px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .read-next__grid { grid-template-columns: 1fr; }
  .prose { font-size: 17px; }
  .prose > p:first-of-type::first-letter { font-size: 56px; }
  .route { padding: 28px; }
  .share { padding: 20px; }
}

/* ============================================================
   otkroyrossiyu — адаптация под CMS (карточки-ссылки <a>)
   ============================================================ */
a.hero-card, a.region { display: block; color: inherit; }

/* Авторы (нет в исходном макете — на токенах дизайна) */
.authors-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.author-card { display:flex; gap:16px; align-items:center; background:var(--paper); border-radius:var(--r-card); padding:22px 24px; transition:background .18s ease, transform .18s ease; }
.author-card:hover { background:var(--paper-2); transform:translateY(-2px); }
.author-av { width:56px; height:56px; border-radius:50%; background:var(--ink); color:var(--bg); display:grid; place-items:center; font-weight:700; font-size:18px; flex-shrink:0; letter-spacing:-.02em; }
.author-card h3 { margin:0; font-size:19px; font-weight:600; letter-spacing:-.02em; }
.author-card .role { margin:2px 0 0; font-size:13px; color:var(--muted); }
.author-card .cnt { display:inline-block; margin-top:6px; font-size:12px; color:var(--muted-2); font-weight:500; }
.author-mast { display:flex; gap:24px; align-items:center; padding:24px 0 40px; }
.author-mast .author-av { width:88px; height:88px; font-size:30px; }
.author-mast h1 { font-size:clamp(32px,4vw,52px); font-weight:700; letter-spacing:-.04em; margin:0; line-height:1; }
.author-mast .role { margin:8px 0 0; color:var(--muted); font-size:15px; }
.author-mast .bio { margin:14px 0 0; max-width:60ch; color:var(--ink-2); font-size:16px; line-height:1.55; }
@media (max-width:1024px){ .authors-grid{ grid-template-columns:repeat(2,1fr);} }
@media (max-width:640px){ .authors-grid{ grid-template-columns:1fr;} .author-mast{ flex-direction:column; align-items:flex-start; gap:16px;} }

/* Поиск (нет в исходном макете — на токенах дизайна) */
.search-form { display:flex; gap:10px; margin:8px 0 28px; flex-wrap:wrap; }
.search-form input { flex:1; min-width:220px; height:56px; padding:0 22px; border:1px solid var(--line); background:var(--paper); border-radius:var(--r-pill); font-size:16px; outline:none; transition:border-color .18s ease; }
.search-form input:focus { border-color:var(--ink); }
.search-form button { height:56px; padding:0 26px; }
.results { display:flex; flex-direction:column; gap:12px; }
.result { display:block; background:var(--paper); border-radius:var(--r-card); padding:22px 24px; transition:background .18s ease, transform .18s ease; }
.result:hover { background:var(--paper-2); transform:translateY(-2px); }
.result .cat { font-size:12px; color:var(--muted); font-weight:500; }
.result h3 { margin:6px 0; font-size:20px; font-weight:600; letter-spacing:-.02em; line-height:1.15; }
.result .snip { font-size:14px; color:var(--ink-2); line-height:1.5; margin:0; }
.result .snip b, .result .snip mark { background:rgba(217,154,46,.35); color:inherit; padding:0 2px; border-radius:3px; font-weight:600; }
.pager { display:flex; gap:8px; align-items:center; justify-content:center; margin-top:28px; }
