/* ─── Refresh pass — overrides styles.css for the cut-down landing ─── */

/* 1. Type system: Spectral (serif display) + IBM Plex Sans (body) + IBM Plex Mono */
:root {
  --font-display: "Spectral", Georgia, "Times New Roman", serif;
  --font-body:    "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --font-serif:   "Spectral", Georgia, serif;
}
[data-fontpair="modern"],
[data-fontpair="contrast"],
[data-fontpair="book"],
[data-fontpair="mono"] {
  --font-display: "Spectral", Georgia, "Times New Roman", serif;
  --font-body:    "IBM Plex Sans", system-ui, sans-serif;
}

body {
  font-feature-settings: normal;
}

/* Display headings — serif with italic emphasis */
.h-display, .h1, .h2, .h3,
.dir .name,
.face-name, .step .ttl,
.event-title, .ed-month, .ed-day,
.faq-list summary,
.cta-banner h2,
.app-h, .word .a, .word .b,
.rc-card-title, .rc-card-meta dd,
.kc-latin, .kc-dir-name,
.brand,
.lm-label,
.face-q, .testi blockquote,
.dir-title {
  font-family: var(--font-display);
  font-feature-settings: "ss01";
}

.h-display {
  margin: 0;
  font-weight: 600;
  font-size: clamp(2rem, 1.1rem + 2.6vw, 3.9rem);
  letter-spacing: -0.02em;
  line-height: 1.04;
  text-wrap: balance;
}
.h-display em,
.hm-quote em,
.hm-yes em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  font-feature-settings: "ss01";
}

.h1 {
  font-weight: 600;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem);
  letter-spacing: -0.014em;
  line-height: 1.05;
}

/* Brand mark — keep sans for the disc */
.brand .mark { font-family: var(--font-body); font-weight: 700; }
.brand > span:last-child { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.004em; }

/* Buttons — sans, tighter */
.btn {
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: -0.004em;
}

/* Nav links */
.nav-links a { font-family: var(--font-body); letter-spacing: -0.002em; }
/* Scoped to beat `.nav-links a` specificity — otherwise the pill's label
   inherits --ink-2 and goes dark-on-dark against its --ink background. */
.nav-links a.nav-cta,
.nav-links a.nav-cta:hover { font-family: var(--font-body); font-weight: 500; color: var(--bg); }


/* 2. Hero — tighter, fits CTA in first screen */
/* Cap the height so a short hero isn't lost in a full-viewport cavern,
   while still filling most of the first screen on laptops. */
.hero { padding-top: 24px; padding-bottom: 48px; min-height: min(82vh, 680px); display: flex; align-items: center; }
.hero .wrap { width: 100%; }
.hero-top {
  grid-template-columns: 1.2fr .8fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 0;
}
/* Even, deliberate rhythm — flex gap is the single source of vertical spacing,
   so children must not add their own (UA) margins on top of it. */
.hero-meta { gap: 20px; padding-top: 0; min-width: 0; }
.hero-meta > * { margin: 0; }
/* Heading must never spill past its grid track into the manifest card —
   min-width:0 lets the track shrink, max-width:100% + wrapping keep text in. */
.h-display { max-width: 100%; overflow-wrap: break-word; }
.hero-cta { margin-top: 8px; }
.hero .lead { font-size: clamp(1.04rem, .94rem + .42vw, 1.24rem); max-width: 46ch; }

/* Hero manifest aside (replaces stock-photo mosaic) */
.hero-manifest {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.hero-manifest::before {
  content: "";
  position: absolute;
  top: -1px; left: 30px;
  width: 48px; height: 3px;
  background: var(--accent);
}
.hm-eyebrow {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hm-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.hm-list li {
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1.3;
  color: var(--ink);
  display: flex;
  gap: 12px;
  align-items: baseline;
  text-wrap: pretty;
}
.hm-list li em {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}
.hm-yes {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  width: 14px;
  flex-shrink: 0;
  line-height: 1;
  color: var(--accent);
}

@media (max-width: 920px) {
  .hero { min-height: 0; padding-top: 32px; padding-bottom: 40px; }
  .hero-top { grid-template-columns: 1fr; gap: 32px; }
}


/* 3. Direction cards — typographic, no SVG glyphs */
/* 9 directions → 3×3 grid: three even rows, no lonely card on its own row. */
.dir-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 880px) { .dir-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .dir-grid { grid-template-columns: 1fr; } }

.dir {
  padding: 24px 24px 20px;
  min-height: 280px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0;
  transition: border-color .25s, transform .25s, background .25s;
}
.dir > .num {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .18em;
  color: var(--ink-3);
  align-self: start;
}
.dir-glyph {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 10px 0 14px;
  pointer-events: none;
}
.dir-glyph span {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(5rem, 4rem + 3vw, 7rem);
  line-height: .82;
  letter-spacing: -0.04em;
  color: var(--ink);
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink) 65%, var(--accent) 65%, var(--accent) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: transform .35s cubic-bezier(.18,.74,.22,1);
}
.dir:hover .dir-glyph span { transform: translateY(-2px); }

.dir-body { display: flex; flex-direction: column; gap: 8px; }
.dir-cat {
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.dir .name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: -0.012em;
  line-height: 1.05;
  margin: 0;
}
.dir .desc {
  font-family: var(--font-body);
  font-size: .88rem;
  color: var(--ink-2);
  line-height: 1.45;
  margin: 4px 0 0;
  text-wrap: pretty;
}
.dir .meta {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dir .meta .cat {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .12em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.dir .meta .cnt {
  font-family: var(--font-mono);
  font-size: .9rem;
  color: var(--ink-3);
}
a.dir:hover .meta .cnt { color: var(--accent); transform: translateX(3px); }
.dir .meta .cnt { transition: transform .2s, color .2s; }

/* Active vs. forming */
.dir.is-soon { opacity: .82; }
.dir.is-soon::after {
  content: "формируется";
  position: absolute;
  top: 22px; right: 24px;
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: transparent;
  border: 0;
  padding: 0;
  border-radius: 0;
}

/* Active direction (Неглинка) — subtle accent */
a.dir:not(.is-soon) {
  border-color: var(--ink);
  position: relative;
}
a.dir:not(.is-soon)::after {
  content: "идёт набор";
  position: absolute;
  top: 22px; right: 24px;
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}
a.dir:not(.is-soon):hover { transform: translateY(-2px); }


/* 5. Method steps — adjust */
.step .ttl { font-weight: 600; letter-spacing: -0.008em; }


/* 6. FAQ summary — serif */
.faq-list summary { font-weight: 500; letter-spacing: -0.008em; }


/* 7. CTA — serif headline */
.cta-banner h2 { font-weight: 600; letter-spacing: -0.012em; }


/* 8. Section breathing */
section { padding-top: calc(88px * var(--dens)); padding-bottom: calc(88px * var(--dens)); }
section.tight { padding-top: calc(48px * var(--dens)); padding-bottom: calc(48px * var(--dens)); }
.sec-head { margin-bottom: 40px; }


/* 9. Hero pill — sans for "26 сентября", no wrap */
.hero-pill b { font-family: var(--font-body); font-weight: 600; }
.hero-pill { white-space: nowrap; }

/* Nav layout — keep on one line on common widths */
.brand { white-space: nowrap; flex-shrink: 0; }
.nav-links { gap: 22px; }
.nav-links a { white-space: nowrap; }
@media (max-width: 1080px) {
  .nav-links { gap: 18px; }
  .nav-links a { font-size: .88rem; }
}
@media (max-width: 960px) {
  .nav-links a:not(.nav-cta):nth-child(3) { display: none; }
}


/* 10. Eyebrow → keep mono but slightly smaller */
.eyebrow { font-size: .68rem; letter-spacing: .18em; }


/* 11. Footer brand */
.foot h4 { font-family: var(--font-body); }


/* 12. Drop heavy reveal on everything but key elements is handled in HTML */


/* 13. Опорный круг — фрейминг через новую типографику */
#cross { background: var(--bg); }
#cross .h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}
.cross-note {
  margin: 32px auto 0;
  padding: 18px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .94rem;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 640px;
  text-align: center;
  text-wrap: pretty;
}
.cross-note .mono {
  display: inline-block;
  margin-right: 8px;
  color: var(--ink);
  font-weight: 500;
}
.cross-note em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  font-size: 1.04em;
}

/* Тоньше визуально — карточки опоры с серифным заголовком */
.rc-card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-style: normal;
  letter-spacing: .04em;
}
.rc-card-meta dd {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
}

/* Центральный круг без фотографии — больше воздуха для SVG */
.rc-center { min-height: 220px; }
.rc-svg { max-width: 220px; max-height: 220px; }

/* Подвал круга — серифный италик */
.rc-foot {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: 1.15rem;
  letter-spacing: -0.008em;
}
.rc-foot-r { font-style: normal; font-weight: 600; color: var(--ink); }


/* ─── Direction page: logo plate + kicker (Граника) ───────────────── */
.dir-hero-id {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.dir-hero-id .dir-title { margin: 0; }
/* Let the title/kicker column shrink so a long kicker wraps instead of
   forcing the hero wider than the viewport (horizontal overflow on mobile). */
.dir-hero-id > :not(.dir-logo) { min-width: 0; }
.dir-kicker { overflow-wrap: break-word; }
.dir-logo {
  width: 116px; height: 116px;
  flex-shrink: 0;
  border-radius: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(26,23,20,.06);
}
.dir-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.dir-kicker {
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 10px;
}
@media (max-width: 560px) {
  .dir-logo { width: 76px; height: 76px; border-radius: 16px; }
  .dir-hero-id { gap: 16px; }
}

/* "Для кого" rows */
.for-row {
  display: flex; gap: 10px; align-items: baseline;
  font-size: .92rem; line-height: 1.4; color: var(--ink);
}
.for-mark { color: var(--accent); flex-shrink: 0; font-size: .8rem; }
@media (max-width: 560px) {
  .for-row { font-size: .88rem; }
}

/* (моб. коллапс сетки «Чем занимаемся» — см. .fmt-grid в разделе
   «Компоненты страниц управлений» внизу файла) */

/* Mobile overflow fix (applies to Неглинка + Граника dashboards): grid/flex
   children default to min-width:auto = min-content, so long event/material text
   forces the column — and the whole page — wider than the viewport. Let them
   shrink so the text wraps instead. */
.dash, .dash > .col { min-width: 0; }
.ev .body, .mat .ti { min-width: 0; }

/* ─── Direction card: logo glyph + leader line ────────────────────── */
.dir-glyph.has-logo {
  padding: 6px 0 12px;
}
.dir-glyph.has-logo img {
  width: 76px; height: 76px;
  object-fit: contain;
  display: block;
}
.dir-lead {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .03em;
  color: var(--ink-3);
  margin-top: 12px;
}
.dir-lead b { color: var(--ink-2); font-weight: 500; }


/* ─── Brand mark as ЯСНА emblem image (шапка и подвал — одинаково) ── */
.brand img.mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--line);
  font-size: 0;
}

/* ─── Бренд-локап: имя + описание под ним ──────────────────────────
   Один и тот же блок в шапке и в подвале всех страниц. */
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.15;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.004em;
  color: var(--ink);
}
.brand-sub {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: .58rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-3);
}
/* Ниже ~360px локап упирается в кнопку «Вступить» — прячем подпись.
   На 375px зазор ещё 48px, поэтому обычные телефоны её видят. */
@media (max-width: 359px) {
  .brand-sub { display: none; }
}


/* ─── Wordmark logo (ЛитПроСвет) — wider than an emblem; it carries the
   name itself, so the text .name is hidden on this card. ──────────────── */
.dir-glyph.has-wordmark {
  min-height: 76px;
  padding: 8px 0 12px;
  align-items: center;
  justify-content: flex-start;
}
.dir-glyph.has-wordmark img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 52px;
  object-fit: contain;
}
.dir.is-wordmark .name { display: none; }


/* ─── Tile logo (Ясна-Школа) — colored emblem on its own background,
   shown as a rounded app-icon-style badge. ───────────────────────────── */
.dir-glyph.has-tile { padding: 6px 0 12px; }
.dir-glyph.has-tile img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(26,23,20,.10);
}


/* ─── Alexandria page: photo gallery, video, voices ───────────────── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 20px 24px 24px;
}
.photo-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  background: var(--bg-deep);
}
@media (max-width: 680px) {
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-grid img { height: 150px; }
}

.video-box {
  padding: 22px 24px 24px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.video-box video {
  width: min(300px, 100%);
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  background: #000;
  flex-shrink: 0;
}
.video-note { flex: 1; min-width: 220px; }

.voice { padding: 20px 24px; border-bottom: 1px solid var(--line); }
.voice:last-child { border-bottom: 0; }
.voice blockquote {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.5;
  font-style: italic;
  color: var(--ink);
  text-wrap: pretty;
}
.voice-by {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-3);
}


/* ─── Обращение (вместо событийного баннера) ──────────────────────── */
.appeal {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 58px clamp(24px, 7vw, 100px) 54px;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.appeal::before {
  content: "";
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  width: 64px; height: 3px;
  background: var(--accent);
}
.appeal-emblem {
  width: 74px; height: 74px;
  border-radius: 50%;
  margin: 0 auto 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 0 0 7px color-mix(in oklab, var(--accent) 10%, transparent);
}
.appeal-emblem img { width: 100%; height: 100%; object-fit: cover; display: block; }
.appeal-eyebrow {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 30px;
}
.appeal-invoc { display: flex; flex-direction: column; gap: 8px; margin-bottom: 38px; }
.appeal-invoc p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 1rem + 1vw, 1.62rem);
  letter-spacing: -0.012em;
  line-height: 1.3;
  text-wrap: balance;
}
.appeal-invoc p em { font-style: italic; font-weight: 500; color: var(--accent); }
.appeal-body { max-width: 60ch; margin: 0 auto; text-align: left; }
.appeal-body p {
  margin: 0 0 18px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink-2);
  text-wrap: pretty;
}
.appeal-body p:last-child { margin-bottom: 0; }
.appeal-body b { font-weight: 600; color: var(--ink); }
/* Буквица в первом абзаце */
.appeal-lead p:first-child::first-letter {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 3.1em;
  line-height: .82;
  float: left;
  padding: 6px 12px 0 0;
  color: var(--accent);
}
.appeal-accent {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.35rem, 1.15rem + 1.2vw, 1.9rem);
  line-height: 1.35;
  letter-spacing: -0.012em;
  color: var(--ink);
  text-align: center;
  max-width: 26ch;
  margin: 36px auto;
  text-wrap: balance;
}
.appeal-accent .gold { color: var(--accent); }
.appeal-final { margin-bottom: 6px; }
@media (max-width: 560px) {
  .appeal { padding-top: 44px; padding-bottom: 40px; }
  .appeal-invoc { margin-bottom: 28px; }
  .appeal-accent { margin: 28px auto; }
}


/* ═══════════════════════════════════════════════════════════════════
   КОМПОНЕНТЫ СТРАНИЦ УПРАВЛЕНИЙ
   Единые классы вместо inline-стилей. Используются на neglinka /
   granika / alexandria. Новую страницу управления собирайте из них.
   ═══════════════════════════════════════════════════════════════════ */

/* Сетка «Чем занимаемся» — 4 формата работы */
.fmt-grid {
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 760px) { .fmt-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .fmt-grid { grid-template-columns: 1fr; } }
.fmt-num {
  font-family: var(--font-mono);
  color: var(--accent);
  letter-spacing: .12em;
  margin-bottom: 10px;
}
.fmt-title {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0 0 8px;
  font-size: 1.05rem;
}
.fmt-desc { margin: 0; font-size: .88rem; color: var(--ink-2); line-height: 1.5; }

/* Панель «О направлении» */
.about-body { padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.about-text { margin: 0; font-size: 1.02rem; line-height: 1.6; color: var(--ink); }
.mission-box { padding: 18px 20px; background: var(--bg-deep); border-radius: var(--radius); }
.mission-text {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.12rem;
  line-height: 1.4;
  font-style: italic;
}
.unique-text { margin: 0; font-size: .94rem; line-height: 1.55; color: var(--ink-2); }
.label-accent, .label-muted {
  font-family: var(--font-mono);
  letter-spacing: .12em;
  font-size: .7rem;
  margin-bottom: 8px;
}
.label-accent { color: var(--accent); }
.label-muted { color: var(--ink-3); }

/* Панель «Как присоединиться» — шаги I/II/III */
.join-body { padding: 22px 24px; display: flex; flex-direction: column; gap: 18px; }
.join-step { display: flex; gap: 14px; align-items: flex-start; }
.join-num {
  font-family: var(--font-mono);
  color: var(--accent);
  letter-spacing: .12em;
  flex-shrink: 0;
}
.join-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 4px;
}
.join-desc { margin: 0; font-size: .86rem; color: var(--ink-2); line-height: 1.5; }
.join-cta { margin-top: 6px; justify-content: center; }

/* Панель «Формат» — строки ключ-значение */
.kv-list { padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; }
.kv-row { display: flex; justify-content: space-between; gap: 16px; font-size: .92rem; }
.kv-row .kv-val { font-family: var(--font-display); text-align: right; }
.kv-line { height: 1px; background: var(--line); }


/* ─── День Ясны — событийный блок под Обращением ──────────────────── */
.day-banner {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(28px, 5vw, 64px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 56px);
}
@media (max-width: 920px) { .day-banner { grid-template-columns: 1fr; } }
.day-tag {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}
.day-date { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.day-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(4rem, 3rem + 4vw, 6rem);
  line-height: .9;
  letter-spacing: -0.03em;
}
.day-meta { display: flex; flex-direction: column; gap: 4px; }
.day-meta b {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.day-meta span {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.day-lead { margin: 0 0 24px; font-size: 1rem; line-height: 1.65; color: var(--ink-2); text-wrap: pretty; }
.day-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.day-eyebrow {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.day-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem);
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin: 0 0 20px;
}
.day-title .dim { color: var(--ink-3); font-weight: 500; }
.day-prog { list-style: none; margin: 0; padding: 0; counter-reset: prog; }
.day-prog li {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}
.day-prog li:first-child { border-top: 0; padding-top: 0; }
.day-prog .t {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  color: var(--accent);
  text-transform: uppercase;
  flex-shrink: 0;
  width: 74px;
}
.day-prog b {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.04rem;
  letter-spacing: -0.008em;
  margin-bottom: 2px;
}
.day-prog p { margin: 0; font-size: .88rem; line-height: 1.5; color: var(--ink-2); }
.day-note {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: .86rem;
  color: var(--ink-3);
}


/* Пилюля-ссылка у человека в списке .coord (TG руководителя и т.п.) */
.coord .link{padding:6px 12px;border:1px solid var(--line-strong);border-radius:999px;font-size:.74rem;font-family:var(--font-mono);letter-spacing:.06em;color:var(--ink-2);transition:background .15s,color .15s;white-space:nowrap}
.coord .link:hover{background:var(--ink);color:var(--bg);border-color:var(--ink)}


/* Аватар-фото в списке людей (.coord) — вместо инициалов */
.av.av-photo { overflow: hidden; padding: 0; }
.av.av-photo img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }


/* ─── Промо-ролик в hero страницы управления (Александрия) ─────────── */
.promo-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 6px 28px rgba(26,23,20,.12);
  border: 1px solid var(--line);
  background: #f7f3ea;
  line-height: 0;
}
.promo-video { width: 100%; height: auto; display: block; }
.promo-sound {
  position: absolute;
  right: 12px; bottom: 12px;
  padding: 7px 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(26,23,20,.72);
  color: #fbfaf6;
  font-family: var(--font-body);
  font-size: .8rem;
  cursor: pointer;
  line-height: 1;
  transition: background .2s;
}
.promo-sound:hover { background: rgba(26,23,20,.9); }

/* Статистика строкой под hero (когда правую колонку занял ролик) */
.dir-stats-row {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 28px;
}
.dir-stats-row .dir-stat { border-bottom: 0; }
.dir-stats-row .dir-stat:nth-child(2n) { border-right: 1px solid var(--line); }
.dir-stats-row .dir-stat:last-child { border-right: 0; }
@media (max-width: 720px) {
  .dir-stats-row { grid-template-columns: repeat(2, 1fr); }
  .dir-stats-row .dir-stat:nth-child(2n) { border-right: 0; }
  .dir-stats-row .dir-stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}


/* ─── Панель «Узоры родовой памяти» — два вертикальных видео рядом ── */
.video-duo-intro { padding: 20px 24px 0; }
.video-duo-intro p { margin: 0; font-size: .95rem; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.video-duo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 20px 24px 24px;
}
.video-duo figure { margin: 0; }
.video-duo video {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  background: #000;
  display: block;
}
.video-duo figcaption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.video-duo .dur-tag { color: var(--accent); }
@media (max-width: 480px) {
  .video-duo { grid-template-columns: 1fr; }
}


/* ─── Уважение к prefers-reduced-motion ───────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  /* показываем скрытые reveal-блоки сразу, без появления */
  .reveal { opacity: 1 !important; transform: none !important; }
}


/* ─── Каналы направления (Неглинка) ───────────────────────────────── */
.chan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 20px 24px 24px;
}
@media (max-width: 680px) { .chan-grid { grid-template-columns: 1fr; } }
.chan {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  transition: border-color .2s, transform .2s;
}
.chan:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.chan-plat {
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.chan-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.2;
  color: var(--ink);
}
.chan-go {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .06em;
  color: var(--accent);
  margin-top: 4px;
}


/* ─── Блок «Как участвовать» — четыре пути ────────────────────────── */
.ways-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 1000px) { .ways-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .ways-grid { grid-template-columns: 1fr; } }
.way {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 24px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .25s, transform .25s;
}
.way:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.way-num {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .18em;
  color: var(--ink-3);
}
.way-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.24rem;
  letter-spacing: -0.012em;
  line-height: 1.1;
  margin: 2px 0 0;
}
.way-desc {
  font-size: .88rem;
  color: var(--ink-2);
  line-height: 1.5;
  margin: 0;
  text-wrap: pretty;
  flex: 1;
}
.way-link {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .04em;
  color: var(--accent);
  margin-top: 8px;
}
.way-link:hover { color: var(--ink); }

/* Надстройка в подвале */


/* ─── Логотип-плашка в hero страницы направления (Ясна-Школа) ─────── */
.dir-logo.dir-logo-tile {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 20px;
  overflow: hidden;
}
.dir-logo.dir-logo-tile img { object-fit: cover; border-radius: 20px; }

/* Честная сноска о текущем состоянии направления */
.dir-note-quiet {
  margin: 28px 0 0;
  padding: 18px 22px;
  background: var(--bg-deep);
  border-radius: var(--radius);
  font-size: .92rem;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 760px;
}

/* Карточка направления: работает, но набор не ведётся */
a.dir.is-quiet::after {
  content: "работает";
  color: var(--ink-3);
}


/* ─── Страница заявки ─────────────────────────────────────────────── */
.zv-head { max-width: 620px; }
.zv-head .dir-title { margin-bottom: 16px; }
.zv-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 980px) { .zv-layout { grid-template-columns: 1fr; } }

/* Форма заявки встроена как Яндекс.Форма (iframe). Точка монтирования —
   .zv-mount; iframe создаётся скриптом внизу zayavka.html, embed.js
   подгоняет высоту. Пока форма грузится — показываем .zv-loading. */
.zv-mount { padding: 20px 20px 8px; min-height: 520px; }
.zv-mount iframe { width: 100%; border: 0; display: block; }
.zv-loading {
  margin: 0; padding: 24px 4px;
  font-family: var(--font-mono); font-size: .82rem;
  letter-spacing: .04em; color: var(--ink-3); line-height: 1.6;
}
.zv-loading a { color: var(--accent); white-space: nowrap; }
.zv-chan { grid-template-columns: 1fr; }
