:root {
  --ink: #111111;
  --ink-soft: #202020;
  --paper: #F2F0EA;
  --paper-deep: #e6e3da;
  --white: #F2F0EA;
  --copper: #C8A45D;
  --copper-light: #C8A45D;
  --line-dark: rgba(242,240,234,.18);
  --line-light: rgba(17,17,17,.16);
  --display: Georgia, "Times New Roman", serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: min(1180px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--paper); background: var(--ink); font: 400 17px/1.62 var(--sans); -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
[hidden] { display: none !important; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 14px; color: var(--ink); background: var(--paper); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 30; height: 78px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(24px, calc((100vw - 1180px) / 2)); transition: background .25s ease, box-shadow .25s ease; }
.site-header.scrolled { background: rgba(17,17,17,.94); box-shadow: 0 1px rgba(255,255,255,.08); backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 42px; aspect-ratio: 1; border: 1px solid rgba(200,164,93,.7); border-radius: 50%; color: var(--copper-light); font: 500 13px/1 var(--display); }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { color: var(--paper); font: 500 19px/1.15 var(--display); }
.brand-copy small { color: rgba(242,240,234,.54); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: rgba(242,240,234,.72); font-size: 13px; text-decoration: none; }
.nav a:hover { color: var(--paper); }
.nav .nav-cta { padding: 10px 18px; border: 1px solid rgba(242,240,234,.34); border-radius: 100px; }
.menu-button { display: none; width: 42px; height: 42px; padding: 12px 9px; border: 0; color: var(--paper); background: transparent; }
.menu-button span { display: block; height: 1px; margin: 7px 0; background: currentColor; transition: transform .25s ease; }

.chapter { position: relative; padding: 126px 0 150px; border-top: 1px solid var(--line-dark); scroll-margin-top: 70px; }
.chapter:first-child { border-top: 0; }
.chapter-light { color: var(--ink); background: var(--paper); border-color: var(--line-light); }
.chapter-grid { width: var(--container); margin: 0 auto; display: grid; grid-template-columns: minmax(330px,.82fr) minmax(0,1.18fr); gap: clamp(54px,8vw,120px); align-items: start; }
.chapter-rail { position: sticky; top: 102px; align-self: start; }
.chapter-number { display: block; margin-bottom: 22px; color: var(--copper-light); font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.chapter-light .chapter-number { color: var(--copper); }
.chapter-photo { margin: 0 0 32px; overflow: hidden; background: var(--ink-soft); }
.chapter-photo.portrait { width: min(100%,420px); border-radius: 210px 210px 28px 28px; }
.chapter-photo.landscape { border-radius: 26px; }
.chapter-photo img { object-position: center top; height: min(54vh,600px); object-fit: cover; filter: saturate(.9); }
.chapter-photo.portrait img { height: auto; aspect-ratio: 2 / 3; object-fit: contain; object-position: center top; }
.chapter-photo.landscape img { height: auto; aspect-ratio: 4/3; }
.chapter-rail h2 { margin: 0; font: 400 clamp(36px,3.7vw,58px)/1.08 var(--display); letter-spacing: -.035em; }
.chapter-copy { max-width: 730px; padding-top: 42px; }
.chapter-copy h1 { margin: 0 0 38px; font: 400 clamp(48px,5.7vw,82px)/.98 var(--display); letter-spacing: -.045em; }
.chapter-copy h3 { margin: 0 0 18px; font: 500 clamp(25px,2.2vw,34px)/1.22 var(--display); }
.chapter-copy p { margin: 0 0 22px; }
.chapter-copy strong { color: var(--copper-light); font-weight: 700; }
.chapter-light .chapter-copy strong { color: #80652f; }
.plain-list { margin: 0 0 32px; padding-left: 24px; }
.plain-list li { margin: 7px 0; }
.statement { margin: 38px 0 !important; padding: 4px 0 4px 24px; border-left: 2px solid var(--copper); font: 500 clamp(22px,2.1vw,30px)/1.4 var(--display); }
.prompt { margin-top: 36px !important; font: 400 24px/1.3 var(--display); }
.center-line { margin: 42px 0 !important; padding: 26px 0; border-block: 1px solid currentColor; text-align: center; opacity: .82; }
.copy-group { margin: 0 0 36px; padding: 32px; border: 1px solid var(--line-dark); border-radius: 24px; background: rgba(255,255,255,.035); }
.chapter-light .copy-group { border-color: var(--line-light); background: rgba(255,255,255,.5); }
.copy-group p:last-child { margin-bottom: 0; }
.thought { margin: 42px 0; padding: 34px; color: var(--paper); background: var(--ink-soft); border-radius: 24px; }
.thought .plain-list { margin-bottom: 0; font: 400 22px/1.45 var(--display); }
.story-lead { font: italic 400 clamp(31px,3.2vw,48px)/1.25 var(--display); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 58px; margin-top: 20px; padding: 15px 28px; border: 0; border-radius: 100px; cursor: pointer; font-weight: 800; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-light { color: var(--ink); background: var(--paper); }
.chapter-light .button-light { color: var(--paper); background: var(--ink); }
.button-dark { color: var(--paper); background: var(--ink); }
.button:disabled { cursor: not-allowed; opacity: .48; transform: none; }
.button-note { display: block; margin: 12px 0 0 22px; opacity: .58; }

.reviews { position: relative; margin: 54px 0; padding-bottom: 36px; }
.reviews-viewport { transition: height .3s ease; touch-action: pan-y; overflow: hidden; border-radius: 24px; background: transparent; }
.reviews-track { display: flex; align-items: flex-start; transition: transform .45s cubic-bezier(.22,.61,.36,1); }
.review-slide { flex: 0 0 100%; display: grid; place-items: center; margin: 0; background: transparent; }
.review-slide img { height: auto; object-fit: contain; }
.review-arrow { position: absolute; top: 50%; z-index: 2; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; color: var(--paper); background: rgba(17,17,17,.72); cursor: pointer; transform: translateY(-80%); }
.review-prev { left: 16px; }
.review-next { right: 16px; }
.review-dots { position: absolute; inset: auto 0 0; display: flex; justify-content: center; gap: 8px; }
.review-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(17,17,17,.25); }
.review-dots span.active { background: var(--ink); }

.method-steps { margin: 0; padding: 0; list-style: none; counter-reset: method; }
.method-steps li { counter-increment: method; position: relative; padding: 38px 0 38px 72px; border-top: 1px solid var(--line-light); }
.method-steps li::before { content: counter(method,decimal-leading-zero); position: absolute; top: 42px; left: 0; color: var(--copper); font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.method-steps h3 { margin-top: 0; }
.method-steps p:last-child { margin-bottom: 0; }
.long-term, .meeting-copy { margin-top: 70px; padding-top: 24px; border-top: 2px solid var(--ink); }
.meeting-copy { scroll-margin-top: 100px; }
.booking-cta { margin-top: 24px; }
.booking-note { margin-top: 14px !important; color: #606966; font-size: 14px; }
.channel-card { margin-top: 70px; padding: clamp(34px,5vw,62px); color: var(--paper); background: var(--ink-soft); border-radius: 28px; }
.channel-card h3 { margin: 0 0 24px; font: 400 clamp(32px,3vw,46px)/1.1 var(--display); }
.channel-card p { margin-bottom: 14px; }
.channel-card strong { color: var(--copper-light); }
.channel-links { display: flex; gap: 20px; margin-top: 30px; }
.channel-links a { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.channel-icon { width: 30px; height: 30px; flex: 0 0 30px; }
.channel-icon-max { padding: 5px; color: white; background: #5f4df4; border-radius: 50%; }

.site-footer { display: flex; justify-content: space-between; gap: 42px; align-items: end; padding: 50px max(24px,calc((100vw - 1180px)/2)); color: rgba(242,240,234,.64); background: #111111; font-size: 13px; }
.footer-brand { display: grid; flex: 0 0 auto; }
.site-footer strong { color: var(--paper); font: 500 20px/1.3 var(--display); }
.footer-meta { display: grid; justify-items: end; gap: 10px; min-width: 0; text-align: right; }
.footer-links { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { text-underline-offset: 4px; }
.cookie-consent { position: fixed; right: 24px; bottom: 24px; z-index: 40; display: flex; align-items: center; gap: 24px; width: min(620px, calc(100vw - 48px)); padding: 18px 20px; color: var(--paper); background: rgba(32,32,32,.97); border: 1px solid rgba(242,240,234,.2); border-radius: 16px; box-shadow: 0 14px 40px rgba(0,0,0,.28); }
.cookie-consent-copy { min-width: 0; }
.cookie-consent-copy strong { display: block; margin-bottom: 4px; color: var(--paper); font: 500 17px/1.25 var(--display); }
.cookie-consent-copy p { margin: 0; color: rgba(242,240,234,.72); font-size: 13px; line-height: 1.45; }
.cookie-consent-copy a { color: var(--paper); text-underline-offset: 3px; }
.cookie-consent-actions { display: flex; flex: 0 0 auto; gap: 8px; }
.cookie-consent-actions button { padding: 9px 14px; border: 1px solid rgba(242,240,234,.35); border-radius: 100px; color: var(--paper); background: transparent; cursor: pointer; font-size: 13px; }
.cookie-consent-actions button:hover { background: rgba(242,240,234,.1); }
.cookie-consent-accept { border-color: var(--copper) !important; color: var(--ink) !important; background: var(--copper) !important; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *,*::before,*::after { animation-duration:.01ms !important; transition-duration:.01ms !important; } .reveal { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  :root { --container: min(100% - 36px,680px); }
  .site-header { height: 68px; padding-inline: 18px; background: rgba(17,17,17,.94); }
  .brand-copy small { display: none; }
  .menu-button { display: block; z-index: 2; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav { position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 28px; background: var(--ink); transform: translateX(100%); transition: transform .3s ease; }
  .nav.open { transform: none; }
  .nav a { font: 400 31px/1.2 var(--display); }
  .chapter { padding: 96px 0 110px; }
  .chapter-grid { grid-template-columns: 1fr; gap: 30px; }
  .chapter-rail { position: static; }
  .chapter-photo { max-width: 480px; }
  .chapter-photo img { height: auto; max-height: none; }
  .chapter-copy { max-width: none; padding-top: 0; }
  .chapter-copy h1 { font-size: clamp(46px,11vw,68px); }
  .chapter-rail h2 { font-size: clamp(38px,8vw,54px); }
  .site-footer { display: grid; gap: 24px; align-items: start; }
  .footer-meta { justify-items: start; text-align: left; }
  .footer-links { justify-content: flex-start; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand-mark { width: 38px; }
  .chapter { padding: 86px 0 94px; }
  .chapter-photo.portrait { width: 82%; }
  .chapter-copy h1 { font-size: 44px; }
  .chapter-rail h2 { font-size: 38px; }
  .statement { padding-left: 18px; font-size: 23px; }
  .copy-group, .thought { padding: 25px 22px; }
  .button { width: 100%; }
  .button-note { margin-left: 0; text-align: center; }
  .review-arrow { width: 42px; height: 42px; }
  .method-steps li { padding-left: 48px; }
  .channel-card { padding: 32px 24px; }
  .site-footer { padding-block: 42px; }
  .cookie-consent { right: 12px; bottom: 12px; flex-direction: column; align-items: stretch; gap: 14px; width: calc(100vw - 24px); padding: 16px; }
  .cookie-consent-actions { justify-content: flex-end; }
}

/* Размеры подстраиваются под доступную высоту, sticky остаётся прежним. */
.metrika-pixel { position: absolute; left: -9999px; width: 1px; height: 1px; }
.chapter-copy h1, .chapter-rail h2, .chapter-copy h3 { overflow-wrap: break-word; }
.planerka-modal-iframe { color-scheme: light; }
/* Не скрываем внешний календарь, если браузер не доставил событие load для cross-origin iframe. */
.planerka-modal-iframe { opacity: 1 !important; }
@media (min-width: 901px) {
  .chapter-rail h2 { font-size: var(--rail-font, clamp(36px,3.7vw,58px)); }
  .chapter-photo.portrait { width: min(100%,420px,var(--portrait-width,420px)); }
  .chapter-photo.portrait img { height: var(--portrait-height,auto); }
  .chapter-photo.landscape { width: min(100%,calc(var(--photo-height,54vh) * 1.333)); }
  .chapter-photo.landscape img { height: auto; }
}
@media (max-width: 560px) {
  .chapter-copy h1 { font-size: clamp(32px,min(11.3vw,10svh),44px); }
  .chapter-rail h2 { font-size: clamp(28px,min(9.75vw,8svh),38px); }
}

.chapter-light .channel-card strong { color: var(--copper-light); }

