/* ==========================================================================
   Сайт тренера по йоге
   Конструкция снята с urokitattoostudio.framer.website (см. reference/*.md)
   Все числа — замеренные у донора, не на глаз.
   ========================================================================== */

/* ---------- 1. ТОКЕНЫ ---------- */
:root{
  --bg:      #000;
  --fg:      #fff;
  --muted:   #737373;

  --pad-x:   24px;          /* горизонтальный паддинг страницы, на всех брейкпоинтах */
  --sec-y:   100px;         /* вертикальный паддинг секций (60px на телефоне) */

  /* шкала гэпов донора */
  --g-2: 2px;  --g-4: 4px;  --g-8: 8px;  --g-10: 10px;
  --g-18: 18px; --g-20: 20px; --g-24: 24px; --g-80: 80px;

  /* шрифты */
  --f-display: "Onest", system-ui, sans-serif;   /* замена General Sans: у него нет кириллицы */
  --f-ui:      "Inter", system-ui, sans-serif;

  --footer-h: 725px;        /* пересчитывается из JS по факту */
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- 2. СБРОС ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ background:var(--bg); }
body{
  margin:0;
  background:var(--bg);
  color:var(--fg);
  font-family:var(--f-ui);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img,svg,video{ display:block; max-width:100%; }
ul{ margin:0; padding:0; list-style:none; }
p{ margin:0; }
a{ color:inherit; text-decoration:none; }
h1{ margin:0; font-weight:400; }

/* ---------- 3. ТИПОГРАФИЧЕСКИЕ ПРЕСЕТЫ (8 штук, как у донора) ---------- */

/* P1 — базовый интерфейсный: ссылки, кнопки, подписи */
.t-ui,.link__text,.btn__label,.see__label,.hero__tagline,.footer__col-title{
  font-family:var(--f-ui);
  font-size:12px;
  font-variation-settings:"opsz" 18,"wght" 634;
  letter-spacing:normal;
  line-height:1.3;
  text-transform:uppercase;
}

/* P2 — дисплейный, бегущая строка */
.display{
  font-family:var(--f-display);
  font-size:200px;
  font-variation-settings:"wght" 500;
  font-weight:500;
  letter-spacing:-.05em;      /* −10px при 200px */
  line-height:1.1;            /* 220px */
  text-transform:uppercase;
  white-space:nowrap;
}

/* левая ячейка нижней строки занимает всю свободную ширину, как у донора */
.hero__location{ flex:1 1 auto; }

/* P3 — крупная подпись: «Практика в Москве», метки секций */
.t-lead,.hero__location{
  font-family:var(--f-ui);
  font-size:18px;
  font-variation-settings:"opsz" 18,"wght" 634;
  letter-spacing:-.01em;
  line-height:1.3;
  text-transform:uppercase;
}

/* P4 — крупный абзац */
.t-body{
  font-family:var(--f-display);
  font-size:24px;
  font-variation-settings:"wght" 500;
  letter-spacing:-.01em;
  line-height:1.4;
  text-transform:uppercase;
}

/* P5 — строки направлений */
.t-service{
  font-family:var(--f-ui);
  font-size:40px;
  font-variation-settings:"opsz" 18,"wght" 800;
  letter-spacing:-.02em;
  line-height:1;
  text-transform:uppercase;
}

/* P6 / P7 — мелкий текст подвала */
.t-fine{
  font-family:var(--f-ui);
  font-size:10px;
  font-variation-settings:"opsz" 18,"wght" 634;
  line-height:1.3;
  text-transform:uppercase;
  color:var(--muted);
}
.t-fine-link{ color:var(--fg); }

/* P8 — заголовок колонки подвала */
.footer__col-title{ color:var(--muted); }

/* ---------- 4. КАРКАС ---------- */
.page{
  position:relative;
  z-index:1;                 /* едет поверх зафиксированного подвала */
  background:var(--bg);
  display:flex;
  flex-direction:column;
  align-items:center;
  margin-bottom:var(--footer-h);   /* столько подвала откроется в конце */
}

/* ==========================================================================
   5. ШАПКА + HERO   (у донора это ОДИН элемент <header>)
   ========================================================================== */
.hero{
  position:sticky;
  top:0;
  z-index:1;
  width:100%;
  padding:160px var(--pad-x) 60px;
  background:var(--bg);
  overflow:clip;
  display:flex;
  flex-direction:column;
  gap:var(--g-10);
  justify-content:flex-end;
  align-items:center;
}

.hero__inner{
  position:relative;
  width:100%;
  height:550px;              /* 770 = 160 + 550 + 60 */
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  align-items:center;
}

.hero__top-group{
  width:100%;
  display:flex;
  flex-direction:column;
  gap:var(--g-20);
  justify-content:center;
  align-items:flex-end;
}

/* --- верхняя строка --- */
.hero__top-row{
  position:relative;
  z-index:2;                 /* над фото */
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  overflow:clip;
}
.hero__socials{
  display:flex;
  flex-direction:column;
  gap:var(--g-4);
  align-items:flex-start;
}
.hero__tagline{
  width:280px;               /* жёсткая ширина у донора */
  flex:none;
}

/* --- бегущая строка --- */
.hero__marquee{
  position:relative;
  z-index:1;                 /* ПОД фото */
  width:100%;
}

/* --- нижняя строка --- */
.hero__bottom-row{
  position:relative;
  z-index:2;                 /* над фото */
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  overflow:clip;
}

/* --- фото --- */
/* Фигура вырезана по контуру, поэтому object-fit:cover запрещён — обрежет
   позу. Высота равна высоте hero, ширина следует из пропорций файла. */
.hero__photo{
  position:absolute;
  top:0;
  left:50%;
  transform:translateX(-50%);
  z-index:1;                 /* тот же слой, что и строка, но позже в DOM → сверху */
  height:100%;
  aspect-ratio:915 / 1800;
  pointer-events:none;
}
.hero__photo img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center bottom;
}

/* ==========================================================================
   6. БЕГУЩАЯ СТРОКА
   ========================================================================== */
/* Приём донора: внутри дорожки ровно ДВЕ одинаковые копии.
   Сдвиг на «половину дорожки минус половина гэпа» даёт бесшовный цикл. */
.marquee{ overflow:clip; }
.marquee__track{
  --marquee-gap:10px;
  display:flex;
  flex-direction:row;
  gap:var(--marquee-gap);
  align-items:center;
  width:max-content;
  animation:marquee 34s linear infinite;
}
.marquee__track--offset{ animation-delay:-11s; }   /* другая фаза, как у донора */
.marquee__item{ flex:none; }

@keyframes marquee{
  from{ transform:translateX(0); }
  to  { transform:translateX(calc(-50% - (var(--marquee-gap) / 2))); }
}

/* ==========================================================================
   7. ПАТТЕРН ССЫЛКИ — текст + полоска 16×2
   ========================================================================== */
.link-wrap{ position:relative; display:block; }
.link{
  position:relative;
  display:flex;
  flex-direction:column;
  gap:0;
  justify-content:center;
  align-items:flex-start;
  overflow:clip;
}
.link__text{ display:block; }
.link__bar{
  display:block;
  width:16px;
  height:2px;
  background:var(--fg);
  transition:width .4s var(--ease);
}
.link:hover .link__bar,
.link:focus-visible .link__bar{ width:100%; }

/* ==========================================================================
   8. ПАТТЕРН СТРЕЛКИ — две одинаковые иконки, уезжают по диагонали
   ========================================================================== */
.arrow,.btn__icon{
  position:relative;
  display:flex;
  justify-content:center;
  align-items:center;
  overflow:hidden;
  color:currentColor;
}
.arrow{ width:20px; height:20px; flex:none; }
.arrow__main,.arrow__ghost{ width:100%; height:100%; }
.arrow__ghost{
  position:absolute;
  inset:0;
  transform:translate(-100%,100%);   /* ждёт внизу-слева */
}
.arrow__main,.arrow__ghost{ transition:transform .45s var(--ease); }

.see:hover .arrow__main,
.btn:hover .arrow__main{ transform:translate(100%,-100%); }
.see:hover .arrow__ghost,
.btn:hover .arrow__ghost{ transform:translate(0,0); }

/* ==========================================================================
   9. КНОПКА-ПИЛЮЛЯ — два белых блока с зазором 2px
   ========================================================================== */
.btn{
  display:flex;
  flex-direction:row;
  gap:var(--g-2);
  align-items:center;
}
.btn__label{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:8px 10px;
  background:var(--fg);
  color:var(--bg);
}
.btn__icon{
  width:36px;
  height:36px;
  flex:none;
  padding:6px;
  background:var(--fg);
  color:var(--bg);
}
.btn__icon svg{ width:24px; height:24px; }

/* ==========================================================================
   10. БЛОК «СМОТРЕТЬ ПРАКТИКУ» — 180×156
   ========================================================================== */
.see{
  width:180px;
  height:156px;
  flex:none;
  display:flex;
  flex-direction:column;
  gap:var(--g-8);
  justify-content:center;
  align-items:center;
  overflow:clip;
}
.see__head{
  width:100%;
  height:20px;
  display:flex;
  flex-direction:row;
  gap:var(--g-10);
  justify-content:center;
  align-items:center;
  overflow:clip;
}
.see__thumbs{
  width:100%;
  height:128px;
  overflow:clip;
}
.see__track{
  --marquee-gap:6px;          /* шаг 156 = 150 + 6 */
  display:flex;
  gap:var(--marquee-gap);
  width:max-content;
  animation:marquee 18s linear infinite;
}
.see__thumb{
  width:150px;
  height:128px;
  flex:none;
  object-fit:cover;
}

/* ==========================================================================
   10b. ВЕРХНЕЕ МЕНЮ — фиксированная панель, спрятана сдвигом вверх
   ========================================================================== */
.topbar{
  position:fixed;
  top:0; left:0; right:0;
  z-index:5;
  transform:translateY(-100%);
  transition:transform .45s var(--ease);
}
.topbar.is-on{ transform:translateY(0); }

.topbar__bar{
  height:60px;
  background:var(--bg);
  border-bottom:1px solid rgba(255,255,255,.14);
  display:flex;
  align-items:center;
}
.topbar__row{
  width:100%;
  padding:0 var(--pad-x);
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:space-between;
  gap:var(--g-24);
}

.topbar__logo{ display:flex; flex-direction:column; gap:2px; flex:none; }
.topbar__logo-name{
  font-family:var(--f-ui);
  font-size:12px;
  font-variation-settings:"opsz" 18,"wght" 700;
  line-height:1.2;
  text-transform:uppercase;
}
.topbar__logo-sub{
  font-family:var(--f-ui);
  font-size:9px;
  font-variation-settings:"opsz" 18,"wght" 634;
  line-height:1.2;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--muted);
}

.topbar__links{
  display:flex;
  flex-direction:row;
  gap:var(--g-18);
  align-items:center;
}

.topbar__cta{ flex:none; }
.topbar__cta .btn__label{ padding:6px 10px; }
.topbar__cta .btn__icon{ width:28px; height:28px; padding:4px; }
.topbar__cta .btn__icon svg{ width:18px; height:18px; }

/* ==========================================================================
   11. ФОТО В Ч/Б — решение «смешанно»: hero и портрет обесцвечены,
       галерея остаётся цветной. Убрать ч/б — удалить этот блок.
   ========================================================================== */
.hero__photo img,
.about__sticky img,
.see__thumb{ filter:grayscale(1) contrast(1.06); }

/* ==========================================================================
   12. КАРКАС СЕКЦИЙ (паттерн донора: метка по центру, описание вправо)
   ========================================================================== */
/* position:relative + z-index:1 обязательны: hero — sticky с z-index:1,
   и без собственного контекста статичные секции отрисовываются ПОД ним,
   из-за чего он накрывает всю страницу. У донора так же: каждая секция relative/z1. */
.sec{
  position:relative;
  z-index:1;
  width:100%;
  padding:var(--sec-y) var(--pad-x);
  background:var(--bg);
  display:flex;
  justify-content:center;
}
.sec--lead{ padding-bottom:0; }

.sec__wrap{
  width:100%;
  display:flex;
  flex-direction:column;
  gap:var(--g-80);
}
.sec__head{
  width:100%;
  display:flex;
  flex-direction:column;
  gap:var(--g-18);
  align-items:center;
}
.sec__label{
  width:100%;
  text-align:center;
  font-family:var(--f-ui);
  font-size:18px;
  font-variation-settings:"opsz" 18,"wght" 634;
  letter-spacing:-.01em;
  line-height:1.3;
  text-transform:uppercase;
}
.sec__desc{
  width:100%;
  display:flex;
  justify-content:flex-end;
}
.sec__desc > p{ width:67%; }         /* 924 из 1377 у донора */

.note{
  margin-top:var(--g-24);
  font-size:10px;
  line-height:1.3;
  text-transform:uppercase;
  color:var(--muted);
}
.inline-link{ text-decoration:underline; text-underline-offset:3px; }

/* ==========================================================================
   13. ПОЛОСА ЦИФР ПОД HERO
   ========================================================================== */
.stats{
  position:relative;
  z-index:1;              /* см. комментарий у .sec — иначе hero накроет */
  width:100%;
  padding:60px var(--pad-x);
  background:var(--bg);
  display:flex;
  justify-content:center;
}
.stats__row{
  width:100%;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:var(--g-18);
  border-top:1px solid rgba(255,255,255,.18);
  border-bottom:1px solid rgba(255,255,255,.18);
  padding:32px 0;
}
.stat{ display:flex; flex-direction:column; gap:var(--g-8); }
.stat__num{
  font-family:var(--f-display);
  font-size:56px;
  font-variation-settings:"wght" 500;
  letter-spacing:-.03em;
  line-height:1;
}
.stat__cap{
  font-size:12px;
  font-variation-settings:"opsz" 18,"wght" 634;
  line-height:1.3;
  text-transform:uppercase;
  color:var(--muted);
}

/* ==========================================================================
   14. О СЕБЕ — текст слева, залипающее фото справа
   ========================================================================== */
.about__grid{
  width:100%;
  display:flex;
  flex-direction:row;
  gap:120px;
  align-items:flex-start;
}
.about__text{
  flex:1 1 0;
  display:flex;
  flex-direction:column;
  gap:200px;              /* у донора 250px — задаёт запас хода залипающему фото */
  padding:180px 0;        /* у донора 400px 0 */
}
.about__media{
  flex:1 1 0;
  align-self:stretch;     /* КЛЮЧЕВОЕ: без этого колонка равна высоте фото
                             и залипание не работает — ходу ноль */
}
.about__sticky{
  position:sticky;
  top:120px;
  aspect-ratio:615 / 648;
  overflow:clip;
}
.about__sticky img{ width:100%; height:100%; object-fit:cover; object-position:center 28%; }

/* ==========================================================================
   15. ГАЛЕРЕЯ — карусель 330×367, шаг 18px
   ========================================================================== */
/* Лента двигается скроллом (main.js), собственной анимации нет. */
.gallery{ width:100%; overflow:clip; }
.gallery__track{
  display:flex;
  flex-direction:row;
  gap:var(--g-18);
  align-items:center;
  width:max-content;
  will-change:transform;
}
.gallery__item{
  flex:none;
  width:330px;
  height:367px;
  overflow:clip;
}
.gallery__item img{ width:100%; height:100%; object-fit:cover; }

/* ==========================================================================
   16. ФОРМАТЫ — строки-прайс
   ========================================================================== */
/* Приём донора: названия по центру; при наведении строка инвертируется
   в белую полосу во всю ширину, рядом всплывает миниатюра. */
.formats{ position:relative; width:100%; display:flex; flex-direction:column; }
.fmt{
  position:relative;
  border-top:1px solid rgba(255,255,255,.18);
  padding:28px var(--pad-x);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:var(--g-8);
  text-align:center;
  transition:background-color .35s var(--ease), color .35s var(--ease);
}
.fmt:last-of-type{ border-bottom:1px solid rgba(255,255,255,.18); }
.fmt__name{ display:block; }
.fmt__price{
  display:block;
  font-size:12px;
  font-variation-settings:"opsz" 18,"wght" 634;
  text-transform:uppercase;
  white-space:nowrap;
}
.fmt__desc{
  display:block;
  max-width:62ch;
  font-size:12px;
  font-variation-settings:"opsz" 18,"wght" 634;
  line-height:1.5;
  text-transform:uppercase;
  color:var(--muted);
  transition:color .35s var(--ease);
}

.fmt:hover,
.fmt:focus-visible{ background:var(--fg); color:var(--bg); }
.fmt:hover .fmt__desc,
.fmt:focus-visible .fmt__desc{ color:rgba(0,0,0,.6); }

/* всплывающая миниатюра — позицию задаёт main.js */
.fmt-thumb{
  position:absolute;
  z-index:2;
  width:190px;
  height:150px;
  overflow:clip;
  opacity:0;
  pointer-events:none;
  transform:translate(-50%,-50%) scale(.92);
  transition:opacity .3s var(--ease), transform .3s var(--ease);
}
.fmt-thumb.is-on{ opacity:1; transform:translate(-50%,-50%) scale(1); }
.fmt-thumb img{ width:100%; height:100%; object-fit:cover; }
@media (hover:none),(pointer:coarse){ .fmt-thumb{ display:none; } }

/* ==========================================================================
   17. СПИСКИ-ГАЛОЧКИ (кому подойдёт / почему доверяют)
   ========================================================================== */
.checks{ width:100%; display:flex; flex-direction:column; }
.checks--two{
  display:grid;
  grid-template-columns:1fr 1fr;
  column-gap:var(--g-80);
}
.check{
  border-top:1px solid rgba(255,255,255,.18);
  padding:var(--g-18) 0;
  font-family:var(--f-ui);
  font-size:18px;
  font-variation-settings:"opsz" 18,"wght" 634;
  letter-spacing:-.01em;
  line-height:1.35;
  text-transform:uppercase;
}
.checks > .check:last-child{ border-bottom:1px solid rgba(255,255,255,.18); }
.checks--two > .check:nth-last-child(-n+2){ border-bottom:1px solid rgba(255,255,255,.18); }

/* ==========================================================================
   18. РЕЗУЛЬТАТЫ
   ========================================================================== */
.results{
  width:100%;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:var(--g-18);
}
.result{
  border-top:1px solid rgba(255,255,255,.18);
  padding-top:var(--g-24);
  display:flex;
  flex-direction:column;
  gap:var(--g-18);
}
.result__num{
  font-family:var(--f-display);
  font-size:40px;
  font-variation-settings:"wght" 500;
  letter-spacing:-.02em;
  line-height:1.05;
  text-transform:uppercase;
}
.result__txt{
  font-size:12px;
  font-variation-settings:"opsz" 18,"wght" 634;
  line-height:1.5;
  text-transform:uppercase;
  color:var(--muted);
}
.result--empty{ opacity:.4; }

/* ==========================================================================
   19. ВОПРОСЫ
   ========================================================================== */
.faq{ width:100%; display:flex; flex-direction:column; }
.qa{ border-top:1px solid rgba(255,255,255,.18); }
.qa:last-child{ border-bottom:1px solid rgba(255,255,255,.18); }
.qa__q{
  list-style:none;
  cursor:pointer;
  padding:var(--g-24) 40px var(--g-24) 0;
  position:relative;
  font-family:var(--f-ui);
  font-size:18px;
  font-variation-settings:"opsz" 18,"wght" 634;
  letter-spacing:-.01em;
  text-transform:uppercase;
}
.qa__q::-webkit-details-marker{ display:none; }
.qa__q::after{
  content:"+";
  position:absolute;
  right:0;
  top:50%;
  transform:translateY(-50%);
  font-size:24px;
  line-height:1;
}
.qa[open] .qa__q::after{ content:"–"; }
.qa__a{
  padding:0 0 var(--g-24);
  max-width:67%;
  font-size:12px;
  font-variation-settings:"opsz" 18,"wght" 634;
  line-height:1.6;
  text-transform:uppercase;
  color:var(--muted);
}

/* ==========================================================================
   20. ФИНАЛЬНЫЙ ЭКРАН
   ========================================================================== */
.final{
  position:relative;
  z-index:1;              /* см. комментарий у .sec — иначе hero накроет */
  width:100%;
  min-height:100vh;
  padding:var(--sec-y) var(--pad-x);
  background:var(--bg);
  overflow:clip;
  display:flex;
  align-items:center;
  justify-content:center;
}
.final__sticky{
  position:relative;
  width:100%;
  min-height:70vh;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:clip;
}
.final__inner{
  position:relative;
  z-index:1;
  max-width:800px;
  padding:60px 0;
  display:flex;
  flex-direction:column;
  gap:40px;
  align-items:center;
  text-align:center;
}
.final__title{
  font-family:var(--f-display);
  font-size:44px;
  font-variation-settings:"wght" 500;
  letter-spacing:-.02em;
  line-height:1.15;
  text-transform:uppercase;
}
.final__sub{
  font-size:18px;
  font-variation-settings:"opsz" 18,"wght" 634;
  letter-spacing:-.01em;
  text-transform:uppercase;
  color:#6b6b6b;
}

/* ИНВЕРСИЯ. Единственный светлый экран на сайте — тем и работает.
   Кнопка тоже переворачивается: чёрная плашка, белый знак. */
.final{ background:var(--fg); color:var(--bg); }
.final .btn__label,
.final .btn__icon{ background:var(--bg); color:var(--fg); }
.btn--lg .btn__label{ padding:14px 20px; font-size:14px; }
.btn--lg .btn__icon{ width:48px; height:48px; }

/* ==========================================================================
   21. КНОПКА «НАВЕРХ» (меню у донора нет, но страница длинная)
   ========================================================================== */
.totop{
  position:fixed;
  right:24px; bottom:24px;
  z-index:5;
  width:44px; height:44px;
  display:flex; align-items:center; justify-content:center;
  background:var(--fg);
  color:var(--bg);
  opacity:0;
  visibility:hidden;
  transition:opacity .3s var(--ease), visibility .3s;
}
.totop.is-on{ opacity:1; visibility:visible; }
.totop svg{ width:20px; height:20px; }

/* ==========================================================================
   12. ПОДВАЛ — fixed, проявляется из-под main
   ========================================================================== */
.footer{
  position:fixed;
  left:0; right:0; bottom:0;
  z-index:0;
  padding:120px var(--pad-x) 20px;
  background:var(--bg);
  overflow:clip;
  display:flex;
  flex-direction:column;
  gap:var(--g-10);
  justify-content:center;
  align-items:center;
}
.footer__inner{
  width:100%;
  display:flex;
  flex-direction:column;
  gap:var(--g-80);
  justify-content:center;
  align-items:center;
}

.footer__cols{
  width:100%;
  display:flex;
  flex-direction:row;
  justify-content:space-between;
  align-items:flex-start;
}
.footer__col{
  display:flex;
  flex-direction:column;
  gap:var(--g-18);
  justify-content:center;
  align-items:flex-start;
}
.footer__links{
  display:flex;
  flex-direction:column;
  gap:var(--g-8);
  align-items:flex-start;
}

.footer__marquee{ width:100%; }

.footer__bottom{
  width:100%;
  display:flex;
  flex-direction:row;
  justify-content:space-between;
  align-items:flex-end;
}
.footer__bottom-cell{
  display:flex;
  flex-direction:column;
  gap:0;
  justify-content:center;
  align-items:flex-start;
}
.footer__bottom-cell--addr{ width:129px; }

/* ==========================================================================
   13. ПРЕЛОАДЕР
   ========================================================================== */
.preloader{
  position:fixed;
  inset:0;
  z-index:100;
  display:flex;
  justify-content:center;
  align-items:center;
  background:var(--bg);
  transition:opacity .6s var(--ease), visibility .6s;
}
.preloader.is-done{ opacity:0; visibility:hidden; }
.preloader__mark{ text-align:center; }
.preloader__name{
  display:block;
  font-family:var(--f-display);
  font-size:44px;
  font-variation-settings:"wght" 500;
  letter-spacing:-.03em;
  line-height:1;
  text-transform:uppercase;
}
.preloader__sub{
  display:block;
  margin-top:6px;
  font-family:var(--f-ui);
  font-size:12px;
  font-variation-settings:"opsz" 18,"wght" 700;
  letter-spacing:.08em;
  text-transform:uppercase;
}

/* ==========================================================================
   14. КАСТОМНЫЙ КУРСОР
   ========================================================================== */
.cursor{
  position:fixed;
  top:0; left:0;
  z-index:6;
  pointer-events:none;
  opacity:0;
  transition:opacity .3s;
}
.cursor.is-on{ opacity:1; }
.cursor__dot{
  display:block;
  width:28px; height:28px;
  margin:-14px 0 0 -14px;
  border:1px solid var(--fg);
  border-radius:50%;
  transition:transform .25s var(--ease), background-color .25s;
}
.cursor.is-hot .cursor__dot{ transform:scale(1.6); background:rgba(255,255,255,.15); }
@media (hover:none),(pointer:coarse){ .cursor{ display:none; } }

/* ==========================================================================
   15. БРЕЙКПОИНТЫ — значения донора: 1200 / 810 / 809
   ========================================================================== */

/* --- ПЛАНШЕТ 810–1199px ---
   Точный замер снять не удалось (окно Chrome не сжималось).
   Значения интерполированы между двумя точными замерами: 200px@1425 и 108px@591.
   При появлении возможности — уточнить. */
@media (max-width:1199.98px){
  .display{ font-size:clamp(127px, 15vw, 170px); }
  .hero{ padding:120px var(--pad-x) 60px; }
  .hero__inner{ height:auto; min-height:480px; gap:60px; }
  .hero__photo{ width:min(1026px, 78%); height:760px; top:40px; }
  .see{ width:160px; height:146px; }

  .stats__row{ grid-template-columns:repeat(2,1fr); row-gap:32px; }
  .stat__num{ font-size:44px; }
  .about__grid{ gap:60px; }
  .about__text{ gap:80px; padding:80px 0; }
  .final__title{ font-size:34px; }
}

/* --- ТЕЛЕФОН ≤809px --- */
@media (max-width:809.98px){
  :root{ --sec-y:60px; }

  .hero{ padding:80px var(--pad-x) 60px; }
  .hero__inner{ height:550px; min-height:0; gap:0; }
  .hero__top-group{ gap:12px; }

  /* соцсети у донора на телефоне скрыты, остаётся только слоган справа */
  .hero__socials{ display:none; }
  .hero__top-row{ justify-content:flex-end; }
  .hero__tagline{ width:234px; font-size:10px; line-height:1.2; }

  .display{ font-size:108px; line-height:1.1; }   /* ls −5.4px = те же −.05em */

  .hero__location{ font-size:14px; }

  /* вырезанную фигуру не растягиваем: держим пропорции, вписываем по высоте */
  .hero__photo{
    height:100%;
    top:0;
    left:50%;
    transform:translateX(-50%);
  }

  .see{ width:135px; height:135px; }
  .see__thumbs{ height:107px; }
  .see__label{ font-size:10px; }

  /* подвал перестаёт быть fixed — обычный блок в потоке */
  .page{ margin-bottom:0; }
  .footer{
    position:relative;
    padding:100px var(--pad-x) 20px;
  }
  .footer__cols{
    flex-direction:column;
    gap:var(--g-24);
    align-items:flex-start;
  }
  .footer__col-title{ font-size:10px; line-height:1.2; }
  .footer__bottom{
    flex-direction:column;
    gap:var(--g-20);
    align-items:flex-start;
  }
  .footer__bottom-cell--addr{ width:auto; }

  /* --- новые секции на телефоне --- */
  .sec__wrap{ gap:48px; }
  .sec__label{ text-align:left; }
  .sec__desc{ justify-content:flex-start; }
  .sec__desc > p{ width:100%; font-size:18px; line-height:1.4; }

  .stats{ padding:40px var(--pad-x); }
  .stats__row{ grid-template-columns:1fr 1fr; row-gap:28px; padding:24px 0; }
  .stat__num{ font-size:36px; }
  .stat__cap{ font-size:10px; }

  .about__grid{ flex-direction:column; gap:40px; }
  .about__text{ gap:32px; padding:0; }
  .about__sticky{ position:relative; top:0; }

  .gallery__item{ width:240px; height:267px; }

  .fmt{ padding:20px 0; }
  .fmt__name{ font-size:26px; }
  .fmt__desc{ max-width:100%; font-size:11px; }

  /* в панели остаются логотип и кнопка, пункты прячем */
  .topbar__links{ display:none; }
  .topbar__logo-sub{ display:none; }
  .topbar__cta .btn__label{ padding:6px 8px; font-size:11px; }

  .check{ font-size:14px; }
  .checks--two{ grid-template-columns:1fr; column-gap:0; }
  .checks--two > .check:nth-last-child(-n+2){ border-bottom:none; }
  .checks--two > .check:last-child{ border-bottom:1px solid rgba(255,255,255,.18); }

  .results{ grid-template-columns:1fr; gap:var(--g-24); }
  .result__num{ font-size:32px; }

  .qa__q{ font-size:14px; }
  .qa__a{ max-width:100%; }

  .final{ min-height:auto; }
  .final__title{ font-size:26px; }
  .final__sub{ font-size:14px; }
  .btn--lg .btn__label{ padding:12px 14px; font-size:12px; }
  .btn--lg .btn__icon{ width:40px; height:40px; }

  .totop{ right:16px; bottom:16px; }
}

/* ==========================================================================
   16. ДОСТУПНОСТЬ
   ========================================================================== */
:where(a,button):focus-visible{
  outline:2px solid var(--fg);
  outline-offset:3px;
}

@media (prefers-reduced-motion:reduce){
  .marquee__track,.see__track{ animation:none; }
  *,*::before,*::after{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
    scroll-behavior:auto !important;
  }
}
