/* seven — «Семь раз отмерим, один раз сделаем».

   Бумага, графит и оранжевая лента-сантиметр. Сайт свёрстан как
   журнальная публикация: крупные заголовки Unbounded, текст Onest,
   асимметричные композиции и настоящие предметы — лента, распечатки
   работ, бирка с составом. Сначала телефон, потом всё остальное. */

:root {
  --paper: #EDEBE3;
  --paper-2: #E3E0D6;
  --white: #F7F5EF;
  --ink: #1A1A1A;
  --ink-2: #242424;
  --orange: #F07F2E;
  --orange-d: #D9661A;

  --fh: 'Unbounded', system-ui, sans-serif;
  --fb: 'Onest', system-ui, sans-serif;

  --g: clamp(20px, 5.2vw, 72px);
  --hd: 64px;
  --sec: clamp(104px, 26vw, 220px);
  --tw: clamp(30px, 8.6vw, 40px);
  --h1: min(15vw, 9.6svh);
  --h2: clamp(38px, 10.8vw, 132px);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --print: 0 1px 1px rgba(30, 20, 10, .10), 0 6px 10px -4px rgba(30, 20, 10, .22), 0 26px 40px -18px rgba(30, 20, 10, .45);
}

[data-theme="light"] { --bg: var(--paper); --fg: var(--ink); --dim: rgba(26, 26, 26, .64); --rule: rgba(26, 26, 26, .15); }
[data-theme="dark"]  { --bg: var(--ink); --fg: var(--paper); --dim: rgba(237, 235, 227, .62); --rule: rgba(237, 235, 227, .14); }

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--hd);
  background: var(--paper);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.5 var(--fb);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--orange); color: var(--ink); }

main > section, .ft { background: var(--bg); color: var(--fg); position: relative; }

/* ── логотип и кнопки ───────────────────────────────────────────── */

.logo { font: 700 21px/1 var(--fh); letter-spacing: -.05em; white-space: nowrap; }
.logo i { font-style: normal; color: var(--orange); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 56px;
  padding: 0 24px;
  border-radius: 14px;
  font: 600 15.5px/1 var(--fb);
  letter-spacing: -.01em;
  white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, color .25s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn:active { transform: scale(.97); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--orange { background: var(--orange); color: var(--ink); }
@media (hover: hover) {
  .btn--ink:hover { background: #000; }
  .btn--orange:hover { background: #F48D41; }
  .btn:hover svg { transform: translateX(4px); }
}

/* ── шапка ─────────────────────────────────────────────────────── */

.hd {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: calc(var(--hd) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) var(--g) 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  transition: color .35s, background-color .35s, box-shadow .35s;
}
.hd.is-solid {
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 var(--rule);
}
.hd__nav { display: none; }
.hd__cta {
  margin-left: auto;
  height: 38px;
  padding: 0 15px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  background: var(--fg);
  color: var(--bg);
  font: 600 13.5px/1 var(--fb);
  white-space: nowrap;
  transition: background-color .35s, color .35s, transform .2s, opacity .3s;
}
.hd__cta:active { transform: scale(.96); }
.hd__burger {
  width: 42px;
  height: 38px;
  margin-right: -8px;
  display: grid;
  place-content: center;
  gap: 6px;
}
.hd__burger span { display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .45s var(--ease); }
html.menu-open .hd__burger span:first-child { transform: translateY(4px) rotate(45deg); }
html.menu-open .hd__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
html.menu-open .hd { --bg: var(--ink); --fg: var(--paper); --rule: transparent; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
html.menu-open .hd__cta { opacity: 0; pointer-events: none; }
/* на обложке своя кнопка — в шапке на телефоне она появляется, когда обложка уходит */
@media (max-width: 899px) {
  html.js .hd.on-hero .hd__cta { opacity: 0; transform: translateY(-6px); pointer-events: none; }
}
/* без скриптов шапка сразу плотная: цвет под разделы подстраивать некому */
html:not(.js) .hd { background: color-mix(in srgb, var(--paper) 90%, transparent); box-shadow: 0 1px 0 var(--rule); }

/* ── меню ──────────────────────────────────────────────────────── */

.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: var(--ink);
  color: var(--paper);
  padding: calc(var(--hd) + env(safe-area-inset-top) + 28px) var(--g) calc(28px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .7s cubic-bezier(.76, 0, .24, 1), visibility 0s .7s;
}
html.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .7s cubic-bezier(.76, 0, .24, 1); }
.menu__nav a {
  display: block;
  padding: 4px 0;
  font: 600 clamp(36px, 10.4vw, 72px)/1.12 var(--fh);
  letter-spacing: -.045em;
  transform: translateY(30px);
  opacity: 0;
  transition: transform .7s var(--ease), opacity .5s;
}
html.menu-open .menu__nav a { transform: none; opacity: 1; }
html.menu-open .menu__nav a:nth-child(2) { transition-delay: .05s; }
html.menu-open .menu__nav a:nth-child(3) { transition-delay: .1s; }
html.menu-open .menu__nav a:nth-child(4) { transition-delay: .15s; }
html.menu-open .menu__nav a:nth-child(5) { transition-delay: .2s; }
.menu__foot { display: grid; gap: 22px; }
.menu__foot .btn { width: 100%; }
.menu__foot p { display: flex; justify-content: space-between; gap: 16px; color: rgba(237, 235, 227, .62); font-size: 15px; }

/* ── обложка ───────────────────────────────────────────────────── */

.hero {
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--hd) + env(safe-area-inset-top) + 22px) var(--g) calc(28px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}
.hero.is-grab { cursor: grab; }
.hero:has(.tape.is-dragging) { cursor: grabbing; }

.hero__title {
  position: relative;
  z-index: 2;
  font: 300 var(--h1)/.98 var(--fh);
  letter-spacing: -.05em;
}
.hl { display: block; white-space: nowrap; }
.hl--b { font-weight: 700; }
html.js .hl--b { font-weight: 300; transition: font-weight 1.3s var(--ease); }
html.js .hl--b + .hl--l + .hl--b { transition-delay: .18s; }
html.is-in .hl--b { font-weight: 700; }
.dot { font-style: normal; color: var(--orange); }

.hero__lead {
  position: relative;
  z-index: 2;
  margin-top: calc(var(--tw) + 30px);
  max-width: 15.5em;
  font-size: 16.5px;
  line-height: 1.45;
  color: var(--dim);
}
.hero__cta {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.hero__more {
  font: 500 15px/1.2 var(--fb);
  padding-bottom: 3px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .4s var(--ease);
}
@media (hover: hover) { .hero__more:hover { background-size: 40% 1px; } }

/* телефон: заголовок и строка сверху, семёрка в середине, широкая кнопка снизу */
@media (max-width: 899px) {
  .hero { padding-top: calc(var(--hd) + env(safe-area-inset-top) + 14px); padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
  .hero__lead { margin-top: 16px; max-width: 22em; font-size: 15.5px; }
  .hero__cta { width: 100%; margin-top: 0; padding-top: 24px; gap: 0; }
  .hero__cta .btn { width: 100%; }
  .hero__more { display: none; }
  /* справа от семёрки: сверху подсказка, снизу «дней.» — продолжение цифры */
  .hero__facts {
    position: relative;
    z-index: 2;
    flex: 1;
    width: 50%;
    margin-left: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px 0 4px;
  }
  .hero__fact b { display: block; font: 700 clamp(34px, 10.6vw, 46px)/1 var(--fh); letter-spacing: -.05em; }
  .hero__fact span { display: block; margin-top: 10px; font-size: 14px; line-height: 1.35; color: var(--dim); }
  .hero__pull { position: relative; padding-left: 40px; font: 400 13px/1.4 var(--fb); color: var(--dim); transition: opacity .5s; }
  .hero__pull b { display: block; font-weight: 600; color: var(--fg); }
  .hero__pull svg { position: absolute; left: -16px; top: 10px; width: 46px; height: 30px; fill: none; stroke: var(--orange-d); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
  html.tape-touched .hero__pull { opacity: 0; }
  #tapeHint { display: none; }
}
@media (max-width: 899px) and (max-height: 700px) {
  .hero__lead { font-size: 14.5px; margin-top: 12px; }
  .hero__facts { padding-top: 14px; justify-content: flex-end; }
  .hero__pull { display: none; }
}
@media (min-width: 900px) { .hero__facts { display: none; } }
.tape { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.tape canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.tape__hint {
  position: absolute;
  z-index: 2;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font: 500 13px/1.35 var(--fb);
  color: var(--dim);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .6s, transform .6s var(--ease);
  pointer-events: none;
  white-space: nowrap;
}
.tape__hint b { display: block; font-weight: 600; color: var(--fg); }
.tape__hint.is-flip { flex-direction: row-reverse; }
.tape__hint[hidden] { display: none; }
.tape__hint.is-flip svg { transform: scaleX(-1); }
.tape__hint svg { flex: none; width: 46px; height: 30px; fill: none; stroke: var(--orange-d); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tape.is-ready ~ .tape__hint { opacity: 1; transform: none; }
.tape.is-touched ~ .tape__hint { opacity: 0; transform: translateY(8px); }

/* ── главы ─────────────────────────────────────────────────────── */

.ch { padding: 0 var(--g); }
.ch__title {
  font: 600 var(--h2)/1 var(--fh);
  letter-spacing: -.05em;
  max-width: 10ch;
  text-wrap: balance;
}
.ch__lead {
  margin-top: 24px;
  max-width: 27em;
  font-size: 16.5px;
  line-height: 1.5;
  color: var(--dim);
  text-wrap: pretty;
}

/* заголовок мерок: каждая строка ровно во всю ширину, вес чередуется,
   как в обложке. Делители — ширина строки в кеглях Unbounded */
.mk .ch { container-type: inline-size; }
.mk__title { max-width: none; line-height: .9; letter-spacing: -.05em; }
.mk__title span { display: block; white-space: nowrap; }
.mk__t1 { font-weight: 300; font-size: calc(100cqw / 5.1); }
.mk__t2 { font-weight: 700; font-size: calc(100cqw / 5.72); }
.mk__t3 { font-weight: 700; font-size: calc(100cqw / 4.22); }

/* ── глава 1: мерки ────────────────────────────────────────────── */

.mk { padding: var(--sec) 0; --mkw: 28px; }
.mk__body {
  position: relative;
  margin-top: 64px;
  padding: 0 var(--g) 0 calc(var(--g) + var(--mkw) + 26px);
}
.mk__tape {
  position: absolute;
  left: var(--g);
  top: -26px;
  bottom: -18px;
  width: var(--mkw);
}
.mk__strip { position: absolute; inset: -24px; }
.mk__strip .tape { inset: 0; }
html.mk-live .mk__strip { clip-path: inset(0 0 calc(100% - var(--p, 0px) - 24px) 0); }
.mk__roll {
  position: absolute;
  left: 50%;
  top: 0;
  width: 54px;
  height: 54px;
  margin: -27px 0 0 -27px;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 9px, rgba(120, 48, 8, .55) 9px 10px, transparent 10px),
    repeating-radial-gradient(circle, var(--orange) 0 1.6px, #DC6A1E 1.6px 2.3px);
  box-shadow: inset 0 0 0 1px rgba(120, 48, 8, .45), 0 3px 4px rgba(48, 30, 12, .2), 0 12px 18px -8px rgba(48, 30, 12, .45);
  display: none;
}
.mk__roll i {
  position: absolute;
  inset: 17px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .25);
}
.mk__roll i { background: radial-gradient(circle at 36% 32%, #ecebe6, #9c9991 72%); box-shadow: inset 0 0 0 1px rgba(40, 38, 34, .35), 0 1px 2px rgba(0, 0, 0, .3); }
.mk__roll i::after {
  content: '';
  position: absolute;
  left: 18%;
  right: 18%;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
  background: rgba(40, 38, 34, .6);
}
html.mk-live .mk__roll { display: block; }

.mk__list { display: grid; gap: 46px; }
.mk__item { position: relative; transition: opacity .5s, transform .6s var(--ease); }
html.mk-live .mk__item:not(.is-on) { opacity: .28; transform: translateX(10px); }
.mk__n {
  display: block;
  font: 600 12px/1 var(--fb);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--orange-d);
}
.mk__item h3 {
  margin: 10px 0 8px;
  font: 600 clamp(22px, 6.4vw, 34px)/1.12 var(--fh);
  letter-spacing: -.04em;
}
.mk__item p { max-width: 24em; font-size: 15.5px; line-height: 1.5; color: var(--dim); }
.mk__size { font-weight: 700; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }

.mk__pin {
  position: absolute;
  z-index: 2;
  left: 50%;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #4a4a4a, var(--ink) 62%);
  box-shadow: 0 2px 2px rgba(0, 0, 0, .28), 0 6px 8px -3px rgba(0, 0, 0, .3);
  transform: scale(0);
  transition: transform .5s cubic-bezier(.34, 1.8, .5, 1);
}
.mk__pin.is-on, html:not(.mk-live) .mk__pin { transform: scale(1); }

/* заголовок работ: крупный, одним жирным весом; буквы выкладываются по одной */
.wk__title { max-width: none; font-weight: 700; font-size: calc((100vw - 2 * var(--g)) / 7.5); line-height: .95; }
.wk__title > span { display: block; white-space: nowrap; }
.wk__title .ch-l { display: inline-block; will-change: transform; }

/* ── глава 2: работы ───────────────────────────────────────────── */

.works { padding: var(--sec) 0; }
/* работы плывут лентой: сами по себе, касание останавливает, можно
   протянуть пальцем. Без скриптов — обычная горизонтальная прокрутка */
.wk-list {
  --card: min(80vw, 420px);
  --gap: 32px;
  margin-top: 40px;
  padding: 28px 0 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--g);
  scrollbar-width: none;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.wk-list::-webkit-scrollbar { display: none; }
html.mq-live .wk-list { overflow: hidden; scroll-snap-type: none; }
.wk-list.is-drag { cursor: grabbing; }
.wk-track { display: flex; gap: var(--gap); width: max-content; padding: 0 var(--g); will-change: transform; }
.wk { flex: 0 0 var(--card); scroll-snap-align: start; }
.wk img { -webkit-user-drag: none; pointer-events: none; }
.wk__a { display: block; }
.wk__prints { position: relative; aspect-ratio: 1 / .86; }
.wk__d, .wk__m {
  position: absolute;
  background: var(--white);
  border: 5px solid var(--white);
  border-radius: 4px;
  box-shadow: var(--print);
}
.wk__d { left: 0; top: 0; width: 88%; rotate: -1.6deg; }
.wk__m { right: 0; bottom: 0; width: 31%; border-width: 4px; rotate: 2.4deg; }
.wk:nth-child(even) .wk__d { left: auto; right: 0; rotate: 1.4deg; }
.wk:nth-child(even) .wk__m { right: auto; left: 2%; rotate: -2.6deg; }
.wk__label {
  position: absolute;
  z-index: 2;
  top: -12px;
  left: 18px;
  padding: 7px 11px 6px;
  border-radius: 3px;
  background: var(--orange);
  color: var(--ink);
  font: 700 11px/1 var(--fb);
  letter-spacing: .08em;
  text-transform: uppercase;
  rotate: -4deg;
  box-shadow: 0 2px 3px rgba(0, 0, 0, .25);
}
.wk:nth-child(even) .wk__label { left: auto; right: 22px; rotate: 3deg; }
.wk__txt { margin-top: 26px; }
.wk__txt h3 { font: 600 clamp(24px, 6.6vw, 34px)/1.06 var(--fh); letter-spacing: -.045em; }
.wk__txt p { margin-top: 10px; max-width: 22em; font-size: 15.5px; line-height: 1.45; color: var(--dim); }
.wk__url {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 3px;
  font: 500 14.5px/1.2 var(--fb);
  background: linear-gradient(var(--orange), var(--orange)) 0 100% / 100% 1px no-repeat;
}
.wk__url svg { width: 16px; height: 16px; fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
@media (hover: hover) {
  .wk__d, .wk__m { transition: translate .6s var(--ease), rotate .6s var(--ease); }
  .wk__a:hover .wk__d { translate: 0 -6px; }
  .wk__a:hover .wk__m { translate: 0 -12px; rotate: 0deg; }
  .wk__a:hover .wk__url svg { transform: translate(2px, -2px); }
}

/* ссылка на страницу всех работ */
.wk-more { padding: 36px var(--g) 0; }
@media (max-width: 899px) { .wk-all { width: 100%; justify-content: center; } }
.wk-all {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 24px;
  border-radius: 14px;
  border: 1px solid var(--rule);
  font: 600 15.5px/1 var(--fb);
  transition: background-color .3s, border-color .3s, color .3s;
}
.wk-all svg { width: 18px; height: 18px; fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
@media (hover: hover) { .wk-all:hover { border-color: var(--orange); } .wk-all:hover > svg:not(.peek) { transform: translateX(4px); } }

/* кот из мастерской выглядывает из-за кнопки: голова за краем, лапы на краю */
.wk-all { position: relative; }
.wk-all .peek { position: absolute; right: 22px; bottom: calc(100% - 5px); width: 60px; height: 34px; transform: none; stroke: none; overflow: visible; pointer-events: none; }
#peekHead { transform-box: view-box; transform-origin: 30px 30px; }
#peekEarL { transform-box: view-box; transform-origin: 17px 14px; }
#peekEarR { transform-box: view-box; transform-origin: 43px 14px; }
.peek__b { fill: var(--paper); }
.peek__in { fill: var(--orange); opacity: .32; }
.peek__iris { fill: var(--orange); }
.peek__pupil { fill: var(--ink); }
.peek__glint { fill: var(--paper); }
.peek__lid { fill: none; stroke: var(--ink); stroke-width: 1.1; stroke-linecap: round; opacity: 0; }
.peek__nose { fill: var(--orange-d); }
.peek__mouth { fill: none; stroke: var(--ink); stroke-width: .7; stroke-linecap: round; }
.peek__wh { fill: none; stroke: rgba(237, 235, 227, .5); stroke-width: .6; stroke-linecap: round; }
.peek__toe { fill: none; stroke: #B9B4A9; stroke-width: .7; stroke-linecap: round; }

/* ── страница работ: все распечатки сразу, без движения ── */
.wpage { padding: calc(var(--hd) + env(safe-area-inset-top) + 36px) 0 var(--sec); }
.wpage__head { padding: 0 var(--g); }
.wpage__back { display: inline-flex; align-items: center; gap: 8px; font: 500 14.5px/1 var(--fb); color: var(--dim); transition: color .3s; }
.wpage__back svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wpage__back:hover { color: var(--fg); }
.wpage__title { margin-top: 28px; font: 700 clamp(56px, 17vw, 220px)/.95 var(--fh); letter-spacing: -.055em; }
.wpage .ch__lead { margin-top: 22px; }
.wk-grid { margin-top: 84px; padding: 0 var(--g); display: grid; gap: 96px; }
html.wg-live .wk-grid .wk { opacity: 0; transform: translateY(56px) rotate(-1deg); transition: opacity .9s, transform 1.2s var(--ease); }
html.wg-live .wk-grid .wk:nth-child(even) { transform: translateY(56px) rotate(1deg); }
html.wg-live .wk-grid .wk.is-in { opacity: 1; transform: none; }

/* ── услуги и бирка ────────────────────────────────────────────── */

.srv { padding: var(--sec) 0; }
.srv__body { margin-top: 60px; }
.srv__list { margin: 0 var(--g); border-top: 1px solid var(--rule); }
.srv__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 4px 16px;
  padding: 28px 0 30px;
  border-bottom: 1px solid var(--rule);
}
.srv__item h3 { font: 600 clamp(24px, 6.6vw, 56px)/1.08 var(--fh); letter-spacing: -.045em; }
/* срок отмерен линейкой: деление — день, оранжевая полоса — сколько дней */
.srv__rule { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; margin-top: 20px; --max: 20; }
.srv__scale {
  position: relative;
  flex: 1;
  height: 18px;
  border-radius: 3px;
  background:
    repeating-linear-gradient(90deg, rgba(26, 26, 26, .35) 0 1px, transparent 1px calc(100% / var(--max))) 0 100% / 100% 7px no-repeat,
    repeating-linear-gradient(90deg, rgba(26, 26, 26, .55) 0 1px, transparent 1px calc(500% / var(--max))) 0 100% / 100% 12px no-repeat;
  border-bottom: 1px solid rgba(26, 26, 26, .35);
}
.srv__scale i {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 8px;
  width: calc(100% * var(--to) / var(--max));
  border-radius: 2px;
  background: var(--orange);
  transform-origin: left;
  transform: scaleX(var(--k, 1));
  transition: transform 1.4s var(--ease) .2s;
}
html.js .srv__item:not(.is-in) .srv__scale i { --k: 0; }
.srv__rule.is-open .srv__scale i { background: repeating-linear-gradient(90deg, var(--orange) 0 10px, transparent 10px 16px); }
.srv__days { flex: none; font: 500 13px/1.2 var(--fb); color: var(--dim); white-space: nowrap; }
.srv__days b { font: 600 clamp(15px, 4vw, 20px)/1 var(--fh); letter-spacing: -.04em; color: var(--orange-d); }
.srv__text { grid-column: 1 / -1; margin-top: 10px; max-width: 28em; font-size: 15.5px; line-height: 1.5; color: var(--dim); }

.tag-wrap { position: relative; margin-top: 20px; padding: 37px 0 12px; }
.tag__nail {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 30px;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #e6e4de, #8b8880 70%);
  box-shadow: 0 2px 3px rgba(0, 0, 0, .3);
}
.tag {
  /* бирка в потоке: блок растёт вместе с ней, текст ниже не наезжает */
  position: relative;
  width: 236px;
  margin: 0 auto;
  transform-origin: 50% 0;
  touch-action: pan-y;
  will-change: transform;
}
.tag__string { display: block; width: 20px; height: 58px; margin: 0 auto -9px; overflow: visible; }
.tag__string path { fill: none; stroke: #8f8577; stroke-width: 1.5; stroke-linecap: round; }
.tag__card {
  position: relative;
  padding: 36px 24px 24px;
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 1px 1px rgba(30, 20, 10, .08), 0 22px 34px -16px rgba(30, 20, 10, .42);
}
.tag__hole {
  position: absolute;
  left: 50%;
  top: 12px;
  width: 13px;
  height: 13px;
  margin-left: -6.5px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .3), 0 0 0 3px #ECE8DE;
}
.tag__brand { font: 700 17px/1 var(--fh); letter-spacing: -.05em; text-align: center; }
.tag__brand i { font-style: normal; color: var(--orange); }
.tag__title {
  margin: 18px 0 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(26, 26, 26, .3);
  font: 700 11px/1 var(--fb);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.tag__list li { padding: 7px 0; font-size: 14.5px; line-height: 1.3; display: flex; gap: 10px; }
.tag__list li::before { content: ''; flex: none; width: 6px; height: 6px; margin-top: 6px; border-radius: 50%; background: var(--orange); }
.tag__foot {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(26, 26, 26, .3);
  font: 600 12px/1 var(--fb);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, .55);
  text-align: center;
}

.srv__after { margin: 28px var(--g) 0; max-width: 30em; font-size: 15.5px; line-height: 1.5; color: var(--dim); }

/* ── вопросы ───────────────────────────────────────────────────── */

/* вопросы: заголовок во всю ширину (5,4 кегля), каждый вопрос — карточка
   из той же бумаги, что бирка и распечатки, слегка вразнобой */
.faq { padding: 0 0 var(--sec); }
.faq .ch__title { font-size: calc((100vw - 2 * var(--g)) / 5.55); max-width: none; line-height: .9; }
.faq__sub { margin-top: 18px; font-size: 16.5px; line-height: 1.5; color: var(--dim); }
.faq__list { margin: 40px var(--g) 0; display: grid; gap: 12px; }
.faq__item {
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 1px 1px rgba(30, 20, 10, .06), 0 10px 22px -14px rgba(30, 20, 10, .38);
  rotate: -.6deg;
  transition: rotate .5s var(--ease), box-shadow .5s, translate .5s var(--ease);
}
.faq__item:nth-child(even) { rotate: .5deg; }
.faq__item:nth-child(3n) { rotate: -.25deg; }
.faq__item[open] { rotate: 0deg; translate: 0 -2px; box-shadow: 0 1px 1px rgba(30, 20, 10, .06), 0 22px 36px -18px rgba(30, 20, 10, .45); }
.faq__q {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 20px;
  cursor: pointer;
  font: 500 clamp(15.5px, 4.25vw, 24px)/1.3 var(--fh);
  letter-spacing: -.03em;
  -webkit-tap-highlight-color: transparent;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q i { position: relative; flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; background: var(--fg); transition: background-color .3s; }
.faq__q i::before, .faq__q i::after { content: ''; position: absolute; left: 7px; right: 7px; top: 11.25px; height: 1.5px; background: var(--bg); border-radius: 2px; }
.faq__q i::after { transform: rotate(90deg); transition: transform .5s var(--ease); }
.faq__item[open] .faq__q i { background: var(--orange); }
.faq__item[open] .faq__q i::after { transform: rotate(0); }
html.faq-js .faq__item[open]:not(.is-open) .faq__q i { background: var(--fg); }
html.faq-js .faq__item[open]:not(.is-open) .faq__q i::after { transform: rotate(90deg); }
.faq__a > div { overflow: hidden; }
html.faq-js .faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s; }
html.faq-js .faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a p { padding: 0 64px 24px 20px; max-width: 34em; font-size: 15.5px; line-height: 1.55; color: rgba(26, 26, 26, .66); }
.faq__a p::before { content: ''; display: block; height: 1px; margin-bottom: 16px; background: repeating-linear-gradient(90deg, rgba(26, 26, 26, .28) 0 5px, transparent 5px 10px); }

/* ── контакт ───────────────────────────────────────────────────── */

/* финал: огромный вопрос по центру, под ним всё по одной оси.
   Две строки «Обсудим» / «ваш сайт?»; кегль подогнан под ширину
   второй, она длиннее — 6,3 кегля */
.contact {
  container-type: inline-size;
  /* финал — один тёмный экран: контакт по центру, слоган с лентой внизу */
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--hd) + env(safe-area-inset-top) + 32px) var(--g) 0;
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact__title { margin-top: auto; }
.contact > .sign { align-self: stretch; margin: auto calc(-1 * var(--g)) 0; padding-top: clamp(48px, 9svh, 110px); text-align: left; }
.contact__title {
  font: 700 calc((100vw - 2 * var(--g)) / 6.55)/.92 var(--fh);
  font-size: calc(100cqw / 6.45);
  letter-spacing: -.055em;
}
.contact__title span:first-child { display: block; }
.contact__lead { margin-top: 30px; max-width: 21em; font-size: 17px; line-height: 1.5; color: var(--dim); text-wrap: balance; }
.contact .btn--lg { width: 100%; max-width: 420px; margin-top: 34px; }
.contact__links { margin-top: 18px; width: 100%; max-width: 420px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contact__links a {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 15px 10px 14px;
  border: 1px solid var(--rule);
  border-radius: 14px;
  font: 500 clamp(12px, 3.5vw, 13.5px)/1.2 var(--fb);
  white-space: nowrap;
  transition: border-color .3s;
}
.contact__links a span { font-size: 12px; color: var(--dim); }
@media (hover: hover) { .contact__links a:hover { border-color: var(--orange); } }

/* ── мастерская в финале ───────────────────────────────────────── */

/* рисованная сцена между контактами и девизом. Палитра та же, что у
   сайта: бумага, графит, оранжевый. Движение — js/studio.js */
.studio {
  --st-desk: #3A3530;
  --st-desk-l: #4F4941;
  --st-desk-d: #2A2623;
  --st-skin: #EDEBE3;
  --st-skin-d: #CFCAC0;
  --st-hair: #0E0E0E;
  --st-sw: #3B3B3A;
  --st-sw-l: #434241;
  --st-sw-d: #2E2E2D;
  --st-pants: #282828;
  --st-pants-d: #1F1F1F;
  position: relative;
  align-self: stretch;
  margin: 30px 0 0;
  aspect-ratio: 400 / 220;
  max-height: 40svh;
  pointer-events: none;
  -webkit-tap-highlight-color: transparent;
}
.studio svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.contact > .studio + .sign { padding-top: 14px; }

.st-floor ellipse { fill: #141414; }
.st-light { transition: opacity .35s; }
.st-light__cone { fill: var(--paper); opacity: .05; }
.st-light__pool { fill: var(--paper); opacity: .1; transition: opacity .35s; }
.studio.is-dark .st-light, .studio.is-dark .st-light__pool { opacity: 0; }

.st-wall__board { fill: #212120; stroke: #292928; stroke-width: 1.6; }
.st-sheet__p { fill: #CCC8BF; }
.st-sheet__p--d { fill: #BBB7AE; }
.st-sketch { fill: none; stroke: rgba(26, 26, 26, .45); stroke-width: .7; stroke-linecap: round; stroke-linejoin: round; }
.st-sketch--o { stroke: var(--orange); stroke-width: 1.4; }
.st-sketch__btn { fill: rgba(26, 26, 26, .6); }
.st-sw__k { fill: var(--ink); }
.st-sw__o { fill: var(--orange); }
.st-sw__p { fill: var(--paper-2); }
.st-pinhead { fill: var(--orange); }
.st-pinhead--p { fill: var(--paper); }
/* нижний листок держится на одной булавке и чуть качается от сквозняка */
.st-sheet--flap { transform-box: view-box; transform-origin: 45.6px 61.4px; animation: st-flap 3.8s ease-in-out infinite alternate; }
@keyframes st-flap { from { transform: rotate(-3.2deg); } to { transform: rotate(-.4deg); } }
.st-cable { fill: none; stroke: #0F0F0F; stroke-width: 1.2; stroke-linecap: round; }
.st-strip { fill: #2C2C2C; }
.st-strip__led { fill: var(--orange); }
.st-phone__stand { fill: #2A2A2A; }
.st-phone__body { fill: #0D0D0D; stroke: #3A3A3A; stroke-width: .5; }
.st-phone__scr { fill: #161616; }
.st-phone__msg { opacity: 0; transition: opacity .25s; }
.st-phone.is-on .st-phone__msg { opacity: 1; }
.st-phone__lit { fill: #2C2C2B; }
.st-phone__ava { fill: var(--orange); }
.st-phone__line { fill: rgba(237, 235, 227, .8); }
.st-phone__line--d { fill: rgba(237, 235, 227, .4); }
.st-phone__bub { fill: var(--paper); }
.st-leaf { fill: #333331; transform-box: fill-box; transform-origin: 50% 100%; animation: st-sway 4.8s ease-in-out infinite alternate; animation-delay: var(--dl, 0s); }
.st-leaf--d { fill: #2A2A28; }
.st-pot { fill: #2F2F2E; }
.st-pot__rim { fill: #3A3A39; }
@keyframes st-sway { from { transform: rotate(-1.8deg); } to { transform: rotate(1.8deg); } }

.st-desk__top { fill: var(--st-desk); }
.st-desk__edge { fill: var(--st-desk-l); }
.st-desk__leg { fill: var(--st-desk-d); }
.st-kb { fill: #3A3A3A; }
.st-kb__keys { fill: none; stroke: #5A5A58; stroke-width: .9; stroke-dasharray: 1.5 .7; }
.st-mouse { fill: #404040; }

.st-mon__foot { fill: #2A2A2A; }
.st-mon__body { fill: #2C2C2C; }
.st-mon__hl { fill: none; stroke: #404040; stroke-width: .9; stroke-linecap: round; }
.st-mon__scr { fill: #101010; }
.st-mon__dot { fill: var(--orange); }

.st-scr { opacity: 0; transition: opacity .3s; }
.st-scr.is-on { opacity: 1; }
.st-ui0 { fill: #171717; }
.st-ui1 { fill: #1E1E1E; }
.st-ui2 rect, .st-ui3 circle { fill: #343434; }
.st-ui-act { fill: var(--orange); opacity: .22; }
.st-board { fill: var(--paper); }
.st-wire rect { fill: rgba(26, 26, 26, .16); }
.st-wire__img rect { fill: rgba(26, 26, 26, .05); stroke: rgba(26, 26, 26, .3); stroke-width: .5; }
.st-wire__img path { fill: none; stroke: rgba(26, 26, 26, .2); stroke-width: .45; }
.st-ms path { fill: none; stroke: var(--orange); stroke-width: .8; stroke-linecap: round; }
.st-ms__end { opacity: 0; }
.st-ms.is-on .st-ms__end { opacity: 1; }
.st-ms__pill { fill: var(--orange); }
.st-ms__t { fill: var(--paper); }
.st-ms__k { transform-box: fill-box; transform-origin: 50% 50%; transform: scale(0); transition: transform .35s cubic-bezier(.34, 1.8, .5, 1); }
.st-ms.is-on .st-ms__k { transform: none; }
.st-cursor { fill: var(--paper); stroke: var(--ink); stroke-width: .45; stroke-linejoin: round; transition: opacity .25s; }

.st-code0 { fill: #111; }
.st-code1 { fill: #1A1A1A; }
.st-code-tab { fill: var(--orange); }
.st-code-name { fill: rgba(237, 235, 227, .45); }
.st-code-gut { fill: #151515; }
.st-code-bar { fill: var(--orange-d); }
.st-caret { fill: var(--orange); }
.c-t { fill: var(--orange); }
.c-a { fill: rgba(237, 235, 227, .4); }
.c-s { fill: rgba(237, 235, 227, .85); }
.c-p { fill: rgba(237, 235, 227, .6); }
.c-k { fill: rgba(240, 127, 46, .55); }
.c-o { fill: var(--orange); }
.c-n { fill: rgba(237, 235, 227, .22); }

.st-site0 { fill: var(--paper); }
.st-site-ink { fill: var(--ink); }
.st-site-thin { fill: rgba(26, 26, 26, .36); }
.st-site-dim rect { fill: rgba(26, 26, 26, .28); }
.st-site-dot { fill: var(--orange); }
.st-site-btn { fill: var(--paper); }
.st-site-tape { fill: none; stroke: var(--orange); stroke-width: 5.6; stroke-linejoin: round; }
.st-site-ticks { fill: none; stroke: rgba(26, 26, 26, .78); stroke-width: 1.1; stroke-dasharray: .35 1.2; }

.st-note__p { fill: var(--paper); }
.st-note__f { fill: var(--paper-2); }
.st-tally path { fill: none; stroke: var(--ink); stroke-width: .8; stroke-linecap: round; stroke-dasharray: 9; stroke-dashoffset: 9; transition: stroke-dashoffset .25s; }
.st-tally path.is-on { stroke-dashoffset: 0; }

.st-cat__b, .st-cat__tail { fill: var(--paper); }
.st-cat__d { fill: #D8D4CA; }
.st-cat__line { fill: none; stroke: #B9B4A9; stroke-width: .6; stroke-linecap: round; }
.st-cat__in { fill: var(--orange); opacity: .32; }
.st-cat__shut path { fill: none; stroke: var(--ink); stroke-width: .85; stroke-linecap: round; }
.st-cat__iris { fill: var(--orange); }
.st-cat__pupil { fill: var(--ink); }
.st-cat__nose { fill: var(--orange-d); }
.st-cat__mouth { fill: none; stroke: var(--ink); stroke-width: .5; stroke-linecap: round; }
.st-cat__wh { fill: none; stroke: rgba(237, 235, 227, .5); stroke-width: .45; stroke-linecap: round; }

.st-mug__b { fill: var(--paper); }
.st-mug__h { fill: none; stroke: var(--paper); stroke-width: 1.9; }
.st-mug__band { fill: var(--orange); }
.st-steam path { fill: none; stroke: rgba(237, 235, 227, .42); stroke-width: 1.1; stroke-linecap: round; stroke-dasharray: 4 16; animation: st-steam 3.4s linear infinite; animation-delay: var(--dl, 0s); }
@keyframes st-steam {
  from { stroke-dashoffset: 0; opacity: 0; }
  25% { opacity: 1; }
  75% { opacity: .8; }
  to { stroke-dashoffset: -20; opacity: 0; }
}
.st-pin { fill: none; stroke: #9C9890; stroke-width: .6; }
.st-pin__h { fill: var(--paper); }
.st-pin__h--o { fill: var(--orange); }
.st-pin__h--k { fill: #6E6D69; }
.st-cushion { fill: var(--orange-d); }
.st-cushion__seam { fill: none; stroke: rgba(90, 34, 4, .5); stroke-width: .55; }

.st-lamp__base { fill: #3A3A3A; }
.st-lamp__rod { fill: none; stroke: #5A5852; stroke-width: 1.5; stroke-linecap: round; }
.st-lamp__spring { fill: none; stroke: #7A776F; stroke-width: .5; stroke-linecap: round; }
.st-lamp__joint { fill: #4A4945; }
.st-lamp__shade { fill: var(--paper); }
.st-lamp__side { fill: #CFCAC0; }
.st-lamp__bulb { fill: #FFF6E2; transition: fill .35s; }
.studio.is-dark .st-lamp__bulb { fill: #77746D; }

.st-chair__back { fill: #262626; }
.st-chair__bar { fill: none; stroke: #333; stroke-width: 3; stroke-linecap: round; }
.st-chair__lift { fill: #4A4A4A; }
.st-chair__base { fill: none; stroke: #3C3C3C; stroke-width: 3.2; stroke-linecap: round; }
.st-chair__wheel { fill: #121212; stroke: #343434; stroke-width: 1.2; }
.st-chair__seat { fill: #303030; }

.st-thigh, .st-shin { fill: none; stroke: var(--st-pants); stroke-linecap: round; }
.st-thigh { stroke-width: 15; }
.st-shin { stroke-width: 12; }
.st-legs--far .st-thigh, .st-legs--far .st-shin { stroke: var(--st-pants-d); }
.st-legs--far .st-thigh { stroke-width: 14; }
.st-legs--far .st-shin { stroke-width: 11.5; }
.st-thigh__hl { fill: none; stroke: #323232; stroke-width: 1.2; stroke-linecap: round; }
.st-shoe { fill: #0E0E0E; }
.st-sole { fill: none; stroke: #CFCAC0; stroke-width: 1.3; stroke-linecap: round; }

.st-arm { fill: none; stroke: var(--st-sw); stroke-width: 8.6; stroke-linecap: round; stroke-linejoin: round; }
.st-arm--far { stroke: var(--st-sw-d); stroke-width: 8.2; }
.st-cuff { fill: none; stroke: var(--st-sw-d); stroke-width: 8.8; }
.st-cuff--far { stroke: #262625; stroke-width: 8.4; }
.st-hand { fill: var(--st-skin); }
.st-hand--far { fill: var(--st-skin-d); }
.st-knuckle { fill: none; stroke: #D3CEC3; stroke-width: .6; stroke-linecap: round; }

.st-sw { fill: var(--st-sw); }
.st-sw-l { fill: var(--st-sw-l); }
.st-sw-d { fill: var(--st-sw-d); }
.st-skin { fill: var(--st-skin); }
.st-skin-d { fill: var(--st-skin-d); }
.st-neck { fill: #DAD5CA; }
.st-collar { fill: none; stroke: var(--st-sw-d); stroke-width: 2.2; stroke-linecap: round; }
.st-neck-tape { fill: none; stroke: var(--orange); stroke-width: 4.2; }
.st-hair { fill: var(--st-hair); }
.st-hair__hl { fill: none; stroke: #3A3A3A; stroke-width: .9; stroke-linecap: round; }
.st-ear { fill: none; stroke: #B3AEA2; stroke-width: .6; stroke-linecap: round; }
.st-brow { fill: none; stroke: var(--st-hair); stroke-width: 1.1; stroke-linecap: round; }
.st-eye { fill: var(--ink); }
.st-lens { fill: var(--paper); fill-opacity: .1; stroke: #0E0E0E; stroke-width: 1; }
.st-frame { fill: none; stroke: #0E0E0E; stroke-width: .9; stroke-linecap: round; }
.st-glint { fill: none; stroke: #fff; stroke-width: .55; stroke-linecap: round; opacity: .7; }
.st-mouth { fill: none; stroke: #A39D91; stroke-width: .8; stroke-linecap: round; }

.st-tape { fill: none; stroke: var(--orange); stroke-width: 4.2; stroke-linejoin: round; }
.st-tape__ticks { fill: none; stroke: rgba(26, 26, 26, .8); stroke-width: 1.1; stroke-dasharray: .4 1.15; }
.st-tape__tip { fill: none; stroke: #A9A69F; stroke-width: 4.4; }

/* лампу можно выключить, кота — разбудить */
.st-hit { fill: transparent; pointer-events: all; cursor: pointer; }
.studio.is-paused * { animation-play-state: paused !important; }

/* подпись в конце страницы: девиз ровно во всю ширину и лента под ним.
   Делители — измеренная ширина строки в кеглях Unbounded */
.sign { position: relative; padding: clamp(56px, 9vw, 110px) var(--g) calc(var(--tw) + clamp(36px, 6vw, 80px)); color: var(--fg); overflow: hidden; }
.sign__t { position: relative; z-index: 2; font-family: var(--fh); line-height: .98; letter-spacing: -.05em; }
.sign__l { display: block; white-space: nowrap; }
.sign__l span { font-weight: 300; color: var(--dim); }
.sign__l b { font-weight: 700; }
.sign__t { container-type: inline-size; }
.sign__l--1 { font-size: calc((100vw - 2 * var(--g)) / 12.2); font-size: calc(100cqw / 12); }
.sign__l--2 { font-size: calc((100vw - 2 * var(--g)) / 11.9); font-size: calc(100cqw / 11.7); }
.sign__tape { z-index: 3; }
.ft { padding: 0 0 calc(26px + env(safe-area-inset-bottom)); font-size: 14px; color: var(--dim); }
.ft__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 0 var(--g);
  padding-top: 26px;
  border-top: 1px solid var(--rule);
}
.ft .logo { color: var(--fg); font-size: 18px; }

/* ── планшет и компьютер ──────────────────────────────────────── */

@media (min-width: 900px) {
  :root {
    --hd: 80px;
    --tw: clamp(40px, 3.3vw, 54px);
    --h1: clamp(64px, min(8.2vw, 13.4vh), 156px);
  }

  .logo { font-size: 24px; }
  .hd { gap: 34px; }
  .hd__nav { display: flex; gap: 30px; margin-left: auto; font: 500 15px/1 var(--fb); }
  .hd__nav a { position: relative; padding: 6px 0; }
  .hd__nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
  .hd__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
  .hd__cta { margin-left: 0; height: 44px; padding: 0 20px; font-size: 14.5px; border-radius: 12px; }
  .hd__burger { display: none; }

  .hero { padding-top: calc(var(--hd) + 7vh); padding-bottom: 56px; }
  .hero__lead { margin-top: 44px; max-width: 24em; font-size: 18px; }
  .hero__cta { flex-direction: row; align-items: center; gap: 30px; }
  .tape__hint { font-size: 14px; }

  .ch { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
  .ch__title { grid-column: 1 / span 8; max-width: 9.5ch; }
  .ch__lead { grid-column: 9 / -1; margin: 0 0 .6em; font-size: 18px; }

  /* мерки: лента по левому полю, каждая мерка — строка «вопрос | ответ» */
  .mk .ch { grid-template-columns: 1fr; }
  .wk__title { font-size: clamp(72px, 7.4vw, 130px); }
  .mk__title { grid-column: 1; max-width: 62%; }
  .mk__t1 { font-size: calc(100cqw * .62 / 5.1); }
  .mk__t2 { font-size: calc(100cqw * .62 / 5.72); }
  .mk__t3 { font-size: calc(100cqw * .62 / 4.22); }
  .mk .ch__lead { grid-column: 1; margin: 36px 0 0; max-width: 30em; }
  .mk { --mkw: 36px; }
  .mk__body { margin-top: 120px; padding-left: calc(var(--g) + var(--mkw) + 9vw); }
  .mk__tape { left: calc(var(--g) + 4vw); }
  .mk__list { gap: 72px; }
  .mk__item { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 48px; align-items: end; }
  .mk__n { grid-column: 1 / -1; }
  .mk__item h3 { margin: 14px 0 0; font-size: clamp(32px, 3.6vw, 60px); line-height: 1.04; }
  .mk__item p { font-size: 17px; padding-bottom: .3em; }
  .mk__roll { width: 68px; height: 68px; margin: -34px 0 0 -34px; }
  .mk__roll i { inset: 22px; }

  .wk-list { --card: clamp(400px, 34vw, 600px); --gap: 72px; margin-top: 100px; padding-top: 40px; }
  .wk__d { border-width: 8px; }
  .wk__m { border-width: 6px; }
  .wk__label { font-size: 12px; padding: 9px 14px 8px; top: -16px; left: 32px; }
  .wk__txt p { font-size: 17px; }

  .wk-more { padding-top: 64px; }
  .wpage { padding-top: calc(var(--hd) + 9vh); }
  .wpage__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
  .wpage__back { grid-column: 1 / -1; }
  .wpage__title { grid-column: 1 / span 7; font-size: clamp(88px, 9.4vw, 168px); }
  .wpage .ch__lead { grid-column: 9 / -1; margin: 0 0 .8em; font-size: 18px; }
  .wk-grid { margin-top: 140px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 140px 80px; }
  .wk-grid .wk:nth-child(even) { margin-top: 200px; }
  .wk-grid .wk__txt h3 { font-size: clamp(30px, 2.8vw, 46px); }
  .srv__body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding: 0 var(--g); margin-top: 110px; }
  .srv__list { grid-column: 1 / span 8; margin: 0; }
  .srv__item { padding: 40px 0 42px; }
  .srv__text { font-size: 17px; }
  .srv__rule { margin-top: 26px; max-width: 640px; }
  .srv__days b { font-size: 24px; }
  .tag-wrap { grid-column: 9 / -1; margin: -90px 0 0; }
  .tag { width: 260px; }
  .srv__after { margin-left: var(--g); font-size: 17px; }

  /* вопросы: заголовок слева и остаётся на месте, список справа — оба от одной верхней линии */
  .faq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; padding-left: var(--g); padding-right: var(--g); }
  .faq .ch { grid-column: 1 / span 4; display: block; padding: 22px 0 0; border-top: 1px solid var(--rule); position: sticky; top: calc(var(--hd) + 40px); }
  .faq .ch__title { font-size: clamp(44px, 5vw, 84px); max-width: none; }
  .faq__sub { padding: 0; font-size: 17px; max-width: 18em; }
  .faq .ch .faq__sub { margin-top: 22px; }
  .faq__list { grid-column: 6 / -1; margin: 0; }
  .faq__q { padding: 28px 26px; }
  .faq__a p { padding-left: 26px; }
  .faq__a p { font-size: 17px; }

  .contact__title { font-size: min(calc(100cqw / 6.45), 17vh); }
  .contact__lead { margin-top: 40px; font-size: 19px; }
  .contact .btn--lg { width: auto; padding: 0 40px; margin-top: 40px; }
  .contact__links { margin-top: 22px; max-width: 520px; }
  .contact__links a { font-size: 15px; }
}

@media (min-width: 1500px) {
  .mk__list { max-width: 1320px; }
}

/* ── без анимаций ─────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
