/* ==========================================================================
   Amonet Studio — раздел «Моделям» (Вход)
   Источник: утверждённый дизайн-пак (PDF/SVG/JSON, 810pt = 1080px).
   Мобильная раскладка — обычный поток (стек).
   С 1080px и шире — центрированный блок 1080px с "вылетающими" за его
   пределы к реальному краю окна фигурами и лентой (см. бриф дизайнера).
   ========================================================================== */

@font-face {
  font-family: "Oswald";
  src: url("assets/fonts/Oswald-Bold-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Commissioner";
  src: url("assets/fonts/Commissioner-Regular-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-vhod: #FFFFFF;
  --ink: #09090D;
  --body-color: #22222A;
  --note: #6E6E7A;
  --accent: #D11D4A;
  --white: #FFFFFF;

  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-text: "Commissioner", "Helvetica Neue", Arial, sans-serif;

  --frame-width: 1080px;
  --frame-pad: 24px;      /* мобильные поля контента */
  --frame-pad-desktop: 64px;
  --col-max: 521px;
  --eyebrow: #8E0F33;
}

* { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}
body {
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  overscroll-behavior-x: none;
  touch-action: pan-y pinch-zoom;
  max-width: 100vw;
  background: var(--bg-vhod);
  color: var(--body-color);
  font-family: var(--font-text);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ol { list-style: none; margin: 0; padding: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.page { position: relative; background: var(--bg-vhod); }

/* ---------- контейнер / читаемая колонка ---------- */
.frame {
  position: relative;
  width: 100%;
  max-width: var(--frame-width);
  margin-inline: auto;
  padding-inline: var(--frame-pad);
}

.h-display {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 30px;
  line-height: 1.08;
  letter-spacing: 0.2px;
}
.h-display span { display: block; }
.h-display .ink { color: var(--ink); }
.h-display .accent { color: var(--accent); }

.p-lead, .p-body {
  font-size: 17px;
  line-height: 1.45;
  color: var(--body-color);
  max-width: var(--col-max);
  margin: 20px 0 0;
}
.p-note {
  font-size: 15px;
  line-height: 1.5;
  color: var(--body-color);
  max-width: var(--col-max);
  margin: 20px 0 0;
}
.p-footnote {
  font-size: 13px;
  line-height: 1.5;
  color: var(--note);
  max-width: var(--col-max);
  margin: 24px 0 0;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-text);
  font-weight: 400;
  text-align: center;
  border-radius: 8px;
  white-space: nowrap;
  transition: background-color .2s ease, transform .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--nav { font-size: 13px; padding: 12px 20px; }
.btn--hero { font-size: 15px; padding: 15px 28px; margin-top: 28px; }

/* ---------- фигуры персонажей: на мобильном — в потоке, по центру ---------- */
.bleed {
  position: static;
  display: block;
  width: min(62vw, 340px);
  height: auto;
  max-height: 56vh;
  object-fit: contain;
  margin: 20px auto;
}

/* на мобильном фигура всегда сразу после заголовка/лида — до подробностей, а не хвостом после всего блока */
@media (max-width: 1079.98px) {
  .split { display: flex; flex-direction: column; }
  .split > .bleed { order: 1; }
  .split > .frame { order: 2; }
}

/* ---------- хедер / навигация ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--bg-vhod);
  box-shadow: 0 1px 0 rgba(9,9,13,0);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 1px 0 rgba(9,9,13,.08);
}
.frame--header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--frame-pad);
  gap: 16px;
  transition: padding .25s ease;
}
.site-header.is-scrolled .frame--header { padding-block: 10px; }
.logo img { height: 22px; width: auto; transition: height .25s ease; }
.site-header.is-scrolled .logo img { height: 18px; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-vhod);
  border-top: 1px solid rgba(9,9,13,.08);
  display: flex;
  flex-direction: column;
  padding: 8px 24px 20px;
  gap: 4px;
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
}
.nav.is-open { max-height: 480px; visibility: visible; }
.nav-links { display: contents; }
.nav-link {
  padding: 10px 0;
  font-size: 15px;
  color: var(--ink);
  border-bottom: 1px solid rgba(9,9,13,.06);
  transition: color .2s ease;
}
.nav-link.is-current { color: var(--accent); }
.nav .btn--nav { margin-top: 14px; width: fit-content; }

/* ---------- герой ---------- */
.hero { position: relative; padding-top: 8px; }
.hero__figure {
  position: static;
  width: min(62vw, 340px);
  height: auto;
  max-height: 56vh;
  object-fit: contain;
  margin: 8px auto 0;
}

/* ---------- ты в кадре / мы за кадром ---------- */
.frame-work { position: relative; padding-top: 56px; }
.frame-work__figure {
  position: static;
  width: min(70vw, 380px);
  height: auto;
  max-height: 56vh;
  object-fit: contain;
  margin: 0 auto 28px;
}

@media (max-width: 1079.98px) {
  .hero, .frame-work { display: flex; flex-direction: column; }
  .hero > .bleed, .frame-work > .bleed { order: 1; }
  .hero > .frame, .frame-work > .frame { order: 2; }
}
.card {
  background: var(--white);
  border-top: 3px solid var(--accent);
  padding: 22px 24px 26px;
  margin-top: 20px;
  max-width: var(--col-max);
}
.card__eyebrow {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 16px;
  color: var(--accent);
}
.card__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--body-color);
}

/* ---------- пять глав ---------- */
.chapters { padding: 64px 0 48px; }
.chapter-list { margin-top: 24px; }
.chapter-row { border-top: 1px solid rgba(9,9,13,.1); }
.chapter-row--last { border-bottom: 1px solid rgba(9,9,13,.1); }
.chapter-row__link {
  display: block;
  width: 100%;
  transition: background-color .15s ease;
}
.chapter-row__link:hover,
.chapter-row__link:focus-visible { background-color: rgba(209,29,74,.06); }
.chapter-row__inner {
  display: block;
  padding-block: 20px;
}
.chapter-row__title {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 20px;
  color: var(--accent);
  transform: scale(1);
  transform-origin: left center;
  transition: transform .25s cubic-bezier(.22,.61,.36,1);
}
@media (hover: hover) {
  .chapter-row__link:hover .chapter-row__title,
  .chapter-row__link:focus-visible .chapter-row__title {
    transform: scale(1.035);
  }
}
.arrow { margin-left: auto; padding-left: 12px; font-family: var(--font-text); }
.chapter-row__desc {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  color: var(--body-color);
}

/* ---------- общие блоки для внутренних глав (Работа и далее) ---------- */
.chapter-tag {
  background: var(--bg-vhod);
  border-top: 1px solid rgba(9,9,13,.1);
  border-bottom: 1px solid rgba(9,9,13,.1);
}
.chapter-tag .frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding-block: 18px;
}
.chapter-tag__name {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 12px;
  color: var(--accent);
  margin: 0;
}
.chapter-tag__lede {
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink);
  font-weight: 400;
  max-width: 560px;
  margin: 0 auto;
}

.eyebrow {
  display: block;
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 13px;
  color: var(--eyebrow);
}

.subhead {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 17px;
  color: var(--ink);
}

.split { position: relative; padding-block: 48px; }
.split__text { position: relative; z-index: 2; }
.split__text > .h-display,
.split__head .h-display { margin-bottom: 4px; }
.split__head { position: relative; margin-top: 6px; }
/* номер блока — небольшой кружок: на телефоне над заголовком, на ПК слева от него и чуть выше */
.split__index {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  line-height: 1;
  padding-top: 1px;
  color: var(--accent);
  user-select: none;
}

.criterion { margin-top: 24px; max-width: var(--col-max); }
.criterion p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--body-color); }

.mini-steps { margin-top: 16px; }
.mini-step { margin-top: 20px; max-width: var(--col-max); }
.mini-step p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--body-color); }

.stat-block { margin-top: 32px; }
.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  margin-top: 12px;
}
.stat__number {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
  color: var(--accent);
  line-height: 1;
}
.stat__caption {
  display: flex;
  gap: 20px;
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink);
}
.stat__caption div { line-height: 1.35; }
.callout {
  margin: 28px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 19px;
  line-height: 1.25;
  color: var(--accent);
  max-width: var(--col-max);
}

.schedule {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
  margin-top: 24px;
}
.schedule__date {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  color: var(--accent);
}
.schedule__caption { margin: 6px 0 0; font-size: 14px; color: var(--ink); max-width: 160px; }

.summary {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(9,9,13,.12);
}
.summary__item {
  font-size: 15px;
  color: var(--body-color);
  margin-top: 12px;
}
.summary__item:first-child { margin-top: 0; }

.p-ink { color: var(--ink) !important; }

.cta-prompt { margin-top: 32px; }
.cta-prompt__title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 18px;
  color: var(--ink);
}

.formula { margin-top: 28px; max-width: var(--col-max); }
.formula-row {
  display: flex;
  gap: 20px;
  align-items: baseline;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid rgba(9,9,13,.1);
}
.formula-row:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.formula-row__num {
  flex: none;
  width: 120px;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  color: var(--ink);
}
.formula-row__num.is-note { color: var(--note); }
.formula-row__num.is-accent { color: var(--accent); font-size: 32px; }
.formula-row__label {
  display: block;
  margin: 0 0 4px;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--note);
}
.formula-row__text { margin: 0; font-size: 13px; line-height: 1.4; color: var(--body-color); }

.rate-table { margin-top: 24px; max-width: var(--col-max); }
.rate-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(9,9,13,.1);
}
.rate-row:first-child { border-top: 0; }
.rate-row__label { font-size: 14px; color: var(--ink); }
.rate-row__amount { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--ink); }
.rate-row.is-accent .rate-row__amount { color: var(--accent); }

.checklist {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px 24px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  max-width: var(--col-max);
}
.checklist li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: var(--body-color);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.chapter-nav {
  border-top: 1px solid rgba(9,9,13,.12);
  border-bottom: 1px solid rgba(9,9,13,.12);
  margin-top: 16px;
}

/* ---------- подвал сайта (глава 5) ---------- */
.site-footer { padding: 56px 0 40px; }
.footer-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 28px;
  max-width: var(--col-max);
}
.footer-link__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 18px;
  color: var(--accent);
}
.footer-link__desc { margin: 6px 0 0; font-size: 14px; color: var(--body-color); }
.site-footer-note { margin-top: 48px; font-size: 12px; color: var(--ink); }

/* ---------- приписки / note-box (раздел Команде) ---------- */
.note-box {
  margin-top: 20px;
  max-width: var(--col-max);
  background: transparent;
  border: .5px solid rgba(110,115,125,.35);
  padding: 12px 16px;
  color: var(--note);
  font-size: 13px;
  line-height: 1.5;
}

.chapter-row__num { margin-right: .3em; color: var(--accent2, var(--accent)); }

/* ==========================================================================
   ДЕСКТОП (≥1080px): фиксированный центр 1080px, фигуры/лента — до края окна
   ========================================================================== */
@media (min-width: 1080px) {

  .frame { padding-inline: var(--frame-pad-desktop); }

  .frame--header { padding: 20px var(--frame-pad-desktop); }
  .logo img { height: 28px; }
  .site-header.is-scrolled .logo img { height: 22px; }
  .nav-toggle { display: none; }
  .nav {
    position: static;
    flex: 1;
    flex-direction: row;
    align-items: center;
    max-height: none;
    overflow: visible;
    visibility: visible;
    border-top: 0;
    padding: 0;
    gap: 26px;
  }
  .nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-inline: auto;
  }
  .nav-link {
    position: relative;
    padding: 0 0 6px;
    font-size: 13px;
    border-bottom: 0;
    white-space: nowrap;
  }
  .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s cubic-bezier(.65,0,.35,1);
  }
  .nav-link.is-current::after,
  .nav-link:hover::after,
  .nav-link:focus-visible::after {
    transform: scaleX(1);
  }
  .nav .btn--nav { margin-top: 0; }

  /* --- герой --- */
  .hero { min-height: 790px; }
  .hero .frame { position: relative; min-height: inherit; }
  .hero__text { position: relative; z-index: 2; padding-top: 112px; }
  .h-display { font-size: 42px; }
  .hero .p-lead,
  .hero .p-body,
  .hero .p-note { max-width: var(--col-max); }

  .bleed {
    position: absolute;
    top: var(--top, 0);
    height: var(--h, auto);
    max-height: none;
    object-fit: contain;
    z-index: 1;
    width: var(--w, auto);
    margin: 0;
  }
  .bleed--right { right: 0; }
  .bleed--left { left: 0; }
  .hero__figure {
    top: 16px;
    right: 0;   /* полумесяц срезан краем картинки — упирается в край окна, как в макете */
    height: 770px;
  }

  /* --- ты в кадре / мы за кадром --- */
  .frame-work { padding-top: 0; min-height: 1100px; }
  .frame-work .frame { position: relative; min-height: inherit; }
  .frame-work__figure {
    top: 80px;
    left: 0;
    height: 1010px;
  }
  .frame-work__text {
    position: relative;
    z-index: 2;
    margin-left: 423px;   /* левый край колонки = 487px от окна = 423px внутри frame */
    padding-top: 130px;
    max-width: var(--col-max);
  }
  .card, .frame-work__text .p-footnote { max-width: var(--col-max); }
  .card { padding: 28px 32px 32px; }
  .card__eyebrow { font-size: 19px; }
  .card__text { font-size: 18px; }
  .p-footnote { font-size: 17px; }

  /* --- внутренние главы: общие блоки --- */
  .chapter-tag .frame { gap: 8px; padding-block: 26px; }
  .chapter-tag__name { font-size: 13px; }
  .chapter-tag__lede { font-size: 17px; max-width: 640px; }

  .subhead { font-size: 19px; }
  .criterion p, .mini-step p { font-size: 16px; }
  .stat__number { font-size: 55px; }
  .stat__caption { font-size: 16px; }
  .callout { font-size: 26px; }
  .schedule__date { font-size: 34px; }
  .schedule__caption { font-size: 16px; }
  .summary__item { font-size: 16px; }
  .cta-prompt__title { font-size: 24px; }
  .formula-row__num { font-size: 34px; width: 150px; }
  .formula-row__num.is-accent { font-size: 42px; }
  .formula-row__label { font-size: 12px; }
  .formula-row__text { font-size: 15px; }
  .rate-row__label { font-size: 15px; }
  .rate-row__amount { font-size: 24px; }
  .checklist { grid-template-columns: 1fr 1fr; }
  .checklist li { font-size: 16px; }
  .footer-links { grid-template-columns: 1fr 1fr; max-width: var(--frame-width); gap: 32px 64px; }
  .footer-link__title { font-size: 20px; }
  .footer-link__desc { font-size: 15px; }
  .site-footer-note { font-size: 13px; }
  .note-box { font-size: 15px; padding: 16px 20px; }

  /* главы: секция — сетка; текст и персонаж в одной ячейке, секция всегда вмещает персонажа */
  .split { display: grid; grid-template-columns: minmax(0, 1fr); padding-block: 56px; --fx: 270px; }
  .split > .frame { grid-area: 1 / 1; min-height: var(--fh, 0px); display: grid; align-content: center; }
  .split > .bleed {
    grid-area: 1 / 1;
    position: sticky;
    top: max(88px, calc((100vh - var(--h)) / 2 + 36px));
    align-self: start;
    justify-self: center;
  }
  .split > .bleed--right { right: auto; margin-left: calc(var(--fx) * 2); }
  .split > .bleed--left { left: auto; margin-right: 600px; }   /* центр фигуры на 300px левее центра окна: рядом с кружком-номером, не под ним */
  .split__text { padding-top: 8px; max-width: var(--col-max); }
  .split--right .split__text { margin-left: 423px; }
  .split__index { position: absolute; right: calc(100% + 14px); top: -7px; width: 40px; height: 40px; margin: 0; font-size: 19px; }

  /* --- пять глав --- */
  .chapters { padding: 96px 0 64px; }
  .chapter-row__inner { padding-block: 26px; }
  .chapter-row__title { font-size: 22px; }
  .chapter-row__desc { font-size: 16px; }
}

@media (min-width: 1080px) and (hover: hover) {
  .btn--nav:hover, .btn--hero:hover { background: #b8163f; }
}

/* базовые переходы для наведения (мышь) — объявлены раньше блока появления, чтобы тот их дополнял, а не затирал */
.btn { transition: background-color .2s ease, transform .25s cubic-bezier(.23, 1, .32, 1), box-shadow .25s cubic-bezier(.23, 1, .32, 1); }
.bleed, .sx-fig { transform-origin: 50% 100%; transition: transform .5s cubic-bezier(.23, 1, .32, 1); }
.card { transition: transform .3s cubic-bezier(.23, 1, .32, 1), box-shadow .3s cubic-bezier(.23, 1, .32, 1); }

/* ==========================================================================
   ПОЯВЛЕНИЕ: заход на страницу и появление блоков при скролле
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {

  @keyframes reveal-up {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* --- заход на страницу: хедер → (плашка главы) → герой первого блока --- */
  .site-header {
    animation: reveal-up .6s cubic-bezier(.22,.61,.36,1) backwards;
  }
  .chapter-tag {
    animation: reveal-up .6s cubic-bezier(.22,.61,.36,1) backwards;
    animation-delay: .08s;
  }
  main > section:first-of-type .bleed {
    animation: reveal-up .8s cubic-bezier(.22,.61,.36,1) backwards;
    animation-delay: .18s;
  }
  main > section:first-of-type .split__text,
  main > section:first-of-type .hero__text,
  main > section:first-of-type .frame-work__text {
    animation: reveal-up .8s cubic-bezier(.22,.61,.36,1) backwards;
    animation-delay: .34s;
  }

  /* --- появление при скролле: снизу вверх с проявлением; текст — каскадом.
         Используем отдельные свойства translate/scale, чтобы наведение (transform) работало сразу, не дожидаясь конца показа --- */
  .reveal {
    opacity: 0;
    translate: 0 40px;
    transition: opacity .8s cubic-bezier(.23, 1, .32, 1),
                translate .9s cubic-bezier(.23, 1, .32, 1),
                scale .9s cubic-bezier(.23, 1, .32, 1),
                transform .5s cubic-bezier(.23, 1, .32, 1),
                background-color .2s ease,
                box-shadow .25s cubic-bezier(.23, 1, .32, 1);
  }
  .bleed.reveal, .sx-fig.reveal { translate: 0 64px; scale: .96; transform-origin: 50% 100%; }
  .reveal.is-visible { opacity: 1; translate: 0 0; scale: 1; }
  .reveal-group > * {
    opacity: 0;
    translate: 0 32px;
    transition: opacity .7s cubic-bezier(.23, 1, .32, 1),
                translate .8s cubic-bezier(.23, 1, .32, 1),
                transform .25s cubic-bezier(.23, 1, .32, 1),
                background-color .2s ease,
                box-shadow .25s cubic-bezier(.23, 1, .32, 1);
    transition-delay: calc(var(--i, 0) * 70ms), calc(var(--i, 0) * 70ms), 0s, 0s, 0s;
  }
  .reveal-group.is-visible > * { opacity: 1; translate: 0 0; }
}

/* ---------- наведение: тонкие акценты (только мышь, не тач) ---------- */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -10px var(--accent); }
  .btn:active { transform: translateY(0); box-shadow: none; }
  .bleed:hover, .sx-fig:hover { transform: translateY(-6px) scale(1.03); }
  .card:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -18px rgba(9, 9, 13, .35); }
}
