/* ══════════════════════════════════════════════
   Архитектурное бюро АЕ
   palette: paper + ink + draft-blue + warm ochre
   ══════════════════════════════════════════════ */

:root {
  --paper: #f5f1ea;
  --paper-2: #ebe5da;
  --paper-3: #ddd4c5;
  --ink: #1a1a1a;
  --ink-2: #3a3a38;
  --ink-3: #6a6a66;
  --ink-4: #9a958c;
  --line: rgba(0, 0, 0, 0.08);
  --line-2: rgba(0, 0, 0, 0.16);
  --accent: #1f4fc4;
  --accent-warm: #c46c1f;
  --invert: #0e0e10;
  --invert-2: #1a1a1d;
  --invert-line: rgba(255, 255, 255, 0.1);

  --ff-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --ff-serif: "PT Serif", Georgia, serif;
  --ff-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1320px;
  --gutter: 32px;
  --radius-s: 8px;
  --radius-m: 18px;
  --radius-l: 28px;

  --t: 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

html {
  scroll-behavior: auto;
  background: var(--paper);
}

body {
  font-family: var(--ff-sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t), opacity var(--t);
}

button { font: inherit; cursor: pointer; border: none; background: none; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ──── Прелоадер ──── */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--paper);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
}
.preloader__inner {
  width: 280px;
  text-align: center;
}
.preloader__line {
  width: 100%;
  height: 1px;
  background: var(--line-2);
  position: relative;
  overflow: hidden;
}
.preloader__line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateX(-100%);
  animation: preload 1.4s ease-in-out infinite;
}
@keyframes preload {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.preloader__label {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  margin-top: 14px;
}

/* ──── Шапка ──── */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(245, 241, 234, 0.85);
  border-bottom: 1px solid var(--line);
  transition: background 0.5s ease, border-color 0.5s ease, transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.5s ease;
}
.topbar.is-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}
@supports (backdrop-filter: blur(10px)) {
  .topbar { backdrop-filter: blur(14px) saturate(1.1); }
}
.topbar__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--ff-serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
}
.logo__mark {
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 700;
  font-size: 28px;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.logo__name {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 500;
}
.topnav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
}
.topnav a:hover { color: var(--accent); }

.topbar__cta {
  display: inline-block;
  padding: 11px 22px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: transform var(--t), background var(--t);
}
.topbar__cta:hover { transform: translateY(-1px); background: var(--accent); }

.topbar__burger {
  display: none;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  align-items: center;
}
.topbar__burger span {
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  display: block;
}

.mobnav {
  position: fixed;
  inset: 64px 0 auto 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  display: none;
  flex-direction: column;
  padding: 18px var(--gutter);
  gap: 12px;
  z-index: 49;
}
.mobnav.is-open { display: flex; }
.mobnav a { font-size: 18px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mobnav__cta {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  border-radius: 999px;
  border: none !important;
  margin-top: 10px;
  padding: 14px 0 !important;
}

/* ──── Универсальный head секции ──── */
.sec-head {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}
.sec-head--left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}
.sec-head--inverse, .sec-head--inverse * { color: var(--paper); }
.sec-head--inverse .sec-head__eyebrow { color: var(--paper-3); }

.sec-head__eyebrow {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 18px;
}
.sec-head__title {
  font-family: var(--ff-serif);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 22px;
}
.sec-head__title em {
  font-style: italic;
  color: var(--accent);
}
.sec-head__lead {
  font-size: 18px;
  color: var(--ink-2);
  margin: 0;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform var(--t), background var(--t), color var(--t);
}
.btn--primary {
  background: var(--ink);
  color: var(--paper);
}
.btn--primary:hover { background: var(--accent); transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--paper); }

/* ══════════════════════════════════════════════
   HERO-REVEAL — hero блок (фасад + заголовок)
   ══════════════════════════════════════════════ */
.hero-reveal {
  position: relative;
  height: 300vh;
  width: 100%;
  background: #0a0a0c;
}
.hero-reveal__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 600px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-reveal__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* ── Preloader (lock scroll until video loaded) ── */
html.scroll-locked,
body.scroll-locked {
  overflow: hidden;
  height: 100vh;
  touch-action: none;
}
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #0a0a0c;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.6s ease;
}
.preloader.is-hidden {
  opacity: 0;
  pointer-events: none;
}
.preloader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  color: var(--paper);
  width: min(360px, 80vw);
}
.preloader__mark {
  font-family: var(--ff-serif);
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--paper);
}
.preloader__bar {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
  position: relative;
}
.preloader__bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: var(--paper);
  transition: width 0.25s ease-out;
}
.preloader__pct {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}
.hero-reveal__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 55%, rgba(10,10,12,0) 0%, rgba(10,10,12,0.45) 60%, rgba(10,10,12,0.85) 100%),
    linear-gradient(180deg, rgba(10,10,12,0.45) 0%, rgba(10,10,12,0) 35%, rgba(10,10,12,0) 65%, rgba(10,10,12,0.55) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero-reveal__final {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  will-change: opacity;
  pointer-events: none;
}
.hero-reveal__copy-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(10, 10, 12, 0) 0%,
    rgba(10, 10, 12, 0) 35%,
    rgba(10, 10, 12, 0.55) 75%,
    rgba(10, 10, 12, 0.85) 100%);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  will-change: opacity;
}
.hero-reveal__copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10%;
  z-index: 3;
  text-align: center;
  color: var(--paper);
  padding: 0 var(--gutter);
  max-width: 1200px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(40px);
  will-change: opacity, transform;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}
.hero-reveal__eyebrow {
  font-family: var(--ff-mono);
  font-size: clamp(11px, 0.95vw, 14px);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
}
.hero-reveal__title {
  font-family: var(--ff-serif);
  font-size: clamp(56px, 11vw, 168px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0;
  color: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.hero-reveal__line {
  display: inline-block;
}
.hero-reveal__line em {
  font-style: italic;
  color: var(--accent);
}
.hero-reveal__sub {
  font-family: var(--ff-sans);
  font-size: clamp(15px, 1.2vw, 18px);
  color: rgba(255,255,255,0.85);
  max-width: 680px;
  margin: 36px auto 0;
  line-height: 1.55;
}
.hero-reveal__hud {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero-reveal__hud-line {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,0.4);
  position: relative;
  overflow: hidden;
}
.hero-reveal__hud-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--paper);
  animation: revealScroll 2s ease-in-out infinite;
}
@keyframes revealScroll {
  0% { transform: translateY(-100%); }
  60% { transform: translateY(100%); }
  100% { transform: translateY(100%); }
}
.hero-reveal__hud-text {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

@media (max-width: 720px) {
  .hero-reveal__title { font-size: clamp(28px, 9vw, 56px); line-height: 1; }
  .hero-reveal__line { white-space: nowrap; }
  .hero-reveal__sub { font-size: 15px; margin-top: 24px; padding: 0 8px; }
  .hero-reveal__eyebrow { margin-bottom: 24px; font-size: 10px; }
  .hero-reveal__hud { bottom: 18px; }
}

/* ══════════════════════════════════════════════
   Lead band
   ══════════════════════════════════════════════ */
.leadband {
  background: var(--ink);
  color: var(--paper);
  padding-top: 36px;
  padding-bottom: 36px;
}
.leadband__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: end;
}
.leadband__row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.leadband__num {
  font-family: var(--ff-serif);
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.leadband__lab {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-3);
}

/* ══════════════════════════════════════════════
   SERVICES
   ══════════════════════════════════════════════ */
.services {
  padding-top: 140px;
  padding-bottom: 140px;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.services__grid > article:nth-child(5) { grid-column: 1 / -1; }
.service-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 38px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform var(--t), background var(--t);
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-4px);
  background: var(--paper-3);
}
.service-card__num {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--ink-3);
}
.service-card__title {
  font-family: var(--ff-serif);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  font-weight: 700;
  margin: 0;
}
.service-card__lead {
  font-size: 17px;
  color: var(--ink-2);
  margin: 0;
}
.service-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.service-card__list li {
  font-size: 15px;
  color: var(--ink-2);
  position: relative;
  padding-left: 18px;
}
.service-card__list li::before {
  content: "·";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--accent);
}
.service-card__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  border-top: 1px solid var(--line);
}
.service-card__cta span { transition: transform var(--t); }
.service-card:hover .service-card__cta span { transform: translateX(6px); }

/* ══════════════════════════════════════════════
   PORTFOLIO — horizontal pin
   ══════════════════════════════════════════════ */
.portfolio {
  background: var(--paper-2);
  padding-top: 140px;
  padding-bottom: 80px;
}
.portfolio__head {
  margin-bottom: 60px;
}
.hpin {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
.hpin__track {
  display: flex;
  gap: 40px;
  height: 100%;
  padding-left: 6vw;
  padding-right: 6vw;
  align-items: center;
  will-change: transform;
}
.case {
  flex: 0 0 min(80vw, 880px);
  height: 78vh;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
}
.case__media {
  position: relative;
  overflow: hidden;
  background: var(--paper-3);
}
.case__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}
.case:hover .case__media img { transform: scale(1.04); }
.case__meta {
  padding: 36px 38px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.case__num {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--ink-3);
}
.case__title {
  font-family: var(--ff-serif);
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0;
}
.case__city {
  font-size: 14px;
  color: var(--ink-3);
}
.case__tag {
  display: inline-block;
  align-self: flex-start;
  padding: 6px 12px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-family: var(--ff-mono);
  letter-spacing: 0.04em;
  color: var(--ink-2);
}
.case__lead {
  font-size: 15px;
  color: var(--ink-2);
  margin: 0;
}

.portfolio__more {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  color: var(--ink-3);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ══════════════════════════════════════════════
   PROCESS — sticky progress
   ══════════════════════════════════════════════ */
.process {
  background: var(--paper);
  padding-top: 140px;
}
.process__pin {
  height: 350vh;
  position: relative;
}
.process__pin > .wrap {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
}
.process__layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
  align-items: start;
  width: 100%;
}
.process__rail {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  position: relative;
}
.process__progress {
  position: relative;
  width: 2px;
  height: 380px;
  background: var(--line-2);
  flex-shrink: 0;
  margin-top: 8px;
}
.process__progress-fill {
  position: absolute;
  inset: 0 0 100% 0;
  background: var(--ink);
  transition: bottom 0.18s ease;
}
.process__steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.process__steps li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  font-size: 18px;
  color: var(--ink-3);
  font-weight: 500;
  cursor: default;
  transition: color 0.18s ease;
}
.process__steps li span {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--ink-4);
  width: 24px;
  flex-shrink: 0;
}
.process__steps li.is-active {
  color: var(--ink);
}
.process__steps li.is-active span { color: var(--accent); }

.process__stage {
  position: relative;
  min-height: 480px;
}
.process__panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}
.process__panel.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.process__num {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--ink-3);
  margin-bottom: 18px;
}
.process__title {
  font-family: var(--ff-serif);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  font-weight: 700;
  margin: 0 0 22px;
}
.process__panel p {
  font-size: 18px;
  color: var(--ink-2);
  max-width: 580px;
  margin: 0 0 22px;
}
.process__panel ul {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
  max-width: 600px;
}
.process__panel ul li {
  font-size: 15px;
  color: var(--ink-2);
  padding-left: 16px;
  position: relative;
}
.process__panel ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.process__time {
  font-family: var(--ff-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--ink);
  border: 1px solid var(--ink);
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
}

/* ══════════════════════════════════════════════
   PRICE / CALC
   ══════════════════════════════════════════════ */
.price {
  background: var(--paper-2);
  padding-top: 140px;
  padding-bottom: 140px;
}
.calc {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: stretch;
}
.calc__form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 38px 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.calc__row { display: flex; flex-direction: column; gap: 14px; }
.calc__label {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.calc__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.calc__chips button {
  padding: 10px 16px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  transition: background var(--t), color var(--t), border-color var(--t);
}
.calc__chips button:hover { background: var(--paper-3); }
.calc__chips button.is-active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.calc__row input[type="range"] {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  height: 2px;
  background: var(--line-2);
  outline: none;
}
.calc__row input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 1px var(--ink);
}
.calc__row input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
  border: 3px solid var(--paper);
}
.calc__qty input {
  width: 100%;
  padding: 14px 18px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  font-family: var(--ff-mono);
  font-size: 17px;
  color: var(--ink);
  outline: none;
}
.calc__qty input:focus { border-color: var(--ink); }

.calc__result {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-l);
  padding: 38px 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.calc__result-eyebrow {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper-3);
}
.calc__result-value {
  font-family: var(--ff-serif);
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.calc__result-time {
  font-family: var(--ff-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--paper-3);
}
.calc__cta {
  margin-top: auto;
  background: var(--paper);
  color: var(--ink);
}
.calc__cta:hover { background: var(--accent); color: var(--paper); }
.calc__note {
  font-size: 12px;
  color: var(--paper-3);
  margin: 0;
  line-height: 1.5;
}

/* ══════════════════════════════════════════════
   ABOUT
   ══════════════════════════════════════════════ */
.about {
  background: var(--paper);
  padding-top: 140px;
  padding-bottom: 80px;
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 64px;
}
.about__col p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0 0 16px;
}
.about__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about__card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.about__card--wide {
  grid-column: 1 / -1;
  background: var(--ink);
  color: var(--paper);
}
.about__card--wide .about__lab { color: var(--paper-3); }
.about__num {
  font-family: var(--ff-serif);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}
.about__lab {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.about__cities {
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.about__cities-eyebrow {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.about__cities-list {
  font-family: var(--ff-serif);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.6;
  color: var(--ink);
  letter-spacing: 0.01em;
}

/* ══════════════════════════════════════════════
   FAQ
   ══════════════════════════════════════════════ */
.faq {
  background: var(--paper);
  padding-top: 140px;
  padding-bottom: 140px;
}
.faq__list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
.faq__item {
  border-top: 1px solid var(--line);
}
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  text-align: left;
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--ff-serif);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.3;
  font-weight: 700;
  color: var(--ink);
  background: none;
  border: none;
}
.faq__q span {
  font-family: var(--ff-sans);
  font-weight: 300;
  font-size: 32px;
  line-height: 1;
  color: var(--accent);
  transition: transform var(--t);
  flex-shrink: 0;
  margin-left: 16px;
}
.faq__item.is-open .faq__q span { transform: rotate(45deg); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.faq__a p {
  font-size: 17px;
  color: var(--ink-2);
  margin: 0;
  padding-bottom: 28px;
  max-width: 680px;
}
.faq__item.is-open .faq__a { max-height: 400px; }

/* ══════════════════════════════════════════════
   CONTACT — переработан 01.05
   ══════════════════════════════════════════════ */
.contact {
  background: var(--invert);
  color: var(--paper);
  padding-top: 140px;
  padding-bottom: 140px;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(31, 79, 196, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(196, 108, 31, 0.10) 0%, transparent 55%);
  pointer-events: none;
}
.contact > .wrap { position: relative; z-index: 1; }

.contact__head {
  margin-bottom: 56px;
  max-width: 880px;
}

/* CTA row — 3 крупные кнопки */
.contact__cta-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 64px;
}
.contact-cta {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 32px 30px;
  background: var(--invert-2);
  border: 1px solid var(--invert-line);
  border-radius: var(--radius-l);
  text-decoration: none;
  color: var(--paper);
  transition: transform var(--t), border-color var(--t), background var(--t);
  min-height: 168px;
}
.contact-cta:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  background: rgba(31, 79, 196, 0.08);
}
.contact-cta__lab {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper-3);
}
.contact-cta__val {
  font-family: var(--ff-serif);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--paper);
  line-height: 1.2;
  margin-top: 4px;
}
.contact-cta__sub {
  font-size: 13px;
  color: var(--paper-3);
  margin-top: auto;
  line-height: 1.45;
}
.contact-cta__icon {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 22px;
  color: var(--paper-3);
  transition: transform var(--t), color var(--t);
  line-height: 1;
}
.contact-cta:hover .contact-cta__icon { transform: translate(3px, -3px); color: var(--accent); }
.contact-cta--accent {
  background: var(--accent);
  border-color: var(--accent);
}
.contact-cta--accent .contact-cta__lab,
.contact-cta--accent .contact-cta__sub {
  color: rgba(255, 255, 255, 0.78);
}
.contact-cta--accent .contact-cta__icon { color: rgba(255, 255, 255, 0.85); }
.contact-cta--accent:hover {
  background: #2960e0;
  border-color: #2960e0;
}
.contact-cta--accent:hover .contact-cta__icon { color: var(--paper); }

/* Offices — 2 карточки */
.contact__offices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 64px;
}
.office {
  background: var(--invert-2);
  border: 1px solid var(--invert-line);
  border-radius: var(--radius-l);
  padding: 36px 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.office__lab {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper-3);
}
.office__city-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.office__city {
  font-family: var(--ff-serif);
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--paper);
}
.office__pin {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  font-size: 0;
  box-shadow: 0 0 0 4px rgba(31, 79, 196, 0.25);
  animation: officePulse 2.4s ease-in-out infinite;
}
@keyframes officePulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(31, 79, 196, 0.25); }
  50% { box-shadow: 0 0 0 8px rgba(31, 79, 196, 0.05); }
}
.office__addr {
  font-size: 16px;
  color: var(--paper);
  margin: 0;
  line-height: 1.55;
}
.office__contacts {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 6px;
}
.office__tel {
  display: inline-block;
  font-family: var(--ff-serif);
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 700;
  color: var(--paper);
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: color var(--t);
}
.office__tel:hover { color: var(--accent); }
.office__tel--secondary {
  font-size: 16px;
  font-weight: 500;
  color: var(--paper-3);
}
.office__tel--secondary:hover { color: var(--paper); }
.office__time {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-3);
  padding-top: 4px;
}
.office__map {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--invert-line);
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper-3);
  text-decoration: none;
  transition: color var(--t);
}
.office__map:hover { color: var(--accent); }

/* Form block */
.contact__form-block {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  background: var(--invert-2);
  border: 1px solid var(--invert-line);
  border-radius: var(--radius-l);
  padding: 48px 52px;
  align-items: start;
}
.contact__form-eyebrow {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper-3);
  margin-bottom: 16px;
}
.contact__form-h3 {
  font-family: var(--ff-serif);
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 24px;
  color: var(--paper);
}
.contact__form-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact__form-bullets li {
  font-size: 14px;
  color: var(--paper-3);
  line-height: 1.55;
  display: flex;
  gap: 10px;
}
.contact__form-bullets span {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact__field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact__field label {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper-3);
}
.contact__field input,
.contact__field textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--invert-line);
  border-radius: var(--radius-s);
  padding: 14px 18px;
  color: var(--paper);
  font-family: var(--ff-sans);
  font-size: 16px;
  outline: none;
  resize: vertical;
  transition: border-color var(--t), background var(--t);
}
.contact__field input::placeholder,
.contact__field textarea::placeholder { color: rgba(255, 255, 255, 0.32); }
.contact__field input:focus,
.contact__field textarea:focus {
  border-color: var(--accent);
  background: rgba(31, 79, 196, 0.06);
}

.contact__check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--paper-3);
  margin-top: 4px;
}
.contact__check input { margin-top: 3px; }
.contact__submit { align-self: flex-start; margin-top: 8px; }
.contact__sent {
  display: none;
  padding: 14px 18px;
  background: var(--accent);
  color: var(--paper);
  border-radius: var(--radius-s);
  font-size: 14px;
}
.contact__form.is-sent .contact__sent { display: block; }
.contact__form.is-sent .contact__field,
.contact__form.is-sent .contact__field-row,
.contact__form.is-sent .contact__check,
.contact__form.is-sent .contact__submit { display: none; }

/* Responsive */
@media (max-width: 1100px) {
  .contact__cta-row { grid-template-columns: 1fr; }
  .contact__offices { grid-template-columns: 1fr; }
  .contact__form-block { grid-template-columns: 1fr; gap: 32px; padding: 36px; }
}
@media (max-width: 720px) {
  .contact { padding-top: 80px; padding-bottom: 80px; }
  .contact-cta { padding: 24px 24px 26px; min-height: auto; }
  .office { padding: 28px 26px; }
  .contact__field-row { grid-template-columns: 1fr; }
  .contact__form-block { padding: 28px 24px; }
}

/* ══════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════ */
.footer {
  background: #050507;
  color: var(--paper-3);
  padding-top: 80px;
  padding-bottom: 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--invert-line);
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__col p {
  margin: 12px 0 0;
  max-width: 320px;
  font-size: 14px;
  color: var(--paper-3);
  line-height: 1.6;
}
.footer__lab {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 8px;
}
.footer__col a { color: var(--paper); font-size: 14px; }
.footer__col a:hover { color: var(--accent); }
.logo--inverse .logo__name { color: var(--paper-3); }
.logo--inverse .logo__mark { color: var(--accent); }
.footer__bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-4);
}

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .topnav { display: none; }
  .topbar__cta { display: none; }
  .topbar__burger { display: flex; }
  .services__grid { grid-template-columns: 1fr; }
  .services__grid > article:nth-child(5) { grid-column: auto; }
  .calc { grid-template-columns: 1fr; }
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .process__layout { grid-template-columns: 1fr; gap: 32px; }
  .process__progress { display: none; }
  .process__steps { flex-direction: row; flex-wrap: wrap; gap: 14px; }
  .process__rail { gap: 0; }
  .process__panel ul { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .case { grid-template-columns: 1fr; }
  .case { flex: 0 0 min(86vw, 420px); height: auto; }
  .case__media { aspect-ratio: 4 / 3; }
}
@media (max-width: 720px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }
  .leadband__inner { grid-template-columns: 1fr 1fr; gap: 18px; }
  .hero__copy { right: 20px; bottom: 20vh; }
  .hero__hud {
    top: auto;
    bottom: 90px;
    left: 20px;
    right: auto;
    transform: none;
    padding: 14px 16px;
    gap: 10px;
  }
  .hero__progressbar { width: 140px; }
  .hero__stages-list { display: none; }
  .hero__title { font-size: 44px; }
  .hero__sub { font-size: 15px; }
  .topbar { backdrop-filter: none; }
  .service-card { padding: 28px 26px; }
  .calc__form, .calc__result { padding: 28px 26px; }
  .contact__form { padding: 28px 26px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; gap: 6px; }
}

/* ══════════════════════════════════════════════
   TEAM
   ══════════════════════════════════════════════ */
.team {
  background: var(--paper);
  padding-top: 140px;
  padding-bottom: 140px;
}
.team__hero {
  margin: 0 0 64px;
  padding: 0;
  border-radius: var(--radius-l);
  overflow: hidden;
  position: relative;
  background: var(--paper-2);
  border: 1px solid var(--line);
}
.team__hero img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 35%;
}
.team__hero-cap {
  position: absolute;
  left: 28px;
  bottom: 22px;
  background: rgba(245, 241, 234, 0.92);
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}
.team__founders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 56px;
}
.team__founder {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 32px 36px;
}
.team__photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--paper-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-serif);
  font-size: 42px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.team__photo--placeholder {
  background: linear-gradient(135deg, var(--paper-3) 0%, var(--paper-2) 100%);
  border: 1px solid var(--line);
}
.team__role {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.team__name {
  font-family: var(--ff-serif);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
}
.team__info p {
  font-size: 15px;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.55;
}
.team__roles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.team__role-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform var(--t), background var(--t);
}
.team__role-card:hover { background: var(--paper-3); transform: translateY(-2px); }
.team__role-num {
  font-family: var(--ff-serif);
  font-size: 40px;
  line-height: 1;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.team__role-title {
  font-family: var(--ff-serif);
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 4px;
}
.team__role-lead {
  font-size: 14px;
  color: var(--ink-2);
}

/* ══════════════════════════════════════════════
   SHOWCASE — фото-галерея проектов
   ══════════════════════════════════════════════ */
.showcase {
  background: var(--paper);
  padding-top: 100px;
  padding-bottom: 120px;
}
.showcase__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 16px;
}
.showcase__item {
  margin: 0;
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--line);
}
.showcase__item img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  transition: transform 1.2s ease;
}
.showcase__item:hover img { transform: scale(1.04); }
.showcase__item figcaption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  background: rgba(245, 241, 234, 0.92);
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
.showcase__item--wide {
  grid-row: span 2;
}
.showcase__item--wide img { min-height: 656px; }

@media (max-width: 1100px) {
  .showcase__grid { grid-template-columns: 1fr 1fr; }
  .showcase__item--wide { grid-row: auto; grid-column: span 2; }
  .showcase__item--wide img { min-height: 360px; }
}
@media (max-width: 720px) {
  .showcase__grid { grid-template-columns: 1fr; }
  .showcase__item--wide { grid-column: auto; }
  .showcase__item img { min-height: 240px; }
  .showcase__item--wide img { min-height: 240px; }
  .showcase { padding-top: 60px; padding-bottom: 60px; }
  .team__hero img { aspect-ratio: 4 / 3; }
  .team__hero-cap { left: 14px; bottom: 14px; padding: 8px 14px; font-size: 11px; }
}

/* ══════════════════════════════════════════════
   AWARDS / Признание
   ══════════════════════════════════════════════ */
.awards {
  background: var(--paper-2);
  padding-top: 140px;
  padding-bottom: 140px;
}
.awards__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 16px;
}
.awards__item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  transition: transform var(--t), border-color var(--t);
}
.awards__item:hover { transform: translateY(-4px); border-color: var(--accent); }
.awards__item::before {
  content: "★";
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 16px;
  color: var(--accent);
  opacity: 0.6;
}
.awards__year {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--ink-3);
}
.awards__title {
  font-family: var(--ff-serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0;
  line-height: 1.15;
}
.awards__cat {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.45;
  margin-top: auto;
}

/* ══════════════════════════════════════════════
   PRINCIPLES
   ══════════════════════════════════════════════ */
.principles {
  background: var(--paper);
  padding-top: 140px;
  padding-bottom: 140px;
}
.principles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.principle {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 38px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.principle__num {
  font-family: var(--ff-serif);
  font-size: 56px;
  line-height: 1;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.principle__title {
  font-family: var(--ff-serif);
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0;
}
.principle p {
  font-size: 15px;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.6;
}

/* ══════════════════════════════════════════════
   CLIENTS
   ══════════════════════════════════════════════ */
.clients {
  background: var(--paper-2);
  padding-top: 100px;
  padding-bottom: 100px;
}

/* ══════════════════════════════════════════════
   SEO PROSE — длинные тексты для индексации
   ══════════════════════════════════════════════ */
.seo-prose {
  background: var(--paper);
  padding-top: 100px;
  padding-bottom: 100px;
}
.seo-prose__inner {
  max-width: 880px;
}
.seo-prose__h2 {
  font-family: var(--ff-serif);
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 56px 0 22px;
  color: var(--ink);
  border-top: 1px solid var(--line);
  padding-top: 56px;
}
.seo-prose__h2:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}
.seo-prose__h3 {
  font-family: var(--ff-serif);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.2;
  font-weight: 700;
  margin: 36px 0 16px;
  color: var(--ink);
}
.seo-prose__inner p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0 0 18px;
}
.seo-prose__list,
.seo-prose__numlist {
  margin: 0 0 24px;
  padding-left: 0;
  list-style: none;
}
.seo-prose__list li,
.seo-prose__numlist li {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
  padding: 8px 0 8px 28px;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.seo-prose__list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.seo-prose__numlist {
  counter-reset: num;
}
.seo-prose__numlist li {
  counter-increment: num;
}
.seo-prose__numlist li::before {
  content: counter(num, decimal-leading-zero);
  position: absolute;
  left: 0;
  color: var(--accent);
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  top: 12px;
  font-weight: 600;
}

/* ══════════════════════════════════════════════
   HOWTO
   ══════════════════════════════════════════════ */
.howto {
  background: var(--paper-2);
  padding-top: 140px;
  padding-bottom: 140px;
}
.howto__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 18px;
}
.howto__item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.howto__num {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--accent);
}
.howto__item p {
  font-size: 15px;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.6;
}

/* ══════════════════════════════════════════════
   RESPONSIVE для новых секций
   ══════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .team__founders { grid-template-columns: 1fr; }
  .team__founder { grid-template-columns: 100px 1fr; gap: 20px; padding: 24px; }
  .team__photo { width: 100px; height: 100px; font-size: 30px; }
  .team__roles { grid-template-columns: 1fr 1fr; }
  .awards__list { grid-template-columns: 1fr 1fr; }
  .principles__grid { grid-template-columns: 1fr; }
  .howto__list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .team__roles { grid-template-columns: 1fr; }
  .awards__list { grid-template-columns: 1fr; }
  .howto__list { grid-template-columns: 1fr; }
  .seo-prose__h2 { padding-top: 36px; margin-top: 36px; }
  .seo-prose__inner p { font-size: 15px; }
  .team { padding-top: 80px; padding-bottom: 80px; }
  .awards { padding-top: 80px; padding-bottom: 80px; }
  .principles { padding-top: 80px; padding-bottom: 80px; }
  .howto { padding-top: 80px; padding-bottom: 80px; }
}

/* reveal entrance */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.is-in { opacity: 1; transform: none; }
