/* =========================================================
   Bochnev — личный консалтинг
   Система идентификации 2019:
   - фон #F6F6F8, чернила #3B4E55, тёмные экраны #161616
   - Hero New, без градиентов и зерна
   ========================================================= */

@font-face {
  font-family: "Hero New";
  src: url("./fonts/hero-new-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hero New";
  src: url("./fonts/hero-new-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hero New";
  src: url("./fonts/hero-new-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hero New";
  src: url("./fonts/hero-new-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("./fonts/source-serif-4-italic-cyrillic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("./fonts/source-serif-4-italic-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("./fonts/source-serif-4-italic-latin-ext.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- TOKENS ---------- */
:root {
  --bg: #f6f6f8;
  --bg-2: #e3e8ec;
  --paper: #ffffff;
  --ink: #3b4e55;
  --ink-2: #2d474f;
  --muted: rgba(58, 75, 83, 0.62);
  --line: #e3e8ec;
  --line-strong: #d8d8d8;

  --g-magenta: #3b4e55;
  --g-orange: #3b4e55;
  --g-yellow: #e3e8ec;
  --g-violet: #3b4e55;
  --g-plum: #2d474f;
  --g-sunset: #3b4e55;
  --dark: #161616;

  --ok: #2d474f;
  --err: #d64040;

  --f-display: "Hero New", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Source Serif 4", "Iowan Old Style", Palatino, Georgia, serif;
  --f-mono: "Hero New", "Helvetica Neue", Arial, sans-serif;

  --container: 1240px;
  --pad-x: clamp(20px, 4vw, 56px);
  --section-y: clamp(72px, 9vw, 140px);
  --radius: 12px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- RESET ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-stopped {
  overflow: clip;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-display);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked {
  overflow: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
  padding: 0;
}
ul,
ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
h1,
h2,
h3,
h4,
p,
figure,
blockquote {
  margin: 0;
}
::selection {
  background: var(--g-yellow);
  color: var(--ink);
}
:focus-visible {
  outline: 2px solid var(--g-magenta);
  outline-offset: 3px;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 3000;
  mix-blend-mode: multiply;
  opacity: 0.08;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.9 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

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

/* До разбивки SplitText заголовки скрыты, чтобы не мигали */
html.js [data-split] {
  visibility: hidden;
}
html.js [data-split].is-split {
  visibility: visible;
}
.nowrap {
  white-space: nowrap;
}
.viewer__panel:focus {
  outline: none;
}
.split-line {
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

/* ==========================================================
   NAV
   ========================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 14px var(--pad-x);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.5s var(--ease-out);
}
.nav--scrolled {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
}
.nav--hidden {
  transform: translateY(-100%);
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.nav__logo-img {
  height: 22px;
  width: auto;
}
.nav__logo-text,
.footer__logo-text {
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.nav__logo-text em,
.footer__logo-text em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.05em;
}
.nav__links {
  display: flex;
  justify-content: center;
  gap: 28px;
  font-size: 15px;
  color: var(--ink-2);
}
.nav__links a {
  position: relative;
  padding: 4px 2px;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.nav__links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav__links .nav__menu-cta {
  display: none;
}
.nav__links .nav__menu-cta::after {
  content: none;
}
.nav__burger {
  display: none;
  padding: 8px;
}
.burger-icon {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 20px;
}
.burger-icon span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav--open .burger-icon span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}
.nav--open .burger-icon span:nth-child(2) {
  opacity: 0;
}
.nav--open .burger-icon span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* ==========================================================
   BUTTONS
   ========================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}
.btn__arrow {
  display: inline-block;
  transition: transform 0.4s var(--ease-out);
}
.btn:hover .btn__arrow {
  transform: translateX(4px);
}
.btn--primary {
  background: var(--ink);
  color: var(--bg);
  padding: 17px 28px;
  box-shadow: 0 10px 24px -12px rgba(14, 13, 11, 0.45);
}
.btn--primary:hover {
  background: var(--g-plum);
  box-shadow: 0 14px 30px -12px rgba(42, 15, 79, 0.55);
}
.btn--ghost {
  color: var(--ink);
  border: 1px solid var(--line-strong);
  padding: 16px 26px;
}
.btn--ghost:hover {
  border-color: var(--ink);
}
.btn--pill {
  border: 1px solid var(--line-strong);
  padding: 10px 18px;
  font-size: 14px;
}
.btn--pill:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}
.btn--full {
  width: 100%;
  justify-content: center;
  padding: 18px 24px;
  font-size: 16px;
}

/* ==========================================================
   TYPO PRIMITIVES
   ========================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 70%, white);
  width: max-content;
  max-width: 100%;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--g-orange);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--g-orange) 25%, transparent);
  animation: pulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}
.dot--ok {
  background: var(--ok);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 22%, transparent);
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.75;
  }
}
.serif {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.grad {
  display: inline-block;
  padding: 0.15em 0.12em 0.08em 0.04em;
  margin: -0.15em -0.04em -0.08em -0.04em;
  background: var(--g-sunset);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section {
  position: relative;
  padding: var(--section-y) 0;
}
.section__head {
  max-width: 920px;
  margin-bottom: clamp(40px, 5vw, 80px);
}
.section__head--split {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 48px;
  align-items: end;
  max-width: none;
}
.section__index {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.section__title {
  font-weight: 600;
  font-size: clamp(36px, 5.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.section__title .serif {
  font-size: 1.05em;
  line-height: 1;
}
.section__lede {
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 44ch;
}
.pixel {
  width: 10px;
  height: 10px;
  display: inline-block;
  flex-shrink: 0;
  background: var(--g-yellow);
  box-shadow: 2px 0 0 var(--g-orange), 0 0 0 1px var(--ink) inset;
}

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  padding: clamp(120px, 14vw, 180px) 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero__gradient {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
}
.hero__gradient--a {
  width: 640px;
  height: 640px;
  background: radial-gradient(circle at 30% 30%, var(--g-magenta), transparent 60%);
  top: -180px;
  right: -120px;
  opacity: 0.85;
}
.hero__gradient--b {
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, var(--g-orange), transparent 62%);
  top: 120px;
  right: -220px;
  opacity: 0.6;
}
.hero__gradient--c {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, var(--g-yellow), transparent 65%);
  top: 300px;
  right: 120px;
  opacity: 0.55;
}
.hero__inner {
  position: relative;
  flex: 1;
  display: grid;
  align-content: start;
  gap: clamp(28px, 3.5vw, 40px);
}
.hero__title {
  font-weight: 600;
  font-size: clamp(46px, 9vw, 136px);
  line-height: 0.94;
  letter-spacing: -0.045em;
  max-width: 12ch;
}
.hero__title .serif {
  font-size: 1.04em;
}
.hero__sub {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 52ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero__slot {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 12.5px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__slot b {
  color: var(--ink);
  font-weight: 500;
}

/* Вращающийся бейдж */
.badge {
  position: absolute;
  right: var(--pad-x);
  bottom: clamp(24px, 4vw, 56px);
  width: clamp(132px, 13vw, 180px);
  aspect-ratio: 1;
}
.badge__ring {
  width: 100%;
  height: 100%;
  animation: spin 22s linear infinite;
}
.badge__ring text {
  font-family: var(--f-mono);
  font-size: 9.4px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  fill: var(--ink);
}
.badge__core {
  position: absolute;
  inset: 26%;
  border-radius: 50%;
  background: var(--ink);
  display: grid;
  place-items: center;
  transition: transform 0.5s var(--ease-out);
}
.badge:hover .badge__core {
  transform: scale(1.08);
}
.badge__core img {
  width: 40%;
  height: auto;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Лента клиентов */
.trust {
  margin-top: clamp(56px, 7vw, 96px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 32px;
}
.trust__label {
  flex-shrink: 0;
  padding-left: var(--pad-x);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.trust__viewport {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}
.trust__track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.trust__group {
  display: flex;
  align-items: center;
  gap: 56px;
  padding-right: 56px;
}
.trust__item {
  font-weight: 600;
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: -0.03em;
  white-space: nowrap;
  color: var(--ink-2);
}
.trust__item.serif {
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 31px);
}
.trust__sep {
  width: 8px;
  height: 8px;
  background: var(--g-orange);
  flex-shrink: 0;
}
.trust:hover .trust__track {
  animation-play-state: paused;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ==========================================================
   MANIFEST + STATS
   ========================================================== */
.manifest__text {
  font-weight: 500;
  font-size: clamp(28px, 3.9vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 24ch;
}
.manifest__text .serif {
  font-size: 1.05em;
}
.manifest__text .word {
  opacity: 0.16;
}
.stats {
  margin-top: clamp(56px, 7vw, 104px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-strong);
}
.stat {
  padding: 28px 24px 0 0;
  display: grid;
  gap: 14px;
  align-content: start;
}
.stat + .stat {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.stat__num {
  font-weight: 600;
  font-size: clamp(48px, 6vw, 92px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.stat__num sup {
  font-size: 0.45em;
  vertical-align: top;
  margin-left: 2px;
  letter-spacing: 0;
}
.stat__num .serif {
  font-weight: 400;
}
.stat__label {
  font-size: 15px;
  line-height: 1.45;
  color: var(--muted);
  max-width: 24ch;
}

/* ==========================================================
   COMPARE
   ========================================================== */
.compare {
  position: relative;
  border-radius: 24px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  padding: 10px;
  box-shadow: 0 40px 80px -50px rgba(42, 15, 79, 0.45);
}
.compare__chrome {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 8px 14px;
}
.chrome-dots {
  display: flex;
  gap: 6px;
}
.chrome-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
}
.chrome-url {
  flex: 1;
  max-width: 420px;
  margin: 0 auto;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--bg-2);
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.compare__stage {
  --pos: 50%;
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  background: #0b0b1a;
}
.compare__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  pointer-events: none;
}
.compare__img--ours {
  clip-path: inset(0 0 0 var(--pos));
}
.compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: var(--bg);
  box-shadow: 0 0 0 1px rgba(14, 13, 11, 0.15);
  pointer-events: none;
}
.compare__knob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  font-family: var(--f-mono);
  font-size: 14px;
  pointer-events: auto;
  cursor: grab;
}
.compare__tag {
  position: absolute;
  top: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.compare__tag--tpl {
  left: 16px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: blur(6px);
}
.compare__tag--ours {
  right: 16px;
  background: var(--ink);
  color: var(--bg);
}
.compare__switch {
  display: none;
}
.compare__notes {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.note {
  padding: 32px 32px 0 0;
  display: grid;
  gap: 12px;
  align-content: start;
}
.note + .note {
  padding-left: 32px;
  border-left: 1px solid var(--line);
}
.note__idx {
  font-family: var(--f-mono);
  font-size: 12.5px;
  color: var(--muted);
}
.note h3 {
  font-weight: 600;
  font-size: clamp(21px, 1.9vw, 27px);
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.note p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
}

/* ==========================================================
   PROCESS
   ========================================================== */
.process__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.process__aside {
  position: sticky;
  top: 120px;
  display: grid;
  gap: 28px;
}
.process__counter {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-top: 12px;
}
.process__num {
  position: relative;
  height: clamp(110px, 12vw, 180px);
  overflow: hidden;
  font-weight: 600;
  font-size: clamp(110px, 12vw, 180px);
  line-height: 1;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
}
.process__num-track {
  display: flex;
  flex-direction: column;
  transition: transform 0.8s var(--ease-out);
}
.process__num-track span {
  display: block;
  height: clamp(110px, 12vw, 180px);
  background: var(--g-sunset);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.process__total {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--muted);
  padding-bottom: 18px;
}
.process__bar {
  height: 2px;
  background: var(--line);
  position: relative;
  overflow: hidden;
  max-width: 320px;
}
.process__bar i {
  position: absolute;
  inset: 0;
  background: var(--g-sunset);
  transform-origin: left;
  transform: scaleX(0);
}
.process__steps {
  border-top: 1px solid var(--line-strong);
}
.pstep {
  padding: clamp(32px, 4vw, 52px) 0;
  border-bottom: 1px solid var(--line-strong);
  display: grid;
  gap: 18px;
  opacity: 0.32;
  transition: opacity 0.6s ease;
}
.pstep.is-active {
  opacity: 1;
}
.pstep__head {
  display: flex;
  align-items: baseline;
  gap: 18px;
}
.pstep__idx {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--muted);
}
.pstep h3 {
  font-weight: 600;
  font-size: clamp(26px, 2.8vw, 40px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.pstep h3 .serif {
  font-size: 1.05em;
}
.pstep__text {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 54ch;
}
.pstep__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 6px;
}
.pstep__cell {
  padding: 14px 16px;
  display: grid;
  gap: 6px;
  align-content: start;
}
.pstep__cell + .pstep__cell {
  border-left: 1px solid var(--line-strong);
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--g-yellow) 14%, transparent),
    color-mix(in srgb, var(--g-magenta) 10%, transparent)
  );
}
.pstep__label {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.pstep__cell p {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
}

/* ==========================================================
   CASES
   ========================================================== */
.cases__list {
  border-top: 1px solid var(--line-strong);
}
.case-row {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1.4fr 1fr 1.2fr 80px 48px;
  gap: 24px;
  align-items: center;
  width: 100%;
  padding: clamp(24px, 2.6vw, 36px) 0;
  border-bottom: 1px solid var(--line-strong);
  text-align: left;
  transition: padding 0.5s var(--ease-out), color 0.3s ease;
}
.case-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--paper);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.5s var(--ease-out);
  z-index: -1;
}
.case-row:hover::before {
  transform: scaleY(1);
}
.case-row__idx {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--muted);
  padding-left: 4px;
}
.case-row__name {
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 52px);
  line-height: 1;
  letter-spacing: -0.04em;
  transition: transform 0.5s var(--ease-out);
}
.case-row:hover .case-row__name {
  transform: translateX(14px);
}
.case-row__niche,
.case-row__what {
  font-size: 15px;
  line-height: 1.45;
  color: var(--muted);
}
.case-row__what {
  color: var(--ink-2);
}
.case-row__year {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--muted);
}
.case-row__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  font-size: 18px;
  transition: transform 0.5s var(--ease-out), background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.case-row:hover .case-row__arrow {
  transform: rotate(-45deg);
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}
.case-row__thumb {
  display: none;
}
.case-row__soon {
  display: inline-block;
  margin-left: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  vertical-align: middle;
  color: var(--muted);
}

/* превью за курсором */
.cursor-preview {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 900;
  width: 340px;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.6);
  box-shadow: 0 30px 60px -20px rgba(14, 13, 11, 0.45);
  border: 1px solid var(--line-strong);
}
.cursor-preview img,
.cursor-preview .mock {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* Плейсхолдер сайта, пока нет скриншота */
.mock {
  --c: var(--g-magenta);
  position: relative;
  min-height: 100%;
  background: var(--bg);
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
}
.mock__bar {
  height: 10%;
  min-height: 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8%;
  padding: 0 8%;
}
.mock__bar i {
  height: 6px;
  width: 12%;
  border-radius: 3px;
  background: var(--line-strong);
}
.mock__bar i:first-child {
  background: var(--ink);
  width: 18%;
}
.mock__hero {
  position: relative;
  padding: 10% 8%;
  display: grid;
  align-content: start;
  gap: 6%;
}
.mock__hero::after {
  content: "";
  position: absolute;
  right: -20%;
  top: -10%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--c) 55%, transparent), transparent 65%);
  filter: blur(18px);
}
.mock__title {
  position: relative;
  z-index: 1;
  font-weight: 600;
  font-size: clamp(18px, 3vw, 40px);
  line-height: 1;
  letter-spacing: -0.04em;
}
.mock__lines {
  display: grid;
  gap: 8px;
  max-width: 60%;
}
.mock__lines i {
  height: 6px;
  border-radius: 3px;
  background: var(--line-strong);
}
.mock__lines i:nth-child(2) {
  width: 80%;
}
.mock__soon {
  position: absolute;
  left: 8%;
  bottom: 8%;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Маркетинговые клиенты */
.brands {
  margin-top: clamp(64px, 8vw, 112px);
}
.brands__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 28px;
}
.brands__title {
  font-weight: 600;
  font-size: clamp(24px, 2.4vw, 34px);
  letter-spacing: -0.03em;
}
.brands__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}
.brand {
  position: relative;
  min-height: 150px;
  padding: 24px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  overflow: hidden;
}
.brand::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--g-yellow) 30%, white),
    color-mix(in srgb, var(--g-orange) 26%, white) 50%,
    color-mix(in srgb, var(--g-magenta) 26%, white)
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
}
.brand:hover::after {
  opacity: 1;
}
.brand__name {
  font-weight: 600;
  font-size: clamp(24px, 2.6vw, 36px);
  letter-spacing: -0.035em;
  line-height: 1;
}
.brand__what {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  transform: translateY(6px);
  opacity: 0.6;
  transition: transform 0.5s var(--ease-out), opacity 0.4s ease;
}
.brand:hover .brand__what {
  transform: none;
  opacity: 1;
  color: var(--ink-2);
}
.brand--more .brand__name {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
}

.cases {
  background: var(--dark);
  color: var(--bg);
}
.cases .section__index,
.cases .section__lede {
  color: color-mix(in srgb, var(--bg) 62%, transparent);
}
.cases .section__title {
  color: var(--bg);
}
.logo-wall {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.logo-wall__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 120px;
  padding: 20px 16px;
  text-align: center;
}
.logo-wall__item--result {
  flex-direction: row;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 40px);
  min-height: 148px;
  padding: 28px 32px;
  text-align: left;
  border-radius: 18px;
  background: color-mix(in srgb, var(--bg) 6%, transparent);
}
.logo-wall__item--solo {
  grid-column: 1 / -1;
}
.logo-wall__mark {
  display: grid;
  place-items: center;
  width: 100%;
  height: 72px;
}
.logo-wall__item--result .logo-wall__mark {
  width: min(220px, 36%);
  flex: none;
}
.logo-wall__item--solo .logo-wall__mark {
  width: min(320px, 42%);
}
.logo-wall__mark img {
  display: block;
  width: min(260px, 86%);
  height: 64px;
  object-fit: contain;
}
.logo-wall__item--result .logo-wall__mark img {
  width: 100%;
}
.logo-wall__img--sm {
  width: min(148px, 52%) !important;
  height: 32px !important;
}
.logo-wall__item--result .logo-wall__img--sm {
  width: min(168px, 100%) !important;
  height: 34px !important;
}
.logo-wall__name {
  font-weight: 600;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--bg);
}
.logo-wall__name--lead {
  font-size: clamp(26px, 2.4vw, 34px);
  letter-spacing: -0.04em;
}
.logo-wall__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 32px;
}
.logo-wall__item p {
  max-width: 22ch;
  margin: 0;
  font-family: var(--f-mono);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--bg) 58%, transparent);
}
.logo-wall__fig {
  display: block;
  margin-bottom: 8px;
  font-family: var(--f-display);
  font-size: clamp(32px, 2.8vw, 48px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.045em;
  text-transform: none;
  color: var(--bg);
}

/* ==========================================================
   VIEWER (просмотрщик кейсов)
   ========================================================== */
.viewer[hidden] {
  display: none;
}
.viewer {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: clamp(12px, 2vw, 28px);
}
.viewer__backdrop {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, #140923 82%, transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.viewer__panel {
  position: relative;
  width: min(1400px, 100%);
  height: min(900px, 100%);
  background: var(--bg);
  border-radius: 24px;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.6);
}
.viewer__top {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px 14px 24px;
  border-bottom: 1px solid var(--line);
}
.viewer__grab {
  display: none;
}
.viewer__count {
  font-family: var(--f-mono);
  font-size: 12.5px;
  color: var(--muted);
}
.viewer__name {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
  margin-right: auto;
}
.seg {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
}
.seg button {
  padding: 7px 14px;
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  transition: background 0.3s ease, color 0.3s ease;
}
.seg button.is-on {
  background: var(--ink);
  color: var(--bg);
}
.viewer__nav {
  display: flex;
  gap: 8px;
}
.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  font-size: 16px;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  flex-shrink: 0;
}
.icon-btn:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.viewer__body {
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 340px;
}
.viewer__stage {
  min-height: 0;
  padding: clamp(16px, 2vw, 28px);
  background: var(--bg-2);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.viewer__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(14, 13, 11, 0.12) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.5;
}
.frame {
  position: relative;
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 60px -30px rgba(42, 15, 79, 0.4);
}
.frame--desktop {
  width: 100%;
  border-radius: 14px;
  padding: 0 8px 8px;
}
.frame--desktop .compare__chrome {
  padding: 10px 6px;
}
.frame--mobile {
  width: auto;
  aspect-ratio: 390 / 820;
  max-width: 100%;
  border-radius: 44px;
  padding: 12px;
  background: var(--ink);
  border-color: var(--ink);
}
.frame--mobile .compare__chrome {
  display: none;
}
.frame__scroll {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: 8px;
  background: #fff;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.frame--mobile .frame__scroll {
  border-radius: 32px;
  scrollbar-width: none;
}
.frame--mobile .frame__scroll::-webkit-scrollbar {
  display: none;
}
.frame__scroll img {
  width: 100%;
  height: auto;
}
.frame__scroll .mock {
  height: 100%;
}
.frame__hint {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  pointer-events: none;
  transition: opacity 0.4s ease;
  white-space: nowrap;
}
.frame__hint.is-gone {
  opacity: 0;
}
.viewer__info {
  min-height: 0;
  overflow-y: auto;
  padding: 28px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.viewer__niche {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
.viewer__title {
  font-weight: 600;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.viewer__block {
  display: grid;
  gap: 6px;
}
.viewer__block p:last-child {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
}
.viewer__label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.viewer__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.viewer__tags li {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
}
.viewer__actions {
  margin-top: auto;
  display: flex;
  gap: 8px;
  align-items: center;
}
.viewer__actions .btn {
  flex: 1;
  justify-content: center;
  padding: 14px 18px;
}
.viewer__actions .btn[aria-disabled="true"] {
  opacity: 0.4;
  pointer-events: none;
}
.viewer__about {
  display: none;
}

/* ==========================================================
   STORY
   ========================================================== */
.story__track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 48px;
}
.story__line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--line);
}
.story__line i {
  position: absolute;
  inset: 0;
  background: var(--g-sunset);
  transform-origin: left;
  transform: scaleX(0);
}
.milestone {
  position: relative;
  display: grid;
  gap: 16px;
  align-content: start;
}
.milestone::before {
  content: "";
  position: absolute;
  top: -55px;
  left: 0;
  width: 14px;
  height: 14px;
  background: var(--bg);
  border: 2px solid var(--ink);
}
.milestone--now::before {
  background: var(--g-yellow);
  box-shadow: 3px 0 0 var(--g-orange);
}
.milestone__year {
  font-weight: 600;
  font-size: clamp(64px, 8vw, 128px);
  line-height: 0.88;
  letter-spacing: -0.06em;
}
.milestone--now .milestone__year {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.03em;
}
.milestone h3 {
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.milestone p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 36ch;
}

/* ==========================================================
   OFFER
   ========================================================== */
.offer {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  overflow: hidden;
  background: var(--paper);
}
.offer__main {
  position: relative;
  padding: clamp(32px, 4vw, 56px);
  background: var(--ink);
  color: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow: hidden;
  isolation: isolate;
}
.offer__main::before {
  content: "";
  position: absolute;
  right: -30%;
  bottom: -40%;
  width: 120%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--g-magenta) 60%, transparent),
    color-mix(in srgb, var(--g-orange) 30%, transparent) 40%,
    transparent 68%
  );
  filter: blur(30px);
  z-index: -1;
}
.offer__kicker {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--bg) 60%, transparent);
}
.offer__title {
  font-weight: 600;
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.offer__title .serif {
  font-size: 1.05em;
}
.offer__price {
  margin-top: auto;
  display: grid;
  gap: 8px;
  padding-top: 24px;
  border-top: 1px dashed color-mix(in srgb, var(--bg) 30%, transparent);
}
.offer__price b {
  font-weight: 600;
  font-size: clamp(26px, 2.6vw, 36px);
  letter-spacing: -0.03em;
}
.offer__price span {
  font-size: 15px;
  line-height: 1.5;
  color: color-mix(in srgb, var(--bg) 70%, transparent);
  max-width: 38ch;
}
.offer__main .btn--primary {
  background: var(--bg);
  color: var(--ink);
  align-self: flex-start;
}
.offer__main .btn--primary:hover {
  background: var(--g-yellow);
}
.offer__list {
  padding: clamp(24px, 3vw, 40px) clamp(24px, 3.5vw, 48px);
  display: grid;
}
.offer__item {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.offer__item:last-child {
  border-bottom: none;
}
.offer__item .pixel {
  margin-top: 6px;
}
.offer__item b {
  display: block;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.015em;
}
.offer__item span {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--muted);
}

/* ==========================================================
   FAQ
   ========================================================== */
.faq__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.faq__list {
  border-top: 1px solid var(--line-strong);
}
.qa {
  border-bottom: 1px solid var(--line-strong);
}
.qa__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  text-align: left;
  font-weight: 600;
  font-size: clamp(19px, 1.8vw, 24px);
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.qa__icon {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  flex-shrink: 0;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.5s var(--ease-out);
}
.qa__icon::before,
.qa__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  margin: -0.75px 0 0 -6px;
  background: currentColor;
}
.qa__icon::after {
  transform: rotate(90deg);
  transition: transform 0.4s var(--ease-out);
}
.qa.is-open .qa__icon {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
  transform: rotate(180deg);
}
.qa.is-open .qa__icon::after {
  transform: rotate(0deg);
}
.qa__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease-out);
}
.qa.is-open .qa__a {
  grid-template-rows: 1fr;
}
.qa__a > div {
  overflow: hidden;
}
.qa__a p {
  padding-bottom: 26px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 60ch;
}

/* ==========================================================
   TALKS
   ========================================================== */
.talks__grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) 1.08fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.talks__copy {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: start;
  gap: 0;
}
.talks__copy .section__title {
  -webkit-text-stroke: 12px var(--bg);
  paint-order: stroke fill;
}
.talks__copy .section__lede {
  margin: 18px 0 28px;
}
.talks__collage {
  position: relative;
  height: 540px;
}
.talks__shot {
  position: absolute;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 18px 40px -24px rgba(22, 22, 22, 0.55);
  background: var(--paper);
}
.talks__shot--stage {
  width: 54%;
  height: 44%;
  left: 16%;
  top: 16%;
  transform: rotate(-6deg);
  z-index: 4;
  object-position: 42% 40%;
}
.talks__shot--expo {
  width: 32%;
  height: 56%;
  right: 0;
  top: 0;
  transform: rotate(4deg);
  z-index: 3;
}
.talks__shot--lecture {
  width: 48%;
  height: 36%;
  left: 16%;
  bottom: 2%;
  transform: rotate(3deg);
  z-index: 2;
}
.talks__shot--qr {
  width: 44%;
  height: 34%;
  right: 0;
  bottom: 8%;
  transform: rotate(-3.5deg);
  z-index: 4;
}
.talks__shot--meta {
  width: 25%;
  height: 31%;
  left: 3%;
  top: 1%;
  transform: rotate(-8deg);
  z-index: 4;
}

/* ==========================================================
   CONTACT
   ========================================================== */
.contact {
  position: relative;
  color: var(--bg);
  overflow: hidden;
  isolation: isolate;
}
.contact__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 60% at 10% 20%, color-mix(in srgb, var(--g-magenta) 70%, black) 0%, transparent 70%),
    radial-gradient(50% 60% at 90% 10%, color-mix(in srgb, var(--g-orange) 55%, black) 0%, transparent 70%),
    radial-gradient(60% 60% at 80% 90%, color-mix(in srgb, var(--g-yellow) 45%, black) 0%, transparent 70%),
    linear-gradient(180deg, #140923 0%, #2a0f4f 100%);
}
.contact__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
}
.contact__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.section__index--light {
  color: color-mix(in srgb, var(--bg) 60%, transparent);
}
.section__title--light .serif {
  background: linear-gradient(100deg, var(--g-yellow), var(--g-orange) 50%, var(--g-magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 0.15em 0.12em 0.08em 0.04em;
  margin: -0.15em -0.04em -0.08em -0.04em;
}
.contact__lede {
  font-size: 17px;
  line-height: 1.55;
  color: color-mix(in srgb, var(--bg) 80%, transparent);
  margin-top: 24px;
  max-width: 42ch;
}
.contact__tg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 12px 16px 12px 12px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
}
.contact__tg svg {
  width: 22px;
  height: 22px;
  flex: none;
}
.contact__tg span {
  font-weight: 500;
  color: var(--muted);
}
.contact__bullets {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  font-size: 15px;
  color: color-mix(in srgb, var(--bg) 85%, transparent);
}
.contact__bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.contact__form {
  background: color-mix(in srgb, var(--bg) 96%, transparent);
  color: var(--ink);
  padding: clamp(28px, 3vw, 40px);
  border-radius: 24px;
  display: grid;
  gap: 18px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.5);
}
.field {
  display: grid;
  gap: 8px;
}
.field__label {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
.field__label em {
  font-family: var(--f-serif);
  font-style: italic;
  text-transform: none;
  letter-spacing: normal;
  font-size: 13.5px;
}
.field input,
.field textarea {
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--line-strong);
  border-radius: 0;
  padding: 10px 0;
  outline: none;
  resize: vertical;
  transition: border-color 0.2s ease;
}
.field input::placeholder,
.field textarea::placeholder {
  color: color-mix(in srgb, var(--muted) 85%, transparent);
}
.field input:focus,
.field textarea:focus {
  border-color: var(--ink);
}
.field--error input,
.field--error textarea {
  border-color: var(--err);
}
.contact__policy {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}
.contact__policy a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact__success[hidden] {
  display: none;
}
.contact__success {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--g-yellow) 50%, white);
  border: 1px solid var(--ink);
  font-size: 14.5px;
}

/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
  padding: clamp(56px, 6vw, 88px) 0 32px;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(32px, 5vw, 80px);
}
.footer__brand {
  display: grid;
  gap: 14px;
}
.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer__logo img {
  height: 28px;
  width: auto;
}
.footer__logo-text {
  font-size: 20px;
}
.footer__tag {
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 36ch;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 64px;
}
.footer__cols h4 {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.footer__cols ul {
  display: grid;
  gap: 8px;
  font-size: 15px;
}
.footer__cols a:hover {
  opacity: 0.6;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px dashed var(--line-strong);
  font-family: var(--f-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1080px) {
  .section__head--split,
  .process__grid,
  .faq__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .process__aside {
    position: static;
  }
  .process__counter,
  .process__bar {
    display: none;
  }
  .pstep {
    opacity: 1;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .stat:nth-child(3) {
    padding-left: 0;
    border-left: none;
  }
  .stat:nth-child(n + 3) {
    margin-top: 28px;
    border-top: 1px solid var(--line);
  }
  .case-row {
    grid-template-columns: 48px 1.4fr 1.2fr 48px;
  }
  .case-row__niche,
  .case-row__year {
    display: none;
  }
  .viewer__body {
    grid-template-columns: 1fr 300px;
  }
  .offer,
  .contact__inner,
  .talks__grid {
    grid-template-columns: 1fr;
  }
  .talks__collage {
    height: 460px;
    max-width: 520px;
  }
  .brands__grid,
  .logo-wall {
    grid-template-columns: 1fr 1fr;
  }
  .logo-wall__item--result {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px 18px;
  }
  .logo-wall__item--result .logo-wall__mark {
    width: min(220px, 80%);
  }
  .logo-wall__stats {
    justify-content: center;
  }
  .logo-wall__item p {
    text-align: center;
  }
}

@media (max-width: 780px) {
  .nav {
    display: flex;
    justify-content: space-between;
  }
  .nav__links,
  .nav__cta {
    display: none;
  }
  .nav__burger {
    display: inline-flex;
  }
  .nav--open {
    background: var(--bg);
    border-bottom-color: var(--line);
  }
  .nav--open .nav__links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 24px var(--pad-x) 32px;
    gap: 18px;
    font-size: 24px;
    font-weight: 500;
  }
  .nav--open .nav__menu-cta {
    display: inline-flex;
    align-self: flex-start;
    margin-top: 6px;
    padding: 14px 22px;
    font-size: 15px;
    font-weight: 500;
  }

  .hero {
    min-height: auto;
    padding-top: 120px;
  }
  .hero__gradient--a {
    width: 420px;
    height: 420px;
    right: -200px;
  }
  .hero__gradient--b {
    width: 460px;
    height: 460px;
    right: -260px;
  }
  .hero__gradient--c {
    width: 340px;
    height: 340px;
    top: 360px;
    right: -100px;
  }
  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
  .badge {
    position: relative;
    right: auto;
    bottom: auto;
    width: 116px;
    justify-self: end;
    margin-top: -8px;
  }
  .trust {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-top: 40px;
  }

  .stats {
    grid-template-columns: 1fr;
  }
  .stat,
  .stat + .stat {
    padding: 22px 0 0;
    border-left: none;
  }
  .stat:nth-child(n + 2) {
    margin-top: 22px;
    border-top: 1px solid var(--line);
  }

  .compare {
    padding: 6px;
    border-radius: 18px;
  }
  .compare__chrome {
    padding: 4px 4px 10px;
  }
  .compare__stage {
    cursor: default;
  }
  .compare__handle {
    display: none;
  }
  .compare__img--ours {
    clip-path: none;
    opacity: 0;
    transition: opacity 0.5s ease;
  }
  .compare--ours .compare__img--ours {
    opacity: 1;
  }
  .compare__tag {
    display: none;
  }
  .compare__switch {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
  }
  .compare__notes {
    grid-template-columns: 1fr;
  }
  .note,
  .note + .note {
    padding: 24px 0;
    border-left: none;
  }
  .note + .note {
    border-top: 1px solid var(--line);
  }

  .pstep__meta {
    grid-template-columns: 1fr;
  }
  .pstep__cell + .pstep__cell {
    border-left: none;
    border-top: 1px solid var(--line-strong);
  }

  .cases__list {
    border-top: none;
    display: grid;
    gap: 28px;
  }
  .case-row {
    grid-template-columns: 1fr auto;
    gap: 8px 16px;
    padding: 0 0 22px;
  }
  .case-row::before {
    display: none;
  }
  .case-row__thumb {
    display: block;
    grid-column: 1 / -1;
    aspect-ratio: 16 / 10;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    margin-bottom: 12px;
  }
  .case-row__thumb img,
  .case-row__thumb .mock {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
  }
  .case-row__idx {
    display: none;
  }
  .case-row__name {
    font-size: 32px;
  }
  .case-row:hover .case-row__name {
    transform: none;
  }
  .case-row__what {
    grid-column: 1;
    grid-row: 3;
  }
  .case-row__arrow {
    grid-column: 2;
    grid-row: 2 / 4;
    align-self: center;
  }
  .cursor-preview {
    display: none;
  }
  .brands__grid {
    grid-template-columns: 1fr 1fr;
  }
  .brand {
    min-height: 120px;
    padding: 18px;
  }
  .brand__what {
    opacity: 1;
    transform: none;
  }

  /* Просмотрщик → bottom sheet */
  .viewer {
    padding: 0;
    place-items: end stretch;
  }
  .viewer__panel {
    width: 100%;
    height: calc(100% - 36px);
    border-radius: 24px 24px 0 0;
  }
  .viewer__top {
    flex-wrap: wrap;
    gap: 10px;
    padding: 6px 14px 12px;
    touch-action: none;
  }
  .viewer__grab {
    display: block;
    flex-basis: 100%;
    height: 18px;
    position: relative;
  }
  .viewer__grab::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 50%;
    width: 44px;
    height: 5px;
    margin-left: -22px;
    border-radius: 3px;
    background: var(--line-strong);
  }
  .viewer__count,
  .viewer__nav {
    display: none;
  }
  .viewer__body {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    position: relative;
  }
  .viewer__info {
    display: none;
  }
  .viewer__about {
    display: block;
    border-bottom: 1px solid var(--line);
  }
  .viewer__about > button {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .viewer__about-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s var(--ease-out);
  }
  .viewer__about.is-open .viewer__about-body {
    grid-template-rows: 1fr;
  }
  .viewer__about-body > div {
    overflow: hidden;
  }
  .viewer__about-body .viewer__info {
    display: flex;
    border-left: none;
    padding: 4px 16px 20px;
    gap: 16px;
    overflow: visible;
  }
  .viewer__about-body .viewer__title {
    display: none;
  }
  .viewer__stage {
    padding: 12px;
  }
  .viewer__stage .seg {
    display: none;
  }
  .frame--mobile {
    border-radius: 36px;
    padding: 8px;
  }
  .frame--mobile .frame__scroll {
    border-radius: 28px;
  }

  .story__track {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 0 0 0 36px;
  }
  .story__line {
    top: 0;
    bottom: 0;
    left: 6px;
    right: auto;
    width: 2px;
    height: auto;
  }
  .story__line i {
    transform-origin: top;
    transform: scaleY(0);
  }
  .milestone::before {
    top: 8px;
    left: -36px;
  }

  .footer__inner {
    flex-direction: column;
  }
  .footer__bottom {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .brands__grid {
    grid-template-columns: 1fr;
  }
  .logo-wall__item {
    min-height: 0;
    padding: 18px 8px 16px;
  }
  .logo-wall__mark {
    height: 56px;
  }
  .logo-wall__mark img {
    width: min(160px, 92%);
    height: 48px;
  }
  .logo-wall__img--sm {
    width: min(112px, 70%) !important;
    height: 24px !important;
  }
  .viewer__top .seg button {
    padding: 7px 10px;
  }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .trust__track,
  .badge__ring {
    animation: none;
  }
  .grain {
    display: none;
  }
  .manifest__text .word {
    opacity: 1;
  }
  .fir {
    transform: none !important;
  }
}

/* ==========================================================
   BRAND BOOK — Bochnev 2019
   ========================================================== */
::selection {
  background: #e3e8ec;
  color: #161616;
}
.grain,
.hero__bg,
.hero__gradient,
.contact__bg::after,
.offer__main::before,
.format--featured::before {
  display: none !important;
}
.nav__logo-text em,
.footer__logo-text em {
  font-family: var(--f-display);
  font-style: normal;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.grad,
.section__title--light .serif,
.process__num-track span {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: inherit;
  padding: 0;
  margin: 0;
}
.btn,
.btn--pill,
.eyebrow,
.seg {
  border-radius: 10px;
}
.btn--primary {
  background: var(--ink);
  color: #fff;
  box-shadow: none;
}
.btn--primary:hover {
  background: var(--dark);
  box-shadow: none;
}
.pixel {
  width: 8px;
  height: 8px;
  background: var(--ink);
  box-shadow: none;
}
.trust__sep {
  background: var(--ink);
  border-radius: 0;
}
.nav__logo-img,
.footer__logo img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}
.footer__logo img {
  height: 52px;
}
.nav__logo-text,
.footer__logo-text {
  display: none;
}
.contact__bg {
  background: var(--dark);
}
.format--featured,
.offer__main {
  background: var(--dark);
  color: #fff;
}
.milestone--now::before {
  background: var(--ink);
  box-shadow: none;
}
.section__title--light .serif {
  color: #fff;
}
.dot,
.dot--ok {
  background: var(--ink);
  box-shadow: 0 0 0 4px rgba(59, 78, 85, 0.16);
  animation: none;
}
.badge__core {
  background: var(--ink);
}
.contact__success {
  background: #e3e8ec;
  border-color: var(--ink);
}
@media (max-width: 780px) {
  .eyebrow {
    white-space: normal;
    width: auto;
    line-height: 1.4;
  }
}

/* ==========================================================
   CONSULTING — HERO WITH PORTRAIT
   ========================================================== */
.hero--consult .hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.68fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero--consult .hero__copy {
  display: grid;
  gap: clamp(20px, 2.4vw, 28px);
  align-content: start;
}
.hero--consult .hero__title {
  max-width: none;
  font-size: clamp(34px, 4.4vw, 68px);
  line-height: 1.02;
}
.hero--consult .badge {
  display: none;
}
.hero--consult {
  min-height: auto;
  padding-top: clamp(120px, 12vw, 160px);
}
.hero__photo {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--ink);
  box-shadow: 0 40px 80px -50px rgba(42, 15, 79, 0.45);
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.04);
}
.hero__photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(14, 13, 11, 0.55));
}
.hero__photo-cap {
  position: absolute;
  left: 20px;
  bottom: 18px;
  z-index: 1;
  color: var(--bg);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero--consult .badge {
  right: calc(var(--pad-x) + 8px);
  bottom: clamp(140px, 16vw, 200px);
}

/* ==========================================================
   PATH
   ========================================================== */
.path__grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) 1.28fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.path__photo {
  position: sticky;
  top: 120px;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--ink);
}
.path__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.path__list {
  border-top: 1px solid var(--line-strong);
}
.path-item {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 28px;
  padding: clamp(28px, 3.4vw, 40px) 0;
  border-bottom: 1px solid var(--line-strong);
  align-items: start;
}
.path-item__year {
  font-weight: 600;
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-style: normal;
}
.path-item h3 {
  font-weight: 600;
  font-size: clamp(20px, 1.8vw, 26px);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 10px;
}
.path-item p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 48ch;
}
.path-item a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.path__now {
  margin-top: 28px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

/* ==========================================================
   PAINS
   ========================================================== */
.pains {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}
.pain {
  padding: clamp(28px, 3.2vw, 40px);
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  display: grid;
  gap: 16px;
  align-content: start;
  min-height: 220px;
}
.pain__idx {
  font-family: var(--f-mono);
  font-size: 12.5px;
  color: var(--muted);
}
.pain h3 {
  font-weight: 600;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.pain p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 42ch;
}
.pain:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

/* ==========================================================
   GROWTH
   ========================================================== */
.growth {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-strong);
}
.growth-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: clamp(20px, 3vw, 48px);
  padding: clamp(32px, 4vw, 52px) 0;
  border-bottom: 1px solid var(--line-strong);
  align-items: start;
}
.growth-item__copy {
  display: grid;
  grid-template-columns: minmax(0, 68ch) 220px;
  column-gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.growth-item__copy > h3,
.growth-item__copy > p {
  grid-column: 1;
}
.growth-item__fig {
  grid-column: 2;
  grid-row: 1 / span 6;
  height: 148px;
  padding: 16px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  color: var(--ink);
}
.growth-item__fig svg {
  display: block;
  width: 100%;
  height: 100%;
}
.growth-item__idx {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--muted);
  padding-top: 8px;
}
.growth-item h3 {
  font-weight: 600;
  font-size: clamp(26px, 2.8vw, 40px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.growth-item h3 .serif {
  font-size: 1.05em;
}
.growth-item__copy p {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 62ch;
}
.growth-item__copy p + p {
  margin-top: 12px;
}
.growth-item__proof {
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 20px 22px;
  background: var(--paper);
  display: grid;
  gap: 8px;
}
.growth-item__proof b {
  font-weight: 600;
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing: -0.03em;
}
.growth-item__proof span {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--muted);
}

/* ==========================================================
   FORMATS
   ========================================================== */
.formats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.format {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: var(--paper);
  padding: clamp(24px, 3vw, 36px);
  display: grid;
  gap: 18px;
  align-content: start;
  min-height: 100%;
}
.format--featured {
  grid-column: 1 / -1;
  background: var(--dark);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.format--featured::before {
  content: "";
  position: absolute;
  right: -20%;
  bottom: -50%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--g-magenta) 55%, transparent),
    color-mix(in srgb, var(--g-orange) 28%, transparent) 42%,
    transparent 68%
  );
  filter: blur(28px);
  z-index: -1;
}
.format__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.format__idx {
  font-family: var(--f-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.format--featured .format__idx {
  color: color-mix(in srgb, var(--bg) 60%, transparent);
}
.format__badge {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: var(--bg);
  white-space: nowrap;
}
.format h3 {
  font-weight: 600;
  font-size: clamp(26px, 2.6vw, 40px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.format h3 .serif {
  font-size: 1.05em;
}
.format__meta {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.format--featured .format__meta {
  color: color-mix(in srgb, var(--bg) 65%, transparent);
}
.format__grid {
  display: grid;
  gap: 14px;
}
.format__row b {
  display: block;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.format--featured .format__row b {
  color: color-mix(in srgb, var(--bg) 55%, transparent);
}
.format__row p {
  font-size: 15.5px;
  line-height: 1.5;
}
.format__price {
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px dashed var(--line-strong);
  font-weight: 600;
  font-size: clamp(22px, 2vw, 28px);
  letter-spacing: -0.03em;
}
.format--featured .format__price {
  border-top-color: color-mix(in srgb, var(--bg) 22%, transparent);
}
.format__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.format__tags li {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
}
.format--featured .format__tags li {
  border-color: color-mix(in srgb, var(--bg) 24%, transparent);
  color: color-mix(in srgb, var(--bg) 75%, transparent);
}
.format__note {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}
.format--featured .format__note {
  color: color-mix(in srgb, var(--bg) 70%, transparent);
}
.format a.btn {
  justify-self: start;
}

/* ==========================================================
   CASE CARDS
   ========================================================== */
.case-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.case-card {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: var(--paper);
  transition: transform 0.5s var(--ease-out), border-color 0.3s ease;
}
.case-card:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
}
.case-card__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.case-card__idx,
.case-card__niche {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
.case-card h3 {
  font-weight: 600;
  font-size: clamp(26px, 2.8vw, 40px);
  letter-spacing: -0.035em;
  line-height: 0.98;
}
.case-card__task,
.case-card__done {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
}
.case-card__label {
  display: block;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.case-card__metric {
  font-weight: 600;
  font-size: clamp(22px, 2.2vw, 32px);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.case-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 15px;
}
.case-card:hover .case-card__more .btn__arrow {
  transform: translateX(4px);
}

/* ==========================================================
   REVIEWS
   ========================================================== */
.reviews {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.review-note {
  border: 1px dashed var(--line-strong);
  border-radius: 20px;
  padding: clamp(24px, 3vw, 36px);
  display: grid;
  gap: 16px;
}
.review-note p {
  font-size: 17px;
  line-height: 1.55;
  max-width: 40ch;
}
.quotes {
  display: grid;
  gap: 16px;
}
.quote {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.quote:first-child {
  padding-top: 0;
}
.quote p {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.25;
  letter-spacing: -0.025em;
}
.quote footer {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
}
.quote footer b {
  display: block;
  color: var(--ink);
  font-weight: 600;
}

/* ==========================================================
   WHO
   ========================================================== */
.who {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}
.who-card {
  padding: clamp(24px, 3vw, 36px);
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  display: grid;
  gap: 16px;
  align-content: start;
}
.who-card h3 {
  font-weight: 600;
  font-size: clamp(22px, 2vw, 28px);
  letter-spacing: -0.03em;
}
.who-card ul {
  display: flex;
  flex-wrap: wrap;
  align-self: start;
  align-content: flex-start;
  gap: 8px;
}
.who-card li {
  font-size: 14.5px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--ink-2);
  white-space: nowrap;
  line-height: 1.2;
}

/* ==========================================================
   FORM CHANNELS
   ========================================================== */
.field__seg {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.seg {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.seg button {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.seg button.is-on {
  background: var(--ink);
  color: var(--bg);
}

/* ==========================================================
   INNER PAGES
   ========================================================== */
.page {
  padding: clamp(140px, 16vw, 200px) 0 var(--section-y);
}
.page__kicker {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.page__title {
  font-weight: 600;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  max-width: 16ch;
}
.page__lede {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 52ch;
}
.case-hero__cover {
  margin-top: clamp(40px, 5vw, 64px);
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--ink);
}
.case-hero__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
  margin-top: clamp(40px, 5vw, 72px);
}
.case-metric {
  padding: 28px 24px 0 0;
  display: grid;
  gap: 10px;
}
.case-metric + .case-metric {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.case-metric b {
  font-weight: 600;
  font-size: clamp(36px, 4.4vw, 64px);
  letter-spacing: -0.04em;
  line-height: 0.9;
}
.case-metric span {
  font-size: 15px;
  color: var(--muted);
  max-width: 22ch;
}
.case-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  margin-top: clamp(48px, 6vw, 88px);
}
.case-body h2 {
  font-weight: 600;
  font-size: clamp(26px, 2.6vw, 36px);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.case-body p,
.case-body li {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink-2);
}
.case-body ul {
  display: grid;
  gap: 10px;
}
.case-body li {
  padding-left: 18px;
  position: relative;
}
.case-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--g-yellow);
  box-shadow: 2px 0 0 var(--g-orange);
}
.legal {
  max-width: 72ch;
  display: grid;
  gap: 18px;
}
.legal h2 {
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-top: 16px;
}
.legal p,
.legal li {
  color: var(--ink-2);
  line-height: 1.65;
}
.nav--inner {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-bottom-color: var(--line);
}

@media (max-width: 1080px) {
  .hero--consult .hero__inner,
  .path__grid,
  .growth-item,
  .reviews,
  .case-body {
    grid-template-columns: 1fr;
  }
  .hero--consult .hero__photo,
  .path__photo {
    justify-self: center;
    width: min(420px, 100%);
  }
  .path__photo {
    position: static;
    aspect-ratio: 3 / 4;
  }
  .path-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .growth-item__idx {
    padding-top: 0;
  }
  .growth-item__copy {
    display: block;
  }
  .growth-item__copy::after {
    content: "";
    display: block;
    clear: both;
  }
  .growth-item__fig {
    float: right;
    width: 156px;
    height: 112px;
    margin: 2px 0 10px 22px;
  }
}

@media (max-width: 780px) {
  .growth-item__fig {
    width: 124px;
    height: 92px;
    margin-left: 14px;
    padding: 8px;
    border-radius: 14px;
  }
}

@media (max-width: 780px) {
  .hero--consult .badge {
    position: relative;
    right: auto;
    bottom: auto;
    justify-self: start;
  }
  .pains,
  .formats,
  .case-cards,
  .who,
  .case-metrics {
    grid-template-columns: 1fr;
  }
  .format--featured {
    grid-column: auto;
  }
  .pain,
  .who-card {
    min-height: 0;
  }
  .case-metric,
  .case-metric + .case-metric {
    padding: 22px 0 0;
    border-left: none;
  }
  .case-metric + .case-metric {
    border-top: 1px solid var(--line);
  }
}

/* Знак из брендбука — едет по полям при скролле */
.firs {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.fir {
  position: absolute;
  width: 34px;
  height: auto;
  right: 22px;
  opacity: 0.22;
  transform-origin: 50% 50%;
  will-change: transform;
}
.fir:nth-child(1) { top: 14%; width: 26px; }
.fir:nth-child(2) { top: 36%; width: 64px; opacity: 0.14; right: 12px; }
.fir:nth-child(3) { top: 62%; width: 22px; right: 36px; }
.fir:nth-child(4) { top: 82%; width: 40px; opacity: 0.16; }
@media (max-width: 1380px) {
  .firs { display: none; }
}
