/* ═══════════════════════════════════════════════════════════════════════
   /knigi/np.css — страницы книг (магазин). Единый слой стилей, собранный из трёх
   файлов пакета Claude Design «Неидеальный психотерапевт» (16.10.2026) в порядке
   каскада: np-styles.css (каркас) → np-theme.css (тема) → np-blocks.css (блоки).
   Итоговые значения макета сохранены. Отличия от пакета:
     · шрифты — локальные копии Google Fonts из /olt/assets/book-np/fonts/ (CDN нет);
     · фото героя и книги — через переменные --np-photo* / --np-still, чтобы вторая
       книга задала свои в инлайн-стиле страницы, не трогая этот файл;
     · блоки — дети <body>, а не #root (в пакете был React);
     · ≥1281 px герой берёт десктопный монтаж кадра (как блок #book-gift на /olt/);
     · высота героя — min-height, не height (решение автора 16.10);
     · удалены неиспользуемые секции каркаса (старое видео, about, method, figures, email).
   🔴 Сознательное исключение из дизайн-системы сайта: свои токены, свои шрифты.
   Не переводить на colors_and_type.css. При правке — бамп ?v во всех подключениях.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Шрифты: те же 10 файлов, что у блока книги на /olt/ ── */
@font-face{font-family:'EB Garamond';font-style:italic;font-weight:400 500;font-display:swap;src:url('/olt/assets/book-np/fonts/eb-garamond-italic-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'EB Garamond';font-style:italic;font-weight:400 500;font-display:swap;src:url('/olt/assets/book-np/fonts/eb-garamond-italic-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'EB Garamond';font-style:normal;font-weight:400 600;font-display:swap;src:url('/olt/assets/book-np/fonts/eb-garamond-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'EB Garamond';font-style:normal;font-weight:400 600;font-display:swap;src:url('/olt/assets/book-np/fonts/eb-garamond-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'IBM Plex Sans';font-style:italic;font-weight:400;font-stretch:100%;font-display:swap;src:url('/olt/assets/book-np/fonts/ibm-plex-sans-italic-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'IBM Plex Sans';font-style:italic;font-weight:400;font-stretch:100%;font-display:swap;src:url('/olt/assets/book-np/fonts/ibm-plex-sans-italic-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:400 600;font-stretch:100%;font-display:swap;src:url('/olt/assets/book-np/fonts/ibm-plex-sans-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:400 600;font-stretch:100%;font-display:swap;src:url('/olt/assets/book-np/fonts/ibm-plex-sans-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Noto Serif Display';font-style:normal;font-weight:300 700;font-stretch:62.5% 100%;font-display:swap;src:url('/olt/assets/book-np/fonts/noto-serif-display-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Noto Serif Display';font-style:normal;font-weight:300 700;font-stretch:62.5% 100%;font-display:swap;src:url('/olt/assets/book-np/fonts/noto-serif-display-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

/* ── Фото книги по умолчанию («Неидеальный психотерапевт»); вторая книга переопределит в своём <style> ── */
:root {
  --np-photo:         url('/olt/assets/book-np/hero-bg.webp?v=20261016');
  --np-photo-mobile:  url('/olt/assets/book-np/hero-bg-mobile.webp?v=20261016');
  --np-photo-desktop: url('/olt/assets/book-np/hero-bg-desktop.webp?v=20261016b');
  --np-still:         url('/knigi/neidealnyj-psihoterapevt/assets/book-still.webp?v=20261017');
}

/* ════════ 1/3 · КАРКАС (np-styles.css) ════════ */
/* ══════════════════════════════════════════════════════
   НЕИДЕАЛЬНЫЙ ПСИХОТЕРАПЕВТ — layout skeleton (colour-agnostic; all colours & fonts live in np-theme.css)
   ══════════════════════════════════════════════════════ */

/* ── Reset / base ── */
* { box-sizing: border-box; }
html, body { overflow-x: clip; }
body { margin: 0; }
img, video { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }

/* ── Container ── */
.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 32px; }

/* ── Section ── */
.section { padding: 64px 0; position: relative; }
.bg-cream { background: var(--bg-cream); }
.bg-warm  { background: var(--bg-warm); }
.bg-dark  { background: var(--bg-dark); color: var(--text-light); }

/* ── Progress bar ── */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  background: transparent; z-index: 100; pointer-events: none;
}
.progress-bar {
  height: 100%; width: 0%; background: var(--accent);
  transition: width 0.05s linear;
}

/* ── Eyebrow / labels ── */
.eyebrow {
  font-family: var(--font-body); font-weight: 500;
  font-size: 13px; letter-spacing: 2.5px; color: var(--accent);
  text-transform: uppercase; margin: 0 0 20px;
}

/* ── Headings ── */
.h2 {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(34px, 4.5vw, 52px); line-height: 1.1;
  letter-spacing: -0.5px; margin: 0 0 24px; color: var(--text-dark);
}
.h2 em { font-style: italic; color: var(--accent); }

.lead {
  font-family: var(--font-body); font-weight: 400;
  font-size: 21px; line-height: 1.55; color: var(--text-muted);
  max-width: 640px; margin: 0 0 40px;
}

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-weight: 500; font-size: 16px;
  padding: 16px 32px; border: 0; border-radius: 4px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  text-decoration: none; letter-spacing: 0.3px; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline {
  background: var(--surface); color: var(--text-dark);
  border: 1px solid var(--text-dark);
}
.btn-outline:hover { background: var(--text-dark); color: var(--surface); border-color: var(--text-dark); }
.btn-dark-outline {
  background: transparent; color: var(--text-light);
  border: 1px solid rgba(var(--text-light-rgb), 0.3);
}
.btn-dark-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ══════════════════════════════════════════════════════
   01 HERO — dark full-bleed
   ══════════════════════════════════════════════════════ */
.hero {
  padding: 0; position: relative;
  min-height: 760px; height: 100vh; max-height: 900px;
  background: var(--hero-bg);
  overflow: hidden;
  display: flex; align-items: center;
}
.hero--dark { color: var(--text-light); }
.hero-bg {
  position: absolute; inset: 0;
  background: var(--np-photo) center right / cover no-repeat var(--hero-bg);
  z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(var(--hero-bg-rgb), 0.95) 0%, rgba(var(--hero-bg-rgb), 0.82) 28%, rgba(var(--hero-bg-rgb), 0.45) 50%, rgba(var(--hero-bg-rgb), 0) 75%),
    radial-gradient(circle at 20% 50%, rgba(var(--hero-bg-rgb), 0.6) 0%, transparent 60%);
}
.hero .container { position: relative; z-index: 2; width: 100%; }
.hero-content { max-width: 560px; padding: 40px 0; }

.hero-eyebrow {
  color: var(--accent);
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(60px, 8vw, 104px);
  line-height: 0.92;
  letter-spacing: -2.5px;
  margin: 0 0 32px;
  text-transform: uppercase;
  color: var(--text-light);
}
.hero-title-top { display: block; color: var(--text-light); }
.hero-title-bottom { display: block; color: var(--accent); margin-top: 4px; }

.hero-sub {
  font-family: var(--font-serif);
  font-style: italic; font-weight: 500;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.35;
  color: var(--text-soft);
  margin: 0 0 40px;
  max-width: 500px;
}

.hero-meta--dark {
  border-top-color: rgba(var(--text-light-rgb), 0.18) !important;
  border-bottom-color: rgba(var(--text-light-rgb), 0.18) !important;
}
.hero-meta--dark .hero-meta-label { color: var(--text-muted-dark); }

.hero-meta {
  display: flex; gap: 48px; padding: 24px 0; margin: 8px 0 36px;
  border-top: 1px solid rgba(var(--text-light-rgb), 0.18);
  border-bottom: 1px solid rgba(var(--text-light-rgb), 0.18);
}
.hero-meta-item { display: flex; align-items: baseline; gap: 12px; }
.hero-num {
  font-family: var(--font-number); font-weight: 900;
  font-size: 38px; color: var(--accent); line-height: 1;
  letter-spacing: -1.5px;
}
.hero-meta-label {
  font-family: var(--font-body); font-size: 14px;
  color: var(--text-muted-dark); line-height: 1.3; max-width: 120px;
}
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

/* ══════════════════════════════════════════════════════
   06 FOR WHOM
   ══════════════════════════════════════════════════════ */
.who-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 2px; background: var(--border); margin-top: 48px;
}
.who-card {
  background: var(--surface); padding: 40px;
  display: flex; flex-direction: column; gap: 14px;
  transition: background 0.2s ease;
}
.who-card:hover { background: var(--bg-cream); }
.who-num {
  font-family: var(--font-number); font-weight: 900;
  font-size: 14px; letter-spacing: 2px; color: var(--accent);
}
.who-title {
  font-family: var(--font-serif); font-weight: 500; font-style: italic;
  font-size: 26px; line-height: 1.3; color: var(--text-dark); margin: 0;
}
.who-desc {
  font-family: var(--font-body); font-size: 16px; line-height: 1.65;
  color: var(--text-muted); margin: 0;
}
.who-note {
  margin-top: 48px; padding: 28px 36px;
  background: transparent; border-left: 3px solid var(--dont-red);
  max-width: 820px;
}
.who-note strong {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: 20px; color: var(--text-dark); display: block; margin-bottom: 12px;
}
.who-note p {
  font-family: var(--font-body); font-size: 15px; line-height: 1.7;
  color: var(--text-muted); margin: 0;
}
.who-note .phone {
  font-weight: 500; color: var(--text-dark);
}

/* ══════════════════════════════════════════════════════
   07 EXCERPT
   ══════════════════════════════════════════════════════ */
.excerpt {
  max-width: 780px; margin: 48px auto 0;
  padding: 56px 64px;
  background: var(--surface);
  border-radius: 8px; position: relative;
}
.excerpt::before {
  content: "«"; position: absolute; top: 20px; left: 32px;
  font-family: var(--font-serif); font-size: 72px; color: var(--accent-line);
  line-height: 1;
}
.excerpt p {
  font-family: var(--font-body); font-size: 18px; line-height: 1.75;
  color: var(--text-dark); margin: 0 0 22px;
}
.excerpt p:first-of-type {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: 22px; color: var(--text-dark); line-height: 1.45;
}
.excerpt--full { padding-bottom: 40px; }
.excerpt-cite {
  margin-top: 12px !important;
  font-family: var(--font-serif) !important;
  font-style: italic !important;
  color: var(--text-muted) !important;
  font-size: 15px !important;
  text-align: right;
}
.excerpt-actions { text-align: center; margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.excerpt-meta { font-family: var(--font-body); font-size: 13px; color: var(--text-muted); letter-spacing: 0.04em; }

/* ══════════════════════════════════════════════════════
   08 AUTHOR
   ══════════════════════════════════════════════════════ */
.author-inner {
  display: grid; grid-template-columns: 340px 1fr;
  gap: 72px; align-items: start; margin-top: 48px;
}
.author-portrait {
  width: 100%; aspect-ratio: 4/5; border-radius: 6px;
  background: var(--bg-deep);
  position: relative; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.18);
}
.author-portrait img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.92) contrast(1.02);
}
.author-portrait::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(var(--bg-deep-rgb),0.85) 100%);
  pointer-events: none;
}
.author-portrait-tag {
  position: absolute; bottom: 20px; left: 24px; right: 24px;
  font-family: var(--font-heading); font-weight: 700;
  font-size: 11px; letter-spacing: 2.5px; color: rgba(var(--surface-rgb),0.78);
  text-transform: uppercase; text-align: center;
  z-index: 1;
}
.author-role {
  font-family: var(--font-heading); font-weight: 700;
  font-size: 14px; letter-spacing: 3px; color: var(--accent);
  text-transform: uppercase; margin-bottom: 14px;
}
.author-name {
  font-family: var(--font-serif); font-weight: 500; font-style: italic;
  font-size: 52px; line-height: 1.05; color: var(--text-dark);
  margin: 0 0 32px; letter-spacing: -1px;
}
.author-creds {
  list-style: none; padding: 0; margin: 0 0 40px;
  font-family: var(--font-body); font-size: 15px; line-height: 1.65;
  color: var(--text-muted);
}
.author-creds li {
  padding-left: 24px; position: relative; margin-bottom: 10px;
}
.author-creds li::before {
  content: "—"; position: absolute; left: 0; color: var(--accent);
}
.author-essay p {
  font-family: var(--font-body); font-size: 17px; line-height: 1.7;
  color: var(--text-dark); margin: 0 0 18px;
}
.author-essay p:last-child {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: 19px; color: var(--text-dark); margin-top: 28px;
  padding-top: 24px; border-top: 1px solid var(--border);
}
.author-links {
  display: flex; gap: 28px; margin-top: 32px; flex-wrap: wrap;
}
.author-links a {
  font-family: var(--font-body); font-size: 15px; color: var(--accent);
  text-decoration: none; font-weight: 500;
  border-bottom: 1px solid rgba(var(--accent-rgb),0.3); padding-bottom: 3px;
  transition: border-color 0.2s ease;
}
.author-links a:hover { border-bottom-color: var(--accent); }

/* ══════════════════════════════════════════════════════
   09 FORMATS
   ══════════════════════════════════════════════════════ */
.formats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 48px; align-items: stretch;
}
.formats-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
.format-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; padding: 40px 36px;
  display: flex; flex-direction: column;
  position: relative;
}
.format-card--featured {
  border-color: var(--accent);
  box-shadow: 0 2px 0 var(--accent);
  transform: translateY(-8px);
}
.format-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--on-accent);
  font-family: var(--font-heading); font-weight: 700;
  font-size: 12px; letter-spacing: 2.5px;
  padding: 6px 14px; border-radius: 4px; text-transform: uppercase;
  white-space: nowrap;
}
.format-name {
  font-family: var(--font-serif); font-weight: 500; font-style: italic;
  font-size: 28px; color: var(--text-dark); margin: 0 0 28px;
}
.format-name + .format-sub { margin-top: -24px; }
.format-sub {
  font-family: var(--font-body); font-size: 13px; color: var(--text-muted);
  letter-spacing: 1px; text-transform: uppercase; margin: 0 0 28px;
}
.format-price {
  font-family: var(--font-number); font-weight: 900;
  font-size: 44px; color: var(--accent); line-height: 1;
  letter-spacing: -2px; margin: 0 0 32px;
}
.format-price .cur {
  font-size: 22px; color: var(--text-muted); margin-left: 4px;
}
.format-details {
  list-style: none; padding: 0; margin: 0 0 32px;
  display: flex; flex-direction: column; gap: 14px;
  font-family: var(--font-body); font-size: 15px;
  flex: 1;
}
.format-details li {
  display: flex; justify-content: space-between; gap: 16px;
  padding-bottom: 12px; border-bottom: 1px solid var(--border);
  color: var(--text-dark);
}
.format-details li:last-child { border-bottom: 0; padding-bottom: 0; }
.format-details .k { color: var(--text-muted); }
.format-details .v { font-weight: 500; text-align: right; }
.format-cta { margin-top: auto; }
.format-cta .btn { width: 100%; padding: 16px; }
.format-note {
  font-family: var(--font-body); font-style: italic; font-size: 13px;
  color: var(--text-muted); margin-top: 12px; text-align: center;
}
.formats-legal {
  max-width: 780px; margin: 40px auto 0;
  font-family: var(--font-body); font-size: 14px; line-height: 1.6;
  color: var(--text-muted); text-align: center;
}

/* ══════════════════════════════════════════════════════
   11 FAQ
   ══════════════════════════════════════════════════════ */
.faq {
  max-width: 820px; margin: 48px auto 0;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; background: transparent; border: 0;
  padding: 24px 0; position: relative;
  font-family: var(--font-serif); font-weight: 500; font-style: italic;
  font-size: 22px; line-height: 1.35; color: var(--text-dark);
  transition: color 0.2s ease;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  cursor: pointer;
}
.faq-q:hover { color: var(--accent); }
.faq-q:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 4px;
  border-radius: 4px;
}
.faq-q-text { flex: 1; text-wrap: pretty; }
.faq-chev {
  flex-shrink: 0;
  color: var(--accent);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.open .faq-chev { transform: rotate(180deg); }

.faq-a {
  max-height: 0; overflow: hidden; opacity: 0;
  transition:
    max-height 0.32s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.2s ease-out 0.08s;
}
.faq-a[hidden] { display: block; }
.faq-item.open .faq-a {
  max-height: 1400px;
  opacity: 1;
}
.faq-a-inner {
  padding: 0 56px 28px 0;
  font-family: var(--font-body); font-size: 17px; line-height: 1.7;
  color: var(--text-muted);
}
.faq-a-inner b { color: var(--text-dark); font-weight: 600; }
.faq-a-inner em {
  font-family: var(--font-serif); font-style: italic;
  color: var(--text-dark);
}
.faq-a-inner a {
  color: var(--accent); text-decoration: none;
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.35);
  padding-bottom: 1px;
}
.faq-a-inner a:hover { border-bottom-color: var(--accent); }

/* "Не нашли ответ?" — contact card after Q9 */
.faq-contact {
  margin-top: 40px;
  padding: 36px 40px;
  background: var(--bg-cream);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.faq-contact-title {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: 30px; line-height: 1.2;
  color: var(--text-dark); margin: 0 0 12px;
  letter-spacing: -0.3px;
}
.faq-contact-sub {
  font-family: var(--font-body); font-size: 17px; line-height: 1.55;
  color: var(--text-muted); margin: 0 0 24px;
  max-width: 520px;
}
.faq-contact-links {
  display: flex; flex-direction: column; gap: 4px;
}
.faq-contact-link {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 12px 0;
  font-family: var(--font-body); font-size: 17px; font-weight: 500;
  color: var(--text-dark); text-decoration: none;
  min-height: 48px;
  transition: color 0.2s ease;
}
.faq-contact-link svg {
  color: var(--accent); flex-shrink: 0;
}
.faq-contact-link:hover { color: var(--accent); }

/* ══════════════════════════════════════════════════════
   12 FINAL CTA — dark
   ══════════════════════════════════════════════════════ */
.cta {
  background: var(--bg-dark); padding: 80px 0 64px;
  position: relative; overflow: hidden; text-align: center;
}
.cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 30%, rgba(var(--accent-rgb),0.18) 0%, transparent 55%);
}
.cta-inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; padding: 0 32px; }
.cta-label {
  font-family: var(--font-heading); font-weight: 700;
  font-size: 14px; letter-spacing: 3.5px; color: var(--accent);
  text-transform: uppercase; margin-bottom: 32px;
}
.cta-title {
  font-family: var(--font-serif); font-weight: 500; font-style: italic;
  font-size: clamp(36px, 5.5vw, 64px); color: var(--text-light);
  line-height: 1.1; letter-spacing: -1px; margin: 0 0 28px;
}
.cta-title em { color: var(--accent); }
.cta-sub {
  font-family: var(--font-body); font-size: 19px; color: var(--text-muted-dark);
  max-width: 560px; margin: 0 auto 48px; line-height: 1.6;
}
.cta-actions {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════════
/* ══════════════════════════════════════════════════════
   13 THERAPY CTA  (pre-footer, light cream block)
   Visually separate from purchase CTA above and dark footer below.
   ══════════════════════════════════════════════════════ */
.therapy-cta {
  background: var(--bg-warm);
  padding: 64px 0;
  border-top: 1px solid var(--border);
}
.therapy-cta-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 64px;
  padding: 56px 64px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  box-shadow: 0 1px 0 rgba(var(--ink-rgb), 0.04);
}
.therapy-cta-card:hover {
  box-shadow: 0 12px 32px rgba(var(--ink-rgb), 0.08);
  transform: translateY(-2px);
}
.therapy-cta-card:hover .therapy-cta-btn {
  background: var(--accent); color: var(--on-accent);
}
.therapy-cta-card:hover .therapy-cta-btn svg {
  transform: translateX(4px);
}
.therapy-cta-eyebrow {
  font-family: var(--font-heading); font-weight: 700;
  font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.therapy-cta-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: 40px; line-height: 1.1; letter-spacing: -0.5px;
  color: var(--text-dark); margin: 0 0 20px;
  text-wrap: pretty;
}
.therapy-cta-title em {
  font-family: var(--font-serif); font-style: italic;
  color: var(--accent); font-weight: 500;
}
.therapy-cta-sub {
  font-family: var(--font-body); font-size: 16px; line-height: 1.65;
  color: var(--text-muted); margin: 0 0 14px; max-width: 580px;
}
.therapy-cta-sub:last-child { margin-bottom: 0; }
.therapy-cta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 28px;
  background: transparent; color: var(--accent);
  border: 1.5px solid var(--accent); border-radius: 2px;
  font-family: var(--font-heading); font-weight: 600;
  font-size: 15px; letter-spacing: 0.3px;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease;
}
.therapy-cta-btn svg { transition: transform 0.25s ease; }
@media (max-width: 820px) {
  .therapy-cta { padding: 64px 0; }
  .therapy-cta-card {
    grid-template-columns: 1fr;
    padding: 40px 32px;
    gap: 28px;
  }
  .therapy-cta-title { font-size: 30px; }
  .therapy-cta-btn { width: 100%; justify-content: center; }
}

/* ══════════════════════════════════════════════════════
   14 FOOTER
   ══════════════════════════════════════════════════════ */
.footer {
  background: var(--bg-dark-deep); color: var(--text-muted-dark);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 48px; margin-bottom: 64px;
}
.footer-grid--3 {
  grid-template-columns: 1.1fr 1fr 1.2fr;
}
.footer-col h4 {
  font-family: var(--font-heading); font-weight: 700;
  font-size: 13px; letter-spacing: 2.5px; color: var(--accent);
  text-transform: uppercase; margin: 0 0 20px;
}
.footer-col ul {
  list-style: none; padding: 0; margin: 0;
  font-family: var(--font-body); font-size: 14px; line-height: 2;
}
.footer-col a {
  color: var(--text-muted-dark); text-decoration: none;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--accent); }
.footer-col .muted-dark {
  font-family: var(--font-body); font-size: 13px;
  color: var(--text-muted-dark); line-height: 1.7;
  font-style: italic; opacity: 0.7;
}
.footer-bottom {
  padding-top: 28px; border-top: 1px solid rgba(var(--text-muted-dark-rgb), 0.1);
  font-family: var(--font-body); font-size: 12px; line-height: 1.7;
  color: var(--text-muted-dark); opacity: 0.7;
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════════
   FLOATING BUY BUTTON (desktop) + MOBILE BOTTOM BAR
   ══════════════════════════════════════════════════════ */
.buy-float {
  position: fixed; bottom: 32px; right: 32px; z-index: 50;
  background: var(--accent); color: var(--on-accent);
  padding: 16px 24px; border-radius: 4px; border: 0;
  font-family: var(--font-body); font-weight: 500; font-size: 15px;
  box-shadow: 0 10px 30px rgba(var(--ink-rgb), 0.25);
  transition: background 0.2s ease, transform 0.3s ease, opacity 0.3s ease;
  opacity: 0; transform: translateY(20px); pointer-events: none;
  display: flex; align-items: center; gap: 10px;
}
.buy-float.visible {
  opacity: 1; transform: translateY(0); pointer-events: auto;
}
.buy-float:hover { background: var(--accent-dark); }

.mobile-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
  background: var(--surface); border-top: 1px solid var(--border);
  padding: 12px 16px; display: none; gap: 8px;
  box-shadow: 0 -4px 16px rgba(var(--ink-rgb), 0.08);
}
.mobile-bar .btn { flex: 1; padding: 14px; font-size: 14px; }

/* ══════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════ */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr 0.85fr; gap: 56px; }
  .author-inner { gap: 48px; grid-template-columns: 280px 1fr; }
  .about-grid { gap: 56px; }
}

@media (max-width: 860px) {
  .section { padding: 48px 0; }
  .hero { min-height: 620px; height: auto; padding: 72px 0; }
  .hero-bg { background-position: 70% center; }
  .hero-overlay {
    background: linear-gradient(180deg, rgba(var(--hero-bg-rgb), 0.92) 0%, rgba(var(--hero-bg-rgb), 0.78) 55%, rgba(var(--hero-bg-rgb), 0.5) 100%);
  }
  .hero-content { max-width: 100%; padding: 20px 0; }
  .hero-meta { gap: 24px; flex-wrap: wrap; }
  .about-grid { grid-template-columns: 1fr; }
  .about-aside { border-left: 0; border-top: 3px solid var(--accent); padding: 32px 0 0; }
  .method-grid { grid-template-columns: 1fr; }
  .method-step { border-right: 0; border-bottom: 1px solid var(--border);
    padding: 32px 0 !important; }
  .method-step:last-child { border-bottom: 0; }
  .method-flow { flex-direction: column; gap: 12px; }
  .figures-grid { grid-template-columns: 1fr; }
  .who-grid { grid-template-columns: 1fr; }
  .excerpt { padding: 40px 28px; }
  .author-inner { grid-template-columns: 1fr; gap: 32px; }
  .author-portrait { max-width: 280px; }
  .author-name { font-size: 40px; }
  .formats-grid { grid-template-columns: 1fr; }
  .formats-grid--4 { grid-template-columns: 1fr; }
  .format-card--featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .faq-q { font-size: 19px; padding: 24px 40px 24px 0; }

  .buy-float { display: none; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 72px; }
}

/* ══════════════════════════════════════════════════════
   MOBILE PASS — comprehensive ≤767px
   Per ТЗ · Мобильная адаптация
   ══════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  /* Container & section spacing */
  .container, .container-narrow { padding: 0 20px; }
  .section { padding: 44px 0; }

  /* Typography — body never below 16px on mobile */
  .lead { font-size: 17px; line-height: 1.55; }
  .eyebrow { font-size: 12px; letter-spacing: 2px; margin-bottom: 16px; }

  /* Hero — keep dark fullbleed but tighter spacing & meta cards */
  .hero { min-height: 0; height: auto; padding: 80px 0 56px; }
  .hero-title { font-size: 56px !important; line-height: 0.95; }
  .hero-sub { font-size: 18px; max-width: 100%; }
  .hero-meta {
    gap: 12px; padding: 20px 0;
    display: grid !important; grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(var(--text-light-rgb), 0.15);
    border-bottom: 1px solid rgba(var(--text-light-rgb), 0.15);
  }
  .hero-meta-item {
    flex-direction: column; align-items: flex-start;
    gap: 6px; padding: 4px 0;
  }
  .hero-num { font-size: 32px; }
  .hero-meta-label {
    font-size: 12px; line-height: 1.25; max-width: none;
  }
  .hero-actions { flex-direction: column; gap: 12px; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  /* Buttons — touch targets */
  .btn { font-size: 16px; padding: 16px 24px; min-height: 52px; }
  .btn-primary { font-size: 17px; min-height: 56px; }

  /* Video — bigger play button on mobile */
  .video-wrap { margin-top: 32px; border-radius: 12px; }
  .video-play {
    width: 72px; height: 72px;
    left: 50%; top: 50%; bottom: auto;
    transform: translate(-50%, -50%);
  }
  .video-play:hover { transform: translate(-50%, -50%) scale(1.04); }
  .video-time { bottom: 16px; right: 16px; font-size: 13px; }
  .video-caption { font-size: 14px; margin-top: 16px; }

  /* About — typography */
  .about-aside-cite { font-size: 14px; }

  /* Methodology — vertical flow + bigger card content */
  .method-step { padding: 28px 0 !important; }
  .method-desc { font-size: 16px; }
  .method-insight { font-size: 16px; }
  .method-flow-node { font-size: 13px; letter-spacing: 2px; }

  /* Figures (Three Images) — single column with bigger desc */
  .figure-card { padding: 32px 24px; }
  .figure-label { font-size: 13px; margin-bottom: 24px; }
  .figure-desc { font-size: 16px; }

  /* For Whom — single column, blocks of 4 + crisis card */
  .who-card { padding: 28px 24px; }
  .who-num { font-size: 13px; }
  .who-note p { font-size: 16px; }

  /* Excerpt — comfortable reading width */
  .excerpt { padding: 36px 24px; border-radius: 8px; }

  /* Author — photo on top */
  .author-portrait { max-width: 100%; height: auto; max-height: 360px; }
  .author-creds { font-size: 16px; }
  .author-links a { font-size: 16px; }
  .author-name { font-size: 36px !important; }
  .author-role { font-size: 13px; }

  /* Formats — paperback first on mobile via flex order */
  .formats-grid {
    display: flex !important; flex-direction: column; gap: 16px;
  }
  .format-card { padding: 32px 24px; }
  .format-card--featured { order: -1; }
  .format-card .btn { width: 100%; }
  .format-list { font-size: 16px; }

  /* Email capture — stack input + button */
  .formats-legal { font-size: 14px; }

  /* Final CTA */
  .cta-label { font-size: 13px; letter-spacing: 2.5px; margin-bottom: 24px; }
  .cta-actions { flex-direction: column; gap: 12px; align-items: stretch; }
  .cta-actions .btn { width: 100%; }

  /* FAQ — bigger touch targets */
  .faq-q {
    font-size: 18px !important;
    padding: 18px 0 !important;
    min-height: 56px;
    line-height: 1.4;
    gap: 16px;
  }
  .faq-a-inner { font-size: 16px; padding-right: 0; }
  .faq-contact {
    padding: 24px 22px;
    border-radius: 12px;
    margin-top: 28px;
  }
  .faq-contact-title { font-size: 24px; }
  .faq-contact-sub { font-size: 16px; margin-bottom: 18px; }
  .faq-contact-link { font-size: 16px; }

  /* Therapy CTA — tighter */
  .therapy-cta-title { font-size: 26px; }
  .therapy-cta-sub { font-size: 15px; }

  /* Footer — single column */
  .footer { padding: 56px 0 24px; }
  .footer-grid { grid-template-columns: 1fr !important; gap: 36px !important; margin-bottom: 40px; }
  .footer-col h4 { font-size: 12px; margin-bottom: 14px; }
  .footer-col ul { font-size: 16px; line-height: 1.9; }
  .footer-col .muted-dark { font-size: 15px; }
  .footer-bottom {
    flex-direction: column; gap: 12px; align-items: flex-start;
    font-size: 13px;
  }

  /* Sticky bottom bar — safe-area aware */
  .mobile-bar {
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    gap: 10px;
  }
  .mobile-bar .btn {
    flex: 1; padding: 14px 12px;
    font-size: 14px; min-height: 52px;
  }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }

  /* Forms modal — mobile field sizing (16px to prevent iOS zoom) */
  .fmodal-input { font-size: 16px; padding: 16px; min-height: 56px; }
  .fmodal-submit { min-height: 56px; font-size: 17px; }
  .fmodal-check { font-size: 14px; }
  .fmodal-row-sub { font-size: 14px; }
}

@media (max-width: 520px) {
  .container, .container-narrow { padding: 0 20px; }
  .hero-meta { gap: 16px; padding: 20px 0; }
  .hero-num { font-size: 32px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .excerpt::before { display: none; }
}

/* ══════════════════════════════════════════════════════
   FORMATS MODAL
   ══════════════════════════════════════════════════════ */
.fmodal-backdrop {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(var(--ink-rgb), 0.6);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: fmodal-fade 0.18s ease;
}
@keyframes fmodal-fade {
  from { opacity: 0; } to { opacity: 1; }
}
.fmodal {
  position: relative;
  background: var(--bg-warm);
  border-radius: 8px;
  max-width: 640px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  padding: 48px 48px 40px;
  box-shadow: 0 24px 60px rgba(var(--ink-rgb), 0.3);
}
.fmodal-close {
  position: absolute; top: 16px; right: 20px;
  width: 36px; height: 36px;
  border: none; background: transparent;
  font-size: 32px; line-height: 1; cursor: pointer;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.fmodal-close:hover { color: var(--text-dark); }
.fmodal-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 40px; line-height: 1.1;
  letter-spacing: -1px;
  color: var(--text-dark);
  margin: 0 0 32px 0;
}
.fmodal-title em {
  font-style: italic;
  color: var(--accent);
}
.fmodal-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: 12px;
}
.fmodal-row {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-cream);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.fmodal-row:hover { border-color: var(--text-muted); }
.fmodal-row:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.fmodal-row--featured { box-shadow: 0 2px 0 var(--accent); }
.fmodal-row--selected {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 2px var(--accent);
}
.fmodal-radio {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--text-muted);
  position: relative;
  transition: border-color 0.18s ease;
}
.fmodal-row--selected .fmodal-radio { border-color: var(--accent); }
.fmodal-row--selected .fmodal-radio::after {
  content: ""; position: absolute; inset: 3px;
  border-radius: 50%; background: var(--accent);
}
.fmodal-row--soon { opacity: 0.7; }
.fmodal-row--soon .fmodal-radio { display: none; }
.fmodal-row--soon { grid-template-columns: 1fr auto; }
.fmodal-row--soon { cursor: not-allowed; }

.fmodal-form {
  margin-top: 24px;
  display: flex; flex-direction: column; gap: 16px;
}
.fmodal-field { display: flex; flex-direction: column; gap: 8px; }
.fmodal-field-label {
  font-family: var(--font-heading); font-weight: 700;
  font-size: 12px; letter-spacing: 2.5px;
  color: var(--text-muted); text-transform: uppercase;
}
.fmodal-input {
  font-family: var(--font-body); font-size: 16px;
  color: var(--text-dark);
  background: var(--bg-cream);
  border: 1px solid var(--border); border-radius: 6px;
  padding: 14px 16px; width: 100%;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.fmodal-input:focus {
  outline: none; border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.15);
}
.fmodal-check {
  display: flex; align-items: flex-start; gap: 12px;
  font-family: var(--font-body); font-size: 14px;
  color: var(--text-muted); line-height: 1.5;
  cursor: pointer;
}
.fmodal-check input[type="checkbox"] {
  flex-shrink: 0; margin-top: 3px;
  width: 18px; height: 18px;
  accent-color: var(--accent);
  cursor: pointer;
}
.fmodal-check a { color: var(--accent); text-decoration: underline; }
.fmodal-error {
  background: rgba(var(--dont-red-rgb), 0.08);
  border: 1px solid rgba(var(--dont-red-rgb), 0.25);
  color: var(--dont-red);
  padding: 12px 16px; border-radius: 6px;
  font-family: var(--font-body); font-size: 14px;
}
.fmodal-submit {
  width: 100%; padding: 18px 24px;
  font-size: 17px; font-weight: 600;
  letter-spacing: 0.5px;
  margin-top: 4px;
}
.fmodal-submit:disabled {
  opacity: 0.5; cursor: not-allowed;
  filter: grayscale(0.3);
}

/* NotifyModal — narrow popup for "Сообщить о выходе" */
.fmodal--narrow { max-width: 480px; }
.notify-lead {
  font-family: var(--font-body);
  font-size: 16px; line-height: 1.55;
  color: var(--text-muted);
  margin: 0 0 24px;
}
.notify-done { text-align: center; }
.notify-check {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent);
  display: inline-flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
}
.notify-check svg { width: 32px; height: 32px; }
.notify-done .notify-lead b { color: var(--text-dark); }

.fmodal-row-main { min-width: 0; }
.fmodal-row-name {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.fmodal-row-sub {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
}
.fmodal-row-price {
  font-family: var(--font-numeral);
  font-weight: 900;
  font-size: 22px;
  color: var(--text-dark);
  white-space: nowrap;
}
.fmodal-row-btn {
  padding: 10px 18px;
  font-size: 14px;
  white-space: nowrap;
}
.fmodal-legal {
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}
@media (max-width: 600px) {
  .fmodal { padding: 32px 24px 28px; }
  .fmodal-title { font-size: 30px; }
  .fmodal-row {
    grid-template-columns: 1fr auto;
    grid-template-areas: "main price" "btn btn";
    gap: 12px 16px;
    padding: 18px 18px;
  }
  .fmodal-row-main { grid-area: main; }
  .fmodal-row-price { grid-area: price; }
  .fmodal-row-btn { grid-area: btn; width: 100%; text-align: center; }
}

/* ════════ 2/3 · ТЕМА (np-theme.css) ════════ */
/* ═══════════════════════════════════════════════════════════
   НЕИДЕАЛЬНЫЙ ПСИХОТЕРАПЕВТ — тема
   Все цвета и шрифты — в :root ниже. Каркас (np-styles.css)
   цветов не содержит: тема задаётся переопределением переменных.
   ═══════════════════════════════════════════════════════════ */

:root {
  /* ── Акцент: золото (как «НЕ» на обложке) ── */
  --accent:              #C8792A;
  --accent-dark:         #A66220;
  --accent-rgb:          200, 121, 42;
  --accent-soft:         rgba(200, 121, 42, 0.08);
  --accent-line:         rgba(200, 121, 42, 0.22);
  --border-accent:       rgba(200, 121, 42, 0.22);
  --on-accent:           #FFFFFF;          /* текст на оранжевой кнопке */
  --kintsugi:            #D98A3A;          /* трещины-кинцуги */
  --kintsugi-glow:       rgba(217, 138, 58, 0.55);

  /* ── Тёмные поверхности: сине-графит ── */
  --hero-bg:             #0B1015;
  --hero-bg-rgb:         11, 16, 21;
  --bg-dark:             #161C25;          /* финальный CTA */
  --bg-dark-deep:        #0F141B;          /* футер */
  --bg-deep:             #0B0F14;          /* подложки фото/видео */
  --bg-deep-rgb:         11, 15, 20;
  --ink-rgb:             20, 26, 34;       /* тени, затемнения */
  --warm-light-rgb:      255, 180, 110;    /* тёплый направленный свет */

  /* ── Светлые поверхности: молочные, холоднее крема первой книги ── */
  --bg-warm:             #F1F0EC;
  --bg-cream:            #F7F6F2;
  --surface:             #FFFFFF;
  --surface-rgb:         255, 255, 255;

  /* ── Текст ── */
  --text-dark:           #1E242D;
  --text-muted:          #6B717B;
  --text-light:          #F4F1EA;          /* молочно-белый на тёмном */
  --text-light-rgb:      244, 241, 234;
  --text-soft:           #CFCBC2;          /* подзаголовок героя */
  --text-muted-dark:     #A9ABAE;
  --text-muted-dark-rgb: 169, 171, 174;

  /* ── Линии и семантика ── */
  --border:              #E2E1DC;
  --do-green:            #5A9A6E;
  --dont-red:            #A3473B;
  --dont-red-rgb:        163, 71, 59;

  /* ── Шрифты ── */
  --font-serif:          'EB Garamond', 'Cormorant', Georgia, 'Times New Roman', serif;  /* классическая антиква — заголовки, цитаты */
  --font-display:        var(--font-serif);
  --font-title:          'Noto Serif Display', var(--font-serif);                      /* название книги — узкая антиква, как на обложке */
  --title-stretch:       78%;
  --font-heading:        var(--font-serif);                                            /* разреженные капители */
  --font-number:         var(--font-serif);
  --font-body:           'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --caps-tracking:       0.26em;

  /* ── Прочее ── */
  --fs-body: 17px; --lh-body: 1.65;
  --dur-fast: 0.15s; --dur: 0.2s; --ease: ease;
  --container: 1240px; --container-narrow: 820px; --gutter: 32px;
}

/* ─── База ─────────────────────────────────────────────── */
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body { margin: 0; font-family: var(--font-body); color: var(--text-dark); background: var(--bg-warm); font-size: var(--fs-body); line-height: var(--lh-body); }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { font-family: var(--font-body); font-size: var(--fs-body); line-height: var(--lh-body); color: var(--text-dark); margin: 0 0 1em; }
a, .link { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--accent-line); text-decoration-thickness: 1px; transition: text-decoration-color var(--dur) var(--ease); }
a:hover { text-decoration-color: var(--accent); }
.muted { color: var(--text-muted); }
.rule { height: 1px; background: var(--border); border: 0; margin: 40px 0; }

/* ─── Капители: надзаголовки и мелкие подписи ──────────── */
.eyebrow, .hero-eyebrow, .method-label, .figure-label, .author-role, .cta-label,
.footer-col h4, .therapy-cta-eyebrow, .fmodal-field-label, .author-portrait-tag,
.format-badge, .format-sub, .method-flow-node, .who-num, .author-logo, .excerpt-meta, .label-caps {
  font-family: var(--font-serif); font-weight: 500; font-style: normal;
  text-transform: uppercase; letter-spacing: var(--caps-tracking);
}
.eyebrow { font-size: 13px; color: var(--accent); }
.method-label, .figure-label, .author-role, .cta-label { font-size: 13px; }
.footer-col h4, .therapy-cta-eyebrow, .fmodal-field-label, .format-badge { font-size: 12px; }
.author-portrait-tag { font-size: 11px; letter-spacing: 0.22em; }
.format-badge { letter-spacing: 0.18em; padding: 6px 14px 5px; }
.method-flow-node { font-size: 14px; }
.who-num, .excerpt-meta { font-size: 13px; color: var(--accent); }
.method-flow-arrow { font-family: var(--font-serif); font-style: italic; font-size: 14px; letter-spacing: 0.04em; }

/* ─── Заголовки: классическая антиква ──────────────────── */
.h2, .h-hero, .figure-title, .therapy-cta-title, .fmodal-title, .faq-contact-title,
.method-title, .who-title, .format-name, .faq-q, .author-name, .cta-title, .who-note strong {
  font-family: var(--font-serif); font-weight: 500; font-style: normal; text-wrap: pretty;
}
.h2 { letter-spacing: -0.01em; }
.h2 em, .cta-title em, .therapy-cta-title em, .fmodal-title em, .h-sub-hero em, .h-hero em { font-style: italic; color: var(--accent); }
.method-title { font-size: 25px; }
.who-title { font-size: 27px; }
.format-name { font-size: 29px; }
.faq-q { font-size: 23px; }
.author-name { font-size: 54px; letter-spacing: -0.01em; }
.cta-title { letter-spacing: -0.01em; }
.faq-q:hover { color: var(--accent-dark); }

/* Герой: антиква капителью, «НЕ» — золотом */
.hero-title {
  font-family: var(--font-title); font-weight: 400; font-stretch: var(--title-stretch);
  font-size: clamp(50px, 6.8vw, 92px); line-height: 1;
  letter-spacing: 0; text-transform: uppercase; margin: 0 0 32px;
}
.hero-title-top, .hero-title-bottom { color: var(--text-light); }
.hero-title-bottom { margin-top: 0; }
.hero-title em { font-style: normal; color: var(--accent); font-size: 1.34em; font-weight: 500; line-height: 0.8; letter-spacing: 0; vertical-align: baseline; margin-right: 0.02em; }
.hero-sub { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--text-soft); font-size: clamp(21px, 2.3vw, 27px); }
.hero-eyebrow { color: var(--accent); }

/* Подзаголовок героя: капитель с орнаментом (вариант «ornament» макета) */
.hero-sub {
  font-family: var(--font-serif); font-style: normal; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.3em; line-height: 1.75;
  font-size: clamp(14px, 1.3vw, 18px); color: var(--accent);
}
.hero-sub { position: relative; padding-top: 30px; }
.hero-sub::before {
  content: ""; position: absolute; top: 0; left: 0; width: 260px; height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 22%, var(--accent) 78%, transparent 100%);
}
.hero-sub::after {
  content: ""; position: absolute; top: -3px; left: 127px; width: 7px; height: 7px;
  background: var(--accent); transform: rotate(45deg);
}

/* Цитаты и курсивные акценты — остаются курсивом */
.about-lead, .about-aside .q, .figure-quote, .excerpt p:first-of-type, .author-essay p:last-child,
.method-insight, .h-sub-hero, .excerpt-cite, .faq-a-inner em { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.about-lead { font-size: 29px; }
.figure-quote { font-size: 25px; }
.excerpt::before { color: var(--accent-line); }
/* 02 · фото книги вместо видео */
.np-still { position: relative; background: var(--hero-bg); color: var(--text-light); overflow: hidden; }
.np-still-photo { position: relative; margin-left: auto; width: min(72%, 1400px); aspect-ratio: 2752 / 1536;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%); mask-image: linear-gradient(90deg, transparent 0%, #000 22%); }
.np-still-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.np-still-inner { position: absolute; inset: 0; display: flex; align-items: center; pointer-events: none; }
.np-still-text { max-width: 430px; pointer-events: auto; }
.np-still-text .eyebrow { color: var(--accent); margin-bottom: 22px; }
.np-still-quote { font-family: var(--font-serif); font-weight: 400; font-size: clamp(25px, 2.5vw, 36px); line-height: 1.28; color: var(--text-light); margin: 0 0 24px; text-wrap: pretty; }
.np-still-quote em { font-style: italic; color: var(--accent); }
.np-still-sub { font-family: var(--font-body); font-size: 16px; line-height: 1.65; color: var(--text-muted-dark); margin: 0; text-wrap: pretty; }
@media (max-width: 900px) {
  .np-still-photo { width: 100%; -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, #000 78%, transparent 100%); }
  .np-still-inner { position: relative; inset: auto; display: block; padding-top: 8px; padding-bottom: 64px; }
  .np-still-text { max-width: 560px; }
}
@media (max-width: 560px) { .np-still-quote { font-size: 24px; } .np-still-sub { font-size: 15px; } }
.author-olt { display: inline-flex; margin-top: 8px; padding: 12px 22px; font-size: 14px; }
.excerpt p.excerpt-key {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: 26px; line-height: 1.35; color: var(--accent-dark); text-align: center; text-wrap: balance;
  margin: 36px 0 !important; padding: 26px 0; border-top: 1px solid var(--accent-line); border-bottom: 1px solid var(--accent-line);
}
@media (max-width: 600px) { .excerpt p.excerpt-key { font-size: 21px; padding: 20px 0; } }

/* Числа — лайнинговые цифры антиквы вместо гротеска */
.hero-num, .format-price, .fmodal-row-price, .method-step::before { font-family: var(--font-serif); font-weight: 600; letter-spacing: 0; font-variant-numeric: lining-nums; }
.hero-num { font-size: 40px; }
.format-price { font-size: 48px; }
.format-price .cur { font-family: var(--font-serif); font-weight: 400; }

/* Кнопки */
.btn { font-family: var(--font-body); font-weight: 500; letter-spacing: 0.01em; }
.btn-primary { color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-dark); color: var(--on-accent); }
.buy-float { color: var(--on-accent); }
.therapy-cta-btn { font-family: var(--font-serif); font-weight: 500; font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; }
.video-play { color: var(--on-accent); }

/* ─── Тёмный фон + тёплый направленный свет ─────────────── */
/* Фото первого экрана уже светово обработано — без дополнительного затемнения */
/* Высота первого экрана следует пропорции фото (≈ 2.07 : 1) — до ~1780px фото не режется совсем */
.hero-bg { background-image: var(--np-photo); background-position: 100% 50%; }
.hero { min-height: clamp(620px, calc(100vw / 2.07), 860px); height: auto; max-height: none; }
/* До 1280px фото не ложится под текст, а идёт отдельным кадром ниже */
@media (max-width: 1280px) {
  .hero { display: flex; flex-direction: column-reverse; height: auto; min-height: 0; max-height: none; padding: 0; }
  .hero .container { padding-top: 72px; padding-bottom: 40px; }
  .hero-bg { position: relative; inset: auto; width: 100%; aspect-ratio: 2.07 / 1; background-size: cover; background-position: center 50%; }
  .hero-content { max-width: 640px; }
  .hero::after { display: none; }
}
@media (max-width: 600px) {
  .hero-bg { background-image: var(--np-photo-mobile); aspect-ratio: 4 / 5; background-position: center 40%; }
}
.hero-overlay { background: none; }
.cta::before {
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(var(--warm-light-rgb), 0.14) 0%, transparent 60%),
    radial-gradient(circle at 50% 35%, rgba(var(--accent-rgb), 0.14) 0%, transparent 55%);
}
.footer { border-top: 1px solid rgba(var(--accent-rgb), 0.14); }

/* ─── Кинцуги: три золотые трещины на всю страницу ──────── */
/* 1 · герой — вертикальный шов между текстом и книгой */
.hero::after {
  content: ""; position: absolute; z-index: 1; pointer-events: none;
  top: 0; bottom: 0; right: 4%; width: 48px; opacity: 0.7;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 900' preserveAspectRatio='none'%3E%3Cpath d='M24 0 L26 120 L18 210 L29 300 L22 380 L31 470 L20 560 L27 650 L23 760 L28 900' fill='none' stroke='%23D98A3A' stroke-width='1' vector-effect='non-scaling-stroke' stroke-linejoin='round'/%3E%3Cpath d='M18 210 L8 232 M29 300 L40 318 M20 560 L10 578 M27 650 L38 662' fill='none' stroke='%23D98A3A' stroke-width='0.8' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  filter: drop-shadow(0 0 6px var(--kintsugi-glow));
}
/* 2 · отрывок — трещина по верхней кромке листа */
.excerpt::after {
  content: ""; position: absolute; pointer-events: none;
  top: -7px; left: 6%; right: 6%; height: 16px; opacity: 0.9;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 16' preserveAspectRatio='none'%3E%3Cpath d='M0 8 L110 7 L170 11 L250 5 L320 9 L410 7 L470 12 L560 6 L640 10 L720 7 L800 8' fill='none' stroke='%23D98A3A' stroke-width='1' vector-effect='non-scaling-stroke' stroke-linejoin='round'/%3E%3Cpath d='M250 5 L262 0 M470 12 L482 16 M640 10 L652 15' fill='none' stroke='%23D98A3A' stroke-width='0.8' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  filter: drop-shadow(0 0 4px var(--kintsugi-glow));
}
/* 3 · финальный CTA — трещина сверху, за заголовком */
.cta::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  top: 0; bottom: 0; left: 50%; width: 140px; margin-left: 120px; opacity: 0.4;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 600' preserveAspectRatio='none'%3E%3Cpath d='M70 0 L74 90 L58 170 L80 250 L64 330 L86 420 L70 520 L76 600' fill='none' stroke='%23D98A3A' stroke-width='1' vector-effect='non-scaling-stroke' stroke-linejoin='round'/%3E%3Cpath d='M58 170 L30 196 M80 250 L112 270 M64 330 L36 352' fill='none' stroke='%23D98A3A' stroke-width='0.8' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  filter: drop-shadow(0 0 8px var(--kintsugi-glow));
}

/* Форматы: более широкий Plex не должен распирать сетку */
.formats-grid, .formats-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.formats-grid:not(.formats-grid--4) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.format-card { min-width: 0; }
.format-cta .btn { white-space: normal; text-align: center; line-height: 1.3; }
@media (max-width: 1100px) {
  .formats-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .format-card--featured { transform: none; }
}

/* ─── Мобильная версия ─────────────────────────────────── */
@media (max-width: 860px) {
  .hero { min-height: 0; padding: 0; }
  .hero .container { padding-top: 64px; padding-bottom: 32px; }
  .hero-overlay { background: none; }
  .hero::after { display: none; }
  .cta::after { margin-left: 60px; opacity: 0.3; }
}
@media (max-width: 767px) {
  .hero { padding: 0 !important; }
  .hero .container { padding-top: 56px; padding-bottom: 28px; }
  .hero-title { font-size: clamp(38px, 11vw, 52px) !important; line-height: 1.02; letter-spacing: 0; }
  .hero-sub { font-size: 19px; }
  .author-name { font-size: 38px !important; }
  .eyebrow { font-size: 12px; letter-spacing: 0.22em; }
  .excerpt::after { left: 10%; right: 10%; }
}
@media (prefers-reduced-motion: reduce) { * { transition-duration: 0.01ms !important; } }

/* ════════ 3/3 · БЛОКИ (np-blocks.css) ════════ */
/* Блоки «Неидеального психотерапевта». Все цвета и шрифты — переменные из np-theme.css */

/* ── Окно заказа: как на странице первой книги ── */
.fmodal-row { grid-template-columns: 22px minmax(0, 1fr) auto; }
.fmodal-row--selected { background: rgba(var(--accent-rgb), 0.1); border-color: var(--accent); box-shadow: none; }
.fmodal-row--selected .fmodal-row-price { color: var(--accent-dark); }
.fmodal-row--soon { opacity: 0.6; cursor: not-allowed; grid-template-columns: 22px minmax(0, 1fr) auto; }
.fmodal-row--soon .fmodal-radio { display: block; border-color: var(--border); }
.fmodal-row--soon .fmodal-row-price { font-style: italic; font-weight: 400; color: var(--text-muted); }
.fmodal-row-name { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; }
.fmodal-badge { font-family: var(--font-serif); font-weight: 500; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-dark); background: rgba(var(--accent-rgb), 0.12); padding: 3px 8px 2px; border-radius: 3px; }
.fmodal-qty { display: flex; align-items: center; gap: 20px; padding: 12px 16px; background: var(--bg-cream); border: 1px solid var(--border); border-radius: 6px; }
.fmodal-stepper { display: inline-flex; align-items: stretch; border: 1px solid var(--border); border-radius: 4px; background: var(--surface); overflow: hidden; }
.fmodal-stepper button { width: 44px; height: 44px; border: 0; background: none; font-size: 20px; color: var(--accent-dark); cursor: pointer; }
.fmodal-stepper button:disabled { color: var(--border); cursor: not-allowed; }
.fmodal-stepper output { min-width: 36px; display: flex; align-items: center; justify-content: center; border-left: 1px solid var(--border); border-right: 1px solid var(--border); font-family: var(--font-serif); font-size: 20px; font-weight: 600; color: var(--text-dark); font-variant-numeric: lining-nums; }
.fmodal-textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
.fmodal-check-title { display: block; color: var(--text-dark); }
.fmodal-check-sub { display: block; margin-top: 2px; font-size: 13px; color: var(--text-muted); }
.fmodal-check-muted { color: var(--text-muted); }
.fmodal-ship-note { margin: 20px 0 0; font-family: var(--font-body); font-size: 13px; line-height: 1.55; color: var(--text-muted); text-align: center; text-wrap: pretty; }
.fmodal-legal { text-align: center; }

/* ── 02 · Главный вопрос книги — тёмный манифест ── */
.np-q { background: var(--bg-warm); color: var(--text-dark); padding: 104px 0 96px; position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.np-q .container { position: relative; }
.np-q .eyebrow { color: var(--accent); }
.np-q-big { font-family: var(--font-serif); font-weight: 500; font-size: clamp(36px, 4.8vw, 62px); line-height: 1.12; letter-spacing: -0.01em; color: var(--text-dark); margin: 0; max-width: 1020px; text-wrap: pretty; }
.np-q-big em { font-style: italic; color: var(--accent-dark); }
.np-q-epigraph { font-family: var(--font-serif); font-style: italic; font-size: clamp(19px, 1.8vw, 23px); line-height: 1.5; color: var(--text-muted); max-width: 560px; margin: 36px 0 0; padding-left: 22px; border-left: 3px solid var(--accent); text-wrap: pretty; }
.np-q-rows { margin-top: 72px; border-top: 1px solid var(--text-dark); }
.np-q-row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px; padding: 30px 0; border-bottom: 1px solid var(--border); align-items: baseline; }
.np-q-row--head { padding: 16px 0 14px; font-family: var(--font-serif); font-weight: 500; font-size: 12px; letter-spacing: var(--caps-tracking); text-transform: uppercase; color: var(--text-muted); border-bottom: 1px solid var(--border); }
.np-q-row--head span:last-child { color: var(--accent-dark); }
.np-q-action { font-family: var(--font-serif); font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; color: var(--text-dark); display: flex; flex-direction: column; gap: 8px; text-wrap: pretty; }
.np-q-ch { font-family: var(--font-serif); font-weight: 500; font-size: 11px; letter-spacing: var(--caps-tracking); text-transform: uppercase; color: var(--text-muted); }
.np-q-client { font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--text-muted); text-wrap: pretty; }
.np-q-me { font-family: var(--font-serif); font-style: italic; font-size: 19px; line-height: 1.45; color: var(--text-dark); padding-left: 20px; border-left: 2px solid var(--accent); text-wrap: pretty; }
.np-q-mlabel { display: none; }
.np-q-note { max-width: 720px; margin: 56px 0 0; font-family: var(--font-serif); font-style: italic; font-size: clamp(20px, 1.9vw, 24px); line-height: 1.5; color: var(--text-dark); text-wrap: pretty; }
@media (max-width: 900px) {
  .np-q { padding: 72px 0 64px; }
  .np-q-rows { margin-top: 48px; }
  .np-q-row--head { display: none; }
  .np-q-row { grid-template-columns: 1fr; gap: 14px; padding: 26px 0; }
  .np-q-mlabel { display: block; font-family: var(--font-serif); font-weight: 500; font-style: normal; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
  .np-q-me .np-q-mlabel { color: var(--accent-dark); }
  .np-q-epigraph { margin-top: 28px; }
  .np-q-note { margin-top: 40px; }
}

/* ── 04 · Страница из книги с пометками на полях ── */
.np-sheet { margin-top: 56px; display: flex; flex-direction: column; }
.np-sheet-row { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 0 56px; }
.np-sheet-note { padding: 34px 0; text-align: right; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.np-sheet-note-label { font-family: var(--font-serif); font-weight: 500; font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-dark); position: relative; padding-right: 18px; }
.np-sheet-note-label::after { content: ""; position: absolute; right: 0; top: 50%; width: 10px; height: 1px; background: var(--accent); }
.np-sheet-note-text { font-family: var(--font-serif); font-style: italic; font-size: 18px; line-height: 1.5; color: var(--text-muted); max-width: 260px; text-wrap: pretty; }
.np-sheet-cell { background: var(--surface); border-left: 1px solid var(--border); border-right: 1px solid var(--border); padding: 16px 72px; }
.np-sheet-row:first-child .np-sheet-cell { border-top: 1px solid var(--border); border-radius: 2px 2px 0 0; padding-top: 64px; }
.np-sheet-row:last-child .np-sheet-cell { border-bottom: 1px solid var(--border); border-radius: 0 0 2px 2px; padding-bottom: 48px; box-shadow: 0 36px 80px rgba(var(--ink-rgb), 0.12); }
.np-sheet-mlabel { display: none; }
.np-sheet-part { font-family: var(--font-serif); font-weight: 500; font-size: 12px; letter-spacing: var(--caps-tracking); text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px; }
.np-sheet-title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(27px, 2.6vw, 34px); line-height: 1.15; color: var(--text-dark); margin: 0; text-wrap: pretty; }
.np-sheet-anchor { font-family: var(--font-serif); font-style: italic; font-size: clamp(22px, 2.1vw, 27px); line-height: 1.4; color: var(--text-dark); margin: 0; padding-left: 24px; border-left: 3px solid var(--accent); text-wrap: pretty; }
.np-sheet-p { font-family: var(--font-body); font-size: 17px; line-height: 1.75; color: var(--text-dark); margin: 0; text-wrap: pretty; }
.np-sheet-bar { font-family: var(--font-serif); font-style: italic; font-size: 21px; line-height: 1.45; color: var(--accent-dark); margin: 24px 0 0; padding-left: 22px; border-left: 3px solid var(--accent); text-wrap: pretty; }
.np-sheet-qs { margin: 0; padding-left: 24px; display: flex; flex-direction: column; gap: 14px; font-family: var(--font-body); font-size: 16.5px; line-height: 1.6; color: var(--text-dark); }
.np-sheet-qs li { padding-left: 6px; text-wrap: pretty; }
.np-sheet-qs li::marker { font-family: var(--font-serif); font-weight: 600; color: var(--accent-dark); font-variant-numeric: lining-nums; }
.np-sheet-final { font-family: var(--font-serif); font-style: italic; font-size: clamp(25px, 2.4vw, 31px); line-height: 1.3; color: var(--accent-dark); margin: 0; }
.np-sheet-folio { margin-top: 44px; text-align: center; font-family: var(--font-serif); font-size: 14px; color: var(--text-muted); letter-spacing: 0.3em; }
@media (max-width: 1000px) {
  .np-sheet { margin-top: 40px; }
  .np-sheet-row { grid-template-columns: 1fr; }
  .np-sheet-note { display: none; }
  .np-sheet-cell { padding: 14px 28px; }
  .np-sheet-row:first-child .np-sheet-cell { padding-top: 40px; }
  .np-sheet-row:last-child .np-sheet-cell { padding-bottom: 36px; }
  .np-sheet-mlabel { display: block; font-family: var(--font-serif); font-weight: 500; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-dark); margin: 0 0 10px; }
  .np-sheet-row:first-child .np-sheet-mlabel { display: none; }
}

/* ── 05 · Фразы книги ── */
.np-fig-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 52px; }
.np-fig { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 40px 36px 32px; display: flex; flex-direction: column; gap: 20px; transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.np-fig:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(var(--ink-rgb), 0.06); }
.np-fig-head { display: flex; align-items: baseline; gap: 14px; }
.np-fig-num { font-family: var(--font-serif); font-weight: 600; font-size: 40px; line-height: 1; color: var(--accent); font-variant-numeric: lining-nums; }
.np-fig-title { font-family: var(--font-serif); font-weight: 500; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); text-wrap: pretty; }
.np-fig-phrase { font-family: var(--font-serif); font-size: clamp(21px, 1.8vw, 24px); line-height: 1.42; color: var(--text-dark); margin: 0; text-wrap: pretty; }
.np-fig-q { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--border); font-family: var(--font-serif); font-style: italic; font-size: 17px; line-height: 1.45; color: var(--accent-dark); text-wrap: pretty; }
.np-fig-q-label { display: block; font-style: normal; font-weight: 500; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.np-fig-foot { margin: 48px 0 0; font-family: var(--font-serif); font-style: italic; font-size: clamp(20px, 1.9vw, 24px); line-height: 1.45; color: var(--text-dark); text-align: center; text-wrap: balance; }
@media (max-width: 1000px) { .np-fig-grid { grid-template-columns: 1fr; gap: 16px; } .np-fig { padding: 30px 26px 26px; } .np-fig-foot { margin-top: 36px; font-size: 19px; } }

/* ── Калибровка кеглей: основной текст не мельче 16–17px ── */
.hero-meta-label { font-size: 15px; }
.method-desc, .figure-desc, .who-desc, .author-creds, .who-note p, .therapy-cta-sub { font-size: 17px; line-height: 1.65; }
.method-insight { font-size: 17px; }
.about-aside-cite, .video-caption, .format-note { font-size: 15px; }
.format-list { font-size: 16px; }
.formats-legal, .fmodal-legal, .fmodal-ship-note { font-size: 15px; line-height: 1.6; }
.fmodal-row-sub { font-size: 15px; }
.fmodal-check { font-size: 15px; }
.fmodal-check-sub { font-size: 14px; }
.author-links a { font-size: 16px; }
.excerpt-cite { font-size: 16px !important; }
.footer-col ul { font-size: 15px; }
.footer-col .muted-dark { font-size: 14px; }
.footer-bottom { font-size: 13px; }
.np-q-client { font-size: 17px; }
.np-q-me { font-size: 20px; }
.np-sheet-p { font-size: 18px; }
.np-sheet-qs { font-size: 17px; }
.np-fig-q { font-size: 18px; }
.np-fig-title { font-size: 13px; }
.np-still-sub { font-size: 17px; }
.excerpt p { font-size: 19px; }
/* Полы микро-подписей: ничего мельче 12px, капсовые ярлыки 13–14px */
.np-fig-q-label, .np-sheet-mlabel, .np-q-mlabel, .author-portrait-tag, .fmodal-badge, .np-q-ch { font-size: 12px; }
.np-q-row--head, .np-sheet-part { font-size: 13px; }
.footer-col h4, .therapy-cta-eyebrow, .fmodal-field-label, .format-badge { font-size: 13px; }
.method-label, .figure-label, .author-role, .cta-label, .eyebrow { font-size: 14px; }
.excerpt-meta, .format-sub, .footer-bottom, .np-sheet-folio { font-size: 14px; }
.footer-col .muted-dark { font-size: 15px; }
@media (max-width: 767px) {
  .mobile-bar .btn { font-size: 15px; }
  .eyebrow { font-size: 13px; letter-spacing: 0.18em; }
  .hero-meta-label { font-size: 14px; }
}
.faq-a-inner { font-size: 17px; }

/* ── Параллакс первого экрана ≥1281 px — как у блока #book-gift на /olt/ (утверждено автором 16.10):
   фон закреплён к окну background-attachment:fixed, кадр — десктопный монтаж (книга у правого края,
   текст не ложится на корешок). В пакете здесь был position:fixed с высотой clamp(): при min-height
   герой растёт под содержимое, а закреплённый слой нет — под кнопками оставалась полоса без фото.
   Откат параллакса — удалить это правило. ── */
@media (min-width: 1281px) {
  .hero-bg { background-image: var(--np-photo-desktop); background-attachment: fixed; background-position: 97% 50%; }
  .hero::after { right: 0; }
}

/* ── 03: видео-облёт книги (вертикальный ролик, лишнее сверху/снизу срезается кадром) ── */
.np-still-photo video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
@media (max-width: 900px) {
  .np-still-photo { aspect-ratio: 4 / 5; }
  .np-still-photo:has(video) { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 80%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 80%, transparent 100%); }
}

/* ── Герой на средних экранах (769–1280px): фото остаётся под текстом ── */
@media (min-width: 769px) and (max-width: 1280px) {
  .hero { display: flex; flex-direction: row; align-items: center; height: clamp(600px, 74vw, 820px); min-height: 0; padding: 0; }
  .hero .container { padding-top: 0; padding-bottom: 0; }
  .hero-bg { position: absolute; inset: 0; width: auto; aspect-ratio: auto; background-size: cover; background-position: 82% 50%; }
  /* Мягкая вуаль слева только там, где текст ложится на фото; книга справа не затемняется */
  .hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(var(--hero-bg-rgb), 0.88) 0%, rgba(var(--hero-bg-rgb), 0.55) 38%, rgba(var(--hero-bg-rgb), 0) 62%); }
  .hero-content { max-width: 560px; }
}
/* ── Телефоны: кадр с книгой мягко перетекает из тёмного блока текста ── */
@media (max-width: 768px) {
  .hero-bg::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 96px; background: linear-gradient(180deg, var(--hero-bg) 0%, rgba(var(--hero-bg-rgb), 0) 100%); }
}

/* ── 12 Final CTA: фоновое фото книги (книга справа, текст слева) ── */
.cta { text-align: left; padding: 0; background: #101113; }
.cta::before, .cta::after { display: none; }
.cta-bg { position: absolute; inset: 0; background: var(--np-still) 82% center/cover no-repeat #101113; }
/* Параллакс как в блоке 03: секция — окно, фото закреплено на экране.
   Кадр укрупнён (143% по высоте, привязка вправо): книга занимает левые 2/3, текст справа на свободном поле */
@media (min-width: 901px) {
  .cta { clip-path: inset(0); }
  .cta-bg { position: fixed; top: 0; left: 0; right: 0; bottom: auto; height: 100vh; background-size: auto 124%; background-position: right 6vw center;
    -webkit-mask-image: linear-gradient(270deg, transparent 0%, #000 12%); mask-image: linear-gradient(270deg, transparent 0%, #000 12%); }
  .cta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16, 17, 19, 0) 50%, rgba(16, 17, 19, 0.55) 74%); }
  .cta-inner { display: flex; justify-content: flex-end; }
  .cta-text { max-width: 540px; }
  .cta-title, .cta-sub { max-width: none; }
}
.cta-inner { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; padding: 110px 32px 96px; }
.cta-label { margin-bottom: 28px; }
.cta-title { max-width: 620px; }
.cta-sub { margin-left: 0; margin-right: 0; max-width: 520px; }
.cta-actions { justify-content: flex-start; }
@media (min-width: 1001px) {
  .cta-inner { max-width: 1500px; padding: 150px 48px 130px; }
  .cta-title { max-width: 760px; }
  .cta-sub { max-width: 560px; }
}
@media (max-width: 1000px) {
  .cta-bg { background-position: right 24% center; }
  .cta-bg::after { content: ""; position: absolute; inset: 0; background: rgba(16, 17, 19, 0.35); }
}
@media (max-width: 767px) {
  .cta { text-align: center; }
  .cta-inner { padding: 88px 20px 72px; }
  .cta-sub { margin: 0 auto 32px; }
  .cta-actions { justify-content: stretch; }
}

/* ── Параллакс фото книги (03): секция-окно скользит по закреплённому снимку ── */
@media (min-width: 881px) {
  .author-inner { align-items: start; }
  .author-inner > div:first-child { position: sticky; top: 40px; align-self: start; }
}
@media (min-width: 901px) {
  .np-still { clip-path: inset(0); height: clamp(560px, 82vh, 920px); }
  .np-still-photo { position: fixed; top: 0; right: 0; left: auto; margin: 0; width: min(72vw, 1400px); height: 100vh; aspect-ratio: auto; transform: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%); mask-image: linear-gradient(90deg, transparent 0%, #000 12%); }
  .np-still-photo img { object-fit: cover; object-position: 45% 50%; }
  .np-still-inner { position: absolute; inset: 0; }
  /* Текст блока 03: крупная цитата на всю свободную левую часть, не заходя на книгу */
  .np-still-text { max-width: min(52%, 720px); }
  .np-still-quote { font-size: clamp(28px, 3vw, 46px); line-height: 1.22; margin-bottom: 28px; }
  .np-still-quote::before { content: "«"; display: block; font-family: var(--font-serif); color: var(--accent); font-size: 1.8em; line-height: 0.55; margin-bottom: 22px; }
  .np-still-sub { font-size: 18px; max-width: 600px; }
  .np-still-text .eyebrow { margin-bottom: 30px; }
}
@media (min-width: 901px) {
  /* Видео: не растягивается на весь экран, а вписывается по высоте блока справа */
  .np-still:has(video) { clip-path: none; }
  .np-still-photo:has(video) { position: absolute; top: 0; right: 4%; left: auto; height: 108%; width: auto; aspect-ratio: 3 / 4; margin: 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 16%, #000 86%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 16%, #000 86%, transparent 100%); }
  .np-still-photo:has(video) video { object-position: 50% 62%; }
}

/* ── Масштаб +20%: шире контейнеры, крупнее типографика ── */
@media (min-width: 1001px) {
  .container { max-width: 1500px; padding: 0 48px; }
  .container-narrow { max-width: 980px; padding: 0 48px; }
  .section { padding: 88px 0; }
  .np-q { padding: 120px 0 104px; }
  .hero-content { max-width: 660px; }
  .lead { font-size: 23px; max-width: 860px; }
  .eyebrow { font-size: 15px; }
  .h2 { font-size: clamp(40px, 4.6vw, 60px); }
  .hero-title { font-size: clamp(60px, 7.4vw, 118px); }
  .hero-sub { font-size: clamp(22px, 2.3vw, 30px); }
  .hero-num { font-size: 46px; }
  .hero-meta-label { font-size: 16px; }
  .np-q-big { font-size: clamp(42px, 5vw, 72px); }
  .np-q-epigraph { font-size: 25px; max-width: 640px; }
  .np-q-action { font-size: clamp(27px, 2.3vw, 34px); }
  .np-q-client { font-size: 18px; }
  .np-q-me { font-size: 22px; }
  .np-q-note { font-size: 26px; max-width: 820px; }
  .np-still-text { max-width: min(52%, 760px); }
  .np-still-quote { font-size: clamp(32px, 3.1vw, 50px); }
  .np-still-sub { font-size: 19px; max-width: 620px; }
  .np-sheet-row { grid-template-columns: 300px minmax(0, 1fr); gap: 0 64px; }
  .np-sheet-note-text { font-size: 19px; max-width: 300px; }
  .np-sheet-note-label { font-size: 14px; }
  .np-sheet-cell { padding: 20px 96px; }
  .np-sheet-title { font-size: clamp(30px, 2.8vw, 40px); }
  .np-sheet-anchor { font-size: clamp(24px, 2.2vw, 31px); }
  .np-sheet-p { font-size: 19px; }
  .np-sheet-qs { font-size: 18px; }
  .np-sheet-bar { font-size: 24px; }
  .np-sheet-final { font-size: clamp(27px, 2.5vw, 35px); }
  .np-fig { padding: 48px 44px 38px; }
  .np-fig-num { font-size: 48px; }
  .np-fig-title { font-size: 14px; }
  .np-fig-phrase { font-size: clamp(23px, 1.9vw, 27px); }
  .np-fig-q { font-size: 19px; }
  .np-fig-foot { font-size: 26px; margin-top: 56px; }
  .method-title { font-size: 28px; }
  .method-desc, .method-insight { font-size: 18px; }
  .who-title { font-size: 30px; }
  .who-desc, .who-note p { font-size: 18px; }
  .excerpt { max-width: 900px; padding: 64px 80px; }
  .excerpt p { font-size: 20px; }
  .excerpt p:first-of-type { font-size: 25px; }
  .excerpt p.excerpt-key { font-size: 29px; }
  .author-name { font-size: 60px; }
  .author-role { font-size: 15px; }
  .author-creds, .author-essay p { font-size: 18px; }
  .author-essay p:last-child { font-size: 21px; }
  .author-inner { grid-template-columns: 400px 1fr; gap: 88px; }
  .format-name { font-size: 32px; }
  .format-price { font-size: 56px; }
  .format-list { font-size: 17px; }
  .faq-q { font-size: 26px; }
  .faq-a-inner { font-size: 18px; }
  .cta-title { font-size: clamp(42px, 5.8vw, 74px); }
  .cta-sub { font-size: 20px; }
  .therapy-cta-title { font-size: 46px; }
  .therapy-cta-sub { font-size: 18px; }
  .therapy-cta-eyebrow { font-size: 14px; }
  .btn { font-size: 17px; padding: 18px 36px; }
  .footer-col ul { font-size: 16px; }
}

/* ════════ ДОПОЛНЕНИЯ САЙТА (не из пакета): состояния без React ════════ */
/* Модалки открываются атрибутом hidden; у .fmodal-backdrop и полей формы display задан классом — гасим явно */
.fmodal-backdrop[hidden], .fmodal [hidden]:not(.faq-a) { display: none !important; }
/* Honeypot формы заказа: за экраном, не display:none (боты проверяют видимость) */
.np-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
/* Кнопка формата без ссылки (ЛитРес — URL появится позже): видно, что пункт пока недоступен */
.format-cta .btn:disabled { opacity: 0.55; cursor: not-allowed; }
.format-cta .btn:disabled:hover { background: var(--surface); color: var(--text-dark); border-color: var(--text-dark); }
/* Поля с ошибкой валидации */
.fmodal-input.is-invalid { border-color: var(--dont-red); box-shadow: 0 0 0 3px rgba(var(--dont-red-rgb), 0.12); }
/* Фокус-кольцо для рядов формата (role=radio) */
.fmodal-row:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
