/* ОСЬ — блоки после фильма. */

#after { position: relative; z-index: 2; background: var(--ink); }

/* Запас под фиксированную шапку при переходе по якорю. */
#after [id] { scroll-margin-top: 96px; }

.section--flush { padding-block: 0; }

/* Крупный номер слева от заголовка: приём из референсов, он задаёт ритм
   и показывает, что разделов конечное число. */
.section__index {
  font-family: var(--font-display);
  font-size: clamp(11px, 0.9vw, 13px);
  letter-spacing: 0.2em;
  color: var(--smoke-dim);
  display: block;
  margin-bottom: 10px;
}

.section__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 26px;
  margin-top: clamp(30px, 4vw, 54px);
}

/* --- плашка картинки ------------------------------------------------------ */

.ph {
  position: relative;
  overflow: hidden;
  background: var(--graphite);
  border-radius: var(--radius);
}
.ph__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}
.ph--tall { aspect-ratio: 4 / 5; border-radius: var(--radius-sm); }
.ph--missing { aspect-ratio: 4 / 5; background: var(--steel); }

/* --- 1. триптих: три вертикальные полосы с зазорами ----------------------- */

.triptych {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--hairline);
}

.triptych__col {
  position: relative;
  background: var(--ink);
  overflow: hidden;
}

.triptych__media {
  height: clamp(340px, 74vh, 760px);
  border-radius: 0;
}
.triptych__media .ph__img { height: 100%; }
.triptych__col:hover .ph__img { transform: scale(1.04); }

.triptych__body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: clamp(18px, 2.2vw, 34px);
  display: grid;
  gap: 8px;
  background: linear-gradient(180deg, transparent, rgba(8, 8, 9, 0.88) 62%);
}
.triptych__body p { margin: 0; max-width: 30ch; font-size: 14px; }

@media (max-width: 860px) {
  .triptych { grid-template-columns: 1fr; }
  .triptych__media { height: 58vh; }
}

/* --- 2. макро хорды ------------------------------------------------------- */

.macro {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.8vw, 28px);
}
.macro__item { margin: 0; display: grid; gap: 14px; }
.macro__item figcaption { display: grid; gap: 6px; }
.macro__item p { margin: 0; font-size: 14px; }
.macro__item:hover .ph__img { transform: scale(1.05); }

@media (max-width: 760px) { .macro { grid-template-columns: 1fr; } }

/* --- 3. ферма ------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(22px, 3vw, 54px);
  align-items: start;
}
.split__media {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 1);
}

.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(20px, 2.4vw, 34px); }
.facts__item {
  display: grid; gap: 8px;
  border-left: 1px solid var(--hairline);
  padding: 4px 0 4px 20px;
}
.facts__item p { margin: 0; font-size: 15px; }

@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* --- 4. производство ------------------------------------------------------ */

.numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 34px);
  margin-bottom: clamp(34px, 4.6vw, 64px);
}
.numbers__item {
  display: grid;
  gap: 5px;
  padding: clamp(16px, 1.8vw, 24px);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(32, 36, 42, 0.5), rgba(14, 16, 18, 0.4));
}
.numbers__value { line-height: 1; }
.numbers__unit { font-size: 14px; color: var(--silver); }

@media (max-width: 760px) { .numbers { grid-template-columns: repeat(2, 1fr); } }

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(10px, 1.2vw, 18px);
}
.gallery--3 {
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(24px, 3vw, 44px);
}
.gallery .ph:hover .ph__img { transform: scale(1.05); }

@media (max-width: 760px) {
  .gallery, .gallery--3 { grid-template-columns: repeat(2, 1fr); }
}

/* --- 5. карточки товара --------------------------------------------------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: clamp(14px, 1.6vw, 26px);
}

.card {
  display: grid;
  gap: 0;
  padding: 10px 10px 16px;
  border-radius: var(--radius);
  height: 100%;
  grid-template-rows: auto 1fr;
  background: linear-gradient(160deg, var(--glass-top), var(--glass-bottom));
  border: 1px solid var(--hairline);
  box-shadow: 0 20px 60px -34px rgba(0, 0, 0, 0.95);
  transition: transform 0.55s var(--ease-out), border-color 0.55s var(--ease-out),
              box-shadow 0.55s var(--ease-out);
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--hairline-strong);
  box-shadow: 0 34px 80px -34px rgba(0, 0, 0, 1);
}

.card__media {
  position: relative;
  display: block;
  /* Рамка под снимок, а не наоборот. Все товарные кадры горизонтальные:
     в квадрате они либо теряли голову рыбы при кадрировании, либо
     оставляли поля сверху и снизу. 16:9 совпадает с самими снимками,
     поэтому кадр входит в рамку ровно, без полей и без потерь. */
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}
.card__media:hover .ph__img { transform: scale(1.03); }

/* Второй кадр — товар в фирменной упаковке, появляется при наведении. */
.card__hover {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.55s var(--ease-out);
}
.card__hover .ph__img { width: 100%; height: 100%; }
.card__media:hover .card__hover,
.card__media:focus-visible .card__hover { opacity: 1; }

.card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-inline: 6px;
  flex: 1;
}
.card__name { margin: 0; font-size: 15px; font-weight: 500; color: var(--white); line-height: 1.35; }
.card__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--hairline);
}
.card__row .micro { white-space: nowrap; }
.card__price { white-space: nowrap; }
.card__price {
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: 0.01em;
  color: var(--white);
}

/* --- 6. наборы ------------------------------------------------------------ */

.sets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2.2vw, 36px);
}
.set {
  display: grid;
  gap: 20px;
  padding: clamp(14px, 1.4vw, 20px);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--glass-top), var(--glass-bottom));
  box-shadow: 0 24px 70px -36px rgba(0, 0, 0, 0.95);
  transition: transform 0.55s var(--ease-out), border-color 0.55s var(--ease-out);
}
.set:hover { transform: translateY(-5px); border-color: var(--hairline-strong); }
.set__media { aspect-ratio: 4 / 3; border-radius: var(--radius-sm); }
.set:hover .ph__img { transform: scale(1.03); }
.set__body { display: grid; gap: 12px; }
.set__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; font-size: 15px; }
.set__list li { padding-left: 16px; position: relative; }
.set__list li::before {
  content: ''; position: absolute; left: 0; top: 0.72em;
  width: 8px; height: 1px; background: var(--smoke);
}
.set__gift { color: var(--smoke); }
.set__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 760px) { .sets { grid-template-columns: 1fr; } }

/* --- 7. панорама и врезка ------------------------------------------------- */

.band {
  width: calc(100% - var(--gutter) * 2);
  max-width: 1480px;
  margin: clamp(26px, 3.4vw, 54px) auto;
  aspect-ratio: 21 / 9;
  border-radius: var(--radius);
  box-shadow: 0 40px 100px -50px rgba(0, 0, 0, 1);
}
.band .ph__img { height: 100%; }

.note {
  margin-top: clamp(30px, 4vw, 58px);
  padding: clamp(24px, 3vw, 48px);
  display: grid;
  gap: 14px;
  justify-items: start;
  max-width: 760px;
}
.note p { margin: 0; }
.note__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

/* --- 8. команда ----------------------------------------------------------- */

.people {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(16px, 2vw, 30px);
}
.people__item { margin: 0; display: grid; gap: 12px; }
.people__name { margin: 0; color: var(--white); font-size: 15px; }
.people__item p { margin: 0; }
.people__item:hover .ph__img { transform: scale(1.04); }

/* --- 9. футер ------------------------------------------------------------- */

.footer { padding-block: clamp(60px, 8vh, 110px) clamp(34px, 5vh, 56px); }
.footer__top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: clamp(26px, 3vw, 54px);
  margin-bottom: clamp(32px, 4vw, 56px);
  align-items: start;
}
.footer__list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 7px; font-size: 15px; }
.footer__list a { transition: color 0.35s var(--ease-out); }
.footer__list a:hover { color: var(--white); }
.footer__top > div > .micro { margin-bottom: 4px; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 30px;
  margin-top: clamp(22px, 2.6vw, 34px);
}
.footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__links a:hover { color: var(--silver); }

/* --- шапка ---------------------------------------------------------------- */

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(14px, 1.8vw, 26px) var(--gutter);
  pointer-events: none;
  color: var(--white);
}
/* Шапка лежит поверх очень разных кадров — от почти чёрного до белого
   кафеля. mix-blend-mode здесь не годится: на светлых сценах он выворачивает
   логотип и съедает контрформу в «О». Поэтому обычный белый текст и мягкая
   затемняющая подложка сверху. */
.topbar::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6, 6, 7, 0.62), rgba(6, 6, 7, 0));
  pointer-events: none;
}
.topbar > * { pointer-events: auto; }
.topbar__logo {
  width: clamp(52px, 5vw, 74px);
  color: var(--white);
  filter: drop-shadow(0 1px 10px rgba(0, 0, 0, 0.55));
}
.topbar__logo svg { width: 100%; height: auto; }
.topbar__nav { display: flex; gap: clamp(14px, 1.8vw, 30px); }
.topbar__nav a { color: var(--silver); transition: color 0.35s var(--ease-out);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6); }
.topbar__nav a:hover { color: var(--white); }

/* Список разделов на телефоне превращается в панель — правила в
   css/menu.css. Прежнее `display: none` отсюда убрано, чтобы два
   файла не спорили за одно и то же свойство. */

/* --- шаги производства: кадры, которые раньше занимали экраны фильма ------ */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.8vw, 26px);
}
.steps__item { margin: 0; display: grid; gap: 12px; }
.steps__item figcaption { display: grid; gap: 5px; }
.steps__item p { margin: 0; font-size: 14px; }
.steps__item:hover .ph__img { transform: scale(1.04); }
.ph--wide { aspect-ratio: 16 / 9; border-radius: var(--radius-sm); }

@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* --- плитки: сотрудничество, доставка, документы -------------------------- */

.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.8vw, 28px);
}
.tiles--4 { grid-template-columns: repeat(4, 1fr); }

.tile {
  display: grid;
  gap: 10px;
  padding: clamp(18px, 2vw, 28px);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--glass-top), var(--glass-bottom));
  transition: border-color 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.tile:hover { border-color: var(--hairline-strong); transform: translateY(-4px); }
.tile p { margin: 0; font-size: 15px; }
.tile h3 { margin: 0; }

@media (max-width: 900px) {
  .tiles, .tiles--4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .tiles, .tiles--4 { grid-template-columns: 1fr; }
}

/* Кнопка заказа в шапке: доступна с любого места страницы. */
.topbar__cta {
  padding: 0.62em 1.15em;
  font-size: 11px;
  letter-spacing: 0.15em;
}
@media (max-width: 560px) { .topbar__cta { display: none; } }


/* Подзаголовок внутри раздела: отделяет наборы от штучных позиций,
   не превращая их в отдельный экран. */
.subhead {
  display: grid;
  gap: 10px;
  margin: clamp(48px, 6vw, 92px) 0 clamp(22px, 2.6vw, 38px);
  max-width: 54ch;
}
.subhead .rule { width: 100%; max-width: 120px; }
.subhead p { margin: 0; }

/* --- лента каталога -------------------------------------------------------- */

.slider { margin-bottom: clamp(44px, 5vw, 80px); }

.slider__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(18px, 2vw, 28px);
}
.slider__head p { margin: 8px 0 0; max-width: 52ch; }

.slider__nav { display: flex; gap: 8px; flex: none; }

.slider__btn {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--hairline-strong);
  color: var(--silver);
  background: rgba(18, 20, 23, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: color 0.4s var(--ease-out), border-color 0.4s var(--ease-out),
              background 0.4s var(--ease-out), opacity 0.4s var(--ease-out);
}
.slider__btn svg { width: 16px; height: 16px; }
.slider__btn:hover:not(:disabled) {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}
.slider__btn:disabled { opacity: 0.3; cursor: default; }

/* Нативный scroll-snap как основа: инерция, трекпад и палец работают сами. */
.slider__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, calc((100% - 3 * var(--rail-gap)) / 4));
  --rail-gap: clamp(12px, 1.4vw, 22px);
  column-gap: var(--rail-gap);
  /* Прокрутка только вбок.
   *
   * `overflow-y` здесь обязателен явно. По правилам CSS, если одной оси
   * задано `auto`, а другая осталась `visible`, вторая тоже становится
   * `auto` — лента получала вертикальную прокрутку, которую никто не
   * просил. Содержимое выше её на 18 px (карточки перед появлением
   * сдвинуты вниз на 14 px плюс 4 px отступа), и эти 18 px она катала
   * внутри себя: карточки болтались вверх-вниз, а палец, попавший на
   * ленту, прокручивал её, а не страницу — рука «застревала». */
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  /* Запас под сдвиг появления: карточка выезжает снизу, и без него её
     нижний край подрезался бы на время анимации. Сверху такой же запас
     под подъём по курсору (карточка встаёт на 6 px выше) — без него у
     неё срезало верхнюю кромку. Отрицательные поля возвращают ленте
     прежнее место в раскладке: ни один блок не сдвинулся. */
  padding-top: 8px;
  margin-top: -8px;
  padding-bottom: 24px;
  margin-bottom: -20px;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__track > * { scroll-snap-align: start; }
.slider__track.is-dragging { scroll-snap-type: none; cursor: grabbing; }

.slider__bar {
  height: 1px;
  margin-top: clamp(16px, 1.8vw, 24px);
  background: var(--hairline);
  overflow: hidden;
}
.slider__bar span {
  display: block;
  height: 100%;
  background: var(--sheen-edge);
  transform-origin: left center;
  transition: transform 0.3s var(--ease-out);
}

.card__list {
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
  display: grid;
  gap: 4px;
  font-size: 13.5px;
  color: var(--smoke);
}
.card__list li { padding-left: 14px; position: relative; }
.card__list li::before {
  content: ''; position: absolute; left: 0; top: 0.68em;
  width: 7px; height: 1px; background: var(--smoke-dim);
}
.card__gift { color: var(--smoke-dim); }

@media (max-width: 1100px) {
  .slider__track { grid-auto-columns: minmax(0, calc((100% - 2 * var(--rail-gap)) / 3)); }
}
@media (max-width: 820px) {
  .slider__track { grid-auto-columns: minmax(0, calc((100% - var(--rail-gap)) / 2)); }
  .slider__nav { display: none; }
}
@media (max-width: 560px) {
  .slider__track { grid-auto-columns: 76%; }
}

/* --- круг производства ----------------------------------------------------- */

.cycle { margin-top: clamp(30px, 4vw, 60px); }

.cycle__stage {
  position: relative;
  width: min(100%, 780px);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.cycle__mark {
  position: absolute;
  inset: 8%;
  color: var(--silver);
  opacity: 0.5;
  pointer-events: none;
}
.cycle__mark svg { width: 100%; height: 100%; }

.cycle__ring {
  position: absolute;
  inset: 0;
  transition: transform 0.1s linear;
  will-change: transform;
}

/* Каждый этап стоит на окружности, но сам не наклоняется:
   встречный поворот держит кружок ровно. */
.cycle__item {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(92px, 15%, 140px);
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 0;
  transform:
    translate(-50%, -50%)
    rotate(var(--a))
    translateY(calc(var(--r) * -1))
    rotate(calc(var(--a) * -1 + var(--turn)));
  transition: filter 0.5s var(--ease-out);
}

.cycle__disc {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--hairline);
  box-shadow: 0 18px 50px -24px rgba(0, 0, 0, 1);
  transition: transform 0.6s var(--ease-out), border-color 0.6s var(--ease-out),
              box-shadow 0.6s var(--ease-out);
}
.cycle__disc img { width: 100%; height: 100%; object-fit: cover; }

/* Неактивные кружки приглушаем, но не гасим: тёмные снимки при
   brightness 0.72 превращались в чёрные пятна. */
.cycle__item { filter: grayscale(0.3) brightness(0.9); }
.cycle__item.is-active { filter: none; }
.cycle__item.is-active .cycle__disc {
  transform: scale(1.22);
  border-color: rgba(236, 244, 250, 0.5);
  box-shadow: 0 26px 70px -22px rgba(0, 0, 0, 1),
              0 0 0 1px rgba(236, 244, 250, 0.18);
}

.cycle__tag {
  font-size: 9.5px;
  letter-spacing: 0.2em;
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
  white-space: nowrap;
}
.cycle__item.is-active .cycle__tag { opacity: 1; }

.cycle__center {
  position: relative;
  width: min(46%, 300px);
  display: grid;
  place-items: center;
  text-align: center;
  pointer-events: none;
}

.cycle__caption {
  grid-area: 1 / 1;
  display: grid;
  gap: 10px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.cycle__caption.is-on { opacity: 1; transform: none; }
.cycle__caption p { margin: 0; }
.cycle__caption .muted { font-size: 14px; }

@media (max-width: 620px) {
  .cycle__stage { width: 100%; }
  .cycle__item { width: clamp(64px, 19%, 92px); }
  .cycle__center { width: 54%; }
  .cycle__caption .display--m { font-size: 19px; }
  .cycle__caption .muted { font-size: 12.5px; }
}

.tile--photo { padding: 10px 10px 18px; gap: 12px; }
.tile--photo .ph { margin-bottom: 4px; }
.tile--photo p { padding-inline: 6px; }

/* --- карточка: кнопка заказа и серебро на цене ---------------------------- */

a.card { text-decoration: none; color: inherit; display: grid; }

/* Кнопка проявляется на снимке при наведении. Карточка кликабельна
   целиком, кнопка здесь — чтобы было видно, что это ссылка. */
/* Строка заказа под ценой — одна на все экраны.
   Раньше на компьютере вместо неё по курсору выезжала плашка поверх
   фотографии. Она закрывала товар, а на сенсорном экране, где наведения
   нет, ещё и залипала после касания. Строка под ценой честнее: ничего не
   прячет, видна сразу и работает одинаково везде. */
.card__order {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--hairline);
  color: var(--smoke);
  transition: color 0.35s var(--ease-out);
}
.card:hover .card__order,
.card:focus-visible .card__order { color: var(--white); }

.card__order .card__arrow {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: currentColor;
  transition: transform 0.4s var(--ease-out), border-color 0.35s var(--ease-out);
}
.card:hover .card__order .card__arrow {
  transform: translateX(3px);
  border-color: rgba(255, 255, 255, 0.5);
}
.card__arrow {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #0b0b0c;
  color: #f3f6f8;
}
.card__arrow svg { width: 13px; height: 13px; display: block; }

/* Цена — серебром, как крупные заголовки: это главный элемент карточки. */
.card__price {
  background: var(--sheen);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --- постоянная строка заказа --------------------------------------------- */

.orderbar {
  position: fixed;
  left: 50%;
  bottom: clamp(14px, 2.4vh, 28px);
  translate: -50% 0;
  z-index: 36;
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 22px);
  padding: 9px 9px 9px clamp(16px, 1.8vw, 24px);
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: linear-gradient(180deg, rgba(23, 26, 30, 0.94), rgba(12, 13, 16, 0.92));
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transform: translateY(14px);
  visibility: hidden;
  transition: opacity 0.45s var(--ease-out), transform 0.5s var(--ease-out),
              visibility 0.5s;
}
.orderbar.is-on { opacity: 1; transform: none; visibility: visible; }
.orderbar__text {
  color: var(--silver);
  /* Набор как у кнопки рядом: тот же капс и трекинг, иначе две подписи
     в одной плашке выглядят из разных наборов. */
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  white-space: nowrap;
  text-decoration: none;
  /* Подчёркивание рисуем сами и держим приглушённым: сплошная линия
     рядом с белой кнопкой спорит с ней за внимание. */
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  padding-bottom: 1px;
  transition: color 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}
.orderbar__text:hover { color: #fff; border-bottom-color: rgba(255, 255, 255, 0.7); }
.orderbar .btn { margin: 0; }

@media (max-width: 680px) {
  .orderbar { left: 12px; right: 12px; translate: none; justify-content: space-between; }
  .orderbar__text { display: none; }
  .orderbar .btn { flex: 1; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .orderbar { transition: none; }
}

/* Пока говорит проводник, строка заказа уходит: они делят нижний край. */
body.guide-on .orderbar.is-on {
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
}


/* --- цифры: тонкие рамки вместо стеклянных карточек ----------------------- */
/* Стеклянная карточка с тенью — шаблон. В референсе цифры стоят в
   волосяной рамке: число крупно, под ним микро-капс. Ничего больше. */
.numbers__item {
  position: relative;
  padding: clamp(18px, 2vw, 30px) clamp(16px, 1.8vw, 26px) clamp(16px, 1.8vw, 24px);
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.numbers__item::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--hairline);
  pointer-events: none;
  transition: border-color 0.5s var(--ease-out);
}
/* Уголок-засечка слева сверху: тот же приём, что у меток на кадрах. */
.numbers__item::after {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  width: 14px;
  height: 14px;
  border-top: 1px solid var(--hairline-strong);
  border-left: 1px solid var(--hairline-strong);
  pointer-events: none;
}
.numbers__item:hover::before { border-color: var(--hairline-strong); }
.numbers__value { display: block; line-height: 0.92; }
.numbers__unit {
  display: block;
  margin-top: 8px;
  font-size: clamp(12px, 0.95vw, 14px);
  color: var(--silver);
}
.numbers__item .micro { display: block; margin-top: 10px; color: var(--smoke-dim); }

/* --- заголовок со снимком справа ------------------------------------------- */
/* У «Каталога» заголовок в одно слово, и правая половина экрана стояла
   пустой: текст жался в левый столбец, а дальше шло чёрное поле. Снимок
   занимает её и заодно показывает товар до того, как человек дошёл до
   карточек. Это не плитка — у него нет рамки, он уходит в фон мягким
   краем, как кадр фильма. */
.headrow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  align-items: center;
  gap: clamp(20px, 4vw, 70px);
}

.headrow .section__head { margin-bottom: 0; max-width: 46ch; }

.headrow__ph {
  position: relative;
  margin: 0;
  overflow: hidden;
  /* Растворение краёв здесь не сработало: у снимка собственный фон
     чуть светлее страницы, и прямоугольник всё равно читался. Поэтому
     честная рамка — волосяная линия и то же скругление, что у карточек
     каталога. Так это осознанная рамка, а не плохо спрятанный стык. */
  border-radius: var(--radius-sm);
  border: 1px solid var(--hairline);
  box-shadow: 0 34px 80px -34px rgba(0, 0, 0, 1);
}

.headrow__img {
  display: block;
  width: 100%;
  /* Высота по самому снимку: любое заданное соотношение с object-fit:
     cover отрезало бы края, а у этого кадра с краю голова рыбы. */
  height: auto;
}

@media (max-width: 1000px) {
  .headrow { grid-template-columns: 1fr; gap: clamp(18px, 5vw, 32px); }
  .headrow .section__head { margin-bottom: 0; max-width: none; }
  /* Снимок встал под текст, а не рядом с ним, и упёрся в то, что идёт
     ниже: слово «ШТУЧНО» лежало прямо на нижнем крае фотографии. В две
     колонки этого зазора не требовалось — там снимок стоял сбоку. */
  .headrow__ph { margin-bottom: clamp(26px, 6vw, 48px); }
  .headrow__ph::after {
    background: linear-gradient(0deg, rgba(11, 11, 12, 0.5), rgba(11, 11, 12, 0) 30%);
  }
}

/* Адрес под лидом раздела: тон тише текста, но выше служебного серого —
   это то, ради чего человек может приехать. */
.section__addr {
  color: rgba(255, 255, 255, 0.62);
  margin-top: 2px;
}

.section__addrcta { margin-top: 14px; }

/* --- заголовок слева, плитки справа ---------------------------------------- */
.inforow {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: clamp(22px, 4vw, 72px);
}

.inforow .section__head { margin-bottom: 0; max-width: 34ch; }

.tiles--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 1000px) {
  .inforow { grid-template-columns: 1fr; gap: clamp(20px, 5vw, 34px); }
  .inforow .section__head { max-width: none; }
}

@media (max-width: 620px) {
  .tiles--2 { grid-template-columns: 1fr; }
}



/* --- клуб ------------------------------------------------------------------ */
/* Снимок кадрирован по кругу из рук и стал горизонтальным, поэтому
   никаких особых правил ему не нужно: он занимает свою колонку так же,
   как снимок в каталоге. */
#team .headrow .section__head { max-width: 40ch; }

/* Лид и второй абзац идут в две колонки. Один узкий столбец оставлял
   справа пустое поле в половину экрана, а растянуть лид во всю ширину
   нельзя: строка длиннее 70 знаков теряется при переходе на следующую. */
.section__head--wide { max-width: none; }

.section__cols {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  /* Колонки выровнены по НИЖНЕМУ краю. Абзацы разной длины: лид шесть
     строк, приглашение две. При выравнивании по верху под коротким
     абзацем оставалась дыра в четыре строки — она читалась как ошибка.
     По нижнему краю оба абзаца заканчиваются на одной линии, а воздух
     уходит вверх, где над ним стоит заголовок. */
  align-items: end;
  gap: clamp(22px, 4vw, 70px);
}

/* У лида снизу собственный отступ в 16px, и выравнивание по нижнему краю
   считало его частью блока: текст вставал на 16px выше соседнего. Внутри
   колонок отступ снимаем — тогда последние строки обоих абзацев ложатся
   на одну линию. */
.section__cols > .lede { margin-bottom: 0; }

/* Второй абзац тише лида: это не обещание, а подтверждение. Волосяная
   линия сверху даёт ему собственный верхний край — без неё он висел бы
   в пустоте без опоры. */
.section__sub {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
}

@media (max-width: 900px) {
  .section__cols { grid-template-columns: 1fr; gap: 16px; }
}


/* --- кадр на стыке секций ------------------------------------------------- */
/* Снимок сажается на границу между блоками так, что линия воды совпадает
   с самой границей, а рыба лежит прямо на ней. Поэтому полоса вынесена
   ВЫШЕ своей секции ровно на 51.4% своей высоты — на столько, где в кадре
   проходит горизонт (замерено по перепаду яркости).
   Верх и низ гасятся маской: без неё у кадра остаются прямые края, и
   вместо перехода получается обрубок. */
.section--lit { position: relative; }

.section--lit > .wrap { position: relative; z-index: 1; }

.section__lit {
  --lit-h: clamp(420px, 54vw, 880px);
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--lit-h) * -0.514);
  height: var(--lit-h);
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg,
    transparent 0%, #000 26%, #000 68%, transparent 100%);
          mask-image: linear-gradient(180deg,
    transparent 0%, #000 26%, #000 68%, transparent 100%);
}

/* Во всю ширину страницы: кадр панорамный, и обрезка по бокам ему не
   вредит — рыба и горизонт идут через центр. */
.section__litimg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  opacity: 0.85;
}

@media (max-width: 900px) {
  .section__lit { --lit-h: clamp(300px, 70vw, 520px); }
  .section__litimg { opacity: 0.6; }
}

/* --- строчка про куки ------------------------------------------------------
 *
 * Стоит слева внизу, где у сайта нет ничего важного: плашка заказа идёт
 * по центру, рейка глав — выше по левому краю. Набор не капсом: это
 * единственное место, где человека просят что-то прочитать, а капс с
 * трекингом читается медленнее.
 */

.consent {
  position: fixed;
  left: var(--gutter);
  bottom: clamp(14px, 2.4vh, 28px);
  z-index: 38;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: min(460px, calc(100vw - var(--gutter) * 2));
  padding: 13px 13px 13px 18px;
  border-radius: 14px;
  border: 1px solid var(--hairline);
  background: linear-gradient(180deg, rgba(23, 26, 30, 0.95), rgba(12, 13, 16, 0.93));
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transform: translateY(12px);
  visibility: hidden;
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out),
              visibility 0s linear 0.5s;
}
.consent.is-on {
  opacity: 1;
  transform: none;
  visibility: visible;
  transition-delay: 0s;
}

.consent__text {
  margin: 0;
  color: var(--smoke);
  font-size: 13px;
  line-height: 1.45;
}
.consent__text a {
  color: var(--silver);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  transition: color 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}
.consent__text a:hover { color: #fff; border-bottom-color: rgba(255, 255, 255, 0.7); }

.consent__ok {
  flex: 0 0 auto;
  padding: 9px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: opacity 0.3s var(--ease-out);
}
.consent__ok:hover { opacity: 0.84; }

/* Пока строчка висит, плашка заказа поднимается над ней. На телефоне обе
   занимают всю ширину, и без этого они просто накладываются. */
.has-consent .orderbar {
  bottom: calc(clamp(14px, 2.4vh, 28px) + var(--consent-h, 0px) + 12px);
}

@media (max-width: 680px) {
  .consent {
    left: 12px;
    right: 12px;
    max-width: none;
    gap: 12px;
    padding: 12px 12px 12px 15px;
  }
  .consent__text { font-size: 12.5px; }
  .consent__ok { padding: 9px 14px; }
}

/* Сноска про Meta под реквизитами: тише основной строки, но читаемая. */
.footer__note {
  margin-top: 6px;
  max-width: 54ch;
  color: var(--smoke);
  opacity: 0.72;
  text-transform: none;
  letter-spacing: 0;
}
