@import url("tokens.css?v=07ad3186");

/* ============ база ============ */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--f-text);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--c-black);
  background: var(--c-white);
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; }

:focus-visible { outline: 2px solid var(--c-brown-text); outline-offset: 2px; }

.skip {
  position: absolute; left: -9999px;
  background: var(--c-white); color: var(--c-black);
  padding: 12px 20px; z-index: var(--z-modal);
}
.skip:focus { left: 8px; top: 8px; }

/* ============ сетка ============
   12 колонок на всю страницу. Композиция строится размещением в колонках,
   а не выравниванием по центру — отсюда асимметрия и воздух в нужных местах. */
.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Шапка и футер идут по краю экрана, как и сцена: центрированный контейнер
   1240 px здесь создавал бы вторую, несовпадающую сетку. */
.wrap--wide {
  max-width: none;
  padding-inline: clamp(24px, 5vw, 96px);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-columns: 0;  /* элемент без класса колонки не создаёт лишнюю дорожку */
  gap: 24px;
  align-items: start;
}

.col-1-5   { grid-column: 1 / 6; }
.col-1-6   { grid-column: 1 / 7; }
.col-1-7   { grid-column: 1 / 8; }
.col-1-8   { grid-column: 1 / 9; }
.col-1-9   { grid-column: 1 / 10; }
.col-1-12  { grid-column: 1 / -1; }
.col-7-9   { grid-column: 7 / 10; }
.col-7-12  { grid-column: 7 / -1; }
.col-8-12  { grid-column: 8 / -1; }
.col-9-12  { grid-column: 9 / -1; }
.col-10-12 { grid-column: 10 / -1; }

.stack > * + * { margin-top: 20px; }

/* ============ типографика ============ */
.display {
  font-family: var(--f-accent);
  text-transform: uppercase;
  line-height: 0.94;
  letter-spacing: 0.01em;
}

.label {
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 16px;
  color: var(--c-brown-text);
}
.label--light { color: rgb(255 255 255 / 78%); }

.section__title { font-size: var(--fs-h2); margin-bottom: 56px; }
.num { font-variant-numeric: tabular-nums; }
.note { font-size: 15px; opacity: 0.75; margin-top: 8px; }

/* ============ секции на плоском фоне ============ */
.section { padding-block: var(--section-gap); }
.section--cream { background: var(--c-cream); }

/* ============ орнамент ============ */
.orn {
  height: 24px;
  color: var(--c-brown);
  background-image: url("../assets/ornament/vertical/orn-v-02.png");
  background-repeat: repeat-x;
  background-size: auto 24px;
}
.orn.is-vector { background-image: none; }
.orn svg { display: block; width: 100%; height: 24px; }
.orn path {
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: butt; stroke-linejoin: miter;
}
.orn.is-stitching path {
  transition: stroke-dashoffset var(--t-draw) var(--e-soft);
  stroke-dashoffset: 0 !important;
}

/* ============ кнопки ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 32px;
  border: none;
  border-radius: var(--radius);
  font-family: var(--f-accent);
  font-size: 18px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  background: var(--c-brown-text);
  color: var(--c-white);
  transition: background var(--t-fast) var(--e-soft), transform var(--t-instant) var(--e-soft);
}
.btn:hover { background: var(--c-brown-hover); }
.btn:active { transform: scale(0.98); }
.btn--ghost {
  background: transparent; color: currentColor;
  box-shadow: inset 0 0 0 1.5px currentColor;
}
.btn--ghost:hover { background: rgb(255 255 255 / 14%); }
.btn--light { background: var(--c-white); color: var(--c-brown-text); }
.btn--light:hover { background: #f2e6d6; }

/* ============ иконки ============ */
.i {
  width: var(--icon-md); height: var(--icon-md);
  flex: none; fill: none;
  stroke: currentColor; stroke-width: var(--icon-stroke);
  stroke-linecap: butt; stroke-linejoin: miter;
}
.i--inline { width: var(--icon-sm); height: var(--icon-sm); display: inline-block; vertical-align: -2px; }
.i--k { width: var(--icon-sm); height: var(--icon-sm); display: inline-block; vertical-align: -2px; margin-right: 8px; }
.i--space { width: var(--icon-lg); height: var(--icon-lg); margin-bottom: 16px; color: var(--c-brown-text); }

/* ============ шапка ============ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-header);
  color: var(--c-white);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--t-base) var(--e-soft), color var(--t-base) var(--e-soft),
              border-color var(--t-base) var(--e-soft);
}
/* Собственная подложка: белый текст должен читаться над любым кадром,
   в том числе над светлым небом. Плотность подобрана замером контраста. */
.header:not(.is-solid) {
  background: linear-gradient(to bottom, rgb(29 29 27 / 78%) 0%, rgb(29 29 27 / 40%) 62%, rgb(29 29 27 / 0%) 100%);
}
.header.is-solid {
  color: var(--c-black);
  background: rgb(255 255 255 / 88%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: rgb(29 29 27 / 12%);
}
.header__in { display: flex; align-items: center; gap: 32px; min-height: 76px; }
.header__logo { position: relative; display: block; }
.header__logo img { width: 132px; transition: opacity var(--t-base) var(--e-soft); }
.header__logo-light { position: absolute; inset: 0; }
.header.is-solid .header__logo-light { opacity: 0; }
.header:not(.is-solid) .header__logo-dark { opacity: 0; }
.header__nav { display: flex; gap: 28px; margin-left: auto; font-size: 15px; }
.header__nav a { text-decoration: none; }
.header__nav a:hover { opacity: 0.7; }
.header__tel {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; text-decoration: none; white-space: nowrap;
}

/* ============ область нажатия ============
   Ширины хватает везде, а высоты нет: ссылки и вкладки были 21—42 px
   при норме 44. Наращиваем область нажатия отступами, внешний вид
   при этом не меняется. */
.header__nav a,
.header__tel { display: inline-flex; align-items: center; min-height: 44px; }
.header__logo { display: inline-flex; align-items: center; min-height: 44px; }
.footer li a,
.footer__docs a { display: inline-flex; align-items: center; min-height: 44px; }
.footer li { margin-bottom: 2px; }
.switch__btn { min-height: 44px; }
.cookie__ok { min-height: 44px; }
.cookie a { display: inline; }
.doc-back { display: inline-flex; align-items: center; min-height: 44px; }

/* ============ сцена: вся страница ============
   Одна закреплённая сцена во весь экран. Прокрутка ведёт видео и такты:
   один экран прокрутки — один такт. Ниже сцены только футер. */
.stage { position: relative; }
.stage__sticky {
  position: relative;
  min-height: 100dvh;
  display: grid;
  overflow: hidden;
}
.stage.is-live { }
.stage.is-live .stage__sticky { position: sticky; top: 0; height: 100dvh; }

.stage__media { position: absolute; inset: 0; overflow: hidden; background: var(--c-black); }
.stage__media img,
.stage__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.stage__video { opacity: 0; transition: opacity 420ms var(--e-soft); }
.stage__video.is-on { opacity: 1; }
.stage.is-live .stage__still { opacity: 0; transition: opacity 420ms var(--e-soft); }

/* Второй кадр — для узких экранов, где видео не грузится: на второй половине
   истории фон меняется, иначе восемь тактов идут на одной картинке. */
.stage__still--b { opacity: 0; transition: opacity 600ms var(--e-soft); }
.stage.is-second .stage__still--b { opacity: 1; }
.stage.is-live .stage__still--b { display: none; }

/* Затемнение: плотное слева и снизу, где лежит текст; кадр справа остаётся живым. */
.stage__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgb(29 29 27 / 80%) 0%, rgb(29 29 27 / 52%) 42%, rgb(29 29 27 / 8%) 82%),
    linear-gradient(to top, rgb(29 29 27 / 62%) 0%, rgb(29 29 27 / 0%) 46%),
    linear-gradient(to bottom, rgb(29 29 27 / 46%) 0%, rgb(29 29 27 / 0%) 16%);
}

/* Сцена живёт во всю ширину экрана: контейнер 1240 здесь только зажимал бы
   композицию. Сетка считается от края с полем, поэтому левая половина
   действительно работает целиком. */
.beats {
  position: relative;
  align-self: end;              /* история стоит на левом нижнем углу кадра */
  align-items: end;             /* и каждый такт тоже: короткие не висят вверху */
  max-width: none;
  padding-inline: clamp(24px, 5vw, 96px);
  padding-block: 112px clamp(72px, 10vh, 132px);
  color: var(--c-white);
  column-gap: clamp(16px, 2vw, 32px);
}
.stage.is-live .beat {
  grid-row: 1;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 420ms var(--e-soft), transform 520ms var(--e-soft);
  pointer-events: none;
}
.stage.is-live .beat.is-on { opacity: 1; transform: none; pointer-events: auto; }
/* Без скрипта — такты идут обычной колонкой, каждый на своём экране. */
.stage:not(.is-live) .beat { padding-block: 10vh; }

.beat__mark { width: 72px; margin-bottom: 28px; }
.beat__title {
  font-family: var(--f-accent);
  text-transform: uppercase;
  font-size: clamp(2.75rem, 7vw, 7rem);
  line-height: 0.9;
  letter-spacing: 0.01em;
  margin: 0 0 24px;
}
/* Заглавные такты набираются крупно: заголовок держит весь левый край кадра. */
.beat__title--hero {
  font-size: clamp(3.25rem, 11vw, 12rem);
  line-height: 0.86;
  margin-bottom: 32px;
}
.beat__title--sm { font-size: clamp(2.25rem, 5vw, 4.5rem); }
.beat__lead {
  font-size: clamp(1.125rem, 1.6vw, 1.5rem);
  font-weight: 500; line-height: 1.5; margin: 0; max-width: 44ch;
}
.beat__lead--hero { font-size: clamp(1.1875rem, 1.9vw, 1.75rem); max-width: 34ch; }
.beat__note { font-size: 15px; opacity: 0.75; margin-top: 24px; max-width: 60ch; }
.beat__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ============ стекло ============
   Полупрозрачная подложка с размытием: данные читаются поверх кадра,
   но кадр остаётся виден — сцена не распадается на экран и карточки. */
.glass {
  background: rgb(29 29 27 / 46%);
  backdrop-filter: blur(18px) saturate(130%);
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: var(--radius);
}

.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 32px 0 0; padding: 0; }
.chip { padding: 12px 18px; font-size: 15px; }
.chip b { font-family: var(--f-accent); font-size: 24px; margin-right: 8px; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.duo__item { padding: 24px; }
.duo__item b { display: block; font-weight: 500; font-size: var(--fs-h3); margin: 4px 0 8px; }
.duo__item span { font-size: 15px; opacity: 0.85; }
.i--duo { width: var(--icon-lg); height: var(--icon-lg); }

/* Карта арендаторов встроена в страницу вектором: схема переведена
   в палитру сцены, поэтому лежит прямо на кадре, а не картинкой на подложке. */
.scheme__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.scheme__head .beat__title { margin-bottom: 0; }

.switch { display: flex; gap: 6px; padding: 5px; border-radius: var(--radius); background: rgb(29 29 27 / 46%); backdrop-filter: blur(18px) saturate(130%); border: 1px solid rgb(255 255 255 / 20%); }
.switch__btn {
  border: none;
  background: transparent;
  color: rgb(255 255 255 / 72%);
  font-family: var(--f-text);
  font-size: 15px;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: 3px;
  cursor: pointer;
  transition: background var(--t-fast) var(--e-soft), color var(--t-fast) var(--e-soft);
}
.switch__btn:hover { color: var(--c-white); }
.switch__btn.is-on { background: var(--c-white); color: var(--c-brown-text); }

.scheme { display: none; overflow-x: auto; }
.scheme.is-on { display: block; }
.scheme__svg { width: 100%; height: auto; min-width: 760px; display: block; }

.tiles {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; list-style: none; margin: 0; padding: 0;
}
.tile { padding: 18px 20px 18px 40px; position: relative; }
.tile__dot {
  position: absolute; left: 18px; top: 24px;
  width: 10px; height: 10px; transform: rotate(45deg);
}
.tile b { display: block; font-weight: 500; font-size: 17px; margin-bottom: 4px; }
.tile span { font-size: 14px; opacity: 0.82; line-height: 1.45; }

.stage__hint {
  position: absolute;
  right: clamp(24px, 5vw, 96px);
  bottom: 30px;
  color: var(--c-white); opacity: 0.7;
}
.stage__hint .i { width: var(--icon-lg); height: var(--icon-lg); }
.stage.is-past-hint .stage__hint { opacity: 0; transition: opacity var(--t-fast) var(--e-soft); }

/* Тонкая полоса прогресса истории — заменяет привычный «сколько ещё листать». */
.stage__progress {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: rgb(255 255 255 / 18%);
}
.stage__progress span {
  display: block; height: 100%; width: 0;
  background: var(--c-white);
  transition: width 120ms linear;
}
.stage:not(.is-live) .stage__progress,
.stage:not(.is-live) .stage__hint { display: none; }

/* ============ фермерам ============ */
.join { background: var(--c-brown-text); color: var(--c-white); }
.join .label { color: rgb(255 255 255 / 78%); }
.join a { color: var(--c-white); }
.join__contacts { font-size: var(--fs-lead); }

/* ============ футер ============ */
.footer { background: var(--c-black); color: var(--c-white); padding-block: 72px 40px; }
.footer img { width: 200px; }
.footer__slogan { margin-top: 16px; opacity: 0.7; }
.footer h3 { font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.6; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 10px; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__docs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 40px;
  font-size: 14px;
  opacity: 0.75;
}
.footer__legal {
  margin-top: 20px; padding-top: 24px;
  border-top: var(--border-soft-dark);
  font-size: 13px; opacity: 0.55; line-height: 1.6;
}

/* ============ уведомление о куки ============ */
.cookie {
  position: fixed;
  left: clamp(16px, 4vw, 32px);
  right: clamp(16px, 4vw, 32px);
  bottom: 16px;
  z-index: var(--z-popover);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  color: var(--c-white);
  font-size: 14px;
  background: rgb(29 29 27 / 82%);
  backdrop-filter: blur(18px) saturate(130%);
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: var(--radius);
}
.cookie.is-on { display: flex; }
.cookie a { color: var(--c-white); }
.cookie__ok {
  flex: none;
  border: none;
  border-radius: 3px;
  padding: 10px 20px;
  font-family: var(--f-text);
  font-size: 14px;
  font-weight: 500;
  color: var(--c-brown-text);
  background: var(--c-white);
  cursor: pointer;
}

/* ============ плавающая кнопка ============ */
/* Кнопка стоит у правого края, а не по центру: текст тактов прижат влево,
   и центрированная кнопка садилась прямо на заголовок. */
.floater {
  position: fixed;
  right: clamp(16px, 4vw, 28px);
  bottom: 16px;
  z-index: var(--z-float);
  display: none;
  opacity: 0;
  transform: translateY(80px);
  transition: transform var(--t-base) var(--e-out), opacity var(--t-base) var(--e-out);
}
.floater.is-on { transform: none; opacity: 1; }

/* ============ появление ============ */
.reveal { opacity: 0; transform: translateY(16px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity var(--t-enter) var(--e-out), transform var(--t-enter) var(--e-out);
}

/* ============ адаптив ============
   На узких экранах прокрутка не ведёт видео: перемотка там дорогая, а трафик
   и батарея дороже эффекта. Вместо этого кадр стоит на месте, а такты
   проезжают поверх — каждый на своём экране. Ощущение истории сохраняется. */

@media (max-width: 1023px) {
  .grid { gap: 20px; }
  .col-1-5, .col-1-6, .col-1-7, .col-1-8, .col-1-9,
  .col-7-9, .col-7-12, .col-8-12, .col-9-12, .col-10-12 { grid-column: 1 / -1; }

  /* Перемотка по прокрутке работает и здесь: сцена закрепляется, такты
     сменяются поверх кадра — как на десктопе, только компактнее. */
  .stage.is-live .stage__sticky {
    position: sticky; top: 0; height: 100dvh;
    display: grid; align-content: end;
  }
  .stage.is-live .beats { display: grid; padding-block: 96px clamp(88px, 14vh, 132px); }
  .stage.is-live .beat {
    grid-row: 1;
    min-height: 0;
    padding-block: 0;
    scroll-snap-align: none;
  }
  .stage.is-live .stage__media,
  .stage.is-live .stage__scrim { position: absolute; z-index: auto; }

  /* Запасной вариант, когда перемотка не включилась: одно видео крутится
     фоном петлёй. */
  .stage.is-loop .stage__video.is-on { display: block; opacity: 1; }
  .stage.is-loop .stage__still,
  .stage.is-loop .stage__still--b { opacity: 0; }

  /* Кадр закреплён за окном, такты идут поверх него. */
  .stage__sticky { min-height: auto; padding: 0; display: block; }
  .stage__media { position: fixed; inset: 0; z-index: -2; }
  .stage__scrim {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
      linear-gradient(to top, rgb(29 29 27 / 84%) 0%, rgb(29 29 27 / 48%) 46%, rgb(29 29 27 / 18%) 100%),
      linear-gradient(to bottom, rgb(29 29 27 / 62%) 0%, rgb(29 29 27 / 0%) 22%);
  }

  .beats {
    display: block;
    align-self: auto;
    /* тот же отступ, что у шапки и футера, — иначе текст и логотип
       стоят на разных вертикалях */
    padding: 0 clamp(24px, 5vw, 96px);
    scroll-snap-type: y proximity;
  }
  .beat {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-block: 104px clamp(72px, 12vh, 120px);
    /* Прилипание по верху, а не по низу: такт с шестью рядами выше экрана,
       и при выравнивании по низу у него срезало заголовок. */
    scroll-snap-align: start;
  }
  .stage:not(.is-live) .beat + .beat { margin-top: 0; }

  .beat__title { font-size: clamp(2.5rem, 8vw, 4.5rem); }
  .beat__title--hero { font-size: clamp(3rem, 12vw, 6.5rem); }
  .beat__title--sm { font-size: clamp(2rem, 6.5vw, 3.5rem); }
  .beat__lead { font-size: clamp(1.0625rem, 2.4vw, 1.25rem); max-width: none; }
  .beat__lead--hero { font-size: clamp(1.125rem, 3vw, 1.5rem); }

  .tiles { grid-template-columns: repeat(2, 1fr); }
  .duo { grid-template-columns: 1fr; }
  .scheme__head { flex-direction: column; align-items: flex-start; }

  .stage__hint, .stage__progress { display: none; }

  /* Меню в шапке на планшете ломается на две строки — убираем его:
     все разделы всё равно проходят подряд, а навигация нужна на десктопе. */
  .header__nav { display: none; }
  .header__in { justify-content: space-between; }

  /* Такты проезжают прямо под шапкой, и сквозь градиент текст сливался
     с логотипом. На узких экранах шапка плотная — читаемость важнее эффекта. */
  .header:not(.is-solid) {
    background: rgb(29 29 27 / 82%);
    backdrop-filter: blur(14px) saturate(130%);
    border-bottom-color: rgb(255 255 255 / 12%);
  }
  /* Кнопка маршрута под большим пальцем нужна и на планшете. */
  .floater { display: inline-flex; }
}

@media (max-width: 767px) {
  /* Меню скрыто, и его margin-left: auto больше не отодвигает телефон вправо —
     разводим логотип и номер по краям явно. */
  .header__in { min-height: 60px; gap: 12px; justify-content: space-between; }
  .header__logo img { width: 116px; }
  .header__tel { font-size: 14px; }

  .beat { padding-block: 88px clamp(88px, 14vh, 120px); }
  /* В режиме перемотки такт не может расти выше экрана, а шесть плиток
     в столбик в него не помещаются — ставим в две колонки. */
  .tiles { grid-template-columns: 1fr 1fr; gap: 8px; }
  .tile { padding: 12px 12px 12px 30px; }
  .tile b { font-size: 15px; margin-bottom: 2px; }
  .tile span { font-size: 12.5px; line-height: 1.35; }
  .tile__dot { left: 12px; top: 17px; width: 8px; height: 8px; }
  .chips { gap: 8px; }
  .chip { font-size: 14px; padding: 10px 14px; }
  .chip b { font-size: 20px; }
  .beat__cta { flex-direction: column; align-items: stretch; }
  .beat__cta .btn { width: 100%; justify-content: center; }

  .floater { padding: 0 20px; min-height: 48px; font-size: 16px; }
  .cookie { flex-direction: column; align-items: stretch; text-align: left; bottom: 76px; }
  .cookie__ok { width: 100%; }

  /* Схема слишком мелкая для телефона: показываем её с горизонтальной
     прокруткой внутри своей области и подсказываем, что её можно листать. */
  .scheme { position: relative; -webkit-overflow-scrolling: touch; }
  .scheme__svg { min-width: 900px; }
  .scheme::after {
    content: "";
    position: absolute; top: 0; right: 0; bottom: 0; width: 48px;
    pointer-events: none;
    background: linear-gradient(to right, rgb(29 29 27 / 0%), rgb(29 29 27 / 55%));
  }
  .switch { width: 100%; }
  .switch__btn { flex: 1; padding: 10px 12px; font-size: 14px; }

  .footer { padding-block: 56px 32px; }
  .footer img { width: 168px; }
}

/* Самые узкие экраны: в режиме перемотки такт не растёт, поэтому у плотного
   такта «Товары» убираем описания — остаются названия и цветные метки. */
@media (max-width: 400px), (max-height: 740px) {
  .stage.is-live .beats { padding-block: 84px 76px; }
  .stage.is-live .tile span { display: none; }
  .stage.is-live .tile { padding: 12px 12px 12px 28px; }
  .stage.is-live .beat__note { margin-top: 16px; font-size: 13px; }
  /* «Два пространства» на низком экране: иконка меньше, поля плотнее. */
  .stage.is-live .duo { gap: 8px; }
  .stage.is-live .duo__item { padding: 14px 16px; }
  .stage.is-live .duo__item b { font-size: 16px; margin: 2px 0 4px; }
  .stage.is-live .duo__item span { font-size: 13px; line-height: 1.4; }
  .stage.is-live .i--duo { width: 22px; height: 22px; }
  .stage.is-live .chip { padding: 9px 13px; font-size: 13px; }
  .stage.is-live .chip b { font-size: 19px; }
}

/* Планшет: две колонки там, где на телефоне одна, и крупнее шрифт. */
@media (min-width: 768px) and (max-width: 1023px) {
  .beat { padding-block: 112px clamp(80px, 12vh, 128px); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .duo { grid-template-columns: 1fr 1fr; }
  .beat__cta { flex-direction: row; }
  .beat__cta .btn { width: auto; }
}
