
:root {
  --ink: #0a0a0a;
  --body: #333;
  --grey: #6b6b6b;
  --hair: #e8e8e8;
  --red: #b00000;
  --max: 1280px;
}
::selection { background: rgba(176,0,0,0.12); }
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: 'Montserrat', -apple-system, sans-serif;
  background: #fff; color: var(--body);
  font-size: 18px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-decoration: none; }
a:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 44px; }
.label { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }
.label.live { display: inline-flex; align-items: center; gap: 8px; background: var(--red); color: #fff; padding: 5px 12px; border-radius: 4px; }
.label.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: livepulse 1.6s ease-in-out infinite; }
@keyframes livepulse { 0%,100% { opacity: 1; } 50% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) { .label.live::before { animation: none; } }
.dot { color: var(--red); }
h2 {
  font-family: 'Montserrat'; font-weight: 800; text-transform: uppercase;
  font-size: clamp(28px, 4.4vw, 62px); line-height: 1.04; letter-spacing: -0.03em; color: var(--ink); margin-top: 16px;
}
.section { padding-top: 120px; padding-bottom: 120px; }
.section-head { margin-bottom: 48px; }

/* шапка */
header { border-bottom: 2px solid var(--ink); position: relative; background: #fff; z-index: 30; }
.nav { max-width: var(--max); margin: 0 auto; padding: 0 44px; height: 68px; display: flex; align-items: center; justify-content: space-between; }
.brand { font-family: 'Montserrat'; font-weight: 800; font-size: 16px; letter-spacing: 0.02em; text-transform: uppercase; }
.brand .dot { color: var(--red); }
.links { display: flex; gap: 30px; font-size: 14px; font-weight: 600; align-items: center; }
.links a { color: var(--ink); }
.links a:hover { color: var(--red); }
.links a.mail { background: var(--red); color: #fff; padding: 12px 22px; }
.links a.mail:hover { background: var(--ink); color: #fff; }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 10px 0 10px 10px; flex-direction: column; gap: 5px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--ink); transition: transform 0.25s, opacity 0.25s; }
header.open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
header.open .burger span:nth-child(2) { opacity: 0; }
header.open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* telegram-строка */
.tg-band { display: block; background: var(--ink); }
.tg-band .in {
  max-width: var(--max); margin: 0 auto; padding: 12px 44px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: 'Montserrat'; font-weight: 600; font-size: 13.5px; letter-spacing: 0.05em;
  color: #fff; text-transform: uppercase;
}
.tg-band .tg-ico { background: var(--red); color: #fff; font-weight: 800; padding: 3px 8px; margin-right: 12px; font-size: 12px; }
.tg-band .ch { white-space: nowrap; }
.tg-band .ch::after { content: ' \2197'; }
.tg-band:hover .ch { color: #ffb3ac; }
@media (max-width: 960px) { .tg-band .in { padding: 10px 24px; font-size: 12px; } .tg-band .lead-txt { display: none; } }

/* hero */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-copy > * { animation: rise 0.6s cubic-bezier(0.22,1,0.36,1) both; }
.hero-copy > *:nth-child(2) { animation-delay: 0.08s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.16s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.24s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.32s; }
.hero-photo { animation: rise 0.8s 0.2s cubic-bezier(0.22,1,0.36,1) both; }
@media (prefers-reduced-motion: reduce) { .hero-copy > *, .hero-photo { animation: none; } }
.hero { border-bottom: 2px solid var(--ink); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) clamp(380px, 36vw, 500px); max-width: var(--max); margin: 0 auto; padding: 0 44px; align-items: end; gap: 28px; }
.hero-grid > * { min-width: 0; }
.hero-copy { padding: 104px 0 84px; }
.beat1 {
  font-family: 'Montserrat'; font-weight: 600; font-size: clamp(22px, 2.6vw, 34px);
  color: var(--grey); letter-spacing: -0.01em; margin-bottom: 18px;
}
h1 {
  font-family: 'Montserrat'; font-weight: 800;
  font-size: clamp(30px, 4.8vw, 64px);
  line-height: 1.05; letter-spacing: -0.04em; color: var(--ink);
  text-transform: uppercase;
}
h1 .red { color: var(--red); }
h1 .plate { background: var(--red); color: #fff; padding: 0.02em 0.1em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero .sub { margin-top: 34px; font-size: 22px; font-weight: 500; color: var(--ink); max-width: 660px; line-height: 1.45; }
.hero .who { margin-top: 16px; font-size: 17px; color: var(--grey); max-width: 620px; }
.hero .who b { color: var(--ink); font-weight: 600; }
.cta-row { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-offer { margin-top: 14px; font-size: 14px; color: var(--grey); }
.hero-offer a { color: var(--red); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(176,0,0,0.3); }
.hero-offer a:hover { border-color: var(--red); }
.btn {
  font-family: 'Montserrat'; font-size: 15px; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; padding: 16px 30px; display: inline-block;
}
.btn.solid { background: var(--red); color: #fff; }
.btn.solid:hover { background: var(--ink); color: #fff; }
.btn.line { border: 2px solid var(--ink); color: var(--ink); }
.btn.line:hover { border-color: var(--red); color: var(--red); }
.hero-photo {
  position: relative; align-self: stretch; display: flex;
  background: #fff; min-height: 480px;
}
.photo-area { position: relative; flex: 1; overflow: hidden; }
.photo-area img {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  height: 97%; width: auto; max-width: none; display: block;
}
.name-strip {
  width: 118px; background: var(--red);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.name-strip span {
  writing-mode: vertical-rl; font-family: 'Montserrat'; font-weight: 800;
  font-size: 118px; line-height: 1; letter-spacing: -0.02em;
  color: rgba(255,255,255,0.13); text-transform: uppercase; white-space: nowrap;
}
.photo-tag {
  position: absolute; bottom: 68px; left: 20px; z-index: 2;
  background: rgba(255,255,255,0.9); color: var(--ink);
  padding: 14px 18px;
  font-family: 'Montserrat'; font-weight: 700; font-size: 13px;
  letter-spacing: 0.06em; text-transform: uppercase;
}

/* proof: гигантские красные цифры */
.proof { border-bottom: 1px solid var(--hair); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); max-width: var(--max); margin: 0 auto; padding: 0 44px; }
.proof-item { padding: 50px 32px 46px 0; }
.proof-item + .proof-item { border-left: 1px solid var(--hair); padding-left: 32px; }
.proof-item b {
  display: block; font-family: 'Montserrat'; font-weight: 800;
  font-size: clamp(20px, 1.8vw, 25px); line-height: 1.2; color: var(--red);
  letter-spacing: -0.01em; margin-bottom: 10px;
}
.proof-item span { font-size: 14px; font-weight: 500; color: var(--ink); line-height: 1.45; display: block; }
.proof-item span + span { margin-top: 5px; color: var(--grey); }

/* бренды: бегущая строка */
.brands { border-bottom: 2px solid var(--ink); overflow: hidden; padding: 26px 0; }
.marquee { display: flex; width: max-content; align-items: center; gap: 72px; animation: scrollx 32s linear infinite; }
.marquee img { height: 34px; width: auto; display: block; filter: grayscale(1); opacity: 0.8; }
@keyframes scrollx { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee { animation: none; flex-wrap: wrap; width: auto; padding: 0 24px; } }

/* КНИГА - scrollytelling (canvas-скраб) */
.book-scroll { position: relative; height: 560vh; border-bottom: 2px solid var(--ink); background: #fff; }
.book-sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: grid; grid-template-columns: 1.4fr 1fr; align-items: center;
  max-width: var(--max); margin: 0 auto; padding: 0 44px; gap: 40px;
}
.live { display: inline-flex; align-items: center; gap: 8px; }
.live::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--red); animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) { .live::before { animation: none; } }
.scene { position: relative; display: flex; justify-content: center; }
.frames { position: relative; width: min(100%, 88vh); aspect-ratio: 1; overflow: hidden; }
.frames img.poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  display: block; transition: opacity 0.3s; transform: scale(1.26);
}
.frames canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.frames.live img.poster { opacity: 0; }
.book-viewport { position: relative; height: 100vh; overflow: hidden; }
.book-track { position: absolute; top: 0; left: 0; width: 100%; will-change: transform; }
.tl { opacity: 0; will-change: opacity, transform; }
.tl + .tl { margin-top: 16px; }
.tl.gap { margin-top: 52px; }
.book-track h2 { font-size: clamp(26px, 2.9vw, 42px); line-height: 1.05; }
.book-track p { font-size: 20px; line-height: 1.5; max-width: 500px; }
.book-track .chapters { border-top: 2px solid var(--ink); max-width: 500px; }
.chapter {
  display: grid; grid-template-columns: 52px 1fr 120px; gap: 20px;
  padding: 15px 0; border-bottom: 1px solid var(--hair); align-items: baseline;
  font-size: 15px;
}
.chapter .no { font-family: 'Montserrat'; font-weight: 700; color: var(--red); font-size: 13px; }
.chapter .ttl { color: var(--ink); font-weight: 600; }
.chapter .ttl.dim { color: var(--grey); font-weight: 400; }
a.chapter:hover .ttl { color: var(--red); }
.chapter .st { text-align: right; font-size: 12px; color: var(--grey); }
.chapter .st.pub { color: var(--red); font-weight: 600; }
.book-track .cta-row { margin-top: 10px; display: flex; gap: 16px; flex-wrap: wrap; }
.feat {
  display: grid; grid-template-columns: 168px 1fr; gap: 20px; max-width: 500px;
  padding: 6px 0; align-items: baseline;
}
.feat b { font-weight: 700; font-size: 16px; color: var(--ink); }
.feat span { font-size: 15px; color: var(--grey); line-height: 1.5; }
.book-static { display: none; padding: 72px 0; border-bottom: 2px solid var(--ink); background: #fff; }
.book-static .bs-grid { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: start; }
.book-static img { width: 100%; height: auto; display: block; }
.book-static h2 { margin-top: 14px; line-height: 1.05; }
.book-static p.about { margin-top: 20px; font-size: 17px; max-width: 560px; }
.book-static .chapters { margin-top: 30px; border-top: 2px solid var(--ink); max-width: 560px; }
.book-static .cta-row { margin-top: 32px; }
body.no-scrolly .book-scroll { display: none; }
body.no-scrolly .book-static { display: block; }

/* эпоха: sticky-сцена трёх карточек -> манифест */
.epoch-scene { position: relative; height: 430vh; }
.epoch-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.ep-inner { position: relative; width: 100%; }
.ep-head { margin-bottom: 44px; }
.ep-cards { display: flex; gap: 28px; align-items: stretch; }
.ep-card {
  flex: 1; border: 2px solid var(--ink); background: #fff; min-height: 52vh;
  padding: 30px 28px; display: flex; flex-direction: column;
  will-change: transform, opacity;
}
.ep-card { position: relative; overflow: hidden; }
.ep-card .wm {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -52%);
  font-family: 'Montserrat'; font-weight: 800; font-size: clamp(160px, 16vw, 260px);
  line-height: 1; color: #f0ede8; pointer-events: none; user-select: none;
}
.ep-card.now .wm { color: rgba(255,255,255,0.12); }
.ep-card small, .ep-card ul, .ep-card h3, .ep-card p { position: relative; z-index: 1; }
.ep-card ul { list-style: none; margin-top: 22px; }
.ep-card ul li { font-size: 14.5px; color: var(--body); padding: 8px 0; border-bottom: 1px solid var(--hair); }
.ep-card ul li:last-child { border-bottom: 0; }
.ep-card.now ul li { color: rgba(255,255,255,0.92); border-color: rgba(255,255,255,0.25); }
.ep-card small { font-family: 'Montserrat'; font-weight: 700; font-size: 13px; letter-spacing: 0.06em; color: var(--grey); text-transform: uppercase; }
.ep-card h3 { font-family: 'Montserrat'; font-weight: 800; font-size: clamp(21px, 1.9vw, 32px); letter-spacing: -0.01em; line-height: 1.08; color: var(--ink); text-transform: uppercase; margin: auto 0 12px; text-align: right; }
.ep-card p { text-align: right; min-height: 46px; display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-end; }
.ep-card p { font-size: 15px; color: var(--grey); }
.ep-card.now { background: var(--red); border-color: var(--red); }
.ep-card.now small { color: rgba(255,255,255,0.75); }
.ep-card.now small .live-mini { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #fff; margin-right: 10px; animation: pulse 2.4s ease-in-out infinite; }
.ep-card.now h3 { color: #fff; }
.ep-card.now p { color: rgba(255,255,255,0.85); }
.ep-pull-wrap { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; pointer-events: none; }
.pull {
  font-family: 'Montserrat'; font-weight: 800;
  font-size: clamp(28px, 5.4vw, 92px); line-height: 1.03; letter-spacing: -0.03em;
}
.pull .rw { color: #dcdad6; transition: color 0.35s linear; }
.pull .rw.pre { font-weight: 700; }
.pull .rw.pre.lit { color: #a3a09a; }
.pull .rw.q.lit { color: var(--ink); }
.pull .rw.q.acc.lit { color: var(--red); }
@media (prefers-reduced-motion: reduce) {
  .pull .rw.pre { color: #a3a09a; }
  .pull .rw.q { color: var(--ink); }
  .pull .rw.q.acc { color: var(--red); }
}
body.ep-static .epoch-scene { height: auto; }
body.ep-static .epoch-sticky { position: static; height: auto; overflow: visible; padding: 64px 0; }
body.ep-static .ep-cards { flex-direction: column; }
body.ep-static .ep-card { min-height: 0; }
body.ep-static .ep-card h3 { margin-top: 18px; }
body.ep-static .ep-pull-wrap { position: static; opacity: 1; margin-top: 56px; }
body.ep-static .pull .rw.pre { color: #a3a09a; }
body.ep-static .pull .rw.q { color: var(--ink); }
body.ep-static .pull .rw.q.acc { color: var(--red); }

/* форматы работы */
.work { border-top: 2px solid var(--ink); }
.fmt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; border-top: 2px solid var(--ink); padding-top: 36px; }
.fmt-foot { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--hair); }
.fmt-foot p { font-size: 15px; color: var(--grey); max-width: 620px; }
.fmt-foot .btn { flex-shrink: 0; }
.fmt { display: flex; flex-direction: column; background: #fff; border: 2px solid var(--ink); padding: 30px 28px 28px; color: var(--body); transition: border-color 0.25s; }
.fmt:hover { border-color: var(--red); }
.fmt small { font-family: 'Montserrat'; font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); }
.fmt h3 { font-family: 'Montserrat'; font-weight: 800; font-size: 23px; letter-spacing: -0.01em; line-height: 1.12; color: var(--ink); margin: 10px 0 12px; }
.fmt p { font-size: 15.5px; color: var(--grey); }
.fmt .res { font-size: 13.5px; color: var(--ink); font-weight: 500; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--hair); }
.fmt .res small { display: block; font-size: 11px; letter-spacing: 0.1em; color: var(--grey); margin-bottom: 4px; }
.fmt .res { margin-top: auto; }
.fmt .cta { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-family: 'Montserrat'; font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); border: 1.5px solid var(--red); border-radius: 999px; padding: 11px 22px; margin-top: 22px; white-space: nowrap; transition: background 0.25s, color 0.25s; }
.fmt .cta::after { content: "\2192"; font-size: 14px; }
.fmt:hover .cta { background: var(--red); color: #fff; }
.fmt.ask { background: var(--red); border-color: var(--red); }
.fmt.ask small { color: rgba(255,255,255,0.75); }
.fmt.ask h3 { color: #fff; }
.fmt.ask p { color: rgba(255,255,255,0.88); }
.fmt.ask .cta { color: #fff; border-color: #fff; }
.fmt.ask:hover .cta { background: #fff; color: var(--red); }

/* форма запроса */
.contact-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 64px; align-items: start; }
.contact-intro { padding-top: 6px; }
.contact-links { margin-top: 38px; }
.contact-links a { display: flex; align-items: center; gap: 16px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,0.28); color: #fff; font-size: 16px; font-weight: 500; transition: border-color 0.2s; }
.contact-links a:first-child { border-top: 1px solid rgba(255,255,255,0.28); }
.contact-links a:hover { border-color: #fff; }
.contact-links a span { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,0.5); font-family: 'Montserrat'; font-weight: 700; font-size: 12px; text-transform: lowercase; }
.req-form { display: flex; flex-direction: column; }
.req-form label { display: block; font-family: 'Montserrat'; font-weight: 700; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.85); }
.req-form label + label { margin-top: 18px; }
.req-form input, .req-form select, .req-form textarea { display: block; width: 100%; margin-top: 8px; padding: 14px 15px; font: inherit; font-size: 15px; color: var(--ink); background: #fff; border: 2px solid transparent; border-radius: 0; }
.req-form input:focus, .req-form select:focus, .req-form textarea:focus { outline: none; border-color: var(--ink); }
.req-form textarea { resize: vertical; }
.req-form button { border: 0; cursor: pointer; font-family: inherit; margin-top: 26px; align-self: flex-start; }
.rf-note { display: block; margin-top: 14px; font-size: 13px; color: rgba(255,255,255,0.75); }
.rf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.rf-ok { font-size: 18px; font-weight: 600; color: #fff; line-height: 1.5; }
.rf-err { margin-top: 12px; font-size: 14px; color: #fff; opacity: 0.92; }

/* выступления: тёмная сцена */
.talks-sec { background: #0f0f0f; }
.talks-sec h2 { color: #fff; }
.talks-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; border-top: 2px solid rgba(255,255,255,0.9); }
.talk {
  display: grid; grid-template-columns: 84px 1fr; gap: 20px;
  padding: 26px 0; border-bottom: 1px solid #262626; align-items: start;
}
.talk .dur {
  font-family: 'Montserrat'; font-weight: 700; font-size: 14px; color: #fff;
  background: var(--red); text-align: center; padding: 8px 4px;
}
.talk:hover .dur { background: #fff; color: var(--red); }
.talk h3 { font-family: 'Montserrat'; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; color: #fff; }
.talk:hover h3 { color: #ff9d94; }
.talk p { font-size: 14px; color: #9a9a9a; margin-top: 4px; }
.talk .ctx { display: block; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); font-weight: 600; margin-top: 8px; }
.talks-cta { margin-top: 40px; }
.talks-sec .btn.line { border-color: rgba(255,255,255,0.85); color: #fff; }
.talks-sec .btn.line:hover { border-color: #fff; background: rgba(255,255,255,0.12); }

/* материалы */
.mats { border-top: 2px solid var(--ink); display: grid; grid-template-columns: repeat(4, 1fr); }
.mat { padding: 30px 28px 30px 0; border-bottom: 1px solid var(--hair); }
.mat + .mat { border-left: 1px solid var(--hair); padding-left: 28px; }
.mat small { display: block; font-family: 'Montserrat'; font-weight: 700; font-size: 14px; color: var(--red); margin-bottom: 12px; }
.mat h3 { font-family: 'Montserrat'; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; color: var(--ink); line-height: 1.2; }
.mat p { font-size: 14px; color: var(--grey); margin-top: 8px; }

/* обо мне */
.cv-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: stretch; }
.cv-intro { display: flex; flex-direction: column; }
.cv-intro h2 { font-size: clamp(30px, 3.2vw, 48px); }
.cv-quote-row { display: flex; gap: 20px; align-items: flex-start; margin: 0; }
.cv-ava { flex-shrink: 0; width: 80px; height: 80px; border-radius: 50%; object-fit: cover; object-position: 50% 16%; }
.cv-spacer { flex: 1 1 auto; min-height: 28px; }
.cv-intro p { margin-top: 22px; font-size: 17px; color: var(--body); max-width: 460px; }
.cv-quote { margin: 0; font-family: 'Montserrat'; font-style: italic; font-weight: 500; font-size: clamp(17px, 1.7vw, 21px); line-height: 1.4; letter-spacing: -0.01em; color: var(--ink); max-width: 420px; }
.cv-quote .red { color: var(--red); }
.cv-quote cite { display: block; margin-top: 14px; font-style: normal; font-weight: 600; font-size: 15px; letter-spacing: 0.02em; color: var(--grey); }
.cv-quote cite::before { content: '- '; }
.ledger { margin-top: 36px; display: grid; grid-template-columns: 1fr; gap: 0; border-top: 2px solid var(--ink); }
.ledger div { padding: 8px 0; border-bottom: 1px solid var(--hair); font-size: 14.5px; line-height: 1.3; color: var(--ink); font-weight: 500; }
.ledger div b { color: var(--red); font-weight: 700; }
.cv-rows { border-top: 2px solid var(--ink); }
.cv-row {
  display: grid; grid-template-columns: 96px 1fr; gap: 24px;
  padding: 9px 0; border-bottom: 1px solid var(--hair); align-items: baseline;
}
.cv-row .yr { font-family: 'Montserrat'; font-weight: 700; font-size: 14px; color: var(--red); }
.cv-row b { display: block; color: var(--ink); font-weight: 600; font-size: 16.5px; line-height: 1.22; }
.cv-row span { display: block; margin-top: 5px; font-size: 14px; line-height: 1.4; color: var(--grey); }

/* автономный контур */
.loop { border-top: 2px solid var(--ink); }
.loop-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.loop-intro p { margin-top: 22px; font-size: 17px; max-width: 440px; }
.loop-stats { margin-top: 34px; display: flex; gap: 36px; flex-wrap: wrap; }
.loop-stats div b { display: block; font-family: 'Montserrat'; font-weight: 800; font-size: 40px; color: var(--red); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.loop-stats div span { font-size: 12.5px; color: var(--grey); font-weight: 500; }
.loop-list { border-top: 2px solid var(--ink); }
.loop-item { display: block; padding: 24px 0; border-bottom: 1px solid var(--hair); }
.loop-item b { display: block; color: var(--ink); font-weight: 700; font-size: 17px; margin-bottom: 6px; font-family: 'Montserrat'; }
.loop-item b .live-mini { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); margin-right: 10px; animation: pulse 2.4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .loop-item b .live-mini { animation: none; } }
.loop-item span { font-size: 14.5px; color: var(--grey); }
a.loop-item:hover b { color: var(--red); }

/* экосистема */
.eco-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.route { padding: 32px 28px 32px 0; border-bottom: 1px solid var(--hair); display: flex; flex-direction: column; }
.route + .route { border-left: 1px solid var(--hair); padding-left: 28px; }
.route small { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); font-weight: 700; }
.route h3 { font-family: 'Montserrat'; font-weight: 800; font-size: 24px; letter-spacing: -0.02em; color: var(--ink); margin: 14px 0 8px; }
.route:hover h3 { color: var(--red); }
.route p { font-size: 14.5px; color: var(--grey); }
.route .site-logo { display: block; margin-top: 20px; width: auto; }
.route-sp { flex: 1 1 auto; min-height: 24px; }
.eco-badge { display: flex; align-items: center; gap: 14px; margin-top: 0; padding: 11px 16px; min-height: 62px; box-sizing: border-box; border: 1px solid var(--hair); border-radius: 12px; background: #fff; }
.tg-ava { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; font-family: 'Montserrat'; font-weight: 700; font-size: 8.5px; line-height: 1.06; letter-spacing: 0.01em; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.eco-logo { flex-shrink: 0; width: auto; height: 20px; }
.eco-meta, .tg-meta { display: flex; flex-direction: column; min-width: 0; }
.eco-meta b, .tg-meta b { font-family: 'Montserrat'; font-weight: 700; font-size: 14.5px; color: var(--ink); line-height: 1.25; }
.eco-meta > span, .tg-meta > span { font-size: 11.5px; color: var(--grey); margin-top: 2px; white-space: nowrap; }
a.route:hover .eco-badge { border-color: var(--red); }
.video-banner { margin-top: 56px; border: 2px solid var(--ink); }
.video-banner img { width: 100%; height: auto; display: block; }
.vb-links { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 20px; border-top: 2px solid var(--ink); }
.vb-links .btn { padding: 12px 22px; font-size: 13px; }
.vb-note { font-size: 14px; color: var(--grey); margin-left: auto; }
.vb-note a { font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--hair); }
.vb-note a:hover { color: var(--red); border-color: var(--red); }
@media (max-width: 960px) { .vb-note { margin-left: 0; } }

/* совет директоров */
.board { border-top: 2px solid var(--ink); }
.board-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.board-intro p { margin-top: 22px; font-size: 17px; max-width: 460px; }
.board-list { border-top: 2px solid var(--ink); }
.board-item { padding: 24px 0; border-bottom: 1px solid var(--hair); }
.board-item b { display: block; color: var(--ink); font-weight: 700; font-size: 17px; margin-bottom: 6px; font-family: 'Montserrat'; }
.board-item span { font-size: 14.5px; color: var(--grey); }

/* контакт: красный финал */
.contact { background: var(--red); padding: 110px 0; }
.contact .label { color: rgba(255,255,255,0.75); }
.contact h2 { font-size: clamp(36px, 4.6vw, 70px); margin-top: 16px; color: #fff; }
.contact p { margin-top: 26px; color: rgba(255,255,255,0.92); font-size: 20px; max-width: 560px; line-height: 1.5; }
.contact .btn.solid { background: #fff; color: var(--red); }
.contact .btn.solid:hover { background: var(--ink); color: #fff; }
.contact .btn.line { border-color: rgba(255,255,255,0.85); color: #fff; }
.contact .btn.line:hover { border-color: #fff; background: rgba(255,255,255,0.12); }
/* скролл-прогресс */
.progress {
  position: fixed; right: 44px; bottom: 22px; z-index: 40;
  display: flex; align-items: center; gap: 12px;
  font-family: 'Montserrat'; font-weight: 700; font-size: 12px; color: var(--ink);
  mix-blend-mode: multiply; pointer-events: none;
}
.progress .track { width: 110px; height: 2px; background: var(--hair); position: relative; }
.progress .track i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--red); }
@media (max-width: 960px) { .progress { display: none; } }

footer { border-top: 2px solid var(--ink); }
.foot-grid { max-width: var(--max); margin: 0 auto; padding: 56px 44px 44px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.foot-brand { font-family: 'Montserrat'; font-weight: 800; font-size: 16px; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink); }
.foot-brand .dot { color: var(--red); }
.foot-grid p { margin-top: 14px; font-size: 14px; color: var(--grey); }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col .label { margin-bottom: 6px; color: var(--grey); }
.foot-col a { font-size: 14px; color: var(--body); font-weight: 500; }
.foot-col a:hover { color: var(--red); }
.foot { max-width: var(--max); margin: 0 auto; padding: 20px 44px 26px; display: flex; justify-content: space-between; font-size: 13px; color: var(--grey); flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--hair); }

@media (max-width: 960px) {
  .wrap, .nav, .proof-grid, .brands-in, .foot { padding-left: 24px; padding-right: 24px; }
  .burger { display: flex; }
  .links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; border-bottom: 2px solid var(--ink);
    flex-direction: column; padding: 20px 24px 24px; gap: 18px; align-items: flex-start;
  }
  header.open .links { display: flex; }
  /* планшет и ландшафт телефона: две колонки, компактнее десктопа */
  .hero-grid { grid-template-columns: minmax(0, 1fr) clamp(300px, 38vw, 420px); padding: 0 24px; gap: 20px; }
  .hero-copy { padding: 56px 0 48px; }
  .hero-photo { min-height: 0; align-self: start; }
  .photo-area { display: flex; align-items: flex-start; }
  .photo-area img {
    position: relative; left: auto; bottom: auto; transform: none;
    width: 100%; height: auto; max-width: none;
  }
  .name-strip { width: 64px; }
  .name-strip span { font-size: 60px; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-item, .proof-item + .proof-item { border-left: none; padding: 28px 0 24px; border-top: 1px solid var(--hair); }
  .proof-item:nth-child(-n+2) { border-top: none; }
  .proof-item:nth-child(even) { border-left: 1px solid var(--hair); padding-left: 22px; }
  .fmt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eco-grid { grid-template-columns: 1fr; }
  .route { padding-right: 0; }
  .route + .route { border-left: none; padding-left: 0; }
}
@media (max-width: 700px) {
  /* портрет телефона: одна колонка, фото первым и на всю ширину */
  .fmt-grid { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-photo { order: -1; min-height: 0; margin: 0 -24px; }
  .hero-copy { padding: 36px 0 8px; }
  .photo-area { display: flex; align-items: flex-end; }
  .photo-area img {
    position: relative; left: auto; bottom: auto; transform: none;
    width: 100%; height: auto; max-width: none;
  }
}
@media (max-width: 560px) {
  .proof-grid { grid-template-columns: 1fr; }
  .proof-item, .proof-item + .proof-item { border-left: none; padding-left: 0; }
  .proof-item:nth-child(2) { border-top: 1px solid var(--hair); }
  .section { padding-top: 80px; padding-bottom: 80px; }
  .book-static .bs-grid { grid-template-columns: 1fr; gap: 40px; }
  .book-static img { max-width: 320px; }
  .chapter { grid-template-columns: 44px 1fr; }
  .chapter .st { display: none; }
  .era { grid-template-columns: 90px 1fr; gap: 18px; }
  .era .tech { display: none; }
  .fmt-grid { grid-template-columns: 1fr; }
  .fmt-foot { flex-direction: column; align-items: flex-start; gap: 18px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .talks-grid { grid-template-columns: 1fr; }
  .mats { grid-template-columns: 1fr 1fr; }
  .mat, .mat + .mat { border-left: none; padding-left: 0; }
  .mat:nth-child(even) { border-left: 1px solid var(--hair); padding-left: 20px; }
  .cv-grid, .board-grid { grid-template-columns: 1fr; gap: 44px; }
  .eco-grid { grid-template-columns: 1fr; }
  .route + .route { border-left: none; padding-left: 0; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; padding: 40px 24px 32px; }
  /* липкая шапка прячется при чтении (скролл вниз) и возвращается
     при скролле вверх - иначе перекрывает текст (Дэн, 08.08.2026) */
  header { position: sticky; top: 0; transition: transform .25s ease; }
  header.hdr-hidden { transform: translateY(-105%); }
  .name-strip { width: 44px; }
  .name-strip span { font-size: 38px; }
}
