/* ═══════════════════════════════════════════════════════════════
   DARE — сцены страницы. Порядок такой же, как в разметке.
   Слои по глубине: трёхмерная сцена закреплена на z-index 5,
   первый экран лежит под ней (z-index 4) — поэтому кусок торта
   перекрывает огромное слово DARE. Все следующие секции идут
   поверх сцены (z-index 6) и прячут её своим фоном; секция
   «Слои» фон не заливает, поэтому сцена там снова видна.
   ═══════════════════════════════════════════════════════════════ */

/* ══ Закреплённый слой трёхмерной сцены ══════════════════════════ */
.stage {
  position: fixed; inset: 0; z-index: 5;
  pointer-events: none;
}
/* Ниже раздела «Слои» трёхмерная сцена не нужна: она подглядывала
   сквозь кружевные вырезы секций и зря жгла кадры. Снимаем совсем. */
.stage.is-parked { display: none; }

/* Запасной режим без WebGL: фотография остаётся в первом экране */
.stage.is-photo { position: absolute; top: 0; height: 100svh; }
.layers__photo {
  align-self: center;
  width: min(64%, 34rem); margin: 0 auto;
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-lg);
}
.stage__canvas { width: 100%; height: 100%; }
.stage__fallback {
  position: absolute; inset: 0;
  display: grid; place-items: center;
}
.stage__fallback[hidden] { display: none; }
.stage__fallback img {
  width: min(62vmin, 520px); height: auto;
  border-radius: 50%;
  box-shadow: var(--sh-glow), var(--sh-lg);
  mask-image: radial-gradient(circle at 50% 50%, #000 58%, transparent 76%);
}
.stage__pins { position: absolute; inset: 0; }

/* Подпись слоя: точка на кромке + линия + текст */
.pin {
  position: absolute; top: 0; left: 0;
  display: flex; align-items: center; gap: .55rem;
  opacity: 0;
  transition: opacity var(--d-fast) var(--ease);
}
/* Слой композитора выдаём только тем подписям, которые сейчас едут вместе
   со слоями, — постоянный will-change висел бы на всех семи всю сессию */
.pin.is-on { will-change: transform; }
.pin.is-on { opacity: 1; }
.pin__dot {
  width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: var(--blush);
  box-shadow: 0 0 0 4px rgba(243, 194, 206, .18);
}
/* Линия длинная не для красоты: она уводит подпись за габарит объекта,
   иначе текст ложится прямо на светлый бархат и пропадает */
.pin__line { width: clamp(40px, 13vw, 190px); height: 1px; background: rgba(243, 194, 206, .5); }
.pin__text {
  font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase;
  color: var(--cream); white-space: nowrap;
  text-shadow: 0 1px 3px rgba(23,16,15,.95), 0 2px 16px rgba(23,16,15,.9);
}
.pin--left { flex-direction: row-reverse; }

/* ══ 01 · Первый экран ══════════════════════════════════════════ */
.hero {
  position: relative; z-index: 4;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 7rem var(--pad-x) 4rem;
  overflow: hidden;
}
/* Свет сверху-справа: та самая витринная лампа над куском */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 72% 28%, rgba(243, 194, 206, .20), transparent 68%),
    radial-gradient(45% 40% at 78% 42%, rgba(222, 141, 166, .14), transparent 70%),
    radial-gradient(90% 70% at 50% 120%, rgba(142, 18, 48, .22), transparent 70%);
}

.hero__inner {
  position: relative;
  width: 100%; max-width: var(--maxw); margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 30rem) 1fr;
  align-items: center;
  gap: var(--gap);
}
.hero__label { grid-column: 1; }

.hero__title {
  position: absolute; left: 0; right: 0; bottom: clamp(-2rem, -4vw, -1rem);
  margin: 0; pointer-events: none;
}
.hero__word {
  display: block; text-align: center;
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 500;
  line-height: .8;
  letter-spacing: .06em;
  color: rgba(248, 242, 234, .92);
  mask-image: linear-gradient(to bottom, #000 32%, rgba(0,0,0,.18) 100%);
}

.hero__script {
  grid-column: 1;
  font-family: var(--font-script);
  font-size: clamp(2.1rem, 5.4vw, 3.6rem);
  line-height: 1;
  color: var(--blush);
  margin: .3rem 0 1.1rem;
}
.hero__lead {
  grid-column: 1;
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--tx-light-2);
  max-width: 34ch;
}
.hero__actions {
  grid-column: 1;
  display: flex; flex-wrap: wrap; gap: .7rem;
  margin-top: 1.8rem;
  pointer-events: auto;
}
.hero__facts {
  grid-column: 1;
  display: flex; flex-wrap: wrap; gap: clamp(1.2rem, 3vw, 2.6rem);
  margin-top: 2.4rem;
}
.hero__facts dt {
  font-size: var(--fs-label); letter-spacing: var(--ls-label);
  text-transform: uppercase; color: var(--tx-light-3);
}
.hero__facts dd {
  margin: .3rem 0 0;
  font-family: var(--font-display); font-size: 1.35rem; color: var(--cream);
}

.hero__scroll {
  position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  color: var(--tx-light-3);
}
.hero__scroll-line {
  width: 1px; height: 46px;
  background: linear-gradient(to bottom, transparent, currentColor);
  animation: threadPull 2.6s var(--ease-soft) infinite;
  transform-origin: top;
}
.hero__scroll-text { font-size: var(--fs-label); letter-spacing: var(--ls-label); text-transform: uppercase; }
@keyframes threadPull {
  0%, 100% { transform: scaleY(.4); opacity: .4; }
  50%      { transform: scaleY(1);  opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .hero__scroll-line { animation: none; } }

/* ══ 02 · Это не десерт ═════════════════════════════════════════ */
.what { position: relative; z-index: 6; background: var(--ink); }
.what__grid {
  max-width: var(--maxw); margin-inline: auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.what__text .label { margin-bottom: 1.2rem; }
.what__text .h1 { margin-bottom: 1.6rem; }

.what__facts { margin-top: 2.6rem; display: grid; gap: 1.4rem; }
.what__facts li {
  display: grid; gap: .35rem;
  padding-left: 1.6rem; position: relative;
}
.what__facts li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--blush);
}
.what__facts b { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--cream); }
.what__facts span { color: var(--tx-light-2); font-size: var(--fs-small); line-height: 1.55; }

.what__media { position: relative; min-height: 42rem; }
.what__ph {
  position: absolute; overflow: hidden;
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  /* слой композитора создаёт сам GSAP на время параллакса */
}
.what__ph img { width: 100%; height: 100%; object-fit: cover; }
.what__ph figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.2rem .9rem .7rem;
  font-size: var(--fs-label); letter-spacing: .08em; text-transform: uppercase;
  color: var(--cream);
  background: linear-gradient(to top, rgba(12,8,8,.85), transparent);
}
.what__ph--a { width: 56%; aspect-ratio: 1; top: 0; left: 0; z-index: 2; }
.what__ph--b { width: 42%; aspect-ratio: 3 / 4; top: 18%; right: 0; z-index: 3; }
.what__ph--c { width: 38%; aspect-ratio: 1; bottom: 2%; left: 6%; z-index: 4; }

/* ══ 03 · Слои ══════════════════════════════════════════════════ */
/* Фон не заливаем: сквозь секцию видна трёхмерная сцена */
.layers {
  position: relative; z-index: 6;
  background: transparent !important;
  height: 320svh;
  padding: 0 var(--pad-x) !important;
}
.layers__sticky {
  position: sticky; top: 0;
  min-height: 100svh;
  display: grid; align-content: space-between;
  padding: 6rem 0 3rem;
  max-width: var(--maxw); margin-inline: auto;
}
.layers__head { max-width: 26rem; }
.layers__head .label { margin-bottom: 1rem; }

.layers__list {
  display: flex; flex-wrap: wrap; gap: .5rem;
  counter-reset: layer;
}
.layers__list li {
  display: flex; align-items: baseline; gap: .5rem;
  padding: .5rem .9rem;
  border-radius: var(--r-pill);
  /* Фон непрозрачный: пилюли лежат поверх разъехавшихся слоёв, и на
     светлом бархате полупрозрачная подложка съедала текст */
  background: rgba(36, 24, 22, .92);
  box-shadow: inset 0 0 0 1px rgba(248, 242, 234, .14);
  font-size: var(--fs-small);
  color: var(--tx-light-2);
  transition: background var(--d-fast) var(--ease), color var(--d-fast) var(--ease);
}
.layers__list li i {
  font-style: normal; font-size: var(--fs-label); letter-spacing: .12em;
  color: var(--blush-deep);
}
.layers__list li.is-on {
  background: var(--blush);
  color: var(--ink);
  box-shadow: none;
}
.layers__list li.is-on i { color: var(--cherry); }
.layers__note {
  margin-top: 1rem; font-size: var(--fs-small); color: var(--tx-light-3);
  max-width: 40ch;
}

/* ══ 04 · Мудборд становится вещью ══════════════════════════════ */
.mood { position: relative; z-index: 6; }
.mood__head { max-width: var(--maxw); margin: 0 auto 3.5rem; }
.mood__head .label { margin-bottom: 1.1rem; }
.mood__head .h1 { margin-bottom: 1.3rem; }

.mood__pairs {
  max-width: var(--maxw); margin-inline: auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.4vw, 2rem);
}
.pair {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--cream-2);
  box-shadow: var(--sh-sm);
  cursor: pointer;
  transition: transform var(--d-fast) var(--ease), box-shadow var(--d-fast) var(--ease);
}
.pair:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.pair__frame { position: relative; aspect-ratio: 1; }
.pair__frame img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
/* Мудборд лежит сверху и уезжает шторкой, открывая готовую вещь.
   Один раз это происходит само, когда карточка появляется на экране, —
   иначе посетитель видит только коллажи и не понимает, к чему они.
   Дальше наведение (на телефоне — нажатие) возвращает мудборд обратно. */
.pair__board {
  z-index: 2;
  clip-path: inset(0 0 0 0);
  transition: clip-path .9s var(--ease-out);
}
.pair.is-open .pair__board { clip-path: inset(0 100% 0 0); }
.pair.is-open:hover .pair__board,
.pair.is-open.is-peek .pair__board { clip-path: inset(0 0 0 0); }

.pair__handle {
  position: absolute; top: 0; bottom: 0; left: 0; z-index: 3;
  width: 2px; background: var(--blush);
  box-shadow: 0 0 14px rgba(243,194,206,.8);
  transform: translateX(100%);
  transition: transform .9s var(--ease-out), opacity var(--d-fast) var(--ease);
  opacity: 0;
}
.pair.is-open .pair__handle { opacity: 1; transform: translateX(0); }
.pair.is-open:hover .pair__handle,
.pair.is-open.is-peek .pair__handle { transform: translateX(100%); }
.pair__meta {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: .9rem 1.1rem 1.1rem;
}
.pair__title { font-family: var(--font-display); font-size: 1.25rem; }
.pair__price { font-size: var(--fs-small); color: var(--cherry); font-weight: 600; white-space: nowrap; }
.pair__tag {
  position: absolute; top: .8rem; left: .8rem; z-index: 4;
  padding: .3em .8em; border-radius: var(--r-pill);
  background: var(--ink-veil); color: var(--cream);
  font-size: var(--fs-label); letter-spacing: .1em; text-transform: uppercase;
}
.pair__tag b { font-weight: 600; }
.pair__tag .tag-board { display: inline; }
.pair__tag .tag-thing { display: none; }
.pair.is-open .pair__tag .tag-board { display: none; }
.pair.is-open .pair__tag .tag-thing { display: inline; }
.pair.is-open:hover .pair__tag .tag-board,
.pair.is-open.is-peek .pair__tag .tag-board { display: inline; }
.pair.is-open:hover .pair__tag .tag-thing,
.pair.is-open.is-peek .pair__tag .tag-thing { display: none; }

.mood__quote {
  max-width: 52rem; margin: 4rem auto 0; text-align: center;
}
.mood__quote .orn-divider { margin-bottom: 2.2rem; }
.mood__quote p {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 2rem); line-height: 1.4;
  color: var(--tx-dark);
}
.mood__quote cite {
  display: block; margin-top: 1rem;
  font-style: normal; font-size: var(--fs-label);
  letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--tx-dark-3);
}

/* ══ 05 · Работы ════════════════════════════════════════════════ */
.works { position: relative; z-index: 6; }
.works__head {
  max-width: var(--maxw); margin: 0 auto 2.4rem;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: var(--gap); flex-wrap: wrap;
}
.works__head .label { margin-bottom: .9rem; }
.works__title .orn-pearls { --orn-h: 13px; --orn-color: var(--blush-deep); max-width: 16rem; margin-top: .8rem; }

.works__filters { display: flex; flex-wrap: wrap; gap: .45rem; }
.works__filters button {
  min-height: 44px; padding: 0 1.1em;
  border-radius: var(--r-pill);
  font-size: var(--fs-small); font-weight: 500;
  color: var(--tx-dark-2);
  box-shadow: inset 0 0 0 1px var(--cream-3);
  transition: background var(--d-micro) var(--ease), color var(--d-micro) var(--ease),
              box-shadow var(--d-micro) var(--ease);
}
.works__filters button:hover { box-shadow: inset 0 0 0 1px var(--blush-deep); color: var(--tx-dark); }
.works__filters button[aria-pressed="true"] {
  background: var(--ink); color: var(--cream); box-shadow: none;
}

.works__grid {
  max-width: var(--maxw); margin-inline: auto;
  display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1rem, 2vw, 1.8rem);
}
/* Разный размер карточек — витрина, а не таблица */
.card { grid-column: span 4; }
.card--wide { grid-column: span 6; }
.card--tall { grid-column: span 4; }

.card__frame {
  position: relative; overflow: hidden;
  border-radius: var(--r-md);
  background: var(--cream-2);
  aspect-ratio: 1;
  cursor: zoom-in;
}
.card--wide .card__frame { aspect-ratio: 4 / 3; }
.card--tall .card__frame { aspect-ratio: 3 / 4; }
.card__frame img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease-out), opacity var(--d-base) var(--ease);
}
.card:hover .card__frame img { transform: scale(1.045); }
.card__frame::after {
  /* мягкая виньетка, чтобы подписи читались на любой фотографии */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(12,8,8,.42), transparent 42%);
  opacity: 0; transition: opacity var(--d-fast) var(--ease);
}
.card:hover .card__frame::after { opacity: 1; }

.card__count {
  position: absolute; right: .7rem; bottom: .7rem; z-index: 2;
  padding: .25em .65em; border-radius: var(--r-pill);
  background: var(--ink-veil); color: var(--cream);
  font-size: var(--fs-label); letter-spacing: .08em;
  opacity: 0; transform: translateY(6px);
  transition: opacity var(--d-fast) var(--ease), transform var(--d-fast) var(--ease);
}
.card:hover .card__count { opacity: 1; transform: none; }

.card__status {
  position: absolute; top: .7rem; left: .7rem; z-index: 2;
  padding: .3em .8em; border-radius: var(--r-pill);
  font-size: var(--fs-label); letter-spacing: .1em; text-transform: uppercase;
  font-weight: 600;
  background: var(--cream); color: var(--ink);
}
.card__status--stock    { background: var(--mint); }
.card__status--repeat   { background: var(--blush); }
.card__status--no-repeat{ background: var(--ink); color: var(--cream); }
.card__status--sold     { background: var(--cream-3); color: var(--tx-dark-2); }
.card__status--queue    { background: var(--lilac); }
.card__status--order    { background: var(--mint); }

.card__meta { display: flex; align-items: baseline; gap: .8rem; padding: .85rem .2rem 0; }
.card__title { font-family: var(--font-display); font-size: 1.28rem; line-height: 1.25; }
.card__price { margin-left: auto; font-weight: 700; color: var(--cherry); white-space: nowrap; }
.card__price small { display: block; font-weight: 400; font-size: var(--fs-label); color: var(--tx-dark-3); text-align: right; letter-spacing: .04em; }
.card__note { padding: .35rem .2rem 0; font-size: var(--fs-small); color: var(--tx-dark-2); line-height: 1.5; }

.works__note {
  max-width: 52rem; margin: 2.6rem auto 0;
  font-size: var(--fs-small); color: var(--tx-dark-3); text-align: center;
}

/* ══ 06 · Конструктор ═══════════════════════════════════════════ */
/* Светлая сцена заканчивается кружевным краем, а не прямой линией:
   так стык со следующей тёмной сценой читается как край ткани */
.builder { position: relative; z-index: 6; background: var(--cream-2) !important; }
.builder.orn-scallop-bottom { --orn-scallop-h: 52px; }
.reviews.orn-scallop-bottom { --orn-scallop-h: 52px; }
.builder__head { max-width: var(--maxw); margin: 0 auto 2.6rem; }
.builder__head .label { margin-bottom: 1.1rem; }
.builder__head .h1 { margin-bottom: 1.1rem; }
#moodboard { max-width: var(--maxw); margin-inline: auto; }

/* ══ 07 · Очередь ═══════════════════════════════════════════════ */
.queue { position: relative; z-index: 6; }
.queue__head { max-width: var(--maxw); margin: 0 auto 2.8rem; }
.queue__head .label { margin-bottom: 1rem; }

.queue__counter {
  position: relative; overflow: hidden;
  max-width: var(--maxw); margin: 0 auto 3.4rem;
  padding: clamp(1.6rem, 4vw, 3rem);
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, rgba(142,18,48,.34), rgba(36,24,22,.6));
  box-shadow: inset 0 0 0 1px rgba(248,242,234,.12);
  text-align: center;
}
.queue__counter-label { font-size: var(--fs-label); letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--tx-light-3); }
.queue__counter-date {
  font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.1; color: var(--cream); margin: .2rem 0 1.2rem;
}
.queue__counter-nums { display: flex; justify-content: center; gap: clamp(.8rem, 3vw, 2.2rem); margin-bottom: 1.4rem; }
.queue__counter-nums div { min-width: 4.2rem; }
.queue__counter-nums b {
  display: block; font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.9rem, 5vw, 3rem); line-height: 1; color: var(--blush);
  font-variant-numeric: tabular-nums;
}
.queue__counter-nums span { font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase; color: var(--tx-light-3); }
.queue__counter-note { max-width: 46ch; margin: 0 auto 1.6rem; color: var(--tx-light-2); font-size: var(--fs-small); }

.queue__steps {
  max-width: var(--maxw); margin: 0 auto 3rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.4vw, 2rem);
}
.queue__steps li {
  position: relative;
  padding: 1.4rem 1.3rem 1.5rem;
  border-radius: var(--r-md);
  background: rgba(248, 242, 234, .05);
  box-shadow: inset 0 0 0 1px rgba(248, 242, 234, .1);
}
.queue__steps b {
  display: block; font-family: var(--font-display); font-size: 1.35rem;
  color: var(--cream); margin: .5rem 0 .5rem;
}
.queue__steps i {
  font-style: normal; font-size: var(--fs-label); letter-spacing: .18em;
  color: var(--blush-deep);
}
.queue__steps p { font-size: var(--fs-small); color: var(--tx-light-2); line-height: 1.55; }

.queue__rules {
  max-width: var(--maxw); margin-inline: auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.4vw, 2rem);
}
.queue__rules h3 { font-family: var(--font-display); font-size: 1.2rem; color: var(--blush); margin-bottom: .5rem; font-weight: 600; }
.queue__rules p { font-size: var(--fs-small); color: var(--tx-light-2); line-height: 1.55; }

/* ══ 08 · В наличии ═════════════════════════════════════════════ */
.stock { position: relative; z-index: 6; }
.stock__head { max-width: var(--maxw); margin: 0 auto 2.6rem; }
.stock__head .label { margin-bottom: 1rem; }
.stock__head .h1 { margin-bottom: 1.1rem; }
.stock__grid {
  max-width: var(--maxw); margin-inline: auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.4vw, 2rem);
}
.stock__card {
  display: flex; flex-direction: column;
  border-radius: var(--r-md); overflow: hidden;
  background: var(--cream-2);
  box-shadow: var(--sh-sm);
  transition: transform var(--d-fast) var(--ease), box-shadow var(--d-fast) var(--ease);
}
.stock__card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.stock__card figure { position: relative; aspect-ratio: 4 / 3; cursor: zoom-in; }
.stock__card img { width: 100%; height: 100%; object-fit: cover; }
.stock__body { padding: 1.1rem 1.2rem 1.4rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.stock__body h3 { font-family: var(--font-display); font-size: 1.4rem; }
.stock__price { font-weight: 700; color: var(--cherry); }
.stock__price span { font-weight: 400; color: var(--tx-dark-3); font-size: var(--fs-small); }
.stock__body p { font-size: var(--fs-small); color: var(--tx-dark-2); line-height: 1.5; }
.stock__card .btn { margin-top: auto; align-self: flex-start; }

/* Карточка-приглашение: без фотографии, зато с воздухом и кружевным углом */
.stock__card--invite {
  position: relative;
  background: linear-gradient(155deg, var(--blush-soft), var(--cream-2));
  box-shadow: inset 0 0 0 1px var(--cream-3);
}
.stock__card--invite .stock__body { justify-content: center; gap: .8rem; padding: 2rem 1.6rem; }
.stock__card--invite h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; }
.stock__card--invite p { color: var(--tx-dark-2); }
.stock__card--invite .btn { margin-top: 1rem; }

/* ══ 09 · Отзывы ════════════════════════════════════════════════ */
.reviews { position: relative; z-index: 6; overflow: hidden; }
.reviews__head {
  max-width: var(--maxw); margin: 0 auto 2.6rem;
  display: flex; align-items: flex-end; justify-content: space-between; gap: var(--gap); flex-wrap: wrap;
}
.reviews__head .label { margin-bottom: 1rem; }
.reviews__track {
  display: flex; gap: clamp(1rem, 2vw, 1.6rem);
  padding-bottom: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  max-width: var(--maxw); margin-inline: auto;
}
.review {
  flex: 0 0 min(24rem, 82vw);
  scroll-snap-align: start;
  display: flex; flex-direction: column; gap: .9rem;
  padding: 1.5rem 1.4rem;
  border-radius: var(--r-md);
  background: var(--cream-2);
  box-shadow: var(--sh-sm);
}
.review p { font-size: var(--fs-small); line-height: 1.65; color: var(--tx-dark); }
.review footer { display: flex; align-items: baseline; gap: .6rem; margin-top: auto; }
.review b { font-weight: 600; font-size: var(--fs-small); }
.review time { font-size: var(--fs-label); letter-spacing: .06em; color: var(--tx-dark-3); }

/* ══ 10 · Финал ═════════════════════════════════════════════════ */
.final { position: relative; z-index: 6; text-align: center; overflow: hidden; }
.final::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 60% at 50% 0%, rgba(243,194,206,.16), transparent 70%);
}
.final__inner { position: relative; max-width: 44rem; margin-inline: auto; }
.final__inner .orn-bow { --orn-w: clamp(72px, 12vw, 108px); --orn-color: var(--blush); margin-bottom: 1rem; }
.final__script {
  font-family: var(--font-script); font-size: clamp(1.9rem, 5vw, 3rem);
  color: var(--blush); margin-bottom: .6rem;
}
.final__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: var(--fs-h1); line-height: var(--lh-head); color: var(--cream);
  margin-bottom: 1.2rem;
}
.final__lead { color: var(--tx-light-2); margin-bottom: 2rem; }
.final__small { margin-top: 1.1rem; font-size: var(--fs-small); color: var(--tx-light-3); }

/* ══ Подвал ═════════════════════════════════════════════════════ */
.foot { padding: clamp(3rem, 7vw, 5rem) var(--pad-x) 2rem; }
.foot__grid {
  max-width: var(--maxw); margin-inline: auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(1.6rem, 4vw, 4rem);
}
.foot__word { font-family: var(--font-display); font-size: 2.4rem; letter-spacing: .3em; color: var(--cream); }
.foot__script { font-family: var(--font-script); font-size: 1.7rem; color: var(--blush); margin-bottom: .8rem; }
.foot__note { font-size: var(--fs-small); color: var(--tx-light-2); max-width: 34ch; }
.foot__links { display: flex; flex-direction: column; gap: .55rem; }
.foot__links .label { margin-bottom: .5rem; }
.foot__links a { font-size: var(--fs-small); color: var(--tx-light-2); transition: color var(--d-micro) var(--ease); }
.foot__links a:hover { color: var(--blush); }
.foot__rights {
  max-width: var(--maxw); margin: 3rem auto 0; padding-top: 1.4rem;
  border-top: 1px solid rgba(248,242,234,.1);
  font-size: var(--fs-label); letter-spacing: .06em; color: var(--tx-light-3);
}

/* ═══════════════════════════════════════════════════════════════
   Планшет и телефон. Режиссура другая, а не сжатый рабочий стол:
   объект уезжает наверх, текст идёт под ним одной колонкой.
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1000px) {
  /* Телефон: кусок торта занимает верх экрана, текст живёт под ним.
     Это не сжатый рабочий стол, а другая раскадровка. */
  .hero {
    align-items: flex-end;
    padding: 38svh var(--pad-x) 2.5rem;
  }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__lead { max-width: none; font-size: 1.02rem; }
  .hero__script { font-size: clamp(1.9rem, 9vw, 2.8rem); margin-bottom: .8rem; }
  .hero__title { bottom: 2.5rem; top: auto; }
  .hero__word { font-size: clamp(4rem, 26vw, 9rem); opacity: .22; }
  .hero__facts { gap: .8rem 1.6rem; margin-top: 1.3rem; }
  .hero__facts dd { font-size: 1.1rem; }
  .hero__actions { margin-top: 1.4rem; }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__scroll { display: none; }
  .hero::before {
    background:
      radial-gradient(70% 40% at 50% 22%, rgba(243, 194, 206, .22), transparent 70%),
      radial-gradient(120% 60% at 50% 108%, rgba(142, 18, 48, .28), transparent 72%);
  }
  /* На телефоне текст выходит ПОВЕРХ сцены. На широком экране объект стоит
     справа и красиво перекрывает слово DARE, но в узком кадре он неизбежно
     наезжает на строки — читаемость важнее эффекта. */
  .hero { z-index: auto; }
  .hero__inner { position: relative; z-index: 7; }

  /* Подложка под текстом: гасит сцену ровно там, где идут строки */
  .hero__inner::before {
    content: ""; position: absolute; inset: -2rem -2rem -6rem -2rem;
    z-index: -1; pointer-events: none;
    background: linear-gradient(to top, var(--ink) 42%, rgba(23,16,15,.86) 68%, transparent);
  }

  .what__grid { grid-template-columns: 1fr; }
  .what__media { min-height: 26rem; order: -1; }

  /* Область рисования на телефоне не режем: сцена сама сажает объект
     в верхнюю треть экрана и не опускает его ниже 48 % высоты.
     Обрезка холста поверх этого делала кусок вдвое мельче нужного. */

  .layers { height: 280svh; }
  .layers__sticky { padding: 5.5rem 0 2rem; }
  /* Узкий кадр: сцена неизбежно подходит под заголовок — держим его
     читаемым мягкой тенью, а не отодвиганием текста за край экрана */
  .layers__head { text-shadow: 0 2px 20px rgba(23, 16, 15, .95), 0 0 40px rgba(23, 16, 15, .8); }

  .mood__pairs { grid-template-columns: repeat(2, 1fr); }
  .works__grid { grid-template-columns: repeat(6, 1fr); }
  .card, .card--wide, .card--tall { grid-column: span 3; }
  .queue__steps { grid-template-columns: repeat(2, 1fr); }
  .queue__rules { grid-template-columns: repeat(2, 1fr); }
  .stock__grid { grid-template-columns: repeat(2, 1fr); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .hero__facts dd { font-size: 1.15rem; }
  .what__media { min-height: 22rem; }
  .what__ph--a { width: 66%; }
  .what__ph--b { width: 50%; }
  .what__ph--c { width: 44%; }

  .layers { height: 240svh; }
  .layers__list { gap: .4rem; }
  .layers__list li { padding: .42rem .75rem; font-size: .8rem; }

  .mood__pairs { grid-template-columns: 1fr; }
  .works__grid { grid-template-columns: 1fr 1fr; }
  .card, .card--wide, .card--tall { grid-column: span 1; }
  .card--wide .card__frame, .card--tall .card__frame { aspect-ratio: 1; }
  .card__title { font-size: 1.05rem; }

  .queue__steps, .queue__rules, .stock__grid { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }

  .pin__text { display: none; }
  .pin__line { width: 18px; }
}
