/* =====================================================================
   RAGIMOFF · v7 «XRONİKA»  — главная
   Тёмный чернильный по умолчанию. Один вертикальный хребет 1px по центру.
   Разделы ложатся друг на друга как листы (sticky-стопка).
   Канон: Cormorant Garamond + Montserrat.
   ===================================================================== */

/* ─────────────────────────── ТОКЕНЫ ─────────────────────────── */
:root {
  --ink:        #070C15;
  --ink-2:      #0B1220;
  --ink-3:      #101B2E;
  --paper:      #F1ECE3;
  --paper-2:    #DED7CB;
  --mute:       #8B93A3;
  --gold:       #C8A96A;
  --gold-2:     #E4CE9C;
  --line:       rgba(241,236,227,.14);
  --line-2:     rgba(241,236,227,.07);
  --line-strong:rgba(241,236,227,.28);
  --gold-line:  rgba(200,169,106,.42);

  --f-d: "Cormorant Garamond", "Times New Roman", serif;
  --f-s: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --w: 1440px;
  --gx: clamp(20px, 5.2vw, 96px);
  --sec-y: clamp(84px, 11vh, 168px);

  --e: cubic-bezier(.625,.05,0,1);
  --e2: cubic-bezier(.22,1,.36,1);

  --r: 3px;
}

/* светлая тема */
html[data-theme="light"] {
  --ink:        #F4F0E8;
  --ink-2:      #EAE4D9;
  --ink-3:      #DED6C7;
  --paper:      #12161E;
  --paper-2:    #2A303B;
  --mute:       #6B7280;
  --gold:       #8A6A2A;
  --gold-2:     #6E5320;
  --line:       rgba(18,22,30,.16);
  --line-2:     rgba(18,22,30,.08);
  --line-strong:rgba(18,22,30,.34);
  --gold-line:  rgba(138,106,42,.46);
}

/* ─────────────────────────── БАЗА ─────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-s);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color .5s var(--e), color .5s var(--e);
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-d); font-weight: 300; margin: 0; line-height: .98; letter-spacing: -.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: fixed; left: 12px; top: -100px; z-index: 200;
  background: var(--paper); color: var(--ink);
  padding: 12px 20px; font-size: 13px; letter-spacing: .06em;
  transition: top .2s;
}
.skip:focus { top: 12px; }

/* утилиты */
.wrap { width: 100%; max-width: var(--w); margin-inline: auto; padding-inline: var(--gx); }
.mono {
  font-family: var(--f-s); font-size: 11px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--mute);
}
.gold { color: var(--gold); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ─────────────── хребет: вертикальная линия по центру ─────────────── */
.spine {
  position: fixed; inset: 0 auto; left: 50%; top: 0;
  width: 1px; height: 100%;
  background: var(--line-2);
  z-index: 0; pointer-events: none;
}
.spine::after {
  content: ""; position: absolute; inset: 0 0 auto; height: 100%;
  background: linear-gradient(180deg, var(--gold-line), transparent 70%);
  transform-origin: top; transform: scaleY(var(--sp, 0));
  transition: transform .1s linear;
}
.spine i {
  position: absolute; left: -2px; width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold); transform: translateY(-50%);
}

/* ─────────────────────────── ПРОГРЕСС ─────────────────────────── */
.prog {
  position: fixed; right: 18px; top: 25vh; width: 1px; height: 50vh;
  background: var(--line); z-index: 60;
}
.prog i { display: block; height: 100%; background: var(--gold); transform-origin: top; transform: scaleY(0); }

/* ─────────────────────────── ШАПКА ─────────────────────────── */
.hd {
  position: fixed; inset: 0 0 auto; z-index: 90;
  border-bottom: 1px solid transparent;
  transition: background-color .45s var(--e), border-color .45s var(--e), backdrop-filter .45s;
}
.hd.is-stuck {
  background: color-mix(in srgb, var(--ink) 84%, transparent);
  border-bottom-color: var(--line);
  backdrop-filter: saturate(140%) blur(14px);
}
.hd__in {
  max-width: var(--w); margin-inline: auto; padding: 0 var(--gx);
  height: 78px; display: flex; align-items: center; gap: 22px;
}
.brand { display: flex; flex-direction: column; line-height: 1; margin-right: 8px; }
.brand b { font-family: var(--f-s); font-size: 17px; font-weight: 700; letter-spacing: .26em; }
.brand b em { font-style: normal; color: var(--gold); }
.brand span { font-size: 9px; letter-spacing: .3em; text-transform: uppercase; color: var(--mute); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a, .nav__b {
  position: relative; display: inline-flex; align-items: center; height: 40px;
  padding: 0 13px; font-size: 12px; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; color: var(--paper-2);
  transition: color .3s;
}
.nav > a::after, .nav__b::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 6px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--e);
}
.nav > a:hover, .nav__b:hover, .nav a:focus-visible { color: var(--paper); }
.nav > a:hover::after, .nav__b:hover::after { transform: scaleX(1); }

.nav__d { position: relative; }
.nav__p {
  position: absolute; top: 100%; left: 0; min-width: 254px;
  background: var(--ink-2); border: 1px solid var(--line);
  padding: 10px 0; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: all .38s var(--e);
  box-shadow: 0 26px 60px rgba(0,0,0,.44);
}
.nav__d:hover .nav__p, .nav__d:focus-within .nav__p { opacity: 1; visibility: visible; transform: none; }
.nav__p a {
  display: block; padding: 9px 20px; font-size: 12.5px; letter-spacing: .05em;
  color: var(--paper-2); transition: color .25s, background-color .25s;
}
.nav__p a:hover { color: var(--paper); background: var(--line-2); }

.cta {
  display: inline-flex; align-items: center; gap: 10px;
  height: 40px; padding: 0 20px; margin-left: 8px;
  border: 1px solid var(--gold-line); border-radius: var(--r);
  font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-2); position: relative; overflow: hidden;
  transition: color .4s var(--e), border-color .4s;
}
.cta::before {
  content: ""; position: absolute; inset: 0; background: var(--gold);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .5s var(--e);
}
.cta span { position: relative; }
.cta:hover { color: var(--ink); border-color: var(--gold); }
.cta:hover::before { transform: scaleY(1); }

.tools { display: flex; gap: 4px; margin-left: 6px; }
.tool {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: var(--r);
  color: var(--paper-2); transition: border-color .35s, color .35s, background-color .35s;
}
.tool:hover { border-color: var(--line-strong); color: var(--paper); }
.tool svg { width: 17px; height: 17px; }
.tool svg.i-moon { display: none; }
html[data-theme="dark"] .tool svg.i-moon { display: block; }
html[data-theme="dark"] .tool svg.i-sun { display: none; }
html.no-mo .tool svg.i-pause { display: none; }
html:not(.no-mo) .tool svg.i-play { display: none; }

.burger { display: none; }

/* ─────────────────────────── ПОЛНОЭКРАННОЕ МЕНЮ ─────────────────────────── */
.menu {
  position: fixed; inset: 0; z-index: 120;
  background: var(--ink-2);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--e);
  overflow: hidden;
}
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu__stage {
  position: absolute; inset: 0 0 0 auto; width: 46%;
  background-position: center; background-size: cover; background-repeat: no-repeat;
  opacity: .22; filter: saturate(.55) contrast(1.06);
  transition: opacity .6s var(--e);
}
.menu__stage.is-pop { animation: mp .9s var(--e2); }
@keyframes mp { from { opacity: .05; transform: scale(1.04); } to { opacity: .22; transform: none; } }
.menu__grad { position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink-2) 34%, transparent 92%); }
.menu__in {
  position: relative; z-index: 2; height: 100%;
  max-width: var(--w); margin-inline: auto; padding: 26px var(--gx) 42px;
  display: flex; flex-direction: column;
}
.menu__top { display: flex; align-items: center; height: 62px; }
.menu__top .mono { margin-left: auto; }
.menu__close {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: var(--r);
  transition: border-color .3s, transform .5s var(--e);
}
.menu__close:hover { border-color: var(--gold); transform: rotate(90deg); }
.menu__close svg { width: 18px; height: 18px; }
.menu__grid { margin-top: auto; margin-bottom: auto; display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; }
.menu__list li { overflow: hidden; }
.menu__list a {
  display: flex; align-items: baseline; gap: 18px;
  font-family: var(--f-d); font-size: clamp(30px, 5.4vw, 68px);
  font-weight: 300; line-height: 1.22; letter-spacing: -.02em;
  color: var(--paper-2);
  transform: translateY(110%);
  transition: color .4s, transform .8s var(--e), padding-left .6s var(--e);
}
.menu.is-open .menu__list a { transform: none; }
.menu__list a:nth-child(1) { }
.menu.is-open .menu__list li:nth-child(1) a { transition-delay: .10s; }
.menu.is-open .menu__list li:nth-child(2) a { transition-delay: .16s; }
.menu.is-open .menu__list li:nth-child(3) a { transition-delay: .22s; }
.menu.is-open .menu__list li:nth-child(4) a { transition-delay: .28s; }
.menu.is-open .menu__list li:nth-child(5) a { transition-delay: .34s; }
.menu.is-open .menu__list li:nth-child(6) a { transition-delay: .40s; }
.menu.is-open .menu__list li:nth-child(7) a { transition-delay: .46s; }
.menu__list a:hover { color: var(--paper); padding-left: 14px; }
.menu__list em {
  font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .2em;
  color: var(--gold); flex: 0 0 auto; transform: translateY(-.4em);
}
.menu__side { display: flex; flex-direction: column; gap: 30px; align-self: end; padding-bottom: 8px; }
.menu__side h4 { font-family: var(--f-s); font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--mute); margin-bottom: 12px; }
.menu__side a { display: block; padding: 5px 0; font-size: 14px; color: var(--paper-2); transition: color .3s, transform .4s var(--e); }
.menu__side a:hover { color: var(--gold); transform: translateX(5px); }
.menu__foot { display: flex; gap: 22px; flex-wrap: wrap; font-size: 12px; color: var(--mute); }
.menu__foot a:hover { color: var(--gold); }
html.menu-lock { overflow: hidden; }

/* ─────────────────────────── СЕКЦИИ ─────────────────────────── */
.sec { position: relative; z-index: 1; }
.stack > .sheet { position: sticky; top: 0; }
.sheet {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-block: var(--sec-y);
  background: var(--ink);
  border-radius: 26px 26px 0 0;
  box-shadow: 0 -32px 70px -30px rgba(0,0,0,.6);
  overflow: hidden;
}
html[data-theme="light"] .sheet { box-shadow: 0 -32px 70px -30px rgba(0,0,0,.16); }
.sheet--flat { border-radius: 0; box-shadow: none; min-height: auto; }

.head { display: flex; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 68px); }
.kick { display: flex; align-items: center; gap: 14px; }
.kick .n {
  font-size: 11px; font-weight: 700; letter-spacing: .18em; color: var(--gold);
  border: 1px solid var(--gold-line); border-radius: 999px; padding: 3px 10px;
}
.kick .t { font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--mute); }
.kick .ln { width: clamp(28px, 6vw, 90px); height: 1px; background: var(--line); }
h2.t {
  font-size: clamp(34px, 5.6vw, 82px);
  letter-spacing: -.03em; margin-top: 20px;
}
h2.t em { font-style: italic; color: var(--gold); }
.lead { font-size: clamp(15px, 1.3vw, 17px); color: var(--mute); max-width: 46ch; margin-left: auto; }

/* ─────────────────────────── ГЕРОЙ ─────────────────────────── */
.hero {
  position: relative; z-index: 1;
  min-height: 100svh; display: flex; align-items: center;
  padding: 128px 0 70px;
}
.hero__in {
  width: 100%; max-width: var(--w); margin-inline: auto; padding-inline: var(--gx);
  display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(30px, 5vw, 76px); align-items: center;
}
.hero__kick { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.hero__kick .ln { width: clamp(30px, 7vw, 84px); height: 1px; background: var(--gold-line); }
.hero h1 {
  font-size: clamp(52px, 10.4vw, 168px);
  line-height: .86; letter-spacing: -.045em;
}
.hero h1 span { display: block; overflow: hidden; }
.hero h1 i { display: block; font-style: normal; }
.hero h1 em { font-style: italic; color: var(--gold); }
html.mo .hero h1 i { transform: translateY(110%); transition: transform 1.05s var(--e); }
html.js-ready .hero h1 i { }
html.mo .hero.is-in h1 i { transform: none; }
html.mo .hero h1 span:nth-child(2) i { transition-delay: .1s; }
.hero__sub {
  margin-top: 30px; max-width: 52ch;
  font-size: clamp(14.5px, 1.25vw, 17.5px); line-height: 1.72; color: var(--paper-2);
}
.hero__meta { display: flex; gap: 30px; flex-wrap: wrap; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero__meta div { display: flex; flex-direction: column; gap: 5px; }
.hero__meta b { font-family: var(--f-d); font-size: clamp(24px, 2.6vw, 38px); font-weight: 400; line-height: 1; }
.hero__meta small { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.hero__btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 38px; }

.btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 50px;
  padding: 0 26px; border-radius: var(--r);
  font-size: 11.5px; font-weight: 600; letter-spacing: .17em; text-transform: uppercase;
  border: 1px solid var(--line-strong); position: relative; overflow: hidden;
  transition: color .4s var(--e), border-color .4s;
}
.btn span { position: relative; z-index: 1; }
.btn::before {
  content: ""; position: absolute; inset: 0; background: var(--paper);
  transform: scaleY(0); transform-origin: bottom; transition: transform .52s var(--e);
}
.btn:hover { color: var(--ink); border-color: var(--paper); }
.btn:hover::before { transform: scaleY(1); }
.btn--solid { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn--solid::before { background: var(--paper); }
.btn--solid:hover { color: var(--ink); border-color: var(--paper); }
.btn svg { width: 15px; height: 15px; position: relative; z-index: 1; }

.hero__fig { position: relative; }
.hero__frame {
  position: relative; overflow: hidden; border: 1px solid var(--line);
  background: var(--ink-2);
}
.hero__frame img {
  width: 100%; height: auto; object-fit: cover; object-position: 50% 22%;
  transform: translate3d(0, var(--plx, 0px), 0) scale(1.045);
  filter: contrast(1.04) saturate(.94);
}
.hero__frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 42%, color-mix(in srgb, var(--ink) 78%, transparent));
}
.hero__figcap {
  position: absolute; left: 0; bottom: 0; z-index: 2; padding: 22px 24px;
  display: flex; flex-direction: column; gap: 5px;
}
.hero__figcap b { font-family: var(--f-d); font-size: 24px; font-weight: 400; }
.hero__figcap small { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.hero__mark {
  position: absolute; top: -14px; right: -14px;
  width: 62px; height: 62px; border: 1px solid var(--gold-line); border-radius: 50%;
  display: grid; place-items: center; font-size: 10px; letter-spacing: .14em; color: var(--gold);
  background: var(--ink);
}
.hero__scroll {
  position: absolute; left: var(--gx); bottom: 30px; display: flex; align-items: center; gap: 12px;
}
.hero__scroll .bar { width: 54px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.hero__scroll .bar i { position: absolute; inset: 0; background: var(--gold); animation: sweep 2.4s var(--e) infinite; }
@keyframes sweep { 0% { transform: translateX(-100%); } 60%,100% { transform: translateX(100%); } }
html.no-mo .hero__scroll .bar i, html.no-mo .marq__track { animation: none !important; }

/* ─────────────────────────── БЕГУЩАЯ СТРОКА ─────────────────────────── */
.marq { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0; overflow: hidden; }
.marq__track { display: flex; gap: 54px; width: max-content; animation: mq 44s linear infinite; }
.marq__track span {
  display: inline-flex; align-items: center; gap: 54px;
  font-family: var(--f-d); font-size: clamp(18px, 2.1vw, 30px); font-weight: 300;
  color: var(--paper-2); white-space: nowrap;
}
.marq__track span::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex: 0 0 auto; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ─────────────────────────── ХРЕБЕТ КАРЬЕРЫ (последовательная галерея) ─────────────────────────── */
.seq { position: relative; }
.seq[data-seq] { height: calc(var(--seq-n, 12) * var(--seq-step, 46vh)); }
.seq__stage {
  position: sticky; top: 0; height: 100svh;
  display: grid; grid-template-columns: 1.06fr .94fr; align-items: center;
  gap: clamp(24px, 4vw, 60px);
  max-width: var(--w); margin-inline: auto; padding: 0 var(--gx);
  overflow: hidden;
}
.seq__field { position: relative; height: min(72svh, 620px); }
.seq__item {
  position: absolute; inset: 0;
  opacity: var(--o, 0);
  transform: translate3d(0, calc((1 - var(--o, 0)) * 34px), 0) scale(calc(.962 + var(--o, 0) * .038));
  transition: opacity .1s linear;
  pointer-events: none;
  will-change: opacity, transform;
}
.seq__item:nth-child(4n+1) { transform-origin: 50% 100%; }
.seq__figure {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  border: 1px solid var(--line); background: var(--ink-2);
}
.seq__figure img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.05); }
.seq__figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 52%, color-mix(in srgb, var(--ink) 82%, transparent));
}
.seq__tag {
  position: absolute; z-index: 2; left: 18px; bottom: 16px;
  display: flex; align-items: center; gap: 10px;
  font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--paper-2);
}
.seq__tag i { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

.seq__read { position: relative; }
.seq__yr {
  font-family: var(--f-d); font-weight: 300;
  font-size: clamp(78px, 15vw, 210px); line-height: .82; letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1px var(--line-strong);
}
.seq__yr b { -webkit-text-stroke: 0; color: var(--gold); }
.seq__txt { max-width: 46ch; margin-top: 22px; font-size: clamp(14.5px, 1.2vw, 16.5px); color: var(--paper-2); }
.seq__cap { margin-top: 14px; font-size: 12px; color: var(--mute); transition: opacity .2s; }
.seq__cap.is-out { opacity: 0; }
.seq__rail { display: flex; align-items: center; gap: 18px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.seq__num { font-family: var(--f-d); font-size: 30px; line-height: 1; color: var(--gold); }
.seq__num s { text-decoration: none; color: var(--mute); font-size: 15px; }
.seq__bar { flex: 1; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.seq__bar i { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.seq__ticks { display: flex; gap: 4px; }
.seq__ticks u { width: 14px; height: 1px; background: var(--line-strong); text-decoration: none; }

/* ─────────────────────────── ЦИФРЫ ─────────────────────────── */
.nums { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.nums > div { padding: 34px 26px 30px; border-right: 1px solid var(--line); }
.nums > div:last-child { border-right: 0; }
.nums b { display: block; font-family: var(--f-d); font-size: clamp(38px, 5vw, 74px); font-weight: 300; line-height: 1; letter-spacing: -.03em; }
.nums b s { text-decoration: none; color: var(--gold); font-size: .5em; }
.nums small { display: block; margin-top: 12px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }

/* ─────────────────────────── О СЕБЕ / САМИРА ─────────────────────────── */
.duo { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(22px, 3.4vw, 52px); }
.card {
  position: relative; border: 1px solid var(--line); background: var(--ink-2);
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .5s var(--e), transform .6s var(--e);
}
.card:hover { border-color: var(--gold-line); }
.card__fig { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.card__fig img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--e); }
.card:hover .card__fig img { transform: scale(1.035); }
.card__fig::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 46%, color-mix(in srgb, var(--ink) 76%, transparent)); }
.card__b { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card__b h3 { font-size: clamp(24px, 2.3vw, 34px); }
.card__b h3 em { font-style: italic; color: var(--gold); }
.card__b p { font-size: 14.5px; color: var(--mute); }
.card__b .more { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.card__b .more svg { width: 14px; height: 14px; transition: transform .5s var(--e); }
.card:hover .card__b .more svg { transform: translateX(6px); }
.card--tall .card__fig { aspect-ratio: 3/4; }

/* ─────────────────────────── УСЛУГИ ─────────────────────────── */
.svc { position: relative; }
.svc__list { border-top: 1px solid var(--line); }
.svc__row {
  position: relative; display: grid;
  grid-template-columns: 74px 1.25fr 1fr 52px; align-items: center;
  gap: clamp(14px, 2.6vw, 40px);
  padding: clamp(22px, 2.6vw, 34px) 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left .6s var(--e), border-color .4s;
}
.svc__row::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 100%;
  background: linear-gradient(90deg, var(--line-2), transparent);
  opacity: 0; transition: opacity .45s;
}
.svc__row:hover { padding-left: clamp(10px, 1.6vw, 22px); border-bottom-color: var(--gold-line); }
.svc__row:hover::before { opacity: 1; }
.svc__idx { font-size: 11px; font-weight: 600; letter-spacing: .18em; color: var(--mute); transition: color .4s; }
.svc__row:hover .svc__idx { color: var(--gold); }
.svc__name { font-size: clamp(24px, 3.1vw, 46px); line-height: 1.06; }
.svc__name small { display: block; font-family: var(--f-s); font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 9px; }
.svc__txt { font-size: 14px; color: var(--mute); max-width: 42ch; transition: color .4s; }
.svc__row:hover .svc__txt { color: var(--paper-2); }
.svc__go {
  width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: 50%;
  display: grid; place-items: center; justify-self: end;
  transition: transform .55s var(--e), border-color .4s, background-color .4s, color .4s;
}
.svc__go svg { width: 17px; height: 17px; }
.svc__row:hover .svc__go { transform: rotate(-45deg); background: var(--gold); border-color: var(--gold); color: var(--ink); }

.peek {
  position: absolute; left: 0; top: 0; z-index: 6; width: 290px; height: 204px;
  pointer-events: none; opacity: 0;
  transition: opacity .38s var(--e);
  will-change: transform;
}
.peek.is-on { opacity: 1; }
.peek__img {
  display: block; width: 100%; height: 100%;
  background-size: cover; background-position: center;
  border: 1px solid var(--gold-line);
  box-shadow: 0 30px 70px -24px rgba(0,0,0,.7);
  transform: translate(-50%, -50%) scale(.94);
  transition: transform .5s var(--e);
}
.peek.is-on .peek__img { transform: translate(-50%, -50%) scale(1); }
html.no-mo .peek { display: none; }

/* ─────────────────────────── КНИГА ─────────────────────────── */
.book { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(26px, 4.4vw, 70px); align-items: center; }
.book__cov { position: relative; border: 1px solid var(--line); background: var(--ink-2); padding: 8px; }
.book__cov img { width: 100%; height: auto; }
.book__b h3 { font-size: clamp(30px, 4.2vw, 62px); margin-top: 16px; }
.book__b h3 em { font-style: italic; color: var(--gold); }
.book__b p { margin-top: 20px; font-size: 15.5px; color: var(--paper-2); max-width: 52ch; }
.book__tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.book__tags span { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }

/* ─────────────────────────── БЛОГ ─────────────────────────── */
.blog { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.2vw, 30px); }
.post { position: relative; display: flex; flex-direction: column; border-top: 1px solid var(--line); padding-top: 20px; transition: transform .6s var(--e); }
.post:hover { transform: translateY(-6px); }
.post__fig { overflow: hidden; aspect-ratio: 16/10; margin-bottom: 18px; }
.post__fig img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--e); }
.post:hover .post__fig img { transform: scale(1.05); }
.post h3 { font-size: clamp(19px, 1.6vw, 25px); line-height: 1.2; }
.post .mono { margin-top: 12px; }
.post::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--e); }
.post:hover::after { transform: scaleX(1); }

/* ─────────────────────────── ЗАПИСЬ ─────────────────────────── */
.book-cta {
  border: 1px solid var(--line); background: var(--ink-2);
  padding: clamp(34px, 5vw, 74px);
  display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(24px, 4vw, 60px); align-items: center;
}
.book-cta h2 { font-size: clamp(32px, 4.6vw, 68px); }
.book-cta h2 em { font-style: italic; color: var(--gold); }
.book-cta p { margin-top: 18px; color: var(--mute); max-width: 44ch; font-size: 15px; }
.book-cta__rows { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.book-cta__rows a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--paper-2); transition: color .35s, padding-left .5s var(--e); }
.book-cta__rows a:hover { color: var(--gold); padding-left: 8px; }
.book-cta__rows svg { width: 15px; height: 15px; flex: 0 0 auto; }

/* ─────────────────────────── ПОДВАЛ ─────────────────────────── */
.ft { border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 88px) 0 40px; position: relative; z-index: 1; background: var(--ink); }
.ft__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(24px, 3vw, 46px); }
.ft h5 { font-family: var(--f-s); font-size: 10.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--mute); margin: 0 0 16px; }
.ft li a { display: block; padding: 5px 0; font-size: 13.5px; color: var(--paper-2); transition: color .3s, transform .4s var(--e); }
.ft li a:hover { color: var(--gold); transform: translateX(4px); }
.ft__brand p { margin-top: 16px; font-size: 13.5px; color: var(--mute); max-width: 34ch; }
.ft__bot { margin-top: clamp(38px, 4vw, 62px); padding-top: 24px; border-top: 1px solid var(--line); display: flex; gap: 18px; flex-wrap: wrap; align-items: center; font-size: 12px; color: var(--mute); }
.ft__bot .sp { margin-left: auto; }

/* ─────────────────────────── REVEAL ─────────────────────────── */
html.mo [data-rv] {
  opacity: 0; transform: translate3d(0, 26px, 0);
  transition: opacity .9s var(--e), transform .9s var(--e);
  transition-delay: var(--d, 0ms);
}
html.mo [data-rv].in { opacity: 1; transform: none; }
html.mo [data-rv="line"] { transform: none; }
html.mo [data-rv="line"]::after { transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--e) var(--d, 0ms); }
html.mo [data-rv="line"].in::after { transform: scaleX(1); }
html.no-mo [data-rv] { opacity: 1; transform: none; }

/* ─────────────────────────── АДАПТИВ ─────────────────────────── */
@media (max-width: 1180px) {
  .nav > a, .nav__b { padding: 0 9px; font-size: 11px; }
  .book-cta { grid-template-columns: 1fr; }
  .nums { grid-template-columns: repeat(2, 1fr); }
  .nums > div:nth-child(2) { border-right: 0; }
  .nums > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 980px) {
  .nav, .hd .cta, .hd .tools { display: none; }
  .burger {
    display: grid; place-items: center; width: 44px; height: 44px; margin-left: auto;
    border: 1px solid var(--line); border-radius: var(--r);
  }
  .burger svg { width: 20px; height: 20px; }
  html.no-mo .burger svg.i-menu-x { display: none; }
  .hero__in { grid-template-columns: 1fr; gap: 40px; }
  .hero__fig { max-width: 480px; }
  .seq__stage { grid-template-columns: 1fr; align-content: center; gap: 26px; }
  .seq__field { height: min(40svh, 340px); }
  .seq__yr { font-size: clamp(56px, 17vw, 120px); }
  .duo { grid-template-columns: 1fr; }
  .book { grid-template-columns: 1fr; }
  .blog { grid-template-columns: 1fr 1fr; }
  .ft__grid { grid-template-columns: 1fr 1fr; }
  .menu__grid { grid-template-columns: 1fr; gap: 34px; }
  .menu__stage { width: 100%; opacity: .12; }
}
@media (max-width: 720px) {
  .svc__row { grid-template-columns: 44px 1fr 46px; row-gap: 12px; }
  .svc__txt { grid-column: 2 / -1; }
  .blog { grid-template-columns: 1fr; }
  .nums { grid-template-columns: 1fr 1fr; }
  .sheet { border-radius: 18px 18px 0 0; }
  .prog { display: none; }
  .hero__figcap { padding: 16px; }
  .hero__mark { display: none; }
}

/* ─────────────── ФОЛБЭК: система просит без движения ─────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
html.no-mo .sheet { position: static; min-height: auto; border-radius: 0; box-shadow: none; }
html.no-mo .seq[data-seq] { height: auto; }
html.no-mo .seq__stage { position: static; height: auto; display: block; padding-block: 40px; }
html.no-mo .seq__field { position: static; height: auto; display: grid; gap: 22px; }
html.no-mo .seq__item { position: static; inset: auto; opacity: 1; transform: none; }
html.no-mo .seq__figure { aspect-ratio: 16/10; }
html.no-mo .seq__read { margin-top: 40px; }
html.no-mo .marq__track { animation: none; flex-wrap: wrap; width: auto; }

/* ─────────────── ВИД ПЕРЕХОДА ТЕМЫ ─────────────── */
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
  ::view-transition-old(root) { z-index: 1; }
  ::view-transition-new(root) { z-index: 2; }
}