/* ══════════════════════════════════════════════════════════════
   trikhminov.ru · v2
   Спуск на сто метров. Ось скролла = ось глубины.
   ══════════════════════════════════════════════════════════════ */

: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,.10);
  --line-2:   rgba(233,229,219,.19);
  --glass:    rgba(233,229,219,.035);

  --display: "Spectral", Georgia, serif;
  --body:    "Golos Text", system-ui, -apple-system, sans-serif;
  --mono:    "Martian Mono", ui-monospace, monospace;

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

  --pad:  20px;
  --rail: 0px;
  --wrap: 1760px;
  --warm: 0;
}
@media (min-width: 700px)  { :root { --pad: 34px; } }
@media (min-width: 1120px) { :root { --pad: 52px; --rail: 88px; } }
@media (min-width: 1600px) { :root { --pad: 72px; } }

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

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

body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--body);
  /* набор дышит вместе с экраном: на большом мониторе крупнее */
  font-size: clamp(16px, .34vw + 14.4px, 20px);
  line-height: 1.65;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.lock { overflow: hidden; }

img, picture, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; background: none; border: 0; }
ul, ol { list-style: none; }
::selection { background: rgba(216,154,42,.28); }

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

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 300;
  background: var(--ochre); color: #10161f; padding: 10px 16px; border-radius: 4px;
  font-family: var(--mono); font-size: 12px; transition: top .25s;
}
.skip:focus { top: 16px; }

/* ── фон глубины: чем ниже, тем теплее ── */
.deep {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  --lite: calc(1 - var(--depth, 0));
  background:
    /* давление: виньетка сжимается, края кадра уходят в чёрное */
    radial-gradient(122% 96% at 50% 44%,
      transparent calc(30% - var(--depth, 0) * 26%),
      rgba(0,0,0,calc(.30 * var(--depth, 0))) 72%,
      rgba(0,0,0,calc(.72 * var(--depth, 0))) 100%),
    /* тёплый свет со дна */
    radial-gradient(120% 70% at 50% 108%,
      rgba(216,154,42,calc(.20 * var(--warm))) 0%,
      rgba(216,154,42,calc(.07 * var(--warm))) 34%,
      transparent 66%),
    /* толща: чернильная вода гасит всё, что выше */
    linear-gradient(180deg,
      rgba(1,3,8,calc(.93 * var(--depth, 0))) 0%,
      rgba(0,1,4,calc(.97 * var(--depth, 0))) 100%),
    /* холодный свет сверху — гаснет к середине спуска */
    radial-gradient(112% 68% at 50% -14%,
      rgba(38,74,132,calc(.85 * var(--lite))) 0%,
      rgba(20,40,78,calc(.30 * var(--lite))) 38%,
      transparent 66%),
    /* сама вода */
    linear-gradient(180deg, #0e1b38 0%, #0a1224 40%, var(--ink) 72%, #050810 100%);
}
.motes { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .9; }
/* свет с поверхности: чистая композиция, ни одного пикселя в кадре */
.surflight {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0; will-change: opacity;
  background:
    radial-gradient(120% 62% at 50% -18%, rgba(186,220,246,.13), transparent 62%),
    linear-gradient(180deg, rgba(150,196,232,.17), rgba(96,150,205,.055) 42%, transparent 70%);
}

main, .top, .foot, .gauge { position: relative; z-index: 2; }

/* ═══════════════════════════════════════════
   ШКАЛА ГЛУБИНЫ
   ═══════════════════════════════════════════ */
.gauge {
  position: fixed; z-index: 40; pointer-events: none;
  left: 0; top: 0; width: 100%; height: 2px;
}
.gauge__read, .gauge__layer { display: none; }
.gauge__track {
  position: absolute; inset: 0;
  background: rgba(233,229,219,.07);
}
.gauge__fill {
  position: absolute; left: 0; top: 0; height: 100%; width: 0%;
  transition: width .28s linear, height .28s linear;
  background: linear-gradient(90deg, var(--brass), var(--ochre-hi));
  box-shadow: 0 0 14px rgba(216,154,42,.55);
}
.gauge__tick { display: none; }

@media (min-width: 1120px) {
  .gauge {
    left: 0; top: 0; width: var(--rail); height: 100svh;
    display: grid; grid-template-rows: auto 1fr auto;
    align-items: center; justify-items: center;
    padding: 84px 0 30px;
    row-gap: 18px;
    border-right: 1px solid var(--line);
    background: linear-gradient(90deg, rgba(5,8,16,.5), transparent);
  }
  .gauge__read { display: block; text-align: center; }
  .gauge__num {
    display: block; font-family: var(--display); font-weight: 600;
    font-size: 27px; line-height: 1; letter-spacing: -.02em;
    font-variant-numeric: tabular-nums;
  }
  .gauge__unit {
    display: block; margin-top: 5px; font-family: var(--mono);
    font-style: normal; font-size: 8px; letter-spacing: .18em;
    text-transform: uppercase; color: var(--faint);
  }
  .gauge__track {
    position: relative; inset: auto;
    width: 1px; height: calc(100% - 12px); background: var(--line);
    justify-self: center; align-self: center;
  }
  .gauge__fill {
    left: -1px; width: 3px; height: 0%; border-radius: 2px;
    background: linear-gradient(180deg, var(--ochre-hi), var(--brass));
  }
  .gauge__tick {
    display: block; position: absolute; left: 9px; top: calc(var(--t) * 100%);
    transform: translateY(-50%);
    font-family: var(--mono); font-size: 8.5px; font-style: italic;
    color: var(--faint); white-space: nowrap;
  }
  .gauge__tick::before {
    content: ""; position: absolute; left: -9px; top: 50%;
    width: 6px; height: 1px; background: var(--line-2);
  }
  .gauge__layer {
    display: block; writing-mode: vertical-rl; transform: rotate(180deg);
    font-family: var(--mono); font-size: 8.5px; letter-spacing: .2em;
    text-transform: uppercase; color: var(--faint);
    max-height: 190px; overflow: hidden; white-space: nowrap;
  }
}

/* ═══════════════════════════════════════════
   ШАПКА
   ═══════════════════════════════════════════ */
.top {
  position: fixed; inset: 0 0 auto; z-index: 130;
  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,.82);
  backdrop-filter: blur(15px) saturate(1.15);
  -webkit-backdrop-filter: blur(15px) saturate(1.15);
  border-bottom-color: var(--line);
}
.top__in {
  max-width: var(--wrap); margin-inline: auto;
  height: 62px; display: flex; align-items: center;
  justify-content: space-between; gap: 20px;
}
@media (min-width: 700px) { .top__in { height: 70px; } }

.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand svg { width: 14px; height: 19px; flex: none; }
.brand b {
  font-family: var(--display); font-weight: 600; font-size: 16px;
  letter-spacing: -.015em; white-space: nowrap;
}
.brand span {
  font-family: var(--mono); font-size: 8.5px; letter-spacing: .17em;
  text-transform: uppercase; color: var(--faint); white-space: nowrap;
}
@media (max-width: 479px) { .brand span { display: none; } }

.nav { display: none; gap: 26px; }
@media (min-width: 1120px) { .nav { display: flex; } }
.nav a {
  position: relative; font-size: 14px; color: var(--dim);
  padding: 6px 0; transition: color .3s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--ochre); transform: scaleX(0); transform-origin: left;
  transition: transform .42s var(--ease);
}
.nav a:hover { color: var(--bone); }
.nav a.on { color: var(--bone); }
.nav a.on::after, .nav a:hover::after { transform: scaleX(1); }

/* ── кнопка: глубиномер вместо стрелки ── */
.btn {
  position: relative; display: inline-grid; place-items: center;
  padding: 16px 30px; border-radius: 3px;
  font-weight: 500; font-size: clamp(15px, .78vw, 18px); line-height: 1.15;
  overflow: hidden; isolation: isolate;
  transition: color .3s var(--ease), border-color .3s;
}
/* подпись перекатывается: вторая копия приходит снизу */
.btn b {
  grid-area: 1/1; font-weight: 500; white-space: nowrap;
  transition: transform .58s var(--ease-sp), opacity .4s var(--ease);
}
.btn b:first-child  { transform: translateY(0); }
.btn b:last-child   { transform: translateY(110%); opacity: 0; }
.btn:hover b:first-child { transform: translateY(-110%); opacity: 0; }
.btn:hover b:last-child  { transform: translateY(0); opacity: 1; }
.btn--fill { background: var(--ochre); color: #10161f; box-shadow: 0 0 0 1px rgba(216,154,42,.42), 0 16px 40px -26px rgba(216,154,42,.6); }
.btn--fill::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, var(--ochre-hi), var(--ochre));
  transform: translateY(101%); transition: transform .5s var(--ease-sp);
}
.btn--fill:hover::before { transform: translateY(0); }
.btn--line {
  border: 1px solid var(--line-2); color: var(--bone);
}
.btn--line::before {
  content: ""; position: absolute; left: 0; bottom: 0; z-index: -1;
  width: 100%; height: 100%; background: var(--glass);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .5s var(--ease-sp);
}
.btn--line:hover::before { transform: scaleY(1); }
.btn--line:hover { border-color: var(--line-2); }
.btn--lg { padding: 19px 38px; font-size: clamp(16px, .95vw, 21px); border-radius: 4px; }
.btn--wide { width: 100%; }


.top__cta { display: none; }
@media (min-width: 700px) { .top__cta { display: inline-grid; padding: 13px 24px; font-size: 14.5px; } }

/* ── бургер: превращается в крестик ── */
.burger {
  position: relative; z-index: 140;
  width: 42px; height: 42px; margin-right: -9px;
  display: grid; place-items: center;
  border: 1px solid var(--line-2); border-radius: 50%;
  transition: border-color .35s, transform .6s var(--ease-sp);
}
@media (min-width: 1120px) { .burger { display: none; } }
.burger span {
  position: absolute; left: 50%; width: 16px; height: 1.5px;
  background: var(--bone); border-radius: 2px;
  transition: transform .5s var(--ease-sp), width .5s var(--ease-sp);
}
.burger span:nth-child(1) { transform: translate(-50%,-4px); }
.burger span:nth-child(2) { transform: translate(-50%, 4px); }
.burger[aria-expanded="true"] { transform: rotate(180deg); border-color: var(--ochre); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translate(-50%,0) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translate(-50%,0) rotate(-45deg); }

/* ═══════════════════════════════════════════
   МЕНЮ — круг из угла, пункты приходят волной
   ═══════════════════════════════════════════ */
.menu {
  position: fixed; inset: 0; z-index: 120;
  background:
    radial-gradient(88% 58% at 84% 2%, rgba(216,154,42,.10), transparent 62%),
    var(--ink);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(84px + env(safe-area-inset-top)) var(--pad)
           calc(40px + env(safe-area-inset-bottom));
  clip-path: circle(0% at calc(100% - 41px) 40px);
  transition: clip-path .9s var(--ease);
  pointer-events: none; overflow-y: auto; overscroll-behavior: contain;
}
.menu.open { clip-path: circle(150% at calc(100% - 41px) 40px); pointer-events: auto; }

.menu__nav { display: flex; flex-direction: column; gap: 2px; }
.menu__nav a {
  display: flex; align-items: baseline; gap: 14px;
  padding: 11px 0;
  font-family: var(--display); font-weight: 600;
  font-size: clamp(30px, 8.6vw, 52px); line-height: 1.06;
  letter-spacing: -.02em;
  opacity: 0; transform: translateY(26px);
  transition: opacity .6s var(--ease), transform .68s var(--ease-sp), color .3s;
}
.menu__nav a i {
  font-family: var(--mono); font-style: normal;
  font-size: 10px; letter-spacing: .1em; color: var(--brass);
  transition: color .3s;
}
.menu.open .menu__nav a { opacity: 1; transform: none; }
.menu.open .menu__nav a:nth-child(1) { transition-delay: .14s; }
.menu.open .menu__nav a:nth-child(2) { transition-delay: .19s; }
.menu.open .menu__nav a:nth-child(3) { transition-delay: .24s; }
.menu.open .menu__nav a:nth-child(4) { transition-delay: .29s; }
.menu.open .menu__nav a:nth-child(5) { transition-delay: .34s; }
.menu.open .menu__nav a:nth-child(6) { transition-delay: .39s; }
.menu.open .menu__nav a:nth-child(7) { transition-delay: .44s; }
.menu.open .menu__nav a:nth-child(8) { transition-delay: .49s; }
.menu__nav a:hover, .menu__nav a:active { color: var(--ochre-hi); }
.menu__nav a:hover i { color: var(--ochre-hi); }
.menu__nav a:last-child { color: var(--ochre); }

.menu__foot {
  margin-top: clamp(34px, 6vh, 60px); padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid; gap: 8px;
  opacity: 0; transform: translateY(16px);
  transition: opacity .6s var(--ease) .54s, transform .6s var(--ease) .54s;
}
.menu.open .menu__foot { opacity: 1; transform: none; }
.menu__tg {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(19px, 5vw, 24px); color: var(--ochre);
}
.menu__note {
  font-family: var(--mono); font-size: 10px; letter-spacing: .13em;
  text-transform: uppercase; color: var(--faint);
}

/* ═══════════════════════════════════════════
   ОБЩАЯ ТИПОГРАФИКА
   ═══════════════════════════════════════════ */
.wrap {
  width: 100%; max-width: var(--wrap); margin-inline: auto;
  padding-inline: var(--pad);
}
.sec {
  position: relative;
  padding-block: clamp(76px, 11vw, 156px);
  padding-left: var(--rail);
  overflow-x: clip;
}
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: clamp(9.5px, .62vw, 12px); letter-spacing: .2em;
  text-transform: uppercase; color: var(--brass);
}
.eyebrow::before, .eyebrow::after {
  content: ""; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2));
  flex: 1 1 auto; max-width: 120px;
}
.eyebrow::before { background: linear-gradient(90deg, var(--line-2), transparent); max-width: 46px; }
.eyebrow--c { justify-content: center; flex-wrap: nowrap; white-space: nowrap; }
.eyebrow--c::before, .eyebrow--c::after { max-width: 90px; flex: 1 1 90px; }

.h-sec {
  margin-top: 20px;
  font-family: var(--display); font-weight: 600;
  font-size: clamp(30px, 3.9vw, 66px); line-height: 1.07;
  letter-spacing: -.027em; max-width: 22ch;
  text-wrap: balance;
}
.h-sub {
  margin-top: 22px; max-width: 64ch;
  font-size: clamp(15px, 1.05vw, 22px); line-height: 1.7; color: var(--dim);
  text-wrap: pretty;
}
.h-sub--c { margin-inline: auto; text-align: center; }
.lnk {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ochre);
  border-bottom: 1px solid rgba(216,154,42,.34); padding-bottom: 4px;
  transition: color .3s, border-color .3s;
}
.lnk:hover { color: var(--ochre-hi); border-color: var(--ochre-hi); }

/* появление */
.rv { opacity: 0; transform: translate3d(0,26px,0); filter: blur(7px);
  transition: opacity .95s var(--ease), transform 1.05s var(--ease-sp), filter .95s var(--ease); }
.rv.in { opacity: 1; transform: none; filter: none; }
.rv-1 { transition-delay: .08s; }
.rv-2 { transition-delay: .16s; }
.rv-3 { transition-delay: .24s; }

/* ═══════════════════════════════════════════
   ЗАСТАВКА
   ═══════════════════════════════════════════ */
.hero {
  position: relative; min-height: 100svh;
  display: grid; align-items: center;
  padding: calc(84px + env(safe-area-inset-top)) var(--pad) 62px;
  padding-left: calc(var(--rail) + var(--pad));
  overflow: clip;
}
.hero__in {
  width: 100%; max-width: var(--wrap); margin-inline: auto;
  display: grid; gap: clamp(34px, 5vw, 60px); align-items: center;
}
@media (min-width: 900px) {
  .hero__in { grid-template-columns: 1.02fr .98fr; gap: clamp(40px, 4.4vw, 84px); }
  /* кадр больше не тянет высоту заставки за собой: он подрезается
     по вертикали, чтобы весь первый экран влезал без прокрутки */
  .hero__figure { height: min(calc(100svh - 172px), 880px); }
  .hero__figure img { height: 100%; object-position: 50% 20%; }
}

.hero__kick {
  font-family: var(--mono); font-size: clamp(10px, .68vw, 13px);
  letter-spacing: .17em; text-transform: uppercase; color: var(--dim);
}
.hero__mark {
  margin-top: 18px; display: flex; align-items: center; gap: 16px;
  font-family: var(--mono); font-size: clamp(9.5px, .62vw, 12px);
  letter-spacing: .19em; text-transform: uppercase; color: var(--ochre);
}
.hero__mark s { display: block; width: clamp(28px, 4vw, 64px); height: 1px; background: var(--brass); text-decoration: none; flex: none; }

.hero__title {
  margin-top: 22px;
  font-family: var(--display); font-weight: 600;
  font-size: clamp(33px, 4.3vw, 74px); line-height: 1.0;
  letter-spacing: -.034em;
}
.hero__title .ln { display: block; overflow: hidden; }
.hero__title .ln > span {
  display: block;
  transform: translate3d(0,108%,0);
  transition: transform 1.25s var(--ease-sp);
}
.hero.in .hero__title .ln > span { transform: none; }
.hero.in .hero__title .ln:nth-child(2) > span { transition-delay: .1s; }

.hero__lead {
  margin-top: 18px; max-width: 64ch;
  font-size: clamp(14.5px, .86vw, 18px); line-height: 1.66; color: var(--dim);
  opacity: 0; transform: translateY(20px);
  transition: opacity 1s var(--ease) .3s, transform 1s var(--ease-sp) .3s;
}
.hero.in .hero__lead { opacity: 1; transform: none; }

.hero__acts {
  margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px;
  opacity: 0; transform: translateY(18px);
  transition: opacity 1s var(--ease) .44s, transform 1s var(--ease-sp) .44s;
}
.hero.in .hero__acts { opacity: 1; transform: none; }

.hero__figure {
  position: relative; border-radius: 4px; overflow: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.45s var(--ease-sp) .16s;
}
.hero.in .hero__figure { clip-path: inset(0 0 0 0); }
.hero__figure img {
  width: 100%; height: auto; object-fit: cover;
  filter: saturate(.86) contrast(1.04) brightness(.86);
}
.hero__figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,12,23,.18) 0%, transparent 34%, rgba(7,12,23,.9) 100%);
}
.hero__cap {
  position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2;
  display: grid; gap: 6px;
  font-family: var(--mono); font-size: clamp(9.5px, .62vw, 12px); letter-spacing: .11em; color: var(--dim);
}
.hero__lock { display: inline-flex; align-items: center; gap: 8px; color: var(--ochre); }
.hero__lock svg { width: 10px; height: 12px; flex: none; }

@media (max-width: 620px) {
  .hero__acts { display: grid; gap: 10px; }
  .hero__acts .btn { width: 100%; }
}
@media (max-width: 899px) {
  /* на телефоне экран не держит центровку: ставим поток сверху вниз */
  .hero { align-items: start; min-height: auto; overflow: visible;
          padding-top: calc(104px + env(safe-area-inset-top)); padding-bottom: 64px; }
  .hero__figure { margin-top: 6px; }
  /* обе строчные метки обязаны лечь в одну строку на любом телефоне */
  .hero__kick { font-size: clamp(7px, 2.15vw, 13px); white-space: nowrap; }
  .hero__mark { gap: 12px; font-size: clamp(7.5px, 2vw, 9.5px); white-space: nowrap; }
  .hero__mark s { width: clamp(16px, 4vw, 64px); }
}

.hero__cue {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: 16px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 9px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--faint);
}
.hero__cue s {
  display: block; width: 1px; height: 20px; text-decoration: none;
  background: linear-gradient(180deg, var(--brass), transparent);
  animation: cue 2.6s var(--ease-io) infinite;
}
@keyframes cue { 0%,100% { transform: scaleY(.3); opacity: .4; } 50% { transform: scaleY(1); opacity: 1; } }
@media (max-width: 899px) { .hero__cue { display: none; } }

/* ═══════════════════════════════════════════
   ГЛАВА I · СПУСК
   ═══════════════════════════════════════════ */
.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; justify-items: center;
  text-align: center; padding-inline: var(--pad);
  will-change: transform, opacity, filter;
}
.dive__intro .h-sec { max-width: 18ch; margin-inline: auto; }

/* слой: фоновое слово живёт отдельным пластом и не толкает текст */
.layer {
  position: absolute;
  width: min(1180px, 92%);
  display: grid; place-items: center;
  will-change: transform, opacity, filter;
}
.layer__word {
  position: absolute; inset: 0;
  display: grid; place-items: center; place-content: center;
  pointer-events: none; user-select: none;
}
.layer__word b {
  display: block;
  font-family: var(--display); font-weight: 600;
  font-size: clamp(64px, 21vw, 330px); line-height: .82;
  letter-spacing: -.05em; white-space: nowrap;
  color: rgba(233,229,219,.085);
}
.layer--deep .layer__word b { color: rgba(216,154,42,.115); }

.layer__body {
  position: relative; z-index: 2;
  text-align: center; width: 100%;
  padding: 6px 0;
}
/* подложка, чтобы текст всегда читался поверх большой буквы */
.layer__body::before {
  content: ""; position: absolute; z-index: -1;
  left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 130%; height: 145%;
  background: radial-gradient(58% 52% at 50% 50%, rgba(7,12,23,.94) 0%, rgba(7,12,23,.72) 46%, transparent 78%);
}
.layer__depth {
  display: block; margin-bottom: 18px;
  font-family: var(--mono); font-weight: 500;
  font-size: clamp(11px, .88vw, 17px); letter-spacing: -.01em; color: var(--ochre);
}
.layer__name {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(34px, 6.2vw, 108px); line-height: 1.0;
  letter-spacing: -.034em;
}
.layer--deep .layer__name { color: var(--ochre); }
.layer__sup {
  margin-top: 8px;
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(17px, 1.8vw, 34px); color: var(--dim);
}
.layer__text {
  margin-top: 20px; max-width: 52ch; margin-inline: auto;
  font-size: clamp(15px, 1.15vw, 25px); line-height: 1.68; color: var(--dim);
  text-wrap: pretty;
}
.layer__text + .layer__text { margin-top: 12px; }
.layer__note {
  margin-top: 26px; display: inline-block;
  padding: clamp(12px,1.1vw,20px) clamp(18px,1.8vw,34px); border: 1px solid rgba(216,154,42,.28); border-radius: 3px;
  font-family: var(--display); font-style: italic;
  font-size: clamp(15px, 1.25vw, 26px); color: var(--ochre-hi);
  max-width: 46ch;
}
.layer__noise {
  margin-top: 30px; display: flex; flex-wrap: wrap; gap: 7px 9px; justify-content: center;
}
.layer__noise span {
  font-family: var(--mono); font-size: clamp(9px, .68vw, 14px); letter-spacing: .04em;
  color: var(--faint); border: 1px solid var(--line);
  padding: clamp(6px,.55vw,11px) clamp(11px,1vw,19px); border-radius: 3px; white-space: nowrap;
  transition: border-color .4s, color .4s;
}
.layer__noise span:hover { border-color: var(--line-2); color: var(--dim); }

/* ═══════════════════════════════════════════
   ПОРОГ · термоклин
   ═══════════════════════════════════════════ */
.veil { position: relative; }
.veil__stage {
  position: sticky; top: 0; height: 100svh;
  display: grid; place-items: center; overflow: hidden;
  padding-left: var(--rail);
}
.veil__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.veil__copy { position: relative; z-index: 2; padding-inline: var(--pad); text-align: center; max-width: 100%; }
.veil__line {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(28px, 4.5vw, 76px); line-height: 1.1;
  letter-spacing: -.03em; text-wrap: balance;
  opacity: 0; will-change: opacity, transform, filter;
}
.veil__kick {
  margin-bottom: clamp(16px, 1.6vw, 28px);
  font-family: var(--mono); font-size: clamp(9.5px, .62vw, 12px);
  letter-spacing: .2em; text-transform: uppercase; color: var(--brass);
  opacity: 0; will-change: opacity, transform;
}
.veil__act { margin-top: clamp(30px, 3vw, 52px); opacity: 0; will-change: opacity, transform; }
.veil--cta .veil__stage { padding-inline: var(--pad); }

/* ═══════════════════════════════════════════
   ДА, ЭТО РАБОТАЕТ ТАК
   ═══════════════════════════════════════════ */
.works__grid { margin-top: clamp(34px, 4vw, 58px); display: grid; gap: clamp(28px, 4vw, 54px); }
@media (min-width: 980px) { .works__grid { grid-template-columns: 1.08fr .92fr; align-items: stretch; } }
.works__body p {
  font-size: clamp(15px, .95vw, 20px); line-height: 1.74; color: var(--dim);
  max-width: 62ch; text-wrap: pretty;
}
.works__body p + p { margin-top: 18px; }
.works__body p:first-child { color: var(--bone); font-size: clamp(17px, 1.15vw, 25px); line-height: 1.6; }
.works__fig {
  position: relative; border-radius: 4px; overflow: hidden;
  min-height: clamp(420px, 62svh, 900px);
}
.works__fig img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: 52% 26%;
  filter: saturate(.86) brightness(.86);
  will-change: transform;
}
.works__fig::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7,12,23,.75) 100%);
}
@media (max-width: 979px) { .works__fig { order: -1; min-height: clamp(380px, 58svh, 620px); } }


/* ═══════════════════════════════════════════
   ЧЕК-ЛИСТ
   ═══════════════════════════════════════════ */
.quiz__box {
  margin-top: clamp(32px, 4vw, 54px);
  border: 1px solid var(--line); border-radius: 5px;
  background: linear-gradient(180deg, rgba(16,26,46,.55), rgba(10,17,32,.35));
  padding: clamp(20px, 3vw, 38px);
  overflow: hidden;
}
.quiz__head {
  display: flex; align-items: center; gap: 16px;
  padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.quiz__count { font-family: var(--mono); font-size: 11px; color: var(--dim); flex: none; }
.quiz__count b { color: var(--ochre); font-weight: 500; }
.quiz__count s { text-decoration: none; color: var(--faint); margin: 0 3px; }
.quiz__count i { font-style: normal; color: var(--faint); }
.quiz__bar { flex: 1 1 auto; height: 1px; background: var(--line); position: relative; }
.quiz__bar span {
  position: absolute; left: 0; top: -1px; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--brass), var(--ochre-hi));
  border-radius: 2px; transition: width .7s var(--ease-sp);
}
.quiz__picked {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--faint); flex: none;
}

.quiz__deck { position: relative; margin-top: clamp(22px, 3vw, 34px); }
.card {
  position: absolute; inset: 0 0 auto 0;
  opacity: 0; pointer-events: none;
  transform: translate3d(0,34px,0) scale(.965);
  filter: blur(10px);
  transition: opacity .62s var(--ease), transform .78s var(--ease-sp), filter .62s var(--ease);
}
.card.is-on {
  position: relative; opacity: 1; pointer-events: auto;
  transform: none; filter: none;
}
.card.is-past { transform: translate3d(0,-34px,0) scale(.965); }
.card__no {
  display: block; font-family: var(--mono); font-size: 10px;
  letter-spacing: .18em; color: var(--brass);
}
.card__t {
  margin-top: 12px;
  font-family: var(--display); font-weight: 600;
  font-size: clamp(23px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -.026em;
  text-wrap: balance;
}
.card__x {
  margin-top: 15px; max-width: 56ch;
  font-size: clamp(14.5px, 1.2vw, 17px); line-height: 1.74; color: var(--dim);
  text-wrap: pretty;
}
/* внутренняя анимация карточки — по элементам, не блоком */
.card.is-on .card__no { animation: cIn .6s var(--ease-sp) .05s both; }
.card.is-on .card__t  { animation: cIn .68s var(--ease-sp) .12s both; }
.card.is-on .card__x  { animation: cIn .68s var(--ease-sp) .2s both; }
@keyframes cIn { from { opacity: 0; transform: translate3d(0,16px,0); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

.quiz__acts {
  margin-top: clamp(26px, 3.4vw, 40px);
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
}
.qbtn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 3px; font-size: 14.5px; line-height: 1;
  border: 1px solid var(--line-2); overflow: hidden; isolation: isolate;
  transition: color .3s, border-color .3s, transform .3s var(--ease-sp);
}
.qbtn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .45s var(--ease-sp);
}
.qbtn:hover::before { transform: scaleY(1); }
.qbtn:active { transform: scale(.97); }
.qbtn--yes { border-color: rgba(216,154,42,.4); color: var(--ochre-hi); }
.qbtn--yes::before { background: rgba(216,154,42,.14); }
.qbtn--no::before { background: var(--glass); }
.qbtn--back { border: 0; color: var(--faint); padding-inline: 4px 14px; margin-right: auto; }
.qbtn--back svg { width: 18px; height: 11px; }
.qbtn--back:hover { color: var(--bone); }
.qbtn--back[hidden] { display: none; }
@media (max-width: 620px) {
  /* выбор рядом, «Назад» — отдельной строкой под ним */
  .quiz__acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .qbtn--yes  { order: 1; justify-content: center; }
  .qbtn--no   { order: 2; justify-content: center; }
  .qbtn--back { order: 3; grid-column: 1 / -1; justify-content: flex-start;
                margin-right: 0; padding: 6px 0 0; }
}
.qbtn--again { border: 0; color: var(--faint); padding-inline: 0; }
.qbtn--again:hover { color: var(--bone); }

.quiz__done { animation: cIn .8s var(--ease-sp) both; }
.quiz__done[hidden] { display: none; }
.quiz__score {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(24px, 3.6vw, 42px); line-height: 1.1; letter-spacing: -.026em;
  color: var(--ochre);
}
.quiz__text {
  margin-top: 18px; max-width: 62ch;
  font-size: clamp(15px, 1.2vw, 17px); line-height: 1.76; color: var(--dim);
}
.quiz__end { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 16px 22px; align-items: center; }

/* ═══════════════════════════════════════════
   ЛОВУШКИ
   ═══════════════════════════════════════════ */
.traps__list {
  margin-top: clamp(34px, 4vw, 58px);
  display: grid; gap: clamp(12px, 1.1vw, 18px);
}
@media (min-width: 760px) {
  .traps__list { grid-template-columns: 1fr 1fr; }
  .trap:last-child { grid-column: 1 / -1; }
}
@media (min-width: 1180px) {
  /* три сверху, две пошире снизу — пустых ячеек не остаётся */
  .traps__list { grid-template-columns: repeat(6, 1fr); }
  .trap { grid-column: span 2; }
  .trap:nth-child(4), .trap:nth-child(5) { grid-column: span 3; }
}
.trap {
  border: 1px solid var(--line); border-radius: 4px;
  background: linear-gradient(180deg, rgba(16,26,46,.42), rgba(10,17,32,.16));
  padding: clamp(22px, 1.9vw, 34px);
  transition: border-color .5s var(--ease), background .5s var(--ease);
  will-change: transform, opacity, filter;
}
.trap:hover { border-color: var(--line-2); background: linear-gradient(180deg, rgba(22,35,60,.6), rgba(10,17,32,.3)); }
[data-fly] { opacity: 0; }
.trap__no { font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em; color: var(--brass); }
.trap__t {
  margin-top: 14px; font-family: var(--display); font-weight: 600;
  font-size: clamp(20px, 1.62vw, 30px); line-height: 1.16; letter-spacing: -.022em;
}
.trap__x { margin-top: 13px; font-size: clamp(14.5px, .84vw, 17px); line-height: 1.68; color: var(--dim); text-wrap: pretty; }
[data-rise] { opacity: 0; transform: translate3d(0,42px,0); filter: blur(8px); }

.traps__end {
  margin-top: clamp(34px, 4vw, 56px); max-width: 62ch;
}
.traps__end h3 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(21px, 2.4vw, 30px); letter-spacing: -.024em;
}
.traps__end p { margin-top: 14px; color: var(--dim); line-height: 1.74; }
.traps__end .lnk { margin-top: 22px; }

/* ═══════════════════════════════════════════
   ЦИТАТА
   ═══════════════════════════════════════════ */
.pull { padding-block: clamp(64px, 9vw, 130px); }
.pull__in { max-width: 1100px; text-align: center; margin-inline: auto; }
.pull__q {
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(21px, 2.9vw, 54px); line-height: 1.34; letter-spacing: -.02em;
  text-wrap: balance;
}
.pull__q::before, .pull__q::after { content: "«"; color: var(--brass); }
.pull__q::after { content: "»"; }
.pull__a {
  margin-top: 24px; font-family: var(--mono); font-size: 10px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--faint);
}

/* ═══════════════════════════════════════════
   ЦИФРЫ
   ═══════════════════════════════════════════ */
.rows { margin-top: clamp(34px, 4vw, 58px); border-top: 1px solid var(--line); }
.row {
  position: relative; display: grid; gap: 8px 30px;
  padding: clamp(24px, 3vw, 40px) 0; border-bottom: 1px solid var(--line);
  align-items: baseline;
}
@media (min-width: 860px) { .row { grid-template-columns: clamp(210px,17vw,300px) 1fr clamp(190px,15vw,260px); gap: clamp(30px,3vw,56px); } }
.row__n {
  font-family: var(--display); font-weight: 600; font-style: italic;
  font-size: clamp(38px, 4.6vw, 92px); line-height: .94; letter-spacing: -.038em;
  color: var(--ochre); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.row__n u { text-decoration: none; font-size: .44em; margin-left: 2px; }
.row__t { font-size: clamp(14.5px, .95vw, 19px); line-height: 1.66; color: var(--bone); text-wrap: pretty; }
.row__src {
  font-family: var(--mono); font-size: 9px; letter-spacing: .13em;
  text-transform: uppercase; color: var(--faint); line-height: 1.7;
}
.row__wave {
  position: absolute; left: 0; bottom: -1px; height: 1px; width: 0%;
  background: linear-gradient(90deg, var(--ochre), transparent);
}

/* ═══════════════════════════════════════════
   КЕЙСЫ
   ═══════════════════════════════════════════ */
/* карточки-кейсы: на главной живут колодой, на страницах — сеткой */
.cases { margin-top: clamp(34px, 4vw, 58px); display: grid; gap: clamp(12px, 1.1vw, 18px); }
@media (min-width: 900px) { .cases { grid-template-columns: 1fr 1fr; } }
.cases .case {
  border: 1px solid var(--line); border-radius: 4px;
  background: linear-gradient(180deg, rgba(16,26,46,.42), rgba(10,17,32,.16));
  padding: clamp(24px, 2.2vw, 42px);
  transition: border-color .5s;
}
.cases .case:hover { border-color: var(--line-2); }

/* ── туннель кейсов: карты идут из глубины на камеру ── */
.tunnel { position: relative; padding-left: var(--rail); }
.tunnel__stage {
  position: sticky; top: 0; height: 100svh;
  display: grid; place-items: center;
  padding: calc(86px + env(safe-area-inset-top)) var(--pad) 56px;
  overflow: hidden; perspective: 1200px;
}
.tunnel__rings { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.tunnel__rings i {
  position: absolute; width: min(62vw, 760px); aspect-ratio: 1;
  border: 1px solid rgba(216,154,42,.16); border-radius: 50%;
  opacity: 0; will-change: transform, opacity;
}
.tunnel__intro {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center;
  padding-inline: var(--pad); text-align: center;
  will-change: transform, opacity, filter;
}
.tunnel__cards {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--wrap); display: grid; place-items: center;
}
.tcard {
  grid-area: 1/1; width: 100%;
  border: 1px solid var(--line-2); border-radius: 6px;
  background: linear-gradient(180deg, #131e34, #090f1c);
  box-shadow: 0 60px 120px -50px rgba(0,0,0,.95);
  padding: clamp(24px, 2.6vw, 52px);
  opacity: 0; will-change: transform, opacity, filter;
}
.tunnel__bar {
  position: absolute; left: var(--pad); right: var(--pad); bottom: 30px;
  height: 1px; background: var(--line);
}
.tunnel__bar span { display: block; height: 3px; margin-top: -1px; width: 0%;
  background: linear-gradient(90deg, var(--brass), var(--ochre-hi)); border-radius: 2px; }
.case__k { font-family: var(--mono); font-size: 9.5px; letter-spacing: .15em; text-transform: uppercase; color: var(--brass); }
.case__t {
  margin-top: 13px; font-family: var(--display); font-weight: 600;
  font-size: clamp(22px, 2.15vw, 42px); line-height: 1.12; letter-spacing: -.026em;
  text-wrap: balance;
}
.case__lead { margin-top: 12px; color: var(--bone); line-height: 1.62; font-size: clamp(15px, 1vw, 20px); }
.case__d { margin-top: clamp(18px, 1.8vw, 28px); display: grid; gap: 16px; }
@media (min-width: 900px) {
  .tcard .case__d {
    grid-template-columns: repeat(3, 1fr); grid-template-rows: auto 1fr;
    grid-auto-flow: column; gap: 12px clamp(28px, 2.6vw, 56px);
  }
}
.tcard .case__t { font-size: clamp(26px, 2.9vw, 56px); }
.tcard .case__lead { font-size: clamp(16px, 1.15vw, 23px); }
.tcard .case__d dd { font-size: clamp(14.5px, .92vw, 18px); }
.case__d dt {
  font-family: var(--mono); font-size: 9px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ochre); margin-bottom: 5px;
}
.case__d dd { font-size: clamp(14px, .82vw, 16.5px); line-height: 1.66; color: var(--dim); text-wrap: pretty; }

/* ── узкий экран: карта кейса не влезает в 100svh, поэтому туннель
      разворачивается в обычную вертикальную ленту ── */
@media (max-width: 899px) {
  .tunnel { height: auto !important; padding-left: 0; }
  .tunnel__stage {
    position: relative; height: auto; display: block;
    padding: clamp(56px, 11vw, 92px) var(--pad);
    overflow: visible; perspective: none;
  }
  .tunnel__rings, .tunnel__bar { display: none; }
  .tunnel__intro {
    position: relative; inset: auto; display: block;
    padding-inline: 0; filter: none !important;
  }
  .tunnel__cards {
    display: grid; grid-template-columns: 1fr; place-items: stretch;
    gap: 16px; margin-top: clamp(30px, 7vw, 48px); max-width: none;
  }
  .tcard {
    grid-area: auto; will-change: transform, opacity;
    box-shadow: 0 26px 56px -38px rgba(0,0,0,.9);
  }
}

/* ═══════════════════════════════════════════
   НИКОЛАЙ
   ═══════════════════════════════════════════ */
.who__grid { margin-top: clamp(34px, 4vw, 58px); display: grid; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 900px) { .who__grid { grid-template-columns: .92fr 1.08fr; align-items: stretch; } }
.who__fig { border-radius: 4px; overflow: hidden; position: relative; min-height: clamp(420px, 66svh, 940px); }
.who__fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; filter: saturate(.86) brightness(.86); will-change: transform; }
.who__fig::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(7,12,23,.6) 100%); }
.who__body p {
  font-size: clamp(15px, .95vw, 20px); line-height: 1.74; color: var(--dim); text-wrap: pretty;
}
.who__body p + p { margin-top: 16px; }
.who__body p:first-child { color: var(--bone); }
[data-lines] p { opacity: 0; transform: translate3d(0,20px,0); }

.facts {
  margin-top: clamp(40px, 5vw, 72px);
  display: grid; gap: clamp(12px, 1.1vw, 18px);
}
@media (min-width: 640px)  { .facts { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.fact { border: 1px solid var(--line); border-radius: 4px; padding: clamp(20px, 1.8vw, 32px);
  background: linear-gradient(180deg, rgba(16,26,46,.36), rgba(10,17,32,.12)); }
.fact dt { font-family: var(--mono); font-size: 9px; letter-spacing: .17em; text-transform: uppercase; color: var(--brass); }
.fact dd { margin-top: 11px; font-size: clamp(15px, .86vw, 18px); line-height: 1.64; color: var(--dim); }

.edu { margin-top: clamp(40px, 5vw, 72px); }
.edu__h {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--brass); font-weight: 500;
}
.edu__list { margin-top: 22px; display: grid; gap: 1px; }
.edu__list li {
  border-bottom: 1px solid var(--line); padding: clamp(16px,1.3vw,24px) 0;
  display: grid; gap: 4px 26px; align-items: baseline;
}
@media (min-width: 760px) { .edu__list li { grid-template-columns: 300px 1fr; } }
.edu__list b { font-weight: 500; font-size: 15px; }
.edu__list span { font-size: 14px; line-height: 1.66; color: var(--faint); }

/* ═══════════════════════════════════════════
   МЕТОД
   ═══════════════════════════════════════════ */
.mets { margin-top: clamp(34px, 4vw, 58px); display: grid; gap: clamp(12px, 1.1vw, 18px); }
@media (min-width: 760px)  { .mets { grid-template-columns: 1fr 1fr; } }
.met { border: 1px solid var(--line); border-radius: 4px; padding: clamp(24px, 2.2vw, 42px);
  background: linear-gradient(180deg, rgba(16,26,46,.42), rgba(10,17,32,.16));
  transition: border-color .5s; will-change: transform, opacity; }
.met:hover { border-color: var(--line-2); }
.met h3 { display: grid; gap: 7px; }
.met h3 b {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.024em;
}
.met h3 span { font-family: var(--mono); font-size: 9px; letter-spacing: .17em; text-transform: uppercase; color: var(--brass); }
.met p { margin-top: 16px; font-size: clamp(15px, .88vw, 18px); line-height: 1.7; color: var(--dim); text-wrap: pretty; }

.method__note {
  margin-top: clamp(40px, 5vw, 68px); max-width: 74ch;
  border-left: 2px solid var(--brass); padding-left: clamp(20px, 3vw, 34px);
}
.method__note blockquote {
  font-family: var(--display); font-style: italic;
  font-size: clamp(17px, 2vw, 25px); line-height: 1.44; color: var(--bone);
  text-wrap: pretty;
}
.method__note figcaption {
  margin-top: 14px; font-family: var(--mono); font-size: 9.5px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--faint);
}

/* ═══════════════════════════════════════════
   РАЗБОР
   ═══════════════════════════════════════════ */
.steps__list { margin-top: clamp(34px, 4vw, 58px); display: grid; gap: clamp(12px, 1.1vw, 18px); }
@media (min-width: 700px)  { .steps__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1060px) { .steps__list { grid-template-columns: repeat(4, 1fr); } }
.step { border: 1px solid var(--line); border-radius: 4px; padding: clamp(22px, 2vw, 36px);
  background: linear-gradient(180deg, rgba(16,26,46,.42), rgba(10,17,32,.16));
  will-change: transform, opacity; }
.step__no { font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em; color: var(--brass); }
.step h3 { margin-top: 12px; font-family: var(--display); font-weight: 600; font-size: clamp(20px, 2.1vw, 26px); letter-spacing: -.022em; }
.step p { margin-top: 13px; font-size: clamp(14.5px, .84vw, 17px); line-height: 1.68; color: var(--dim); text-wrap: pretty; }

.nots { margin-top: clamp(32px, 4vw, 50px); display: grid; gap: 12px; max-width: 74ch; }
.nots li {
  position: relative; padding-left: 28px;
  font-size: clamp(15px, .9vw, 19px); line-height: 1.68; color: var(--dim);
}
.nots li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 13px; height: 1px; background: var(--brass);
}

/* ═══════════════════════════════════════════
   КОМУ
   ═══════════════════════════════════════════ */
.fit__grid { margin-top: clamp(34px, 4vw, 58px); display: grid; gap: clamp(14px, 1.3vw, 22px); }
@media (min-width: 860px) { .fit__grid { grid-template-columns: 1fr 1fr; } }
[data-side] { opacity: 0; will-change: transform, opacity; }
.fit__col { border: 1px solid var(--line); border-radius: 4px; padding: clamp(24px, 2.4vw, 48px);
  background: linear-gradient(180deg, rgba(16,26,46,.42), rgba(10,17,32,.16));
  will-change: transform, opacity; }
.fit__col h3 {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .2em;
  text-transform: uppercase; font-weight: 500;
}
.fit__col--yes h3 { color: var(--ochre); }
.fit__col--no h3 { color: var(--faint); }
.fit__col ul { margin-top: 22px; display: grid; gap: 15px; }
.fit__col li {
  position: relative; padding-left: 28px;
  font-size: clamp(15px, .9vw, 19px); line-height: 1.66; color: var(--dim); text-wrap: pretty;
}
.fit__col li::before {
  content: ""; position: absolute; left: 0; top: 10px; width: 13px; height: 1px;
}
.fit__col--yes li::before { background: var(--ochre); }
.fit__col--no li::before { background: var(--faint); }

/* ═══════════════════════════════════════════
   ВОПРОСЫ
   ═══════════════════════════════════════════ */
.qa { margin-top: clamp(34px, 4vw, 58px); border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; position: relative;
  padding: clamp(18px, 1.9vw, 32px) 52px clamp(18px, 1.9vw, 32px) 0;
  font-family: var(--display); font-weight: 600;
  font-size: clamp(17px, 1.5vw, 30px); line-height: 1.34; letter-spacing: -.02em;
  transition: color .3s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--ochre-hi); }
.qa summary::after, .qa summary::before {
  content: ""; position: absolute; right: 8px; top: 50%;
  background: var(--ochre); transition: transform .45s var(--ease-sp), opacity .3s;
}
.qa summary::before { width: 15px; height: 1.5px; transform: translateY(-50%); }
.qa summary::after  { width: 15px; height: 1.5px; transform: translateY(-50%) rotate(90deg); }
.qa details[open] summary::after { transform: translateY(-50%) rotate(0); opacity: 0; }
.qa details p {
  padding-bottom: clamp(20px, 2.2vw, 36px); max-width: 76ch;
  font-size: clamp(15px, .9vw, 19px); line-height: 1.74; color: var(--dim); text-wrap: pretty;
  animation: cIn .6s var(--ease-sp) both;
}

/* ═══════════════════════════════════════════
   ДНО · КОНТАКТ
   ═══════════════════════════════════════════ */
.contact { overflow: hidden; }
.contact__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .2; filter: saturate(.7); }
.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, 68px); }
@media (min-width: 940px) { .contact__grid { grid-template-columns: 1.05fr .95fr; align-items: start; } }

.lines { margin-top: clamp(30px, 3.6vw, 46px); border-top: 1px solid var(--line); }
.line {
  display: grid; gap: 4px 24px; padding: 18px 0; border-bottom: 1px solid var(--line);
  align-items: baseline;
}
@media (min-width: 620px) {
  .line { grid-template-columns: clamp(130px,12vw,190px) 1fr; align-items: baseline; }
  .line__n { grid-column: 2; }
}
.line__k { font-family: var(--mono); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.line__v { font-family: var(--display); font-weight: 600; font-size: clamp(18px, 1.25vw, 26px); color: var(--ochre); transition: color .3s; }
a.line__v:hover { color: var(--ochre-hi); }
.line__n { margin-top: 5px; font-size: 13.5px; line-height: 1.66; color: var(--faint); max-width: 46ch; }

.form {
  border: 1px solid var(--line); border-radius: 5px;
  background: linear-gradient(180deg, rgba(16,26,46,.6), rgba(10,17,32,.4));
  padding: clamp(22px, 3vw, 36px);
}
.form__t { font-family: var(--display); font-weight: 600; font-size: clamp(21px, 2.4vw, 28px); letter-spacing: -.024em; }
.form__s { margin-top: 8px; font-size: 14px; color: var(--faint); }
.fld { display: block; margin-top: 20px; }
.fld > span {
  display: block; margin-bottom: 8px;
  font-family: var(--mono); font-size: 9px; letter-spacing: .15em;
  text-transform: uppercase; color: var(--faint);
}
.fld input, .fld textarea {
  width: 100%; padding: 13px 15px; border-radius: 3px;
  background: rgba(7,12,23,.6); border: 1px solid var(--line-2);
  font-size: 15px; resize: vertical;
  transition: border-color .3s, background .3s;
}
.fld input::placeholder, .fld textarea::placeholder { color: var(--faint); opacity: .7; }
.fld input:focus, .fld textarea:focus { border-color: var(--ochre); background: rgba(7,12,23,.85); outline: none; }
.chk { display: flex; gap: 11px; margin-top: 20px; align-items: flex-start; font-size: 13px; color: var(--faint); line-height: 1.6; cursor: pointer; }
.chk input { width: 17px; height: 17px; margin-top: 2px; flex: none; accent-color: var(--ochre); cursor: pointer; }
.chk a { color: var(--dim); border-bottom: 1px solid var(--line-2); }
.chk a:hover { color: var(--ochre-hi); }
.form .btn { margin-top: 24px; }
.form__st { margin-top: 14px; min-height: 20px; font-size: 13.5px; color: var(--ochre-hi); }
.form.sent .fld, .form.sent .chk, .form.sent .btn { display: none; }

/* ═══════════════════════════════════════════
   ПОДВАЛ
   ═══════════════════════════════════════════ */
.foot {
  padding-left: var(--rail);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(5,8,16,.7));
}
.foot__in {
  max-width: var(--wrap); margin-inline: auto;
  padding: clamp(44px, 6vw, 78px) var(--pad) clamp(30px, 4vw, 48px);
  display: grid; gap: clamp(28px, 4vw, 56px);
}
@media (min-width: 800px) { .foot__in { grid-template-columns: 1.7fr 1fr 1fr; }
  .foot__last { text-align: right; } }
.foot__brand p { margin-top: 16px; max-width: 44ch; font-size: 14px; line-height: 1.72; color: var(--faint); }
.foot h4 {
  font-family: var(--mono); font-size: 9px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--brass); font-weight: 500;
}
.foot ul { margin-top: 16px; 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__bar {
  max-width: var(--wrap); margin-inline: auto;
  padding: 20px var(--pad) calc(28px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 8px 26px; justify-content: space-between;
  font-family: var(--mono); font-size: 9px; letter-spacing: .13em;
  text-transform: uppercase; color: var(--faint);
}
.foot__by b { color: var(--bone); font-weight: 500; letter-spacing: .13em; }
.foot__bar a:hover, .foot__bar a:hover b { color: var(--ochre-hi); }

/* ═══════════════════════════════════════════
   ГЛАВЫ-СТРАНИЦЫ
   ═══════════════════════════════════════════ */
.chap { position: relative; }
.chap__stage {
  position: sticky; top: 0; min-height: 100svh;
  display: grid; place-items: center; text-align: center;
  padding: 110px var(--pad) 80px; padding-left: calc(var(--rail) + var(--pad));
  overflow: hidden;
}
.chap__word {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  font-family: var(--display); font-weight: 600;
  font-size: clamp(64px, 17vw, 220px); line-height: .82; letter-spacing: -.05em;
  color: rgba(233,229,219,.06); white-space: nowrap; pointer-events: none; user-select: none;
}
.chap__in { position: relative; z-index: 2; max-width: min(100%, 26ch); }
.chap__no { font-family: var(--mono); font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); }
.crumb { margin-top: 10px; font-family: var(--mono); font-size: 9px; letter-spacing: .14em; color: var(--faint); }
.crumb a:hover { color: var(--ochre-hi); }
.chap__t {
  margin-top: 22px; font-family: var(--display); font-weight: 600;
  font-size: clamp(34px, 5.6vw, 96px); line-height: 1.02; letter-spacing: -.034em;
  text-wrap: balance;
}
.chap__lead { margin-top: 24px; max-width: 46ch; margin-inline: auto; font-size: clamp(16px, 1.1vw, 23px); line-height: 1.72; color: var(--dim); text-wrap: pretty; }

.prose { display: grid; gap: clamp(30px, 4vw, 60px); }
@media (min-width: 940px) { .prose { grid-template-columns: clamp(250px, 20vw, 340px) 1fr; align-items: start; } }
.prose__aside { position: sticky; top: 100px; }
@media (max-width: 939px) { .prose__aside { position: relative; top: 0; } }
.prose__toc { margin-top: 18px; display: grid; gap: 10px; }
.prose__toc a { font-size: 14px; color: var(--faint); transition: color .3s; }
.prose__toc a:hover { color: var(--ochre-hi); }
.prose__body h2 {
  margin-top: clamp(34px, 4vw, 62px);
  font-family: var(--display); font-weight: 600;
  font-size: clamp(22px, 2.2vw, 42px); letter-spacing: -.026em; text-wrap: balance;
}
.prose__body h2:first-child { margin-top: 0; }
.prose__body p { margin-top: 16px; font-size: clamp(15px, .95vw, 20px); line-height: 1.74; color: var(--dim); max-width: 72ch; text-wrap: pretty; }
.prose__body ul { margin-top: 16px; display: grid; gap: 12px; max-width: 70ch; }
.prose__body li { position: relative; padding-left: 28px; font-size: clamp(15px, .9vw, 19px); line-height: 1.7; color: var(--dim); }
.prose__body li::before { content: ""; position: absolute; left: 0; top: 11px; width: 13px; height: 1px; background: var(--brass); }
.prose__body strong { color: var(--bone); font-weight: 500; }

/* ═══════════════════════════════════════════
   ДОСТУПНОСТЬ: без анимации — обычная вёрстка
   ═══════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .motes, .veil__canvas, .surflight { display: none; }
  .rv, [data-rise], [data-lines] p { opacity: 1 !important; transform: none !important; filter: none !important; }
  .hero__title .ln > span { transform: none !important; }
  .hero__lead, .hero__acts { opacity: 1 !important; transform: none !important; }
  .hero__figure { clip-path: none !important; }
  .hero__cue s { animation: none; }
  .dive { height: auto !important; }
  .dive__stage { position: relative; height: auto; display: block; padding-block: 60px; }
  .dive__intro { position: relative; inset: auto; opacity: 1 !important; transform: none !important; filter: none !important; margin-bottom: 60px; }
  .layer {
    position: relative; opacity: 1 !important; transform: none !important; filter: none !important;
    width: 100%; margin-bottom: 64px;
  }
  .layer__word { display: none; }
  .veil { height: auto !important; }
  .veil__stage { position: relative; height: auto; padding-block: 70px; }
  .veil__line { opacity: 1 !important; transform: none !important; filter: none !important; }
  .card { position: relative; opacity: 1; pointer-events: auto; transform: none; filter: none; margin-bottom: 34px; }
  [data-fly], [data-headline] i { opacity: 1 !important; transform: none !important; filter: none !important; }
  .tunnel { height: auto !important; }
  .tunnel__stage { position: relative; height: auto; display: block; padding-block: 60px; perspective: none; }
  .tunnel__intro { position: relative; inset: auto; opacity: 1 !important; transform: none !important; filter: none !important; }
  .tunnel__cards { display: grid; gap: 18px; margin-top: 34px; }
  .tcard { grid-area: auto; opacity: 1 !important; transform: none !important; filter: none !important; box-shadow: none; }
  .tunnel__rings, .tunnel__bar { display: none; }
  [data-side] { opacity: 1 !important; transform: none !important; }
  .veil--cta { height: auto !important; }
  .veil--cta .veil__stage { position: relative; height: auto; padding-block: 70px; }
  .veil__kick, .veil__act { opacity: 1 !important; transform: none !important; filter: none !important; }
  .works__fig img, .who__fig img { transform: none !important; }
  .card__no, .card__t, .card__x { animation: none !important; }
  .quiz__acts { display: none; }
  .quiz__done { display: block !important; }
  .quiz__done[hidden] { display: block !important; }
  .quiz__score { display: none; }
}

.h-sec--c { max-width: 24ch; margin-inline: auto; text-align: center; }

/* ── заголовок собирается из половин ── */
[data-headline] { overflow: visible; }
[data-headline] i { display: inline-block; font-style: normal; will-change: transform, opacity; }

/* ── форма: пометка «не обязательно» ── */
.fld > span u { text-decoration: none; float: right; color: rgba(90,101,128,.72); letter-spacing: .1em; }

/* ═══════════════════════════════════════════
   БЫСТРАЯ ЗАЯВКА
   Окно вместо прыжка в подвал: контакт берётся
   там, где человек нажал.
   ═══════════════════════════════════════════ */
.lead { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 18px; }
.lead[hidden] { display: none; }
.lead__veil {
  position: absolute; inset: 0; background: rgba(4,8,16,.78);
  backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px);
  opacity: 0; transition: opacity .4s var(--ease);
}
.lead.is-on .lead__veil { opacity: 1; }
.lead__box {
  position: relative; width: min(460px, 100%);
  max-height: calc(100svh - 36px); overflow-y: auto; overscroll-behavior: contain;
  border: 1px solid var(--line-2); border-radius: 5px;
  background: linear-gradient(180deg, #131e34, #0a1120);
  box-shadow: 0 50px 110px -40px rgba(0,0,0,.95);
  padding: clamp(24px, 4.4vw, 38px);
  opacity: 0; transform: translate3d(0,22px,0) scale(.975);
  transition: opacity .5s var(--ease), transform .6s var(--ease-sp);
}
.lead.is-on .lead__box { opacity: 1; transform: none; }
.lead__x {
  position: absolute; top: 12px; right: 12px; width: 34px; height: 34px;
  display: grid; place-items: center; border-radius: 3px;
  color: var(--faint); transition: color .3s, background .3s;
}
.lead__x svg { width: 12px; height: 12px; }
.lead__x:hover { color: var(--bone); background: var(--glass); }

.lead__kick {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: clamp(8.5px, 2.2vw, 10px);
  letter-spacing: .15em; text-transform: uppercase; color: var(--ochre);
  white-space: nowrap;
}
.lead__kick svg { width: 10px; height: 12px; flex: none; }
.lead__t {
  margin-top: 12px; font-family: var(--display); font-weight: 600;
  font-size: clamp(23px, 5.4vw, 30px); letter-spacing: -.026em; line-height: 1.1;
}
.lead__s { margin-top: 10px; font-size: 14px; line-height: 1.6; color: var(--dim); }
.lead__form { margin-top: 6px; }
.lead__marks {
  margin-top: 18px; padding: 12px 14px; border-radius: 3px;
  border: 1px solid var(--line); background: rgba(216,154,42,.06);
  font-size: 13px; line-height: 1.6; color: var(--dim);
}
.lead__marks[hidden] { display: none; }
.lead__marks b { color: var(--ochre); font-weight: 500; }
/* ловушка для ботов: человек её не видит и не заполняет */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.lead__done { text-align: center; animation: cIn .7s var(--ease-sp) both; }
.lead__done[hidden] { display: none; }
.lead__tick {
  display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 16px;
  border-radius: 50%; border: 1px solid rgba(216,154,42,.42);
  background: rgba(216,154,42,.1); color: var(--ochre-hi);
}
.lead__tick svg { width: 30px; height: 30px; }
.lead__next {
  margin: 22px 0 0; padding: 0; list-style: none; text-align: left;
  border-top: 1px solid var(--line);
}
.lead__next li {
  padding: 13px 0; border-bottom: 1px solid var(--line);
  font-size: 13.5px; line-height: 1.6; color: var(--dim);
}
.lead__next b {
  display: block; margin-bottom: 3px; font-family: var(--mono); font-weight: 400;
  font-size: 9px; letter-spacing: .17em; text-transform: uppercase; color: var(--brass);
}
.lead__acts { margin-top: 22px; display: grid; gap: 12px; justify-items: center; }
.lead__acts .btn { width: 100%; }

@media (prefers-reduced-motion: reduce) {
  .lead__veil, .lead__box { transition: none; opacity: 1 !important; transform: none !important; }
}
