/* ==========================================================================
   Клиника «Стать» · Оренбург
   Визуальный мир: тихая роскошь — тёплый песок, шампань-золото, чернильный синий
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* поверхности */
  --sand-50:  #FBF8F3;
  --sand-100: #F5EFE6;
  --sand-200: #EFE7DC;
  --sand-300: #E4D8C8;
  --sand-400: #CFBFA7;

  /* чернила */
  --ink-900: #121926;
  --ink-800: #17202E;
  --ink-700: #26334A;
  --ink-500: #4A566C;

  /* золото */
  --gold:      #C6A265;
  --gold-deep: #A5854B;
  --gold-soft: #E2CFA9;

  /* текст */
  --text:  #221E1A;
  --text-2:#544C43;
  --muted: #857A6D;
  --on-dark:       #F1EAE0;
  --on-dark-muted: #A7B0BF;

  --line:      rgba(34, 30, 26, .13);
  --line-soft: rgba(34, 30, 26, .07);
  --line-dark: rgba(241, 234, 224, .16);

  /* типографика */
  /* Prata — кириллический дидон Cyreal. Выбран вместо Playfair по двум причинам:
     Playfair стоит на каждом втором бьюти-сайте, и у него старостильные цифры,
     из-за которых «3D» и «15 000 ₽» пляшут по высоте. У Prata цифры маюскульные,
     вровень с капителью. Курсива у неё нет — акценты делаем цветом. */
  --display: "Prata", "Times New Roman", Georgia, serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Поправка на метрики шрифта. У разных гарнитур разная высота строчных и ширина,
     поэтому при смене шрифта кегль надо корректировать, иначе Cormorant кажется мелким,
     а Forum огромным. Значения выставляет переключатель шрифтов (js/fontlab.js). */
  --display-scale: 1;
  --body-scale: 1;

  --fs-hero:  calc(clamp(1.7rem, 4.05vw, 3.6rem)   * var(--display-scale));
  --fs-h2:    calc(clamp(1.85rem, 3.6vw, 3.3rem)   * var(--display-scale));
  --fs-h3:    calc(clamp(1.3rem, 1.95vw, 1.85rem)  * var(--display-scale));
  --fs-h4:    calc(clamp(1.1rem, 1.4vw, 1.3rem)    * var(--display-scale));
  --fs-lead:  calc(clamp(1.05rem, 1.35vw, 1.3rem)  * var(--body-scale));
  --fs-body:  calc(clamp(1rem, 1.05vw, 1.0625rem)  * var(--body-scale));
  --fs-small: .875rem;
  --fs-eyebrow: .6875rem;

  /* ритм */
  --gutter:  clamp(1.25rem, 4vw, 4rem);
  --section: clamp(5rem, 9vw, 9.5rem);
  --maxw: 1360px;

  /* движение */
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-io:  cubic-bezier(.77, 0, .175, 1);

  --radius: 2px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--sand-200);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -.005em;
  /* Маюскульные цифры принудительно. У многих антикв по умолчанию старостильные:
     цифры разной высоты и часть уходит под базовую линию, из-за чего «3D» и
     «15 000 ₽» пляшут. Наследуется на всю страницу, поэтому смена шрифта
     через переключатель эту болячку больше не приносит. */
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1, "onum" 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* clip, а не hidden: hidden на body делает его отдельным скролл-контейнером
   и ломает sticky и позиционирование относительно вьюпорта */
html { overflow-x: clip; }
body { overflow-x: clip; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

::selection { background: var(--gold); color: #fff; }

:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}

/* ---------- Типографика ---------- */
h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.02em;
  text-wrap: balance;
}
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.15; }

/* У Prata нет курсива, поддельный наклон на дидоне ломает контраст штриха.
   Акцент в заголовках делаем цветом. */
em, .it { font-style: normal; color: var(--ink-700); }
.on-dark em, .on-dark .it { color: var(--gold-soft); }

.eyebrow {
  font-family: var(--sans);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  gap: .75rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: currentColor;
  flex: none;
  opacity: .7;
}
.eyebrow--plain::before { display: none; }
.on-dark .eyebrow { color: var(--gold-soft); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--text-2);
  max-width: 56ch;
  text-wrap: pretty;
}
.on-dark .lead { color: var(--on-dark-muted); }

.small { font-size: var(--fs-small); color: var(--muted); line-height: 1.55; }
.on-dark .small { color: var(--on-dark-muted); }

.num {
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1;
}

/* ---------- Раскладка ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(3.5rem, 6vw, 6rem); }

.on-dark { background: var(--ink-800); color: var(--on-dark); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--on-dark); }
.bg-50  { background: var(--sand-50); }
.bg-100 { background: var(--sand-100); }

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
}
.on-dark .rule { background: var(--line-dark); }

.section-head {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
@media (min-width: 900px) {
  .section-head--split {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: end;
    gap: clamp(2rem, 5vw, 5rem);
  }
}

/* ---------- Кнопки ---------- */
.btn {
  --btn-bg: var(--ink-800);
  --btn-fg: var(--sand-50);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: 1.05rem 2.1rem;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid var(--btn-bg);
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  transition: transform 160ms var(--ease-out), color 220ms var(--ease-out),
              border-color 220ms var(--ease-out);
  white-space: nowrap;
  align-self: center;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  z-index: -1;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 320ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover { color: var(--ink-900); border-color: var(--gold); }
  .btn:hover::before { clip-path: inset(0 0 0 0); }
}
.btn:active { transform: scale(.975); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  border-color: var(--line);
}
@media (hover: hover) and (pointer: fine) {
  .btn--ghost:hover { color: var(--ink-900); border-color: var(--gold); }
}
.on-dark .btn--ghost { --btn-fg: var(--on-dark); border-color: var(--line-dark); }

.btn--gold { --btn-bg: var(--gold); --btn-fg: var(--ink-900); border-color: var(--gold); }
.btn--gold::before { background: var(--ink-800); }
@media (hover: hover) and (pointer: fine) {
  .btn--gold:hover { color: var(--sand-50); border-color: var(--ink-800); }
}

.btn--sm { padding: .8rem 1.5rem; font-size: .75rem; }
.btn--full { width: 100%; }

/* текстовая ссылка со стрелкой */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  padding-block: .35rem;
}
.link-arrow svg { transition: transform 260ms var(--ease-out); flex: none; }
@media (hover: hover) and (pointer: fine) {
  .link-arrow:hover svg { transform: translateX(6px); }
}
.on-dark .link-arrow { color: var(--gold-soft); }

/* ---------- Шапка ---------- */
.hdr {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color 320ms var(--ease-out), box-shadow 320ms var(--ease-out);
}
.hdr::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--line);
  opacity: 0;
  transition: opacity 320ms var(--ease-out);
}
.hdr.is-stuck {
  background: var(--sand-100);
  box-shadow: 0 14px 34px -30px rgba(23, 32, 46, .55);
}
.hdr.is-stuck::after { opacity: 1; }

.hdr__inner {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
  height: 84px;
}
@media (max-width: 899px) { .hdr__inner { height: 68px; } }

.brand { display: flex; align-items: center; gap: .8rem; flex: none; }
.brand__mark { width: 26px; height: 30px; flex: none; }
.brand__mark path, .brand__mark rect { fill: var(--ink-800); }
.brand__text { display: grid; line-height: 1; }
.brand__name {
  font-family: var(--display);
  font-size: 1.32rem;
  letter-spacing: .16em;
  text-indent: .16em;
}
.brand__sub {
  font-size: .5625rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: .3rem;
}

.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2.1rem); margin-left: auto; }
.nav a {
  position: relative;
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .04em;
  padding-block: .4rem;
  color: var(--text-2);
  transition: color 200ms var(--ease-out);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .nav a:hover { color: var(--text); }
  .nav a:hover::after { transform: scaleX(1); }
}
.nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }

.hdr__actions { display: flex; align-items: center; gap: 1.1rem; flex: none; }
.hdr__phone {
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
}
@media (max-width: 1099px) { .hdr__phone { display: none; } }
@media (max-width: 899px) { .nav, .hdr__actions .btn { display: none; } }

.burger {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  flex: none;
}
.burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink-800);
  position: relative;
  transition: background-color 120ms linear;
}
.burger span::before, .burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px; height: 1.5px;
  background: var(--ink-800);
  transition: transform 280ms var(--ease-out);
}
.burger span::before { top: -6px; }
.burger span::after  { top: 6px; }
body.menu-open .burger span { background: transparent; }
body.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
body.menu-open .burger span::after  { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 899px) { .burger { display: flex; } }

/* мобильное меню */
.mobmenu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--sand-100);
  padding: 96px var(--gutter) 2rem;
  display: grid;
  align-content: start;
  gap: .25rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 280ms var(--ease-out), transform 280ms var(--ease-out), visibility 280ms;
  overflow-y: auto;
}
body.menu-open .mobmenu { opacity: 1; visibility: visible; transform: none; }
.mobmenu a.mobmenu__link {
  font-family: var(--display);
  font-size: clamp(2rem, 9vw, 2.75rem);
  line-height: 1.5;
  border-bottom: 1px solid var(--line-soft);
  padding-block: .4rem;
}
.mobmenu__foot { margin-top: 2rem; display: grid; gap: 1rem; justify-items: start; }
.mobmenu__phone { font-family: var(--display); font-size: 1.75rem; }

/* полоса прогресса */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--gold);
  z-index: 101;
  width: 0;
  transition: width 90ms linear;
}

/* липкая панель на телефоне */
.callbar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 90;
  display: none;
  gap: 1px;
  background: var(--line);
  box-shadow: 0 -8px 28px rgba(23, 32, 46, .1);
  transform: translateY(101%);
  transition: transform 320ms var(--ease-out);
}
.callbar.is-on { transform: none; }
.callbar a {
  flex: 1;
  text-align: center;
  padding: 1.05rem .5rem calc(1.05rem + env(safe-area-inset-bottom));
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--sand-50);
}
.callbar a + a { background: var(--ink-800); color: var(--sand-50); }
@media (max-width: 899px) { .callbar { display: flex; } }

/* ---------- Медиа и заглушки ---------- */
.media {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 22% 18%, #FDFBF7 0%, transparent 58%),
    linear-gradient(148deg, var(--sand-100) 0%, var(--sand-300) 55%, var(--sand-200) 100%);
  border-radius: var(--radius);
}
.media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.media__ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: .9rem;
  padding: 1.5rem;
  text-align: center;
}
.media__ph svg { width: 26px; opacity: .5; }
.media__ph span {
  font-size: .625rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--gold-deep);
  opacity: .85;
  max-width: 22ch;
  line-height: 1.7;
}
.r-4x5 { aspect-ratio: 4 / 5; }
.r-3x4 { aspect-ratio: 3 / 4; }
.r-1x1 { aspect-ratio: 1 / 1; }
.r-3x2 { aspect-ratio: 3 / 2; }
.r-16x9 { aspect-ratio: 16 / 9; }

/* ---------- Появление по скроллу ----------
   Скрываем только при живом JS (класс .js ставится инлайн-скриптом в <head>).
   Если скрипт не отработал — контент виден всегда. */
.js .rv { opacity: 0; transform: translateY(22px); }
.js .rv.in {
  opacity: 1;
  transform: none;
  transition: opacity 780ms var(--ease-out), transform 780ms var(--ease-out);
  transition-delay: var(--d, 0ms);
}
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; }
  .js .rv.in { transition: none; }
}

/* ==========================================================================
   Первый экран
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-top: 84px;
  overflow: hidden;
}
.hero__grid {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  padding-block: clamp(2.5rem, 4vw, 3.5rem);
}
@media (min-width: 1000px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr);
    align-items: center;
  }
}
.hero__copy { display: grid; gap: clamp(1.35rem, 2.2vw, 1.9rem); }
/* переносы в заголовке расставлены вручную через <br>, balance их перебивает */
.hero h1 { font-size: var(--fs-hero); text-wrap: wrap; }
.hero h1 .it { color: var(--ink-700); }

.hero__cta { display: flex; flex-wrap: wrap; gap: .85rem; }

.hero__facts {
  display: grid;
  gap: 1.1rem;
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid var(--line);
}
@media (min-width: 620px) { .hero__facts { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; } }
.hero__fact { display: grid; gap: .4rem; }
.hero__fact b {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1;
}
.hero__fact span { font-size: .78rem; line-height: 1.5; color: var(--muted); }

.hero__media { position: relative; }
.hero__media .media { aspect-ratio: 4 / 5; }
@media (min-width: 1000px) {
  .hero__media .media { aspect-ratio: auto; height: min(76svh, 720px); }
}
.hero__stamp {
  position: absolute;
  left: clamp(-1rem, -2vw, -2rem);
  bottom: clamp(1.5rem, 4vw, 2.75rem);
  background: var(--sand-50);
  border-left: 2px solid var(--gold);
  padding: 1.1rem 1.5rem;
  display: grid;
  gap: .3rem;
  max-width: 15rem;
  z-index: 2;
  box-shadow: 0 26px 50px -24px rgba(23, 32, 46, .55);
}
.hero__stamp b { font-family: var(--display); font-size: 1.15rem; font-weight: 400; }
.hero__stamp span { font-size: .7rem; letter-spacing: .05em; color: var(--muted); line-height: 1.5; }

.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 1.75rem;
  font-size: .625rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: .85rem;
  z-index: 3;
}
.hero__scroll::after {
  content: "";
  width: 46px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  animation: drop 2.4s var(--ease-io) infinite;
}
@keyframes drop {
  0%   { transform: scaleX(0); transform-origin: left; }
  45%  { transform: scaleX(1); transform-origin: left; }
  55%  { transform: scaleX(1); transform-origin: right; }
  100% { transform: scaleX(0); transform-origin: right; }
}
@media (max-width: 1199px) { .hero__scroll { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero__scroll::after { animation: none; transform: none; } }

/* внутренний «герой» страниц */
.phero { padding-top: calc(84px + clamp(3rem, 7vw, 6.5rem)); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.phero__grid { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
.phero h1 { font-size: clamp(2.5rem, 5.6vw, 4.75rem); }
.crumbs { display: flex; gap: .55rem; font-size: .75rem; color: var(--muted); letter-spacing: .04em; }
.crumbs a { color: var(--gold-deep); }

/* ==========================================================================
   Блок-оффер с формой
   ========================================================================== */
.offer__grid { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); }
@media (min-width: 980px) {
  .offer__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: start; }
}
.offer__copy { display: grid; gap: 1.75rem; }
.offer__steps { display: grid; gap: 1.5rem; margin-top: .5rem; }
.offer__step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.15rem;
  align-items: start;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
}
.offer__step i {
  font-family: var(--display);
  font-style: normal;
  font-size: .875rem;
  color: var(--gold-soft);
  padding-top: .25rem;
}
.offer__step b { display: block; font-weight: 600; margin-bottom: .3rem; }
.offer__step p { font-size: .9375rem; color: var(--on-dark-muted); line-height: 1.6; }

.card-form {
  background: var(--sand-50);
  color: var(--text);
  padding: clamp(1.75rem, 3.4vw, 2.75rem);
  display: grid;
  gap: 1.5rem;
  box-shadow: 0 40px 80px -50px rgba(0, 0, 0, .6);
}
.card-form__price {
  display: grid;
  gap: .5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.card-form__price b {
  font-family: var(--display);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 400;
  line-height: 1;
}
.card-form__price b s { color: var(--muted); font-size: .5em; margin-right: .4em; }
.card-form__price span { font-size: .875rem; color: var(--text-2); line-height: 1.55; }

.field { display: grid; gap: .5rem; }
.field label {
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input {
  width: 100%;
  padding: .95rem 1rem;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: border-color 200ms var(--ease-out), background-color 200ms var(--ease-out);
}
.field input::placeholder { color: var(--sand-400); }
.field input:focus { outline: none; border-color: var(--gold); background: #fff; }

.consent { display: flex; gap: .7rem; align-items: start; font-size: .75rem; color: var(--muted); line-height: 1.5; }
.consent input { margin-top: .2rem; accent-color: var(--gold-deep); flex: none; width: 16px; height: 16px; }
.consent a { border-bottom: 1px solid var(--line); }

.form-note { font-size: .78rem; color: var(--muted); line-height: 1.55; }
.form-ok {
  display: none;
  padding: 1rem 1.15rem;
  background: var(--sand-100);
  border-left: 2px solid var(--gold);
  font-size: .875rem;
  line-height: 1.55;
}
.form-ok.is-on { display: block; }

/* ==========================================================================
   Проблемы
   ========================================================================== */
.probs {
  display: grid;
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
@media (min-width: 640px)  { .probs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .probs { grid-template-columns: repeat(3, 1fr); } }

.prob {
  background: var(--sand-200);
  padding: clamp(1.5rem, 2.6vw, 2.25rem);
  display: grid;
  gap: 1.25rem;
  align-content: start;
  position: relative;
  transition: background-color 320ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .prob:hover { background: var(--sand-50); }
  .prob:hover .prob__media img { transform: scale(1.04); }
}
.prob__media { aspect-ratio: 16 / 10; }
.prob__media img { transition: transform 700ms var(--ease-out); }
.prob h3 { font-size: clamp(1.2rem, 1.7vw, 1.5rem); }
.prob p { font-size: .9375rem; color: var(--text-2); line-height: 1.6; }
.prob__tag {
  font-size: .6875rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

/* ==========================================================================
   LifeViz — «что видит камера»
   ========================================================================== */
.viz__grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 1000px) {
  .viz__grid { grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); align-items: center; }
}
.viz__stage { position: relative; }
.viz__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--ink-900);
  overflow: hidden;
  border-radius: var(--radius);
}
@media (min-width: 1000px) {
  .viz__frame { aspect-ratio: auto; height: min(60svh, 580px); }
}
.viz__layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.015);
  filter: blur(6px);
  transition: opacity 420ms var(--ease-out), transform 620ms var(--ease-out), filter 420ms var(--ease-out);
}
.viz__layer.is-on { opacity: 1; transform: none; filter: none; }
.viz__layer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.viz__layer .media__ph span { color: var(--gold-soft); }
.viz__layer .media {
  position: absolute;
  inset: 0;
  border-radius: 0;
  background:
    radial-gradient(80% 60% at 50% 30%, rgba(198,162,101,.14) 0%, transparent 70%),
    linear-gradient(160deg, #1B2433 0%, #0D131D 100%);
}

.viz__badge {
  position: absolute;
  left: 1.15rem; top: 1.15rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .8rem;
  background: rgba(18, 25, 38, .72);
  backdrop-filter: blur(8px);
  color: var(--gold-soft);
  font-size: .625rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.viz__badge::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }

.viz__tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.viz__tab {
  padding: .7rem 1.15rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  transition: color 220ms var(--ease-out), border-color 220ms var(--ease-out),
              background-color 220ms var(--ease-out), transform 160ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .viz__tab:hover { color: var(--on-dark); border-color: var(--gold-soft); }
}
.viz__tab:active { transform: scale(.97); }
.viz__tab.is-on { background: var(--gold); border-color: var(--gold); color: var(--ink-900); }

.viz__readout { display: grid; gap: 1.5rem; }
.viz__text { min-height: 8.5rem; display: grid; gap: .9rem; align-content: start; }
.viz__text h3 { font-size: clamp(1.5rem, 2.4vw, 2.15rem); }
.viz__text p { color: var(--on-dark-muted); line-height: 1.65; max-width: 46ch; }
.viz__text.fade { opacity: 0; filter: blur(3px); }
.viz__text { transition: opacity 260ms var(--ease-out), filter 260ms var(--ease-out); }

.viz__meta { display: grid; gap: 1rem; padding-top: 1.75rem; border-top: 1px solid var(--line-dark); }
.viz__meta div { display: grid; grid-template-columns: 1.15rem 1fr; gap: .85rem; align-items: start; font-size: .875rem; color: var(--on-dark-muted); line-height: 1.55; }
.viz__meta svg { width: 1.15rem; margin-top: .18rem; color: var(--gold); }

/* ==========================================================================
   Аппараты
   ========================================================================== */
.devs { display: grid; gap: clamp(2rem, 4vw, 3rem); }
@media (min-width: 900px) { .devs { grid-template-columns: repeat(3, 1fr); } }
.dev { display: grid; gap: 1.35rem; align-content: start; }
.dev__media { aspect-ratio: 4 / 5; }
.dev__media img { transition: transform 800ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .dev:hover .dev__media img { transform: scale(1.045); } }
.dev__brand { font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); }
.dev h3 { font-size: clamp(1.4rem, 2vw, 1.85rem); }
.dev p { font-size: .9375rem; color: var(--text-2); line-height: 1.6; }
.dev__list { display: grid; gap: .55rem; }
.dev__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .7rem;
  font-size: .875rem;
  color: var(--text-2);
  line-height: 1.5;
}
.dev__list li::before { content: "—"; color: var(--gold); }
.dev__price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-size: .8125rem;
  color: var(--muted);
}
.dev__price b { font-family: var(--display); font-size: 1.5rem; font-weight: 400; color: var(--text); }

/* ==========================================================================
   Страница услуг
   ========================================================================== */
.svc { display: grid; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
@media (min-width: 980px) {
  .svc { grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); }
  .svc--flip .svc__media { order: 2; }
}
.svc__media { position: sticky; top: 120px; }
@media (max-width: 979px) { .svc__media { position: static; } }
.svc__media .media { aspect-ratio: 4 / 5; }
.svc__body { display: grid; gap: 1.65rem; }
.svc__head { display: grid; gap: 1rem; }
.svc h2 { font-size: clamp(1.9rem, 3.4vw, 3.1rem); }

.svc__tasks { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 620px) { .svc__tasks { grid-template-columns: repeat(2, 1fr); } }
.svc__tasks li {
  background: var(--sand-50);
  padding: 1.15rem 1.25rem;
  font-size: .9375rem;
  line-height: 1.5;
  display: grid;
  gap: .3rem;
}
.svc__tasks li b { font-weight: 600; }
.svc__tasks li span { font-size: .8125rem; color: var(--muted); }

.steps { display: grid; gap: 0; counter-reset: s; }
.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.15rem;
  padding-block: 1.15rem;
  border-top: 1px solid var(--line);
  font-size: .9375rem;
  line-height: 1.6;
  color: var(--text-2);
}
.steps li::before {
  counter-increment: s;
  content: counter(s, decimal-leading-zero);
  font-family: var(--display);
  font-size: .8125rem;
  color: var(--gold-deep);
  padding-top: .28rem;
}
.steps li b { color: var(--text); display: block; margin-bottom: .15rem; }

.svc__pricebar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  padding: 1.35rem 0;
  border-block: 1px solid var(--line);
}
.svc__pricebar div { display: grid; gap: .2rem; }
.svc__pricebar dt, .svc__pricebar span { font-size: .6875rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.svc__pricebar b { font-family: var(--display); font-size: 1.65rem; font-weight: 400; line-height: 1; }

.note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .85rem;
  padding: 1.1rem 1.25rem;
  background: var(--sand-100);
  border-left: 2px solid var(--gold);
  font-size: .875rem;
  color: var(--text-2);
  line-height: 1.6;
}
.note svg { width: 1.05rem; margin-top: .22rem; color: var(--gold-deep); flex: none; }

/* ==========================================================================
   Динамика LifeViz (шторка)
   ========================================================================== */
.dyn__grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 1000px) { .dyn__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; } }

.compare {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--ink-900);
  border-radius: var(--radius);
  cursor: ew-resize;
  touch-action: none;
  user-select: none;
}
.compare__side { position: absolute; inset: 0; }
.compare__side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__side--after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.compare__side .media { position: absolute; inset: 0; border-radius: 0; }
.compare__tag {
  position: absolute;
  bottom: 1rem;
  padding: .45rem .8rem;
  background: rgba(18, 25, 38, .7);
  backdrop-filter: blur(6px);
  color: var(--on-dark);
  font-size: .625rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  z-index: 3;
}
.compare__tag--l { left: 1rem; }
.compare__tag--r { right: 1rem; }
.compare__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos, 50%);
  width: 2px;
  background: var(--sand-50);
  z-index: 4;
  pointer-events: none;
}
.compare__handle::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 46px; height: 46px;
  transform: translate(-50%, -50%);
  border: 1px solid var(--sand-50);
  border-radius: 50%;
  background: rgba(18, 25, 38, .35);
  backdrop-filter: blur(4px);
}
.compare__handle::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 15px; height: 9px;
  z-index: 1;
  background:
    linear-gradient(90deg, var(--sand-50) 0 5px, transparent 5px 10px, var(--sand-50) 10px 15px);
  clip-path: polygon(0 50%, 5px 0, 5px 100%, 10px 0, 15px 50%, 10px 100%);
}

.dyn__note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .85rem;
  padding: 1.1rem 1.25rem;
  background: var(--sand-100);
  border-left: 2px solid var(--gold);
  font-size: .8125rem;
  color: var(--text-2);
  line-height: 1.55;
}
.dyn__note svg { width: 1.05rem; margin-top: .2rem; color: var(--gold-deep); }

.dyn__case { display: grid; gap: 1.5rem; }
.dyn__case-media { aspect-ratio: 1 / 1; }

/* ==========================================================================
   Врачи
   ========================================================================== */
.docs { display: grid; gap: clamp(2rem, 3.5vw, 2.75rem); }
@media (min-width: 700px)  { .docs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1120px) { .docs { grid-template-columns: repeat(4, 1fr); } }
.doc { display: grid; gap: 1.25rem; align-content: start; }
.doc__media { aspect-ratio: 3 / 4; }
.doc__media img { transition: transform 800ms var(--ease-out), filter 500ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .doc:hover .doc__media img { transform: scale(1.035); } }
.doc__role { font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.doc h3 { font-size: clamp(1.2rem, 1.5vw, 1.4rem); line-height: 1.2; }
.doc__exp { font-size: .8125rem; color: var(--muted); }
.doc blockquote {
  font-family: var(--display);
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--text-2);
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  text-wrap: pretty;
}
.doc--wide { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .doc--wide {
    grid-template-columns: minmax(0, .42fr) minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: center;
  }
  .doc--wide .doc__body { display: grid; gap: 1.25rem; align-content: center; }
  .doc--wide h3 { font-size: clamp(1.75rem, 3vw, 2.6rem); }
  .doc--wide blockquote { font-size: clamp(1.15rem, 1.6vw, 1.45rem); }
}

/* ==========================================================================
   Галерея клиники
   ========================================================================== */
.gal {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(78vw, 460px);
  gap: clamp(.75rem, 1.6vw, 1.35rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-inline: var(--gutter);
  padding-bottom: 1.25rem;
  scrollbar-width: thin;
  scrollbar-color: var(--sand-400) transparent;
}
.gal::-webkit-scrollbar { height: 3px; }
.gal::-webkit-scrollbar-thumb { background: var(--sand-400); }
.gal > * { scroll-snap-align: start; }
.gal .media { aspect-ratio: 4 / 5; }
.gal .media--wide { aspect-ratio: 3 / 2; }
.gal-cap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: .8rem;
  font-size: .75rem;
  color: var(--muted);
  letter-spacing: .04em;
}

/* ==========================================================================
   Прайс
   ========================================================================== */
.price-group { border-top: 1px solid var(--line); }
.price-group__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding-block: clamp(1.35rem, 2.4vw, 2rem);
  text-align: left;
}
.price-group__head h3 { font-size: clamp(1.35rem, 2.2vw, 1.9rem); }
.price-group__head span {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-size: .8125rem;
  color: var(--muted);
  white-space: nowrap;
}
.price-group__head i {
  font-style: normal;
  width: 34px; height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  transition: transform 320ms var(--ease-out), border-color 220ms var(--ease-out);
}
.price-group__head i::before,
.price-group__head i::after {
  content: "";
  position: absolute;
  background: var(--text);
  transition: opacity 220ms var(--ease-out);
}
.price-group__head i::before { width: 11px; height: 1px; }
.price-group__head i::after  { width: 1px; height: 11px; }
.price-group.is-open .price-group__head i { transform: rotate(90deg); border-color: var(--gold); }
.price-group.is-open .price-group__head i::before { opacity: 0; }
.price-group__head i { position: relative; }
.price-group__head i::before,
.price-group__head i::after { top: 50%; left: 50%; transform: translate(-50%, -50%); }

.price-group__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 400ms var(--ease-out);
}
.price-group.is-open .price-group__body { grid-template-rows: 1fr; }
.price-group__inner { overflow: hidden; }

.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem 1.5rem;
  align-items: baseline;
  padding-block: .85rem;
  border-top: 1px solid var(--line-soft);
}
.price-row:first-child { border-top: 0; }
.price-row__name { font-size: .9375rem; line-height: 1.45; }
.price-row__name small { display: block; font-size: .78rem; color: var(--muted); margin-top: .15rem; }
.price-row__val {
  font-family: var(--display);
  font-size: 1.15rem;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.price-group__foot { padding-block: 1.5rem 2.25rem; }
.price-group__head em { font-style: normal; }
@media (max-width: 700px) {
  .price-group__head em { display: none; }
  .price-group__head h3 { font-size: 1.25rem; }
}

.price-preview { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
@media (min-width: 760px) { .price-preview { grid-template-columns: repeat(2, 1fr); } }
.price-preview .price-row { background: var(--sand-200); padding: 1.15rem clamp(1rem, 2vw, 1.75rem); border-top: 0; }

/* ==========================================================================
   Косметика
   ========================================================================== */
.mansard__grid { display: grid; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
@media (min-width: 940px) { .mansard__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); } }
.mansard__list { display: grid; margin-top: .25rem; border-bottom: 1px solid var(--line); }
.mansard__list li {
  display: grid;
  gap: .4rem;
  padding-block: 1.1rem;
  border-top: 1px solid var(--line);
  font-size: .9375rem;
  line-height: 1.6;
  color: var(--text-2);
}
.mansard__list li b {
  font-family: var(--display);
  font-size: 1.65rem;
  font-weight: 400;
  color: var(--gold-deep);
  line-height: 1;
}

/* ==========================================================================
   Отзывы
   ========================================================================== */
.revs { display: grid; gap: clamp(1.5rem, 2.5vw, 2rem); }
@media (min-width: 800px) { .revs { grid-template-columns: repeat(3, 1fr); } }
.rev {
  background: var(--sand-50);
  padding: clamp(1.5rem, 2.6vw, 2.25rem);
  display: grid;
  gap: 1.15rem;
  align-content: start;
}
.rev__stars { display: flex; gap: .2rem; color: var(--gold); }
.rev__stars svg { width: 14px; }
.rev p { font-size: .9375rem; line-height: 1.7; color: var(--text-2); }
.rev footer { display: grid; gap: .2rem; padding-top: 1.15rem; border-top: 1px solid var(--line); }
.rev footer b { font-size: .875rem; font-weight: 600; }
.rev footer span { font-size: .75rem; color: var(--muted); }

/* ==========================================================================
   Вопросы
   ========================================================================== */
.faq { display: grid; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
  width: 100%;
  padding-block: clamp(1.2rem, 2.2vw, 1.75rem);
  text-align: left;
  font-family: var(--display);
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  line-height: 1.3;
  transition: color 200ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .faq__q:hover { color: var(--gold-deep); } }
.faq__q i {
  position: relative;
  font-style: normal;
  width: 28px; height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  flex: none;
  transition: transform 340ms var(--ease-out), border-color 220ms var(--ease-out);
}
.faq__q i::before, .faq__q i::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--text);
  transition: opacity 240ms var(--ease-out);
}
.faq__q i::before { width: 10px; height: 1px; }
.faq__q i::after  { width: 1px; height: 10px; }
.faq__item.is-open .faq__q i { transform: rotate(90deg); border-color: var(--gold); }
.faq__item.is-open .faq__q i::before { opacity: 0; }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 400ms var(--ease-out); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { max-width: 68ch; color: var(--text-2); line-height: 1.7; }
.faq__a p + p { margin-top: .9rem; }
.faq__a p:last-child { padding-bottom: 1.75rem; }

/* ==========================================================================
   Финальный призыв
   ========================================================================== */
.final { position: relative; overflow: hidden; }
.final__grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); position: relative; z-index: 1; }
@media (min-width: 960px) { .final__grid { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); align-items: center; } }
.final h2 { font-size: clamp(2rem, 4.2vw, 3.5rem); }

/* ==========================================================================
   Контакты
   ========================================================================== */
.contacts__grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 900px) { .contacts__grid { grid-template-columns: repeat(2, 1fr); } }
.cinfo { display: grid; gap: 1.75rem; align-content: start; }
.cinfo__row { display: grid; gap: .4rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.cinfo__row:first-child { border-top: 0; padding-top: 0; }
.cinfo__row dt { font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cinfo__row dd { font-family: var(--display); font-size: clamp(1.2rem, 1.8vw, 1.6rem); line-height: 1.3; }
.cinfo__row dd small { display: block; font-family: var(--sans); font-size: .8125rem; color: var(--muted); margin-top: .35rem; line-height: 1.5; }
.map { aspect-ratio: 4 / 3; background: var(--sand-300); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ==========================================================================
   Подвал
   ========================================================================== */
.ftr { background: var(--ink-900); color: var(--on-dark); padding-block: clamp(3.5rem, 6vw, 5.5rem) 2rem; }
.ftr__top { display: grid; gap: clamp(2rem, 4vw, 3rem); padding-bottom: clamp(2.5rem, 4vw, 3.5rem); border-bottom: 1px solid var(--line-dark); }
@media (min-width: 860px) { .ftr__top { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; } }
.ftr .brand__mark path, .ftr .brand__mark rect { fill: var(--on-dark); }
.ftr .brand__sub { color: var(--on-dark-muted); }
.ftr h4 { font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 1.15rem; }
.ftr ul { display: grid; gap: .7rem; }
.ftr a, .ftr p { font-size: .9375rem; color: var(--on-dark-muted); line-height: 1.6; }
@media (hover: hover) and (pointer: fine) { .ftr a:hover { color: var(--on-dark); } }
.ftr__phone { font-family: var(--display); font-size: 1.5rem; color: var(--on-dark) !important; display: block; margin-bottom: .5rem; }
.ftr__bottom { padding-top: 2rem; display: grid; gap: 1.25rem; font-size: .75rem; color: var(--on-dark-muted); line-height: 1.6; }
@media (min-width: 860px) { .ftr__bottom { grid-template-columns: 1fr auto; align-items: start; } }
.ftr__legal { max-width: 76ch; }

/* ==========================================================================
   Мелочи
   ========================================================================== */
.tag-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag {
  font-size: .6875rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-2);
  border: 1px solid var(--line);
  padding: .45rem .85rem;
  border-radius: 100px;
}
.on-dark .tag { color: var(--on-dark-muted); border-color: var(--line-dark); }

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding-block: 1.1rem;
  --mq: 42s;
}
.marquee__track { display: flex; gap: 3.5rem; width: max-content; animation: mq var(--mq) linear infinite; }
.marquee span {
  font-family: var(--display);
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 3.5rem;
  white-space: nowrap;
}
.marquee span::after { content: "◆"; font-size: .5em; color: var(--gold); }
@keyframes mq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink-800);
  color: var(--sand-50);
  padding: .9rem 1.4rem;
  font-size: .8125rem;
}
.skip:focus { left: 1rem; top: 1rem; }
