/* Сборник инструкций Флоамо — guide.floamo.ru. Общие стили всех страниц.
   Оформление — вариант «А», «редакционный разворот» (выбран владельцем 12.10.2026 как временный).
   🔴 Меняешь этот файл или рисунок в /assets/ — сохрани под новым именем (guide-v2.css, ikebana-v2.svg) и замени
   ссылки во всех страницах: сервер разрешает браузерам хранить /assets/ 7 дней, и вернувшийся покупатель увидит
   новую страницу со старыми стилями. deploy.sh проверяет ресурсы по ссылкам самих страниц — новое имя он увидит.

   Страница кензана. Телефон (база): заголовок, сразу видео, затем вводка, шаги с крупными цифрами и нитью
   между ними, уход, финал. Планшет (700–1023): заголовок и вводка рядом с видео, остальное ниже.
   Компьютер (от 1024): разворот — слева сливочная страница с текстом, справа пудровая полоса, видео в ней
   стоит на месте, пока листается текст. Главная, политика и «не найдено» — тот же разворот, раздел «Лист» в конце.
   Всё своё: шрифты и графика — из /assets/. Встроенных стилей и скриптов нет — их запрещает заголовок защиты.
   Цвета (замер контраста к сливочному фону): текст #4a2833 — 11,9:1; второстепенный #643f4b — 8,3:1
   (на пудре 7,2:1); метки и рукописные строки #94545e — 5,3:1 (на пудре 4,6:1); цифры шагов и подпись
   #9c5b64 — 4,8:1; кнопка #7a3f4e — белый текст 7,9:1. Розовый #c0838a — только линии и рисунки, не текст. */

@font-face { font-family: "Tenor Sans"; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/TenorSans-Regular.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/manrope-cyrillic-normal-400.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/manrope-latin-normal-400.woff2") format("woff2");
  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: "Marck Script"; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/marck-script-cyrillic-normal-400.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  color-scheme: light;
  --paper: #fbf6f1;
  --powder: #f3e3df;
  --rose: #c0838a;
  --rose-num: #9c5b64;
  --rose-ink: #94545e;
  --ink: #4a2833;
  --ink-soft: #643f4b;
  --btn: #7a3f4e;
  --btn-hover: #66313f;
  --hair: rgba(192, 131, 138, 0.45);
  --poster: radial-gradient(120% 70% at 50% 16%, #fffaf8 0%, rgba(255, 250, 248, 0) 64%),
            linear-gradient(180deg, #f8ece8 0%, #efd9d4 100%);
  --serif: "Tenor Sans", Optima, Candara, "Segoe UI", sans-serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --script: "Marck Script", "Tenor Sans", cursive;
  --m: 20px;          /* поле страницы */
  --mark-len: 12px;   /* метка обреза */
  --mark-reach: 18px; /* метка + зазор до кадра */
}

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

html {
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
  font-synthesis: none; /* у всех шрифтов одно начертание 400 — без поддельного жирного и курсива */
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; color: var(--ink); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--hair);
  text-underline-offset: 0.22em;
  transition: text-decoration-color 0.2s ease, color 0.2s ease;
}
:focus-visible { outline: 2px solid var(--btn); outline-offset: 3px; border-radius: 2px; }
::selection { background: #efcfd3; color: var(--ink); }
.nobr { white-space: nowrap; }
.heart { width: 16px; height: auto; color: var(--rose); }

/* ---------- шапка: знак слева, справа — «Все инструкции» ---------- */
.masthead {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: calc(env(safe-area-inset-top) + 10px) max(var(--m), env(safe-area-inset-right)) 8px max(var(--m), env(safe-area-inset-left));
  border-bottom: 1px solid var(--hair);
}
.masthead__home { display: block; flex: none; margin-inline-end: auto; padding-block: 6px; }
.masthead__home img { width: 124px; height: auto; }
.masthead__place {
  display: none;
  font-family: var(--serif);
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--rose-ink);
}
.masthead__all {
  display: inline-flex;
  align-items: center;
  flex: none;
  min-height: 44px;
  font-family: var(--serif);
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink);
  text-underline-offset: 0.55em;
}

/* ---------- заголовок ---------- */
.guide__head { padding: 30px var(--m) 0; }

.kicker {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rose-ink);
}
/* черта стоит у первой строки: если узкий экран всё-таки перенесёт строку, вторая уйдёт под текст, а не под черту */
.kicker::before { content: ""; flex: none; width: 22px; height: 1px; margin-top: 0.6em; background: currentColor; }

.title {
  font-size: 40px;
  line-height: 1.06;
  letter-spacing: -0.012em;
}

.lead {
  max-width: 30em;
  margin: 40px var(--m) 0;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* ---------- видео: заглушка 9:16, потом на её место встанет <video class="film__frame">.
   Размер держит обёртка film__mat — на ней же метки обреза, поэтому они переживут настоящее видео
   и не ложатся ни на кадр, ни на кнопки плеера: стоят снаружи, как на типографском оттиске. ---------- */
.film { margin: 36px 0 0; padding: 0 var(--m); container-type: inline-size; }
.film__stick { position: relative; }

.film__mat {
  position: relative;
  height: min(78vh, 720px, calc((100vw - 2 * var(--m) - 24px) * 16 / 9));
  height: min(78svh, 720px, calc((100vw - 2 * var(--m) - 24px) * 16 / 9));
  height: min(78svh, 720px, calc((100cqi - 24px) * 16 / 9)); /* ширина самого блока, без полосы прокрутки; 12 точек с каждой стороны — меткам */
  aspect-ratio: 9 / 16;
  margin-inline: auto;
}
.film__mat::after {
  content: "";
  position: absolute;
  inset: calc(-1 * var(--mark-reach));
  pointer-events: none;
  background:
    linear-gradient(var(--rose), var(--rose)) left 0 top var(--mark-reach) / var(--mark-len) 1px,
    linear-gradient(var(--rose), var(--rose)) left var(--mark-reach) top 0 / 1px var(--mark-len),
    linear-gradient(var(--rose), var(--rose)) right 0 top var(--mark-reach) / var(--mark-len) 1px,
    linear-gradient(var(--rose), var(--rose)) right var(--mark-reach) top 0 / 1px var(--mark-len),
    linear-gradient(var(--rose), var(--rose)) left 0 bottom var(--mark-reach) / var(--mark-len) 1px,
    linear-gradient(var(--rose), var(--rose)) left var(--mark-reach) bottom 0 / 1px var(--mark-len),
    linear-gradient(var(--rose), var(--rose)) right 0 bottom var(--mark-reach) / var(--mark-len) 1px,
    linear-gradient(var(--rose), var(--rose)) right var(--mark-reach) bottom 0 / 1px var(--mark-len);
  background-repeat: no-repeat;
}

.film__frame {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 3px;
  background: var(--poster);
  container-type: inline-size;
}
video.film__frame { object-fit: cover; background: #efd9d4; }

.film__poster {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 9% 9%;
  text-align: center;
}
.film__art { width: 60%; height: auto; margin-bottom: 4px; }
.film__soon {
  max-width: 14em;
  font-family: var(--serif);
  font-size: 19px;
  font-size: clamp(15px, 5.6cqi, 24px);
  line-height: 1.3;
  color: var(--ink);
  text-wrap: balance;
}
.film__note { font-size: 15px; font-size: clamp(14px, 4.2cqi, 16px); line-height: 1.4; color: var(--ink-soft); }

/* ---------- текст инструкции ---------- */
.guide__body { padding: 0 var(--m); }

.label {
  font-family: var(--serif);
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--rose-ink);
}

.needs { margin-top: 44px; }
.needs .label { display: flex; align-items: center; min-height: 22px; }
.needs__list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.35;
  color: var(--ink);
}
.needs__list { max-width: 30em; }
.needs__list li { padding: 9px 0 8px; border-bottom: 1px solid var(--hair); }
.needs__list li:first-child { border-top: 1px solid var(--hair); }

/* шаги: крупные тонкие цифры и нить между ними */
.steps { margin-top: 60px; }
.steps__title { font-size: 30px; line-height: 1.15; }

.steps__list { margin: 30px 0 0; padding: 0; list-style: none; counter-reset: step; }

.step {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  padding-bottom: 34px;
  counter-increment: step;
}
.step:last-child { padding-bottom: 0; }
.step::before {
  content: counter(step, decimal-leading-zero);
  grid-row: 1 / span 6;
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--rose-num);
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  inset-inline-start: 22px;
  top: 52px;
  bottom: 10px;
  width: 1px;
  background: var(--hair);
}
.step__title { grid-column: 2; padding-top: 6px; font-size: 21px; line-height: 1.25; }
.step__text { grid-column: 2; margin-top: 6px; color: var(--ink-soft); }
.step__text + .step__text { margin-top: 10px; }

/* подсказка от руки у первого шага */
.step__hint {
  grid-column: 2;
  justify-self: start;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  margin-top: 6px;
  padding-inline-start: 6px;
  font-family: var(--script);
  font-size: 28px;
  line-height: 1.1;
  color: var(--rose-ink);
  transform: rotate(-3deg);
  transform-origin: left bottom;
}
.step__hint-arrow { width: 34px; height: auto; flex: none; margin-bottom: 12px; color: var(--rose); }

/* схема среза под 45° */
.cut { grid-column: 2; width: 200px; height: auto; margin: 10px 0 6px; color: var(--rose-ink); }
.cut__label { font-family: var(--serif); font-size: 15px; fill: var(--rose-ink); }

/* уход: тонкие значки в колонке цифр */
.care { margin-top: 68px; }
.care__title { font-size: 30px; line-height: 1.15; }
.care__lead { max-width: 32em; margin-top: 12px; color: var(--ink-soft); }
.care__list { margin: 26px 0 0; padding: 0; list-style: none; }
.tip {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  padding: 14px 0 13px;
  border-bottom: 1px solid var(--hair);
}
.tip:first-child { border-top: 1px solid var(--hair); }
.tip__icon { width: 32px; height: 32px; color: var(--rose-num); }
.tip__text { color: var(--ink); }

/* финал: «Вуаля!» от руки */
.finale { margin-top: 72px; }
.finale__title { font-size: 30px; line-height: 1.2; }
.finale__wow {
  display: block;
  width: fit-content;
  margin: 0 0 10px -2px;
  font-family: var(--script);
  font-size: 60px;
  line-height: 1;
  color: var(--rose-ink);
  transform: rotate(-4deg);
  transform-origin: left bottom;
}
.finale__heart {
  display: inline-block;
  width: 0.62em;
  height: auto;
  margin-inline-start: 0.28em;
  vertical-align: -0.04em;
  color: var(--rose);
}
.finale__text {
  max-width: 30em;
  margin-top: 16px;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* помощь: пудровая полоса во всю ширину телефона */
.help {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 64px calc(-1 * var(--m)) 0;
  padding: 40px var(--m) 44px;
  background: var(--powder);
}
/* веточка на полях — за текстом, у правого края */
.help::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -34px;
  inset-inline-end: -26px;
  width: 112px;
  aspect-ratio: 240 / 410;
  background: url("/assets/sprig.svg") no-repeat center / contain;
  opacity: 0.5;
  transform: scaleX(-1) rotate(-12deg);
  pointer-events: none;
}
.help__rule { display: flex; align-items: center; gap: 12px; color: var(--rose); }
.help__rule::before, .help__rule::after { content: ""; width: 44px; height: 1px; background: currentColor; opacity: 0.7; }
.help__title { margin-top: 22px; font-size: 32px; line-height: 1.1; }
.help__text { margin-top: 10px; font-size: 18px; color: var(--ink-soft); }

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 56px;
  margin-top: 24px;
  padding: 0 20px 0 24px;
  border-radius: 2px;
  background: var(--btn);
  color: #fff;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.cta:focus-visible { outline-offset: 4px; }
.cta__arrow { width: 22px; height: 22px; flex: none; transition: transform 0.2s ease; }

.signature {
  margin: 38px 0 0;
  font-family: var(--script);
  font-size: 34px;
  line-height: 1.1;
  color: var(--rose-num);
  transform: rotate(-3deg);
  transform-origin: left center;
}

/* наведение — только там, где есть мышь: на телефоне подсветка «залипает» после касания */
@media (hover: hover) {
  a:hover { text-decoration-color: currentColor; }
  .cta:hover { background: var(--btn-hover); color: #fff; }
  .cta:hover .cta__arrow { transform: translateX(3px); }
}

/* ---------- подвал ---------- */
.colophon {
  margin-top: 48px;
  padding: 26px max(var(--m), env(safe-area-inset-right)) calc(env(safe-area-inset-bottom) + 30px) max(var(--m), env(safe-area-inset-left));
  border-top: 1px solid var(--hair);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.colophon__brand { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 15px; color: var(--ink); }
.colophon__brand img { width: 30px; height: auto; flex: none; }
.colophon__links { display: flex; flex-wrap: wrap; column-gap: 24px; margin: 10px 0; padding: 0; list-style: none; }
.colophon__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); }
.colophon__note { max-width: 36em; }

/* ---------- самый узкий телефон (320–359): знак и ссылка в шапке поуже, чтобы не вылезли за поле ---------- */
@media (max-width: 359.98px) {
  .masthead__home img { width: 108px; }
  .masthead__all { letter-spacing: 0.14em; }
}

/* ---------- широкий телефон ---------- */
@media (min-width: 480px) {
  :root { --m: 28px; }
  .kicker { letter-spacing: 0.2em; }
  .kicker::before { width: 34px; }
}

/* ---------- от планшета: место в шапке ---------- */
@media (min-width: 700px) {
  .masthead { gap: 18px; }
  .masthead__home { margin-inline-end: 0; }
  .masthead__place { display: block; margin-inline-start: auto; }
  .masthead__place::after {
    content: "";
    display: inline-block;
    width: 1px;
    height: 14px;
    margin-inline-start: 18px;
    vertical-align: -3px;
    background: var(--hair);
  }
}

/* ---------- планшет: заголовок и вводка рядом с видео ---------- */
@media (min-width: 700px) and (max-width: 1023.98px) {
  :root { --m: 40px; }
  .masthead__home img { width: 140px; }
  .masthead__studio { display: none; }
  .guide {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 1fr auto auto 1fr auto; /* пустые строки сверху и снизу ставят текст по середине видео */
    column-gap: 40px;
  }
  .guide__head { grid-column: 1; grid-row: 2; padding: 48px 0 0 var(--m); }
  .title { font-size: clamp(42px, 6.2vw, 58px); line-height: 1.04; }
  .lead { grid-column: 1; grid-row: 3; margin: 20px 0 0 var(--m); font-size: 20px; }
  .film { grid-column: 2; grid-row: 1 / 5; margin: 0; padding: 48px var(--m) 0 0; container-type: normal; }
  .film__mat { height: min(68vh, 600px, calc((46vw - 60px) * 16 / 9)); }
  .guide__body { grid-column: 1 / -1; grid-row: 5; }
  .guide__body > * { max-width: 640px; }
  .needs { margin-top: 56px; }
  .help { max-width: none; margin-inline: calc(-1 * var(--m)); padding-inline: var(--m); }
  .help > * { max-width: 640px; }
  .cta { display: inline-flex; min-width: 300px; }
}

/* ---------- компьютер: разворот ---------- */
@media (min-width: 1024px) {
  :root { --m: clamp(48px, 5.4vw, 96px); --text-col: 58.333%; }
  body { font-size: 18px; }
  .page { position: relative; }

  .masthead {
    position: absolute;
    z-index: 2;
    top: 0;
    inset-inline-start: 0;
    width: var(--text-col);
    padding: 34px var(--m) 0;
    border: 0;
  }
  .masthead__home img { width: 164px; }
  .masthead__studio { display: none; }

  .guide {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    grid-template-rows: auto auto 1fr;
  }
  .guide__head { grid-column: 1; grid-row: 1; padding: 172px var(--m) 0; }
  .kicker { margin-bottom: 22px; letter-spacing: 0.26em; }
  .title { max-width: 9.5em; font-size: clamp(56px, 5.7vw, 92px); line-height: 1.02; letter-spacing: -0.016em; }
  .lead { grid-column: 1; grid-row: 2; max-width: 25em; margin: 30px var(--m) 0; font-size: 23px; line-height: 1.45; }

  /* правая страница разворота: пудровая полоса, видео стоит на месте */
  .film {
    grid-column: 2;
    grid-row: 1 / 4;
    margin: 0;
    padding: 0;
    background: var(--powder);
    overflow: clip;
    container-type: normal;
  }
  .film__stick {
    position: sticky;
    top: 0;
    height: min(100vh, 1040px);
    height: min(100svh, 1040px);
    display: grid;
    place-items: center;
    padding: 56px 48px;
    overflow: hidden; /* страховка: веточки и так целиком внутри полосы; на залипание не влияет */
  }
  /* веточки выглядывают из-за кадра по бокам — целиком внутри полосы и в стороне от меток обреза по углам */
  .film__stick::before, .film__stick::after {
    content: "";
    position: absolute;
    width: 116px;
    aspect-ratio: 240 / 410;
    background: url("/assets/sprig.svg") no-repeat center / contain;
    opacity: 0.55;
    pointer-events: none;
  }
  .film__stick::before { top: 22%; inset-inline-end: 30px; transform: rotate(8deg); }
  .film__stick::after { bottom: 18%; inset-inline-start: 30px; transform: rotate(188deg); }

  .film__mat { height: min(calc(100vh - 160px), calc((41.666vw - 96px) * 16 / 9), 800px); }
  .film__frame {
    box-shadow: 0 30px 60px -40px rgba(74, 40, 51, 0.45);
    --poster: radial-gradient(120% 70% at 50% 16%, #fffdfb 0%, rgba(255, 253, 251, 0) 64%),
              linear-gradient(180deg, #fcf6f3 0%, #f4e4e0 100%);
  }

  .guide__body { grid-column: 1; grid-row: 3; padding: 0 var(--m) 120px; }
  .guide__body > * { max-width: 680px; }

  .needs { margin-top: 64px; }
  .needs__list { max-width: 26em; font-size: 19px; }

  .steps { margin-top: 96px; }
  .steps__title { font-size: 40px; }
  .steps__list { margin-top: 48px; }
  .step { grid-template-columns: 112px minmax(0, 1fr); padding-bottom: 46px; }
  .step::before { font-size: 68px; }
  .step:not(:last-child)::after { inset-inline-start: 37px; top: 84px; bottom: 14px; }
  .step__title { padding-top: 12px; font-size: 26px; }
  .step__text { max-width: 33em; margin-top: 10px; }
  .step__text + .step__text { margin-top: 12px; }
  .step__hint { margin-top: 10px; font-size: 32px; }
  .cut { width: 232px; margin: 14px 0 8px; }

  .care { margin-top: 104px; }
  .care__title { font-size: 40px; }
  .care__lead { margin-top: 16px; }
  .care__list { margin-top: 36px; }
  .tip { grid-template-columns: 112px minmax(0, 1fr); padding: 18px 0 17px; }
  .tip__icon { width: 36px; height: 36px; }

  .finale { margin-top: 112px; }
  .finale__title { font-size: 46px; line-height: 1.12; }
  .finale__wow { margin-bottom: 14px; font-size: 84px; }
  .finale__text { margin-top: 22px; font-size: 21px; }

  .help { margin: 100px 0 0; padding: 0; overflow: visible; background: none; }
  .help::before { display: none; }
  .help__title { font-size: 46px; }
  .help__text { font-size: 20px; }
  .cta { display: inline-flex; min-width: 320px; margin-top: 30px; }

  .signature { margin-top: 56px; font-size: 40px; }

  .colophon {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 48px;
    align-items: center;
    margin-top: 0;
    padding: 36px var(--m) 44px;
  }
  .colophon__links { margin: 0; column-gap: 28px; }
  .colophon__note { justify-self: end; max-width: 30em; }
}

/* «Студия цветов» — только где шапке хватает места: широкий планшет и широкий разворот */
@media (min-width: 800px) and (max-width: 1023.98px), (min-width: 1360px) {
  .masthead__studio { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================================
   Лист — главная, политика и «не найдено». Тот же разворот, что у кензана: на компьютере слева текст,
   справа пудровая полоса с рисунком, которая стоит на месте, пока листается текст. На телефоне рисунок —
   пудровой полосой под текстом (только главная и «не найдено»: у политики он лишь удлинил бы страницу).
   ========================================================================================== */

/* шапка главной: вместо ссылки на саму себя — место студии, и на телефоне тоже */
.masthead--home .masthead__place { display: block; margin-inline-start: auto; }
.masthead--home .masthead__place::after { display: none; }

.leaf__text { padding: 30px var(--m) 0; }
.leaf .lead { max-width: 30em; margin: 20px 0 0; }
.title--page { font-size: 32px; line-height: 1.1; }

.leaf__side { display: none; }
.leaf--art .leaf__side { display: block; margin-top: 56px; padding: 36px var(--m) 40px; background: var(--powder); }
.leaf__art { width: 150px; height: auto; margin-inline: auto; }
/* полоса с рисунком — последняя перед подвалом: без пустой полоски между ними */
.leaf--art + .colophon { margin-top: 0; }

/* список инструкций — как шаги: крупная тонкая цифра, нить сверху и снизу */
.shelf { max-width: 640px; margin: 40px 0 0; padding: 0; list-style: none; }
.shelf li { border-bottom: 1px solid var(--hair); }
.shelf li:first-child { border-top: 1px solid var(--hair); }
.shelf__item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 12px;
  padding: 20px 0 19px;
  color: var(--ink);
  text-decoration: none;
}
.shelf__num { font-family: var(--serif); font-size: 40px; line-height: 1; letter-spacing: -0.02em; color: var(--rose-num); }
.shelf__title { display: block; font-family: var(--serif); font-size: 21px; line-height: 1.25; }
.shelf__sub { display: block; margin-top: 6px; font-size: 15px; line-height: 1.4; color: var(--ink-soft); }
.shelf__arrow { width: 22px; height: 22px; color: var(--rose-ink); transition: transform 0.2s ease; }

/* «не найдено» */
.leaf__cta { margin-top: 32px; }
.leaf__aside { max-width: 30em; margin-top: 22px; color: var(--ink-soft); }

/* политика: длинный текст для чтения */
.leaf__date { margin-top: 14px; }
.prose { max-width: 680px; }
.prose h2 { margin-top: 44px; font-size: 24px; line-height: 1.2; }
.prose p, .prose ul, .prose dl { margin: 14px 0 0; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { padding-inline-start: 1.2em; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--rose); }
.prose strong { font-family: var(--serif); font-weight: 400; color: var(--ink); } /* у шрифтов одно начертание — выделяем шрифтом, не жирным */
.prose dl { margin-top: 24px; border-top: 1px solid var(--hair); }
.prose dt {
  padding-top: 12px;
  font-family: var(--serif);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose-ink);
}
.prose dd { margin: 2px 0 0; padding-bottom: 11px; border-bottom: 1px solid var(--hair); color: var(--ink); overflow-wrap: anywhere; }

@media (hover: hover) {
  .shelf__item:hover .shelf__arrow { transform: translateX(3px); }
  .shelf__item:hover .shelf__title { text-decoration: underline 1px var(--hair); text-underline-offset: 0.22em; }
}

/* на самом узком телефоне в шапке главной — только город */
@media (max-width: 699.98px) {
  .masthead--home .masthead__studio { display: none; }
}

@media (min-width: 700px) {
  .prose dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); }
  .prose dt { padding: 13px 28px 11px 0; border-bottom: 1px solid var(--hair); }
  .prose dd { margin: 0; padding: 10px 0 11px; }
}

@media (min-width: 700px) and (max-width: 1023.98px) {
  .leaf__text { padding-top: 48px; }
  .title--page { font-size: clamp(36px, 5vw, 46px); }
  .leaf .lead { font-size: 20px; }
}

@media (min-width: 1024px) {
  .leaf {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    min-height: min(100vh, 1040px);
    min-height: min(100svh, 1040px);
  }
  .leaf__text { padding: 172px var(--m) 120px; }
  .leaf__text > * { max-width: 680px; }
  .title--page { max-width: 12em; font-size: clamp(44px, 4vw, 64px); line-height: 1.06; }
  .leaf .lead { max-width: 25em; margin-top: 30px; font-size: 23px; line-height: 1.45; }

  .leaf__side, .leaf--art .leaf__side { display: block; margin: 0; padding: 0; background: var(--powder); overflow: clip; }
  .leaf__stick {
    position: sticky;
    top: 0;
    height: min(100vh, 1040px);
    height: min(100svh, 1040px);
    display: grid;
    place-items: center;
    padding: 56px 48px;
    overflow: hidden;
  }
  .leaf__stick::before, .leaf__stick::after {
    content: "";
    position: absolute;
    width: 116px;
    aspect-ratio: 240 / 410;
    background: url("/assets/sprig.svg") no-repeat center / contain;
    opacity: 0.55;
    pointer-events: none;
  }
  .leaf__stick::before { top: 18%; inset-inline-end: 30px; transform: rotate(8deg); }
  .leaf__stick::after { bottom: 14%; inset-inline-start: 30px; transform: rotate(188deg); }
  .leaf__art { width: min(300px, 62%); }

  .shelf { margin-top: 56px; }
  .shelf__item { grid-template-columns: 112px minmax(0, 1fr) auto; padding: 26px 0 25px; }
  .shelf__num { font-size: 68px; }
  .shelf__title { font-size: 28px; }
  .shelf__sub { margin-top: 8px; font-size: 16px; }

  .leaf__cta { margin-top: 40px; }
  .leaf__aside { margin-top: 28px; }

  .prose h2 { margin-top: 56px; font-size: 28px; }
}
