/* Саша Колькина — общие стили всех страниц.
   Палитра: серый (фон в клетку), синий (акцент), тёмно-серый (текст и тёмные блоки). */
:root {
  --paper: #e9e9e9;      /* основной фон в клетку */
  --light: #f2f2f1;      /* светло-серые блоки */
  --grid: #d4d8dc;       /* линии клетки */
  --ink: #444546;        /* тёмно-серый: текст и тёмные блоки */
  --ink-soft: #6b6d70;
  --line: rgba(68,69,70,.3);
  --blue: #2370ba;       /* синий акцент */
  --blue-deep: #1b5d9d;
  --white: #ffffff;
  --display: "Oswald", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --ease: cubic-bezier(.22,.61,.24,1);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 44px 44px;
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--paper);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
[id] { scroll-margin-top: calc(84px + env(safe-area-inset-top, 0px)); }
b, strong { font-weight: 700; }

.wrap {
  max-width: calc(var(--wrap) + 64px);
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) {
  .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
}

/* фоны блоков */
.bg-light { background: var(--light); border-block: 1px solid var(--grid); }
.bg-ink { background: var(--ink); color: var(--white); }
.bg-blue { background: var(--blue); color: var(--white); }

/* черновые пометки */
.todo {
  display: inline-block; font: 500 12px/1.3 var(--body); letter-spacing: .04em;
  color: var(--blue); border: 1px dashed var(--blue); padding: 3px 8px;
}
.bg-ink .todo, .bg-blue .todo { color: var(--white); border-color: rgba(255,255,255,.7); }
.draft-bar {
  position: relative; z-index: 70; background: var(--ink); color: var(--white);
  font: 400 13px/1.4 var(--body); text-align: center; padding-block: 8px;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* ---------- шапка ---------- */
.header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(233,233,233,.9);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent; transition: border-color .4s var(--ease);
}
.header.scrolled { border-bottom-color: var(--grid); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; }
.logo { font: 600 15px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.logo span { color: var(--blue); }
.nav { display: flex; gap: 28px; }
.nav a {
  font: 500 12px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  padding-block: 8px; position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: var(--blue);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--blue); }
.burger { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--ink); }
.burger span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; transition: transform .4s var(--ease), opacity .3s; }
@media (max-width: 860px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: calc(64px + env(safe-area-inset-top, 0px)) 0 auto 0;
    flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--grid);
    padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); padding-block: 8px 20px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .45s var(--ease), opacity .35s var(--ease);
  }
  .nav a { padding-block: 14px; font-size: 14px; border-bottom: 1px solid var(--grid); }
  .nav a::after { display: none; }
  .menu-open .nav { transform: none; opacity: 1; pointer-events: auto; }
  .menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .burger span:nth-child(2) { opacity: 0; }
  .menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- общие элементы ---------- */
.section { padding-block: clamp(72px, 10vw, 128px); position: relative; }
.section:not([class*="bg-"]) + .section:not([class*="bg-"]) { padding-top: 0; }
.h2 {
  font: 500 clamp(38px, 6vw, 74px)/1 var(--display);
  text-transform: uppercase; letter-spacing: -.005em; margin: 0; text-wrap: balance;
}
.h2 .accent { color: var(--blue); display: block; }
.bg-ink .h2 .accent { color: var(--white); }
.bg-ink .h2 { color: rgba(255,255,255,.62); }
.bg-blue .h2 { color: rgba(255,255,255,.7); }
.bg-blue .h2 .accent { color: var(--white); }
.h3 { font: 500 clamp(24px, 2.6vw, 32px)/1.1 var(--display); text-transform: uppercase; margin: 0; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; max-width: 62ch; }
.prose p { margin: 0 0 16px; max-width: 64ch; }
.prose p:last-child { margin-bottom: 0; }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); }
.section-head .lead { margin: 20px 0 0; }
.marks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.marks li { display: flex; gap: 12px; align-items: baseline; }
.marks li::before { content: "▸"; color: var(--blue); flex: none; }
.bg-ink .marks li::before, .bg-blue .marks li::before { color: var(--white); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 58px; padding: 0 30px;
  font: 500 17px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  border: 2px solid var(--ink); background: transparent; color: var(--ink);
  cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease), border-color .45s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover { color: var(--white); }
.btn:hover::before { transform: none; }
.btn .arr { transition: transform .45s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--blue { background: var(--blue); border-color: var(--blue); color: var(--white); }
.btn--blue::before { background: var(--ink); }
.btn--blue:hover { border-color: var(--ink); }
.btn--light { border-color: var(--white); color: var(--white); }
.btn--light::before { background: var(--white); }
.btn--light:hover { color: var(--ink); }
.btn--white { background: var(--white); border-color: var(--white); color: var(--blue); }
.btn--white::before { background: var(--ink); }
.btn--white:hover { color: var(--white); border-color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* фото в рамке с параллаксом */
.photo { margin: 0; position: relative; }
.photo .frame { border: 2px solid var(--ink); overflow: hidden; max-width: 100%; background: var(--light); }
.photo img { width: 100%; height: 106%; object-fit: cover; will-change: transform; }
.photo .todo { position: absolute; left: 12px; top: 12px; background: var(--paper); }

/* ---------- первый экран ---------- */
.hero { padding-block: clamp(36px, 6vw, 72px) clamp(64px, 8vw, 104px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.chips { list-style: none; margin: 0 0 clamp(36px, 5vw, 64px); padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  font: 500 12px/1 var(--body); letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid rgba(68,69,70,.5); padding: 9px 12px; background: rgba(255,255,255,.5);
}
.chips li.on { background: var(--blue); border-color: var(--blue); color: var(--white); }
.hero h1 { font: 500 clamp(30px, 3.9vw, 58px)/1.04 var(--display); text-transform: uppercase; margin: 0; letter-spacing: -.01em; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero h1 .line > span { display: block; }
.hero h1 .accent { color: var(--blue); }
.hero .sub {
  margin: clamp(24px, 3vw, 36px) 0 0; font-size: clamp(18px, 1.7vw, 21px); line-height: 1.5;
  contain: inline-size; /* абзац встаёт ровно по ширине заголовка */
}
.hero .sub b { font-weight: 500; }
.hero-text { width: fit-content; max-width: 100%; }
.hero .btn-row { margin-top: clamp(28px, 4vw, 44px); }
.hero .photo .frame { aspect-ratio: 1000 / 1352; }
.hero .photo img { object-position: 50% 0%; }
.hero--page h1 { font-size: clamp(36px, 5.2vw, 76px); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 24px; font: 500 17px/1.3 var(--display); letter-spacing: .05em; text-transform: uppercase; }
.hero-facts span { color: var(--blue); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero .photo { max-width: 460px; }
}
.js .hero h1 .line > span { animation: rise 1.1s var(--ease) both; }
.js .hero h1 .line:nth-child(2) > span { animation-delay: .08s; }
.js .hero h1 .line:nth-child(3) > span { animation-delay: .16s; }
.js .hero h1 .line:nth-child(4) > span { animation-delay: .24s; }
.js .hero h1 .line:nth-child(5) > span { animation-delay: .32s; }
.js .hero .chips, .js .hero .sub, .js .hero .btn-row, .js .hero-facts { animation: fade 1s var(--ease) .35s both; }
.js .hero .photo .frame { animation: unveil 1.4s var(--ease) .1s both; }
@keyframes rise { from { transform: translateY(105%); } }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } }
@keyframes unveil { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }

/* ---------- строки-списки (запросы, «для вас, если») ---------- */
.head-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.head-row p { margin: 0; font-size: 18px; max-width: 40ch; justify-self: end; padding-bottom: .4em; }
@media (min-width: 1000px) { .head-row p.one-line { white-space: nowrap; max-width: none; } }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rows li {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px;
  padding-block: 26px; border-bottom: 1px solid var(--line);
  transition: background-color .5s var(--ease);
}
.rows li:hover { background: rgba(255,255,255,.45); }
.rows h3 { margin: 0; font: 500 clamp(22px, 2.3vw, 28px)/1.15 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.rows p { margin: 0; max-width: 58ch; }
.rows--plain li { grid-template-columns: 1fr; padding-block: 22px; }
.rows--plain li p { font-size: clamp(17px, 1.5vw, 19px); max-width: 72ch; display: flex; gap: 14px; }
.rows--plain li p::before { content: "▸"; color: var(--blue); flex: none; }
@media (max-width: 760px) {
  .head-row { grid-template-columns: 1fr; }
  .head-row p { justify-self: start; }
  .rows li { grid-template-columns: 1fr; gap: 8px; }
}

/* ---------- обо мне ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 3.6fr) minmax(0, 8.4fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.about-grid .photo { position: sticky; top: calc(96px + env(safe-area-inset-top, 0px)); }
.about-grid .photo .frame { aspect-ratio: 2 / 3; }
.about-grid .photo img { object-position: 50% 25%; }
.about .intro { margin: clamp(24px, 3vw, 36px) 0 clamp(36px, 5vw, 56px); }
.about .marks { margin-bottom: clamp(36px, 5vw, 56px); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.fact { padding: 24px 24px 26px 0; border-bottom: 1px solid var(--line); }
.fact:nth-child(odd) { border-right: 1px solid var(--line); }
.fact:nth-child(even) { padding-left: 24px; padding-right: 0; }
.fact b { display: block; font: 500 clamp(40px, 4.6vw, 60px)/1 var(--display); color: var(--blue); font-variant-numeric: tabular-nums; margin-bottom: 10px; }
.fact span { font-size: 15px; line-height: 1.45; display: block; }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-grid .photo { position: relative; top: 0; max-width: 340px; }
}
@media (max-width: 480px) {
  .facts { grid-template-columns: 1fr; }
  .fact, .fact:nth-child(even) { padding: 20px 0; }
  .fact:nth-child(odd) { border-right: 0; }
}

/* ---------- карточки-принципы ---------- */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
.tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile {
  background: var(--light); border: 2px solid var(--ink); padding: clamp(24px, 3vw, 36px);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.bg-light .tile { background: var(--paper); }
.tile:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--blue); }
.tile h3 { margin: 0 0 14px; font: 500 clamp(22px, 2.3vw, 28px)/1.12 var(--display); text-transform: uppercase; }
.tile h3 em { font-style: normal; color: var(--blue); }
.tile p { margin: 0; }
.tile p + p { margin-top: 12px; }
@media (max-width: 960px) { .tiles--3 { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .tiles { grid-template-columns: 1fr; } }

/* ---------- манифест / большая цитата ---------- */
.quote {
  margin: 0; font: 400 clamp(28px, 4.2vw, 56px)/1.12 var(--display); text-transform: uppercase; text-wrap: balance; max-width: 24ch;
}
.quote .w { display: inline-block; opacity: .25; transition: opacity .6s var(--ease); }
.quote .w.on { opacity: 1; }
.sign { margin-top: 32px; font: 500 13px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; opacity: .85; }

/* ---------- форматы на главной ---------- */
.formats-table { border-top: 1px solid var(--line); }
.ft-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 32px; padding-block: 32px; border-bottom: 1px solid var(--line); }
.ft-row > h3 { margin: 0; font: 500 clamp(24px, 2.6vw, 34px)/1.05 var(--display); text-transform: uppercase; }
.ft-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; }
.ft-item .name {
  font: 500 clamp(19px, 1.7vw, 22px)/1.25 var(--display); text-transform: uppercase; letter-spacing: .02em; text-decoration: none;
  background-image: linear-gradient(var(--blue), var(--blue)); background-size: 100% 1.5px; background-repeat: no-repeat; background-position: 0 100%;
  padding-bottom: 3px; transition: color .3s;
}
.ft-item .name:hover { color: var(--blue); }
.ft-item .meta { margin-top: 8px; font-size: 14px; color: var(--ink-soft); line-height: 1.45; }
.ft-item .price { margin-top: 6px; font: 500 16px/1.25 var(--display); color: var(--blue); letter-spacing: .03em; font-variant-numeric: tabular-nums; }
.ft-item .more {
  margin-top: 12px; display: inline-flex; gap: 8px; align-items: center; text-decoration: none;
  font: 500 12px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--blue); padding-block: 4px;
}
.ft-item .more i { font-style: normal; transition: transform .45s var(--ease); }
.ft-item .more:hover i { transform: translateX(4px); }
@media (max-width: 960px) { .ft-items { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .ft-row { grid-template-columns: 1fr; gap: 20px; } .ft-items { grid-template-columns: 1fr; } }

/* ---------- шаги ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); counter-reset: st; }
.steps li { position: relative; padding: 0 22px 0 0; counter-increment: st; }
.steps li::before {
  content: "0" counter(st); display: block;
  font: 500 clamp(40px, 4.4vw, 60px)/1 var(--display); color: var(--blue); font-variant-numeric: tabular-nums;
  padding-bottom: 18px; margin-bottom: 18px; border-bottom: 2px solid var(--ink);
}
.steps li::after {
  content: ""; position: absolute; right: 0; top: calc(clamp(40px, 4.4vw, 60px) + 18px - 6px);
  border: 7px solid transparent; border-left: 10px solid var(--blue); border-right: 0;
}
.steps li:last-child::after { display: none; }
.steps p { margin: 0; font-size: 16px; line-height: 1.5; }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; }
  .steps li { padding: 20px 0 20px 76px; border-bottom: 1px solid var(--line); }
  .steps li::before { position: absolute; left: 0; top: 18px; border: 0; padding: 0; margin: 0; font-size: 40px; }
  .steps li::after { display: none; }
}

/* ---------- блок формата с ценой (страница индивидуальной работы) ---------- */
.offer { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.offer .h2 { margin-bottom: 20px; }
.spec { margin: 0 0 24px; font: 500 16px/1.3 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.spec span { color: var(--blue); }
.offer .prose { margin-bottom: 28px; }
.offer .sub-h { font: 500 clamp(20px, 2vw, 24px)/1.15 var(--display); text-transform: uppercase; margin: 0 0 14px; }
.price-card {
  position: sticky; top: calc(96px + env(safe-area-inset-top, 0px));
  border: 2px solid var(--ink); background: var(--light); padding: clamp(24px, 3vw, 32px);
  display: grid; gap: 16px;
}
.bg-light .price-card { background: var(--paper); }
.price-card small { font: 500 15px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.price-card strong { font: 500 clamp(30px, 3.4vw, 44px)/1.05 var(--display); color: var(--blue); font-variant-numeric: tabular-nums; }
.price-card .per { font-size: 15px; color: var(--ink-soft); margin-top: -8px; }
.price-card .note { font-size: 15px; line-height: 1.5; border-top: 1px solid var(--line); padding-top: 14px; margin: 0; }
.price-card .btn { width: 100%; }
.partner-line { font: 500 clamp(28px, 3.4vw, 44px)/1 var(--display); text-transform: uppercase; margin: 0 0 20px; }
.partner-line span { color: var(--blue); }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.jump a {
  text-decoration: none; font: 500 15px/1 var(--display); letter-spacing: .06em; text-transform: uppercase;
  border: 1.5px solid var(--ink); padding: 12px 16px; transition: background-color .4s var(--ease), color .4s var(--ease);
}
.jump a:hover { background: var(--ink); color: var(--white); }
@media (max-width: 860px) {
  .offer { grid-template-columns: 1fr; }
  .price-card { position: relative; top: 0; }
}

/* ---------- варианты участия (гостиная) ---------- */
.options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
.option { border: 2px solid var(--ink); background: var(--light); display: flex; flex-direction: column; }
.option-body { padding: clamp(24px, 3vw, 36px); flex: 1; display: grid; gap: 14px; align-content: start; }
.option h3 { margin: 0; font: 600 clamp(28px, 3.2vw, 40px)/1 var(--display); text-transform: uppercase; }
.option h3 span { color: var(--blue); display: block; }
.option .facts-line { margin: 0; display: grid; gap: 6px; font: 500 16px/1.3 var(--display); letter-spacing: .05em; text-transform: uppercase; }
.option .cost { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 8px; }
.option .cost small { font: 500 15px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.option .cost strong { font: 500 clamp(26px, 2.6vw, 32px)/1 var(--display); color: var(--blue); }
.option .btn { margin: 0 -2px -2px; }
@media (max-width: 760px) { .options { grid-template-columns: 1fr; } }

.two-col { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.two-col .photo { position: sticky; top: calc(96px + env(safe-area-inset-top, 0px)); }
.two-col .photo .frame { aspect-ratio: 4 / 5.2; }
@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; }
  .two-col .photo { position: relative; top: 0; max-width: 420px; }
}
.callout {
  margin-top: clamp(32px, 4vw, 48px); padding: clamp(24px, 3vw, 36px); border: 2px solid var(--blue);
  font: 400 clamp(20px, 2vw, 26px)/1.35 var(--display); text-transform: uppercase; letter-spacing: .01em; color: var(--blue);
  max-width: 900px;
}

/* ---------- мой первый запуск ---------- */
.personas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
.persona { border: 2px solid var(--ink); background: var(--light); padding: clamp(22px, 2.6vw, 32px); display: grid; gap: 12px; align-content: start; }
.persona .who { font: 600 clamp(30px, 3vw, 40px)/1 var(--display); text-transform: uppercase; color: var(--blue); }
.persona .said { font: 500 18px/1.2 var(--display); text-transform: uppercase; letter-spacing: .03em; }
.persona p { margin: 0; font-size: 16px; }
@media (max-width: 900px) { .personas { grid-template-columns: 1fr; } }

.program { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.program li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px; padding-block: 28px; border-bottom: 1px solid var(--line); }
.program .when { font: 500 clamp(22px, 2.2vw, 28px)/1.1 var(--display); text-transform: uppercase; }
.program .when span { display: block; color: var(--blue); }
.program h3 { margin: 0 0 10px; font: 500 clamp(20px, 2vw, 24px)/1.2 var(--display); text-transform: uppercase; }
.program p { margin: 0; max-width: 62ch; }
.program .meet {
  margin-top: 14px; display: flex; gap: 12px; align-items: baseline; font-size: 15px;
  padding: 10px 14px; background: rgba(255,255,255,.55); border-left: 3px solid var(--blue);
}
.program .meet b { white-space: nowrap; color: var(--blue); }
.program li.start { background: rgba(35,112,186,.06); }
@media (max-width: 760px) { .program li { grid-template-columns: 1fr; gap: 10px; } }

.big-statement { font: 500 clamp(30px, 4.6vw, 62px)/1.06 var(--display); text-transform: uppercase; margin: 0; max-width: 22ch; text-wrap: balance; }
.big-statement span { color: rgba(255,255,255,.62); display: block; font-size: .55em; margin-bottom: 18px; letter-spacing: .04em; }

.reviews { columns: 2 340px; column-gap: clamp(20px, 3vw, 32px); }
.review {
  break-inside: avoid; margin: 0 0 clamp(20px, 3vw, 32px); border: 2px solid var(--ink); background: var(--light);
  padding: clamp(22px, 2.6vw, 32px); font-size: 16px; line-height: 1.6;
}
.review::before { content: "«"; display: block; font: 500 56px/0.6 var(--display); color: var(--blue); margin-bottom: 10px; }

/* аккордеон вопросов */
.faq { border-top: 1px solid var(--line); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center;
  padding-block: 22px; font: 500 clamp(18px, 1.8vw, 22px)/1.3 var(--display); text-transform: uppercase; letter-spacing: .02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 30px/1 var(--body); color: var(--blue); transition: transform .45s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { overflow: hidden; }
.faq .answer-inner { padding-bottom: 24px; max-width: 70ch; }
.faq .answer-inner p { margin: 0 0 12px; }
.faq .answer-inner .btn { margin-top: 8px; }

/* ---------- заявка ---------- */
.apply-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.apply .lead { margin: 28px 0; color: rgba(255,255,255,.92); }
.apply .lead b { color: var(--white); }
.motto { font: 500 clamp(18px, 1.8vw, 22px)/1.3 var(--display); text-transform: uppercase; letter-spacing: .02em; margin: 0; }
.motto span { display: block; color: rgba(255,255,255,.75); }
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font: 500 12px/1.3 var(--body); letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.field input, .field textarea, .field select {
  width: 100%; font: 400 17px/1.4 var(--body); color: var(--white);
  background: transparent; border: 0; border-bottom: 1.5px solid rgba(255,255,255,.5);
  padding: 10px 0; border-radius: 0; transition: border-color .4s var(--ease); color-scheme: dark;
}
.field select option { color: var(--ink); background: var(--white); }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--white); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: rgba(255,255,255,.85); line-height: 1.45; }
.check input { margin-top: 3px; accent-color: var(--ink); width: 16px; height: 16px; flex: none; }
.form .btn { margin-top: 8px; }
.form-note { font-size: 15px; color: var(--white); min-height: 1.4em; margin: 0; }
@media (max-width: 860px) { .apply-grid { grid-template-columns: 1fr; } }

/* ---------- подвал ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.75); }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; padding-block: 36px 44px; font-size: 14px; }
.footer .logo { color: var(--white); }
.footer .logo span { color: rgba(255,255,255,.75); }
.footer nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--white); }

/* ---------- плавное появление ---------- */
.reveal { transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.reveal.wait { opacity: 0; transform: translateY(36px); }
.stagger > * { transition: opacity .9s var(--ease), transform 1s var(--ease); }
.stagger.wait > * { opacity: 0; transform: translateY(28px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal.wait, .stagger.wait > * { opacity: 1; transform: none; }
  .quote .w { opacity: 1; }
}

/* ---------- первый экран главной: крупное имя ---------- */
.hero--name { padding-block: clamp(28px, 4vw, 56px) clamp(64px, 8vw, 104px); }
.hero-name {
  display: inline-block; margin: 0; white-space: nowrap; text-transform: uppercase;
  font: 600 12.2vw/.86 var(--display); letter-spacing: -.012em;
}
.hero-name .nw { display: inline-block; overflow: hidden; vertical-align: top; padding-top: .06em; }
.hero-name .nw > span { display: inline-block; }
.hero-name .accent { color: var(--blue); }
.regalia {
  margin: clamp(16px, 2vw, 24px) 0 0; padding-bottom: clamp(20px, 2.4vw, 28px); border-bottom: 2px solid var(--ink);
  font: 500 clamp(12px, 1vw, 14px)/1.6 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft);
}
.regalia i { font-style: normal; color: var(--blue); padding-inline: .5em; }
.regalia--top { border: 0; padding: 0; margin: 0 0 clamp(24px, 3vw, 36px); color: var(--ink); }
.name-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px);
  align-items: start; margin-top: clamp(32px, 4vw, 56px);
}
.slogan {
  margin: 0; max-width: 22ch;
  font: 500 clamp(26px, 3.1vw, 44px)/1.08 var(--display); text-transform: uppercase;
}
.slogan .l { display: block; }
.slogan .accent { color: var(--blue); }
.name-copy .sub { margin: clamp(24px, 3vw, 36px) 0 0; max-width: 46ch; font-size: clamp(18px, 1.5vw, 20px); line-height: 1.55; }
.name-copy .sub b { font-weight: 500; }
.name-copy .btn-row { margin-top: clamp(28px, 4vw, 44px); }
.name-grid .photo .frame { aspect-ratio: 1000 / 1352; }
.name-grid .photo img { object-position: 50% 0%; }
@media (min-width: 861px) { .name-grid .photo { margin-top: calc(-1 * clamp(32px, 4vw, 56px) - 2px); } .name-grid .photo .frame { border-top: 0; } }
@media (max-width: 860px) {
  .name-grid { grid-template-columns: 1fr; }
  .name-grid .photo { max-width: 460px; }
}
.js .hero-name .nw > span { animation: rise 1.2s var(--ease) both; }
.js .hero-name .nw:nth-child(2) > span { animation-delay: .1s; }
.js .regalia, .js .name-copy { animation: fade 1s var(--ease) .35s both; }
.js .name-grid .photo .frame { animation: unveil 1.4s var(--ease) .2s both; }

/* цитата во всю ширину */
.quote--wide { max-width: none; font-size: clamp(30px, 5.4vw, 84px); line-height: 1.04; text-wrap: pretty; }

/* блок ассистентки */
.diana { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.diana .photo .frame { aspect-ratio: 900 / 1104; }
.diana .photo img { object-position: 50% 30%; }
.diana .lead { margin: 24px 0 32px; }
@media (max-width: 760px) { .diana { grid-template-columns: 1fr; } .diana .photo { max-width: 360px; } }

/* ======================================================================
   Правки: больше тёмно-серого, цитаты меньше, слайдер отзывов
   ====================================================================== */

/* тёмная шапка */
body::before { background: var(--ink); }
.header { background: rgba(68,69,70,.97); color: var(--white); border-bottom: 0; }
.header.scrolled { border-bottom-color: transparent; box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.header .logo { color: var(--white); }
.header .logo span { color: rgba(255,255,255,.62); }
.nav a { color: rgba(255,255,255,.88); }
.nav a::after { background: var(--white); }
.nav a.active { color: var(--white); }
.burger { color: var(--white); }
@media (max-width: 860px) {
  .nav { background: var(--ink); border-bottom-color: rgba(255,255,255,.12); }
  .nav a { border-bottom-color: rgba(255,255,255,.12); }
}

/* компоненты на тёмном фоне */
.bg-ink .formats-table, .bg-ink .ft-row { border-color: rgba(255,255,255,.22); }
.bg-ink .ft-row > h3, .bg-ink .ft-item .name { color: var(--white); }
.bg-ink .ft-item .name { background-image: linear-gradient(rgba(255,255,255,.55), rgba(255,255,255,.55)); }
.bg-ink .ft-item .name:hover { color: rgba(255,255,255,.75); }
.bg-ink .ft-item .meta { color: rgba(255,255,255,.7); }
.bg-ink .ft-item .price, .bg-ink .ft-item .more { color: var(--white); }
.bg-ink .tile { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.8); }
.bg-ink .tile h3 { color: rgba(255,255,255,.62); }
.bg-ink .tile h3 em { color: var(--white); }
.bg-ink .callout { border-color: var(--white); color: var(--white); }
.bg-ink .steps li::before { color: var(--white); border-bottom-color: rgba(255,255,255,.8); }
.bg-ink .steps li::after { border-left-color: var(--white); }
@media (max-width: 960px) { .bg-ink .steps li { border-bottom-color: rgba(255,255,255,.2); } }
.bg-ink .persona { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.8); }
.bg-ink .persona .who { color: var(--white); }
.bg-ink .persona .said { color: rgba(255,255,255,.7); }

/* карточки с ценой — тёмные */
.price-card, .bg-light .price-card { background: var(--ink); border-color: var(--ink); color: var(--white); }
.price-card strong { color: var(--white); }
.price-card small, .price-card .per { color: rgba(255,255,255,.75); }
.price-card .note { border-top-color: rgba(255,255,255,.2); color: rgba(255,255,255,.85); }
.price-card .btn:not(.btn--blue) { border-color: var(--white); color: var(--white); }
.price-card .btn:not(.btn--blue)::before { background: var(--white); }
.price-card .btn:not(.btn--blue):hover { color: var(--ink); }
.price-card .btn--blue:hover { border-color: var(--white); }
.price-card .btn--blue::before { background: var(--white); }
.price-card .btn--blue:hover { color: var(--blue); }
.fine { margin: -4px 0 0; font-size: 13px; color: rgba(255,255,255,.7); }
.fine a { color: var(--white); }

/* «На одну консультацию…» рядом с заголовком */
.head-row { grid-template-columns: auto minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); }
.head-row p { justify-self: start; }
@media (max-width: 760px) { .head-row { grid-template-columns: 1fr; } }

/* цитаты поменьше */
.quote { font-size: clamp(24px, 3vw, 40px); }
.quote--wide { font-size: clamp(24px, 3.4vw, 48px); line-height: 1.12; }

/* текстовый блок (гостиная) */
.text-block { max-width: 880px; display: grid; gap: 24px; }
.text-block p { margin: 0; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: rgba(255,255,255,.85); }
.text-block p.strong { font-weight: 500; font-size: clamp(20px, 1.9vw, 25px); line-height: 1.5; color: var(--white); padding-left: 22px; border-left: 3px solid var(--blue); }

/* «И главное» во всю ширину и меньше */
.big-statement { max-width: none; font-size: clamp(24px, 3vw, 42px); line-height: 1.12; }
.big-statement span { font-size: 15px; letter-spacing: .14em; margin-bottom: 14px; }

/* слайдер отзывов */
.slider { position: relative; }
.slides {
  display: flex; gap: clamp(16px, 2.4vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 4px; align-items: flex-start;
}
.slides::-webkit-scrollbar { display: none; }
.slides .review { flex: 0 0 min(620px, 88%); scroll-snap-align: start; margin: 0; }
.review::before {
  content: ""; display: block; width: 40px; height: 30px; margin-bottom: 18px; font-size: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 36'%3E%3Cpath fill='%232370ba' d='M0 36V20C0 9 6 2 18 0l2 5c-6 2-9 6-9 11h9v20H0zm28 0V20c0-11 6-18 18-20l2 5c-6 2-9 6-9 11h9v20H28z'/%3E%3C/svg%3E") no-repeat 0 0 / contain;
}
.slider-nav { display: flex; align-items: center; gap: 18px; margin-top: 24px; }
.sl-btn {
  width: 52px; height: 52px; border: 2px solid var(--ink); background: transparent; color: var(--ink);
  font: 400 22px/1 var(--body); cursor: pointer; transition: background-color .4s var(--ease), color .4s var(--ease), opacity .3s;
}
.sl-btn:hover { background: var(--ink); color: var(--white); }
.sl-btn:disabled { opacity: .3; pointer-events: none; }
.sl-count { font: 500 16px/1 var(--display); letter-spacing: .08em; font-variant-numeric: tabular-nums; min-width: 4ch; text-align: center; }

/* вопросы во всю ширину */
.faq { max-width: none; }
.faq .answer-inner { max-width: 82ch; }

/* реквизиты в подвале */
.footer .req { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: rgba(255,255,255,.65); }
.check a { color: var(--white); }

/* гостиная: два блока рядом и заголовки карточек в две строки */
.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: end; }
.pair .quote { margin: 0; max-width: none; }
.pair .lead { margin: 0; font-size: clamp(19px, 1.9vw, 25px); line-height: 1.5; }
.text-block--pair { max-width: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.tiles--stack .tile h3 em { display: block; }
@media (max-width: 760px) { .pair, .text-block--pair { grid-template-columns: 1fr; } }

/* единый блок «Вайб-чек + Диана» */
.apply .lead { margin: 24px 0 28px; }
.diana-card {
  display: flex; gap: 18px; align-items: center; margin-bottom: 28px;
  padding: 16px; border: 1px solid rgba(255,255,255,.4); max-width: 520px;
}
.diana-card img { width: 88px; height: 88px; object-fit: cover; object-position: 50% 50%; border: 2px solid var(--white); flex: none; }
.diana-card p { margin: 0; font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.88); }
.diana-card .dc-name { font: 500 19px/1.2 var(--display); text-transform: uppercase; letter-spacing: .03em; color: var(--white); margin-bottom: 6px; }
.apply-grid { align-items: center; }
@media (max-width: 480px) { .diana-card { align-items: flex-start; } .diana-card img { width: 72px; height: 72px; } }

/* акцент на Диане: светлая карточка на синем */
.diana-card {
  background: var(--white); color: var(--ink); border: 0; padding: clamp(18px, 2.4vw, 26px);
  gap: clamp(16px, 2vw, 24px); align-items: flex-start; max-width: 560px; margin-bottom: 0;
  box-shadow: 10px 10px 0 var(--ink);
}
.diana-card img { width: 112px; height: 112px; border: 2px solid var(--ink); }
.dc-body { display: grid; gap: 14px; min-width: 0; }
.diana-card .dc-name { margin: 0; font: 600 26px/1 var(--display); text-transform: uppercase; color: var(--ink); }
.diana-card .dc-name span { display: block; margin-top: 6px; font: 500 12px/1.2 var(--body); letter-spacing: .14em; color: var(--blue); }
.dc-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dc-points li { display: flex; gap: 10px; align-items: baseline; font-size: 15px; line-height: 1.45; color: var(--ink); }
.dc-points li::before { content: "▸"; color: var(--blue); flex: none; }
.dc-points b { font-weight: 700; }
.diana-card .btn { justify-self: start; min-height: 50px; padding: 0 22px; font-size: 15px; }
.form-hint { margin: -4px 0 0; font-size: 14px; color: rgba(255,255,255,.85); }
@media (max-width: 520px) {
  .diana-card { flex-direction: column; box-shadow: 6px 6px 0 var(--ink); }
  .diana-card .btn { justify-self: stretch; }
}
.diana-card .dc-text { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink); }
.diana-card .dc-text b { font: 600 20px/1.2 var(--display); text-transform: uppercase; letter-spacing: .02em; display: block; margin-bottom: 8px; }
/* фото Дианы: целиком, без приближения */
.diana-card img { width: 150px; height: auto; aspect-ratio: 480 / 623; object-fit: cover; object-position: 50% 50%; }
@media (max-width: 520px) { .diana-card img { width: 180px; } }
