/* ══════════════════════════════════════════════════════════════
   trikhminov.ru · v1
   Кино о спуске. Ось скролла = ось глубины.
   Чернильная синь — толща. Охра — свет, который находят на дне.
   Ни одного слова без веса. Ни одного элемента без движения.
   ══════════════════════════════════════════════════════════════ */

:root {
  --ink:      #070c17;
  --ink-2:    #0a1120;
  --raise:    #101a2e;
  --raise-2:  #16233c;

  --ochre:    #d89a2a;
  --ochre-hi: #f0bd5c;
  --brass:    #9c7325;

  --bone:     #e9e5db;
  --dim:      #98a2b8;
  --faint:    #5a6580;

  --line:     rgba(233,229,219,.085);
  --line-2:   rgba(233,229,219,.19);
  --line-o:   rgba(216,154,42,.38);

  --display: "Spectral", Georgia, "Times New Roman", serif;
  --sans: "Golos Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Martian Mono", ui-monospace, "SF Mono", monospace;

  --pad: 20px;
  --sec: 82px;
  --rail: 0px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-io: cubic-bezier(.65,0,.35,1);
}

@media (min-width: 700px)  { :root { --pad: 38px; --sec: 108px; } }
@media (min-width: 1000px) { :root { --pad: 52px; --sec: 128px; --rail: 74px; } }
@media (min-width: 1400px) { :root { --pad: 70px; --sec: 148px; --rail: 88px; } }
@media (min-width: 1800px) { :root { --pad: 96px; } }

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--ink);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.66;
  color: var(--bone);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.lock { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }

::selection { background: rgba(216,154,42,.32); color: #fff; }

:focus-visible {
  outline: 2px solid var(--ochre);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 300;
  padding: 12px 20px; background: var(--ochre); color: #14100a;
  border-radius: 8px; font-weight: 600; transition: top .3s;
}
.skip:focus { top: 14px; }

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

/* ═══════════════════════════════════════════
   ТОЛЩА — фон, который темнеет с глубиной
   ═══════════════════════════════════════════ */
.deep {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(140% 90% at 50% -20%, #16233c 0%, #0a1120 38%, #070c17 72%);
}
.deep::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 55% at 50% 108%, rgba(216,154,42,.30), rgba(216,154,42,.07) 45%, transparent 72%);
  opacity: var(--warm, 0);
  transition: opacity .5s linear;
}
.motes {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: .85;
}
main, .top, .foot, .gauge { position: relative; z-index: 2; }

/* ═══════════════════════════════════════════
   ШКАЛА ГЛУБИНЫ — прибор, живущий всю страницу
   ═══════════════════════════════════════════ */
.gauge {
  position: fixed; left: 0; top: 0; bottom: 0; width: var(--rail);
  z-index: 40; pointer-events: none; display: none;
  border-right: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(7,12,23,.55), transparent);
}
@media (min-width: 1000px) { .gauge { display: block; } }

.gauge__track {
  position: absolute; left: 50%; top: 22vh; bottom: 14vh; width: 1px;
  background: linear-gradient(180deg, transparent, var(--line-2) 12%, var(--line-2) 88%, transparent);
}
.gauge__fill {
  position: absolute; left: -1px; top: 0; width: 3px; height: 0%;
  background: linear-gradient(180deg, rgba(216,154,42,.15), var(--ochre));
  border-radius: 2px;
}
.gauge__tick {
  position: absolute; left: 50%; transform: translateX(-50%);
  width: 13px; height: 1px; background: var(--line-2);
}
.gauge__tick i {
  position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: 8.5px; letter-spacing: -.02em;
  color: var(--faint); white-space: nowrap; transition: color .4s;
}
.gauge__tick.on i { color: var(--ochre); }

.gauge__read {
  position: absolute; left: 50%; transform: translateX(-50%);
  top: 84px; text-align: center; width: var(--rail);
}
.gauge__read::after {
  content: ""; display: block; width: 1px; height: 22px; margin: 12px auto 0;
  background: linear-gradient(180deg, var(--line-2), transparent);
}
.gauge__num {
  display: block; font-family: var(--mono); font-weight: 500;
  font-size: 15px; letter-spacing: -.04em; color: var(--bone);
  font-variant-numeric: tabular-nums;
}
.gauge__unit {
  display: block; font-family: var(--mono); font-size: 8px;
  letter-spacing: .1em; color: var(--faint); margin-top: 3px;
}
.gauge__layer {
  position: absolute; left: 50%; bottom: 5vh; transform: translateX(-50%);
  writing-mode: vertical-rl; text-orientation: mixed;
  font-family: var(--mono); font-size: 8.5px; letter-spacing: .14em;
  color: var(--faint); text-transform: uppercase;
  transition: color .5s;
}

/* мобильная шкала — тонкая полоса сверху */
.mgauge {
  position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 95;
  background: transparent; pointer-events: none;
}
.mgauge i {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--brass), var(--ochre-hi));
}
@media (min-width: 1000px) { .mgauge { display: none; } }

/* ═══════════════════════════════════════════
   ТИПОГРАФИКА
   ═══════════════════════════════════════════ */
.mono {
  font-family: var(--mono); font-weight: 400;
  font-size: clamp(9px, .66vw, 10.5px);
  letter-spacing: .09em; text-transform: uppercase;
}

.eyebrow {
  font-family: var(--mono); font-weight: 400;
  font-size: clamp(9px, .66vw, 10.5px);
  letter-spacing: .1em; text-transform: uppercase; color: var(--faint);
  display: flex; align-items: center; gap: 14px;
}
.eyebrow::after {
  content: ""; height: 1px; flex: 1; max-width: 130px;
  background: linear-gradient(90deg, var(--line-o), transparent);
}

h1, h2, h3, .h-sec, .h-big {
  font-family: var(--display); font-weight: 600;
  letter-spacing: -.006em; line-height: 1.1;
}
.h-big {
  font-size: clamp(34px, 6.4vw, 82px); line-height: 1.04;
  letter-spacing: -.02em;
}
.h-sec {
  font-size: clamp(27px, 3.9vw, 50px); max-width: 20ch;
  line-height: 1.12;
}
.h-sub {
  margin-top: 22px; font-size: clamp(15.5px, 1.22vw, 18px);
  color: var(--dim); max-width: 58ch; line-height: 1.72;
}
.accent { color: var(--ochre); }
em, .em { font-style: italic; }

.quiet { color: var(--dim); }

/* ═══════════════════════════════════════════
   КНОПКИ
   ═══════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  padding: 15px 26px; border-radius: 4px;
  font-family: var(--sans); font-weight: 600; font-size: 15px;
  transition: transform .4s var(--ease), background .3s, border-color .3s, color .3s, box-shadow .4s;
  white-space: nowrap;
}
.btn i { font-style: normal; transition: transform .4s var(--ease); }
.btn:hover i { transform: translateX(4px); }
.btn--fill {
  background: var(--ochre); color: #14100a;
  box-shadow: 0 14px 36px -18px rgba(216,154,42,.9);
}
.btn--fill:hover {
  background: var(--ochre-hi); transform: translateY(-2px);
  box-shadow: 0 20px 46px -18px rgba(216,154,42,1);
}
.btn--line { border: 1px solid var(--line-2); color: var(--bone); }
.btn--line:hover { border-color: var(--ochre); color: var(--ochre-hi); }

/* ═══════════════════════════════════════════
   ШАПКА
   ═══════════════════════════════════════════ */
.top {
  position: fixed; inset: 0 0 auto; z-index: 90;
  padding-inline: var(--pad); padding-left: calc(var(--rail) + var(--pad));
  border-bottom: 1px solid transparent;
  transition: background .45s var(--ease), border-color .45s;
}
.top.on {
  background: rgba(7,12,23,.84);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  border-bottom-color: var(--line);
}
.top__in {
  height: 66px; display: flex; align-items: center;
  justify-content: space-between; gap: 22px;
}

.brand { display: flex; align-items: center; gap: 11px; }
.brand svg { width: 15px; height: 20px; flex: none; }
.brand b {
  font-family: var(--display); font-weight: 600; font-size: 16.5px;
  letter-spacing: -.01em;
}
.brand span {
  display: none; font-family: var(--mono); font-size: 8.5px;
  letter-spacing: .12em; color: var(--faint); text-transform: uppercase;
}
@media (min-width: 560px) { .brand span { display: block; } }

.nav { display: none; gap: 28px; }
@media (min-width: 1120px) { .nav { display: flex; } }
.nav a {
  font-size: 13.5px; color: var(--dim); position: relative;
  padding-block: 4px; transition: color .3s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--ochre); transition: width .4s var(--ease);
}
.nav a:hover, .nav a.on { color: var(--bone); }
.nav a.on::after { width: 100%; }

.top__cta { display: none; }
@media (min-width: 700px) { .top__cta { display: inline-flex; padding: 11px 20px; font-size: 13.5px; } }

.burger {
  width: 40px; height: 40px; display: grid; place-content: center; gap: 5px;
}
@media (min-width: 1120px) { .burger { display: none; } }
.burger span {
  display: block; width: 20px; height: 1.5px; background: var(--bone);
  transition: transform .35s var(--ease);
}

/* полноэкранное меню */
.menu {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(7,12,23,.97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--pad);
  clip-path: circle(0% at calc(100% - 40px) 40px);
  transition: clip-path .62s var(--ease-io);
  visibility: hidden;
}
.menu.open { clip-path: circle(150% at calc(100% - 40px) 40px); visibility: visible; }
.menu__close {
  position: absolute; top: 22px; right: var(--pad);
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-2);
}
.menu__close::before, .menu__close::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 15px; height: 1.5px;
  background: var(--bone); transform-origin: center;
}
.menu__close::before { transform: translate(-50%,-50%) rotate(45deg); }
.menu__close::after  { transform: translate(-50%,-50%) rotate(-45deg); }

.menu__nav { display: flex; flex-direction: column; gap: 4px; }
.menu__nav a {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(26px, 6vw, 44px); line-height: 1.3;
  display: flex; align-items: baseline; gap: 14px;
  transition: color .3s;
}
.menu__nav a em {
  font-family: var(--mono); font-style: normal; font-size: 10px;
  color: var(--faint); letter-spacing: .06em;
}
.menu__nav a:hover { color: var(--ochre-hi); }
.menu__foot {
  margin-top: 46px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 10px 30px; font-size: 14.5px; color: var(--dim);
}

/* ═══════════════════════════════════════════
   ЗАСТАВКА
   ═══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh; display: flex; align-items: center;
  padding: 108px var(--pad) 56px;
  padding-left: calc(var(--rail) + var(--pad));
}
.hero__in {
  width: 100%; max-width: 1500px; margin-inline: auto;
  display: grid; gap: clamp(34px, 5vw, 64px);
}
@media (min-width: 940px) {
  .hero__in { grid-template-columns: 1.15fr .85fr; align-items: center; }
}

.hero__mark {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .13em;
  color: var(--faint); text-transform: uppercase;
  display: flex; align-items: center; gap: 12px; margin-bottom: 26px;
}
.hero__mark s { width: 26px; height: 1px; background: var(--line-o); text-decoration: none; }
.hero__mark u { display: none; text-decoration: none; }
@media (min-width: 620px) { .hero__mark u { display: inline; } }

.hero__title { margin-bottom: 26px; }
.hero__title .ln { display: block; overflow: hidden; }
.hero__title .ln > span {
  display: block;
  transform: translateY(105%);
  animation: rise 1.1s var(--ease) forwards;
}
.hero__title .ln:nth-child(2) > span { animation-delay: .13s; }
.hero__title .ln:nth-child(2) { color: var(--ochre); }
@keyframes rise { to { transform: translateY(0); } }

.hero__lead {
  font-size: clamp(16px, 1.35vw, 19.5px); color: var(--dim);
  max-width: 46ch; line-height: 1.72;
  opacity: 0; animation: fadeUp .9s var(--ease) .42s forwards;
}
.hero__acts {
  margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px;
  opacity: 0; animation: fadeUp .9s var(--ease) .56s forwards;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.hero__figure {
  position: relative; border-radius: 4px; overflow: hidden;
  aspect-ratio: 3 / 4; max-height: 74svh; justify-self: center; width: 100%;
  opacity: 0; animation: fadeUp 1.3s var(--ease) .28s forwards;
}
.hero__figure img { width: 100%; height: 100%; object-fit: cover; }
.hero__figure::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7,12,23,.42) 0%, transparent 26%, transparent 58%, rgba(7,12,23,.86) 100%),
    linear-gradient(90deg, rgba(7,12,23,.5), transparent 34%);
}
.hero__cap {
  position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2;
  font-family: var(--mono); font-size: 8.5px; letter-spacing: .1em;
  color: rgba(233,229,219,.62); text-transform: uppercase;
  display: flex; justify-content: space-between; gap: 12px;
}

.hero__cue {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  font-family: var(--mono); font-size: 8.5px; letter-spacing: .16em;
  color: var(--faint); text-transform: uppercase; text-align: center;
  display: none;
}
@media (min-height: 720px) and (min-width: 940px) { .hero__cue { display: block; } }
.hero__cue s { display: block; width: 1px; height: 34px; margin: 10px auto 0; background: linear-gradient(180deg, var(--line-o), transparent); }

/* ═══════════════════════════════════════════
   ГЛАВА · СПУСК
   Четыре слоя сознания проходят сквозь камеру
   ═══════════════════════════════════════════ */
.dive { position: relative; }
.dive__stage {
  position: sticky; top: 0; height: 100svh;
  display: grid; place-items: center;
  padding-inline: calc(var(--rail) + var(--pad)) var(--pad);
  overflow: hidden;
}

.dive__intro {
  position: absolute; inset: 0; display: grid; place-content: center;
  text-align: center; padding-inline: var(--pad);
  will-change: transform, opacity, filter;
}
.dive__intro .h-sec { max-width: 22ch; margin-inline: auto; }

.layer {
  position: absolute; width: min(760px, 90%);
  will-change: transform, opacity, filter;
  text-align: center;
}
.layer__depth {
  font-family: var(--mono); font-weight: 500; font-size: clamp(11px, 1.1vw, 14px);
  letter-spacing: -.02em; color: var(--ochre);
  display: block; margin-bottom: 16px;
}
.layer__name {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(30px, 5.4vw, 66px); line-height: 1.05;
  letter-spacing: -.02em; margin-bottom: 18px;
}
.layer__text {
  font-size: clamp(15px, 1.28vw, 18.5px); color: var(--dim);
  max-width: 46ch; margin-inline: auto; line-height: 1.74;
}
.layer__noise {
  margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 10px;
  justify-content: center;
}
.layer__noise span {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .04em;
  color: var(--faint); border: 1px solid var(--line);
  padding: 6px 11px; border-radius: 3px;
}
.layer--deep .layer__name { color: var(--ochre); }

/* слон: масштаб задан типографикой, а не рисунком */
.scale {
  position: relative; display: block; margin: 4px auto 20px; width: 100%;
}
.scale__big {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(64px, 17vw, 210px); line-height: .84;
  letter-spacing: -.045em; color: rgba(233,229,219,.10);
  display: block; text-align: center; user-select: none;
}
.scale__small {
  position: absolute; left: 50%; top: 4%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em;
  color: var(--dim); white-space: nowrap;
}
.scale__small s { display: inline-block; width: 16px; height: 1px; background: var(--dim); vertical-align: middle; margin-right: 7px; text-decoration: none; }

/* ═══════════════════════════════════════════
   ГЛАВА · ДВЕ ДОСКИ НА ВЕТРУ
   ═══════════════════════════════════════════ */
.wind { position: relative; }
.wind__stage {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  display: grid; place-items: center;
}
.wind__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.wind__veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg,
    transparent 6%, rgba(7,12,23,.55) 20%, rgba(7,12,23,.72) 34%,
    rgba(7,12,23,.72) 50%, rgba(7,12,23,.30) 64%, transparent 78%);
}
.wind__copy {
  position: relative; z-index: 2; text-align: center;
  padding-inline: calc(var(--rail) + var(--pad)) var(--pad);
  width: min(680px, 92%);
}
.wind__line {
  position: absolute; left: 50%; top: 42%;
  transform: translate(-50%, -50%);
  width: min(640px, 90vw);
  font-family: var(--display); font-weight: 600;
  font-size: clamp(24px, 3.6vw, 46px); line-height: 1.16;
  letter-spacing: -.014em;
  will-change: transform, opacity, filter;
}
.wind__line small {
  display: block; margin-top: 16px;
  font-family: var(--sans); font-weight: 400;
  font-size: clamp(14.5px, 1.16vw, 17px); color: var(--dim); line-height: 1.7;
}
.wind__line.is-warm { color: var(--ochre); }

/* ═══════════════════════════════════════════
   ЛОВУШКИ
   ═══════════════════════════════════════════ */
.sec {
  padding: var(--sec) var(--pad);
  padding-left: calc(var(--rail) + var(--pad));
  position: relative;
}
.wrap { max-width: 1360px; margin-inline: auto; }

.traps__head { max-width: 780px; }
.traps__deck {
  margin-top: clamp(38px, 5vw, 64px);
  display: grid; gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
}
@media (min-width: 760px)  { .traps__deck { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .traps__deck { grid-template-columns: repeat(3, 1fr); } }

.trap {
  background: var(--ink-2); padding: clamp(26px, 2.6vw, 38px);
  position: relative; transition: background .45s var(--ease);
  will-change: transform, opacity;
}
.trap:hover { background: var(--raise); }
.trap__n {
  font-family: var(--mono); font-weight: 500; font-size: 10px;
  letter-spacing: .06em; color: var(--brass); display: block; margin-bottom: 20px;
}
.trap h3 {
  font-size: clamp(18px, 1.5vw, 22px); margin-bottom: 12px; line-height: 1.25;
}
.trap p { font-size: 15px; color: var(--dim); line-height: 1.68; }
.trap--sum { background: var(--raise-2); }
.trap--sum p { color: var(--bone); }

/* ═══════════════════════════════════════════
   ЧТО МЕНЯЕТСЯ · строки-показатели
   ═══════════════════════════════════════════ */
.rows { margin-top: clamp(38px, 5vw, 62px); border-top: 1px solid var(--line); }
.row {
  display: grid; gap: 6px 28px; padding: clamp(24px, 2.4vw, 34px) 0;
  border-bottom: 1px solid var(--line); position: relative;
  align-items: baseline;
}
@media (min-width: 860px) { .row { grid-template-columns: 230px 1fr 210px; } }
.row__n {
  font-family: var(--mono); font-weight: 500;
  font-size: clamp(26px, 3.1vw, 42px); letter-spacing: -.05em;
  color: var(--ochre); font-variant-numeric: tabular-nums; line-height: 1;
}
.row__n u { text-decoration: none; font-size: .52em; letter-spacing: 0; margin-left: 3px; }
.row__t { font-size: clamp(15.5px, 1.2vw, 17.5px); line-height: 1.6; }
.row__src {
  font-family: var(--mono); font-size: 9px; letter-spacing: .06em;
  color: var(--faint); text-transform: uppercase; line-height: 1.7;
}
.row__wave {
  position: absolute; left: 0; bottom: -1px; height: 1px; width: 0;
  background: linear-gradient(90deg, var(--ochre), transparent);
}

/* ═══════════════════════════════════════════
   КЕЙСЫ
   ═══════════════════════════════════════════ */
.cases__deck { margin-top: clamp(38px, 5vw, 62px); display: grid; gap: clamp(16px, 1.8vw, 24px); }
.case-card {
  border: 1px solid var(--line); border-radius: 4px;
  background: linear-gradient(180deg, var(--ink-2), rgba(16,26,46,.5));
  padding: clamp(26px, 3vw, 44px);
  display: grid; gap: clamp(20px, 2.4vw, 34px);
  will-change: transform, opacity;
  transition: border-color .45s var(--ease);
}
@media (min-width: 900px) { .case-card { grid-template-columns: 260px 1fr; } }
.case-card:hover { border-color: var(--line-o); }

.case-card__who .mono { color: var(--brass); display: block; margin-bottom: 12px; }
.case-card__who h3 { font-size: clamp(19px, 1.6vw, 24px); line-height: 1.24; }
.case-card__who p { margin-top: 10px; font-size: 14.5px; color: var(--faint); line-height: 1.6; }

.beat { display: grid; gap: 16px; }
@media (min-width: 640px) { .beat { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.beat > div { border-top: 1px solid var(--line); padding-top: 14px; }
.beat dt {
  font-family: var(--mono); font-size: 9px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 9px;
}
.beat dd { font-size: 14.8px; line-height: 1.62; color: var(--dim); }
.beat > div:last-child { border-top-color: var(--line-o); }
.beat > div:last-child dd { color: var(--bone); }

/* ═══════════════════════════════════════════
   КТО ВЕДЁТ
   ═══════════════════════════════════════════ */
.who__grid { display: grid; gap: clamp(34px, 4.4vw, 70px); align-items: start; }
@media (min-width: 940px) { .who__grid { grid-template-columns: .78fr 1.22fr; } }

.who__fig {
  position: relative; border-radius: 4px; overflow: hidden; aspect-ratio: 3 / 4;
}
.who__fig img { width: 100%; height: 100%; object-fit: cover; }
.who__fig::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(7,12,23,.75));
}

.who__lines { display: grid; gap: 26px; }
.who__lines p {
  font-size: clamp(16px, 1.34vw, 19.5px); line-height: 1.72;
  overflow: hidden;
}
.who__lines p > i { display: block; font-style: normal; will-change: transform, opacity, filter; }
.who__lines p:first-child { font-family: var(--display); font-size: clamp(19px, 1.8vw, 26px); line-height: 1.44; }

.facts {
  margin-top: clamp(30px, 3.4vw, 48px);
  display: grid; gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
}
@media (min-width: 620px) { .facts { grid-template-columns: repeat(2, 1fr); } }
.fact { background: var(--ink-2); padding: 20px 22px; }
.fact dt {
  font-family: var(--mono); font-size: 8.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 8px;
}
.fact dd { font-size: 15.5px; line-height: 1.5; }

/* цитата-разворот */
.pull { position: relative; overflow: hidden; }
.pull__grid { display: grid; gap: clamp(28px, 4vw, 62px); align-items: center; }
@media (min-width: 900px) { .pull__grid { grid-template-columns: .62fr 1.38fr; } }
.pull__fig { border-radius: 4px; overflow: hidden; aspect-ratio: 3 / 4; position: relative; }
.pull__fig img { width: 100%; height: 100%; object-fit: cover; }
.pull__fig::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(200deg, transparent 40%, rgba(7,12,23,.6));
}
blockquote.pull__q {
  font-family: var(--display); font-weight: 400; font-style: italic;
  font-size: clamp(22px, 2.9vw, 40px); line-height: 1.32; letter-spacing: -.01em;
}
blockquote.pull__q::before { content: "“"; color: var(--ochre); margin-right: .06em; }
.pull__by {
  margin-top: 24px; font-family: var(--mono); font-size: 9.5px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--faint);
}

/* ═══════════════════════════════════════════
   МЕТОД
   ═══════════════════════════════════════════ */
.method__grid { display: grid; gap: clamp(28px, 3.6vw, 56px); align-items: center; }
@media (min-width: 940px) { .method__grid { grid-template-columns: 1.05fr .95fr; } }
.method__fig { border-radius: 4px; overflow: hidden; aspect-ratio: 3 / 2; position: relative; }
.method__fig img { width: 100%; height: 100%; object-fit: cover; }
.method__fig::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,12,23,.25), rgba(7,12,23,.7));
}
.mlist { margin-top: 30px; display: grid; gap: 1px; background: var(--line); border-radius: 4px; overflow: hidden; }
.mlist > div { background: var(--ink-2); padding: 22px 24px; }
.mlist h3 { font-size: 17.5px; margin-bottom: 8px; }
.mlist h3 u { text-decoration: none; font-family: var(--mono); font-size: 10px; color: var(--brass); margin-left: 10px; letter-spacing: .06em; }
.mlist p { font-size: 14.8px; color: var(--dim); line-height: 1.66; }

/* ═══════════════════════════════════════════
   КАК ПРОХОДИТ · шаги
   ═══════════════════════════════════════════ */
.steps { margin-top: clamp(38px, 5vw, 62px); display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
@media (min-width: 800px)  { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: var(--ink-2); padding: clamp(24px, 2.4vw, 34px); position: relative; }
.step__n {
  font-family: var(--mono); font-weight: 500; font-size: 10px; letter-spacing: .06em;
  color: var(--brass); display: block; margin-bottom: 18px;
}
.step h3 { font-size: 18.5px; margin-bottom: 11px; line-height: 1.28; }
.step p { font-size: 14.8px; color: var(--dim); line-height: 1.66; }

/* честный блок отрицаний */
.nots { margin-top: clamp(30px, 3.4vw, 48px); display: grid; gap: 12px; }
@media (min-width: 760px) { .nots { grid-template-columns: repeat(2, 1fr); } }
.not {
  border: 1px solid var(--line); border-radius: 4px;
  padding: 18px 22px; display: flex; gap: 14px; align-items: flex-start;
  font-size: 15px; color: var(--dim); line-height: 1.6;
}
.not s {
  flex: none; width: 15px; height: 15px; margin-top: 5px; position: relative;
  text-decoration: none; opacity: .8;
}
.not s::before, .not s::after {
  content: ""; position: absolute; left: 0; top: 7px; width: 15px; height: 1.5px; background: var(--faint);
}
.not s::before { transform: rotate(45deg); }
.not s::after { transform: rotate(-45deg); }

/* кому не подойдёт */
.filter__grid { margin-top: clamp(34px, 4vw, 56px); display: grid; gap: clamp(20px, 2.4vw, 40px); }
@media (min-width: 860px) { .filter__grid { grid-template-columns: repeat(2, 1fr); } }
.fbox { border: 1px solid var(--line); border-radius: 4px; padding: clamp(26px, 2.8vw, 38px); }
.fbox--yes { border-color: var(--line-o); background: linear-gradient(180deg, rgba(216,154,42,.05), transparent); }
.fbox h3 { font-size: 20px; margin-bottom: 20px; }
.fbox li {
  padding: 12px 0 12px 26px; border-top: 1px solid var(--line);
  font-size: 15.2px; color: var(--dim); line-height: 1.6; position: relative;
}
.fbox li::before {
  content: ""; position: absolute; left: 0; top: 21px;
  width: 11px; height: 1px; background: var(--faint);
}
.fbox--yes li::before { background: var(--ochre); }

/* ═══════════════════════════════════════════
   ВОПРОСЫ
   ═══════════════════════════════════════════ */
.faq { margin-top: clamp(34px, 4vw, 56px); border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0;
  position: relative; font-family: var(--display); font-weight: 600;
  font-size: clamp(17px, 1.42vw, 21px); line-height: 1.38;
  transition: color .3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--ochre-hi); }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%;
  width: 13px; height: 1.5px; background: var(--ochre);
  transition: transform .35s var(--ease);
}
.faq summary::before { transform: translateY(-50%); }
.faq summary::after  { transform: translateY(-50%) rotate(90deg); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(0deg); }
.faq p { padding: 0 0 24px; max-width: 74ch; color: var(--dim); font-size: 15.6px; line-height: 1.75; }
.faq p + p { padding-top: 0; margin-top: -8px; }

/* ═══════════════════════════════════════════
   КОНТАКТ
   ═══════════════════════════════════════════ */
.contact { position: relative; overflow: hidden; }
.contact__bg {
  position: absolute; inset: 0; z-index: 0;
}
.contact__bg img { width: 100%; height: 100%; object-fit: cover;
  object-position: 62% 30%; opacity: .13; }
.contact__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--ink) 0%, rgba(7,12,23,.72) 40%, var(--ink) 100%);
}
.contact__grid { position: relative; z-index: 2; display: grid; gap: clamp(34px, 4.4vw, 72px); }
@media (min-width: 980px) { .contact__grid { grid-template-columns: 1fr .92fr; align-items: start; } }

.slots {
  margin-top: 30px; border: 1px solid var(--line-o); border-radius: 4px;
  padding: 20px 22px; display: flex; align-items: center; gap: 16px;
  background: rgba(216,154,42,.05);
}
.slots b {
  font-family: var(--mono); font-weight: 500; font-size: clamp(22px, 2.4vw, 30px);
  color: var(--ochre); letter-spacing: -.04em; line-height: 1;
}
.slots span { font-size: 14.5px; color: var(--dim); line-height: 1.55; }

.lines { margin-top: 30px; }
.line {
  display: grid; grid-template-columns: 116px 1fr; gap: 4px 18px;
  padding: 18px 0; border-top: 1px solid var(--line);
  transition: border-color .35s;
}
.line:hover { border-top-color: var(--line-o); }
.line__k {
  font-family: var(--mono); font-size: 8.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--faint); padding-top: 5px;
}
.line__v { font-size: 16.5px; transition: color .3s; }
a.line:hover .line__v { color: var(--ochre-hi); }
.line__n { grid-column: 2; font-size: 13.5px; color: var(--faint); line-height: 1.55; }

/* форма */
.form {
  border: 1px solid var(--line-2); border-radius: 4px;
  background: rgba(10,17,32,.86);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: clamp(26px, 3vw, 40px);
}
.form__t { font-size: clamp(20px, 1.8vw, 25px); margin-bottom: 8px; }
.form__n { font-size: 14.5px; color: var(--faint); margin-bottom: 26px; line-height: 1.6; }

.field { position: relative; margin-bottom: 14px; }
.field input, .field textarea {
  width: 100%; padding: 20px 16px 9px; font: inherit; font-size: 15.5px;
  color: var(--bone); background: rgba(255,255,255,.03);
  border: 1px solid var(--line-2); border-radius: 3px;
  transition: border-color .3s, background .3s;
}
.field textarea { min-height: 104px; resize: vertical; }
.field label {
  position: absolute; left: 16px; top: 15px; font-size: 15px; color: var(--faint);
  pointer-events: none; transition: transform .25s var(--ease), font-size .25s var(--ease), color .25s;
  transform-origin: left top;
}
.field input:focus, .field textarea:focus { border-color: var(--ochre); background: rgba(255,255,255,.05); outline: none; }
.field input:focus + label, .field textarea:focus + label,
.field input:not(:placeholder-shown) + label, .field textarea:not(:placeholder-shown) + label {
  transform: translateY(-9px) scale(.72); color: var(--ochre);
}

.consent {
  display: flex; gap: 11px; align-items: flex-start;
  margin: 8px 0 22px; font-size: 12.8px; color: var(--faint); line-height: 1.55;
}
.consent input {
  flex: none; width: 17px; height: 17px; margin: 2px 0 0; padding: 0;
  accent-color: var(--ochre); cursor: pointer;
}
.consent a { color: var(--dim); text-decoration: underline; text-underline-offset: 2px; }
.form .btn--fill { width: 100%; }
.form__status { margin-top: 14px; font-size: 13.8px; color: var(--ochre); min-height: 20px; line-height: 1.5; }
.form.sent .field, .form.sent .consent, .form.sent .btn { display: none; }

/* ═══════════════════════════════════════════
   ПОДВАЛ
   ═══════════════════════════════════════════ */
.foot {
  border-top: 1px solid var(--line);
  padding: clamp(48px, 5vw, 72px) var(--pad) 34px;
  padding-left: calc(var(--rail) + var(--pad));
}
.foot__in { max-width: 1360px; margin-inline: auto; display: grid; gap: 34px; }
@media (min-width: 900px) { .foot__in { grid-template-columns: 1.3fr 1fr 1fr; } }
.foot__brand .brand { margin-bottom: 16px; }
.foot__brand p { font-size: 14.2px; color: var(--faint); max-width: 34ch; line-height: 1.65; }
.foot h4 {
  font-family: var(--mono); font-weight: 500; font-size: 8.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 16px;
}
.foot ul { display: grid; gap: 10px; }
.foot ul a { font-size: 14.5px; color: var(--dim); transition: color .3s; }
.foot ul a:hover { color: var(--ochre-hi); }

.foot__bottom {
  max-width: 1360px; margin: clamp(38px, 4vw, 58px) auto 0;
  padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between;
  font-size: 12.5px; color: var(--faint);
}
.foot__bottom a { transition: color .3s; }
.foot__bottom a:hover { color: var(--ochre); }
.foot__legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }

/* ═══════════════════════════════════════════
   СТРАНИЦЫ-ГЛАВЫ
   ═══════════════════════════════════════════ */
.chap { position: relative; }
.chap__stage {
  position: sticky; top: 0; height: 100svh; display: grid; place-content: center;
  text-align: center; padding: 90px var(--pad) 40px;
  padding-left: calc(var(--rail) + var(--pad));
  overflow: hidden;
}
.chap__no {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  font-family: var(--display); font-weight: 600;
  font-size: clamp(180px, 34vw, 460px); line-height: 1;
  color: rgba(233,229,219,.026); user-select: none; pointer-events: none;
}
.crumb {
  font-family: var(--mono); font-size: 9px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--faint);
  display: flex; gap: 9px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px;
}
.crumb a:hover { color: var(--ochre); }
.chap__zoom { will-change: transform, opacity, filter; }
.chap__lead {
  margin: 24px auto 0; max-width: 56ch;
  font-size: clamp(15.5px, 1.26vw, 18.5px); color: var(--dim); line-height: 1.72;
}

.prose { max-width: 1360px; margin-inline: auto; display: grid; gap: clamp(30px, 4vw, 64px); }
@media (min-width: 980px) { .prose { grid-template-columns: 250px 1fr; } }
.prose__aside { position: relative; }
.prose__aside-in { position: sticky; top: 108px; }
.prose__toc { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.prose__toc a { background: var(--ink-2); padding: 13px 16px; font-size: 13.6px; color: var(--dim); transition: background .3s, color .3s; }
.prose__toc a:hover { background: var(--raise); color: var(--bone); }

.prose__body > * { max-width: 68ch; }
.prose__body h2 {
  font-size: clamp(23px, 2.3vw, 33px); margin: clamp(38px, 4vw, 56px) 0 18px; line-height: 1.2;
}
.prose__body h2:first-child { margin-top: 0; }
.prose__body h3 { font-size: clamp(18px, 1.5vw, 22px); margin: 30px 0 12px; }
.prose__body p { font-size: 16.5px; line-height: 1.78; color: var(--dim); margin-bottom: 18px; }
.prose__body p strong { color: var(--bone); font-weight: 500; }
.prose__body ul { margin: 0 0 22px; display: grid; gap: 11px; }
.prose__body ul li {
  position: relative; padding-left: 24px; font-size: 16px; color: var(--dim); line-height: 1.7;
}
.prose__body ul li::before {
  content: ""; position: absolute; left: 0; top: 13px; width: 12px; height: 1px; background: var(--ochre);
}
.prose__body blockquote {
  margin: 30px 0; padding: 22px 26px; border-left: 2px solid var(--ochre);
  background: rgba(216,154,42,.045); border-radius: 0 4px 4px 0;
  font-family: var(--display); font-style: italic;
  font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; color: var(--bone);
}

.next__rows { margin-top: clamp(30px, 3.4vw, 46px); border-top: 1px solid var(--line); }
.next__rows a {
  display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: baseline;
  justify-content: space-between; padding: 22px 0;
  border-bottom: 1px solid var(--line); transition: padding-left .4s var(--ease), color .3s;
}
.next__rows a:hover { padding-left: 14px; color: var(--ochre-hi); }
.next__rows b { font-family: var(--display); font-weight: 600; font-size: clamp(17px, 1.5vw, 21px); }
.next__rows span { color: var(--faint); }

/* ═══════════════════════════════════════════
   ПОЯВЛЕНИЕ
   ═══════════════════════════════════════════ */
.rv { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-1 { transition-delay: .09s; }
.rv-2 { transition-delay: .18s; }
.rv-3 { transition-delay: .27s; }

/* ═══════════════════════════════════════════
   БЕЗ АНИМАЦИЙ
   ═══════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; }
  .hero__title .ln > span { transform: none; animation: none; }
  .hero__lead, .hero__acts, .hero__figure { opacity: 1; animation: none; }
  .motes { display: none; }
  .dive, .wind { height: auto !important; }
  .dive__stage, .wind__stage, .chap__stage { position: static; height: auto; padding-block: var(--sec); }
  .dive__intro { position: static; margin-bottom: 60px; }
  .layer {
    position: static; opacity: 1 !important; filter: none !important;
    transform: none !important; margin: 0 auto 64px; width: min(760px, 100%);
  }
  .wind__line {
    position: static; transform: none !important; opacity: 1 !important;
    filter: none !important; width: 100%; margin-bottom: 48px;
  }
  .wind__copy { width: 100%; }
  .wind__canvas, .wind__veil { display: none; }
  .chap__zoom { transform: none !important; }
  .who__lines p > i { opacity: 1 !important; transform: none !important; filter: none !important; }
  .trap, .case-card { opacity: 1 !important; transform: none !important; }
}
