/* ============================================================================
   Ксения Мирошниченко — психолог, Севастополь
   Дизайн-система «Инкерманский камень»
   --------------------------------------------------------------------------
   Палитра собрана из материалов города: белый инкерманский известняк,
   вода Севастопольской бухты, черепица и закатная терракота, морская дымка.
   Шрифты: Cormorant Garamond (антиква, заголовки) + Onest (кириллический
   гротеск, текст и интерфейс).
   ========================================================================= */

/* ---------------------------------------------------------------- 1. Токены */

:root {
  /* Известняк — основа страницы */
  --stone-50:  #FDFBF7;
  --stone-100: #F7F2E9;
  --stone-200: #EFE7D9;
  --stone-300: #E2D6C2;
  --stone-400: #CDBCA1;

  /* Бухта — основной цвет */
  --sea-900: #0F2426;
  --sea-800: #17383A;
  --sea-700: #21504F;
  --sea-600: #2C6462;
  --sea-500: #3E7E7A;
  --sea-300: #9CB8B4;
  --sea-100: #DCE7E4;

  /* Терракота — акцент */
  --terra-700: #9E5233;
  --terra-600: #B4653C;
  --terra-500: #C9835B;
  --terra-200: #EFD8C8;

  /* Песок — вспомогательный акцент */
  --sand-400: #C9A96F;
  --sand-200: #EADCC0;

  /* Семантические переменные (светлая тема) */
  --bg: var(--stone-100);
  --bg-alt: var(--stone-50);
  --bg-deep: var(--stone-200);
  --surface: #FFFDF9;
  --surface-2: var(--stone-50);
  --ink: #16211F;
  --ink-soft: #3A4A47;
  --muted: #6A7A77;
  --line: rgba(33, 80, 79, 0.16);
  --line-soft: rgba(33, 80, 79, 0.08);
  --accent: var(--sea-700);
  --accent-hover: var(--sea-800);
  --accent-ink: #FDFBF7;
  --highlight: var(--terra-600);
  --shadow-sm: 0 1px 2px rgba(15, 36, 38, 0.05), 0 4px 14px rgba(15, 36, 38, 0.05);
  --shadow-md: 0 2px 6px rgba(15, 36, 38, 0.05), 0 18px 44px rgba(15, 36, 38, 0.09);
  --shadow-lg: 0 30px 80px rgba(15, 36, 38, 0.14);
  --grain-opacity: 0.5;

  /* Типографика */
  --font-display: "Cormorant Garamond", "Georgia", "Times New Roman", serif;
  --font-text: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

  --fs-display: clamp(2.9rem, 1.55rem + 5.6vw, 6.4rem);
  --fs-h1: clamp(2.35rem, 1.5rem + 3.4vw, 4.3rem);
  --fs-h2: clamp(1.95rem, 1.4rem + 2.2vw, 3.2rem);
  --fs-h3: clamp(1.4rem, 1.15rem + 0.9vw, 1.95rem);
  --fs-lead: clamp(1.12rem, 1.03rem + 0.4vw, 1.4rem);
  --fs-body: clamp(1.02rem, 0.98rem + 0.18vw, 1.13rem);
  --fs-sm: 0.94rem;
  --fs-xs: 0.8rem;

  /* Ритм */
  --shell: 1220px;
  --shell-narrow: 760px;
  --gutter: clamp(1.25rem, 0.6rem + 2.6vw, 3.5rem);
  --section-y: clamp(4.5rem, 2.5rem + 7vw, 9rem);
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 26px;
  --arch: 50% 50% var(--radius) var(--radius) / 42% 42% 4% 4%;

  --ease: cubic-bezier(0.22, 0.68, 0.32, 1);
  --dur: 0.5s;

  color-scheme: light;
}

/* Тёмная тема — для тех, кто читает поздно вечером */
[data-theme="dark"] {
  --bg: #101A1A;
  --bg-alt: #14201F;
  --bg-deep: #0C1414;
  --surface: #182625;
  --surface-2: #1D2C2B;
  --ink: #EBE4D6;
  --ink-soft: #C9C2B4;
  --muted: #94A5A1;
  --line: rgba(220, 231, 228, 0.14);
  --line-soft: rgba(220, 231, 228, 0.07);
  --accent: #7FB3AC;
  --accent-hover: #98C6BF;
  --accent-ink: #0F2426;
  --highlight: #DB9268;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3), 0 4px 14px rgba(0, 0, 0, 0.24);
  --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.3), 0 18px 44px rgba(0, 0, 0, 0.34);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.5);
  --grain-opacity: 0.28;

  color-scheme: dark;
}

/* ------------------------------------------------------------- 2. Основа */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--fs-body);
  line-height: 1.72;
  font-weight: 350;
  letter-spacing: 0.002em;
  /* Cormorant по умолчанию рисует минускульные цифры: «60» превращается
     в «6o», а «01» — в «oI». Для интерфейса нужны маюскульные. Onest эту
     настройку игнорирует — у него цифры и так в рост прописных. */
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}

/* Мелкое зерно — «бумажность», убирает стерильность плоского фона */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: var(--grain-opacity);
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='0.32'/%3E%3C/svg%3E");
}

[data-theme="dark"] body::before { mix-blend-mode: screen; }

img,
svg,
video { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

button,
input,
textarea,
select { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--sea-300);
  color: var(--sea-900);
}

/* ------------------------------------------------- 3. Типографика */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.012em;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; }

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

em { font-style: italic; }

.display {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.62;
  color: var(--ink-soft);
  font-weight: 350;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.4rem;
}

.eyebrow::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.eyebrow--plain::before { display: none; }

.serif-accent {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--highlight);
}

.muted { color: var(--muted); }
.center { text-align: center; }

/* ------------------------------------------------------- 4. Раскладка */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 1;
}

.shell--narrow { max-width: var(--shell-narrow); }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: calc(var(--section-y) * 0.62); }
.section--alt { background: var(--bg-alt); }
.section--deep { background: var(--bg-deep); }

.section--ink {
  background: var(--sea-900);
  color: var(--stone-100);
}
.section--ink .lead,
.section--ink .muted { color: var(--sea-300); }
.section--ink .eyebrow { color: var(--sea-300); }

.section-head { max-width: 46ch; margin-bottom: clamp(2.5rem, 1.5rem + 2.6vw, 4.2rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 1.2rem; }

.grid { display: grid; gap: clamp(1.5rem, 1rem + 1.6vw, 2.6rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); }

.stack-lg > * + * { margin-top: clamp(2rem, 1.4rem + 1.6vw, 3.2rem); }

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* --------------------------------------------------------- 5. Кнопки */

.btn {
  --btn-bg: transparent;
  --btn-ink: var(--ink);
  --btn-line: var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.95em 1.9em;
  background: var(--btn-bg);
  color: var(--btn-ink);
  border: 1px solid var(--btn-line);
  border-radius: 999px;
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-align: center;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease),
    color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }

.btn--primary {
  --btn-bg: var(--accent);
  --btn-ink: var(--accent-ink);
  --btn-line: var(--accent);
}
.btn--primary:hover { --btn-bg: var(--accent-hover); --btn-line: var(--accent-hover); }

.btn--ghost { --btn-bg: transparent; --btn-ink: var(--ink); --btn-line: var(--line); }
.btn--ghost:hover { --btn-line: var(--accent); --btn-ink: var(--accent); }

.btn--light {
  --btn-bg: var(--stone-100);
  --btn-ink: var(--sea-900);
  --btn-line: var(--stone-100);
}

.btn--sm { padding: 0.65em 1.35em; font-size: 0.86rem; }
.btn--wide { width: 100%; }

.btn__arrow { transition: transform 0.28s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.link-underline {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 500;
  color: var(--accent);
  padding-bottom: 2px;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.35s var(--ease);
}
.link-underline:hover { background-size: 100% 1px; }

/* ------------------------------------------------------------ 6. Шапка */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid transparent;
  transition: transform 0.4s var(--ease), border-color 0.3s var(--ease),
    background-color 0.3s var(--ease);
}

.site-header.is-stuck { border-bottom-color: var(--line-soft); }
.site-header.is-hidden { transform: translateY(-100%); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.9rem;
}

.brand { display: inline-flex; align-items: center; gap: 0.8rem; }

.brand__mark {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50% 50% 50% 50% / 46% 46% 54% 54%;
  font-family: var(--font-display);
  font-size: 0.98rem;
  letter-spacing: 0.06em;
  color: var(--accent);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.brand:hover .brand__mark { border-color: var(--accent); }

.brand__text { display: flex; flex-direction: column; line-height: 1.18; }

.brand__name {
  font-family: var(--font-display);
  font-size: 1.14rem;
  letter-spacing: 0.005em;
}

.brand__role {
  font-size: 0.66rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav { display: flex; align-items: center; gap: clamp(1rem, 0.4rem + 1.4vw, 2.1rem); }

.nav a {
  position: relative;
  font-size: 0.93rem;
  font-weight: 400;
  color: var(--ink-soft);
  padding-block: 0.3rem;
  transition: color 0.25s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s var(--ease);
}

.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

.nav a[aria-current="page"] { color: var(--ink); font-weight: 500; }
.nav a[aria-current="page"]::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 0.7rem; }

.icon-btn {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  flex: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  color: var(--ink-soft);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); transform: rotate(-8deg); }

.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

.burger { display: none; }

/* Мобильное меню */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--bg);
  padding: 1.4rem var(--gutter) 2.5rem;
  display: flex;
  flex-direction: column;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.45s var(--ease), visibility 0.45s var(--ease);
  overflow-y: auto;
}

.drawer.is-open { transform: translateY(0); visibility: visible; }

.drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.5rem;
  margin-bottom: 2rem;
}

.drawer__nav { display: flex; flex-direction: column; gap: 0.2rem; }

.drawer__nav a {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.3rem + 3vw, 2.6rem);
  padding-block: 0.42em;
  border-bottom: 1px solid var(--line-soft);
  transition: color 0.25s var(--ease), padding-left 0.3s var(--ease);
}
.drawer__nav a:hover { color: var(--accent); padding-left: 0.4rem; }
.drawer__nav a[aria-current="page"] { color: var(--accent); }

.drawer__foot { margin-top: auto; padding-top: 2.5rem; display: grid; gap: 1rem; }

/* -------------------------------------------------------- 7. Главный экран */

.hero {
  position: relative;
  padding-block: clamp(3.5rem, 2rem + 6vw, 7rem) clamp(4rem, 2rem + 6vw, 7.5rem);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Мягкие «слои бухты» на фоне */
.hero__wash {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.6;
}
.hero__wash--a {
  width: 46vw; height: 46vw; min-width: 340px; min-height: 340px;
  top: -14%; right: -8%;
  background: radial-gradient(circle at 40% 40%, var(--sea-100), transparent 68%);
}
.hero__wash--b {
  width: 38vw; height: 38vw; min-width: 280px; min-height: 280px;
  bottom: -18%; left: -10%;
  background: radial-gradient(circle at 60% 40%, var(--sand-200), transparent 66%);
}
[data-theme="dark"] .hero__wash { opacity: 0.22; }

.hero__columns {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(52%, 620px);
  opacity: 0.14;
  color: var(--sea-700);
}
[data-theme="dark"] .hero__columns { opacity: 0.16; color: var(--sea-300); }

.hero__grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(2.5rem, 1rem + 5vw, 5.5rem);
  align-items: center;
}

.hero__title { margin-bottom: 1.5rem; }
.hero__title .line-2 { display: block; padding-left: clamp(0rem, -1rem + 6vw, 3.4rem); }

.hero__lead { max-width: 46ch; margin-bottom: 2.4rem; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.8rem; }

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 0.6rem + 1.4vw, 2.2rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.fact__num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.fact__label {
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  max-width: 17ch;
  line-height: 1.4;
}

/* Портрет в арке — отсылка к колоннадам Херсонеса и Графской пристани */
.portrait {
  position: relative;
  isolation: isolate;
}

.portrait__frame {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--arch);
  overflow: hidden;
  background: var(--surface-2);
  box-shadow: var(--shadow-lg);
}

.portrait__frame img { width: 100%; height: 100%; object-fit: cover; }

.portrait::after {
  content: "";
  position: absolute;
  inset: -1.1rem -1.1rem 2.2rem;
  border: 1px solid var(--line);
  border-radius: 50% 50% var(--radius) var(--radius) / 40% 40% 3% 3%;
  z-index: -1;
}

.portrait__caption {
  position: absolute;
  left: 50%;
  bottom: -1.4rem;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  white-space: nowrap;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sea-500);
  flex: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--sea-500) 22%, transparent);
}

/* --------------------------------------------------- 8. Строка-маркиза */

.marquee {
  border-block: 1px solid var(--line);
  padding-block: 1.15rem;
  overflow: hidden;
  background: var(--bg-alt);
}

.marquee__track {
  display: flex;
  width: max-content;
  gap: 3.5rem;
  animation: slide 46s linear infinite;
}

.marquee:hover .marquee__track { animation-play-state: paused; }

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 3.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--ink-soft);
  white-space: nowrap;
}

.marquee__item::after {
  content: "✦";
  font-style: normal;
  font-size: 0.6rem;
  color: var(--highlight);
}

@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ------------------------------------------- 9. Блок узнавания «Вам знакомо» */

.recognise-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.recognise-item {
  background: var(--surface);
  padding: clamp(1.6rem, 1.2rem + 1vw, 2.3rem);
  transition: background-color 0.3s var(--ease);
}
.recognise-item:hover { background: var(--surface-2); }

.recognise-item__quote {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-style: italic;
  line-height: 1.34;
  margin-bottom: 0.7rem;
}

.recognise-item__note { font-size: 0.94rem; color: var(--muted); line-height: 1.6; }

.recognise-outro {
  margin-top: clamp(2.2rem, 1.6rem + 1.6vw, 3.4rem);
  max-width: 58ch;
  font-size: var(--fs-lead);
  line-height: 1.6;
}

/* ------------------------------------------------------ 10. Направления */

.direction {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.8rem, 1.3rem + 1.6vw, 2.7rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
}

.direction:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--accent) 38%, transparent);
}

.direction__index {
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: 0.18em;
  color: var(--highlight);
  margin-bottom: 1.5rem;
}

.direction h3 { margin-bottom: 0.85rem; }

.direction p { color: var(--ink-soft); font-size: 0.99rem; margin-bottom: 1.5rem; }

.direction__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
  padding: 0;
  list-style: none;
}

.direction__tags li {
  font-size: 0.78rem;
  padding: 0.34em 0.85em;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
}

/* ------------------------------------------------------ 11. Список тем */

.topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.topics li {
  padding: 0.62em 1.15em;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.95rem;
  color: var(--ink-soft);
  transition: border-color 0.28s var(--ease), color 0.28s var(--ease),
    transform 0.28s var(--ease);
}

.topics li:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ------------------------------------------------------- 12. Как проходит */

.steps {
  counter-reset: step;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: clamp(1rem, 0.5rem + 2vw, 3rem);
  padding-block: clamp(1.8rem, 1.3rem + 1.4vw, 2.6rem);
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.step__num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.55;
}
.step__num::before { content: "0" counter(step); }

.step h3 { margin-bottom: 0.6rem; }
.step p { color: var(--ink-soft); max-width: 62ch; }

.step__meta {
  display: inline-block;
  margin-top: 0.9rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* -------------------------------------------------------- 13. Цитата */

.pull-quote {
  position: relative;
  max-width: 24ch;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem);
  font-weight: 300;
  line-height: 1.14;
  letter-spacing: -0.015em;
}

.pull-quote__mark {
  display: block;
  font-size: 3.6rem;
  line-height: 0.5;
  color: var(--highlight);
  margin-bottom: 1.4rem;
}

.pull-quote__author {
  display: block;
  margin-top: 1.8rem;
  font-family: var(--font-text);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* -------------------------------------------------------- 14. Форматы */

.format {
  display: flex;
  flex-direction: column;
  padding: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.format:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.format--featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.format__badge {
  align-self: flex-start;
  margin-bottom: 1.2rem;
  padding: 0.32em 0.9em;
  background: color-mix(in srgb, var(--highlight) 14%, transparent);
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--highlight);
}

.format h3 { margin-bottom: 0.5rem; }

.format__duration { font-size: 0.86rem; color: var(--muted); margin-bottom: 1.5rem; }

.format__price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: 1.5rem;
}
.format__price span { font-family: var(--font-text); font-size: 0.85rem; color: var(--muted); }

.format__list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  gap: 0.7rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.format__list li { display: flex; gap: 0.7rem; align-items: flex-start; line-height: 1.5; }

.format__list li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 0.62em;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}

.format .btn { margin-top: auto; }

/* ---------------------------------------------------------- 15. Блог */

.post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.post-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--surface-2);
  overflow: hidden;
}

.post-card__media img { width: 100%; height: 100%; object-fit: cover; }

.post-card__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
}

.post-card__play span {
  display: grid;
  place-items: center;
  width: 3.6rem;
  height: 3.6rem;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  background: rgba(15, 36, 38, 0.35);
  backdrop-filter: blur(4px);
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}
.post-card:hover .post-card__play span { transform: scale(1.08); background: rgba(15, 36, 38, 0.55); }

.post-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(1.4rem, 1.1rem + 1vw, 2rem);
}

.post-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.95rem;
}

.tag {
  padding: 0.3em 0.75em;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 11%, transparent);
  color: var(--accent);
  letter-spacing: 0.07em;
}

.tag--video { background: color-mix(in srgb, var(--highlight) 14%, transparent); color: var(--highlight); }

.post-card h3 {
  font-size: 1.42rem;
  line-height: 1.22;
  margin-bottom: 0.7rem;
  transition: color 0.25s var(--ease);
}
.post-card:hover h3 { color: var(--accent); }

.post-card p { font-size: 0.95rem; color: var(--muted); margin-bottom: 1.5rem; }

.post-card__more {
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.post-card:hover .post-card__more .btn__arrow { transform: translateX(4px); }

/* Ведущая запись */
.post-feature {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.4s var(--ease);
}
.post-feature:hover { box-shadow: var(--shadow-md); }

.post-feature__media { position: relative; min-height: 340px; background: var(--surface-2); }
.post-feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.post-feature__body {
  padding: clamp(2rem, 1.4rem + 2.4vw, 3.6rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.post-feature h2 { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.9rem); margin-bottom: 1.1rem; }

/* Фильтры блога */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: clamp(2rem, 1.4rem + 2vw, 3.2rem);
}

.filter {
  padding: 0.6em 1.3em;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.28s var(--ease);
}

.filter:hover { border-color: var(--accent); color: var(--accent); }

.filter.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(1.4rem, 1rem + 1.4vw, 2.2rem); }

.posts-grid > li { list-style: none; }
.posts-grid { padding: 0; margin: 0; }

.is-filtered-out { display: none !important; }

.filters-empty {
  padding: 3rem 0;
  text-align: center;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
}

/* --------------------------------------------------- 16. Статья */

.article-hero { padding-block: clamp(3rem, 2rem + 3vw, 5rem) clamp(2rem, 1.4rem + 2vw, 3rem); }

.article-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.6rem;
}

.article-cover {
  aspect-ratio: 21 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-2);
  margin-bottom: clamp(2.5rem, 1.8rem + 2vw, 4rem);
}
.article-cover img { width: 100%; height: 100%; object-fit: cover; }

.prose { font-size: clamp(1.06rem, 1rem + 0.28vw, 1.19rem); line-height: 1.78; }

.prose > * + * { margin-top: 1.35em; }

.prose h2 {
  font-size: clamp(1.7rem, 1.35rem + 1.3vw, 2.4rem);
  margin-top: 2.2em;
  margin-bottom: 0.1em;
}

.prose h3 { font-size: clamp(1.42rem, 1.2rem + 0.9vw, 1.85rem); margin-top: 1.9em; }

.prose p { margin-bottom: 0; }

.prose ul, .prose ol { padding-left: 1.2em; display: grid; gap: 0.6em; }
.prose li { line-height: 1.68; }
.prose li::marker { color: var(--accent); }

.prose strong { font-weight: 600; }

.prose blockquote {
  margin: 2.2em 0;
  padding: 0 0 0 clamp(1.2rem, 0.8rem + 1.4vw, 2.2rem);
  border-left: 2px solid var(--highlight);
  font-family: var(--font-display);
  font-size: 1.42em;
  font-style: italic;
  line-height: 1.36;
  color: var(--ink);
}

.prose a { color: var(--accent); border-bottom: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); }
.prose a:hover { border-bottom-color: var(--accent); }

.prose hr { margin: 2.6em 0; height: 1px; background: var(--line); border: 0; }

.callout {
  margin: 2.2em 0;
  padding: clamp(1.4rem, 1.1rem + 1vw, 2.1rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  font-size: 0.98em;
}

.callout strong { display: block; margin-bottom: 0.5em; font-family: var(--font-display); font-size: 1.25em; font-weight: 500; }

.article-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  padding-block: 2.2rem;
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}

.author-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1.2rem, 0.9rem + 1.2vw, 2rem);
  padding: clamp(1.5rem, 1.2rem + 1.4vw, 2.4rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.author-card__photo {
  width: 5.5rem;
  height: 6.6rem;
  flex: none;
  border-radius: 50% 50% var(--radius-sm) var(--radius-sm) / 40% 40% 3% 3%;
  overflow: hidden;
  background: var(--surface-2);
}
.author-card__photo img { width: 100%; height: 100%; object-fit: cover; }

.author-card__body { flex: 1 1 260px; }
.author-card h3 { margin-bottom: 0.35rem; }
.author-card p { font-size: 0.95rem; color: var(--muted); margin-bottom: 1rem; }

/* -------------------------------------------------- 17. Обо мне */

.bio-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 1.5rem + 4vw, 5rem);
  align-items: start;
}

.timeline { border-top: 1px solid var(--line); }

.timeline__item {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: clamp(1rem, 0.5rem + 2vw, 2.5rem);
  padding-block: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
  border-bottom: 1px solid var(--line);
}

.timeline__year {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--highlight);
  letter-spacing: 0.03em;
}

/* Cormorant — антиква с небольшим ростом строчных, поэтому подзаголовки
   рядом с текстом Onest набираем на пару ступеней крупнее, иначе они
   выглядят мельче основного текста. */
.timeline__body h3 { font-size: 1.45rem; margin-bottom: 0.4rem; }
.timeline__body p { font-size: 0.95rem; color: var(--muted); }

.values { display: grid; gap: 0; border-top: 1px solid var(--line); }

.value {
  padding-block: clamp(1.5rem, 1.2rem + 1vw, 2.2rem);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 15rem 1fr;
  gap: clamp(1rem, 0.5rem + 2vw, 3rem);
  align-items: baseline;
}

.value h3 { font-size: 1.62rem; }
.value p { color: var(--ink-soft); max-width: 64ch; }

@media (max-width: 760px) {
  .value { grid-template-columns: 1fr; gap: 0.5rem; }
}

/* ----------------------------------------------------------- 18. FAQ */

.faq { border-top: 1px solid var(--line); }

.faq__item { border-bottom: 1px solid var(--line); }

.faq__q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.3rem, 1.1rem + 0.8vw, 1.9rem) 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.5rem);
  line-height: 1.3;
  color: var(--ink);
  transition: color 0.25s var(--ease);
}

.faq__q:hover { color: var(--accent); }

.faq__icon {
  position: relative;
  flex: none;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.28em;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: transform 0.35s var(--ease), border-color 0.25s var(--ease);
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s var(--ease);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.faq__q[aria-expanded="true"] .faq__icon { transform: rotate(180deg); border-color: var(--accent); }
.faq__q[aria-expanded="true"] .faq__icon::after { opacity: 0; }

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.42s var(--ease);
}
.faq__a > div { overflow: hidden; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

.faq__a p {
  padding-bottom: 1.7rem;
  max-width: 68ch;
  color: var(--ink-soft);
}
.faq__a p + p { padding-bottom: 1.7rem; margin-top: -0.6rem; }

/* --------------------------------------------------------- 19. Форма */

.booking {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(2.5rem, 1.5rem + 4vw, 5rem);
  align-items: start;
}

.form { display: grid; gap: 1.35rem; }

.field { display: grid; gap: 0.5rem; }

.field label {
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

.field label .req { color: var(--highlight); }

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.92em 1.1em;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.field textarea { resize: vertical; min-height: 7rem; line-height: 1.6; }

.field input::placeholder,
.field textarea::placeholder { color: color-mix(in srgb, var(--muted) 75%, transparent); }

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 15%, transparent);
}

.field.has-error input,
.field.has-error textarea { border-color: var(--terra-600); }

.field__error {
  font-size: 0.82rem;
  color: var(--terra-600);
  min-height: 0;
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}
.field.has-error .field__error { opacity: 1; }

[data-theme="dark"] .field__error { color: var(--highlight); }

.chip-group { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.chip { position: relative; }
.chip input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.chip span {
  display: inline-block;
  padding: 0.6em 1.2em;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.chip input:checked + span {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.form__consent { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.85rem; color: var(--muted); line-height: 1.55; }
.form__consent input { margin-top: 0.28em; accent-color: var(--accent); flex: none; width: 1rem; height: 1rem; }
.form__consent a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

.form__status {
  display: none;
  padding: 1.3rem 1.5rem;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--sea-500) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--sea-500) 34%, transparent);
  font-size: 0.95rem;
}
.form__status.is-visible { display: block; }
.form__status strong { display: block; font-family: var(--font-display); font-size: 1.28rem; font-weight: 500; margin-bottom: 0.35rem; }

.form__note { font-size: 0.82rem; color: var(--muted); }

/* Панель контактов */
.contact-panel {
  padding: clamp(1.8rem, 1.4rem + 1.6vw, 2.8rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 1.6rem;
}

.contact-row { display: flex; gap: 1rem; align-items: flex-start; }

.contact-row__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent);
}

.contact-row__label { font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.2rem; }
.contact-row__value { font-size: 1.02rem; }
.contact-row__value a:hover { color: var(--accent); }

/* --------------------------------------------------------- 20. Подвал */

.site-footer {
  background: var(--sea-900);
  color: var(--stone-200);
  padding-block: clamp(3.5rem, 2.5rem + 3vw, 5.5rem) 2rem;
  margin-top: auto;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: clamp(2rem, 1.4rem + 2.4vw, 4rem);
  padding-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
  border-bottom: 1px solid rgba(220, 231, 228, 0.14);
}

.footer__cta h2 { color: var(--stone-100); margin-bottom: 1rem; max-width: 16ch; }
.footer__cta p { color: var(--sea-300); max-width: 38ch; margin-bottom: 1.8rem; }

.footer__col h3 {
  font-family: var(--font-text);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sea-300);
  margin-bottom: 1.3rem;
}

.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.footer__col a { color: var(--stone-200); font-size: 0.98rem; transition: color 0.25s var(--ease); }
.footer__col a:hover { color: #fff; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  font-size: 0.82rem;
  color: var(--sea-300);
}

.footer__bottom a:hover { color: #fff; }

.crisis-note {
  margin-top: 2.2rem;
  padding: 1.2rem 1.4rem;
  border: 1px solid rgba(220, 231, 228, 0.16);
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--sea-300);
}
.crisis-note strong { color: var(--stone-100); font-weight: 500; }
.crisis-note a { color: var(--stone-100); border-bottom: 1px solid rgba(255, 255, 255, 0.35); }

/* --------------------------------------------------- 21. Прочее */

.page-hero {
  padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem) clamp(2.5rem, 2rem + 2vw, 4rem);
  position: relative;
  overflow: hidden;
}

.page-hero__title { margin-bottom: 1.5rem; max-width: 18ch; }
.page-hero .lead { max-width: 52ch; }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1.8rem;
}
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span { opacity: 0.5; }

.badge-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5em 1em;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.84rem;
  color: var(--ink-soft);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 0.9rem 1.4rem;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* Появление при скролле */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.09s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.18s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.27s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.36s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.45s; }

/* --------------------------------------------------- 22. Адаптив */

@media (max-width: 1040px) {
  .hero__grid { grid-template-columns: 1fr; gap: 3.2rem; }
  .portrait { max-width: 420px; margin-inline: auto; width: 100%; }
  .hero__columns { width: min(70%, 460px); opacity: 0.09; }
  .bio-grid { grid-template-columns: 1fr; }
  .booking { grid-template-columns: 1fr; }
  .post-feature { grid-template-columns: 1fr; }
  .post-feature__media { min-height: 260px; aspect-ratio: 16 / 9; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__cta { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .header__actions .btn { display: none; }
  .burger { display: grid; }
  .header__inner { min-height: 4.3rem; }
}

@media (max-width: 620px) {
  html { scroll-padding-top: 5rem; }
  .hero__title .line-2 { padding-left: 0; }
  .step { grid-template-columns: 1fr; gap: 0.5rem; }
  .step__num { font-size: 1.7rem; }
  .timeline__item { grid-template-columns: 1fr; gap: 0.35rem; }
  .footer__top { grid-template-columns: 1fr; }
  .article-cover { aspect-ratio: 4 / 3; }
  .brand__role { display: none; }
  .hero__facts { grid-template-columns: repeat(2, 1fr); gap: 1.6rem 1.4rem; }
  .fact__num { font-size: 2.1rem; }
  .fact__label { max-width: none; }
}

/* --------------------------------------- 23. Уважение к настройкам */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal,
  .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none; }
}

@media print {
  .site-header, .drawer, .site-footer, .btn, .filters { display: none !important; }
  body { background: #fff; color: #000; }
  body::before { display: none; }
}
