/* ═══════════════════════════════════════════════════════════════════════════
   home-next.css — дизайн главной (HOME-REDESIGN, выкачен 2026-10-09),
   подключается только templates/index.html. Поверх layout.css/components.css.
   Цвета — только токены сайта (скилл azimuth-site-design).
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Появление секций при прокрутке (html.hn-js ставит home-next.js; без JS
   всё видно сразу) ── */
.hn-js .hn-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.hn-js .hn-reveal.is-in { opacity: 1; transform: none; }

/* ═══ 3. Тестирование ═══ */

/* Строка тестеров: аватары внахлёст, по одному «впрыгивают» при появлении */
.hn-crew { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 4px 0 26px; }
.hn-crew-avas { display: flex; align-items: center; padding-left: 8px; }
.hn-crew-ava {
  position: relative; width: 44px; height: 44px; margin-left: -8px; flex: none; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: 16px; color: #fff;
  border: 3px solid var(--c-bg); box-shadow: 0 0 0 1px var(--c-stroke-s);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), z-index 0s;
}
.hn-crew-ava img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.hn-crew-ava:hover, .hn-crew-ava:focus-visible { transform: translateY(-4px) scale(1.08); z-index: 2; outline: none; }
.hn-crew-ava:focus-visible { box-shadow: 0 0 0 2px var(--c-accent); }
.hn-crew-streak {
  position: absolute; right: -4px; bottom: -4px; z-index: 1; min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 999px; background: var(--c-accent); color: #fff; font: 800 10px/18px var(--f-ui); font-style: normal; text-align: center;
  box-shadow: 0 0 0 2px var(--c-bg);
}
.hn-crew-more {
  width: 44px; height: 44px; margin-left: -8px; border-radius: 50%; display: grid; place-items: center;
  font-size: 13px; font-weight: 700; color: var(--c-text-2); background: var(--c-raised); border: 3px solid var(--c-bg);
}
.hn-crew-text { font-size: 14px; font-weight: 600; color: var(--c-text-2); text-decoration: none; transition: color .15s;
                /* зона нажатия ~44px, раскладка та же */
                display: inline-block; padding: 11px 0; margin: -11px 0; }
.hn-crew-text:hover { color: var(--c-accent); text-decoration: none; }
/* Появление — через translate/scale, а не transform: анимация с fill both
   держит свои свойства, и transform у ховера иначе не срабатывал бы */
.hn-js .hn-reveal .hn-crew-ava, .hn-js .hn-reveal .hn-crew-more { opacity: 0; translate: 0 10px; scale: .7; }
.hn-js .hn-reveal.is-in .hn-crew-ava, .hn-js .hn-reveal.is-in .hn-crew-more {
  animation: hn-pop .5s cubic-bezier(.2,.9,.3,1.35) both; animation-delay: calc(.15s + var(--i, 12) * 55ms);
}
@keyframes hn-pop { from { opacity: 0; translate: 0 10px; scale: .7; } to { opacity: 1; translate: none; scale: none; } }

.hn-tst .htst-stats dd { font-variant-numeric: tabular-nums; }

/* Тизер следующего теста: силуэт модели (прозрачный PNG → маска) одним
   цветом, сканлайны и глитч — короткие сбои, остальное время покой */
.hn-teaser {
  position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 22px;
  background: var(--c-base); border: 1px solid var(--c-stroke-s); text-decoration: none; color: inherit;
  transition: border-color .25s, transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s;
}
.hn-teaser:hover { text-decoration: none; border-color: var(--c-accent-m); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.hn-teaser-art {
  position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden;
  background:
    radial-gradient(60% 70% at 50% 55%, var(--c-accent-s), transparent 70%),
    repeating-linear-gradient(0deg, transparent 0 31px, var(--c-stroke) 31px 32px),
    repeating-linear-gradient(90deg, transparent 0 31px, var(--c-stroke) 31px 32px),
    var(--c-bg);
}
.hn-sil {
  position: absolute; inset: 9% 8%; display: block; background: var(--c-accent);
  -webkit-mask: var(--sil) center / contain no-repeat; mask: var(--sil) center / contain no-repeat;
  filter: drop-shadow(0 0 18px var(--c-accent-m));
  animation: hn-jitter 4.6s steps(1, end) infinite;
}
/* Слои сбоя: белый и акцентный, сдвинуты и нарезаны полосами */
.hn-sil--a { background: var(--c-text); opacity: .85; filter: none; clip-path: inset(0 0 100% 0); animation: hn-slice-a 4.6s steps(1, end) infinite; }
.hn-sil--b { background: var(--c-accent); opacity: .9; filter: none; clip-path: inset(0 0 100% 0); animation: hn-slice-b 4.6s steps(1, end) infinite; }
.hn-scan {
  position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.22) 0 1px, transparent 1px 3px);
  mix-blend-mode: multiply;
}
[data-theme="light"] .hn-scan { background: repeating-linear-gradient(0deg, rgba(0,0,0,.05) 0 1px, transparent 1px 3px); }
.hn-scan::after {   /* бегущая полоса развёртки */
  content: ""; position: absolute; left: 0; right: 0; height: 22%; top: -22%;
  background: linear-gradient(transparent, var(--c-accent-s), transparent);
  animation: hn-sweep 3.2s linear infinite;
}
@keyframes hn-sweep { to { top: 100%; } }
@keyframes hn-jitter {
  0%, 82%, 88%, 93%, 100% { transform: none; opacity: 1; }
  83% { transform: translate(-6px, 1px) skewX(-6deg); opacity: .7; }
  85% { transform: translate(5px, -1px); opacity: 1; }
  89% { transform: translate(-3px, 0) scaleX(1.02); opacity: .85; }
  94% { transform: translate(2px, 1px); }
}
@keyframes hn-slice-a {
  0%, 82%, 96%, 100% { clip-path: inset(0 0 100% 0); transform: none; }
  83% { clip-path: inset(12% 0 70% 0); transform: translateX(-14px); }
  85% { clip-path: inset(58% 0 24% 0); transform: translateX(10px); }
  89% { clip-path: inset(34% 0 52% 0); transform: translateX(-8px); }
  94% { clip-path: inset(80% 0 6% 0); transform: translateX(16px); }
}
@keyframes hn-slice-b {
  0%, 83%, 97%, 100% { clip-path: inset(0 0 100% 0); transform: none; }
  84% { clip-path: inset(40% 0 44% 0); transform: translateX(12px); }
  87% { clip-path: inset(8% 0 82% 0); transform: translateX(-10px); }
  91% { clip-path: inset(66% 0 18% 0); transform: translateX(7px); }
  95% { clip-path: inset(22% 0 66% 0); transform: translateX(-12px); }
}
.hn-teaser-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 22px 20px; }
.hn-teaser-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--c-text-2); }
.hn-teaser-kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 0 0 var(--c-accent-m); animation: hn-ping 1.8s ease-out infinite; }
@keyframes hn-ping { 0% { box-shadow: 0 0 0 0 var(--c-accent-m); } 100% { box-shadow: 0 0 0 10px transparent; } }
.hn-teaser-title { font-size: 24px; font-weight: 800; letter-spacing: -.01em; color: var(--c-text); }
.hn-teaser-note { font-size: 13px; color: var(--c-muted); line-height: 1.5; }

/* ═══ 4. Подписки: один выделенный тариф ═══
   Выделен только popular (tier_popular, как на /subscribe): крупная цена,
   красная кнопка, плашка. Остальные — тихие: цена цветом текста, кнопка-контур.
   Карточки одной высоты, без scale — выделение цветом и размером цены. */
/* 4b: заголовок строкой сверху, карточки во всю ширину контента */
.hn-subs-wrap { display: block !important; }
.hn-subs-head { display: flex; flex-direction: column; align-items: flex-start !important; gap: 8px; margin-bottom: 30px; }
.hn-subs-head .section-go-head { margin: 0; }
.hn-subs-head .subscribe-desc { margin: 0; }
.hn-subs { align-items: stretch; gap: 14px; flex-wrap: nowrap; }
.hn-subs .hn-sub { min-width: 0; flex: 1 1 0; padding: 26px 20px 18px; }
/* Описание: у выделенного — полностью, у остальных — две строки (целиком — в подсказке) */
.hn-sub-desc { font-size: 13px; line-height: 1.5; margin-top: 4px; }
.hn-sub--pop .hn-sub-desc { text-wrap: balance; }
.hn-sub:not(.hn-sub--pop) .hn-sub-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hn-sub--pop .hn-sub-desc { color: var(--c-text-2); }
.hn-subs .hn-sub {
  position: relative; background: var(--c-base); border-color: var(--c-stroke);
  box-shadow: none; transform: none; padding: 22px 16px 16px;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), border-color .25s, box-shadow .25s;
}
.hn-subs .hn-sub:hover { transform: translateY(-4px); border-color: var(--c-stroke-s); box-shadow: var(--shadow-md); }
.hn-sub-price { display: flex; flex-direction: column; align-items: center; gap: 2px; margin: 4px 0 2px; color: var(--c-text); }
.hn-sub-price b { font-size: 24px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.hn-sub-price span { font-size: var(--fs-xs); font-weight: 400; color: var(--c-muted); }
.hn-subs .hn-sub .sub-card-btn { margin-top: auto; padding-top: 10px; }

.hn-subs .hn-sub--pop {
  flex-grow: 1.35; background: var(--c-accent-s); border-color: var(--c-accent-m);
  box-shadow: 0 0 0 1px var(--c-accent-m), 0 18px 48px -18px var(--c-accent-m);
}
.hn-subs .hn-sub--pop:hover { border-color: var(--c-accent); box-shadow: 0 0 0 1px var(--c-accent), 0 22px 56px -18px var(--c-accent-m); }
.hn-sub--pop .hn-sub-price { color: var(--c-accent); }
.hn-sub--pop .hn-sub-price b { font-size: clamp(34px, 3.2vw, 44px); }
.hn-sub--pop .sub-card-name { font-size: var(--fs-md, 16px); }
.hn-sub-pill {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  padding: 3px 12px; border-radius: 999px; background: var(--c-accent); color: #fff;
  font-size: 12px; font-weight: 700; line-height: 16px; box-shadow: 0 0 0 3px var(--c-raised);
}
[data-theme="light"] .hn-subs .hn-sub { background: var(--c-base); border-color: var(--c-stroke); box-shadow: none; }
[data-theme="light"] .hn-subs .hn-sub--pop { background: var(--c-accent-s); border-color: var(--c-accent-m); box-shadow: 0 0 0 1px var(--c-accent-m), 0 18px 48px -22px var(--c-accent-m); }

/* Появление: карточки по одной слева направо */
.hn-js .hn-reveal .hn-sub { opacity: 0; translate: 0 16px; }
.hn-js .hn-reveal.is-in .hn-sub { animation: hn-rise .6s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(.1s + var(--i, 0) * 70ms); }
@keyframes hn-rise { from { opacity: 0; translate: 0 16px; } to { opacity: 1; translate: none; } }

@media (max-width: 767px) {
  .hn-subs { padding-top: 18px !important; margin-top: -18px !important; }
  .hn-subs .hn-sub, .hn-subs .hn-sub:hover { transform: none; }
  .hn-sub--pop .hn-sub-price b { font-size: 38px; }
}

/* ═══ 5. Видео: карточка по ширине контента ═══
   Пропорция — из CMS (inline aspect-ratio). Размытая копия видео светится
   ПОД карточкой (не заливает секцию), поэтому полей и виньеток нет ни в
   тёмной, ни в светлой теме. */
.hn-video-sec { padding: clamp(32px, 5vw, 64px) 0; }
/* Ширина — не больше, чем помещается по высоте экрана целиком (--vr — пропорция) */
.hn-video { position: relative; isolation: isolate; width: min(100%, calc((100svh - 190px) * var(--vr, 16 / 9))); margin: 0 auto; }
.hn-video-glow {
  position: absolute; inset: 10% 6% -5%; z-index: -1; pointer-events: none;
  opacity: 0; transition: opacity 1s ease; filter: blur(56px) saturate(1.6);
}
.hn-video-glow.sv-ambilight--active { opacity: .55; }
.hn-video-glow video { width: 100%; height: 100%; object-fit: cover; display: block; }
[data-theme="light"] .hn-video-glow.sv-ambilight--active { opacity: .35; }
.hn-video-frame {
  position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 22px;
  background: var(--c-base); border: 1px solid var(--c-stroke-s); box-shadow: var(--shadow-md);
}
.hn-video-main { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hn-video-cap {
  position: absolute; left: 18px; bottom: 18px; max-width: calc(100% - 100px);
  padding: 7px 16px; border-radius: 999px; font-size: var(--fs-sm); font-weight: 600; color: #fff;
  background: rgba(12,12,15,.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none;
}
.hn-video-toggle {
  position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; border: 0; cursor: pointer; color: #fff;
  background: rgba(12,12,15,.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: .0; transition: opacity .25s, background .2s, transform .2s;
}
.hn-video-frame:hover .hn-video-toggle, .hn-video-toggle:focus-visible, .hn-video-toggle.is-paused { opacity: 1; }
.hn-video-toggle:hover { background: var(--c-accent); transform: scale(1.06); }
.hn-video-toggle:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.hn-video-toggle .i-play, .hn-video-toggle.is-paused .i-pause { display: none; }
.hn-video-toggle.is-paused .i-play { display: block; }
@media (hover: none) { .hn-video-toggle { opacity: .85; } }
@media (max-width: 767px) {
  .hn-video-frame { border-radius: 16px; }
  .hn-video-cap { left: 12px; bottom: 12px; font-size: 13px; padding: 6px 12px; }
  .hn-video-toggle { right: 8px; bottom: 8px; }
}

/* ═══ 7. Как рождается модель (вместо «Не конвейер») ═══
   Шапка: заголовок + текст слева, цифры справа строкой. Ниже — пять этапов
   полосой, между номерами — линия, которая прорисовывается при появлении.
   Этап без фото (--plan) — схема на «миллиметровке». */
.hn-about .content-wrap { position: relative; z-index: 1; }
.hn-about-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 64px; align-items: end; margin-bottom: 44px; }
.hn-about-intro .about-heading { margin-bottom: 16px; }
.hn-about-intro .about-body { max-width: 60ch; margin: 0; }
.hn-about-stats { display: flex; gap: 36px; margin: 0; }
.hn-about-stats div { display: flex; flex-direction: column; gap: 4px; }
.hn-about-stats dd { margin: 0; font-size: clamp(28px, 2.6vw, 36px); font-weight: 800; letter-spacing: -.02em; line-height: 1; color: var(--c-text); font-variant-numeric: tabular-nums; }
.hn-about-stats dt { font-size: var(--fs-xs); color: var(--c-muted); }

.hn-proc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: none; }
.hn-step { position: relative; display: flex; flex-direction: column; min-width: 0; }
.hn-step-media {
  position: relative; aspect-ratio: 1; border-radius: 18px; overflow: hidden;
  background: var(--c-raised); border: 1px solid var(--c-stroke);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .25s, box-shadow .35s;
}
.hn-step-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.hn-step:hover .hn-step-media { transform: translateY(-4px); border-color: var(--c-accent-m); box-shadow: var(--shadow-md); }
.hn-step:hover .hn-step-media img { transform: scale(1.04); }
.hn-step--plan .hn-step-media {
  display: grid; place-items: center; color: var(--c-accent);
  background:
    repeating-linear-gradient(0deg, transparent 0 15px, var(--c-stroke) 15px 16px),
    repeating-linear-gradient(90deg, transparent 0 15px, var(--c-stroke) 15px 16px),
    var(--c-raised);
}
.hn-step--plan .hn-step-media svg { width: 34%; height: auto; filter: drop-shadow(0 0 14px var(--c-accent-m)); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.hn-step--plan:hover .hn-step-media svg { transform: scale(1.08) rotate(-3deg); }

/* Номер этапа и линия до следующего */
.hn-step-num { position: relative; display: flex; align-items: center; margin: 18px 0 10px; height: 26px; }
.hn-step-num span {
  position: relative; z-index: 1; padding: 0 10px; height: 26px; border-radius: 999px; display: grid; place-items: center;
  font: 800 12px/1 var(--f-ui); letter-spacing: .04em; color: #fff; background: var(--c-accent);
  font-variant-numeric: tabular-nums;
}
.hn-step:not(:last-child) .hn-step-num::after {
  content: ""; position: absolute; left: 0; right: -16px; top: 50%; height: 2px; margin-top: -1px;
  background: linear-gradient(90deg, var(--c-accent), var(--c-accent-m)); transform-origin: left center;
}
.hn-step-title { margin: 0 0 6px; font-size: 18px; font-weight: 800; letter-spacing: -.01em; color: var(--c-text); }
.hn-step-text { margin: 0; font-size: var(--fs-sm); line-height: 1.55; color: var(--c-text-2); }
.hn-step-live { display: inline-flex; align-items: baseline; gap: 6px; margin-top: 10px; font-size: var(--fs-xs); color: var(--c-muted); text-decoration: none; transition: color .15s; }
.hn-step-live b { font-size: 20px; font-weight: 800; color: var(--c-accent); font-variant-numeric: tabular-nums; }
.hn-step-live:hover { color: var(--c-text); text-decoration: none; }

.hn-about-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--c-stroke); }
.hn-about-quote { margin: 0; font-size: var(--fs-md); font-style: italic; line-height: 1.6; color: var(--c-text-2); max-width: 60ch; }
.hn-about-foot .about-cta { margin-top: 0; }

/* Появление: карточки по очереди, линия прорисовывается к следующему этапу */
.hn-js .hn-reveal .hn-step { opacity: 0; translate: 0 18px; }
.hn-js .hn-reveal.is-in .hn-step { animation: hn-rise .6s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(.1s + var(--i, 0) * 110ms); }
.hn-js .hn-reveal .hn-step .hn-step-num::after { scale: 0 1; }
.hn-js .hn-reveal.is-in .hn-step .hn-step-num::after { animation: hn-line .5s cubic-bezier(.6,0,.2,1) both; animation-delay: calc(.45s + var(--i, 0) * 110ms); }
@keyframes hn-line { from { scale: 0 1; } to { scale: 1 1; } }

@media (max-width: 1024px) {
  .hn-about-head { grid-template-columns: 1fr; align-items: start; }
}
/* Телефон: этапы — горизонтальная лента со снапом (как ряды App Store) */
@media (max-width: 767px) {
  .hn-about-head { margin-bottom: 28px; }
  .hn-about-stats { gap: 24px; }
  .hn-proc {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px;
    margin: 0 calc(-1 * var(--page-pad)); padding: 0 var(--page-pad) 6px; scroll-padding: 0 var(--page-pad);
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .hn-proc::-webkit-scrollbar { display: none; }
  .hn-step { flex: 0 0 62vw; scroll-snap-align: start; }
  .hn-step:not(:last-child) .hn-step-num::after { right: -12px; }
  .hn-step:hover .hn-step-media { transform: none; }
  .hn-about-foot { margin-top: 28px; }
}

/* ═══ 8. Анимации по всей главной ═══
   Появление секций — .hn-reveal (выше); цифры досчитывает home-next.js
   ([data-count] / [data-count-auto]). Здесь — поэтапность внутри секций и
   ховеры там, где их не было. Всё движение — translate/scale/opacity. */

/* Spooly: сначала текст, потом карточка «въезжает» справа */
/* въезд справа — обрезаем по секции: на мобильном Chrome overflow-x у body
   сдвиг не клипает, и страница становилась шире экрана (360 → 380+) */
.section-spooly, .section-feedback { overflow-x: clip; }  /* и карусель отзывов: боковые карточки за краем */
.hn-js .hn-spooly .spooly-right { opacity: 0; translate: 40px 0; transition: opacity .7s cubic-bezier(.2,.8,.2,1) .18s, translate .8s cubic-bezier(.2,.8,.2,1) .18s; }
.hn-js .hn-spooly.is-in .spooly-right { opacity: 1; translate: none; }

/* Тестирование: строки тестов — по очереди; ховер — сдвиг и стрелка цвета */

/* Цифры hero: моноширинные цифры — досчёт не дёргает ширину */
.hero-stat-num, .hn-about-stats dd { font-variant-numeric: tabular-nums; }

/* Заголовки секций: короткая акцентная черта прорисовывается при появлении */
.hn-js .hn-reveal .section-go-head .section-title, .hn-js .hn-reveal .comm-title { position: relative; }
.hn-js .hn-reveal .section-go-head .section-title::after, .hn-js .hn-reveal .comm-title::after {
  content: ""; position: absolute; left: 0; bottom: -8px; width: 36px; height: 3px; border-radius: 2px;
  background: var(--c-accent); scale: 0 1; transform-origin: left center; transition: scale .6s cubic-bezier(.6,0,.2,1) .35s;
}
.hn-js .hn-reveal.is-in .section-go-head .section-title::after, .hn-js .hn-reveal.is-in .comm-title::after { scale: 1 1; }

/* ═══ 6. Флагманы ═══
   Раскладка «1 большая + 3» и живые обложки — без изменений (решение
   владельца: асимметрия и простыня/трава/земля на фото — фича). Новое:
   название крупно прямо на фото, характеристики крупными моноцифрами (как
   цифры тестирования), бейджи категории/новинки/доступа, стеклянный кант по
   рамке (как карточки отзывов), блик при наведении, стрелка → «Смотреть».
   Текст белый на затемнении снизу: фото живые и любой яркости. */
.hn-fl .flagship-grid { grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); grid-template-rows: clamp(460px, 38vw, 560px); gap: 12px; }
.hn-fl .flagship-side-grid { gap: 12px; }
.hn-fl-card { isolation: isolate; border-radius: 18px; color: #fff; }
.hn-fl-card--main { border-radius: 26px; }
.hn-fl .flagship-main-img, .hn-fl .flagship-side-img { z-index: 0; }   /* слайды галереи остаются под текстом */

.hn-fl-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to top, rgba(8,8,10,.88) 0%, rgba(8,8,10,.5) 30%, rgba(8,8,10,0) 60%),
    linear-gradient(to bottom, rgba(8,8,10,.32), rgba(8,8,10,0) 24%);
}
.hn-fl-card--main .hn-fl-scrim { background:
    linear-gradient(to top, rgba(8,8,10,.9) 0%, rgba(8,8,10,.55) 26%, rgba(8,8,10,0) 55%),
    linear-gradient(to bottom, rgba(8,8,10,.3), rgba(8,8,10,0) 20%); }
/* Стеклянный кант по рамке + блик, который проходит один раз при наведении */
.hn-fl-card::after {
  content: ""; position: absolute; inset: 0; z-index: 4; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), inset 1px 1px 0 rgba(255,255,255,.14), inset -1px -1px 0 rgba(0,0,0,.4);
}
.hn-fl-card::before {
  content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.13) 50%, transparent 62%);
  translate: -120% 0;
}
.hn-fl-card:hover::before { translate: 120% 0; transition: translate 1s cubic-bezier(.3,.6,.2,1); }

.hn-fl-tags { position: absolute; top: 16px; left: 16px; z-index: 3; display: flex; gap: 6px; flex-wrap: wrap; --badge-fs: 11px; --badge-py: 4px; --badge-px: 10px; }
.hn-fl-card--main .hn-fl-tags { top: 22px; left: 24px; --badge-fs: 12px; --badge-py: 5px; --badge-px: 12px; }

.hn-fl-info { position: absolute; left: 18px; right: 70px; bottom: 18px; z-index: 3; min-width: 0; }
.hn-fl-card--main .hn-fl-info { left: 28px; right: 230px; bottom: 26px; }
.hn-fl-name {
  font-size: 21px; font-weight: 800; letter-spacing: -.02em; line-height: 1.02; color: #fff;
  text-wrap: balance; text-shadow: 0 2px 22px rgba(0,0,0,.35);
}
/* Боковые: размер названия — от ширины самой карточки, слово не рвётся */
.hn-fl .flagship-side-card { container-type: inline-size; }
.flagship-side-card .hn-fl-name { font-size: clamp(16px, 9.5cqi, 24px); }
.hn-fl-card--wide .hn-fl-name { font-size: clamp(22px, 6cqi, 30px); }
.hn-fl-card--main .hn-fl-name { font-size: clamp(38px, 4.6vw, 68px); letter-spacing: -.035em; line-height: .95; }
.hn-fl-sub { margin-top: 12px; max-width: 46ch; font-size: 15px; line-height: 1.45; color: rgba(255,255,255,.78);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hn-fl-facts { display: flex; flex-wrap: wrap; gap: 10px clamp(20px, 2.6vw, 36px); margin: 18px 0 0; }
.hn-fl-facts div { display: flex; flex-direction: column; }
.hn-fl-facts dd { margin: 0; font-family: var(--f-mono); font-weight: 700; font-size: clamp(20px, 1.9vw, 26px); line-height: 1; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hn-fl-facts dt { margin-top: 7px; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); }

.hn-fl-end { position: absolute; right: 14px; bottom: 14px; z-index: 3; display: flex; align-items: center; gap: 8px; --badge-fs: 11px; --badge-py: 5px; --badge-px: 10px; }
.hn-fl-card--main .hn-fl-end { right: 22px; bottom: 24px; gap: 10px; }
/* Боковые: доступ — в строке бейджей (переносится сам), «В подписке» не
   влезает — только название тарифа */
.hn-fl .flagship-side-card .hn-fl-pre { display: none; }
.hn-fl-tags .hn-fl-pill { height: 24px; padding: 0 10px; font-size: 12px; }
.hn-fl-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c-ok); box-shadow: 0 0 8px var(--c-ok); }
.hn-fl-pill {
  display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 12px; border-radius: 999px; white-space: nowrap;
  font-size: 13px; font-weight: 600; color: #fff;
  background: rgba(12,12,15,.5); border: 1px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.hn-fl-pill i { font-style: normal; color: rgba(255,255,255,.62); font-weight: 500; }
.hn-fl-pill b { font-weight: 800; font-variant-numeric: tabular-nums; }
.hn-fl-card--main .hn-fl-pill { height: 36px; padding: 0 14px; font-size: 14px; }
.hn-fl-go {
  flex: none; display: inline-flex; align-items: center; justify-content: center; height: 40px; min-width: 40px; padding: 0 10px;
  border-radius: 999px; background: var(--c-accent); color: #fff; box-shadow: 0 6px 20px rgba(229,56,59,.35);
  transition: padding .35s cubic-bezier(.2,.8,.2,1), box-shadow .25s;
}
.hn-fl-card--main .hn-fl-go { height: 48px; min-width: 48px; padding: 0 12px; }
.hn-fl-go span { max-width: 0; opacity: 0; overflow: hidden; white-space: nowrap; font-size: 14px; font-weight: 700;
  transition: max-width .35s cubic-bezier(.2,.8,.2,1), opacity .25s, margin .35s; }
.hn-fl-card:hover .hn-fl-go, .hn-fl-card:focus-visible .hn-fl-go { padding-left: 16px; box-shadow: 0 8px 26px rgba(229,56,59,.5); }
.hn-fl-card:hover .hn-fl-go span, .hn-fl-card:focus-visible .hn-fl-go span { max-width: 120px; opacity: 1; margin-right: 4px; }
.hn-fl-card:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }

/* Появление: большая карточка, затем боковые по очереди; название большой
   выезжает из-под маски — главная сцена секции */
.hn-js .hn-reveal .hn-fl-card { opacity: 0; translate: 0 18px; }
.hn-js .hn-reveal.is-in .hn-fl-card { animation: hn-rise .65s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(.05s + var(--i, 0) * 90ms); }
.hn-js .hn-reveal .hn-fl-card--main .hn-fl-name { clip-path: inset(0 0 100% 0); translate: 0 40%; }
.hn-js .hn-reveal.is-in .hn-fl-card--main .hn-fl-name { animation: hn-mask .8s cubic-bezier(.2,.8,.2,1) .3s both; }
@keyframes hn-mask { from { clip-path: inset(0 0 100% 0); translate: 0 40%; } to { clip-path: inset(0 0 -20% 0); translate: none; } }

@media (max-width: 1024px) {
  .hn-fl .flagship-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .hn-fl .flagship-main { height: 440px; }
  .hn-fl .flagship-side-grid { grid-auto-rows: 220px; }
}
/* Телефон: общая карусель (layout.css), карточки выше — продукт главный */
@media (max-width: 767px) {
  .hn-fl .flagship-main, .hn-fl .flagship-side-card { height: 420px; }
  .hn-fl-sub { display: none; }   /* изделие важнее — текст снизу короче */
  .hn-fl-card, .hn-fl-card--main { border-radius: 20px; }
  .hn-fl-card--main .hn-fl-tags, .hn-fl-tags { top: 14px; left: 14px; }
  .hn-fl-card--main .hn-fl-info, .hn-fl-info { left: 18px; right: 18px; bottom: 74px; }
  .hn-fl-card--main .hn-fl-name { font-size: 36px; }
  .hn-fl-name, .flagship-side-card .hn-fl-name, .hn-fl-card--wide .hn-fl-name { font-size: 30px; letter-spacing: -.03em; }
  .hn-fl-facts div:nth-child(3) { display: none; }
  .hn-fl .hn-fl-end, .hn-fl .flagship-side-card .hn-fl-end, .hn-fl-card--main .hn-fl-end {
    inset: auto 14px 16px 18px; flex-direction: row; justify-content: space-between; align-items: center; }
  .hn-fl-go span { max-width: 120px; opacity: 1; margin-right: 4px; }   /* на тач нет ховера — подпись сразу */
  .hn-fl-go, .hn-fl-card--main .hn-fl-go { height: 44px; padding-left: 16px; }
}

/* ═══ 7b. «Как рождается модель» — правки владельца (2026-10-09) ═══
   Фон секции ярче (локально — общий --atm-* сайта не трогаем), сетка
   этапов прозрачнее, за карточками — тягучие блобы, иконки подробнее,
   кнопки — крупные пилюли без «→». */
.hn-about {
  --atm-violet: rgba(120, 80, 220, .26);
  --atm-blue:   rgba(60, 110, 235, .22);
  --atm-indigo: rgba(80, 60, 200, .22);
}
.hn-about .section-blob-accent { background: radial-gradient(ellipse 120% 80%, rgba(229,56,59,.16) 0%, transparent 70%); }
[data-theme="light"] .hn-about { --atm-violet: rgba(120, 80, 220, .14); --atm-blue: rgba(60, 110, 235, .12); --atm-indigo: rgba(80, 60, 200, .12); }

/* Сетка «миллиметровки» и подложка карточки — полупрозрачные: сквозь них видно блобы */
.hn-about .hn-step-media { background: color-mix(in srgb, var(--c-raised) 42%, transparent); border-color: var(--c-stroke-s);
}
.hn-about .hn-step--plan .hn-step-media {
  background:
    repeating-linear-gradient(0deg, transparent 0 15px, color-mix(in srgb, var(--c-text) 4%, transparent) 15px 16px),
    repeating-linear-gradient(90deg, transparent 0 15px, color-mix(in srgb, var(--c-text) 4%, transparent) 15px 16px),
    color-mix(in srgb, var(--c-raised) 38%, transparent);
}
.hn-about .hn-step--plan .hn-step-media svg { width: 68%; }   /* крупнее (просьба владельца 2026-10-09) */

/* Блобы-«лизуны»: слой по высоте ряда карточек (высоту и отступ ставит
   home-next.js), блобы плывут по всей ширине, меняют форму, а фильтр goo
   склеивает их, когда встречаются */
.hn-proc-wrap { position: relative; }
.hn-proc-wrap .hn-proc { position: relative; z-index: 1; }
/* Видно только внутри карточек: маска — пять колонок сетки (зазоры 16px
   прозрачны), поэтому блоб «переходит» из карточки в карточку под стеклом */
.hn-goo {
  position: absolute; left: 0; right: 0; top: 0; height: var(--goo-h, 60%); z-index: 0; pointer-events: none; container-type: inline-size;
  --col: calc((100% - 64px) / 5);
  /* Маска — пять СКРУГЛЁННЫХ плиток (radius как у карточки, 18px): прямые
     колонки показывали блоб в углах за радиусом — углы «выпирали».
     space раскладывает пять плиток с равными зазорами = 16px */
  --tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Crect width='100%25' height='100%25' rx='18' ry='18'/%3E%3C/svg%3E");
  -webkit-mask: var(--tile) 0 0 / var(--col) 100% space no-repeat;
          mask: var(--tile) 0 0 / var(--col) 100% space no-repeat;
}
.hn-goo-in { position: absolute; inset: 0; filter: url(#hn-goo-f) blur(9px); opacity: .6; }
.hn-goo-in i {
  position: absolute; display: block; width: 13cqw; aspect-ratio: 1; top: 30%;
  background: var(--c-accent); border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
  animation: hn-goo-x 26s ease-in-out infinite alternate, hn-goo-morph 7s ease-in-out infinite alternate;
}
.hn-goo-in .g1 { background: #e5383b; animation-duration: 24s, 6s; }
.hn-goo-in .g2 { background: #8b5cf6; width: 12cqw; top: 50%; animation-duration: 31s, 8s; animation-delay: -9s, -2s; }
.hn-goo-in .g3 { background: #ec4899; width: 10cqw; top: 14%; animation-duration: 19s, 5.5s; animation-delay: -14s, -3s; }
.hn-goo-in .g4 { background: #6366f1; width: 13cqw; top: 40%; animation-duration: 36s, 9s; animation-delay: -22s, -5s; animation-direction: alternate-reverse, alternate; }
@keyframes hn-goo-x {
  0%   { translate: -4cqw 0; }
  25%  { translate: 22cqw -6%; }
  50%  { translate: 44cqw 8%; }
  75%  { translate: 66cqw -4%; }
  100% { translate: 88cqw 6%; }
}
/* Форма причудливее (просьба владельца): сильнее вытяжки и сплющивания,
   вращение; у каждого блоба две «капли» (::before/::after) бродят вокруг и
   то отрываются, то вливаются обратно — фильтр goo склеивает их, как лизун */
@keyframes hn-goo-morph {
  0%   { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; scale: 1 1;      rotate: 0deg; }
  20%  { border-radius: 72% 28% 52% 48% / 30% 34% 66% 70%; scale: 1.4 .68;  rotate: 28deg; }
  40%  { border-radius: 28% 72% 74% 26% / 52% 64% 36% 48%; scale: .7 1.36;  rotate: -18deg; }
  60%  { border-radius: 58% 42% 22% 78% / 74% 24% 76% 26%; scale: 1.22 1.12; rotate: 46deg; }
  80%  { border-radius: 33% 67% 45% 55% / 34% 72% 28% 66%; scale: .86 .8;   rotate: 12deg; }
  100% { border-radius: 62% 38% 64% 36% / 44% 56% 44% 56%; scale: 1.18 1;   rotate: -24deg; }
}
.hn-goo-in i::before, .hn-goo-in i::after {
  content: ""; position: absolute; left: 25%; top: 25%; width: 52%; aspect-ratio: 1; border-radius: 50%;
  background: inherit; animation: hn-drip-a 5.2s ease-in-out infinite alternate;
}
.hn-goo-in i::after { left: 32%; top: 32%; width: 36%; animation: hn-drip-b 6.8s ease-in-out infinite alternate; }
.hn-goo-in .g2::before, .hn-goo-in .g4::after { animation-direction: alternate-reverse; animation-duration: 7.4s; }
.hn-goo-in .g3::after { animation-duration: 4.6s; }
@keyframes hn-drip-a {
  0%   { translate: -90% 20%;   scale: .9; }
  35%  { translate: 150% -110%; scale: .55; }
  70%  { translate: 40% 160%;   scale: .75; }
  100% { translate: -140% -70%; scale: .5; }
}
@keyframes hn-drip-b {
  0%   { translate: 170% 100%;  scale: .7; }
  40%  { translate: -150% -90%; scale: .9; }
  75%  { translate: 20% -190%;  scale: .45; }
  100% { translate: 160% -20%;  scale: .75; }
}
[data-theme="light"] .hn-goo-in { opacity: .35; }

/* Иконки: при наведении шевелится «рабочая» часть */
.hn-step-media .i-mv { transition: transform .45s cubic-bezier(.2,.8,.2,1); transform-box: fill-box; transform-origin: center; }
/* Штангенциркуль: в покое губка стоит у колечка, при наведении губки
   раздвигаются — подвижная (справа) отъезжает от него */
.hn-step:hover .i-slide  { transform: translateX(6px); transition-duration: .7s; }
.hn-step:hover .i-cursor { transform: translate(-4px, -4px); }
.hn-step:hover .i-head   { transform: translateX(7px); }
.hn-step:hover .i-lens   { transform: translate(-4px, 3px) rotate(-6deg); }
.hn-step:hover .i-arrow  { animation: hn-drop .9s cubic-bezier(.4,0,.2,1) infinite; }
@keyframes hn-drop { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(4px); } }

/* Кнопки секции: крупные пилюли — главная акцентом, вторая стеклом */
.hn-about-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hn-pill {
  display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 28px; border-radius: 999px;
  font-size: 15px; font-weight: 700; letter-spacing: -.005em; text-decoration: none; white-space: nowrap; color: var(--c-text);
  background: color-mix(in srgb, var(--c-raised) 60%, transparent); border: 1px solid var(--c-stroke-s);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, border-color .25s, background .25s;
}
.hn-pill:hover { text-decoration: none; transform: translateY(-2px); border-color: var(--c-accent-m); box-shadow: var(--shadow-md); }
.hn-pill--primary { color: #fff; background: var(--c-accent); border-color: transparent; box-shadow: 0 8px 26px -8px rgba(229,56,59,.6); }
.hn-pill--primary:hover { border-color: transparent; box-shadow: 0 12px 32px -8px rgba(229,56,59,.75); filter: brightness(1.06); }
.hn-pill:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }

@media (max-width: 767px) {
  .hn-goo { display: none; }   /* на телефоне этапы — лента со скроллом; блобы фона и так есть */
  .hn-about-cta { width: 100%; }
  .hn-pill { flex: 1 1 0; padding: 0 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .hn-goo-in i, .hn-goo-in i::before, .hn-goo-in i::after { animation: none !important; }
  .hn-goo-in .g2 { translate: 30cqw 0; } .hn-goo-in .g3 { translate: 55cqw 0; } .hn-goo-in .g4 { translate: 78cqw 0; }
  .hn-step:hover .i-mv { transform: none; animation: none; }
}

@media (max-width: 600px) {
  .hn-crew { gap: 12px; margin-bottom: 20px; }
  .hn-crew-ava, .hn-crew-more { width: 38px; height: 38px; font-size: 14px; }
  .hn-teaser-title { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .hn-js .hn-reveal, .hn-js .hn-reveal .hn-crew-ava, .hn-js .hn-reveal .hn-crew-more { opacity: 1 !important; transform: none !important; translate: none !important; scale: none !important; animation: none !important; transition: none !important; }
  .hn-sil, .hn-sil--a, .hn-sil--b, .hn-scan::after, .hn-teaser-kicker i { animation: none !important; }
  .hn-js .hn-reveal .hn-sub, .hn-js .hn-reveal .hn-step { opacity: 1 !important; translate: none !important; animation: none !important; }
  .hn-js .hn-reveal .hn-step .hn-step-num::after { scale: none !important; animation: none !important; }
  .hn-js .hn-reveal .hn-fl-card, .hn-js .hn-reveal .hn-fl-card--main .hn-fl-name { opacity: 1 !important; translate: none !important; clip-path: none !important; animation: none !important; }
  .hn-fl-card:hover::before { transition: none; translate: -120% 0; }
  .hn-js .hn-spooly .spooly-right { opacity: 1 !important; translate: none !important; animation: none !important; transition: none !important; }
  .hn-js .hn-reveal .section-go-head .section-title::after, .hn-js .hn-reveal .comm-title::after { display: none; }
  .hn-video-glow { display: none; }   /* само видео ставит на паузу home-next.js */
}

/* ═══ 7c. Живые иконки этапов (static/js/home-steps.js) ═══
   Сцена крутится, пока курсор на карточке; ушёл — доигрывает круг до
   нейтрали. Под иконкой — «оживающий» сгусток: собирается из ничего,
   тянется и светится, пока карточка под курсором; уходит плавно. */
.hn-about .hn-step--plan .hn-step-media svg[data-scene] { position: relative; z-index: 1; overflow: visible; }
.hn-about .hn-step--plan:hover .hn-step-media svg[data-scene] { transform: none; }
/* Пятно в своей обрезке: размытое и анимированное, оно рисуется отдельным
   слоем, и overflow:hidden + скругление карточки в Chrome его не резали —
   углы пятна выпирали за радиус. clip-path со скруглением режет и слои,
   а тень карточки при наведении остаётся (она на самой карточке) */
.hn-step-glow-clip { position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit;
  overflow: hidden; clip-path: inset(0 round 17px); }
.hn-step-glow {
  position: absolute; left: 50%; top: 50%; width: 62%; aspect-ratio: 1; z-index: 0; pointer-events: none;
  translate: -50% -50%; scale: .35; opacity: 0;
  background: radial-gradient(circle at 50% 50%, var(--c-accent) 0%, color-mix(in srgb, var(--c-accent) 55%, #8b5cf6) 45%, transparent 72%);
  filter: blur(18px); border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
  transition: scale .9s cubic-bezier(.2,.8,.2,1), opacity .9s ease;
  animation: hn-glow-morph 4.5s ease-in-out infinite alternate; animation-play-state: paused;
}
@keyframes hn-glow-morph {
  0%   { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; rotate: 0deg; }
  33%  { border-radius: 70% 30% 46% 54% / 30% 40% 60% 70%; rotate: 50deg; }
  66%  { border-radius: 30% 70% 70% 30% / 55% 64% 36% 45%; rotate: -30deg; }
  100% { border-radius: 58% 42% 30% 70% / 70% 30% 70% 30%; rotate: 20deg; }
}
.hn-step:hover .hn-step-glow, .hn-step:focus-within .hn-step-glow { scale: 1; opacity: .42; animation-play-state: running; }
[data-theme="light"] .hn-step:hover .hn-step-glow { opacity: .22; }
@media (prefers-reduced-motion: reduce) { .hn-step-glow { display: none; } }

/* ═══ 7d. Прогон этапов (home-steps.js, идея владельца) ═══
   .hn-seq — прогон включён: названия и описания ждут своего этапа, линия
   до следующего номера заполняется за время сцены (--seg-dur), активная
   карточка «оживает». После прогона (.hn-seq-done) — всё видно, ховер. */
.hn-seq .hn-step-title, .hn-seq .hn-step-text, .hn-seq .hn-step-live {
  opacity: 0; translate: 0 8px; transition: opacity .6s ease, translate .6s cubic-bezier(.2,.8,.2,1);
}
.hn-seq .hn-step.is-active .hn-step-title, .hn-seq .hn-step.is-done .hn-step-title,
.hn-seq .hn-step.is-active .hn-step-text,  .hn-seq .hn-step.is-done .hn-step-text,
.hn-seq .hn-step.is-active .hn-step-live,  .hn-seq .hn-step.is-done .hn-step-live { opacity: 1; translate: none; }
.hn-seq .hn-step.is-active .hn-step-text { transition-delay: .15s; }
.hn-js .hn-proc.hn-seq .hn-step .hn-step-num::after,
.hn-js .hn-proc.hn-seq.is-in .hn-step .hn-step-num::after { animation: none; scale: 0 1; transition: scale var(--seg-dur, 3s) linear; }
.hn-js .hn-proc.hn-seq .hn-step.is-active .hn-step-num::after,
.hn-js .hn-proc.hn-seq .hn-step.is-done .hn-step-num::after { scale: 1 1; }
.hn-seq .hn-step-num span { transition: box-shadow .4s, scale .4s cubic-bezier(.2,.8,.2,1.4); }
.hn-seq .hn-step.is-active .hn-step-num span { scale: 1.12; box-shadow: 0 0 0 5px var(--c-accent-m); }
.hn-seq .hn-step.is-active .hn-step-glow { scale: 1; opacity: .42; animation-play-state: running; }
.hn-seq .hn-step.is-active .hn-step-media { border-color: var(--c-accent-m); }
[data-theme="light"] .hn-seq .hn-step.is-active .hn-step-glow { opacity: .22; }

/* ═══ 9. Коммерческие заказы ═══
   Слева — инфо и цифры очереди (моно, как у «Тестирования»), справа —
   витрина: большой кадр со стеклянным кантом (как флагманы), название
   крупно, лента миниатюр с прогрессом. Форма — прежняя, въезжает на место
   витрины; секция больше не заливается красным. */
.hn-comm { background: transparent; }
.hn-comm-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.hn-comm-info { display: flex; flex-direction: column; gap: 22px; padding-top: 6px; position: sticky; top: 110px; }
.hn-comm-info .section-go-head { margin: 0; }
.hn-comm-lead { margin: 0; font-size: 16px; line-height: 1.6; color: var(--c-text-2); max-width: 44ch; }
.hn-comm-stats { display: flex; flex-wrap: wrap; gap: 16px clamp(22px, 3vw, 40px); margin: 6px 0 0; }
.hn-comm-stats > div { display: flex; flex-direction: column; }
.hn-comm-stats dd { margin: 0; font-family: var(--f-mono); font-weight: 700; line-height: 1; font-size: clamp(32px, 3.4vw, 46px); color: var(--c-text); font-variant-numeric: tabular-nums; }
.hn-comm-stats dt { margin-top: 8px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); max-width: 16ch; line-height: 1.35; }
.hn-comm-cta { margin-top: 6px; }

/* Сцена: витрина и форма в одном месте, высота — по активному слою (JS) */
.hn-comm-stage { position: relative; overflow: hidden; transition: height .5s cubic-bezier(.22,1,.36,1); border-radius: 26px; }
.hn-comm-show, .hn-comm-form { transition: transform .52s cubic-bezier(.4,0,.2,1), opacity .4s ease; }
.hn-comm-show { position: relative; }
.hn-comm-form { position: absolute; left: 0; right: 0; top: 0; transform: translateX(104%); opacity: 0; }
.hn-comm-stage.is-form .hn-comm-show { transform: translateX(-104%); opacity: 0; }
.hn-comm-stage.is-form .hn-comm-form { transform: none; opacity: 1; }

/* Большой кадр */
.hn-comm-main { position: relative; isolation: isolate; aspect-ratio: 16 / 10; border-radius: 26px; overflow: hidden; background: var(--c-raised); }
/* Наплыв с лёгким отдалением. transform + свой GPU-слой: свойство scale на
   медленном ходу ступенило по пикселям — картинка «дрожала» */
.hn-comm-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0;
  transform: translateZ(0) scale(1.06); will-change: transform, opacity; backface-visibility: hidden;
  transition: opacity .7s ease, transform 5.2s cubic-bezier(.2,.6,.3,1); }
.hn-comm-img.is-on { opacity: 1; transform: translateZ(0) scale(1); }
.hn-comm-scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(8,8,10,.86) 0%, rgba(8,8,10,.4) 30%, rgba(8,8,10,0) 58%); }
.hn-comm-main::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), inset 1px 1px 0 rgba(255,255,255,.14), inset -1px -1px 0 rgba(0,0,0,.4); }
.hn-comm-meta { position: absolute; left: 28px; right: 28px; bottom: 24px; z-index: 2; color: #fff; }
.hn-comm-idx { display: inline-block; font: 700 12px/1 var(--f-mono); letter-spacing: .12em; color: rgba(255,255,255,.7); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.hn-comm-name { font-size: clamp(28px, 3.4vw, 50px); font-weight: 800; letter-spacing: -.03em; line-height: 1; text-wrap: balance; text-shadow: 0 2px 22px rgba(0,0,0,.35); }
.hn-comm-name.is-in { animation: hn-mask .7s cubic-bezier(.2,.8,.2,1) both; }

/* Лента миниатюр: активная — с акцентной рамкой и полосой прогресса */
.hn-comm-rail { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.hn-comm-rail::-webkit-scrollbar { display: none; }
.hn-comm-thumb {
  position: relative; flex: 1 0 0; min-width: 92px; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; padding: 0; cursor: pointer;
  border: 1px solid var(--c-stroke-s); background: var(--c-raised); opacity: .55; filter: saturate(.7);
  transition: opacity .3s, filter .3s, transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
}
.hn-comm-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hn-comm-thumb:hover { opacity: .9; transform: translateY(-2px); }
.hn-comm-thumb.is-on { opacity: 1; filter: none; box-shadow: 0 0 0 2px var(--c-accent); }
.hn-comm-thumb:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.hn-comm-prog { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--c-accent); transform-origin: left; scale: 0 1; }
.hn-comm-thumb.is-run .hn-comm-prog { animation: hn-comm-prog 5.2s linear both; }
@keyframes hn-comm-prog { from { scale: 0 1; } to { scale: 1 1; } }

/* Форма: прежняя разметка, своя подложка вместо красной */
.hn-comm-form { border-radius: 26px; background: color-mix(in srgb, var(--c-raised) 70%, transparent); border: 1px solid var(--c-stroke-s);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.hn-comm-form .comm-form-wrap { background: transparent; max-width: none; padding: 26px 30px 28px; }
.hn-comm-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--c-stroke-s); background: var(--c-base); color: var(--c-text-2); cursor: pointer; transition: color .2s, border-color .2s, transform .2s; }
.hn-comm-close:hover { color: var(--c-text); border-color: var(--c-accent-m); transform: rotate(90deg); }

@media (max-width: 1024px) {
  .hn-comm-grid { grid-template-columns: 1fr; }
  .hn-comm-info { position: static; }
}
@media (max-width: 767px) {
  .hn-comm-main, .hn-comm-stage, .hn-comm-form { border-radius: 20px; }
  .hn-comm-main { aspect-ratio: 4 / 3; }
  .hn-comm-meta { left: 18px; right: 18px; bottom: 16px; }
  .hn-comm-thumb { flex: 0 0 96px; }
  .hn-comm-form .comm-form-wrap { padding: 22px 18px 22px; }
  .hn-comm-cta .hn-pill { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .hn-comm-img, .hn-comm-show, .hn-comm-form, .hn-comm-stage { transition: none; }
  .hn-comm-name.is-in { animation: none; }
}

/* Кнопки «Тестирования» — те же пилюли, что в «Как рождается модель» */
.hn-tst .htst-actions { gap: 12px; }
@media (max-width: 767px) { .hn-tst .htst-actions .hn-pill { flex: 1 1 auto; } }

/* 3b. «Тестирование»: заголовок, команда, текст, цифры и кнопки — одной
   колонкой по центру высоты тизера (на широком экране секция «съезжала»:
   короткий текст прижат к верху, высокая карточка — ниже заголовка) */
.hn-tst .htst-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.hn-tst .htst-main .section-go-head { margin-bottom: 18px; }
.hn-tst .htst-main .hn-crew { margin: 0 0 22px; }
.hn-tst .htst-lead { font-size: 16px; max-width: 48ch; }
@media (max-width: 767px) { .hn-tst .htst-grid { grid-template-columns: 1fr; } }

/* ═══ 6b. «Новое в каталоге» под флагманами ═══
   Лента свежих моделей: обложка 4:3 с бейджами, название, доступ; в конце —
   «48 моделей — весь каталог». Стрелки, свайп, края растворяются */
.hn-new { margin-top: 34px; }
.hn-new-head { margin-bottom: 14px; }
.hn-new-title { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.01em; color: var(--c-text); }
.hn-new-nav { display: flex; gap: 8px; }
.hn-new-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--c-stroke-s); background: var(--c-raised); color: var(--c-text); transition: background .2s, border-color .2s, opacity .2s, transform .2s; }
.hn-new-btn:hover:not(:disabled) { background: var(--c-accent); border-color: var(--c-accent); color: #fff; transform: scale(1.06); }
.hn-new-btn:disabled { opacity: .3; cursor: default; }
.hn-new-rail {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
  padding: 4px 2px 10px; margin: -4px -2px 0;
  -webkit-mask: linear-gradient(90deg, transparent 0, #000 var(--fl, 0px), #000 calc(100% - var(--fr, 40px)), transparent 100%);
          mask: linear-gradient(90deg, transparent 0, #000 var(--fl, 0px), #000 calc(100% - var(--fr, 40px)), transparent 100%);
}
.hn-new-rail::-webkit-scrollbar { display: none; }
.hn-new-card {
  /* min-width: 0 — иначе длинное однострочное название распирает карточку */
  flex: 0 0 clamp(250px, 22.5vw, 330px); min-width: 0; scroll-snap-align: start; display: flex; flex-direction: column; gap: 8px;
  color: var(--c-text); text-decoration: none;
}
.hn-new-card:hover { text-decoration: none; }
.hn-new-img { position: relative; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: var(--c-raised); border: 1px solid var(--c-stroke-s);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, border-color .3s; }
.hn-new-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.hn-new-card:hover .hn-new-img { transform: translateY(-3px); border-color: var(--c-accent-m); box-shadow: var(--shadow-md); }
.hn-new-card:hover .hn-new-img img { transform: scale(1.05); }
.hn-new-card:focus-visible .hn-new-img { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.hn-new-tags { position: absolute; top: 10px; left: 10px; display: flex; gap: 5px; flex-wrap: wrap; --badge-fs: 10px; --badge-py: 3px; --badge-px: 8px; }
.hn-new-name { display: block; max-width: 100%; font-size: 15px; font-weight: 700; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hn-new-acc { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--c-text-2); min-height: 18px; }
.hn-new-acc b { color: var(--c-text); font-weight: 800; font-variant-numeric: tabular-nums; }
/* Последняя — «весь каталог»: устроена как карточка модели (блок 4:3 + подпись) */
.hn-new-all-box { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px; padding: 22px 24px;
  background: var(--c-accent-s); border-color: var(--c-accent-m); }
.hn-new-all:hover .hn-new-all-box { background: var(--c-accent-m); }
.hn-new-all-num { font-family: var(--f-mono); font-weight: 700; font-size: 56px; line-height: 1; color: var(--c-accent); font-variant-numeric: tabular-nums; }
.hn-new-all-go { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--c-accent); color: #fff;
  transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.hn-new-all:hover .hn-new-all-go { transform: translateX(4px); }

/* Стрелки — на краях ленты, по центру картинок; видны при наведении на
   ленту, на краю гаснут (раньше занимали отдельную строку) */
.hn-new-wrap { position: relative; --cw: clamp(250px, 22.5vw, 330px); }
.hn-new-wrap .hn-new-card { flex-basis: var(--cw); }
.hn-new-wrap .hn-new-nav { position: absolute; inset: 0; z-index: 3; pointer-events: none; display: block; }
.hn-new-wrap .hn-new-btn {
  position: absolute; top: calc(4px + var(--cw) * .375); translate: 0 -50%; pointer-events: auto;
  width: 46px; height: 46px; color: #fff; border-color: rgba(255,255,255,.16);
  background: rgba(12,12,15,.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; transition: opacity .25s, background .2s, border-color .2s, transform .2s;
}
.hn-new-btn--prev { left: 10px; }
.hn-new-btn--next { right: 10px; }
.hn-new-wrap:hover .hn-new-btn:not(:disabled), .hn-new-wrap .hn-new-btn:focus-visible { opacity: 1; }
.hn-new-wrap .hn-new-btn:disabled { opacity: 0 !important; pointer-events: none; }
.hn-new-wrap .hn-new-btn:hover:not(:disabled) { background: var(--c-accent); border-color: var(--c-accent); transform: scale(1.06); }

/* Появление — по очереди за флагманами */
.hn-js .hn-reveal .hn-new-card { opacity: 0; translate: 0 14px; }
.hn-js .hn-reveal.is-in .hn-new-card { animation: hn-rise .55s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(.45s + var(--i, 10) * 50ms); }
@media (max-width: 767px) {
  .hn-new-nav, .hn-new-wrap .hn-new-nav { display: none; }
  .hn-new-wrap .hn-new-card { flex-basis: 74vw; min-width: 0; }
  .hn-new-rail { margin: 0 calc(-1 * var(--page-pad)); padding: 4px var(--page-pad) 10px; scroll-padding: 0 var(--page-pad); -webkit-mask: none; mask: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hn-js .hn-reveal .hn-new-card { opacity: 1 !important; translate: none !important; animation: none !important; }
  .hn-new-rail { scroll-behavior: auto; }
}

/* 6c. Мелкие боковые флагманы: раскрытая «Смотреть» закрывала название —
   на ховере название уезжает влево и гаснет (на широкой и главной места хватает) */
.hn-fl .flagship-side-card:not(.hn-fl-card--wide) .hn-fl-info { transition: translate .4s cubic-bezier(.2,.8,.2,1), opacity .3s ease; }
.hn-fl .flagship-side-card:not(.hn-fl-card--wide):hover .hn-fl-info,
.hn-fl .flagship-side-card:not(.hn-fl-card--wide):focus-visible .hn-fl-info { translate: -28px 0; opacity: 0; }
@media (hover: none) { .hn-fl .flagship-side-card .hn-fl-info { translate: none !important; opacity: 1 !important; } }
/* Во время первого прогона ховер не подсвечивает чужие карточки — внимание на активном этапе */
.hn-seq:not(.hn-seq-done) .hn-step:not(.is-active):hover .hn-step-glow { scale: .35; opacity: 0; }

/* ══ Дневник мастерской (блог, 2026-10-09) ══════════════════════════════
   Гибрид владельца: «письмо» (последний пост от первого лица) + лента
   событий мастерской. Письмо — голос автора: аватар, абзац, подпись;
   лента — тонкая линия времени с точками по типу события */
.hn-diary-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 28px; align-items: stretch; }
.hn-diary-grid--solo { grid-template-columns: minmax(0, 1fr); max-width: 760px; }

.hn-letter {
  position: relative; display: flex; flex-direction: column; overflow: hidden; min-width: 0;
  border-radius: var(--r-2xl); background: var(--c-base); border: 1px solid var(--c-stroke);
  color: var(--c-text); text-decoration: none;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .25s, box-shadow .35s;
}
.hn-letter:hover { text-decoration: none; transform: translateY(-3px); border-color: var(--c-accent-m); box-shadow: var(--shadow-md); }
.hn-letter-cover {
  height: 190px; flex: none; background: var(--c-raised) center/cover no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
          mask-image: linear-gradient(to bottom, #000 55%, transparent);
}
.hn-letter-body { position: relative; flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 26px 28px 24px; }
.hn-letter-cover + .hn-letter-body { margin-top: -30px; }
/* Кавычка-водяной знак — письмо, а не карточка новости */
.hn-letter-body::before {
  content: "\201C"; position: absolute; right: 22px; top: 2px; pointer-events: none;
  font: 800 120px/1 var(--f-ui); color: var(--c-accent); opacity: .14;
}
.hn-letter-from { display: flex; align-items: center; gap: 12px; }
.hn-letter-ava { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none;
                 box-shadow: 0 0 0 2px var(--c-base), 0 0 0 4px var(--c-accent-m); }
.hn-letter-from span { display: flex; flex-direction: column; line-height: 1.25; }
.hn-letter-from b { font-size: 15px; font-weight: 700; }
.hn-letter-from small { font-size: 12px; color: var(--c-muted); }
.hn-letter-title { margin: 4px 0 0; font: 700 clamp(22px, 2.2vw, 28px)/1.2 var(--f-ui); letter-spacing: -.01em; }
.hn-letter-text { margin: 0; font-size: 16px; line-height: 1.65; color: var(--c-text-2);
                  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.hn-letter-foot { margin-top: auto; padding-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hn-letter-sign { font: italic 600 18px var(--f-ui); color: var(--c-text); }
.hn-letter:hover .hn-letter-foot .btn { border-color: var(--c-accent-m); color: var(--c-accent); }

.hn-feed { display: flex; flex-direction: column; min-width: 0; padding-top: 4px; }
.hn-feed-cap { font: 600 11px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); margin: 0 0 10px 32px; }
.hn-feed-list { position: relative; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; flex: 1; justify-content: space-between; }
/* линия времени */
.hn-feed-list::before { content: ""; position: absolute; left: 7px; top: 18px; bottom: 18px; width: 2px; border-radius: 2px; background: var(--c-stroke); }
.hn-ev-link {
  position: relative; display: grid; grid-template-columns: 16px 56px 48px minmax(0, 1fr); align-items: center; gap: 14px;
  min-height: 60px; padding: 8px 10px 8px 0; border-radius: var(--r-lg); color: var(--c-text); text-decoration: none;
  transition: background .2s;
}
.hn-ev-link:hover { text-decoration: none; background: var(--c-base); }
.hn-ev-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--c-bg); border: 3px solid var(--ev, var(--c-muted)); box-sizing: border-box; transition: scale .25s; }
.hn-ev-link:hover .hn-ev-dot { scale: 1.25; }
.hn-ev--release .hn-ev-dot { background: var(--c-accent); border-color: var(--c-accent); box-shadow: 0 0 0 4px var(--c-accent-s); }
.hn-ev--mod     { --ev: var(--c-info); }
.hn-ev--store   { --ev: var(--c-accent); }
.hn-ev--test    { --ev: var(--c-warn); }
.hn-ev--make    { --ev: var(--c-ok); }
.hn-ev--manual  { --ev: var(--c-text-2); }
.hn-ev--post    { --ev: var(--c-text); }
.hn-ev-date { font: 600 12px var(--f-mono); color: var(--c-muted); white-space: nowrap; }
.hn-ev-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hn-ev-kind { display: flex; align-items: center; gap: 6px; font: 600 11px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--c-muted); }
.hn-ev-title { font-size: 15px; font-weight: 600; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hn-ev-thumb { width: 48px; height: 48px; border-radius: var(--r-md); background: var(--c-raised) center/cover no-repeat; border: 1px solid var(--c-stroke); }
.hn-ev-thumb--ico { display: grid; place-items: center; color: var(--c-muted); }

/* появление: письмо вместе с секцией, события — лесенкой сверху вниз */
.hn-js .hn-reveal .hn-ev { opacity: 0; translate: -10px 0; }
.hn-js .hn-reveal.is-in .hn-ev { opacity: 1; translate: 0 0;
  transition: opacity .5s, translate .5s cubic-bezier(.2,.8,.2,1); transition-delay: calc(.25s + var(--i) * 70ms); }

@media (max-width: 900px) {
  .hn-diary-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .hn-letter-cover { height: 150px; }
  .hn-letter-body { padding: 22px 20px 20px; }
  .hn-letter-text { -webkit-line-clamp: 4; font-size: 15px; }
  .hn-ev-link { grid-template-columns: 16px 46px 44px minmax(0, 1fr); gap: 10px; }
  .hn-ev-thumb { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .hn-js .hn-reveal .hn-ev { opacity: 1; translate: none; transition: none; }
  .hn-letter, .hn-letter:hover { transform: none; transition: none; }
}

.hn-ev-date-m { display: none; }

/* ══ Узкий телефон (360–420, Galaxy S25 и т.п.) — ревью 2026-10-09 ═════════ */
@media (max-width: 480px) {
  /* Дневник: дата — в строку типа, колонка даты уходит; названию — две строки */
  .hn-ev-link { grid-template-columns: 16px 44px minmax(0, 1fr); gap: 12px; }
  .hn-ev-date { display: none; }
  .hn-ev-date-m { display: inline; }
  .hn-ev-kind { flex-wrap: wrap; row-gap: 2px; }
  .hn-ev-title { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .hn-feed-cap { margin-left: 28px; }
}
@media (max-width: 420px) {
  /* Spooly: четыре плитки в ряд не влезали — подписи ломались по слогам */
  .spooly-card-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ══ «Проверяем перед релизом»: идущие тесты — стопкой, как на /testers ══
   (tst-deck.css). На главной карточка меньше — колонка в половину ширины:
   шрифты и отступы ужаты, стопка садится в колонку */
.hn-tst-deck .tst-deck-stage { width: calc(100% - 40px); margin: 44px 0 0; aspect-ratio: 16 / 11; }
.hn-tst-deck .tst-card-title { font-size: clamp(24px, 2.6vw, 38px); }
.hn-tst-deck .tst-card-body { padding: clamp(18px, 2.2vw, 28px); gap: 10px; }
.hn-tst-deck .tst-timer { font-size: clamp(18px, 1.9vw, 24px); }
.hn-tst-deck .tst-nav { width: 44px; height: 44px; }
.hn-tst-deck .tst-nav--prev { left: -22px; }
.hn-tst-deck .tst-nav--next { right: -22px; }
.hn-js .hn-tst .hn-tst-deck { opacity: 0; translate: 0 18px; }
.hn-js .hn-tst.is-in .hn-tst-deck { opacity: 1; translate: none; transition: opacity .7s cubic-bezier(.2,.8,.2,1) .2s, translate .7s cubic-bezier(.2,.8,.2,1) .2s; }
@media (max-width: 767px) {
  .hn-tst-deck .tst-deck-stage { width: calc(100% - 26px); aspect-ratio: 3 / 4; margin-top: 36px; }
  .hn-tst-deck .tst-card-title { font-size: clamp(22px, 7.2vw, 30px); }
}
@media (prefers-reduced-motion: reduce) {
  .hn-js .hn-tst .hn-tst-deck { opacity: 1; translate: none; }
}

