/* Антиква для текста и подписей. Лежит локально: до этого в CSS стоял
   «Cormorant Garamond», которого в файлах не было, и браузер подставлял
   Georgia (на Android — другой шрифт). Из-за этого «%» и «²» рисовались
   чужими глифами, а строки прыгали по высоте.
   Cormorant светлый и с низким x-height: 400 для мелкого текста выглядел
   «тонким», поэтому в наборе есть 500 и 600 — ими набраны меню, метки,
   подписи и кнопки. */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/matica/fonts/cormorant-garamond-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/matica/fonts/cormorant-garamond-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/matica/fonts/cormorant-garamond-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/matica/fonts/cormorant-garamond-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/matica/fonts/cormorant-garamond-latin-ext-500.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/matica/fonts/cormorant-garamond-cyrillic-500.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/matica/fonts/cormorant-garamond-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/matica/fonts/cormorant-garamond-latin-ext-600.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/matica/fonts/cormorant-garamond-cyrillic-600.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Balkara Condensed";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/matica/fonts/balkara-condensed.woff2") format("woff2");
}

/* МАТИЦА — три альтернативные главные. Общий файл, без функционала:
   только вёрстка, чтобы сравнить подачу. Палитра бренда, шрифт Ruslan Display. */

@font-face {
  font-family: "Ruslan Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/matica/fonts/ruslan-display-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Ruslan Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/matica/fonts/ruslan-display-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #1f3a2c;
  --paper: #f4eadb;
  --gold: #d4b06a;
  --terra: #a9472b;
  --muted: #5f6e62;
  --serif: "Cormorant Garamond", "Georgia", "Times New Roman", serif;
  --display: "Balkara Condensed", "Ruslan Display", "Georgia", serif;
  /* Шрифт подписей поверх снимков. Значение задаёт админка (--note),
     здесь — запасной вариант до первого сохранения. */
  --note: var(--serif);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
img { display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }

/* Переключатель вариантов — маленькая плашка на каждой странице. */
.switch {
  position: fixed; left: 16px; bottom: 16px; z-index: 90;
  font: 12px/1 -apple-system, "Segoe UI", Roboto, sans-serif;
  letter-spacing: 0.06em;
  background: rgba(31, 58, 44, 0.92); color: #f4eadb;
  padding: 10px 14px; border-radius: 999px; text-decoration: none;
}
.switch b { color: var(--gold); }

/* ============ A. Крупный план (по мотивам fabricsorganic) ============
   Фото во весь экран, текст — тонкой строкой поверх. Никаких карточек. */

.a-body { background: var(--panel, #efe6d7); font-family: var(--serif); }

/* Шапка поверх макета. Цвет надписи и меню подстраивается под то, что под
   ними: белый на снимке, хвойный на бумаге (скрипт в a.html). Прозрачность
   не используется — она и делала текст «еле заметным». */
.a-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: clamp(16px, 2vw, 26px) clamp(20px, 3.2vw, 52px);
  pointer-events: none;
}
.a-nav a { text-decoration: none; pointer-events: auto; }
/* Шапка фиксированная, а страница под ней едет: без подложки «МАТИЦА»
   наезжала на заголовки секций. После прокрутки шапка получает бумажный фон
   и тонкий шов снизу — текст всегда читается. */
.a-nav {
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.a-nav.is-stuck {
  background: var(--panel);
  box-shadow:
    inset 0 -1px 0 var(--seam-line),
    0 10px 24px rgba(23, 34, 26, 0.10);
}
/* .a-body в селекторе — чтобы перебить `.a-nav nav[data-tone="dark"] a`:
   при равной специфичности побеждало правило ниже по файлу, и меню на
   бумажной подложке оставалось белым. */
.a-body .a-nav.is-stuck .a-brand,
.a-body .a-nav.is-stuck nav a { color: var(--ink); text-shadow: none; }

/* Надпись бренда: Balkara, кегль тянется за экраном (ПК крупнее, телефон меньше). */
.a-brand {
  /* Шрифт и кегль — из админки («Шрифты и размеры»): --f-brand / --s-brand. */
  font-family: var(--f-brand, var(--display));
  font-size: var(--s-brand, 38px);
  line-height: 1; letter-spacing: 0.05em;
  display: inline-flex; align-items: baseline;
  transition: color 0.22s ease, text-shadow 0.22s ease;
}
/* Ударение: тонкий короткий штрих, отступает от буквы, масштабируется с кеглем. */
.a-brand .accent { position: relative; }
.a-brand .accent::after {
  content: ""; position: absolute; left: 50%; top: -0.25em;
  width: 0.085em; height: 0.19em; background: currentColor;
  transform: translateX(-32%) skewX(-18deg); border-radius: 0.5px;
}

.a-nav nav {
  display: flex; gap: clamp(18px, 2.2vw, 34px); flex-wrap: wrap;
  /* Cormorant узкий и светлый: 13 px читались как подпись под картинкой,
     поэтому кегль крупнее, а начертание — 600 из локального набора. */
  font-family: var(--f-nav, var(--serif)); font-size: var(--s-nav, 15px);
  letter-spacing: 0.13em;
  text-transform: uppercase; font-weight: 600;
}
.a-nav nav a { transition: color 0.22s ease, text-shadow 0.22s ease; }

/* Тон под шапкой: dark — снимок или хвойный блок, light — кремовая бумага. */
.a-brand[data-tone="dark"],
.a-nav nav[data-tone="dark"] a {
  color: #fdfaf3;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6), 0 0 14px rgba(0, 0, 0, 0.45);
}
.a-brand[data-tone="light"],
.a-nav nav[data-tone="light"] a {
  color: var(--ink);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}
.a-nav nav a:hover { color: var(--terra); text-shadow: none; }

/* Hero варианта A: крупный план слева, «бумажная» панель справа.
   Тень от снимка лежит на бумаге — внутрь панели, а не на фотографии. */
.a-hero {
  display: grid; grid-template-columns: 1.32fr 1fr; gap: 0;
  background: var(--panel, #efe6d7); height: 100vh; min-height: 640px;
  position: relative; isolation: isolate;
}
.a-hero figure { margin: 0; position: relative; overflow: hidden; background: #16281f; }
.a-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }

.a-hero-text {
  position: relative; z-index: 2; align-self: stretch;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(40px, 4.4vw, 76px) clamp(28px, 4vw, 64px);
  padding-top: clamp(96px, 9vw, 132px);
  background-color: var(--panel, #efe6d7); color: var(--ink);
  /* Нижняя кромка панели тоже граничит со снимком (полоса ткани ниже).
     Стопы только в px: проценты считались бы от высоты всей панели. */
  background-image: linear-gradient(
    to top,
    rgba(23, 34, 26, 0.62) 0,
    rgba(23, 34, 26, 0.26) 3px,
    rgba(23, 34, 26, 0) var(--seam)
  );
  background-repeat: no-repeat;
  box-shadow: inset 0 -1px 0 var(--seam-line);
}
.a-hero h1 {
  font-family: var(--f-hero-title, var(--display)); font-weight: 400;
  /* Нижний отступ считается от последней строки, а не от бокса: при
     line-height 0.94 бокс был короче текста, и от 16 px оставалось 5 px
     (владелец поймал на переносе «Основа дома» в две строки). Сам
     line-height 1.2 — чтобы строки заголовка не перекрывались глифами. */
  margin: 0 0 clamp(16px, 1.6vw, 24px);
  font-size: var(--s-hero-title, 104px); line-height: 1.2; letter-spacing: 0.01em;
}
.a-hero p { max-width: 40ch; font-size: var(--s-hero-lead, 21px);
  line-height: 1.6; margin: 0; color: #3d4a3f; }
.a-hero-meta {
  display: flex; flex-wrap: wrap; gap: 26px; margin-top: 26px;
  font-family: var(--f-hero-meta, var(--serif)); font-size: var(--s-hero-meta, 14px);
  letter-spacing: 0.16em;
  font-weight: 600; text-transform: uppercase; color: var(--muted);
}

/* ===== Стык «макет ↔ снимок» =====
   Тень живёт ТОЛЬКО на макете: кромка 1 px по границе и короткий градиент
   вглубь бумаги (--seam). Верх и низ — одинаковые. На фото эффектов нет. */
.a-body { --seam: 9px; --seam-line: rgba(23, 34, 26, 0.85); }
.a-hero-text, .a-text, .a-cta { position: relative; }

/* Hero: снимок слева, тень уходит вправо по бумаге. */
.a-hero-text::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px;
  background: var(--seam-line); pointer-events: none;
}
.a-hero-text::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--seam);
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(23, 34, 26, 0.62) 0%,
    rgba(23, 34, 26, 0.26) 3px,
    rgba(23, 34, 26, 0) 100%
  );
}

/* Бумажные секции: тень по верхней и нижней кромке, во всю ширину окна. */
.a-text::before, .a-text::after {
  content: ""; position: absolute; left: calc(50% - 50vw); right: calc(50% - 50vw);
  height: var(--seam); pointer-events: none;
}
.a-text::before {
  top: 0;
  box-shadow: inset 0 1px 0 var(--seam-line);
  background: linear-gradient(
    to bottom,
    rgba(23, 34, 26, 0.62) 0%,
    rgba(23, 34, 26, 0.26) 3px,
    rgba(23, 34, 26, 0) 100%
  );
}
.a-text::after {
  bottom: 0;
  box-shadow: inset 0 -1px 0 var(--seam-line);
  background: linear-gradient(
    to top,
    rgba(23, 34, 26, 0.62) 0%,
    rgba(23, 34, 26, 0.26) 3px,
    rgba(23, 34, 26, 0) 100%
  );
}
/* Хвойный блок заказа стоит под снимком — тень тоже на нём, не на фото. */
.a-cta::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: var(--seam);
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.55);
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.48) 0%,
    rgba(0, 0, 0, 0.20) 3px,
    rgba(0, 0, 0, 0) 100%
  );
}

/* Фотографии по ходу страницы — чистый снимок, без эффектов. */
.a-strip { position: relative; margin: 0; overflow: hidden; }
.a-strip img { width: 100%; height: 92vh; object-fit: cover; }
/* Стык «первый экран ↔ полоса ткани»: без него два снимка сливались в одно
   пятно (владелец, 09.11). Тот же 1 px, что и между кадрами в .a-two. */
.a-hero + .a-strip::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: var(--seam-line); pointer-events: none; z-index: 3;
}
.a-strip figcaption {
  position: absolute; left: 0; right: 0; bottom: 26px; z-index: 2;
  padding: 0 30px; text-align: center;
  /* Цвет подписи задаётся в админке (--caption), по умолчанию тёплый белый. */
  color: var(--caption, #fbf6ec);
  /* Шрифт подписи тоже из админки (--f-caption): антиква, Balkara или Руслан. */
  font-family: var(--f-caption, var(--note, var(--serif)));
  font-size: var(--s-caption, 13px); letter-spacing: 0.2em; font-weight: 600;
  text-transform: uppercase;
  /* Плотная тень: подпись читается и на светлых участках снимка. */
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.9),
    0 0 10px rgba(0, 0, 0, 0.65),
    0 0 22px rgba(0, 0, 0, 0.45);
}
.a-two { display: grid; grid-template-columns: 1fr 1fr; }
.a-two figure { margin: 0; position: relative; overflow: hidden; }
.a-two img { width: 100%; height: 64vh; object-fit: cover; }
/* Стык двух снимков: та же полоса, что на кромках макета, но без тени. */
.a-two figure:first-child::after {
  content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 1px;
  background: var(--seam-line); pointer-events: none; z-index: 1;
}

.a-text {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px;
  padding: 92px 30px; max-width: 1240px; margin: 0 auto;
}
.a-label { font-size: var(--s-label, 12px); letter-spacing: 0.2em; font-weight: 600;
  text-transform: uppercase; color: var(--muted); }
.a-text h2 {
  font-family: var(--f-title, var(--display)); font-weight: 400;
  /* Balkara — узкая и высокая: при 1.05 строки при переносе касались друг
     друга («Подарок, который открывают медленно» на телефоне). 1.4 даёт
     просвет ~6 px между строками — проверено замером на 390 px. */
  font-size: var(--s-title, 54px); line-height: 1.4; margin: 0 0 20px;
}
.a-copy { font-size: var(--s-text, 21px); line-height: 1.65; max-width: 52ch; }
.a-facts {
  display: flex; flex-wrap: wrap; gap: 34px; margin-top: 26px;
  font-size: var(--s-facts, 13px); letter-spacing: 0.14em; font-weight: 600;
  text-transform: uppercase; color: var(--muted);
}
/* Число и подпись — две строки сетки, а не block + текст: высота числа
   фиксирована и не зависит от того, каким шрифтом нарисован «%» (в Balkara
   его нет, браузер брал запасной — и подпись уезжала вниз). */
.a-facts span { display: grid; gap: 6px; align-content: start; }
.a-facts b {
  display: block; font-family: var(--display); font-size: 26px; line-height: 1.12;
  letter-spacing: 0.02em; color: var(--ink);
}

.a-cta { text-align: center; padding: 100px 30px 120px; background: var(--ink); color: #f4eadb; }
.a-cta h2 {
  font-family: var(--f-cta-title, var(--display)); font-weight: 400;
  font-size: var(--s-cta-title, 46px); margin: 0 0 14px;
}
.a-cta p {
  font-family: var(--f-cta-text, var(--serif));
  font-size: var(--s-cta-text, 19px);
  color: #cdd6c9; max-width: 46ch; margin: 0 auto 24px;
}
.a-cta a {
  display: inline-block; padding: 15px 30px; border: 1px solid var(--gold);
  color: var(--gold); text-decoration: none;
  font-size: var(--s-cta-link, 13px); font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
}

.a-foot {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 24px 30px; font-size: var(--s-footer, 12px); letter-spacing: 0.12em;
  font-weight: 600;
  text-transform: uppercase; color: var(--muted);
}
.a-foot .foot-brand { font-family: var(--display); font-size: 19px; letter-spacing: 0.05em; color: var(--ink); }
.a-foot .foot-brand .accent { position: relative; }
.a-foot .foot-brand .accent::after {
  content: ""; position: absolute; left: 50%; top: -0.25em;
  width: 0.085em; height: 0.19em; background: currentColor;
  transform: translateX(-32%) skewX(-18deg); border-radius: 0.5px;
}

@media (max-width: 860px) {
  /* Все размеры текста переключаются на «телефонные» значения из админки:
     десктопный --s-* переприсваивается из --sm-*, поэтому в правилах выше
     достаточно одной переменной. */
  .a-body {
    --s-brand: var(--sm-brand);
    --s-nav: var(--sm-nav);
    --s-hero-title: var(--sm-hero-title);
    --s-hero-lead: var(--sm-hero-lead);
    --s-hero-meta: var(--sm-hero-meta);
    --s-label: var(--sm-label);
    --s-title: var(--sm-title);
    --s-text: var(--sm-text);
    --s-facts: var(--sm-facts);
    --s-caption: var(--sm-caption);
    --s-cta-title: var(--sm-cta-title);
    --s-cta-text: var(--sm-cta-text);
    --s-cta-link: var(--sm-cta-link);
    --s-footer: var(--sm-footer);
  }

  /* Меню не прячем: владелец спрашивал, куда оно девается. На телефоне оно
     компактнее и при нехватке места переносится под бренд (flex-wrap). */
  .a-nav { flex-wrap: wrap; gap: 10px 14px; align-items: center; }
  .a-nav nav {
    letter-spacing: 0.09em; gap: 12px;
    margin-left: auto; justify-content: flex-end;
  }
  .a-hero { grid-template-columns: 1fr; height: auto; min-height: 0; }
  .a-hero figure { height: auto; aspect-ratio: 3 / 4; }
  /* На телефоне бумага лежит ниже снимка — тень уходит вверх, на фото. */
  .a-hero-text {
    padding: 34px 20px 40px; margin-top: -1px;
    align-self: auto;
    /* На телефоне снимки и сверху, и снизу — тень по обеим кромкам.
       Стопы в px: у background-image проценты идут от высоты всей панели. */
    background-image:
      linear-gradient(to bottom, rgba(23, 34, 26, 0.62) 0, rgba(23, 34, 26, 0.26) 3px, rgba(23, 34, 26, 0) var(--seam)),
      linear-gradient(to top, rgba(23, 34, 26, 0.62) 0, rgba(23, 34, 26, 0.26) 3px, rgba(23, 34, 26, 0) var(--seam));
    box-shadow:
      inset 0 1px 0 var(--seam-line),
      inset 0 -1px 0 var(--seam-line);
  }
  .a-hero-text::before, .a-hero-text::after { content: none; }
  .a-two, .a-text { grid-template-columns: 1fr; }
  .a-text { padding: 60px 20px; gap: 18px; }
  .a-strip img { height: 62vh; }
  .a-two img { height: 42vh; }
  /* На телефоне пара идёт в одну колонку: шов поворачивается на 90° и лежит
     по нижней кромке первого кадра, иначе два снимка сливаются (владелец). */
  .a-two figure:first-child::after {
    top: auto; bottom: 0; left: 0; right: 0; width: auto; height: 1px;
  }
}

/* Телефон: меню стоит на одной линии с «МАТИЦА» (владелец, 09.11), поэтому
   шапка ниже и под ней меньше бумажной полосы. Кегль берётся из админки
   (--sm-nav): на планшете 13 px читались как сноска. */
@media (max-width: 560px) {
  .a-nav {
    padding: 10px 16px 12px;
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px;
  }
  .a-nav nav {
    flex-basis: auto;
    letter-spacing: 0.07em; gap: 9px;
    justify-content: flex-end; margin-left: auto;
    flex-wrap: nowrap;
  }
}

/* Тесный телефон: если владелец поставил меню крупным, рядом с надписью оно
   не влезает — ограничиваем 14 px, на совсем узком экране 13. */
@media (max-width: 380px) {
  .a-nav nav {
    font-size: min(var(--s-nav, 14px), 14px);
    letter-spacing: 0.06em; gap: 8px;
  }
}

/* Совсем узкий экран (iPhone SE 1-го поколения и старые Android): при nowrap
   меню вылезало за край — поджимаем надпись и кегль меню. */
@media (max-width: 340px) {
  .a-nav { padding: 8px 14px 10px; gap: 10px; }
  .a-brand { font-size: min(var(--s-brand, 26px), 24px); }
  .a-nav nav {
    font-size: min(var(--s-nav, 14px), 13px);
    letter-spacing: 0.06em; gap: 8px;
  }
}

/* ============ B. Журнал (редакционная сетка, «печатный каталог») ============ */

.b-body {
  font-family: -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px; line-height: 1.6; background: #f7f1e6;
}
.b-wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.b-rule { border: 0; border-top: 1px solid var(--ink); margin: 0; }

.b-top {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 16px 0; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
}
.b-top span { color: var(--muted); }

.b-title { padding: 56px 0 30px; border-bottom: 1px solid var(--ink); }
.b-title h1 {
  font-family: var(--display); font-weight: 400; margin: 0;
  font-size: clamp(52px, 11vw, 150px); line-height: 0.9; letter-spacing: 0.01em;
}
.b-title .b-kicker {
  display: block; font-family: var(--serif); font-size: 22px; font-style: italic;
  color: var(--terra); margin-bottom: 8px;
}
.b-title-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px;
  padding-top: 18px; font-size: 12px; letter-spacing: 0.06em; color: var(--muted);
}
.b-title-row b { display: block; color: var(--ink); font-weight: 600; }

.b-lead {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; padding: 54px 0 20px;
  align-items: start;
}
.b-lead h2 {
  font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.1; margin: 0 0 16px;
}
.b-lead p { max-width: 46ch; }
.b-lead img { width: 100%; height: 100%; max-height: 460px; object-fit: cover; }
.b-lead .b-cap { font-size: 12px; color: var(--muted); margin-top: 8px; }

.b-numbers {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--ink); border: 1px solid var(--ink); margin: 50px 0;
}
.b-numbers div { background: #f7f1e6; padding: 24px; }
.b-numbers b { display: block; font-family: var(--display); font-size: 34px; font-weight: 400; }
.b-numbers span { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

.b-spread { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--ink); }
.b-spread img { width: 100%; height: 70vh; object-fit: cover; }
.b-spread .b-half { background: #f7f1e6; padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.b-spread h3 { font-family: var(--serif); font-size: 30px; font-weight: 500; margin: 0 0 14px; }
.b-spread ol { margin: 0; padding-left: 18px; font-size: 15px; }
.b-spread li { margin-bottom: 10px; }

.b-items { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 70px 0; }
.b-item { border-top: 1px solid var(--ink); padding-top: 16px; }
.b-item .b-num { font-family: var(--serif); font-size: 14px; color: var(--terra); }
.b-item h3 { font-family: var(--serif); font-size: 26px; font-weight: 500; margin: 6px 0 10px; }
.b-item img { width: 100%; height: 320px; object-fit: cover; margin: 14px 0; }
.b-item .b-price { font-family: var(--serif); font-size: 22px; }

.b-quote {
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  padding: 60px 0; margin: 20px 0 0;
  font-family: var(--serif); font-size: clamp(22px, 2.6vw, 34px); line-height: 1.4;
}
.b-quote cite { display: block; font-size: 12px; font-style: normal; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 18px; }

.b-end { display: flex; justify-content: space-between; padding: 30px 0 60px; font-size: 12px; color: var(--muted); }

@media (max-width: 800px) {
  .b-title-row, .b-lead, .b-items, .b-spread { grid-template-columns: 1fr; }
  .b-numbers { grid-template-columns: 1fr; }
  .b-spread img, .b-lead img { height: 46vh; }
}


/* ============ C. Тёмный премиум (хвойный + золото) ============ */

.c-body {
  background: #16281f; color: #f2e9d8;
  font-family: -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px; line-height: 1.65;
}
.c-wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

.c-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: #b9c6b6;
}
.c-top nav { display: flex; gap: 26px; }
.c-top a { text-decoration: none; }

.c-hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; padding: 46px 0 70px; align-items: center; }
.c-hero h1 {
  font-family: var(--display); font-weight: 400; margin: 0 0 16px;
  font-size: clamp(46px, 7vw, 96px); line-height: 0.98; color: #f7efdd;
}
.c-hero .c-sub { color: var(--gold); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; margin-bottom: 18px; }
.c-hero p { color: #c8d2c4; max-width: 42ch; }
.c-hero-media { position: relative; }
.c-hero-media img { width: 100%; height: 560px; object-fit: cover; }
.c-hero-media::after {
  content: ""; position: absolute; inset: 12px -12px -12px 12px;
  border: 1px solid rgba(212, 176, 106, 0.5); pointer-events: none;
}
.c-price-row { display: flex; align-items: baseline; gap: 18px; margin-top: 24px; }
.c-price { font-family: var(--display); font-size: 40px; color: var(--gold); }
.c-price-row span { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #9fb0a0; }

.c-bands { border-top: 1px solid rgba(212, 176, 106, 0.28); }
.c-band {
  display: grid; grid-template-columns: 90px 1fr 1.1fr; gap: 30px;
  padding: 42px 0; border-bottom: 1px solid rgba(212, 176, 106, 0.28);
  align-items: baseline;
}
.c-band .c-num { font-family: var(--display); font-size: 22px; color: var(--gold); }
.c-band h2 { font-family: var(--serif); font-weight: 500; font-size: 30px; margin: 0; color: #f7efdd; }
.c-band p { margin: 0; color: #b9c6b6; font-size: 15px; }

.c-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 60px 0; }
.c-gallery img { width: 100%; height: 340px; object-fit: cover; filter: saturate(0.95); }

.c-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 10px 0 70px; }
.c-cols h3 { font-family: var(--serif); font-size: 24px; font-weight: 500; margin: 0 0 10px; color: #f7efdd; }
.c-cols p { font-size: 15px; color: #b9c6b6; }

.c-cta {
  border: 1px solid rgba(212, 176, 106, 0.5); padding: 44px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center;
  margin-bottom: 70px;
}
.c-cta h2 { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 3.4vw, 40px); margin: 0 0 10px; color: #f7efdd; }
.c-cta p { margin: 0; color: #b9c6b6; }
.c-cta a {
  justify-self: end; padding: 16px 30px; background: var(--gold); color: #16281f;
  text-decoration: none; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
}

.c-foot { padding: 24px 0 40px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #8fa08f; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .c-hero, .c-cta { grid-template-columns: 1fr; }
  .c-hero-media img { height: 420px; }
  .c-band { grid-template-columns: 50px 1fr; }
  .c-band p { grid-column: 2; }
  .c-gallery { grid-template-columns: 1fr; }
  .c-gallery img { height: 300px; }
  .c-cols { grid-template-columns: 1fr; }
  .c-cta a { justify-self: start; }
  .c-top nav { display: none; }
}


