/* Vitrine — мир моментальной фотографии.
   Поля проявителя (петроль), белые рамки снимков, подписи маркером,
   жёлтый цвет коробки плёнки — только для действия. */

@font-face {
  font-family: "Geologica";
  src: url("../fonts/geologica-cyrillic.woff2") format("woff2");
  font-weight: 300 800; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Geologica";
  src: url("../fonts/geologica-latin.woff2") format("woff2");
  font-weight: 300 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Golos Text";
  src: url("../fonts/golos-cyrillic.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Golos Text";
  src: url("../fonts/golos-latin.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Shantell Sans";
  src: url("../fonts/shantell-cyrillic.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Shantell Sans";
  src: url("../fonts/shantell-latin.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* проявитель */
  --chem: oklch(0.37 0.083 226);
  --chem-hi: oklch(0.45 0.09 220);
  --chem-deep: oklch(0.235 0.05 234);
  --chem-cast: oklch(0.64 0.085 208);
  --on-chem: oklch(0.985 0.004 210);
  --on-chem-2: oklch(0.87 0.035 214);
  /* бумага и стол */
  --frame: oklch(0.988 0.003 95);
  --ground: oklch(0.958 0.007 222);
  --table: oklch(0.918 0.013 222);
  --line: oklch(0.84 0.016 224);
  /* чернила */
  --ink: oklch(0.205 0.026 246);
  --ink-2: oklch(0.415 0.026 240);
  --ink-3: oklch(0.52 0.022 238);
  --marker: oklch(0.22 0.035 258);
  /* коробка плёнки — действие */
  --film: oklch(0.855 0.15 87);
  --film-hi: oklch(0.89 0.14 92);
  --film-lo: oklch(0.8 0.15 82);
  /* ошибки */
  --err: oklch(0.5 0.17 28);
  --err-on-chem: oklch(0.88 0.095 62);

  --focus: var(--chem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-develop: cubic-bezier(0.25, 0.6, 0.2, 1);

  --gutter: clamp(20px, 4.2vw, 64px);
  --header-h: 68px;

  --f-display: "Geologica", "Golos Text", system-ui, sans-serif;
  --f-body: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-marker: "Shantell Sans", "Golos Text", system-ui, sans-serif;

  --shadow-print:
    0 1px 1px oklch(0.2 0.03 240 / 0.12),
    0 6px 14px -4px oklch(0.18 0.04 240 / 0.28),
    0 26px 48px -18px oklch(0.16 0.05 240 / 0.42);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  font: 400 1.0625rem/1.55 var(--f-body);
  color: var(--ink);
  background: var(--ground);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; }

.wrap { width: min(100% - 2 * var(--gutter), 1280px); margin-inline: auto; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 8px;
  background: var(--film); color: var(--ink); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ───────── Кнопки ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 52px; padding: 0 1.4em;
  border: 0; border-radius: 8px;
  font: 600 1rem/1 var(--f-body); letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out), color 0.2s;
}
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 40px; padding: 0 1em; font-size: 0.9375rem; }
.btn--film {
  background: var(--film); color: var(--ink);
  box-shadow: 0 8px 18px -10px oklch(0.15 0.05 240 / 0.6);
}
.btn--film:hover { background: var(--film-hi); transform: translateY(-1px); box-shadow: 0 14px 24px -12px oklch(0.15 0.05 240 / 0.6); }
.btn--ink { background: var(--ink); color: var(--frame); }
.btn--ink:hover { background: oklch(0.3 0.04 240); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px oklch(0.205 0.026 246 / 0.55); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); background: oklch(0.205 0.026 246 / 0.05); }
.btn[aria-busy="true"] { cursor: progress; }
.btn[aria-busy="true"]::after {
  content: ""; width: 1em; height: 1em; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { rotate: 1turn; } }

/* ───────── Шапка ───────── */
.top {
  position: sticky; top: 0; z-index: 50;
  background: var(--chem); color: var(--on-chem);
  --focus: var(--film);
  box-shadow: 0 1px 0 oklch(1 0 0 / 0.08);
}
.top__in { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.logo {
  font: 800 1.5rem/1 var(--f-display); letter-spacing: -0.04em;
  text-decoration: none; color: inherit;
}
.nav { margin-left: auto; }
.nav__list { list-style: none; display: flex; gap: clamp(16px, 2.4vw, 36px); }
.nav__list a {
  font-size: 0.9375rem; font-weight: 500; color: var(--on-chem-2);
  text-decoration: none; padding: 8px 0;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: color 0.2s, background-size 0.35s var(--ease-out);
}
.nav__list a:hover { color: var(--on-chem); background-size: 100% 1.5px; }
.nav__toggle {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 8px;
  background: transparent; color: inherit; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav__toggle .icon { width: 26px; height: 26px; }
.nav__toggle .i-close { display: none; }
.nav__toggle[aria-expanded="true"] .i-open { display: none; }
.nav__toggle[aria-expanded="true"] .i-close { display: inline; }

/* ───────── Снимок (общий объект мира) ───────── */
.print {
  container-type: inline-size;
  position: relative;
  background: var(--frame);
  border-radius: 3px;
  box-shadow: var(--shadow-print);
  color: var(--marker);
}
.print__img {
  position: relative; overflow: hidden;
  margin: 4.2cqi 4.2cqi 0;
  aspect-ratio: 16 / 10;
  background: var(--chem-deep);
}
.print__img img { width: 100%; height: 100%; object-fit: cover; }
.print__cap {
  display: flex; align-items: center; justify-content: space-between; gap: 4cqi;
  height: 15cqi; padding: 0 5cqi;
  font: 500 max(13px, 4.1cqi)/1.1 var(--f-marker);
  letter-spacing: -0.005em;
}
.print__handle { font-size: 0.78em; opacity: 0.78; }
.print--sq .print__img { margin: 6.5cqi 6.5cqi 0; aspect-ratio: 1; }
.print--sq .print__cap { height: 23cqi; padding: 0 7cqi; font-size: max(12px, 9cqi); }
.print--xs .print__img { margin: 6cqi 6cqi 0; }
.print--xs .print__cap { height: 17cqi; }

/* Химия проявителя: мутное поле, которое уходит, когда снимок проявился */
.print__chem {
  position: absolute; inset: -2px; z-index: 3; pointer-events: none;
  opacity: 0;
  background: linear-gradient(172deg, oklch(0.31 0.025 228), oklch(0.29 0.026 230));
}

/* Проявление: снимок появляется из темноты через голубой оттенок */
@keyframes develop {
  0%   { filter: brightness(0.16) saturate(0) contrast(0.6) blur(10px); transform: scale(1.03); }
  32%  { filter: brightness(0.5) saturate(0.25) contrast(0.75) sepia(0.35) hue-rotate(150deg) blur(5px); }
  68%  { filter: brightness(0.92) saturate(0.8) contrast(0.93) sepia(0.12) hue-rotate(40deg) blur(1px); }
  100% { filter: none; transform: none; }
}
@keyframes chem-out {
  0% { opacity: 1; }
  45% { opacity: 0.7; }
  100% { opacity: 0; }
}

html.js-develop [data-develop] .print__img img { filter: brightness(0.16) saturate(0) contrast(0.6) blur(10px); }
html.js-develop [data-develop] .print__chem { opacity: 1; }
html.js-develop [data-develop].is-developed .print__img img { animation: develop 3.6s var(--ease-develop) both; }
html.js-develop [data-develop].is-developed .print__chem { animation: chem-out 3.2s var(--ease-develop) both; }

/* ───────── Поле проявителя ───────── */
.chem {
  --focus: var(--film);
  color: var(--on-chem);
  background:
    radial-gradient(70% 60% at 78% 32%, oklch(0.44 0.088 218 / 0.9), transparent 70%),
    radial-gradient(60% 50% at 8% 100%, oklch(0.31 0.07 236 / 0.8), transparent 70%),
    var(--chem);
}

/* ───────── Первый экран ───────── */
.hero { overflow: clip; padding-top: clamp(28px, 5vh, 64px); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: center;
}
.hero__title {
  font: 800 clamp(2.5rem, 1.15rem + 4.5vw, 5.4rem)/0.98 var(--f-display);
  letter-spacing: -0.037em;
  text-wrap: balance;
  margin-bottom: 0.38em;
}
.hero__lead {
  font-size: clamp(1.125rem, 0.98rem + 0.55vw, 1.375rem);
  line-height: 1.45;
  color: var(--on-chem-2);
  max-width: 31ch;
  margin-bottom: clamp(28px, 3.6vw, 44px);
  text-wrap: pretty;
}

/* Форма ника */
.nick { max-width: 610px; }
.nick__label { display: block; font-weight: 600; font-size: 0.9375rem; margin-bottom: 10px; color: var(--on-chem-2); }
.nick__row { display: flex; gap: 10px; }
.nick__field {
  flex: 1; min-width: 0;
  display: flex; align-items: center;
  min-height: 60px; padding-left: 18px;
  background: var(--frame); color: var(--ink);
  border-radius: 8px;
  box-shadow: 0 10px 24px -14px oklch(0.12 0.05 240 / 0.7);
  transition: box-shadow 0.2s;
}
.nick__field:focus-within { box-shadow: 0 0 0 3px var(--film), 0 10px 24px -14px oklch(0.12 0.05 240 / 0.7); }
.nick__at { font: 600 1.25rem/1 var(--f-body); color: var(--ink-3); }
.nick__input {
  flex: 1; min-width: 0; height: 60px;
  border: 0; background: transparent; outline: none;
  padding: 0 14px 0 4px;
  font: 500 1.125rem/1 var(--f-body); color: var(--ink);
}
.nick__input::placeholder { color: var(--ink-3); opacity: 1; }
.nick__submit { min-height: 60px; padding: 0 1.55em; font-size: 1.0625rem; }
.nick.is-invalid .nick__field { box-shadow: 0 0 0 3px var(--err-on-chem), 0 10px 24px -14px oklch(0.12 0.05 240 / 0.7); }
.nick__error {
  margin-top: 12px; max-width: 52ch;
  font-weight: 500; font-size: 0.9688rem; line-height: 1.4;
  color: var(--err-on-chem);
}
.nick__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 28px; margin-top: 18px; }
.nick__address {
  font: 500 1.125rem/1.3 var(--f-marker); color: var(--on-chem);
  overflow-wrap: anywhere;
}
.nick__address [data-address] {
  background: linear-gradient(var(--film), var(--film)) 0 100% / 100% 2px no-repeat;
  padding-bottom: 1px;
}
.nick__count { font-size: 0.9375rem; color: var(--on-chem-2); }

/* Разложенные снимки */
.hero__spread {
  container-type: inline-size;
  position: relative;
  aspect-ratio: 1 / 0.9;
  margin-right: calc(var(--gutter) * -0.25);
}
.spread__wide {
  position: absolute; left: 1%; top: 3%; width: 90%;
  rotate: -2.2deg; z-index: 2;
}
.spread__wide .print__img img {
  position: absolute; inset: 0; opacity: 0;
}
.spread__wide .print__img img.is-current { opacity: 1; z-index: 2; }
.spread__wide .print__img img.is-prev { opacity: 1; z-index: 1; }
.spread__wide.run .print__img img.is-current { animation: develop 3.4s var(--ease-develop) both; }
.spread__wide.run .print__chem { animation: chem-out 3s var(--ease-develop) both; }
.spread__wide .print__cap { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0.15em; }

.spread__sq { position: absolute; width: 19%; z-index: 3; }
.spread__sq--1 { left: 44%; bottom: 3%; rotate: -7deg; }
.spread__sq--2 { left: 57.5%; bottom: 0; rotate: 4deg; z-index: 4; }
.spread__sq--3 { left: 70%; bottom: 4.5%; rotate: -3deg; z-index: 5; }
.spread__sq--4 { left: 82%; bottom: 0.5%; rotate: 7deg; z-index: 6; }
.spread__sq .print__cap { font-size: max(12px, 10cqi); }

/* ───────── Лента «Сейчас собираются» ───────── */
.feed { padding: clamp(44px, 6vw, 84px) 0 clamp(40px, 5vw, 64px); }
.feed__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.feed__title {
  display: flex; align-items: center; gap: 12px;
  font: 700 clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem)/1.1 var(--f-display); letter-spacing: -0.02em;
}
.feed__pause {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: oklch(1 0 0 / 0.1); color: var(--on-chem); cursor: pointer;
  transition: background-color 0.2s;
}
.feed__pause:hover { background: oklch(1 0 0 / 0.18); }
.feed__pause .icon { width: 18px; height: 18px; }
.feed__pause .i-play { display: none; }
.feed__pause[aria-pressed="true"] .i-play { display: inline; }
.feed__pause[aria-pressed="true"] .i-pause { display: none; }

.feed__viewport {
  overflow-x: auto; overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding-block: 10px 6px;
}
.feed__viewport::-webkit-scrollbar { display: none; }
.feed__track {
  list-style: none; display: flex; gap: clamp(20px, 2.4vw, 32px);
  width: max-content;
  padding-inline: var(--gutter);
}
.feed__item { flex: none; width: clamp(128px, 11vw, 158px); }
.feed__item .print { width: 84%; }
.feed__item:nth-child(4n+1) .print { rotate: -2.5deg; }
.feed__item:nth-child(4n+2) .print { rotate: 1.8deg; }
.feed__item:nth-child(4n+3) .print { rotate: -1deg; }
.feed__item:nth-child(4n) .print { rotate: 2.6deg; }
.feed__item .print__img { aspect-ratio: 1; }
.feed__item.is-pending .print__img img { filter: grayscale(1) brightness(0.7) blur(1.5px); }
.feed__item.is-pending .print__chem { opacity: 0.45; }
.feed__name { margin-top: 16px; font-size: 0.9375rem; line-height: 1.3; font-weight: 500; color: var(--on-chem); }
.feed__state { margin-top: 4px; font-size: 0.875rem; color: var(--on-chem-2); }
.feed__item.is-pending .feed__state { font-family: var(--f-marker); color: var(--on-chem); }

html.js-develop .feed__viewport.is-looping {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
html.js-develop .feed__viewport.is-looping .feed__track { animation: marquee 80s linear infinite; }
.feed__viewport.is-looping:hover .feed__track,
.feed__viewport.is-looping:focus-within .feed__track,
.feed__viewport.is-looping.is-paused .feed__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ───────── Заголовки разделов ───────── */
.h2 {
  font: 800 clamp(2.125rem, 1.25rem + 2.9vw, 3.9rem)/1.02 var(--f-display);
  letter-spacing: -0.034em;
  text-wrap: balance;
}

/* ───────── Как это работает ───────── */
.how { padding: clamp(84px, 11vw, 160px) 0 clamp(80px, 10vw, 140px); }
.how .h2 { margin-bottom: clamp(48px, 6vw, 88px); }
.steps {
  list-style: none;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.22fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
}
.step { display: flex; flex-direction: column; }
.step__art { height: 230px; display: flex; align-items: center; justify-content: flex-start; margin-bottom: 30px; }
.step__num {
  font: 600 2.5rem/1 var(--f-marker); color: var(--chem);
  margin-bottom: 12px;
}
.step__title { font: 700 clamp(1.375rem, 1.2rem + 0.5vw, 1.625rem)/1.15 var(--f-display); letter-spacing: -0.022em; margin-bottom: 10px; text-wrap: balance; }
.step__text { color: var(--ink-2); max-width: 32ch; text-wrap: pretty; }

.art-input {
  width: min(100%, 320px);
  display: flex; align-items: center; gap: 4px;
  height: 64px; padding: 0 20px;
  background: var(--frame); border-radius: 8px;
  box-shadow: 0 0 0 1px var(--line), 0 14px 30px -18px oklch(0.2 0.05 240 / 0.5);
  font: 500 1.0625rem/1 var(--f-body); color: var(--ink-3);
  rotate: -2deg;
}
.art-input__at { font-weight: 600; font-size: 1.2rem; }
.art-input__caret { width: 2px; height: 26px; background: var(--chem); margin-left: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .art-input__caret { animation: caret 1.1s steps(1) infinite; }
}
@keyframes caret { 50% { opacity: 0; } }

.step--2 .print { width: min(100%, 400px); rotate: 1.6deg; }

.art-bio {
  width: min(100%, 300px);
  display: grid; gap: 12px;
  padding: 20px 20px 22px;
  background: var(--frame);
  border-radius: 26px 26px 6px 6px;
  box-shadow: 0 0 0 1px var(--line), 0 14px 30px -18px oklch(0.2 0.05 240 / 0.5);
  rotate: -1.4deg;
}
.art-bio__name { font: 700 1rem/1.2 var(--f-body); color: var(--ink); }
.art-bio__link {
  display: flex; align-items: center; gap: 8px;
  font: 600 1rem/1.2 var(--f-body); color: var(--chem);
  padding: 11px 14px; border-radius: 10px;
  background: oklch(0.37 0.083 226 / 0.08);
}
.art-bio__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin-top: 2px; }
.art-bio__tiles img { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* ───────── Работы ───────── */
.works { background: var(--table); padding: clamp(84px, 10vw, 150px) 0 clamp(72px, 9vw, 130px); }
.works__head {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: end; gap: 20px 48px;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.works__lead { font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3125rem); line-height: 1.45; color: var(--ink-2); max-width: 34ch; text-wrap: pretty; }

.work {
  display: grid;
  grid-template-columns: minmax(0, 4.1fr) minmax(0, 1fr) minmax(0, 8fr);
  align-items: center;
  column-gap: clamp(8px, 1.6vw, 24px);
  padding-block: clamp(44px, 6vw, 84px);
  border-top: 1px solid var(--line);
}
.work__id { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.work__avatar { width: 54px; height: 54px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line); background: var(--frame); }
.work__handle { font: 700 1.125rem/1.25 var(--f-body); overflow-wrap: anywhere; }
.work__niche { color: var(--ink-2); font-size: 0.9375rem; line-height: 1.35; margin-top: 2px; }
.grid9 { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.grid9 img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--line); }
.work__arrow {
  width: 100%; max-width: 116px; justify-self: center;
  fill: none; stroke: var(--marker); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
}
.work__result .print { rotate: -1.2deg; }
.work--2 .work__result .print { rotate: 1.1deg; }
.work--3 .work__result .print { rotate: -0.6deg; }
.work__result .print__cap { font-size: max(14px, 3.8cqi); }
.work__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.works__more { border-top: 1px solid var(--line); padding-top: clamp(32px, 4vw, 48px); }
.link-more {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem)/1.2 var(--f-display); letter-spacing: -0.02em;
  text-decoration: none; color: var(--ink);
}
.link-more .icon { transition: translate 0.3s var(--ease-out); }
.link-more:hover { color: var(--chem); }
.link-more:hover .icon { translate: 6px 0; }

/* ───────── Тарифы ───────── */
.pricing { padding: clamp(84px, 11vw, 160px) 0; }
.pricing__title { max-width: 16ch; margin-bottom: clamp(48px, 6vw, 88px); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3.6vw, 56px); align-items: start; }
.plan { display: flex; flex-direction: column; align-items: flex-start; }
.print--plan { width: min(100%, 290px); margin-bottom: 36px; }
.plan--free .print--plan { rotate: -2deg; }
.plan--pro .print--plan { rotate: 1.6deg; }
.plan--soon .print--plan { rotate: -0.8deg; }
.print--plan .print__img { margin: 6.5cqi 6.5cqi 0; aspect-ratio: 1 / 0.86; display: grid; place-items: center; }
.print--plan .print__cap { height: 21cqi; padding: 0 7cqi; }
.print--plan .print__cap h3 { font: 600 max(16px, 9cqi)/1 var(--f-marker); }
.plan__face { color: var(--on-chem); background: var(--chem); }
.plan--pro .plan__face { background: var(--table); color: var(--ink); }
.plan--soon .plan__face { background: var(--chem-deep); }
.plan__price {
  position: relative; z-index: 4;
  font: 800 25cqi/0.9 var(--f-display); letter-spacing: -0.045em;
  text-align: center;
}
.plan__price span { display: block; margin-top: 0.4em; font: 500 max(13px, 6cqi)/1 var(--f-body); letter-spacing: 0; }
.plan--soon .plan__price { color: oklch(0.86 0.04 212 / 0.72); }
.plan--soon .print__chem { opacity: 0.9; }
.plan__lead { font: 700 1.375rem/1.2 var(--f-display); letter-spacing: -0.02em; margin-bottom: 18px; }
.ticks { list-style: none; display: grid; gap: 11px; color: var(--ink-2); }
.ticks li { position: relative; padding-left: 30px; line-height: 1.4; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.12em;
  width: 20px; height: 20px; background: var(--chem);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.8c1.6 1.3 3.2 3 4.4 4.9 2.6-5 6-8.9 10.6-12'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.8c1.6 1.3 3.2 3 4.4 4.9 2.6-5 6-8.9 10.6-12'/%3E%3C/svg%3E") center / contain no-repeat;
}
.plan--soon .ticks li::before { background: var(--ink-3); }
.plan__cta { margin-top: 32px; }
.plan__soon {
  margin-top: 32px; display: inline-flex; align-items: center; min-height: 52px; padding: 0 1.3em;
  border-radius: 8px; font-weight: 600; color: var(--ink-2);
  box-shadow: inset 0 0 0 1.5px var(--line);
  background: repeating-linear-gradient(-45deg, transparent 0 7px, oklch(0.84 0.016 224 / 0.45) 7px 8px);
}

/* ───────── Вопросы ───────── */
.faq { background: var(--frame); padding: clamp(84px, 10vw, 150px) 0; }
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px clamp(32px, 5vw, 80px); align-items: start; }
.faq__title { position: sticky; top: calc(var(--header-h) + 32px); }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0;
  font: 600 clamp(1.0625rem, 1rem + 0.3vw, 1.25rem)/1.35 var(--f-body);
  transition: color 0.2s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--chem); }
.qa__icon { width: 24px; height: 24px; color: var(--chem); }
.qa__v { transform-origin: 12px 12px; transition: transform 0.35s var(--ease-out); }
.qa[open] .qa__v { transform: scaleY(0); }
.qa p { padding: 0 48px 26px 0; color: var(--ink-2); max-width: 62ch; text-wrap: pretty; }

/* ───────── Финал ───────── */
.final { padding: clamp(84px, 11vw, 160px) 0; overflow: clip; }
.final__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(40px, 5vw, 88px); align-items: center; }
.final__title {
  font: 800 clamp(2.25rem, 1.2rem + 3.3vw, 4.4rem)/1 var(--f-display);
  letter-spacing: -0.036em; text-wrap: balance;
  margin-bottom: clamp(32px, 4vw, 48px);
}
.final__print { rotate: 2.2deg; width: 100%; max-width: 440px; justify-self: end; }
.final__print .print__chem { opacity: 1; }
.final__print .print__cap { font-size: max(16px, 5.2cqi); }
.final__addr { overflow-wrap: anywhere; }
.final__addr [data-address] {
  background: linear-gradient(var(--film), var(--film)) 0 92% / 100% 0.14em no-repeat;
}
.final__print.is-flash .print__img::after {
  content: ""; position: absolute; inset: 0; z-index: 5; background: var(--frame);
  animation: flash 0.6s var(--ease-out) both;
}
@keyframes flash { 0% { opacity: 0; } 18% { opacity: 0.95; } 100% { opacity: 0.25; } }

/* ───────── Подвал ───────── */
.foot { background: var(--chem-deep); color: var(--on-chem-2); padding-top: clamp(64px, 7vw, 96px); overflow: clip; --focus: var(--film); }
.foot__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
.foot .logo { color: var(--on-chem); font-size: 1.75rem; margin-bottom: 18px; }
.foot__legal { font-size: 0.875rem; line-height: 1.5; max-width: 40ch; }
.foot__legal + .foot__legal { margin-top: 6px; }
.foot__label { font-size: 0.875rem; font-weight: 600; color: var(--chem-cast); margin-bottom: 14px; }
.foot__col ul { list-style: none; display: grid; gap: 10px; }
.foot__col a { color: var(--on-chem); text-decoration: none; }
.foot__col a:hover { color: var(--film); }
.foot__magic {
  margin-top: clamp(56px, 8vw, 120px);
  padding-inline: var(--gutter);
  padding-bottom: 0.04em;
  font: 800 min(calc((100vw - 2 * var(--gutter)) / 7.25), 13.5rem)/0.95 var(--f-display);
  letter-spacing: -0.04em;
  color: var(--chem-cast);
  white-space: nowrap;
}
.foot__magic span { display: block; }
.foot__magic span + span { padding-left: 0.9em; margin-top: 0.14em; color: var(--on-chem-2); }

/* ───────── Адаптив ───────── */
@media (max-width: 1100px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); }
  .work { grid-template-columns: minmax(0, 4.4fr) minmax(0, 0.9fr) minmax(0, 7.4fr); }
}

@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__spread { width: min(100%, 620px); margin: 8px auto 0; }
  .final__grid { grid-template-columns: 1fr; }
  .final__print { justify-self: center; max-width: 300px; }
  .steps { grid-template-columns: 1fr; gap: 64px; }
  .step__art { height: auto; min-height: 0; margin-bottom: 28px; }
  .works__head { grid-template-columns: 1fr; }
  .work { grid-template-columns: 1fr; row-gap: 8px; }
  .work__profile { max-width: 420px; }
  .work__arrow { rotate: 70deg; max-width: 84px; height: 72px; justify-self: start; margin-left: 18%; }
  .plans { grid-template-columns: 1fr; gap: 72px; }
  .plan { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); column-gap: 40px; align-items: start; }
  .plan .print--plan { grid-row: 1 / span 4; }
  .plan__cta, .plan__soon { justify-self: start; }
  .faq__grid { grid-template-columns: 1fr; }
  .faq__title { position: static; }
}

@media (max-width: 860px) {
  .nav__toggle { display: inline-flex; margin-right: -10px; }
  .top__in { gap: 12px; }
  .nav { margin-left: 0; order: 3; }
  .top .btn { margin-left: auto; }
  .nav__list {
    display: none;
    position: absolute; left: 0; right: 0; top: var(--header-h); z-index: 60;
    flex-direction: column; gap: 0;
    height: calc(100dvh - var(--header-h)); overflow-y: auto;
    padding: 8px var(--gutter) 24px;
    background: var(--chem);
    box-shadow: 0 1px 0 oklch(1 0 0 / 0.08), 0 24px 40px -20px oklch(0.1 0.04 240 / 0.7);
  }
  .nav__list.is-open { display: flex; }
  .nav__list a {
    display: block; padding: 16px 0; font-size: 1.25rem; color: var(--on-chem);
    border-bottom: 1px solid oklch(1 0 0 / 0.1); background: none;
  }
}

@media (max-width: 640px) {
  :root { --header-h: 60px; }
  .logo { font-size: 1.375rem; }
  .hero { padding-top: 26px; }
  .hero__lead { margin-bottom: 26px; }
  .nick__row { flex-direction: column; }
  .nick__submit { width: 100%; }
  .nick__meta { gap: 4px 20px; }
  .hero__spread { margin-top: 36px; aspect-ratio: 1 / 1.14; }
  .spread__wide { left: 2%; width: 94%; top: 2%; }
  .spread__sq { width: 27%; }
  .spread__sq--1 { left: 3%; bottom: 4%; }
  .spread__sq--2 { left: 26%; bottom: 0; }
  .spread__sq--3 { left: 48%; bottom: 5%; }
  .spread__sq--4 { left: 70%; bottom: 0.5%; }
  .feed__item { width: 140px; }
  .work__profile { display: grid; grid-template-columns: minmax(0, 1fr); }
  .grid9 { width: min(100%, 250px); }
  .work__arrow { margin-left: 22%; }
  .plan { display: flex; }
  .print--plan { width: min(100%, 250px); }
  .qa p { padding-right: 0; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}

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