/* ════════════════════════════════════════════════════════════════════════
   УЦ «Перспектива» — Annual Report 2025 (Концепция I)
   Подготовлено студией спецайти.рф · spec-ai@yandex.ru
   Frozen tokens: design_tokens.json (2026-05-05)
   ════════════════════════════════════════════════════════════════════════ */

/* ── 1. @font-face (self-hosted, .woff2 only, font-display: swap) ─────── */

@font-face {
  font-family: "Onest";
  src:
    url("../fonts/onest-cyrillic-400.woff2") format("woff2"),
    url("../fonts/onest-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0400-04FF;
}
@font-face {
  font-family: "Onest";
  src:
    url("../fonts/onest-cyrillic-500.woff2") format("woff2"),
    url("../fonts/onest-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0400-04FF;
}
@font-face {
  font-family: "Onest";
  src:
    url("../fonts/onest-cyrillic-600.woff2") format("woff2"),
    url("../fonts/onest-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0400-04FF;
}
@font-face {
  font-family: "Onest";
  src:
    url("../fonts/onest-cyrillic-700.woff2") format("woff2"),
    url("../fonts/onest-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0400-04FF;
}
@font-face {
  font-family: "JetBrains Mono";
  src:
    url("../fonts/jetbrains-mono-cyrillic-400.woff2") format("woff2"),
    url("../fonts/jetbrains-mono-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0400-04FF;
}

/* ── 2. CSS root tokens (из design_tokens.json) ───────────────────────── */

:root {
  /* color.brand */
  --c-primary: #0b4815;
  --c-primary-dark: #062f0e;
  --c-primary-deep: #031808;
  --c-primary-light: #1a6b2a;
  --c-primary-soft: #e8efe9;

  /* color.accent */
  --c-gold: #b89058;
  --c-gold-dark: #8e6a38;
  --c-gold-soft: #f2ead8;

  /* color.neutral */
  --c-ink: #161410;
  --c-ink-soft: #3e3a32;
  --c-ink-muted: #6e6a60;
  --c-border: #d9d3c2;
  --c-border-soft: #eae5d6;
  --c-surface: #faf7ee;
  --c-surface-alt: #f0ebdb;
  --c-surface-card: #ffffff;

  /* color.feedback (для будущего audit, в макапе не используем) */
  --c-success: #2d7a3f;
  --c-warning: #c68a2e;
  --c-danger: #9a2e2e;

  /* typography */
  --f-display:
    "Onest", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --f-body: var(--f-display);
  --f-mono: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;

  /* fontSize (clamp) */
  --fs-hero: clamp(56px, 8vw, 96px);
  --fs-stamp: clamp(96px, 16vw, 220px);
  --fs-stamp-xl: clamp(120px, 20vw, 280px);
  --fs-h1: clamp(40px, 5vw, 64px);
  --fs-h2: clamp(32px, 3.6vw, 48px);
  --fs-h3: clamp(24px, 2.4vw, 32px);
  --fs-h4: clamp(20px, 1.8vw, 24px);
  --fs-lead: 20px;
  --fs-body: 16px;
  --fs-small: 14px;
  --fs-tiny: 12px;

  /* tracking */
  --tr-hero: -0.02em;
  --tr-heading: -0.01em;
  --tr-body: 0;
  --tr-label: 0.04em;
  --tr-uppercase: 0.08em;
  --tr-uppercase-loose: 0.1em;
  --tr-uppercase-pillar: 0.06em;

  /* lineHeight */
  --lh-hero: 0.95;
  --lh-heading: 1.15;
  --lh-tight: 1.3;
  --lh-body: 1.6;

  /* spacing (4-px сетка) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  /* container */
  --cont-narrow: 720px;
  --cont-default: 1280px;
  --cont-wide: 1440px;

  /* motion */
  --t-fast: 120ms;
  --t-default: 220ms;
  --t-slow: 360ms;
  --ease-default: cubic-bezier(0.2, 0.8, 0.2, 1);

  /* shadow */
  --sh-card:
    0 1px 2px rgba(11, 72, 21, 0.04), 0 8px 24px rgba(11, 72, 21, 0.06);
  --sh-card-hover:
    0 2px 4px rgba(11, 72, 21, 0.06), 0 16px 36px rgba(11, 72, 21, 0.1);
  --sh-navbar:
    0 1px 0 rgba(11, 72, 21, 0.08), 0 4px 16px rgba(11, 72, 21, 0.04);
}

/* ── 3. Reset (минимальный) + base ─────────────────────────────────────── */

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
dl,
dd,
figure,
fieldset,
legend {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}
button {
  font: inherit;
}
fieldset {
  border: 0;
  padding: 0;
}

body {
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--c-ink);
  background: var(--c-surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

/* ── 4. Typography rules (5 приёмов раздела 7 VISUAL_RESEARCH) ─────────── */

/* 4.1. Numerical stamping */
.stamp {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: var(--fs-stamp);
  line-height: var(--lh-hero);
  letter-spacing: var(--tr-hero);
  color: var(--c-primary);
  display: block;
}
.stamp--xl {
  font-size: var(--fs-stamp-xl);
}
.stamp--gold,
.stamp--inverse {
  color: var(--c-gold);
}

/* 4.2. Гротеск-разрядка / uppercase tracking */
.upcase {
  text-transform: uppercase;
  letter-spacing: var(--tr-uppercase);
}
.upcase--loose {
  letter-spacing: var(--tr-uppercase-loose);
}
.upcase--pillar {
  letter-spacing: var(--tr-uppercase-pillar);
}

/* 4.3. Marginalia */
.marginalia {
  font-family: var(--f-mono);
  font-size: var(--fs-tiny);
  line-height: var(--lh-tight);
  color: var(--c-ink-muted);
  letter-spacing: var(--tr-label);
}
.marginalia--strong {
  color: var(--c-ink);
}
.marginalia--surface {
  color: var(--c-surface);
}
.marginalia--14 {
  font-size: var(--fs-small);
}

/* 4.4. Initial cap (буквица) + 2-col justified */
.editorial-body {
  column-count: 2;
  column-gap: var(--s-7);
  text-align: justify;
  hyphens: auto;
  font-size: var(--fs-lead);
  line-height: var(--lh-body);
  color: var(--c-ink);
  max-width: 1100px;
}
.editorial-body p + p {
  margin-top: 1em;
}
.editorial-body p:first-child::first-letter {
  font-family: var(--f-display);
  font-weight: 700;
  color: var(--c-primary);
  font-size: 4.5em;
  line-height: 0.85;
  float: left;
  padding: 6px 12px 0 0;
  margin-top: 4px;
}
@media (max-width: 768px) {
  .editorial-body {
    column-count: 1;
  }
  .editorial-body p:first-child::first-letter {
    font-size: 3em;
  }
}

/* 4.5. Mono-spaced caption */
.mono {
  font-family: var(--f-mono);
}
.sup-label {
  font-family: var(--f-mono);
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: var(--tr-uppercase-loose);
  color: var(--c-ink);
  display: block;
  margin-bottom: var(--s-5);
}

/* ── 5. Layout primitives ──────────────────────────────────────────────── */

/* 5.1. Container */
.container {
  max-width: var(--cont-default);
  margin: 0 auto;
  padding: 0 var(--s-5);
}
.container--narrow {
  max-width: var(--cont-narrow);
}
.container--wide {
  max-width: var(--cont-wide);
}

/* 5.2. Section */
.section {
  padding: var(--s-9) 0;
}
.section--lg {
  padding: var(--s-10) 0;
}
.section--alt {
  background: var(--c-surface-alt);
}
@media (max-width: 768px) {
  .section,
  .section--lg {
    padding: var(--s-7) 0;
  }
}

/* 5.3. Chapter-row */
.chapter-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.4fr) 1fr;
  gap: var(--s-7);
  align-items: baseline;
  padding: var(--s-7) 0;
  border-bottom: 1px solid var(--c-border-soft);
}
.chapter-row:last-child {
  border-bottom: none;
}
.chapter-row__num {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(64px, 8vw, 96px);
  line-height: 1;
  color: var(--c-primary);
  letter-spacing: var(--tr-hero);
}
.chapter-row__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: var(--fs-h2);
  line-height: var(--lh-heading);
  color: var(--c-ink);
  text-transform: uppercase;
  letter-spacing: var(--tr-uppercase);
  margin-bottom: var(--s-4);
}
.chapter-row__body {
  font-size: var(--fs-lead);
  color: var(--c-ink-soft);
  max-width: 720px;
}
.chapter-row__link {
  display: inline-block;
  margin-top: var(--s-4);
  color: var(--c-primary);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 500;
}
@media (max-width: 768px) {
  .chapter-row {
    grid-template-columns: 1fr;
    gap: var(--s-3);
    padding: var(--s-6) 0;
  }
  .chapter-row__num {
    font-size: 56px;
  }
}

/* chapter-h2 (section heading) */
.chapter-h2 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: var(--fs-h2);
  line-height: var(--lh-heading);
  color: var(--c-ink);
  margin-bottom: var(--s-7);
  display: flex;
  align-items: baseline;
  gap: var(--s-5);
  flex-wrap: wrap;
}
.chapter-h2 .stamp {
  font-size: clamp(64px, 8vw, 120px);
  display: inline-block;
}

/* 5.4. Stamp-row */
.stamp-row {
  scroll-snap-align: start;
}
.stamp-row__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-7);
  align-items: center;
  min-height: 60vh;
}
.stamp-row__caption {
  font-size: var(--fs-h4);
  color: var(--c-ink-soft);
  line-height: var(--lh-tight);
  max-width: 520px;
}
.stamp-row__source {
  margin-top: var(--s-5);
}
@media (max-width: 768px) {
  .stamp-row__grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}

.chapters-stack {
  scroll-snap-type: y proximity;
}

/* 5.5. City-row */
.cities {
  border-top: 1px solid var(--c-border-soft);
}
.city-row {
  display: grid;
  grid-template-columns: minmax(280px, 0.5fr) 1fr;
  gap: var(--s-7);
  align-items: baseline;
  padding: var(--s-6) 0;
  border-bottom: 1px solid var(--c-border-soft);
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease-default);
  text-decoration: none;
  color: inherit;
}
.city-row:hover {
  background: var(--c-surface-alt);
}
.city-row__name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  color: var(--c-primary);
  text-transform: uppercase;
  letter-spacing: var(--tr-uppercase);
}
.city-row__num {
  display: inline-block;
  margin-right: var(--s-4);
  color: var(--c-ink-muted);
  font-weight: 500;
  font-family: var(--f-mono);
  font-size: 0.5em;
  vertical-align: middle;
}
.city-row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4) var(--s-5);
}
.city-row__meta dt {
  color: var(--c-ink-muted);
  display: inline;
  margin-right: var(--s-2);
}
.city-row__meta dd {
  display: inline;
  margin: 0;
  color: var(--c-ink);
}
@media (max-width: 768px) {
  .city-row {
    grid-template-columns: 1fr;
    gap: var(--s-3);
  }
}

/* 5.6. Ink-inverse */
.ink-inverse {
  background: var(--c-ink);
  color: var(--c-surface);
}
.ink-inverse .stamp {
  color: var(--c-gold);
}

/* 5.7. Divider-rule */
.divider-rule {
  border: none;
  border-top: 1px solid var(--c-border-soft);
  margin: 0;
}
.divider-rule--marked {
  position: relative;
  text-align: center;
  margin-bottom: var(--s-7);
}
.divider-rule--marked::after {
  content: attr(data-mark);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--c-surface);
  padding: 0 var(--s-4);
  font-family: var(--f-mono);
  font-size: var(--fs-tiny);
  color: var(--c-ink-muted);
  letter-spacing: var(--tr-uppercase-loose);
}
.ink-inverse .divider-rule--marked::after {
  background: var(--c-ink);
  color: var(--c-gold);
}
.ink-inverse .divider-rule {
  border-top-color: rgba(250, 247, 238, 0.15);
}

/* 5.8. CTA accent.gold */
.cta-gold {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-4) var(--s-6);
  background: var(--c-gold);
  color: var(--c-ink);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: var(--fs-h4);
  text-transform: uppercase;
  letter-spacing: var(--tr-uppercase);
  text-decoration: none;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition:
    background-color var(--t-default) var(--ease-default),
    color var(--t-default) var(--ease-default);
}
.cta-gold:hover {
  background: var(--c-gold-dark);
  color: var(--c-surface);
}

/* secondary cta (для калькулятора) */
.cta-secondary {
  display: inline-flex;
  align-items: center;
  padding: var(--s-3) var(--s-5);
  background: transparent;
  color: var(--c-primary);
  border: 1px solid var(--c-primary);
  border-radius: 4px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: var(--fs-body);
  cursor: pointer;
  transition:
    background-color var(--t-default) var(--ease-default),
    color var(--t-default) var(--ease-default);
}
.cta-secondary:hover {
  background: var(--c-primary);
  color: var(--c-surface);
}

/* ── 6. Navbar ─────────────────────────────────────────────────────────── */

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border-soft);
  height: 72px;
}
.navbar.is-scrolled {
  background: var(--c-surface-card);
  box-shadow: var(--sh-navbar);
}
.navbar__inner {
  display: flex;
  align-items: center;
  gap: var(--s-7);
  height: 100%;
}
.navbar__brand {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  text-decoration: none;
  color: var(--c-ink);
}
.navbar__brand img {
  width: 44px;
  height: 44px;
}
.navbar__brand-text {
  font-size: var(--fs-tiny);
  color: var(--c-ink);
}
.navbar__nav {
  margin-left: auto;
  display: flex;
  gap: var(--s-6);
}
.navbar__nav a {
  color: var(--c-ink);
  text-decoration: none;
  font-size: var(--fs-small);
  transition: color var(--t-fast) var(--ease-default);
}
.navbar__nav a:hover {
  color: var(--c-primary);
}
@media (max-width: 768px) {
  .navbar__nav {
    display: none;
  }
  .navbar__inner {
    gap: var(--s-4);
  }
}

/* ── 6.3. Геоселектор ──────────────────────────────────────────────────── */

.geoselector {
  position: relative;
}
.geoselector__trigger {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-2) var(--s-4);
  background: var(--c-primary-soft);
  color: var(--c-primary);
  border: none;
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: var(--fs-tiny);
  text-transform: uppercase;
  letter-spacing: var(--tr-label);
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease-default);
}
.geoselector__trigger:hover {
  background: var(--c-primary);
  color: var(--c-surface);
}
.geoselector__icon {
  display: inline-flex;
  width: 14px;
  height: 14px;
}
.geoselector__chevron {
  font-size: 10px;
  margin-left: var(--s-1);
}
.geoselector__dropdown {
  position: absolute;
  top: calc(100% + var(--s-2));
  left: 0;
  background: var(--c-surface-card);
  box-shadow: var(--sh-card-hover);
  margin: 0;
  padding: var(--s-3) 0;
  min-width: 280px;
  border-radius: 4px;
  z-index: 100;
}
.geoselector__dropdown[hidden] {
  display: none;
}
.geoselector__dropdown li button {
  width: 100%;
  text-align: left;
  padding: var(--s-3) var(--s-5);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--f-display);
  font-size: var(--fs-body);
  color: var(--c-ink);
  transition: background-color var(--t-fast) var(--ease-default);
}
.geoselector__dropdown li button:hover {
  background: var(--c-primary-soft);
  color: var(--c-primary);
}
.geoselector__dropdown li button.is-current {
  background: var(--c-primary-soft);
  color: var(--c-primary);
  font-weight: 600;
}
.geoselector__dropdown-hint {
  font-family: var(--f-mono);
  font-size: var(--fs-tiny);
  color: var(--c-ink-muted);
  padding: var(--s-3) var(--s-5);
  border-top: 1px solid var(--c-border-soft);
  margin-top: var(--s-2);
  letter-spacing: var(--tr-label);
}
.geoselector__dropdown-hint code {
  font-family: var(--f-mono);
  background: var(--c-surface-alt);
  padding: 1px 4px;
  border-radius: 2px;
}

/* ── 6.4. Footer ───────────────────────────────────────────────────────── */

.footer {
  background: var(--c-primary-deep);
  color: var(--c-surface);
  padding: var(--s-9) 0 var(--s-5);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--s-7);
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.footer__col a {
  display: block;
  color: var(--c-surface);
  text-decoration: none;
  padding: var(--s-2) 0;
  font-size: var(--fs-body);
  transition: color var(--t-fast) var(--ease-default);
}
.footer__col a:hover {
  color: var(--c-gold);
}
.footer__col img {
  width: 56px;
  height: 56px;
  margin-bottom: var(--s-3);
  filter: brightness(0) invert(1);
}
.footer__bottom {
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(250, 247, 238, 0.15);
}
@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

/* ── 7.1. Hero — manifesto (index) ─────────────────────────────────────── */

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero--manifesto {
  min-height: 100vh;
  background: var(--c-surface);
  padding: var(--s-9) 0 var(--s-7);
}
.hero--manifesto .stamp {
  margin: var(--s-5) 0 var(--s-3);
}
.hero__caption {
  font-size: var(--fs-h3);
  color: var(--c-ink);
  font-weight: 500;
  margin-bottom: var(--s-7);
  max-width: 800px;
}
.hero__source {
  margin-top: var(--s-7);
}
.hero__scroll {
  display: inline-block;
  margin-top: var(--s-5);
  color: var(--c-ink-muted);
  text-decoration: none;
  font-size: var(--fs-tiny);
}

/* ── 7.7. License grid (ink-inverse) ───────────────────────────────────── */

.license-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
  align-items: center;
}
.editorial-body--inverse {
  color: var(--c-surface);
  column-count: 1;
}
.editorial-body--inverse p:first-child::first-letter {
  color: var(--c-gold);
}
.license__links {
  margin-top: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.license__links a {
  color: var(--c-gold);
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (max-width: 768px) {
  .license-grid {
    grid-template-columns: 1fr;
  }
}

/* ── 7.8. CTA-section (pre-footer) ─────────────────────────────────────── */

.cta-section {
  background: var(--c-primary-dark);
  color: var(--c-surface);
  padding: var(--s-10) 0;
  text-align: center;
}
.cta-section__lead {
  font-size: var(--fs-h3);
  max-width: 800px;
  margin: 0 auto var(--s-7);
  line-height: var(--lh-tight);
}
.cta-section__source {
  margin-top: var(--s-5);
}

/* ── 8.1–8.2. Breadcrumbs + course hero ────────────────────────────────── */

.breadcrumbs {
  padding: var(--s-5) 0 0;
  font-size: var(--fs-tiny);
}
.breadcrumbs a {
  color: var(--c-ink-muted);
  text-decoration: none;
}
.breadcrumbs a:hover {
  color: var(--c-primary);
  text-decoration: underline;
}
.breadcrumbs span {
  color: var(--c-ink);
}

.hero--course {
  min-height: 80vh;
  padding: var(--s-9) 0 var(--s-7);
}
.course-h1 {
  font-size: var(--fs-hero);
  font-weight: 700;
  color: var(--c-primary);
  line-height: var(--lh-hero);
  margin: var(--s-5) 0;
  letter-spacing: var(--tr-hero);
}
.course-sub {
  font-size: var(--fs-h3);
  color: var(--c-ink-soft);
  max-width: 720px;
  margin-bottom: var(--s-7);
  line-height: var(--lh-tight);
}
.hero--course__price {
  margin-top: var(--s-4);
}
.hero--course__price em {
  font-style: normal;
  display: block;
  margin-top: var(--s-1);
  color: var(--c-ink-muted);
  opacity: 0.8;
}

/* ── 8.3. Programme accordion (модули) ─────────────────────────────────── */

.modules {
  border-top: 1px solid var(--c-border-soft);
}
.module {
  border-bottom: 1px solid var(--c-border-soft);
}
.module > summary {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: var(--s-5);
  align-items: baseline;
  padding: var(--s-5) 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--f-display);
}
.module > summary::-webkit-details-marker {
  display: none;
}
.module > summary::after {
  content: "+";
  position: absolute;
  right: 0;
  font-family: var(--f-mono);
  color: var(--c-primary);
  font-size: var(--fs-h3);
  line-height: 1;
}
.module {
  position: relative;
}
.module[open] > summary::after {
  content: "−";
}
.module__title {
  font-size: var(--fs-h4);
  font-weight: 600;
  color: var(--c-ink);
}
.module .mono {
  color: var(--c-ink-muted);
  font-size: var(--fs-small);
}
.module__body {
  padding: 0 0 var(--s-5) 80px;
  color: var(--c-ink-soft);
  max-width: 720px;
}
@media (max-width: 768px) {
  .module > summary {
    grid-template-columns: 40px 1fr;
  }
  .module > summary > .mono:last-child {
    grid-column: 2;
    color: var(--c-ink-muted);
    font-size: var(--fs-tiny);
    margin-top: var(--s-1);
  }
  .module__body {
    padding-left: var(--s-5);
  }
}

/* ── 8.5. Schedule table ───────────────────────────────────────────────── */

.schedule {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-small);
}
.schedule thead th {
  text-align: left;
  padding: var(--s-3) var(--s-4);
  border-bottom: 1px solid var(--c-border);
  font-family: var(--f-mono);
  text-transform: uppercase;
  letter-spacing: var(--tr-uppercase-loose);
  color: var(--c-ink-muted);
  font-weight: 400;
}
.schedule tbody td {
  padding: var(--s-4);
  border-bottom: 1px solid var(--c-border-soft);
  vertical-align: top;
}
.schedule tbody tr:hover {
  background: var(--c-surface);
}
.schedule .schedule__city {
  font-family: var(--f-display);
  font-weight: 600;
  color: var(--c-primary);
  text-transform: uppercase;
  letter-spacing: var(--tr-uppercase);
}

/* ── 8.7. FAQ ──────────────────────────────────────────────────────────── */

.faq-list {
  border-top: 1px solid var(--c-border-soft);
  max-width: 920px;
}
.faq-item {
  border-bottom: 1px solid var(--c-border-soft);
}
.faq-item > summary {
  padding: var(--s-5) 0;
  cursor: pointer;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: var(--fs-h4);
  color: var(--c-ink);
  list-style: none;
  position: relative;
  padding-right: 40px;
}
.faq-item > summary::-webkit-details-marker {
  display: none;
}
.faq-item > summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--f-mono);
  color: var(--c-primary);
  font-size: var(--fs-h3);
}
.faq-item[open] > summary::after {
  content: "−";
}
.faq-item__body {
  padding: 0 0 var(--s-5);
  color: var(--c-ink-soft);
  font-size: var(--fs-body);
  max-width: 800px;
}

/* ── 9.1. B2B hero ─────────────────────────────────────────────────────── */

.hero--b2b {
  min-height: 100vh;
  padding: var(--s-9) 0 var(--s-7);
  background: var(--c-surface);
}
.hero--b2b .stamp {
  margin: var(--s-5) 0 var(--s-3);
}
.hero--b2b__caption {
  font-size: var(--fs-h3);
  color: var(--c-ink);
  font-weight: 500;
  margin-bottom: var(--s-5);
}
.hero--b2b__h1 {
  font-size: var(--fs-h1);
  margin: var(--s-7) 0 var(--s-5);
  max-width: 920px;
  line-height: var(--lh-heading);
  letter-spacing: var(--tr-heading);
}
.editorial-body--narrow {
  column-count: 1;
  max-width: 720px;
  margin-bottom: var(--s-7);
}

/* ── 9.2. Direction table (7 направлений) ──────────────────────────────── */

.dir-table {
  border-top: 1px solid var(--c-border-soft);
}
.dir-row {
  display: grid;
  grid-template-columns: 80px minmax(220px, 0.4fr) 1fr;
  gap: var(--s-5);
  align-items: baseline;
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--c-border-soft);
}
.dir-row__num {
  font-size: var(--fs-h3);
  color: var(--c-primary);
  font-weight: 700;
  font-family: var(--f-mono);
}
.dir-row__title {
  font-size: var(--fs-h3);
  margin: 0;
  font-weight: 700;
  color: var(--c-ink);
}
.dir-row__body {
  color: var(--c-ink-soft);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}
.dir-row__body a {
  color: var(--c-primary);
  text-decoration: underline;
  text-underline-offset: 4px;
  margin-left: var(--s-2);
  white-space: nowrap;
}
@media (max-width: 768px) {
  .dir-row {
    grid-template-columns: 1fr;
    gap: var(--s-2);
  }
}

/* ── 9.4. Calculator ───────────────────────────────────────────────────── */

.calc {
  background: var(--c-surface-card);
  border: 1px solid var(--c-border);
  padding: var(--s-7);
  border-radius: 4px;
  max-width: 720px;
}
.calc legend {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: var(--fs-h3);
  color: var(--c-ink);
  margin-bottom: var(--s-5);
  padding: 0;
}
.calc label {
  display: block;
  margin-bottom: var(--s-4);
  font-family: var(--f-mono);
  font-size: var(--fs-tiny);
  text-transform: uppercase;
  letter-spacing: var(--tr-uppercase-loose);
  color: var(--c-ink-muted);
}
.calc input,
.calc select {
  display: block;
  width: 100%;
  margin-top: var(--s-2);
  padding: var(--s-3) var(--s-4);
  font: inherit;
  font-family: var(--f-display);
  font-size: var(--fs-body);
  color: var(--c-ink);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 4px;
  text-transform: none;
  letter-spacing: 0;
}
.calc input:focus,
.calc select:focus {
  outline: 2px solid var(--c-primary);
  outline-offset: -1px;
}
.calc__result {
  display: block;
  margin-top: var(--s-5);
  padding: var(--s-4);
  background: var(--c-primary-soft);
  border-radius: 4px;
  font-size: var(--fs-h4);
  color: var(--c-primary);
  font-weight: 600;
  min-height: 56px;
}
.calc .marginalia {
  margin-top: var(--s-4);
}

/* ── 9.7. KP form ──────────────────────────────────────────────────────── */

.kp-form {
  display: grid;
  gap: var(--s-3);
  margin: 0 auto var(--s-5);
  max-width: 480px;
}
.kp-form input,
.kp-form button {
  font-family: var(--f-display);
  font-size: var(--fs-body);
  padding: var(--s-3) var(--s-4);
  border-radius: 4px;
  border: none;
}
.kp-form input {
  background: var(--c-surface);
  color: var(--c-ink);
  border: 1px solid var(--c-border-soft);
}
.kp-form input:focus {
  outline: 2px solid var(--c-gold);
  outline-offset: -1px;
}
.kp-form button {
  cursor: pointer;
  margin-top: var(--s-3);
}

/* ── 10. Reveal-on-scroll ──────────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity var(--t-slow) var(--ease-default),
    transform var(--t-slow) var(--ease-default);
}
.reveal.is-revealed {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ── 11. Pin-аннотации (BRIEF.md § 4) ──────────────────────────────────── */

.pin-toggle {
  position: fixed;
  bottom: var(--s-5);
  right: var(--s-5);
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--c-primary);
  color: var(--c-surface);
  border: none;
  cursor: pointer;
  font-family: var(--f-mono);
  font-size: var(--fs-h4);
  font-weight: 700;
  box-shadow: var(--sh-card-hover);
  transition:
    background-color var(--t-fast) var(--ease-default),
    transform var(--t-fast) var(--ease-default);
}
.pin-toggle:hover {
  background: var(--c-primary-light);
  transform: scale(1.05);
}
.pin-toggle.is-on {
  background: var(--c-gold);
  color: var(--c-ink);
}

.pin {
  display: none;
  position: absolute;
  z-index: 80;
  background: var(--c-gold);
  color: var(--c-ink);
  font-family: var(--f-mono);
  font-size: var(--fs-tiny);
  text-transform: uppercase;
  letter-spacing: var(--tr-label);
  padding: var(--s-3) var(--s-4);
  border-radius: 4px;
  box-shadow: var(--sh-card);
  max-width: 280px;
  line-height: var(--lh-tight);
}
.pin::before {
  content: attr(data-pin);
  display: block;
  font-weight: 700;
  margin-bottom: var(--s-1);
  color: var(--c-primary-deep);
}
.pin-layer.is-on .pin {
  display: block;
}
.pin-anchor {
  position: relative;
}
.pin--top-left {
  top: 0;
  left: 0;
  transform: translate(-100%, -100%);
}
.pin--top-right {
  top: 0;
  right: 0;
  transform: translate(100%, -100%);
}
.pin--bottom-left {
  bottom: 0;
  left: 0;
  transform: translate(-100%, 100%);
}
.pin--bottom-right {
  bottom: 0;
  right: 0;
  transform: translate(100%, 100%);
}
@media (max-width: 1024px) {
  .pin {
    position: relative;
    transform: none !important;
    margin: var(--s-2) 0;
    max-width: none;
  }
}

/* ── 12. Misc ──────────────────────────────────────────────────────────── */

.is-hidden {
  display: none !important;
}
