@font-face {
  font-family: "Literata";
  src: url("../../book/fonts/literata-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Literata";
  src: url("../../book/fonts/literata-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Literata";
  src: url("../../book/fonts/literata-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Literata";
  src: url("../../book/fonts/literata-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../../book/fonts/source-serif-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../../book/fonts/source-serif-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../../book/fonts/source-serif-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../../book/fonts/source-serif-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  src: url("../../book/fonts/manrope-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  src: url("../../book/fonts/manrope-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  src: url("../../book/fonts/manrope-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  src: url("../../book/fonts/manrope-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Noto Naskh";
  src: url("../../book/fonts/NotoNaskhArabic-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

:root {
  --ink: #1b1612;
  --muted: #5c534a;
  --paper: #f3ecdf;
  --paper-2: #e7dccb;
  --white: #fbf7f1;
  --rust: #c4542a;
  --rust-dark: #8a3418;
  --night: #10141b;
  --night-2: #1a2230;
  --bone: #f7f2ea;
  --sea: #d5e4ec;
  --line: rgba(27, 22, 18, 0.14);
  --bar: #c4542a;
}

@page { size: 13.333in 7.5in; margin: 0; }

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: #07080b;
  color: var(--ink);
  font-family: "Source Serif 4", "Noto Naskh", "Times New Roman", serif;
}

.bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 10px 18px;
  background: #10141b;
  color: var(--bone);
  font-family: Manrope, sans-serif;
  font-size: 13px;
}
.bar button {
  font-family: Manrope, sans-serif;
  font-weight: 700;
  border: 0;
  padding: 7px 12px;
  background: var(--rust);
  color: white;
  cursor: pointer;
}
.bar button.ghost {
  background: transparent;
  color: var(--bone);
  border: 1px solid rgba(247, 242, 234, 0.35);
}
.bar span.hint { opacity: 0.8; }

.s {
  width: 1280px;
  height: 720px;
  margin: 18px auto;
  position: relative;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  --bar: #c4542a;
}
.s[data-ch="Мир"] { --bar: #c4542a; }
.s[data-ch="Род"] { --bar: #8d5a3b; }
.s[data-ch="Рождение"] { --bar: #b07d3a; }
.s[data-ch="Пустыня"] { --bar: #5f7048; }
.s[data-ch="Сиротство"] { --bar: #4d6274; }
.s[data-ch="Город"] { --bar: #8a4032; }
.s[data-ch="Юность"] { --bar: #3d5c62; }
.s[data-ch="Дом"] { --bar: #7a5340; }
.s[data-ch="Кааба"] { --bar: #6a5344; }
.s[data-ch="Порог"] { --bar: #243044; }

.s::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 8px;
  background: var(--bar);
  z-index: 6;
}
.hero::before, .ask::before, .quiet::before { display: none; }

.s footer {
  position: absolute;
  left: 28px;
  right: 24px;
  bottom: 10px;
  z-index: 7;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: Manrope, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.s footer b { font-weight: 700; letter-spacing: 0.08em; }
.hero footer, .ask footer, .quiet footer { color: rgba(247, 242, 234, 0.78); }

h1, h2, h3 { font-family: Literata, "Noto Naskh", serif; font-weight: 700; margin: 0; }
p { margin: 0; }
.kicker {
  font-family: Manrope, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rust);
  margin: 0 0 8px;
}
.hero .kicker, .ask .kicker, .quiet .kicker { color: #e7b89a; }
.lead { font-size: 20px; line-height: 1.35; }
.small { font-size: 15px; line-height: 1.38; color: var(--muted); }
.src {
  margin-top: 10px;
  font-family: Manrope, sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.pad {
  height: 100%;
  padding: 28px 32px 44px 36px;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.pad h2 { font-size: 34px; line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 12px; }
.grow { flex: 1; min-height: 0; }

.hero .bg, .ask .bg, .quiet .bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero .veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 12, 16, 0.9) 0%, rgba(10, 12, 16, 0.62) 38%, rgba(10, 12, 16, 0.12) 68%);
}
.hero .copy {
  position: absolute;
  z-index: 2;
  left: 52px;
  top: 78px;
  width: 620px;
  color: var(--bone);
}
.hero h1 { font-size: 64px; line-height: 0.96; letter-spacing: -0.03em; }
.hero .deck { margin-top: 16px; font-size: 22px; line-height: 1.35; max-width: 540px; }
.s .cap {
  position: absolute;
  z-index: 4;
  left: 36px;
  right: 28px;
  bottom: 34px;
  font-family: Manrope, sans-serif;
  font-size: 12px;
  line-height: 1.35;
  color: rgba(247, 242, 234, 0.86);
  max-width: 760px;
}
.split .cap, .duo .cap, .mapslide .cap, .plan .cap { position: static; color: var(--muted); max-width: none; margin-top: 6px; }

.ask .veil {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 16, 0.78);
}
.ask .copy {
  position: absolute;
  z-index: 2;
  left: 72px;
  right: 72px;
  top: 120px;
  color: var(--bone);
}
.ask h2 { font-size: 48px; line-height: 1.12; letter-spacing: -0.03em; max-width: 980px; }
.ask .deck { margin-top: 22px; font-size: 22px; line-height: 1.4; max-width: 760px; color: rgba(247, 242, 234, 0.82); }

.quiet .veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 10, 14, 0.25) 0%, rgba(8, 10, 14, 0.55) 45%, rgba(8, 10, 14, 0.88) 100%);
}
.quiet .copy {
  position: absolute;
  z-index: 2;
  left: 64px;
  right: 80px;
  bottom: 78px;
  color: var(--bone);
}
.quiet h2 { font-size: 42px; font-weight: 600; line-height: 1.15; max-width: 860px; }
.quiet .deck { margin-top: 12px; font-size: 20px; line-height: 1.4; max-width: 640px; color: rgba(247, 242, 234, 0.8); }

.split .grid, .duo .grid, .mapslide .grid, .compare .grid {
  height: 100%;
  display: grid;
  gap: 18px;
  padding: 26px 28px 46px 34px;
}
.split .grid { grid-template-columns: 1.05fr 0.95fr; }
.split.rev .grid { grid-template-columns: 0.92fr 1.08fr; }
.split .text { display: flex; flex-direction: column; min-height: 0; padding-top: 6px; }
.split h2 { font-size: 32px; line-height: 1.08; margin-bottom: 10px; }
.split p + p { margin-top: 8px; }
.split .frame, .duo .frame {
  min-height: 0;
  overflow: hidden;
  background: #d9cbb8;
}
.split .frame img, .duo .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.split figure, .duo figure { margin: 0; display: flex; flex-direction: column; min-height: 0; }
.split .frame { flex: 1; }
.duo .grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; }
.duo h2 { grid-column: 1 / -1; font-size: 32px; }
.duo figure { min-height: 0; }
.duo .frame { flex: 1; min-height: 0; }
.duo figcaption, .split figcaption {
  font-family: Manrope, sans-serif;
  font-size: 12px;
  line-height: 1.35;
  color: var(--muted);
  margin-top: 6px;
}

.num .pad { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 18px; align-items: center; }
.giant {
  font-family: Literata, serif;
  font-weight: 700;
  font-size: 132px;
  line-height: 0.84;
  letter-spacing: -0.04em;
  color: var(--rust);
}
.giant small {
  display: block;
  margin-top: 10px;
  font-family: Manrope, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.num h2 { font-size: 32px; margin-bottom: 10px; }

.facts .tiles, .goods .tiles {
  display: grid;
  gap: 10px;
  flex: 1;
  min-height: 0;
}
.facts .tiles { grid-template-columns: 1fr 1fr; }
.facts.three .tiles { grid-template-columns: 1fr 1fr 1fr; }
.tile {
  background: var(--white);
  border-top: 3px solid var(--bar);
  padding: 12px 14px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
}
.tile b {
  font-family: Literata, serif;
  font-size: 22px;
  line-height: 1.15;
  display: block;
  margin-bottom: 4px;
}
.tile p { font-size: 16px; line-height: 1.32; }
.goods .tiles { grid-template-columns: repeat(4, 1fr); grid-template-rows: 1fr 1fr; }
.good {
  background: var(--night);
  color: var(--bone);
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 0;
}
.good span {
  font-family: Manrope, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e4b89a;
  margin-bottom: 6px;
}
.good b { font-family: Literata, serif; font-size: 24px; line-height: 1.1; font-weight: 700; }
.good p { margin-top: 6px; font-size: 14px; line-height: 1.3; color: rgba(247, 242, 234, 0.78); }

.seq ol, .timeline ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  flex: 1;
  min-height: 0;
}
.seq ol { grid-template-columns: repeat(4, 1fr); }
.seq.three ol { grid-template-columns: repeat(3, 1fr); }
.seq li, .timeline li {
  background: var(--white);
  padding: 14px 14px 12px;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.seq li em, .timeline li em {
  font-family: Literata, serif;
  font-style: normal;
  font-weight: 700;
  font-size: 28px;
  color: var(--rust);
  line-height: 1;
  margin-bottom: 8px;
}
.seq li b, .timeline li b { display: block; font-family: Literata, serif; font-size: 20px; margin-bottom: 4px; }
.seq li p, .timeline li p { font-size: 15.5px; line-height: 1.32; }
.timeline ol {
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
}
.timeline li { border-top: 3px solid var(--ink); }

.quote .pad { justify-content: center; padding-right: 70px; }
.quote q {
  font-family: Literata, serif;
  font-size: 34px;
  line-height: 1.28;
  font-weight: 600;
  quotes: "«" "»" "«" "»";
}
.quote q::before { content: open-quote; }
.quote q::after { content: close-quote; }
.quote .who { margin-top: 16px; font-size: 18px; }

.compare .grid { grid-template-columns: 1fr 1fr; align-items: stretch; }
.compare article {
  background: var(--white);
  padding: 18px 18px 14px;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.compare article + article { box-shadow: inset 8px 0 0 var(--paper); }
.compare h3 { font-size: 26px; margin: 6px 0 8px; }
.compare .tag {
  font-family: Manrope, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
}
.compare p { font-size: 17px; line-height: 1.35; }
.compare p + p { margin-top: 8px; }

.tree .chain {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  align-items: center;
}
.tree .node {
  background: var(--white);
  padding: 7px 10px;
  font-family: Literata, serif;
  font-size: 16px;
  line-height: 1.2;
}
.tree .node.now { background: var(--night); color: var(--bone); }
.tree .gap {
  width: 100%;
  margin: 8px 0;
  font-family: Manrope, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rust-dark);
}
.tree .arrow { margin: 0 6px; color: var(--muted); font-family: Manrope, sans-serif; }

.funnel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  flex: 1;
  min-height: 0;
  align-items: center;
}
.steps { display: flex; flex-direction: column; gap: 8px; }
.step {
  background: var(--night);
  color: var(--bone);
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.step:nth-child(1) { width: 100%; }
.step:nth-child(2) { width: 88%; }
.step:nth-child(3) { width: 74%; }
.step:nth-child(4) { width: 60%; }
.step:nth-child(5) { width: 46%; background: var(--rust); }
.step b { font-family: Literata, serif; font-size: 22px; }
.step span { font-family: Manrope, sans-serif; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.8; }

.mapslide .grid { grid-template-columns: 1.35fr 0.65fr; padding-bottom: 54px; }
.mapslide .mapbox {
  background: var(--sea);
  min-height: 0;
  overflow: hidden;
  position: relative;
}
.mapslide .mapbox svg { width: 100%; height: 100%; display: block; }
.mapslide .side { display: flex; flex-direction: column; min-height: 0; padding-top: 4px; }
.mapslide h2 { font-size: 30px; margin-bottom: 8px; }
.mapslide .side p { font-size: 16.5px; line-height: 1.34; }
.mapslide .side p + p { margin-top: 8px; }
.mapnote {
  margin-top: auto;
  font-family: Manrope, sans-serif;
  font-size: 11px;
  line-height: 1.35;
  color: var(--muted);
}

.plan .stage {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
}
.plan svg { width: 100%; height: 100%; }
.offices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-content: center;
}
.office {
  background: var(--white);
  padding: 8px 10px;
}
.office b { display: block; font-family: Literata, serif; font-size: 16px; }
.office span { font-size: 13.5px; line-height: 1.3; color: #3a332c; }

.note {
  margin-top: 10px;
  background: var(--night);
  color: var(--bone);
  padding: 10px 12px;
  font-size: 15.5px;
  line-height: 1.35;
}
.note b { font-family: Manrope, sans-serif; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #e4b89a; display: block; margin-bottom: 3px; }

.kin {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 22px;
  align-items: center;
  min-height: 0;
}
.kin .col, .kin .meet { display: flex; flex-direction: column; justify-content: center; min-height: 0; }
.kin .node {
  background: var(--white);
  padding: 16px 16px 14px;
  font-family: Literata, "Noto Naskh", serif;
  font-size: 22px;
  line-height: 1.2;
}
.kin .node span {
  display: block;
  margin-top: 6px;
  font-family: Manrope, sans-serif;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--muted);
}
.kin .node.now {
  background: var(--night);
  color: var(--bone);
  font-size: 32px;
  text-align: center;
  padding: 22px 16px;
}
.kin i {
  display: block;
  width: 2px;
  height: 36px;
  margin: 0 0 0 28px;
  background: var(--rust);
}
.kin .meet p { margin-top: 16px; font-size: 18px; line-height: 1.4; }

.essay .pad { justify-content: center; padding: 48px 88px 64px 78px; }
.essay h2 { font-size: 46px; line-height: 1.08; max-width: 980px; }
.essay .lead { font-size: 24px; line-height: 1.42; max-width: 920px; margin-top: 18px; }

body.present { overflow: hidden; }
body.present .bar { display: none; }
body.present .s { display: none; }
body.present .s.on {
  display: block;
  position: fixed;
  left: 50%;
  top: 50%;
  margin: 0;
  transform: translate(-50%, -50%) scale(var(--sc, 1));
}

@media print {
  .bar { display: none !important; }
  html, body { background: white; }
  .s {
    margin: 0 !important;
    box-shadow: none;
    page-break-after: always;
    break-after: page;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .s:last-child { page-break-after: auto; break-after: auto; }
}
