/* ============================================================
   gaaba. Одна комната, пять светов.
   Тема одна на всё приложение: светлая днём, тёмная по системе.
   Цвет состояния приходит из JS в переменной --ink.
   ============================================================ */

:root {
  --paper: #f2f0ec;
  --paper-deep: #e7e4de;
  --ink-text: #191a1c;
  --ink-dim: #6c6f74;
  --ink-faint: #a4a6aa;
  --line: rgba(25, 26, 28, .12);
  --ink: #55606b;                 /* перекрывается состоянием */
  --radius: 14px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --slow: .9s var(--ease);
  --grain: .045;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #121316;
    --paper-deep: #0c0d0f;
    --ink-text: #eceae6;
    --ink-dim: #93969b;
    --ink-faint: #5d6065;
    --line: rgba(236, 234, 230, .14);
    --grain: .07;
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--paper);
  color: var(--ink-text);
  font-family: 'Onest', system-ui, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100dvh;
  overflow-x: hidden;
  transition: background .8s var(--ease), color .8s var(--ease);
}

/* Свет комнаты и зерно лежат под интерфейсом и не ловят клики. */
#light, #water {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
#water { display: block; }
#water[hidden], #light[hidden] { display: none; }

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: var(--grain);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

.app {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
  display: grid;
}

/* --- сцены ---------------------------------------------------- */

.scene {
  grid-area: 1 / 1;
  min-height: 100dvh;
  padding: clamp(22px, 5vw, 60px);
  padding-bottom: clamp(30px, 6vh, 70px);
  display: flex;
  flex-direction: column;
  animation: sceneIn .7s var(--ease) both;
}
.scene[hidden] { display: none; }

@keyframes sceneIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* --- порог ---------------------------------------------------- */

.mark {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: clamp(24px, 5vh, 64px);
}
.mark__name {
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -.01em;
}
.mark__ru {
  font-size: 13px;
  color: var(--ink-faint);
}
/* Ролик входа можно пересмотреть в любой момент — но он не должен
   спорить с состояниями за внимание, поэтому висит в углу тише всего. */
.mark__how {
  margin-left: auto;
  padding: 6px 0;
  border: 0;
  background: none;
  color: var(--ink-faint);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  transition: color .3s;
}
.mark__how:hover { color: var(--ink-text); }

.lede { max-width: 19ch; }
.lede h1 {
  margin: 0 0 12px;
  font-weight: 500;
  font-size: clamp(1.85rem, 6.6vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -.03em;
  max-width: 13ch;
}
.lede p {
  margin: 0;
  max-width: 33ch;
  color: var(--ink-dim);
  font-size: clamp(.9rem, 3.4vw, 1.02rem);
  line-height: 1.45;
}

/* Состояния — строки, а не коробки: имя, тонкая линия, свет слева.
   Список занимает всю оставшуюся высоту: пять строк — это и есть
   содержимое порога, а не блок, висящий под заголовком. */
.states {
  margin: clamp(18px, 3.5vh, 44px) 0 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.state {
  position: relative;
  display: grid;
  grid-template-columns: 3px minmax(0, 1fr);
  align-items: center;
  gap: 0 16px;
  flex: 1;
  min-height: 62px;
  max-height: 132px;
  padding: clamp(12px, 1.9vh, 20px) 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: color .4s;
}
.states .state:last-child { border-bottom: 1px solid var(--line); }

/* Сдвиг строки — трансформом: анимировать padding значит гонять
   пересчёт раскладки на каждый кадр. */
.state__body {
  display: block;
  min-width: 0;
  transition: transform .5s var(--ease);
}
.state:hover .state__body,
.state:focus-visible .state__body,
.state.is-lit .state__body { transform: translateX(14px); }

.state:hover, .state:focus-visible { outline: none; }
.state:active { transform: scale(.995); }

/* Свет состояния. Точки в 7px не хватало: на телефоне, где наведения нет,
   пять цветов читались как пять серых крапин. Теперь это штрих во всю
   строку — цвет видно до всякого касания, а отклик добавляет ему рост. */
.state__mark {
  width: 3px;
  height: 42%;
  min-height: 20px;
  border-radius: 3px;
  background: var(--tint);
  opacity: .62;
  transform-origin: 50% 50%;
  transition: opacity .45s, transform .55s var(--ease);
}
.state:hover .state__mark,
.state:focus-visible .state__mark,
.state.is-lit .state__mark { opacity: 1; transform: scaleY(2.2); }

.state__name {
  display: block;
  font-weight: 500;
  font-size: clamp(1.25rem, 5vw, 1.75rem);
  letter-spacing: -.025em;
  line-height: 1.15;
}
.state__line {
  display: block;
  margin-top: 3px;
  color: var(--ink-dim);
  font-size: clamp(.85rem, 3.4vw, .95rem);
}

.memory {
  margin: auto 0 0;
  padding-top: clamp(16px, 3.5vh, 40px);
  color: var(--ink-dim);
  font-size: 13px;
  line-height: 1.6;
  max-width: 44ch;
}
.memory p { margin: 0; }
.memory b { font-weight: 500; color: var(--ink-dim); }
.forget {
  margin-top: 6px;
  border: 0;
  background: none;
  color: var(--ink-faint);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 4px 0;
}
.forget[hidden] { display: none; }
.forget:hover { color: var(--ink-text); }

/* --- протокол ------------------------------------------------- */

.back {
  align-self: flex-start;
  margin-bottom: clamp(24px, 6vh, 56px);
  padding: 8px 0;
  border: 0;
  background: none;
  color: var(--ink-faint);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: color .3s;
}
.back:hover { color: var(--ink-text); }

.proto {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 40ch;
}

.proto__state {
  margin: 0 0 clamp(18px, 4vh, 34px);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--ink-dim);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.step { animation: sceneIn .6s var(--ease) both; }
.step[hidden] { display: none; }

.step__title {
  margin: 0 0 12px;
  font-weight: 500;
  font-size: clamp(1.7rem, 6.4vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -.03em;
}
.step__text {
  margin: 0 0 clamp(24px, 5vh, 40px);
  color: var(--ink-dim);
  font-size: clamp(1rem, 3.8vw, 1.1rem);
  line-height: 1.5;
}

/* --- дыхание -------------------------------------------------- */

/* Шаг дыхания собран по центру: заголовок слева, а круг по центру
   разваливал экран ровно там, где нужно успокоиться. */
#step2 { text-align: center; }
#step2 .btn { align-self: center; }

.breath {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  margin: clamp(10px, 3vh, 26px) 0 clamp(26px, 5vh, 44px);
}

.breath__ring {
  position: relative;
  width: min(62vw, 248px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transform: scale(.72);
  /* дыхание не линейно: синус ближе к тому, как работают лёгкие */
  transition: transform var(--breath-ms, 4000ms) cubic-bezier(.37, 0, .63, 1);
}
/* Свечение отдельным слоем: тень на элементе, который масштабируется,
   браузер перерисовывает каждый кадр и оставляет квадратную заплатку. */
.breath__ring::after {
  content: "";
  position: absolute;
  inset: -12%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--tint) 0%, transparent 62%);
  opacity: .16;
  filter: blur(16px);
  transition: opacity 1.2s var(--ease);
}
.breath__ring[data-phase="in"]   { transform: scale(1); }
.breath__ring[data-phase="hold"] { transform: scale(1); }
.breath__ring[data-phase="out"]  { transform: scale(.72); }
.breath__ring[data-phase="in"]::after   { opacity: .26; }

/* Задержка не должна выглядеть зависшим экраном: свет чуть ходит. */
.breath__ring[data-phase="hold"]::after { animation: hold 3.4s ease-in-out infinite; }
@keyframes hold {
  0%, 100% { opacity: .18; }
  50%      { opacity: .32; }
}

/* Дуга: показывает, сколько осталось до смены фазы. */
.breath__arc {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  overflow: visible;
}
.breath__arc-bg {
  fill: none;
  stroke: var(--tint);
  stroke-width: 1;
  opacity: .22;
}
.breath__arc-run {
  fill: none;
  stroke: var(--tint);
  stroke-width: 1.8;
  stroke-linecap: round;
  opacity: .9;
}

.breath__label {
  display: grid;
  justify-items: center;
  gap: 2px;
}
.breath__phase {
  font-size: 14px;
  color: var(--ink-dim);
  letter-spacing: .02em;
}
.breath__sec {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 30px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  color: var(--ink-text);
  opacity: .82;
}
.breath__count {
  margin: 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--ink-faint);
}
.breath__note {
  margin: -8px 0 0;
  max-width: 30ch;
  text-align: center;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink-faint);
}
.breath__note:empty { display: none; }

/* --- тело ------------------------------------------------------ */

/* Шаг тела собран по центру, как дыхание: в момент, когда человек
   что-то делает руками, левый край экрана ему не нужен. */
#stepBody { text-align: center; }
#stepBody .step__text { margin-bottom: clamp(14px, 3vh, 24px); }

.bodyx {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(20px, 4vh, 34px);
}

.bodyx__stage {
  position: relative;
  width: min(52vw, 210px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: visible;
  /* место под кругом держим всегда: на шагах со взглядом туда уезжает
     счёт секунд, и без запаса вёрстка прыгала бы от действия к действию */
  margin-bottom: 52px;
}
/* Свечение отдельным слоем — как у дыхания, по той же причине. */
.bodyx__stage::after {
  content: "";
  position: absolute;
  inset: -10%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--tint) 0%, transparent 62%);
  opacity: .14;
  filter: blur(16px);
  transition: opacity .5s var(--ease);
}
/* Свет отвечает на то, что делает тело: держишь — ярче, отпустил — гаснет. */
.bodyx__stage[data-cue="hold"]::after { opacity: .3; }
.bodyx__stage[data-cue="let"]::after  { opacity: .07; }
.bodyx__stage[data-cue="hum"]::after  { opacity: .26; }
.bodyx__stage[data-cue="in"]::after   { opacity: .1; }
.bodyx__stage[data-cue="rub"]::after  { animation: rubGlow 2.2s ease-in-out infinite; }
@keyframes rubGlow {
  0%, 100% { opacity: .12; }
  50%      { opacity: .24; }
}

.bodyx__arc {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  overflow: visible;
}
.bodyx__arc-bg {
  fill: none;
  stroke: var(--tint);
  stroke-width: 1;
  opacity: .2;
}
.bodyx__arc-run {
  fill: none;
  stroke: var(--tint);
  stroke-width: 1.8;
  stroke-linecap: round;
  opacity: .85;
}

/* Метка для глаз. Живёт только там, где взглядом действительно ведут. */
.bodyx__dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--dot, 20px);
  height: var(--dot, 20px);
  border-radius: 50%;
  background: var(--tint);
  opacity: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.bodyx__stage[data-kind="narrow"] { --dot: 58px; }
.bodyx__stage[data-kind="sweep"]  { --dot: 18px; }
.bodyx__stage[data-kind="narrow"] .bodyx__dot,
.bodyx__stage[data-kind="sweep"] .bodyx__dot { opacity: .85; }

/* Края круга: включаются, когда взгляд нужно развернуть на всё поле.
   Держатся вплотную к кольцу — отодвинутые, они налезали на текст
   и читались как подчёркивание в описании. */
.bodyx__edges { position: absolute; inset: -3%; opacity: 0; transition: opacity .6s var(--ease); }
.bodyx__edges i {
  position: absolute;
  background: var(--tint);
  border-radius: 2px;
  opacity: .5;
  animation: edgeBreath 4.6s ease-in-out infinite;
}
.bodyx__edges i:nth-child(1) { left: 50%; top: 0; width: 34px; height: 2.5px; margin-left: -17px; }
.bodyx__edges i:nth-child(2) { left: 50%; bottom: 0; width: 34px; height: 2.5px; margin-left: -17px; animation-delay: 1.1s; }
.bodyx__edges i:nth-child(3) { top: 50%; left: 0; width: 2.5px; height: 34px; margin-top: -17px; animation-delay: 2.3s; }
.bodyx__edges i:nth-child(4) { top: 50%; right: 0; width: 2.5px; height: 34px; margin-top: -17px; animation-delay: 3.4s; }
.bodyx__stage[data-kind="wide"] .bodyx__edges { opacity: 1; }
.bodyx__stage[data-kind="wide"] .bodyx__arc-run { opacity: .3; }
@keyframes edgeBreath {
  0%, 100% { opacity: .45; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.4); }
}

/* --- пульс действия ---------------------------------------------
   Здесь раньше жила нарисованная фигура: человек по грудь, кисти,
   лицо, голова сверху. Десять картинок, каждая со своим ракурсом, —
   рядом с дышащим кольцом и водой они читались как клипарт, а объяснял
   действие всё равно текст. Фигуры убраны.

   Осталось одно тело из того же материала, что и вся комната: круг,
   обод, скобки хвата, волна. Оно не изображает руки — оно держит ритм.
   Сжатие берут разом (--grip), отпускают заметно дольше (--release):
   в этой разнице и есть смысл всех этих упражнений.

   Все слои лежат в разметке всегда, лишние погашены по data-pulse.
   Между действиями ничего не перерисовывается — только гаснет одно
   и проступает другое. */

.bodyx__pulse {
  position: absolute;
  inset: 6%;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s var(--ease);

  --grip: 340ms;
  --release: 900ms;
  --e-grip: cubic-bezier(.3, 0, 0, 1);
  --e-out: cubic-bezier(.16, 1, .3, 1);
  /* Отдача: отпущенное всегда чуть перелетает исходный размер —
     расслабленное шире собранного. */
  --e-back: cubic-bezier(.34, 1.26, .64, 1);
  /* Насколько скобки съезжают к центру. Меняется по команде,
     transform сам интерполирует новое значение. */
  --push: 0px;
}
.bodyx__stage[data-pulse]:not([data-pulse=""]) .bodyx__pulse { opacity: 1; }
.bodyx__pulse svg { width: 100%; height: 100%; overflow: visible; }
.bodyx__pulse :is(g, circle, line, path) {
  transform-box: view-box;
  transform-origin: 50% 50%;
}
.bodyx__pulse :is(circle, line, path) {
  fill: none;
  stroke: var(--tint);
  stroke-linecap: round;
}

/* Ядро — то, что сейчас происходит с телом. Заливка, а не контур:
   усилие имеет вес. Селектор с родителем — иначе общий fill: none
   для всей графики перебивает заливку и ядро выходит кольцом. */
.bodyx__pulse .p-core {
  fill: var(--tint);
  stroke: none;
  opacity: 0;
  transition: transform var(--release) var(--e-back), opacity var(--release) var(--ease);
}
/* Обод — граница усилия: на сжатии садится на ядро, на сбросе отходит. */
.p-halo {
  stroke-width: 1.6;
  opacity: 0;
  transition: transform var(--release) var(--e-out), opacity .5s var(--ease);
}
/* Скобки хвата. Четыре одинаковых дуги, каждая знает своё направление
   к центру, поэтому сходятся они ровно и одной величиной. */
.p-jaw {
  stroke-width: 4.4;
  opacity: 0;
  transform: translate(calc(var(--ux) * var(--push)), calc(var(--uy) * var(--push)));
  transition: transform var(--release) var(--e-out), opacity .45s var(--ease);
}
/* Внешнее кольцо — рост. Приходит только туда, где действие
   про длину: тело выпрямилось, и вокруг него стало больше места. */
.p-rise {
  stroke-width: 1.2;
  opacity: 0;
  transform: scale(.72);
  transition: transform 1s var(--e-out) 140ms, opacity .7s var(--ease) 140ms;
}
.p-orbit { opacity: 0; transition: opacity .5s var(--ease); }
.p-orb { stroke-width: 5.2; }
.p-wave { stroke-width: 1.4; opacity: 0; }
.p-burst { stroke-width: 2.2; opacity: 0; }

/* --- держать позу: вытянуться -----------------------------------
   Исходное состояние ниже и меньше, рабочее — выше и в полный размер:
   иначе «сядь прямо» и «сидишь» выглядят одинаково. */
[data-pulse="hold"] .p-core { opacity: .2; }
[data-pulse="hold"] .p-halo { opacity: .3; }
/* Сутулость без спины: тело осело вниз и сплющилось по вертикали.
   Распрямляясь, оно поднимается и становится ровным кругом. */
[data-pulse="hold"] .p-all {
  transform: translateY(9px) scale(.88) scaleY(.9);
  transition: transform 900ms var(--e-out);
}
[data-pulse="hold"][data-cue="hold"] .p-all  { transform: none; }
[data-pulse="hold"][data-cue="hold"] .p-core { opacity: .26; }
[data-pulse="hold"][data-cue="hold"] .p-halo { opacity: .55; }
[data-pulse="hold"][data-cue="hold"] .p-rise { opacity: .3; transform: none; }
/* В позе не замирают: четырнадцать секунд неподвижного круга —
   это зависший экран. Дыхание входит после того, как подъём закончен. */
[data-pulse="hold"][data-cue="hold"] .p-halo { animation: pulseBreathe 5.4s ease-in-out 1.1s infinite; }
@keyframes pulseBreathe {
  0%, 100% { transform: scale(1); }
  38%      { transform: scale(1.055); }
  70%      { transform: scale(1.012); }
}

/* --- хват: сжать и отпустить ------------------------------------
   Скобки наезжают, ядро уплотняется и темнеет, обод садится следом.
   На «отпусти» всё расходится, и наружу уходит волна — то же кольцо,
   которым вода отвечает на палец. */
[data-pulse="grip"] .p-core, [data-pulse="face"] .p-core { opacity: .18; }
[data-pulse="grip"] .p-halo, [data-pulse="face"] .p-halo { opacity: .32; }
[data-pulse="grip"] .p-jaw,  [data-pulse="face"] .p-jaw  { opacity: .55; }

[data-pulse="grip"][data-cue="hold"] .bodyx__pulse,
[data-pulse="face"][data-cue="hold"] .bodyx__pulse { --push: 10px; }
[data-pulse="face"][data-cue="hold"] .bodyx__pulse { --push: 13px; }

:is([data-pulse="grip"], [data-pulse="face"])[data-cue="hold"] :is(.p-core, .p-halo, .p-jaw) {
  transition-duration: var(--grip);
  transition-timing-function: var(--e-grip);
}
:is([data-pulse="grip"], [data-pulse="face"])[data-cue="hold"] .p-core { transform: scale(.7); opacity: .5; }
:is([data-pulse="grip"], [data-pulse="face"])[data-cue="hold"] .p-halo { transform: scale(.74); opacity: .75; }
:is([data-pulse="grip"], [data-pulse="face"])[data-cue="hold"] .p-jaw  { opacity: .95; }
/* Рожу стягивают туже, чем кулаки, — там работает мелкая мышца. */
[data-pulse="face"][data-cue="hold"] .p-core { transform: scale(.56); }
[data-pulse="face"][data-cue="hold"] .p-halo { transform: scale(.62); }

/* --- плечи: поднять и уронить -----------------------------------
   Падение со своей кривой и коротким осадком: плечи роняют,
   а не опускают. */
[data-pulse="shrug"] .p-core { opacity: .2; }
[data-pulse="shrug"] .p-halo { opacity: .35; }
[data-pulse="shrug"] .p-all  { transition: transform var(--grip) var(--e-grip); }
[data-pulse="shrug"][data-cue="hold"] .p-all  { transform: translateY(-14px); }
[data-pulse="shrug"][data-cue="hold"] .p-halo { transform: scale(.88); opacity: .7; }
[data-pulse="shrug"][data-cue="let"] .p-all   { animation: pulseDrop 640ms cubic-bezier(.5, 0, .9, .4) both; }
@keyframes pulseDrop {
  0%   { transform: translateY(-14px); }
  58%  { transform: translateY(3px); }
  80%  { transform: translateY(-1px); }
  100% { transform: none; }
}

/* Волна сброса. Только там, где было что сбрасывать. */
:is([data-pulse="grip"], [data-pulse="face"], [data-pulse="shrug"])[data-cue="let"] .p-burst {
  animation: pulseBurst 980ms cubic-bezier(.2, .7, .3, 1) both;
}
@keyframes pulseBurst {
  0%   { opacity: 0;   transform: scale(.7); }
  16%  { opacity: .55; }
  100% { opacity: 0;   transform: scale(2.25); }
}

/* --- растирать: движение по кругу -------------------------------
   Непрерывное действие — значит цикл, а не команда. Обод работает
   дорожкой, по которой идут две точки. */
[data-pulse="rub"] .p-core  { opacity: .16; }
/* Обод работает дорожкой, по которой идут точки, поэтому он ровно
   на их радиусе и заметно тише их. */
[data-pulse="rub"] .p-halo  { opacity: .18; transform: scale(1.19); }
[data-pulse="rub"] .p-orbit { opacity: .9; animation: pulseOrbit 3.6s linear infinite; }
[data-pulse="rub"] .p-orb   { animation: pulseOrbDim 3.6s ease-in-out infinite; }
[data-pulse="rub"] .p-orb:last-of-type { animation-delay: -1.8s; }
@keyframes pulseOrbit { to { transform: rotate(360deg); } }
/* Точки то нажимают, то отпускают — растирают, а не катятся. */
@keyframes pulseOrbDim {
  0%, 100% { opacity: .35; }
  50%      { opacity: 1; }
}

/* --- мычание: круги от звука ------------------------------------
   Те же круги, что вода роняет от пальца. На тяге они уходят один
   за другим, на вдохе гаснут и ядро набирает. */
[data-pulse="hum"] .p-core { opacity: .22; }
[data-pulse="hum"] .p-halo { opacity: .2; }
[data-pulse="hum"][data-cue="hum"] .p-wave { animation: pulseOut 2.6s ease-out var(--d, 0s) infinite; }
[data-pulse="hum"][data-cue="hum"] .p-core {
  transform: scale(.94);
  opacity: .3;
  transition-duration: var(--pull, 5s);
  transition-timing-function: linear;
}
[data-pulse="hum"][data-cue="in"] .p-core {
  transform: scale(1.12);
  transition-duration: 1.4s;
  transition-timing-function: var(--e-out);
}
@keyframes pulseOut {
  0%   { opacity: 0;   transform: scale(.7); }
  18%  { opacity: .5; }
  100% { opacity: 0;   transform: scale(2.4); }
}

/* --- поворот: маятник -------------------------------------------
   Длительность приходит из шага, чтобы ядро доводило ход ровно
   к смене стороны. Обод идёт следом с задержкой — след движения. */
[data-pulse="turn"] .p-core { opacity: .22; }
[data-pulse="turn"] .p-halo { opacity: .22; }
[data-pulse="turn"] .p-halo { opacity: .3; }
[data-pulse="turn"] :is(.p-core, .p-halo) {
  transition: transform var(--half, 6s) cubic-bezier(.45, 0, .25, 1), opacity .5s var(--ease);
}
/* Обод остаётся на месте — он и есть то, относительно чего поворот
   виден; уезжай он вместе с ядром, картинка просто съезжала бы вбок.
   Ядро на ходу сжимается поперёк: так же уходит из фаса живое лицо. */
[data-pulse="turn"][data-cue="left"]  .p-core { transform: translateX(-21px) scaleX(.78); }
[data-pulse="turn"][data-cue="right"] .p-core { transform: translateX(21px) scaleX(.78); }
[data-pulse="turn"][data-cue="left"]  .p-halo { transform: translateX(-4px); }
[data-pulse="turn"][data-cue="right"] .p-halo { transform: translateX(4px); }

/* Меньше движения — но состояния остаются: без разницы между
   «держи» и «отпусти» шаг теряет смысл. Уходят циклы и разгон. */
@media (prefers-reduced-motion: reduce) {
  .bodyx__pulse :is(g, circle, line, path) {
    transition-duration: .16s !important;
    transition-delay: 0ms !important;
    animation: none !important;
  }
  [data-pulse="rub"] .p-orbit { opacity: .8; }
  [data-pulse="hum"] .p-wave { opacity: .18; }
}

.bodyx__label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  justify-items: center;
  gap: 2px;
  transition: top .4s var(--ease);
}
/* Там, где в центре круга живёт метка, счёт уезжает под круг —
   иначе цифры и точка спорят за одно и то же место. */
.bodyx__stage[data-kind="narrow"] .bodyx__label,
.bodyx__stage[data-kind="sweep"] .bodyx__label,
.bodyx__stage[data-pulse]:not([data-pulse=""]) .bodyx__label { top: calc(100% + 20px); }
/* На шаге с краями внизу стоит штрих — счёт уходит ниже него,
   иначе цифры выглядят подчёркнутыми. */
.bodyx__stage[data-kind="wide"] .bodyx__label { top: calc(100% + 34px); }

.bodyx__cue {
  font-size: 14px;
  color: var(--ink-dim);
  letter-spacing: .02em;
}
.bodyx__cue:empty { display: none; }
.bodyx__sec {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 26px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  color: var(--ink-text);
  opacity: .78;
}

.bodyx__act {
  margin: 0;
  font-size: clamp(1.15rem, 4.6vw, 1.4rem);
  font-weight: 500;
  letter-spacing: -.02em;
}
.bodyx__how {
  margin: 0;
  max-width: 32ch;
  color: var(--ink-dim);
  font-size: clamp(.95rem, 3.6vw, 1.02rem);
  line-height: 1.5;
}
/* Предостережение выглядит тише текста: это сноска, а не половина шага. */
.bodyx__care {
  margin: -4px 0 0;
  max-width: 32ch;
  color: var(--ink-faint);
  font-size: 12.5px;
  line-height: 1.45;
}
.bodyx__care:empty { display: none; }
.bodyx__count {
  margin: 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--ink-faint);
}

.row {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* Низкий экран (320×640 и подобные): шаг ужимается, чтобы кнопки
   остались видимыми. Первым уходит вводная строка — она объясняет
   шаг целиком, а нужно то, что делаешь прямо сейчас. */
@media (max-height: 720px) {
  #stepBody .step__text { display: none; }
  #stepBody .step__title { font-size: clamp(1.5rem, 5.6vw, 2rem); margin-bottom: 8px; }
  .bodyx { gap: 10px; margin-bottom: 18px; }
  .bodyx__stage { width: min(44vw, 168px); margin-bottom: 40px; }
  .bodyx__sec { font-size: 22px; }
  .bodyx__how { font-size: .93rem; }
}

/* --- поле ввода ----------------------------------------------- */

.field { display: block; margin-bottom: 10px; }
.field__label {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--ink-dim);
}
.field input {
  width: 100%;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: none;
  color: var(--ink-text);
  font: inherit;
  font-size: clamp(1.05rem, 4.4vw, 1.25rem);
  transition: border-color .4s;
}
.field input::placeholder { color: var(--ink-faint); }
.field input:focus {
  outline: none;
  border-bottom-color: var(--ink);
}
.field__hint {
  margin: 0 0 clamp(26px, 5vh, 40px);
  min-height: 1.2em;
  font-size: 13px;
  color: var(--ink-faint);
}

/* --- кнопки --------------------------------------------------- */

.btn {
  align-self: flex-start;
  padding: 14px 30px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  transition: transform .25s var(--ease), opacity .3s, background .6s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.98); }

.btn--quiet {
  margin-top: 4px;
  padding: 10px 0;
  background: none;
  color: var(--ink-faint);
  font-weight: 400;
  font-size: 14px;
}
.btn--quiet:hover { color: var(--ink-text); transform: none; }

.btn--ghost {
  background: none;
  color: var(--ink-dim);
  box-shadow: inset 0 0 0 1px var(--line);
  padding: 12px 26px;
  font-size: 15px;
}
.btn--ghost:hover { color: var(--ink-text); }

/* --- комната -------------------------------------------------- */

.scene--room {
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0;
}

/* Цвет состояния держит точка, а не сам текст: серый «Покой»
   на тёмном фоне цветным текстом просто не читался. */
.room__state {
  margin: 0 0 auto;
  padding-top: clamp(10px, 4vh, 40px);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}
.room__state::before,
.proto__state::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tint);
  flex: none;
}
/* В комнате главное — строка, ради которой пришёл. Часы вторичны. */
.room__intent {
  margin: 0 0 clamp(24px, 5vh, 44px);
  max-width: 19ch;
  font-size: clamp(1.65rem, 7vw, 2.7rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -.028em;
  text-wrap: balance;
}
.room__clock {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: clamp(2rem, 8vw, 3rem);
  line-height: 1;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  color: var(--ink-dim);
  transition: opacity 2s var(--ease);
}
/* Секунды сами уходят из виду, чтобы на них не залипать. */
.room__clock.dim { opacity: .2; }
/* Подсказка про воду показывается один раз, в первую сессию, и тихо уходит. */
.room__hint {
  margin: 6px 0 0;
  font-size: 12px;
  letter-spacing: .01em;
  color: var(--ink-faint);
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}
.room__hint.show { opacity: .85; }
/* В комнате экран не таскается: жест принадлежит воде. */
body[data-scene="room"] { touch-action: none; overscroll-behavior: none; }
.room__since {
  margin: 14px 0 auto;
  font-size: 13px;
  color: var(--ink-faint);
  min-height: 1.2em;
}
.scene--room .btn--ghost {
  align-self: center;
  margin-bottom: clamp(6px, 3vh, 30px);
}

/* --- выход ---------------------------------------------------- */

/* Выход — не второй порог. Там выбирали, куда идти, тут отмечают,
   сколько тебя там было. Поэтому не список одинаковых строк, а шкала:
   ответы убывают в кегле и в свете сверху вниз, а не стоят в ряд. */
.after__title {
  margin: 0 0 10px;
  font-weight: 500;
  font-size: clamp(1.8rem, 6.6vw, 2.6rem);
  letter-spacing: -.03em;
}
.after__sum {
  margin: 0 0 clamp(26px, 5vh, 44px);
  color: var(--ink-dim);
  font-size: clamp(1rem, 3.8vw, 1.1rem);
  max-width: 34ch;
  line-height: 1.5;
}

/* Экран выхода собран по вертикали, а не растянут по краям: вопрос и ответ
   должны читаться одним взглядом, между ними незачем полтора экрана пустоты. */
.scene--after { justify-content: center; }

.scale {
  position: relative;
  margin-top: clamp(22px, 5vh, 48px);
  padding-left: 30px;
  max-width: 40ch;
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2.6vh, 26px);
}
/* Одна непрерывная линия: шкала, а не три разделителя. */
.scale::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(var(--tint), var(--line) 78%, transparent);
  opacity: .5;
}

.pick {
  position: relative;
  display: block;
  width: 100%;
  padding: 2px 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
/* Засечка на шкале. Гаснет вниз вместе с ответом. */
.pick::before {
  content: "";
  position: absolute;
  left: -30px;
  top: .62em;
  width: 9px;
  height: 9px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--tint);
  transition: transform .45s var(--ease), opacity .4s;
}
.pick[data-outcome="held"]::before   { opacity: 1; }
.pick[data-outcome="partly"]::before { opacity: .5; transform: scale(.8); }
.pick[data-outcome="lost"]::before   { opacity: .22; transform: scale(.62); }

.pick:hover, .pick:focus-visible { outline: none; }
.pick:hover::before,
.pick:focus-visible::before { opacity: 1; transform: scale(1.3); }

.pick b {
  display: block;
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.15;
  transition: color .35s;
}
.pick[data-outcome="held"] b   { font-size: clamp(1.35rem, 5.4vw, 1.6rem); }
.pick[data-outcome="partly"] b { font-size: clamp(1.12rem, 4.4vw, 1.3rem); }
.pick[data-outcome="lost"] b   { font-size: clamp(1rem, 3.8vw, 1.08rem); color: var(--ink-dim); }
.pick:hover b, .pick:focus-visible b { color: var(--ink-text); }

.pick span {
  display: block;
  margin-top: 3px;
  color: var(--ink-dim);
  font-size: .9rem;
  line-height: 1.35;
}

/* --- вход ------------------------------------------------------ */

/* Ролик входа. Ничего не лежит коробкой на фоне: свет комнаты идёт
   насквозь, а такт держат сами элементы — строки, круг, часы. */
.scene--intro {
  position: relative;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.scene--intro.is-out { animation: sceneOut .42s var(--ease) both; }
@keyframes sceneOut {
  to { opacity: 0; transform: translateY(-10px); }
}

/* Порог порога: точка и одно слово. Касание тут же разрешает звук,
   поэтому вход начинается с жеста, а не с автоплея. */
.gate {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: clamp(20px, 4vh, 30px);
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s var(--ease);
}
.gate.is-on { opacity: 1; pointer-events: auto; }
.gate__dot {
  position: relative;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--tint);
}
/* Одно кольцо и долгая пауза между ними: капля, а не пульсар. */
.gate__dot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--tint);
  animation: gateRing 3.8s var(--ease) infinite;
}
@keyframes gateRing {
  0%        { transform: scale(.55); opacity: .5; }
  45%, 100% { transform: scale(2.7); opacity: 0; }
}
.gate__word {
  font-size: 13px;
  letter-spacing: .01em;
  color: var(--ink-faint);
  transition: color .3s;
}
.gate:hover .gate__word { color: var(--ink-dim); }
/* Честно предупредить про звук дешевле, чем испугать им в тихой комнате. */
.gate__note {
  margin-top: -12px;
  font-size: 11px;
  color: var(--ink-faint);
  opacity: .7;
}

.intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(20px, 4.4vh, 42px);
  width: min(100%, 460px);
}

/* Все четыре такта стоят в одной клетке и сменяют друг друга. */
.intro__stage {
  position: relative;
  display: grid;
  width: 100%;
  height: clamp(148px, 26vh, 216px);
  place-items: center;
}
.iv {
  grid-area: 1 / 1;
  width: 100%;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(.985);
  transition: opacity .55s var(--ease), transform .7s var(--ease);
  pointer-events: none;
}
.iv.is-on { opacity: 1; transform: none; }

/* Такт 1. Пять светов: те же строки, что и на пороге, только без слов.
   Ширины разные — это список состояний, а не столбики эквалайзера. */
.iv-states {
  align-content: center;
  justify-items: start;
  gap: clamp(9px, 1.8vh, 15px);
}
.iv-states i {
  height: 2px;
  border-radius: 2px;
  background: var(--c);
  opacity: 0;
  transform: scaleX(.14);
  transform-origin: left;
  transition: opacity .8s var(--ease), transform 1s var(--ease);
}
.iv-states i.is-in { opacity: .95; transform: none; }
/* Выбор — это то, что осталось, когда остальное убрали. */
.iv-states i.is-off { opacity: .1; transform: scaleX(.86); }

/* Такт 2. Настоящее дыхание: тот же круг, тот же свет, тот же звук,
   что будут на входе. Обещание, а не картинка. */
.iv-breath {
  position: relative;
  width: clamp(94px, 25vw, 128px);
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--tint-line);
  display: grid;
  place-items: center;
  transform: scale(.72);
  transition: transform var(--ms, 3000ms) cubic-bezier(.42, 0, .58, 1);
}
.iv-breath[data-phase="in"]  { transform: scale(1); }
.iv-breath[data-phase="out"] { transform: scale(.72); }
/* Свечение отдельным слоем: box-shadow на масштабируемом круге
   даёт квадратную заплатку. */
.iv-breath::after {
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: var(--tint);
  opacity: .08;
  filter: blur(16px);
  transition: opacity var(--ms, 3000ms) linear;
}
.iv-breath[data-phase="in"]::after { opacity: .3; }
.iv-breath__cue {
  position: relative;
  font-size: 13px;
  letter-spacing: .01em;
  color: var(--ink-dim);
}

/* Такт 3. Строка печатается, список рядом гаснет. Показать дешевле,
   чем объяснять, почему тут одна строка, а не план на день. */
.iv-line { grid-auto-flow: row; }
.iv-line__typed {
  min-height: 1.5em;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--tint-line);
  font-size: clamp(1rem, 4.2vw, 1.2rem);
  line-height: 1.3;
}
.iv-line__typed::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 1.05em;
  margin-left: 3px;
  vertical-align: -.16em;
  background: var(--tint);
  animation: caret 1.05s steps(1) infinite;
}
@keyframes caret {
  0%, 55%   { opacity: 1; }
  56%, 100% { opacity: 0; }
}
.iv-line__ghosts {
  display: grid;
  gap: 9px;
  width: 64%;
  margin-top: clamp(16px, 3vh, 26px);
  justify-self: center;
}
.iv-line__ghost {
  height: 2px;
  border-radius: 2px;
  background: var(--ink-faint);
  opacity: .34;
  transform-origin: left;
  transition: opacity .7s var(--ease), transform .8s var(--ease);
}
.iv-line__ghost:nth-child(2) { width: 76%; }
.iv-line__ghost:nth-child(3) { width: 52%; }
.iv-line__ghost.is-gone { opacity: 0; transform: translateX(-10px) scaleX(.7); }

/* Такт 4. Комната: часы идут, вода отвечает сама — теми же кругами,
   которые потом пойдут от пальца. */
.iv-room__clock {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: clamp(1.9rem, 7.6vw, 2.5rem);
  line-height: 1;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  color: var(--ink-dim);
}

/* Слово такта выезжает из-под маски: у каждого такта должен быть
   слышен старт, иначе четыре фразы читаются как одна. */
.intro__say {
  margin: 0;
  display: grid;
  gap: 10px;
}
.intro__wordwrap {
  display: block;
  overflow: hidden;
  padding-bottom: 2px;
}
.intro__word {
  display: block;
  font-weight: 500;
  font-size: clamp(1.5rem, 6.2vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.intro__wordwrap.is-in .intro__word { animation: wordUp .9s var(--ease) both; }
@keyframes wordUp {
  from { transform: translateY(110%); }
  to   { transform: none; }
}
.intro__sub {
  display: block;
  color: var(--ink-dim);
  font-size: clamp(.87rem, 3.4vw, 1rem);
  line-height: 1.4;
  text-wrap: balance;
}
.intro__sub.is-in { animation: subIn .8s var(--ease) .16s both; }
@keyframes subIn {
  from { opacity: 0; transform: translateY(7px); }
  to   { opacity: 1; transform: none; }
}

/* Внизу — сколько такта осталось и выход. Полоса заполняется ровно
   столько, сколько живёт такт, поэтому ожидание видно, а не гадается. */
.intro__foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(20px, 5vh, 44px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s var(--ease);
}
.intro__foot.is-on { opacity: 1; pointer-events: auto; }
/* Кнопка тут своя: .btn--quiet без .btn не гасит рамку браузера. */
.intro__skip { border: 0; }
.intro__ticks { display: flex; gap: 7px; }
.intro__ticks i {
  position: relative;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--line);
  overflow: hidden;
}
.intro__ticks i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--tint);
  transform: scaleX(0);
  transform-origin: left;
}
.intro__ticks i.is-run::after {
  transform: scaleX(1);
  transition: transform var(--beat, 4s) linear;
}
.intro__ticks i.is-done::after { transform: scaleX(1); }

@media (max-height: 700px) {
  .intro__stage { height: clamp(120px, 20vh, 160px); }
  .intro { gap: 18px; }
}

/* --- звук ----------------------------------------------------- */

.sound {
  position: fixed;
  right: 18px;
  top: 18px;
  z-index: 5;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s;
}
.sound.show { opacity: 1; pointer-events: auto; }
.sound__bars { display: flex; align-items: flex-end; gap: 3px; height: 15px; }
.sound__bars i {
  width: 2px;
  background: var(--ink-dim);
  border-radius: 2px;
  animation: bars 1.4s var(--ease) infinite;
}
.sound__bars i:nth-child(1) { height: 60%; animation-delay: .0s; }
.sound__bars i:nth-child(2) { height: 100%; animation-delay: .25s; }
.sound__bars i:nth-child(3) { height: 45%; animation-delay: .5s; }
.sound.off .sound__bars i { animation: none; height: 30%; opacity: .45; }

@keyframes bars {
  0%, 100% { transform: scaleY(.5); }
  50%      { transform: scaleY(1); }
}

/* --- крупные экраны ------------------------------------------- */

@media (min-width: 860px) {
  .scene { padding: 56px clamp(56px, 8vw, 120px); }
  .lede { max-width: none; }
  .states { max-width: 640px; }
  .memory { padding-top: 40px; }
  /* Одна ось на весь вход: протокол, комната и выход стоят по центру
     экрана. Порог остаётся широким — он единственный, где выбирают. */
  .proto { margin-inline: auto; }
  .scene--after { align-items: center; }
  .after__title, .after__sum, .scale { width: min(42ch, 100%); }
}

/* На большом экране порог живёт в две колонки: слева вопрос и память,
   справа сами состояния. Одной левой колонкой экран выглядел брошенным. */
@media (min-width: 980px) {
  .scene--threshold {
    display: grid;
    grid-template-columns: minmax(260px, 30%) minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    column-gap: clamp(48px, 7vw, 130px);
    align-content: start;
  }
  .scene--threshold .mark { grid-area: 1 / 1 / 2 / -1; }
  .scene--threshold .lede { grid-area: 2 / 1; }
  /* Память читается вместе с вопросом, а не в подвале: прижатая к низу,
     она оставляла посреди левой колонки полтысячи пикселей пустоты. */
  .scene--threshold .memory {
    grid-area: 3 / 1;
    align-self: start;
    margin: 0;
    padding-top: clamp(28px, 5vh, 56px);
  }
  .scene--threshold .states {
    grid-area: 2 / 2 / 4 / 3;
    margin: 4px 0 0;
    max-width: 620px;
  }
  .lede h1 { font-size: clamp(2.4rem, 3.4vw, 3.3rem); }
}

/* --- без движения --------------------------------------------- */

/* Без движения. Дыхание при этом остаётся полноценным: круг не растёт,
   но фазы, счёт секунд и дуга на месте — иначе шаг теряет смысл. */
@media (prefers-reduced-motion: reduce) {
  .scene, .step { animation: none; }
  .breath__ring { transition: none; transform: scale(.88); }
  .breath__ring[data-phase="in"],
  .breath__ring[data-phase="hold"],
  .breath__ring[data-phase="out"] { transform: scale(.88); animation: none; }
  /* Тело: пульсации гасим, но метку для глаз оставляем — вести её
     взглядом и есть упражнение, без неё шаг превращается в текст. */
  .bodyx__stage::after { animation: none; }
  .bodyx__edges i { animation: none; opacity: .7; }
  .sound__bars i { animation: none; }
  /* Вход: движение выключено, но такты остаются — они и есть объяснение.
     Слово не выезжает, круг не дышит, строка появляется целиком. */
  .scene--intro.is-out { animation: none; opacity: 0; }
  .gate__dot::after { animation: none; opacity: .3; transform: scale(1.6); }
  .intro__wordwrap.is-in .intro__word,
  .intro__sub.is-in { animation: none; }
  .iv { transition: opacity .3s linear; transform: none; }
  .iv-states i { transition: opacity .3s linear; transform: none; }
  .iv-states i.is-in { transform: none; }
  .iv-states i.is-off { transform: none; }
  .iv-breath { transition: none; transform: scale(.86); }
  .iv-breath[data-phase="in"], .iv-breath[data-phase="out"] { transform: scale(.86); }
  .iv-breath::after { transition: opacity .4s linear; }
  .iv-line__typed::after { animation: none; opacity: .5; }
  .iv-line__ghost { transition: opacity .3s linear; }
  .iv-line__ghost.is-gone { transform: none; }
  .intro__ticks i.is-run::after { transition: none; transform: scaleX(1); }
  * { scroll-behavior: auto; }
}
