@charset "utf-8";

/* ==========================================================================
   Impact Consulting — production stylesheet
   Порядок: шрифты → токены → база → компоненты → секции → адаптив → motion
   ========================================================================== */

/* ------------------------------------------------------------------ шрифты */
/* Golos Text, переменное начертание, self-hosted. Подсеты по unicode-range —
   браузер скачивает только нужный диапазон. */

@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/golos-text-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/golos-text-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/golos-text-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/golos-text-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ------------------------------------------------------------------ токены */

:root {
  --canvas: #fff;
  --canvas-warm: #f8f8f6;
  --surface: #f5f5f3;
  --surface-soft: #fafaf8;

  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --red: #c60000;
  --red-deep: #a80000;
  --hair: rgba(29, 29, 31, 0.09);

  --r-control: 12px;
  --r-small: 16px;
  --r-medium: 22px;
  --r-large: 28px;
  --r-pill: 999px;

  --dur-fast: 200ms;
  --dur-normal: 360ms;
  --dur-slow: 700ms;
  --ease: cubic-bezier(0.25, 0.6, 0.2, 1);

  --container: 1280px;
  --gutter: 36px;
  --header-h: 64px;

  --font: 'Golos Text', 'Helvetica Neue', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

/* -------------------------------------------------------------------- база */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;

  /* clip, а не hidden: hidden сделал бы корень скролл-контейнером
     и сломал position:sticky у hero и левой колонки «Почему Impact». */
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }

/* Обёртка <picture> должна занимать весь контейнер, иначе height:100%
   у вложенного <img> не к чему привязаться. */
.cons__media picture,
.train-card__media picture,
.founder__parallax picture,
.blog-feature__media picture {
  width: 100%;
  height: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

address { font-style: normal; }

[hidden] { display: none !important; }

:where(a, button, input, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  font-size: 14px;
  transition: top var(--dur-fast) var(--ease);
}

.skip-link:focus { top: 16px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* --------------------------------------------------------------- типографика */

.eyebrow {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0.01em;
}

.eyebrow--red { color: var(--red); }

.section-title {
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.06;
  margin-top: 14px;
  text-wrap: balance;
}

.section-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  text-wrap: pretty;
}

/* ------------------------------------------------------------------ кнопки */

.btn {
  --btn-h: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--btn-h);
  padding-inline: 26px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  background: none;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease),
    transform var(--dur-fast) var(--ease);
}

.btn--sm { --btn-h: 40px; padding-inline: 22px; font-size: 13.5px; }
.btn--lg { --btn-h: 56px; padding-inline: 34px; font-size: 16px; }
.btn--block { width: 100%; --btn-h: 52px; font-size: 15.5px; }

.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-deep); color: #fff; }
.btn--primary:active { transform: scale(0.985); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--red); color: #fff; }

.btn--ghost { border-color: var(--ink-3); color: var(--ink); }
.btn--ghost:hover { border-color: var(--red); color: var(--red); }

.btn--quiet { background: var(--surface); color: var(--ink); }
.btn--quiet:hover { background: #ececea; }

.btn[disabled],
.btn[aria-disabled='true'] { opacity: 0.55; pointer-events: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15.5px;
  font-weight: 500;
}

.link-arrow:hover { color: var(--red); }

.link-arrow__ico {
  display: inline-block;
  transition: transform var(--dur-fast) var(--ease);
}

.link-arrow:hover .link-arrow__ico { transform: translateX(4px); }

/* ------------------------------------------------------------------- шапка */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 70;
  border-bottom: 1px solid transparent;
  transition:
    background var(--dur-normal) var(--ease),
    border-color var(--dur-normal) var(--ease),
    backdrop-filter var(--dur-normal) var(--ease);
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border-bottom-color: var(--hair);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 36px;
  height: var(--header-h);
}

.site-header__logo { display: flex; align-items: center; }

.site-header__logo-img { height: 25px; width: auto; }

/* Знак сохраняет фирменные цвета, надпись наследует color через currentColor. */
.site-header__logo-svg {
  height: 25px;
  width: auto;
  color: #414141;
  transition: color var(--dur-normal) var(--ease);
}

/* ---- шапка поверх видео (до скролла) ---- */

.site-header--over-media:not(.is-scrolled):not(.is-open) .site-header__logo-svg { color: #fff; }

.site-header--over-media:not(.is-scrolled):not(.is-open) .site-nav__link { color: rgba(255, 255, 255, 0.82); }
.site-header--over-media:not(.is-scrolled):not(.is-open) .site-nav__link:hover { color: #fff; }
.site-header--over-media:not(.is-scrolled):not(.is-open) .site-nav__link.is-active { color: #fff; }

.site-header--over-media:not(.is-scrolled):not(.is-open) .burger {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-header--over-media:not(.is-scrolled):not(.is-open) .burger__bar { background: #fff; }

.site-nav { margin-left: auto; }

.site-nav__list {
  display: flex;
  gap: 28px;
  font-size: 13.5px;
  color: var(--ink-2);
}

.site-nav__link {
  display: inline-block;
  padding: 4px 0;
  border-bottom: 1.5px solid transparent;
  transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}

.site-nav__link:hover { color: var(--red); }

.site-nav__link.is-active,
.site-nav__link[aria-current='page'] {
  color: var(--ink);
  border-bottom-color: var(--red);
}

.site-header__cta { margin-left: 0; }

.burger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: none;
  border-radius: var(--r-pill);
  background: var(--surface);
  cursor: pointer;
}

.burger__bar {
  width: 16px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}

.burger[aria-expanded='true'] .burger__bar:first-child { transform: translateY(3.25px) rotate(45deg); }
.burger[aria-expanded='true'] .burger__bar:last-child { transform: translateY(-3.25px) rotate(-45deg); }

.mobile-menu {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--hair);
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
}

.mobile-menu__list { padding: 12px 0 24px; }

.mobile-menu__link {
  display: block;
  padding: 15px 0;
  font-size: 19px;
  font-weight: 500;
  border-bottom: 1px solid var(--hair);
}

.mobile-menu__list li:last-child .mobile-menu__link { border-bottom: none; }

/* -------------------------------------------------------------------- hero */

/* Полноэкранная видео-сцена: медиа-слой на всю площадь, типографика
   поверх него в левом-нижнем углу, минимальный UI справа снизу. */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  isolation: isolate;
  background: #14100e;                       /* цвет кадра — пока видео не отрисовано */
  border-end-start-radius: var(--r-hero);
  border-end-end-radius: var(--r-hero);
  overflow: hidden;
  --r-hero: 28px;
  --hero-scale: 1;
  --hero-shift: 0px;
  --hero-fade: 1;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  transform: scale(var(--hero-scale));
  transform-origin: 50% 45%;
  will-change: transform;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Подобрано по кадрам ролика: держит лица в верхней трети и не срезает
     головы на широких окнах. */
  object-position: 50% 35%;
}

/* Читаемость, а не затемнение. Плотность собрана в левом нижнем углу —
   ровно там, где лежит текст, — и быстро сходит на нет: правые две трети
   кадра остаются яркими и живыми. Ролик светлый в части сцен, поэтому
   угловой градиент рассчитан на худший кадр, а не на средний. */
.hero__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(125% 95% at 0% 100%,
      rgba(10, 8, 7, 0.82) 0%,
      rgba(10, 8, 7, 0.55) 28%,
      rgba(10, 8, 7, 0.18) 52%,
      rgba(10, 8, 7, 0) 72%),
    linear-gradient(to top, rgba(10, 8, 7, 0.5) 0%, rgba(10, 8, 7, 0.16) 26%, rgba(10, 8, 7, 0) 48%),
    linear-gradient(to bottom, rgba(10, 8, 7, 0.44) 0%, rgba(10, 8, 7, 0) 20%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: 32px;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: calc(var(--header-h) + 32px) var(--gutter) clamp(48px, 7vh, 92px);
}

.hero__content {
  max-width: 780px;
  color: #fff;
  transform: translateY(var(--hero-shift));
  opacity: var(--hero-fade);
  will-change: transform, opacity;
}

.hero__eyebrow {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.5);
}

.hero__title {
  margin-top: 18px;
  font-size: clamp(52px, 5.5vw, 88px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 44px rgba(0, 0, 0, 0.42);
}

/* Каждая строка заголовка — отдельный блок, как в макете. */
.hero__title span { display: block; }

.hero__lead {
  max-width: 480px;
  margin-top: 26px;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 22px rgba(0, 0, 0, 0.45);
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 36px;
}

.hero__actions .btn { --btn-h: 54px; padding-inline: 28px; font-size: 15.5px; }

.hero__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 15.5px;
  font-weight: 500;
  color: #fff;
}

.hero__link:hover { color: #fff; opacity: 0.75; }

.hero__link-ico { transition: transform var(--dur-fast) var(--ease); }
.hero__link:hover .hero__link-ico { transform: translateX(4px); }

/* маленький спокойный контрол видео */

.hero__playpause {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  margin-left: auto;
  margin-bottom: 4px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--r-pill);
  background: rgba(20, 16, 14, 0.32);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #fff;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}

.hero__playpause:hover {
  background: rgba(20, 16, 14, 0.5);
  border-color: rgba(255, 255, 255, 0.45);
}

.hero__playpause:focus-visible { outline-color: #fff; }

/* Иконка переключается классом на самой кнопке — без подмены разметки. */
.hero__ico-play { display: none; }
.hero__playpause.is-paused .hero__ico-play { display: block; }
.hero__playpause.is-paused .hero__ico-pause { display: none; }

/* показатели: светлая полоса, «наезжающая» на скруглённый низ Hero */

.stats-band {
  position: relative;
  z-index: 2;
  margin-top: calc(var(--r-hero, 28px) * -1);
  padding-top: 8px;
  border-start-start-radius: var(--r-hero, 28px);
  border-start-end-radius: var(--r-hero, 28px);
  background: var(--canvas);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-block: 52px 0;
}

.stat__value {
  font-size: clamp(32px, 3vw, 46px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat__plus { color: var(--red); }

.stat__label {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-2);
}

/* ------------------------------------------------------------- «Почему мы» */

.why {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 96px;
  align-items: start;
  padding-block: 150px 130px;
}

.why__aside { position: sticky; top: 110px; }

.why__title {
  margin-top: 18px;
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.why__lead {
  max-width: 400px;
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  text-wrap: pretty;
}

.why__index {
  margin-top: 56px;
  font-size: clamp(64px, 6vw, 104px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--surface);
  -webkit-text-stroke: 1.5px var(--ink-3);
}

/* ---------------------------------------------------------------- аккордеон */

.accordion__item { border-bottom: 1px solid var(--hair); }
.accordion__item:last-child { border-bottom: none; }

.accordion__head {
  display: flex;
  align-items: baseline;
  gap: 22px;
  width: 100%;
  padding: 28px 0 20px;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
}

.accordion__num {
  min-width: 26px;
  font-size: 13px;
  color: var(--ink-3);
}

.accordion__title {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color var(--dur-fast) var(--ease);
}

.accordion__item.is-active .accordion__title { color: var(--red); }

.accordion__body {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows var(--dur-normal) var(--ease), opacity var(--dur-normal) var(--ease);
}

.accordion__body > div { overflow: hidden; }

.accordion__item.is-active .accordion__body {
  grid-template-rows: 1fr;
  opacity: 1;
}

.accordion__text {
  max-width: 460px;
  padding: 0 0 28px 48px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
}

/* --------------------------------------------------------------- консалтинг */

.consulting { background: var(--canvas-warm); }
.consulting__inner { padding-block: 110px 120px; }
.consulting__title { margin-bottom: 48px; }

.cons__item { border-bottom: 1px solid var(--hair); }
.cons__item:last-child { border-bottom: none; }

.cons__head {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 28px;
  align-items: baseline;
  width: 100%;
  padding: 36px 0 26px;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
}

.cons__num { font-size: 13.5px; color: var(--ink-3); }

.cons__title {
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 500;
  letter-spacing: -0.015em;
  transition: color var(--dur-fast) var(--ease);
}

.cons__arrow {
  font-size: 20px;
  color: var(--red);
  transition: transform var(--dur-fast) var(--ease);
}

.cons__item.is-active .cons__title { color: var(--red); }
.cons__item.is-active .cons__arrow { transform: translateX(5px); }

.cons__body {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows var(--dur-slow) var(--ease), opacity var(--dur-slow) var(--ease);
}

.cons__body > div { overflow: hidden; }

.cons__item.is-active .cons__body {
  grid-template-rows: 1fr;
  opacity: 1;
}

.cons__grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
  padding: 4px 0 44px 108px;
}

.cons__text {
  max-width: 460px;
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
}

.cons__media {
  height: 190px;
  border-radius: var(--r-medium);
  overflow: hidden;
  background: var(--surface);
}

.cons__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Контейнер шире исходников по пропорции, поэтому кадрирование
   вертикальное — значения подобраны по самим снимкам. */
.cons__image--msp img     { object-position: 50% 20%; }  /* голова орла */
.cons__image--kaizen img  { object-position: 50% 25%; }  /* морда шимпанзе */
.cons__image--finance img { object-position: 50% 45%; }  /* девочка и подсолнух */

/* ----------------------------------------------------------------- тренинги */

.trainings { padding-block: 130px 140px; }
.trainings__lead { max-width: 520px; margin: 12px 0 48px; }

.trainings__grid {
  display: flex;
  gap: 20px;
  align-items: stretch;
}

.train-card {
  flex: 1 1 0;
  min-width: 0;
  padding: 24px 24px 32px;
  border-radius: var(--r-large);
  background: var(--surface);
  transition:
    flex-grow var(--dur-slow) var(--ease),
    background var(--dur-normal) var(--ease),
    transform var(--dur-normal) var(--ease);
}

.train-card:hover { transform: translateY(-2px); }

.train-card.is-active {
  flex-grow: 2;
  background: var(--canvas-warm);
}

.train-card__media {
  height: 200px;
  margin-bottom: 24px;
  border-radius: var(--r-small);
  overflow: hidden;
  background: var(--surface-soft);
}

.train-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Кадрирование под каждый снимок: карточка меняет ширину при раскрытии,
   поэтому значения проверены и в узком, и в широком состоянии. */
.train-card__image--tom-fb img { object-position: 72% 28%; }  /* голова орла */
.train-card__image--tom-cd img { object-position: 58% 26%; }  /* морда шимпанзе */
.train-card__image--fbt img    { object-position: 30% 60%; }  /* девочка и подсолнух */

.train-card__body { padding-inline: 8px; }

.train-card__toggle {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
}

.train-card__title {
  display: block;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.015em;
  transition: color var(--dur-fast) var(--ease);
}

.train-card.is-active .train-card__title { color: var(--red); }

.train-card__sub { display: block; margin-top: 5px; font-size: 14px; color: var(--ink-2); }
.train-card__meta { margin-top: 10px; font-size: 13px; color: var(--ink-3); }

.train-card__panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows var(--dur-normal) var(--ease), opacity var(--dur-normal) var(--ease);
}

.train-card__panel > div { overflow: hidden; }

.train-card.is-active .train-card__panel {
  grid-template-rows: 1fr;
  opacity: 1;
}

.train-card__text {
  margin: 16px 0 20px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
}

/* ---------------------------------------------------------------- основатель */

.founder { background: var(--canvas-warm); }

.founder__inner {
  display: grid;
  grid-template-columns: 46% 1fr;
  gap: 88px;
  align-items: center;
  padding-block: 130px;
}

.founder__frame {
  position: relative;
  height: min(80vh, 660px);
  border-radius: var(--r-large);
  overflow: hidden;
  background: var(--surface);
}

.founder__parallax {
  position: relative;
  top: -24px;
  height: calc(100% + 48px);
  will-change: transform;
}

.founder__parallax img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Снимок горизонтальный (1672×941), рамка вертикальная — по ширине
     видно меньше половины кадра. 78% ставит лицо чуть правее центра
     и сохраняет оба плеча. */
  object-position: 78% center;
}

.founder__caption { margin-top: 14px; font-size: 13px; color: var(--ink-3); }

.founder__mark {
  font-size: 48px;
  font-weight: 600;
  line-height: 1;
  color: var(--red);
}

.founder__quote {
  margin-top: 8px;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 500;
  line-height: 1.38;
  letter-spacing: -0.015em;
  text-wrap: pretty;
}

.founder__person { margin-top: 28px; }
.founder__name { font-size: 17px; font-weight: 600; }
.founder__role { margin-top: 3px; font-size: 14.5px; color: var(--ink-2); }

.founder__text {
  max-width: 480px;
  margin-top: 16px;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink-2);
  text-wrap: pretty;
}

.founder__text--first { margin-top: 32px; }

/* ------------------------------------------------------------------ клиенты */

.clients { padding-block: 120px; }

.clients__head {
  max-width: 520px;
  margin: 0 auto 56px;
  text-align: center;
}

.clients__title {
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.clients__lead { margin-top: 12px; font-size: 16px; color: var(--ink-2); }

.clients__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 56px;
  align-items: center;
  max-width: 960px;
  margin-inline: auto;
}

.client {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  opacity: 0.55;
  transition: opacity var(--dur-fast) var(--ease);
}

.client:hover { opacity: 1; }

.client img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

/* ------------------------------------------------------------- Swiss Create */

.swiss {
  background: var(--surface-soft);
  border-block: 1px solid var(--hair);
}

.swiss__inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 120px;
  align-items: center;
  padding-block: 150px 160px;
}

.swiss__title {
  margin-top: 22px;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.025em;
}

.swiss__text {
  max-width: 580px;
  margin-top: 26px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  text-wrap: pretty;
}

.swiss__logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiss__logo img { width: 100%; max-width: 240px; height: auto; }

/* ------------------------------------------------------------------- миссия */

.mission { padding-block: 150px 80px; }
.mission__head { max-width: 680px; }

.mission__title {
  margin-top: 18px;
  font-size: clamp(32px, 3.6vw, 50px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.mission__lead { margin-top: 24px; }

.mission__row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  align-items: baseline;
  padding-block: 64px;
  border-top: 1px solid var(--hair);
}

.mission__row:first-of-type { margin-top: 64px; padding-block: 72px 64px; }

.mission__num { font-size: 15px; font-weight: 500; color: var(--ink-3); }
.mission__body { max-width: 560px; }
.mission__name { font-size: 23px; font-weight: 600; }

.mission__text {
  margin-top: 12px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  text-wrap: pretty;
}

/* --------------------------------------------------------------------- блог */

.blog { padding-block: 80px 140px; }

.blog__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.blog__title {
  max-width: 620px;
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.blog-feature {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 52px;
}

.blog-feature__media {
  height: 380px;
  border-radius: var(--r-large);
  overflow: hidden;
  background: var(--surface);
}

.blog-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}

.blog-feature:hover .blog-feature__media img { transform: scale(1.03); }

.blog__kicker {
  font-size: 12.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red);
}

.blog-feature__title {
  margin-top: 12px;
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.blog-feature__text {
  max-width: 400px;
  margin: 14px 0 18px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
}

.blog__more { font-size: 15px; font-weight: 500; color: var(--red); }

.blog-row {
  display: grid;
  grid-template-columns: 130px 1fr 2fr auto;
  gap: 32px;
  align-items: baseline;
  padding-block: 28px;
  border-top: 1px solid var(--hair);
  transition: opacity var(--dur-fast) var(--ease);
}

.blog-row:last-child { border-bottom: 1px solid var(--hair); }
.blog-row:hover { opacity: 0.75; }

.blog-row__cat {
  font-size: 12.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}

.blog-row__title { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.blog-row__text { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.blog-row__more { font-size: 14.5px; font-weight: 500; color: var(--red); }

/* ---------------------------------------------------------------------- CTA */

.cta { background: var(--canvas-warm); }
.cta__inner { padding-block: 160px; text-align: center; }
.cta__eyebrow { margin-bottom: 20px; }

.cta__title {
  max-width: 820px;
  margin-inline: auto;
  font-size: clamp(38px, 5vw, 72px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.cta__lead {
  max-width: 580px;
  margin: 26px auto 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-2);
  text-wrap: pretty;
}

.cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 44px;
}

.cta__actions .btn { will-change: transform; }
.cta__link { font-size: 15.5px; font-weight: 500; }
.cta__link:hover { color: var(--red); }
.cta__phone { font-size: 15px; color: var(--ink-2); }
.cta__phone:hover { color: var(--ink); }

/* ------------------------------------------------------------------- подвал */

.site-footer { border-top: 1px solid var(--hair); }

.site-footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-top: 88px;
}

.site-footer__logo { height: 23px; width: auto; }

.site-footer__tagline {
  max-width: 260px;
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  text-wrap: pretty;
}

.site-footer__contacts {
  margin-top: 26px;
  font-size: 14px;
  line-height: 2;
  color: var(--ink-2);
}

.site-footer__contacts a:hover { color: var(--red); }

.site-footer__social {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  font-size: 14px;
  color: var(--ink-2);
}

.site-footer__col-title {
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink-2);
}

.site-footer__links a:hover { color: var(--red); }

.site-footer__line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 56px;
  padding-block: 24px 30px;
  border-top: 1px solid var(--hair);
  font-size: 13px;
  color: var(--ink-3);
}

/* ------------------------------------------------------------------- модалка */

.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(29, 29, 31, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fade-in var(--dur-fast) var(--ease);
}

.modal__sheet {
  position: relative;
  width: 100%;
  max-width: 430px;
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  padding: 40px;
  border-radius: var(--r-large);
  background: var(--canvas);
  box-shadow: 0 24px 80px rgba(29, 29, 31, 0.18);
  animation: sheet-in var(--dur-normal) var(--ease);
}

.modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.modal__title { font-size: 23px; font-weight: 600; letter-spacing: -0.015em; }
.modal__lead { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); }

.modal__close {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--ink-2);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}

.modal__close:hover { background: #ececea; color: var(--ink); }

.modal__check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: var(--r-pill);
  background: var(--red);
  color: #fff;
}

.modal__actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.modal__actions .btn { --btn-h: 46px; padding-inline: 22px; font-size: 14.5px; }

@keyframes fade-in { from { opacity: 0; } }
@keyframes sheet-in { from { opacity: 0; transform: translateY(12px) scale(0.99); } }

body.is-locked { overflow: hidden; }

/* -------------------------------------------------------------------- формы */

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 26px;
}

.field { display: flex; flex-direction: column; gap: 6px; }

.field__label { font-size: 13.5px; font-weight: 500; color: var(--ink-2); }

.field__input {
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--hair);
  border-radius: var(--r-control);
  background: var(--surface-soft);
  font-size: 15px;
  color: var(--ink);
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}

.field__input--area {
  height: auto;
  padding: 12px 16px;
  resize: vertical;
  min-height: 84px;
  line-height: 1.5;
}

.field__input::placeholder { color: var(--ink-3); }
.field__input:hover { border-color: rgba(29, 29, 31, 0.18); }
.field__input:focus { background: var(--canvas); }

.field.is-invalid .field__input {
  border-color: var(--red);
  background: rgba(198, 0, 0, 0.03);
}

.lead-form__error {
  margin: 0;
  font-size: 13.5px;
  color: var(--red);
}

.lead-form__note {
  margin: 4px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-3);
}

/* honeypot: вне потока, недоступен клавиатуре и скринридеру */
.lead-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.lead-form.is-submitting [data-form-submit] { opacity: 0.6; pointer-events: none; }

/* --------------------------------------------------------- внутренние страницы */

.page-hero { padding-block: calc(var(--header-h) + 96px) 64px; }
.page-hero__eyebrow { margin-top: 26px; }

.page-hero__title {
  margin-top: 18px;
  font-size: clamp(36px, 4.4vw, 64px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.page-hero__lead {
  max-width: 620px;
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-2);
  text-wrap: pretty;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink-3);
}

.breadcrumbs li::after { content: '/'; margin-left: 8px; color: var(--hair); }
.breadcrumbs li:last-child::after { content: none; }
.breadcrumbs a:hover { color: var(--red); }

.prose { max-width: 720px; padding-block: 8px 96px; }
.prose h2 { margin-top: 56px; font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; letter-spacing: -0.02em; }
.prose h3 { margin-top: 36px; font-size: 21px; font-weight: 600; }
.prose p { margin-top: 18px; font-size: 17px; line-height: 1.65; color: var(--ink-2); text-wrap: pretty; }
.prose ul { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.prose li { position: relative; padding-left: 24px; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.prose li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  padding-bottom: 96px;
}

.card {
  padding: 28px;
  border-radius: var(--r-large);
  background: var(--surface);
}

.card__title { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.card__text { margin-top: 10px; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 72px;
  align-items: start;
  padding-bottom: 120px;
}

.contact-facts { display: flex; flex-direction: column; gap: 28px; }
.contact-facts dt { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.contact-facts dd { margin: 6px 0 0; font-size: 19px; font-weight: 500; }

.contact-card {
  padding: 36px;
  border-radius: var(--r-large);
  background: var(--surface);
}

.contact-card__title { font-size: 23px; font-weight: 600; letter-spacing: -0.015em; }
.contact-card__lead { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); }
.lead-form__error--standalone { margin-top: 18px; }

.status-page { padding-block: calc(var(--header-h) + 140px) 160px; text-align: center; }
.status-page__check { margin-inline: auto; }

.status-page__code {
  font-size: clamp(64px, 9vw, 120px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--surface);
  -webkit-text-stroke: 1.5px var(--ink-3);
}

.status-page__title {
  margin-top: 28px;
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.status-page__lead {
  max-width: 480px;
  margin: 18px auto 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
}

.status-page__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* ------------------------------------------------------------------ адаптив */

@media (min-width: 1101px) {
  .hero__title span { white-space: nowrap; }
}

@media (max-width: 1100px) {
  .site-nav { display: none; }
  .site-header__cta { display: none; }
  .burger { display: flex; }

  .hero__lead { max-width: 420px; }

  .stats { grid-template-columns: 1fr 1fr; gap: 36px 24px; }

  .why { grid-template-columns: 1fr; gap: 48px; padding-block: 96px 88px; }
  .why__aside { position: static; }

  .consulting__inner { padding-block: 88px 96px; }
  .cons__grid { grid-template-columns: 1fr; gap: 28px; padding-left: 0; }
  .cons__head { grid-template-columns: 48px 1fr auto; gap: 16px; }

  .trainings { padding-block: 96px 104px; }
  .trainings__grid { flex-direction: column; }
  .train-card.is-active { flex-grow: 1; }

  .founder__inner { grid-template-columns: 1fr; gap: 44px; padding-block: 96px; }
  .founder__frame { height: 520px; }
  .founder__parallax { transform: none !important; }

  .clients { padding-block: 88px; }
  .clients__grid { grid-template-columns: repeat(3, 1fr); gap: 36px 40px; }

  .swiss__inner { grid-template-columns: 1fr; gap: 48px; padding-block: 104px; }

  .mission { padding-block: 104px 64px; }
  .mission__row { grid-template-columns: 1fr; gap: 12px; padding-block: 44px; }
  .mission__row:first-of-type { margin-top: 48px; padding-block: 48px 44px; }

  .blog { padding-block: 64px 104px; }
  .blog-feature { grid-template-columns: 1fr; gap: 28px; }
  .blog-feature__media { height: 300px; }
  .blog-row { grid-template-columns: 1fr; gap: 10px; }

  .cta__inner { padding-block: 112px; }

  .site-footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }

  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 640px) {
  :root { --gutter: 22px; }

  .hero { --r-hero: 20px; }

  .hero__inner {
    align-items: flex-end;
    padding-bottom: clamp(32px, 5vh, 48px);
  }

  /* На узком экране текст занимает почти половину высоты кадра, поэтому
     нижняя подложка поднимается выше, чем на десктопе. */
  .hero__scrim {
    background:
      radial-gradient(150% 72% at 0% 100%,
        rgba(10, 8, 7, 0.86) 0%,
        rgba(10, 8, 7, 0.62) 32%,
        rgba(10, 8, 7, 0.22) 58%,
        rgba(10, 8, 7, 0) 80%),
      linear-gradient(to top, rgba(10, 8, 7, 0.7) 0%, rgba(10, 8, 7, 0.3) 34%, rgba(10, 8, 7, 0) 62%),
      linear-gradient(to bottom, rgba(10, 8, 7, 0.46) 0%, rgba(10, 8, 7, 0) 16%);
  }

  /* Кроп подобран по кадрам: при вертикальном экране видно только ~26%
     ширины ролика, и именно в этой полосе лица остаются целыми. */
  .hero__video { object-position: 40% 50%; }

  /* Размер подобран так, чтобы «Бизнес-тренинги» помещалось в строку:
     на 375px более крупный кегль рвёт слово по дефису. */
  .hero__title { font-size: clamp(36px, 10.4vw, 56px); letter-spacing: -0.025em; }
  .hero__lead { max-width: 330px; margin-top: 20px; font-size: 16.5px; }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-top: 28px;
    /* место под круглую кнопку видео в правом нижнем углу */
    padding-right: 60px;
  }

  .hero__actions .btn { width: 100%; }
  .hero__link { justify-content: flex-start; }

  .hero__playpause {
    position: absolute;
    right: var(--gutter);
    bottom: clamp(32px, 5vh, 48px);
    margin: 0;
  }

  .stats { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-block: 40px 0; }

  .accordion__text { padding-left: 0; }

  .clients__grid { grid-template-columns: repeat(2, 1fr); }

  .cta__actions { flex-direction: column; align-items: stretch; }
  .cta__actions .btn { width: 100%; }

  .site-footer__top { grid-template-columns: 1fr; gap: 36px; }
  .site-footer__line { flex-direction: column; gap: 8px; }

  .modal { padding: 0; align-items: flex-end; }

  .modal__sheet {
    max-width: none;
    max-height: 92dvh;
    padding: 28px 22px 32px;
    border-radius: 24px 24px 0 0;
    animation: sheet-up var(--dur-normal) var(--ease);
  }

  @keyframes sheet-up { from { transform: translateY(24px); opacity: 0; } }

  .page-hero { padding-block: calc(var(--header-h) + 56px) 40px; }
  .prose { padding-bottom: 72px; }
}

@media (max-width: 380px) {
  .stats { grid-template-columns: 1fr; }
}

/* landscape на телефоне: экран низкий, ужимаем типографику и отступы */
@media (max-height: 560px) and (orientation: landscape) {
  .hero { min-height: 460px; }
  .hero__inner { padding-top: calc(var(--header-h) + 16px); padding-bottom: 28px; }
  .hero__title { font-size: clamp(34px, 6vw, 46px); margin-top: 12px; }
  .hero__lead { margin-top: 14px; font-size: 15.5px; }
  .hero__actions { margin-top: 20px; }
}

/* ------------------------------------------------------------------- motion */

/* Начальные состояния появления живут только при активном JS: без него
   контент виден сразу и не зависит от скриптов. */

.js [data-reveal] {
  transition:
    opacity var(--dur-slow) var(--ease),
    transform var(--dur-slow) var(--ease),
    clip-path var(--dur-slow) var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.js [data-reveal='fade'],
.js [data-reveal='rise'] { opacity: 0; }
.js [data-reveal='rise'] { transform: translateY(14px); }
.js [data-reveal='mask'] { clip-path: inset(0 0 100% 0); }

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 0);
}

/* Hero-текст появляется чуть медленнее остального: это первое, что видит
   человек, и спешить здесь незачем. */
.js .hero [data-reveal] { transition-duration: 760ms; }
.js .hero [data-reveal='rise'] { transform: translateY(12px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .js [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }

  /* Видео останавливает JS; здесь снимаем всю scroll-обусловленную анимацию. */
  .hero__media { transform: none !important; }
  .hero__content { transform: none !important; opacity: 1 !important; }
}
