/* Артём Исайкин — стили сайта.
   Палитра из его студии и YouTube-обложек: тёплый чёрный, бумага, янтарь лампы.
   Подпись — линия «шум → тишина» (symbol #wave-big в index.html). */

/* ---------- шрифты ---------- */
@font-face { font-family: 'Literata'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(../fonts/literata-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Literata'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(../fonts/literata-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20BD, U+2190-2193, U+2212; }
@font-face { font-family: 'Literata'; font-style: italic; font-weight: 400 600; font-display: swap;
  src: url(../fonts/literata-cyrillic-italic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Literata'; font-style: italic; font-weight: 400 600; font-display: swap;
  src: url(../fonts/literata-latin-italic.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20BD, U+2190-2193, U+2212; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/onest-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/onest-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20BD, U+2190-2193, U+2212; }

/* ---------- токены ---------- */
:root {
  --ink: #191714;        /* тёплый чёрный — фон студии */
  --ink-2: #24201b;
  --ink-3: #2f2a23;
  --paper: #f5f2ec;      /* светлая стена */
  --paper-2: #ece6dc;
  --paper-3: #e2d9cb;
  --white: #fffdf9;
  --text: #2a2723;
  --muted: #6b655d;
  --stone: #9a9893;      /* серое «до» */
  --amber: #e8a33d;      /* лампа — акцент на тёмном */
  --amber-soft: #f1c27a;
  --amber-deep: #9a5a14; /* акцент текстом на светлом */
  --line: rgba(42, 39, 35, .14);
  --line-light: rgba(245, 242, 236, .16);

  --serif: 'Literata', Georgia, 'Times New Roman', serif;
  --sans: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --wrap: 1200px;
  --gut: 24px;
  --r: 18px;
  --sec: clamp(72px, 9vw, 132px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (max-width: 600px) { :root { --gut: 16px; } }

/* ---------- база ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 17px/1.6 var(--sans); font-feature-settings: 'ss01';
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, blockquote, dl, dd { margin: 0; }
strong, b { font-weight: 600; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--amber); color: var(--ink); padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }

.section { padding: var(--sec) 0; position: relative; }

.eyebrow {
  font: 600 12.5px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--amber-deep); margin: 0 0 18px;
}
.eyebrow--amber { color: var(--amber); }

.h2 {
  font: 400 clamp(34px, 4.6vw, 58px)/1.08 var(--serif); letter-spacing: -.015em;
  text-wrap: balance;
}
.h2 em, .h3 em { font-style: italic; color: var(--amber-deep); }
.h3 { font: 400 clamp(24px, 2.6vw, 32px)/1.2 var(--serif); }
.lead { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.55; }

.head { margin-bottom: clamp(36px, 5vw, 60px); max-width: 760px; }
.head--center { text-align: center; margin-left: auto; margin-right: auto; }
.head__sub { color: var(--muted); font-size: 18px; margin-top: 18px; }
.head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 15.5px/1.2 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--amber { background: var(--amber); color: var(--ink); }
.btn--amber:hover { background: var(--amber-soft); }
.btn--ghost { border-color: rgba(245, 242, 236, .38); color: var(--paper); }
.btn--ghost:hover { border-color: var(--paper); background: rgba(245, 242, 236, .06); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--ink-3); }
.btn--line { border-color: var(--text); color: var(--text); }
.btn--line:hover { background: var(--text); color: var(--paper); }
.btn__play {
  width: 26px; height: 26px; border-radius: 50%; background: var(--amber); position: relative; flex: none;
}
.btn__play::after {
  content: ''; position: absolute; left: 10px; top: 8px;
  border-left: 8px solid var(--ink); border-top: 5px solid transparent; border-bottom: 5px solid transparent;
}

/* ---------- шапка ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; color: var(--paper);
  transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.header.is-scrolled { background: rgba(25, 23, 20, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line-light); }
.header__in { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.logo__mark { width: 34px; height: 34px; color: var(--paper); }
.logo__name { font: 500 19px/1 var(--serif); letter-spacing: .005em; }
.nav { display: flex; gap: 26px; }
.nav a { text-decoration: none; font-size: 15px; opacity: .82; transition: opacity .2s; }
.nav a:hover { opacity: 1; }
.header__cta { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.burger span, .burger span::before, .burger span::after {
  position: absolute; left: 11px; width: 22px; height: 1.5px; background: currentColor; content: ''; transition: transform .3s, top .3s, opacity .2s;
}
.burger span { top: 21px; }
.burger span::before { left: 0; top: -7px; }
.burger span::after { left: 0; top: 7px; }

@media (max-width: 980px) {
  .nav { display: none; }
}
@media (max-width: 860px) {
  .burger { display: block; }
  .header__cta { display: none; }
  .header.is-open { background: var(--ink); }
  .header.is-open .nav {
    display: flex; flex-direction: column; gap: 0; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--ink); padding: 8px var(--gut) 24px; border-top: 1px solid var(--line-light);
  }
  .header.is-open .nav a { padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line-light); opacity: 1; }
  .header.is-open .burger span { background: transparent; }
  .header.is-open .burger span::before { top: 0; transform: rotate(45deg); }
  .header.is-open .burger span::after { top: 0; transform: rotate(-45deg); }
}

/* ---------- 1. первый экран ---------- */
.hero {
  position: relative; background: var(--ink); color: var(--paper); overflow: hidden;
  min-height: min(100svh, 940px); display: flex; align-items: center;
  padding: 120px 0 150px;
}
/* портрет 4:5: ширина от высоты экрана, правый край — по сетке, края растворяются в фоне */
.hero__photo {
  position: absolute; top: 0; bottom: 0;
  right: max(0px, calc((100vw - var(--wrap)) / 2 - var(--gut) * 2));
  width: min(58%, calc(min(100svh, 940px) * .8));
}
.hero__photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 32%, #000 88%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 32%, #000 88%, transparent 100%);
}
.hero__photo::after { /* затемнение снизу под линию тишины */
  content: ''; position: absolute; inset: auto 0 0; height: 42%;
  background: linear-gradient(to top, var(--ink) 8%, transparent);
}
.hero__in { position: relative; z-index: 2; width: 100%; }
.hero__text { max-width: 600px; }
.hero__title {
  font: 400 clamp(52px, 7.6vw, 108px)/.95 var(--serif); letter-spacing: -.025em; margin-bottom: 18px;
}
.hero__title span { display: block; font-style: italic; color: var(--amber-soft); }
.hero__role { font: italic 400 clamp(20px, 2vw, 26px)/1.3 var(--serif); color: var(--paper); opacity: .9; margin-bottom: 22px; }
.hero__lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: rgba(245, 242, 236, .8); max-width: 520px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__facts { display: flex; gap: clamp(24px, 4vw, 56px); margin-top: clamp(48px, 7vh, 80px); max-width: 680px; }
.hero__facts li { display: flex; flex-direction: column; gap: 6px; }
.hero__facts b { font: 400 clamp(26px, 2.6vw, 36px)/1 var(--serif); color: var(--amber); white-space: nowrap; }
.hero__facts span { font-size: 14px; line-height: 1.4; color: rgba(245, 242, 236, .66); max-width: 190px; }

.hero__wave { position: absolute; left: 0; right: 14%; bottom: 46px; height: 80px; z-index: 2; color: rgba(245, 242, 236, .42); }
.wave { width: 100%; height: 100%; overflow: visible; stroke-dasharray: 1; stroke-dashoffset: 0; }
.wave__dot {
  position: absolute; right: -7px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%;
  background: var(--amber); box-shadow: 0 0 0 6px rgba(232, 163, 61, .16), 0 0 28px 6px rgba(232, 163, 61, .45);
}
.wave__l, .wave__r { position: absolute; top: -8px; font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.wave__l { left: var(--gut); }
.wave__r { right: -10px; top: -14px; color: var(--amber); }
.js .wave { stroke-dashoffset: 1; animation: calm 3.2s .3s var(--ease) forwards; }
.js .wave__dot { opacity: 0; animation: glow 1.2s 2.8s ease-out forwards, breathe 6s 4s ease-in-out infinite; }
@keyframes calm { to { stroke-dashoffset: 0; } }
@keyframes glow { to { opacity: 1; } }
@keyframes breathe { 50% { box-shadow: 0 0 0 10px rgba(232, 163, 61, .1), 0 0 40px 10px rgba(232, 163, 61, .35); } }

@media (max-width: 859px) {
  .hero { display: block; padding: 0 0 128px; min-height: 0; }
  .hero__photo { position: relative; right: auto; width: 100%; height: min(64svh, 540px); }
  .hero__photo img { -webkit-mask-image: none; mask-image: none; object-position: 50% 0; }
  .hero__photo::after { height: 55%; }
  .hero__in { margin-top: -110px; }
  .hero { padding-top: 56px; }
  .hero__facts { display: grid; grid-template-columns: max-content 1fr; gap: 16px 18px; margin-top: 40px; align-items: baseline; }
  .hero__facts li { display: contents; }
  .hero__facts b { font-size: 24px; }
  .hero__facts span { max-width: none; font-size: 13.5px; }
  .hero__wave { right: 18%; bottom: 40px; height: 56px; }
}
@media (max-width: 420px) {
  .hero__actions .btn { width: 100%; }
}

/* ---------- 2. с чем приходят ---------- */
.req { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 28px; counter-reset: r; }
.req li { counter-increment: r; border-top: 1px solid var(--line); padding: 22px 0 30px; display: flex; flex-direction: column; gap: 8px; }
.req li:not(.req__cta)::before { content: counter(r, decimal-leading-zero); font: italic 400 15px/1 var(--serif); color: var(--amber-deep); margin-bottom: 6px; }
.req b { font: 500 20px/1.25 var(--serif); }
.req span { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.req__cta { background: var(--ink); color: var(--paper); border-radius: var(--r); padding: 24px !important; border-top: 0 !important; justify-content: space-between; gap: 18px !important; }
.req__cta span { color: rgba(245, 242, 236, .72); display: block; margin-top: 8px; }
.req__cta a { color: var(--amber); font-weight: 600; text-decoration: none; font-size: 15.5px; }
.req__cta a:hover { text-decoration: underline; }
.req__after { margin-top: 40px; max-width: 760px; font: 400 clamp(19px, 1.8vw, 22px)/1.5 var(--serif); }
.req__after a { color: var(--amber-deep); text-decoration: none; white-space: nowrap; font-family: var(--sans); font-size: 16px; font-weight: 600; }
.req__after a:hover { text-decoration: underline; }
@media (max-width: 1040px) { .req { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .req { grid-template-columns: 1fr; } .req li { padding-bottom: 22px; } }

/* ---------- 3. история: от серого к живому ---------- */
.story { background: linear-gradient(180deg, #e2e2e0 0%, #e9e7e2 35%, #f3ece0 75%, #f7eedf 100%); view-timeline: --story block; }
.story__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.story__aside { position: sticky; top: 100px; }
.story__photo { border-radius: var(--r); overflow: hidden; background: var(--ink); aspect-ratio: 5 / 6; }
.story__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
@supports (animation-timeline: view()) {
  .story__photo img { animation: alive linear both; animation-timeline: --story; animation-range: entry 25% contain 55%; }
  @keyframes alive { from { filter: grayscale(1) contrast(.92) brightness(.95); } to { filter: none; } }
}
.quote { margin-top: 28px; padding-left: 22px; border-left: 2px solid var(--amber); }
.quote p { font: italic 400 20px/1.5 var(--serif); }
.quote cite { display: block; margin-top: 10px; font: 400 14px/1.4 var(--sans); color: var(--muted); font-style: normal; }
.story__text .h2 { margin-bottom: 26px; }
.story__text .h2 em { display: block; }

.tl { position: relative; margin: 44px 0 48px; padding-left: 34px; }
.tl::before { /* рельс от серого к янтарю */
  content: ''; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px;
  background: linear-gradient(var(--stone), #b8a68b 50%, var(--amber));
}
.tl li { position: relative; padding-bottom: 30px; }
.tl li:last-child { padding-bottom: 0; }
.tl li::before {
  content: ''; position: absolute; left: -34px; top: 5px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--stone); background: color-mix(in srgb, var(--amber) calc(var(--t) * 100%), var(--stone));
  box-shadow: 0 0 0 4px #ebe8e2;
}
.tl li:last-child::before { box-shadow: 0 0 0 4px #f6eddf, 0 0 18px 4px rgba(232, 163, 61, .5); }
.tl__when { display: block; font: 600 12px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.tl b { display: block; font: 500 22px/1.25 var(--serif); margin-bottom: 8px; }
.tl p { color: #4a453e; font-size: 16.5px; }

.creds { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 32px; margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--line); }
.creds dt { font: 600 12px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--amber-deep); margin-bottom: 6px; }
.creds dd { font-size: 15.5px; line-height: 1.5; }

@media (max-width: 900px) {
  .story__grid { grid-template-columns: 1fr; }
  .story__aside { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: end; }
  .story__aside .quote { margin-top: 0; }
}
@media (max-width: 600px) {
  .story__aside { grid-template-columns: 1fr; }
  .story__photo { aspect-ratio: 4 / 4.2; }
  .creds { grid-template-columns: 1fr; }
}

/* ---------- видео-карточки ---------- */
.vcard { display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
.vcard__img { position: relative; display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--ink-2); }
.vcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.vcard:hover .vcard__img img { transform: scale(1.035); }
.vcard__play {
  position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%;
  background: rgba(25, 23, 20, .72); backdrop-filter: blur(4px); box-shadow: 0 0 0 1.5px rgba(232, 163, 61, .8);
  transition: background-color .25s;
}
.vcard__play::after {
  content: ''; position: absolute; left: 23px; top: 19px;
  border-left: 15px solid var(--amber); border-top: 10px solid transparent; border-bottom: 10px solid transparent;
}
.vcard:hover .vcard__play { background: rgba(25, 23, 20, .9); }
.vcard__kicker { font: 600 12px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--amber-deep); }
.vcard__title { font: 500 18px/1.35 var(--serif); }
.vcard--wide { flex-direction: row; align-items: center; gap: 22px; background: var(--white); border-radius: var(--r); padding: 14px; box-shadow: 0 1px 0 var(--line); }
.vcard--wide .vcard__img { width: 46%; flex: none; }
.vcard--wide .vcard__body { display: flex; flex-direction: column; gap: 8px; padding-right: 10px; }
@media (max-width: 560px) {
  .vcard--wide { flex-direction: column; align-items: stretch; }
  .vcard--wide .vcard__img { width: 100%; }
  .vcard--wide .vcard__body { padding: 4px 6px 8px; }
}

/* ---------- 4. подход ---------- */
.approach { background: var(--paper); }
.approach__top { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: end; margin-bottom: clamp(44px, 6vw, 72px); }
.approach__top .head { margin-bottom: 0; }
.approach__intro { font-size: 18px; color: #4a453e; }
.approach__intro strong { color: var(--text); }

.grow { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.grow__photo { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; }
.grow__photo img { width: 100%; height: 100%; object-fit: cover; }
.grow__body .h3 { margin-bottom: 30px; }
.two { display: grid; gap: 28px; }
.two li { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; }
.two__n {
  grid-row: span 2; width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--amber-deep);
  display: grid; place-items: center; font: italic 400 24px/1 var(--serif); color: var(--amber-deep);
}
.two b { font: 500 21px/1.3 var(--serif); margin: 4px 0 8px; display: block; }
.two p { color: #4a453e; font-size: 16.5px; }

.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: clamp(56px, 7vw, 88px); }
.principles li { border-top: 2px solid var(--text); padding-top: 18px; }
.principles b { display: block; font: 500 20px/1.3 var(--serif); margin-bottom: 10px; }
.principles p { font-size: 15.5px; color: var(--muted); }

.inside { margin-top: clamp(56px, 7vw, 88px); background: var(--white); border-radius: var(--r); padding: clamp(26px, 4vw, 44px); display: grid; grid-template-columns: 1fr 3fr; gap: 28px; align-items: center; }
.inside__title { font: 400 26px/1.2 var(--serif); }
.inside__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.inside__list li { display: flex; flex-direction: column; gap: 6px; }
.inside__list svg { width: 34px; height: 34px; fill: none; stroke: var(--amber-deep); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 6px; }
.inside__list b { font-weight: 600; font-size: 16px; }
.inside__list span { font-size: 14.5px; color: var(--muted); line-height: 1.5; }

@media (max-width: 1000px) {
  .principles { grid-template-columns: 1fr 1fr; }
  .inside { grid-template-columns: 1fr; }
  .inside__list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  .approach__top, .grow { grid-template-columns: 1fr; }
  .grow__photo { max-width: 460px; }
}
@media (max-width: 560px) {
  .principles, .inside__list { grid-template-columns: 1fr; }
}

/* ---------- 5. истории ---------- */
.cases { background: var(--ink); color: var(--paper); }
.cases__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.case { background: var(--ink-2); border: 1px solid var(--line-light); border-radius: var(--r); padding: clamp(26px, 3.4vw, 44px); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; position: relative; }
.case::before { content: '“'; position: absolute; right: 26px; top: 6px; font: 400 96px/1 var(--serif); color: var(--amber); opacity: .3; }
.case__text { font: italic 400 clamp(19px, 1.8vw, 22px)/1.55 var(--serif); }
.case__tag { font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.cases__note { margin-top: 32px; color: rgba(245, 242, 236, .62); max-width: 760px; font-size: 15.5px; }
@media (max-width: 760px) { .cases__grid { grid-template-columns: 1fr; } }

/* ---------- 6. форматы: чем глубже шаг, тем тише линия ---------- */
.formats { background: var(--paper-2); }
.path { display: grid; gap: 14px; counter-reset: s; }
.step {
  display: grid; grid-template-columns: 140px 1fr 250px; gap: 32px; align-items: center;
  background: var(--white); border-radius: var(--r); padding: 30px 34px;
}
.step:nth-child(2) { background: #f8f3eb; }
.step:nth-child(3) { background: #f1e9dc; }
.step--deep { background: var(--ink) !important; color: var(--paper); }
.step__wave { width: 120px; height: 24px; color: var(--stone); overflow: visible; }
.step:nth-child(2) .step__wave { color: #b39c7c; }
.step:nth-child(3) .step__wave { color: var(--amber-deep); }
.step--deep .step__wave { color: var(--amber); }
.step__kicker { font: 600 12px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--amber-deep); margin-bottom: 8px; }
.step--deep .step__kicker { color: var(--amber); }
.step__title { font: 400 clamp(23px, 2.2vw, 28px)/1.2 var(--serif); margin-bottom: 10px; }
.step__body p:not(.step__kicker) { color: #4a453e; font-size: 16px; }
.step--deep .step__body p:not(.step__kicker) { color: rgba(245, 242, 236, .76); }
.step__side { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.step__price { font: 500 20px/1.3 var(--serif); }
.step__price small { display: block; font: 400 14px/1.4 var(--sans); color: var(--muted); margin-top: 2px; }
.step--deep .step__price small { color: rgba(245, 242, 236, .6); }

.soon { margin-top: 28px; border: 1.5px dashed rgba(42, 39, 35, .3); border-radius: var(--r); padding: 26px 34px; display: grid; grid-template-columns: 140px 1fr auto; gap: 32px; align-items: center; }
.soon__label { font: italic 400 24px/1 var(--serif); color: var(--amber-deep); }
.soon__title { font: 400 24px/1.2 var(--serif); margin-bottom: 6px; }
.soon__body p { color: var(--muted); font-size: 16px; max-width: 600px; }

@media (max-width: 900px) {
  .step { grid-template-columns: 1fr; gap: 16px; padding: 26px 24px; }
  .step__side { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 16px; }
  .step--deep .step__side { border-color: var(--line-light); }
  .soon { grid-template-columns: 1fr; gap: 14px; padding: 24px; }
}

/* ---------- 7. кому подойду ---------- */
.fit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fit__col { border-radius: var(--r); padding: clamp(26px, 3.4vw, 40px); }
.fit__col--yes { background: var(--white); }
.fit__col--no { background: transparent; border: 1px solid var(--line); }
.fit__col h3 { font: 400 26px/1.2 var(--serif); margin-bottom: 20px; }
.fit__col li { position: relative; padding: 12px 0 12px 34px; border-top: 1px solid var(--line); font-size: 16.5px; }
.fit__col li::before { position: absolute; left: 0; top: 11px; font: 600 17px/1.4 var(--sans); }
.fit__col--yes li::before { content: '✓'; color: var(--amber-deep); }
.fit__col--no li::before { content: '—'; color: var(--stone); }
.fit__col--no li { color: var(--muted); }
@media (max-width: 760px) { .fit__grid { grid-template-columns: 1fr; } }

/* ---------- 8. видео ---------- */
.video { background: var(--ink); color: var(--paper); }
.video .vcard__kicker { color: var(--amber); }
.video .vcard__title { color: var(--paper); }
.vgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 24px; }
.channels { display: flex; gap: 12px; flex-wrap: wrap; }
.channels a { text-decoration: none; border: 1px solid var(--line-light); border-radius: 14px; padding: 12px 18px; display: flex; flex-direction: column; gap: 2px; transition: border-color .2s, background-color .2s; }
.channels a:hover { border-color: var(--amber); background: rgba(232, 163, 61, .06); }
.channels b { font-size: 15px; }
.channels span { font-size: 13.5px; color: rgba(245, 242, 236, .6); }
@media (max-width: 1040px) { .vgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .vgrid { grid-template-columns: 1fr; } }

/* ---------- 9. вопросы ---------- */
.faq__grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(28px, 6vw, 96px); align-items: start; }
.faq .head { position: sticky; top: 100px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font: 500 19px/1.4 var(--serif);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after, .faq summary::before {
  content: ''; position: absolute; right: 8px; top: 50%; width: 16px; height: 1.5px; background: var(--amber-deep); transition: transform .3s var(--ease);
}
.faq summary::before { transform: rotate(90deg); }
.faq details[open] summary::before { transform: rotate(0); }
.faq details p { padding: 0 48px 24px 0; color: #4a453e; font-size: 16.5px; }
@media (max-width: 860px) { .faq__grid { grid-template-columns: 1fr; } .faq .head { position: static; } }

/* ---------- 10. финал ---------- */
.final { background: var(--ink); color: var(--paper); overflow: hidden; }
.final__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.final__photo { border-radius: 50%; overflow: hidden; aspect-ratio: 1; max-width: 460px; box-shadow: 0 0 0 1px rgba(232, 163, 61, .35), 0 0 0 18px rgba(232, 163, 61, .05), 0 0 90px 10px rgba(232, 163, 61, .18); }
.final__photo img { width: 100%; height: 100%; object-fit: cover; }
.final .lead { color: rgba(245, 242, 236, .78); margin: 22px 0 30px; max-width: 520px; }
@media (max-width: 800px) {
  .final__grid { grid-template-columns: 1fr; }
  .final__photo { max-width: 260px; }
}

/* ---------- формы ---------- */
.lform__label { display: block; font: 600 12px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; opacity: .75; }
.lform__row { display: flex; gap: 10px; flex-wrap: wrap; max-width: 520px; }
.lform__input {
  flex: 1 1 240px; min-height: 54px; border-radius: 999px; padding: 0 22px; font: 400 17px/1 var(--sans);
  border: 1.5px solid rgba(245, 242, 236, .3); background: rgba(245, 242, 236, .06); color: inherit;
}
.lform__input::placeholder { color: rgba(245, 242, 236, .4); }
.lform__input:focus { outline: none; border-color: var(--amber); }
.lform__input.is-error { border-color: #e2725b; }
.lform__status { margin-top: 12px; font-size: 15px; min-height: 1.4em; }
.lform__status.is-ok { color: var(--amber-soft); }
.lform__status.is-err { color: #f09a85; }

/* ---------- окна ---------- */
dialog { border: 0; padding: 0; color: inherit; }
dialog::backdrop { background: rgba(12, 11, 9, .72); backdrop-filter: blur(4px); }
.ldialog { width: min(460px, calc(100vw - 32px)); background: var(--ink); color: var(--paper); border-radius: 22px; padding: 38px 32px 30px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 1px var(--line-light); }
.ldialog .eyebrow { color: var(--amber); }
.lform__title { font: 400 25px/1.25 var(--serif); margin-bottom: 22px; }
.ldialog .lform__input { width: 100%; }
.lform__btn { width: 100%; margin-top: 12px; }
.ldialog__close, .vdialog__close {
  position: absolute; right: 12px; top: 10px; width: 40px; height: 40px; border: 0; background: none; cursor: pointer;
  font-size: 28px; line-height: 1; color: rgba(245, 242, 236, .7);
}
.ldialog__close:hover, .vdialog__close:hover { color: var(--paper); }
.vdialog { width: min(1100px, calc(100vw - 32px)); background: #000; border-radius: 14px; overflow: visible; }
.vdialog__close { top: -46px; right: -6px; }
.vdialog__frame { aspect-ratio: 16 / 9; }
.vdialog__frame iframe { width: 100%; height: 100%; border: 0; border-radius: 14px; display: block; }

/* ---------- подвал ---------- */
.footer { background: var(--ink); color: rgba(245, 242, 236, .55); border-top: 1px solid var(--line-light); font-size: 14.5px; }
.footer__in { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 28px; }
.footer__nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--paper); }

/* ---------- мягкое появление ---------- */
.rise { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rise.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .wave { animation: none; stroke-dashoffset: 0; }
  .js .wave__dot { animation: none; opacity: 1; }
  .rise { opacity: 1; transform: none; transition: none; }
  .story__photo img { animation: none !important; }
}

.footer p { margin: 0; }

/* ---------- личная консультация: отдельно над линейкой занятий команды ---------- */
.consult {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center;
  background: var(--ink); color: var(--paper); border-radius: 22px;
  padding: clamp(28px, 4vw, 52px); margin-bottom: 44px;
  box-shadow: 0 24px 60px -30px rgba(25, 23, 20, .55);
}
.consult::before { /* тёплый свет лампы из угла */
  content: ''; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 163, 61, .28), transparent 65%); pointer-events: none;
}
.consult > * { position: relative; }
.consult__label { font: 600 12.5px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin-bottom: 12px; }
.consult__title { font: 400 clamp(28px, 3vw, 38px)/1.15 var(--serif); margin-bottom: 14px; }
.consult__text > p:not(.consult__label) { color: rgba(245, 242, 236, .78); font-size: 16.5px; }
.consult__facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; }
.consult__facts li { position: relative; padding-left: 16px; font-size: 14.5px; color: rgba(245, 242, 236, .7); }
.consult__facts li::before { content: ''; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.consult__form { background: rgba(245, 242, 236, .05); border: 1px solid var(--line-light); border-radius: 18px; padding: 24px; }
.consult__form .lform__label { text-transform: none; letter-spacing: 0; font: 500 15px/1.4 var(--sans); opacity: .85; }
.consult__form .lform__input { width: 100%; }
.path__label { font: 600 12.5px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
@media (max-width: 860px) {
  .consult { grid-template-columns: 1fr; }
  .consult__form { padding: 20px; }
}