/* ============================================================
   Юлия Хамраева — массаж
   Палитра: бордо, крем, тёплое свечение. Формы: круг и «камень».
   ============================================================ */

/* Шрифты: Noto Serif Display и Inter, только латиница и кириллица */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/inter-cyrillic-1.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/inter-latin-2.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/inter-cyrillic-1.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/inter-latin-2.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Noto Serif Display';
  font-style: normal;
  font-weight: 300 500;
  font-stretch: 62.5%;
  font-display: swap;
  src: url(../fonts/noto-cyrillic-1.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Noto Serif Display';
  font-style: normal;
  font-weight: 300 500;
  font-stretch: 62.5%;
  font-display: swap;
  src: url(../fonts/noto-latin-2.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ox: #370808;
  --night: #1c0604;
  --cream: #fff9eb;
  --beige: #f0e7d7;
  --ember: #ff8a4a;
  --peach: #ffc79a;
  --hair: rgba(55, 8, 8, .14);
  --hair-l: rgba(255, 249, 235, .18);
  /* поле от края экрана; на больших экранах контент не шире --max и стоит по центру, фон блоков — на всю ширину.
     100% считается от ширины блока, где стоит отступ, поэтому полоса прокрутки не сбивает центр */
  --edge: clamp(20px, 2.8vw, 40px);
  --max: 1600px;
  --pad: max(var(--edge), calc((100% - var(--max)) / 2));
  --ease: cubic-bezier(.2, 0, 0, 1);
  --ease-out: cubic-bezier(0, 0, .2, 1);
  --serif: "Noto Serif Display", "Times New Roman", serif;
  --sans: Inter, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; overflow-anchor: none; }
body { margin: 0; background: var(--cream); color: var(--ox); font: 400 17px/1.5 var(--sans); letter-spacing: -.01em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.is-loading, body.is-locked { overflow: hidden; }
h1, h2, h3, p, figure, blockquote, dl, dd, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; letter-spacing: inherit; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--peach); color: var(--ox); }

/* Lenis */
html.lenis,html.lenis body{height:auto}.lenis:not(.lenis-autoToggle).lenis-stopped{overflow:clip}.lenis.lenis-smooth [data-lenis-prevent]{overscroll-behavior:contain}.lenis.lenis-smooth iframe{pointer-events:none}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip { position: fixed; left: 12px; top: -80px; z-index: 200; background: var(--cream); color: var(--ox); padding: 12px 18px; border-radius: 999px; }
.skip:focus { top: 12px; }

.display { font-family: var(--serif); font-stretch: 62.5%; font-weight: 300; letter-spacing: -.01em; line-height: .9; }
.note { font-size: 15px; line-height: 1.4; opacity: .72; }
.lead { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.38; max-width: 30em; }
h2.display { font-size: clamp(54px, 13.4vw, 84px); }
@media (min-width: 900px) { h2.display { font-size: clamp(84px, 8.6vw, 148px); } }

/* ---------- кнопки: «камешки» ---------- */
.btn { --bg: var(--ox); --fg: var(--cream); --b: var(--ox);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 28px 0 22px; border-radius: 999px;
  border: 2px solid var(--b); background: var(--bg); color: var(--fg); font: 500 16px/1 var(--sans); letter-spacing: -.01em; white-space: nowrap; cursor: pointer;
  transition: background-color .25s var(--ease-out), color .25s var(--ease-out), border-color .25s var(--ease-out), transform .15s var(--ease-out), box-shadow .25s var(--ease-out); }
.btn .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; transition: transform .25s var(--ease-out); }
.btn:active { transform: translateY(1px) scale(.985); }
@media (hover: hover) {
  .btn:hover { background: transparent; color: var(--b); }
  .btn:hover .dot { transform: scale(1.6); }
}
.btn--cream { --bg: var(--cream); --fg: var(--ox); --b: var(--cream); box-shadow: 0 0 26px rgba(255, 150, 80, .32), inset 0 -12px 14px -10px rgba(255, 170, 110, .6); }
.btn--ox { --bg: var(--ox); --fg: var(--cream); --b: var(--ox); }
.btn--ghost, .btn--line { padding: 0 26px; border-width: 1px; --bg: transparent; }
.btn--ghost { --fg: var(--cream); --b: rgba(255, 249, 235, .55); }
.btn--line { --fg: var(--ox); --b: rgba(55, 8, 8, .4); }
@media (hover: hover) {
  .btn--ghost:hover { background: rgba(255, 249, 235, .14); color: var(--cream); border-color: transparent; }
  .btn--line:hover { background: rgba(55, 8, 8, .1); color: var(--ox); border-color: transparent; }
}
.btn--sm { height: 44px; padding: 0 20px 0 16px; font-size: 15px; }

.round { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid currentColor; color: inherit; transition: background-color .2s var(--ease-out), color .2s var(--ease-out), transform .2s var(--ease-out); }
.round svg { width: 20px; height: 20px; }
@media (hover: hover) { button.round:hover { background: var(--ox); color: var(--cream); border-color: var(--ox); } }

.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 18px; border-radius: 24px; border: 1px solid rgba(55, 8, 8, .3); color: var(--ox); font-size: 15px; line-height: 1.25; text-align: left;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out), border-color .2s var(--ease-out), transform .15s var(--ease-out); }
.chip:active { transform: scale(.97); }
.chip.is-on { background: var(--ox); border-color: var(--ox); color: var(--cream); }
.chip--dark { border-color: rgba(255, 249, 235, .32); color: var(--cream); }
.chip--dark.is-on { background: var(--cream); border-color: var(--cream); color: var(--ox); }
@media (hover: hover) { .chip:not(.is-on):hover { background: rgba(55, 8, 8, .08); } .chip--dark:not(.is-on):hover { background: rgba(255, 249, 235, .12); } }

/* ---------- появление ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .5s linear var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.line { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.line > span { display: block; }
.js .line > span { transform: translateY(108%); transition: transform 1s var(--ease) var(--d, 0s); }
.js .is-in .line > span, .js .line.is-in > span { transform: none; }
.js [data-clip] { clip-path: inset(14% 8% 14% 8% round 28px); transition: clip-path 1.2s var(--ease); }
.js [data-clip].is-in { clip-path: inset(0 0 0 0 round 28px); }
[data-letters] .wd { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .16em; margin-bottom: -.16em; }
[data-letters] .sp { display: inline-block; width: .22em; }
[data-letters] .ch { display: inline-block; }
.js [data-letters] .ch { transform: translateY(105%); transition: transform 1s var(--ease) calc(var(--i) * 34ms); }
.js [data-letters].is-in .ch { transform: none; }
[data-words] .w { opacity: .24; transition: opacity .3s linear; }
[data-words] .w.is-on { opacity: 1; }

/* ---------- вступление ---------- */
.intro { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; align-content: center; gap: 18px; background: var(--cream); color: var(--ox); border-radius: 0 0 50% 50% / 0 0 0 0; transition: transform 1.1s var(--ease), border-radius 1.1s var(--ease); }
.intro__orb { position: absolute; left: 50%; top: 50%; width: 46vmin; height: 46vmin; margin: -23vmin 0 0 -23vmin; border-radius: 50%; background: radial-gradient(closest-side, #fff 0, #ffd9a8 34%, #ff9a5c 62%, rgba(255, 154, 92, 0) 100%); filter: blur(18px); transform: scale(.2); opacity: 0; transition: transform 1.6s var(--ease), opacity .6s linear; }
.intro__mark { position: relative; font-size: clamp(54px, 13vw, 190px); white-space: nowrap; }
.intro__sub { position: relative; opacity: 0; transition: opacity .5s linear .5s; }
.intro.is-in .intro__orb { transform: scale(1); opacity: 1; }
.intro.is-in .intro__sub { opacity: .8; }
.intro.is-out { transform: translateY(-104%); border-radius: 0 0 50% 50% / 0 0 22% 22%; }
html:not(.js) .intro { display: none; }

/* ---------- навигация ---------- */
.nav { --nfg: var(--cream); position: fixed; z-index: 60; left: 50%; top: 14px; width: min(1180px, calc(100% - 24px)); height: 60px; padding: 0 8px 0 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  border-radius: 999px; color: var(--nfg); background: rgba(28, 6, 4, .28); border: 1px solid rgba(255, 249, 235, .16); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  transform: translate(-50%, 0); transition: transform .5s var(--ease), background-color .6s linear, color .6s linear, border-color .6s linear; }
.nav.is-hidden { transform: translate(-50%, -150%); }
.nav[data-tone="light"] { --nfg: var(--ox); background: rgba(255, 249, 235, .8); border-color: rgba(55, 8, 8, .1); }
.nav__brand { font-size: 31px; font-weight: 400; line-height: 1; padding-bottom: 3px; white-space: nowrap; }
.nav__links { display: none; gap: 28px; font-size: 15px; }
.nav__links a { opacity: .88; transition: opacity .2s linear; }
.nav__links a:hover { opacity: 1; }
.nav__right { display: flex; align-items: center; gap: 8px; }
.nav .btn { --bg: var(--nfg); --b: var(--nfg); --fg: var(--night); }
.nav[data-tone="light"] .btn { --fg: var(--cream); }
.nav__menu { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid currentColor; font-size: 15px; }
.nav__menu i { position: relative; width: 16px; height: 10px; }
.nav__menu i::before, .nav__menu i::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; border-radius: 2px; background: currentColor; transition: top .35s var(--ease), transform .35s var(--ease); }
.nav__menu i::before { top: 0; }
.nav__menu i::after { top: 8.5px; }
.menu-open .nav { --nfg: var(--cream); background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; transform: translate(-50%, 0); }
.menu-open .nav .btn { display: none; }
.menu-open .nav__menu i::before { top: 4.25px; transform: rotate(45deg); }
.menu-open .nav__menu i::after { top: 4.25px; transform: rotate(-45deg); }
@media (max-width: 899px) { .nav .btn { display: none; } .nav { padding-left: 20px; } .nav__brand { font-size: 28px; } }
@media (min-width: 900px) { .nav__links { display: flex; } .nav__menu { display: none; } }

.menu { position: fixed; inset: 0; z-index: 55; display: flex; flex-direction: column; justify-content: space-between; padding: 104px var(--pad) calc(28px + env(safe-area-inset-bottom)); background: var(--ox); color: var(--cream); overflow: hidden;
  clip-path: circle(0 at calc(100% - 60px) 44px); visibility: hidden; transition: clip-path .8s var(--ease), visibility 0s linear .8s; }
.menu-open .menu { clip-path: circle(150% at calc(100% - 60px) 44px); visibility: visible; transition: clip-path .8s var(--ease), visibility 0s; }
.menu__orb { position: absolute; left: 50%; bottom: -46vh; width: 120vh; height: 90vh; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, #ffd9a8 0, #ff9a5c 30%, #c2410c 58%, rgba(120, 26, 8, 0) 100%); filter: blur(30px); opacity: .9; }
.menu__links { position: relative; display: grid; }
.menu__links a { display: block; padding: 6px 0; border-top: 1px solid var(--hair-l); }
.menu__links a { font-size: clamp(50px, 14.5vw, 76px); font-size: clamp(38px, min(14.5vw, 7.6svh), 76px); line-height: 1; }
.menu__foot { position: relative; display: grid; gap: 14px; justify-items: start; }
.menu__foot .btn { width: 100%; }

/* ---------- круглая кнопка записи и лист ---------- */
.badge { position: fixed; z-index: 45; right: 26px; bottom: 26px; width: 120px; height: 120px; border-radius: 50%; display: none; place-items: center; background: var(--cream); color: var(--ox);
  box-shadow: 0 0 40px rgba(255, 150, 80, .35); opacity: 0; transform: scale(.6); pointer-events: none; transition: opacity .5s linear, transform .7s var(--ease), background-color .2s linear, color .2s linear; }
.badge:not(.is-on), .bookbar:not(.is-on) { visibility: hidden; transition-property: opacity, transform, visibility; transition-delay: 0s, 0s, .6s; }
.badge.is-on { opacity: 1; transform: none; pointer-events: auto; }
.badge[data-tone="light"] { background: var(--ox); color: var(--cream); box-shadow: 0 10px 40px -10px rgba(55, 8, 8, .5); }
.badge__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 20s linear infinite; }
.badge__ring text { font-family: var(--serif); font-stretch: 62.5%; font-size: 17px; font-weight: 400; letter-spacing: .06em; fill: currentColor; }
.badge__arrow { width: 34px; height: 34px; transition: transform .4s var(--ease); }
@media (hover: hover) { .badge:hover .badge__arrow { transform: translate(3px, -3px) scale(1.12); } .badge:hover .badge__ring { animation-duration: 8s; } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (min-width: 900px) { .badge { display: grid; } }

.bookbar { position: fixed; z-index: 45; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); transform: translate(-50%, 140%); height: 52px; padding: 0 30px 0 24px; box-shadow: 0 10px 34px -8px rgba(28, 6, 4, .55), 0 0 26px rgba(255, 150, 80, .32); transition: transform .6s var(--ease), background-color .25s, color .25s; }
.bookbar.is-on { transform: translate(-50%, 0); }
@media (min-width: 900px) { .bookbar { display: none; } }

/* шторка с подробностями: выезжает снизу, закрывается свайпом вниз, тапом по фону или крестиком */
.isheet { position: fixed; inset: 0; z-index: 88; }
.isheet[hidden] { display: none; }
.isheet__veil { position: absolute; inset: 0; background: rgba(28, 6, 4, .55); opacity: 0; transition: opacity .4s linear; touch-action: none; }
.isheet__panel { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; max-height: calc(100vh - 44px); max-height: calc(100dvh - 44px); border-radius: 30px 30px 0 0; background: var(--cream); color: var(--ox); box-shadow: 0 -24px 60px rgba(20, 4, 2, .28); transform: translate3d(0, 100%, 0); transition: transform .55s cubic-bezier(.32, .72, 0, 1); will-change: transform; }
.isheet__panel:focus { outline: none; }
.isheet.is-on .isheet__veil { opacity: 1; }
.isheet.is-on .isheet__panel { transform: translate3d(0, 0, 0); }
.isheet.is-drag .isheet__panel, .isheet.is-drag .isheet__veil { transition: none; }
.isheet__grab { flex: none; height: 24px; display: grid; place-items: center; touch-action: none; }
.isheet__grab::before { content: ""; width: 42px; height: 5px; border-radius: 3px; background: rgba(55, 8, 8, .22); }
.isheet__x { position: absolute; right: 32px; top: 40px; z-index: 2; background: var(--cream); border-color: var(--cream); box-shadow: 0 6px 18px rgba(20, 4, 2, .25); }
.isheet--plain .isheet__x { right: 16px; top: 16px; border-color: rgba(55, 8, 8, .3); box-shadow: none; }
.isheet__scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 4px 20px 22px; }
.isheet__media { margin: 0 0 22px; aspect-ratio: 16 / 11; border-radius: 22px; overflow: hidden; background: var(--night); }
.isheet__media img { width: 100%; height: 100%; object-fit: cover; }
.isheet__bubble { width: fit-content; max-width: 86%; margin: 0 0 16px auto; padding: 12px 16px; border-radius: 22px 22px 6px 22px; background: var(--ox); color: var(--cream); font-size: 16px; line-height: 1.4; }
.isheet h2 { font-size: clamp(44px, 12vw, 58px); line-height: .95; text-wrap: balance; }
.isheet--plain h2 { margin: 26px 58px 0 0; font-size: clamp(36px, 9.6vw, 46px); line-height: 1; }
.isheet__lead { margin-top: 14px; font-size: 18px; line-height: 1.42; }
.isheet__text { margin-top: 14px; font-size: 17px; line-height: 1.5; opacity: .85; }
.isheet__rows { margin-top: 22px; border-top: 1px solid var(--hair); }
.isheet__row { display: grid; grid-template-columns: 116px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--hair); font-size: 16px; line-height: 1.4; }
.isheet__row span:first-child { font-weight: 500; opacity: .62; }
.isheet__foot { flex: none; padding: 12px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--hair); }
.isheet__foot .btn { width: 100%; justify-content: center; height: 58px; }
.sheet { position: fixed; inset: 0; z-index: 90; }
.sheet[hidden] { display: none; }
.sheet__veil { position: absolute; inset: 0; background: rgba(28, 6, 4, .55); opacity: 0; transition: opacity .3s linear; }
.sheet__panel { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; max-height: calc(100vh - 10px); max-height: calc(100svh - 10px); transform: translate3d(0, 104%, 0); transition: transform .5s cubic-bezier(.32, .72, 0, 1); }
.sheet.is-on .sheet__veil { opacity: 1; }
.sheet.is-on .sheet__panel { transform: none; }
.sheet .tk { position: relative; border-radius: 30px 30px 0 0; padding-bottom: calc(18px + env(safe-area-inset-bottom)); box-shadow: 0 -20px 60px rgba(0, 0, 0, .35); }
.sheet__grab { position: absolute; top: 0; left: 0; right: 0; height: 20px; display: grid; place-items: center; }
.sheet__grab::before { content: ""; width: 40px; height: 5px; border-radius: 3px; background: var(--cream); opacity: .22; }
.sheet .tk__who { padding-top: 10px; }
/* в окне высота подстраивается под текст, а на низком экране лента прокручивается внутри — кнопки отправки всегда видны */
.sheet .tk { min-height: 0; max-height: 100%; }
.sheet .tk__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; margin: 0 -10px; padding: 16px 10px 8px; }
.sheet .tk__body::-webkit-scrollbar { display: none; }
@media (min-width: 900px) {
  .sheet__veil { background: rgba(28, 6, 4, .4); }
  .sheet__panel { left: auto; right: 28px; bottom: 28px; width: 440px; max-height: calc(100vh - 56px); opacity: 0; transform: translateY(24px) scale(.96); transform-origin: 100% 100%; transition: transform .45s var(--ease), opacity .25s linear; }
  .sheet.is-on .sheet__panel { opacity: 1; transform: none; }
  .sheet .tk { border-radius: 32px; padding-bottom: 22px; }
  .sheet__grab { display: none; }
  .sheet .tk__who { padding-top: 0; }
}

/* ---------- 01 первый экран ---------- */
.hero { position: relative; height: 100svh; min-height: 520px; overflow: hidden; background: var(--night); color: var(--cream); }
.hero__media { position: absolute; inset: 0; }
.hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; opacity: 0; transform: scale(1.08); transition: transform 3s var(--ease), opacity .8s linear; }
.hero__media video.is-playing { opacity: 1; }
.hero__still { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; animation: kenburns 18s ease-in-out infinite alternate; }
.has-video .hero__still { animation-play-state: paused; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.16) translate(-2%, -1.5%); } }
.hero__media video.is-playing.is-dim { opacity: 0; transition-duration: 3s, .45s; }
.is-ready .hero__media video { transform: none; }
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(28, 6, 4, .96) 0, rgba(28, 6, 4, .82) 30%, rgba(28, 6, 4, 0) 66%), linear-gradient(180deg, rgba(28, 6, 4, .55) 0, rgba(28, 6, 4, 0) 18%); }
.hero__glow { position: absolute; left: -12vmax; bottom: -22vmax; width: 62vmax; height: 62vmax; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 150, 80, .5), rgba(255, 110, 50, .18) 55%, rgba(255, 110, 50, 0) 100%); opacity: .85; will-change: transform; animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(9vmax, -5vmax) scale(1.12); } }
.hero__inner { position: absolute; left: var(--pad); right: var(--pad); bottom: calc(34px + env(safe-area-inset-bottom)); display: grid; gap: 24px; }
.hero__title { font-size: clamp(62px, 17.6vw, 104px); }
.hero__side p { font-size: 18px; line-height: 1.4; max-width: 21em; }
.hero__side .btn { margin-top: 24px; width: 100%; }
.js .hero [data-in] { opacity: 0; transform: translateY(18px); transition: opacity .6s linear, transform 1s var(--ease); }
.js .is-ready .hero [data-in] { opacity: 1; transform: none; transition-delay: .5s; }
.js .is-ready .hero__title .line > span { transform: none; }
.js .is-ready .hero__title .line:nth-child(2) > span { transition-delay: .12s; }
@media (min-width: 900px) {
  .hero__media video, .hero__still { object-position: 50% 50%; transform-origin: 80% 50%; }
  .hero__still { animation: none; transform: scale(1.14); }
  .hero__media video { transform: scale(1.22); }
  .is-ready .hero__media video { transform: scale(1.14); }
  .hero__scrim { background: linear-gradient(90deg, rgba(28, 6, 4, .78) 0, rgba(28, 6, 4, .25) 58%, rgba(28, 6, 4, .1) 100%), linear-gradient(0deg, rgba(28, 6, 4, .9) 0, rgba(28, 6, 4, 0) 52%), linear-gradient(180deg, rgba(28, 6, 4, .6) 0, rgba(28, 6, 4, 0) 22%); }
  .hero__inner { grid-template-columns: minmax(0, 1fr) 330px; align-items: end; column-gap: 40px; bottom: 64px; }
  .hero__title { font-size: clamp(112px, 11.6vw, 200px); }
  .hero__side { padding-bottom: 10px; }
  .hero__side p { font-size: 20px; }
  .hero__side .btn { width: auto; }
  .hero { min-height: 640px; }
}

/* ---------- 02 бегущая строка ---------- */
.marquee { padding: clamp(22px, 3vw, 40px) 0; overflow: hidden; background: var(--cream); border-bottom: 1px solid var(--hair); }
.marquee__rail { display: flex; font-size: clamp(44px, 6vw, 96px); line-height: 1.02; white-space: nowrap; }
.marquee__track { display: flex; flex: none; animation: marquee 70s linear infinite; }
.marquee__track span { display: inline-flex; align-items: center; }
.marquee__track span::after { content: ""; width: .13em; height: .13em; margin: .1em .4em 0; border-radius: 50%; background: var(--ember); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 03 подход ---------- */
.manifest { padding: clamp(70px, 9vw, 150px) var(--pad) clamp(80px, 10vw, 160px); }
.manifest__text { margin-top: 0; max-width: 17.5em; font-size: clamp(36px, 9.4vw, 54px); font-weight: 400; line-height: 1.06; }
.manifest__rules { margin-top: clamp(56px, 7vw, 110px); display: grid; gap: 26px; }
.manifest__rules article { padding-top: 20px; border-top: 1px solid var(--hair); display: grid; row-gap: 8px; }
.manifest__rules h3 { font: 500 21px/1.25 var(--sans); }
.manifest__rules p { opacity: .82; max-width: 26em; }
.manifest__photo { margin-top: clamp(60px, 8vw, 120px); border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3.4; background: var(--night); }
.manifest__photo img { width: 100%; height: 118%; object-fit: cover; }
@media (min-width: 900px) {
  .manifest__text { font-size: clamp(54px, 5.2vw, 88px); font-weight: 300; }
  .manifest__rules { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .manifest__photo { aspect-ratio: 16 / 7.6; }
}

/* ---------- 04 цифры ---------- */
.facts { position: relative; overflow: hidden; padding: clamp(70px, 9vw, 140px) var(--pad); background: var(--ox); color: var(--cream); display: grid; gap: 50px; }
.facts::before { content: ""; position: absolute; left: -16vmax; bottom: -30vmax; width: 70vmax; height: 70vmax; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 140, 70, .55), rgba(255, 110, 50, .16) 55%, rgba(255, 110, 50, 0) 100%); }
.facts__lead { position: relative; display: grid; gap: 14px; }
.facts__big { font-size: clamp(230px, 62vw, 380px); line-height: .76; margin-left: -.03em; }
.facts p { max-width: 22em; font-size: 17px; line-height: 1.42; }
.facts p strong { display: block; margin-bottom: 4px; font-size: 20px; font-weight: 500; }
.facts__grid { position: relative; display: grid; }
.facts__grid li { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 12px; padding: 22px 0; border-top: 1px solid var(--hair-l); }
.facts__grid b { font-size: 92px; font-weight: 300; line-height: .8; }
@media (min-width: 900px) {
  .facts { grid-template-columns: 1.15fr 1fr; align-items: end; gap: 60px; }
  .facts__lead { grid-template-columns: auto 1fr; align-items: end; gap: 36px; }
  .facts__big { font-size: clamp(340px, 34vw, 600px); }
  .facts__lead p { padding-bottom: 26px; }
  .facts__grid li { grid-template-columns: 130px 1fr; padding: 30px 0; }
  .facts__grid b { font-size: 124px; }
}

/* ---------- 05 с чем приходят ---------- */
.needs { padding: clamp(80px, 10vw, 160px) var(--pad); }
.needs__title { margin-bottom: clamp(30px, 4vw, 56px); }
.needs__list { border-top: 1px solid var(--hair); }
.need { border-bottom: 1px solid var(--hair); }
.need__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; text-align: left; }
.need__q .display { font-size: clamp(30px, 8.2vw, 40px); line-height: 1; transition: opacity .35s linear, transform .6s var(--ease); }
.need__arrow { position: relative; flex: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(55, 8, 8, .28); transition: background-color .3s var(--ease-out), border-color .3s var(--ease-out), color .3s var(--ease-out), transform .6s var(--ease), box-shadow .4s var(--ease-out); }
.need__arrow::before { content: "→"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 18px; line-height: 1; }
.need.is-on .need__arrow { background: var(--ox); border-color: var(--ox); color: var(--cream); transform: rotate(90deg); box-shadow: 0 0 22px rgba(255, 140, 70, .55); }
.need__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.need.is-on .need__a { grid-template-rows: 1fr; }
.need__in { overflow: hidden; min-height: 0; visibility: hidden; transition: visibility 0s linear .6s; }
.need.is-on .need__in { visibility: visible; transition-delay: 0s; }
.need__in > div { display: grid; gap: 12px; justify-items: start; padding: 4px 0 26px; }
.need__in figure { width: 100%; aspect-ratio: 16 / 10; border-radius: 22px; overflow: hidden; background: var(--night); }
.need__in figure img { width: 100%; height: 100%; object-fit: cover; }
.need__in h3 { margin-top: 6px; font-size: clamp(40px, 11vw, 54px); }
.need__in p { font-size: 17px; line-height: 1.42; max-width: 26em; }
.need__in .btn { margin-top: 6px; }
.needs__stage { display: none; }
@media (max-width: 899px) {
  .need__a, .svc__more, .qa__a { display: none; }
}
@media (min-width: 900px) {
  .needs__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 5vw, 90px); align-items: start; }
  .need__a { display: none; }
  .need__q { padding: 15px 0; }
  .need__q .display { font-size: clamp(34px, 2.9vw, 50px); opacity: .38; }
  .need.is-on .need__q .display { opacity: 1; transform: translateX(12px); }
  .need.is-on .need__arrow { transform: none; }
  @media (hover: hover) { .need__q:hover .display { opacity: 1; } }
  .needs__stage { display: block; position: sticky; top: 96px; margin: 0; aspect-ratio: 4 / 5; max-height: calc(100vh - 130px); width: 100%; border-radius: 30px; overflow: hidden; background: var(--night); color: var(--cream); }
  .needs__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .needs__stage figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 140px 36px 34px; display: grid; gap: 14px; justify-items: start; background: linear-gradient(0deg, rgba(20, 4, 2, .94) 0, rgba(20, 4, 2, .62) 48%, rgba(20, 4, 2, 0) 100%); z-index: 3; transition: opacity .2s linear, transform .5s var(--ease); }
  .needs__stage.is-swap figcaption { opacity: 0; transform: translateY(14px); }
  .needs__stage h3 { font-size: clamp(54px, 4.6vw, 84px); }
  .needs__stage p { font-size: 18px; line-height: 1.42; max-width: 24em; opacity: .9; }
  .needs__stage .btn { margin-top: 6px; }
}

@media (min-width: 900px) {
  .needs { padding: clamp(64px, 9vh, 110px) var(--pad); }
  .needs__grid { align-items: stretch; }
  .needs__left { display: flex; flex-direction: column; }
  .needs .needs__title { font-size: clamp(64px, min(6vw, 10vh), 112px); margin-bottom: clamp(22px, 4vh, 44px); }
  .needs__list { margin-top: auto; }
  .need__q { padding: clamp(9px, 1.5vh, 15px) 0; }
  .need__q .display { font-size: clamp(28px, min(2.6vw, 4.4vh), 46px); }
  .needs__stage { position: relative; top: auto; aspect-ratio: auto; max-height: none; min-height: 460px; align-self: stretch; }
}

/* ---------- 06 виды массажа ---------- */
.services { position: relative; padding: clamp(70px, 9vw, 150px) var(--pad) clamp(90px, 11vw, 180px); display: grid; gap: 44px; }
.services__head { display: grid; gap: 22px; align-content: start; min-width: 0; }
.services__list { min-width: 0; }
.svc { border-top: 1px solid var(--hair); }
.svc:last-child { border-bottom: 1px solid var(--hair); }
.svc__top { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) 44px; column-gap: 10px; row-gap: 6px; align-items: center; padding: 20px 0 20px; text-align: left; }
.svc__name { min-width: 0; font-size: clamp(38px, 10.4vw, 56px); line-height: .95; hyphens: auto; overflow-wrap: anywhere; transition: transform .5s var(--ease); }
.svc__for { grid-column: 1 / 2; font-size: 16px; line-height: 1.35; opacity: .8; }
.svc__pills { grid-column: 1 / 2; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.svc__pills i { white-space: nowrap; font-style: normal; font-size: 14px; line-height: 1; padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(55, 8, 8, .26); }
.svc__price { grid-column: 1 / 2; font-size: 15px; opacity: .7; white-space: nowrap; }
.svc__plus { grid-column: 2; grid-row: 2; position: relative; }
.svc__plus::before, .svc__plus::after, .qa__q i::before, .qa__q i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -.75px 0 0 -7px; background: currentColor; transition: transform .4s var(--ease); }
.svc__plus::after, .qa__q i::after { transform: rotate(90deg); }
.svc.is-open .svc__plus, .qa.is-open .qa__q i { background: var(--ox); color: var(--cream); border-color: var(--ox); }
.svc.is-open .svc__plus::after, .qa.is-open .qa__q i::after { transform: rotate(0); }
.svc__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.svc.is-open .svc__more { grid-template-rows: 1fr; }
.svc__in { overflow: hidden; min-height: 0; display: grid; gap: 22px; visibility: hidden; transition: visibility 0s linear .6s; }
.svc.is-open .svc__in { visibility: visible; transition-delay: 0s; }
.svc__in > * { opacity: 0; transform: translateY(14px); transition: opacity .3s linear, transform .6s var(--ease); }
.svc.is-open .svc__in > * { opacity: 1; transform: none; transition-delay: .12s; }
.svc__in figure { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--night); }
.svc__in figure img { width: 100%; height: 100%; object-fit: cover; }
.svc__in > div { display: grid; gap: 18px; padding-bottom: 30px; }
.svc__in p { font-size: 18px; line-height: 1.4; max-width: 26em; }
.svc__in dl { display: grid; grid-template-columns: 130px 1fr; gap: 10px 14px; padding: 16px 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.svc__in dt { font-size: 15px; font-weight: 500; padding-top: 2px; }
.svc__in .btn { justify-self: start; }
.svc-preview { display: none; }
@media (min-width: 900px) {
  .services { grid-template-columns: repeat(12, 1fr); column-gap: 20px; }
  .services__head { grid-column: 1 / span 5; position: sticky; top: 120px; align-self: start; }
  .services__head .lead { max-width: 17em; }
  .services__head .display { font-size: clamp(84px, 7.6vw, 128px); } /* «Пять видов» не упирается в список */
  .services__list { grid-column: 6 / -1; }
  .svc__top { grid-template-columns: minmax(0, 1fr) auto 44px; column-gap: 18px; padding: 26px 0 24px; }
  .svc__name { grid-column: 1; grid-row: 1; font-size: clamp(46px, 4.3vw, 72px); hyphens: manual; overflow-wrap: normal; }
  .svc__for { grid-column: 1; grid-row: 2; }
  .svc__pills { grid-column: 2; grid-row: 1; margin: 0; flex-wrap: nowrap; justify-content: flex-end; }
  .svc__price { grid-column: 2; grid-row: 2; text-align: right; }
  .svc__plus { grid-column: 3; grid-row: 1; }
  .svc__in { grid-template-columns: 240px 1fr; gap: 34px; }
  .svc__in figure { aspect-ratio: 4 / 5; margin-bottom: 34px; }
  /* внешний слой только следует за курсором (без transition), внутренний — форма облачка, появление и масштаб */
  .svc-preview { display: block; position: fixed; z-index: 30; left: -115px; top: -145px; width: 230px; height: 290px; pointer-events: none; will-change: transform; transform: translate3d(var(--px, -999px), var(--py, -999px), 0); }
  .svc-preview__in { width: 100%; height: 100%; border-radius: 46% 54% 44% 56% / 52% 44% 56% 48%; overflow: hidden; -webkit-mask-image: -webkit-radial-gradient(white, black); background: var(--night); opacity: 0; transform: scale(.7); transition: opacity .25s linear, transform .5s var(--ease), border-radius 1s var(--ease); }
  .svc-preview.is-on .svc-preview__in { opacity: 1; transform: none; }
  .svc-preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
  @media (hover: hover) { .svc:not(.is-open) .svc__top:hover .svc__name { transform: translateX(14px); } .svc__top:hover .svc__plus { background: var(--ox); color: var(--cream); border-color: var(--ox); } }
}

/* ---------- 07 техники ---------- */
.tools { position: relative; padding: clamp(80px, 10vw, 150px) 0 clamp(64px, 8vw, 120px); background: var(--night); color: var(--cream); overflow: hidden; }
.tools__head { padding: 0 var(--pad); display: grid; gap: 22px; }
.tools__intro { display: grid; gap: 22px; }
.tools__index { display: none; }
.tools__row { margin-top: 36px; display: flex; gap: 12px; padding: 0 var(--pad); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--pad); scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.tools__row::-webkit-scrollbar { display: none; }
.tool { position: relative; flex: 0 0 84%; scroll-snap-align: start; scroll-snap-stop: always; display: grid; grid-template-rows: auto auto; border-radius: 26px; overflow: hidden; background: var(--cream); color: var(--ox); }
.tool__still, .tool__use { grid-area: 1 / 1; margin: 0; aspect-ratio: 4 / 4.2; overflow: hidden; background: #000; transition: opacity .7s linear; }
.tool__still img, .tool__use img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.tool__use { opacity: 0; }
.tool.is-use .tool__use { opacity: 1; }
.tool.is-use .tool__use img { transform: scale(1.04); }
.tool__card { display: none; }
.tool__card h3 { font-size: clamp(46px, min(4.4vw, 7.6vh), 68px); line-height: .95; }
.tool__one { margin-top: 12px; font-size: 18px; line-height: 1.4; }
.tool__facts { margin-top: clamp(14px, 2.8vh, 26px); border-top: 1px solid var(--hair); }
.tool__facts > div { display: grid; grid-template-columns: 124px 1fr; gap: 14px; padding: clamp(9px, 1.5vh, 14px) 0; border-bottom: 1px solid var(--hair); }
.tool__facts dt { font-size: 14px; font-weight: 500; opacity: .58; padding-top: 2px; line-height: 1.35; }
.tool__facts dd { font-size: 16px; line-height: 1.4; }
.tool__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tool__tags a { display: inline-flex; align-items: center; height: 32px; padding: 0 13px; border-radius: 999px; border: 1px solid rgba(55, 8, 8, .3); font-size: 14.5px; line-height: 1; transition: background-color .2s var(--ease-out), color .2s var(--ease-out), border-color .2s var(--ease-out); }
@media (hover: hover) { .tool__tags a:hover { background: var(--ox); border-color: var(--ox); color: var(--cream); } }
.tool__foot { margin-top: auto; padding-top: 18px; }
/* телефон: карты техник складываются в стопку при прокрутке — следующая наезжает на предыдущую,
   от накрытых остаются полоски с названиями; встала на место — фото сменяется на «в работе» */
@media (max-width: 899px) {
  .tools { overflow: visible; }
  .tools__row { --st: 76px; --strip: 60px; --ph: 250px; --ph: clamp(120px, calc(100vh - 410px), 250px); --ph: clamp(120px, calc(100svh - 410px), 250px);
    display: block; margin-top: 32px; overflow: visible; scroll-snap-type: none; }
  .tool { position: sticky; top: calc(var(--st) + var(--i, 0) * var(--strip)); display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: none; margin-bottom: 14px;
    border-radius: 24px; overflow: hidden; background: #2b0a08; color: var(--cream); transform-origin: 50% 0; will-change: transform;
    box-shadow: 0 -16px 36px -20px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 249, 235, .08); }
  .tool:last-child { margin-bottom: 0; }
  .tool::before { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; background: #0b0201; opacity: var(--shade, 0); pointer-events: none; }
  .tool::after { content: attr(data-n); grid-row: 1; grid-column: 2; align-self: center; padding: 2px 22px 0 12px; font: 500 14px/1 var(--sans); opacity: .5; }
  .tool__card { display: contents; }
  .tool__card h3 { grid-row: 1; grid-column: 1; display: flex; align-items: center; min-width: 0; height: var(--strip); padding: 3px 0 0 20px; font-size: 34px; line-height: 1; white-space: nowrap; }
  .tool__still, .tool__use { grid-row: 2; grid-column: 1 / -1; height: var(--ph); aspect-ratio: auto; margin: 0 8px; border-radius: 18px; }
  .tool__one { grid-row: 3; grid-column: 1 / -1; margin: 0; padding: 16px 20px 0; font-size: 17px; line-height: 1.38; }
  .tool__facts { grid-row: 4; grid-column: 1 / -1; margin: 0; padding: 6px 20px 0; border: 0; }
  .tool__facts > div { display: none; }
  .tool__facts > div:nth-child(2) { display: block; padding: 0; border: 0; }
  .tool__facts dt { display: none; }
  .tool__facts dd { font-size: 15px; line-height: 1.4; opacity: .68; }
  .tool__foot { grid-row: 5; grid-column: 1 / -1; margin: 0; padding: 16px 20px 18px; }
  .tool__foot .btn { --bg: var(--cream); --fg: var(--ox); --b: var(--cream); }
}
@keyframes toolPhoto { from { transform: scale(1.06); } }
@keyframes toolText { from { opacity: 0; transform: translateY(14px); } }
/* компьютер: предмет · в работе · карточка; техники сменяются при прокрутке, указатель над блоком */
@media (min-width: 900px) {
  .tools__head { grid-template-columns: 1fr auto; align-items: end; column-gap: 40px; }
  .tools__intro .lead { max-width: 21em; }
  .tools__index { display: flex; gap: clamp(18px, 2vw, 32px); padding-bottom: 8px; }
  .tools__index button { display: grid; gap: 12px; min-width: clamp(118px, 10.5vw, 168px); text-align: left; font-size: 16px; font-weight: 500; opacity: .5; transition: opacity .3s var(--ease-out); }
  .tools__index button.is-on { opacity: 1; }
  @media (hover: hover) { .tools__index button:hover { opacity: 1; } }
  .tools__index i { position: relative; display: block; height: 2px; border-radius: 2px; background: rgba(255, 249, 235, .18); overflow: hidden; }
  .tools__index i::after { content: ""; position: absolute; inset: 0; background: var(--peach); box-shadow: 0 0 10px var(--ember); transform-origin: 0 50%; transform: scaleX(var(--f, 0)); }
  .tools__row { margin-top: 48px; display: grid; grid-template-columns: minmax(0, .47fr) minmax(0, 1fr) minmax(380px, .74fr); gap: 14px; height: min(72vh, 680px); min-height: 460px; overflow: visible; scroll-snap-type: none; }
  .tools__row::before { content: ""; grid-column: 3; grid-row: 1; border-radius: 28px; background: var(--cream); }
  .tool { grid-column: 1 / -1; grid-row: 1; display: grid; grid-template-columns: subgrid; grid-template-rows: none; border-radius: 0; overflow: visible; background: none; opacity: 0; visibility: hidden; z-index: 0; transition: opacity .6s linear, visibility 0s linear .6s; }
  .tool.is-on { opacity: 1; visibility: visible; z-index: 2; transition: opacity .6s linear, visibility 0s; }
  .tool.is-prev { opacity: 1; visibility: visible; z-index: 1; transition: none; }
  .tool__still, .tool__use { grid-area: auto; grid-row: 1; aspect-ratio: auto; height: 100%; border-radius: 28px; opacity: 1; }
  .tool__still { grid-column: 1; }
  .tool__use { grid-column: 2; }
  .tool__still img { object-position: 35% 60%; }
  .tool.is-on .tool__still img, .tool.is-on .tool__use img { animation: toolPhoto 1.3s var(--ease) both; }
  .tool__card { grid-column: 3; grid-row: 1; display: flex; flex-direction: column; min-height: 0; overflow: hidden; padding: clamp(24px, 3.6vh, 34px) clamp(26px, 2.4vw, 36px); color: var(--ox); }
  .tool.is-on .tool__card > * { animation: toolText .7s var(--ease) both; }
  .tool.is-on .tool__card > :nth-child(2) { animation-delay: .06s; }
  .tool.is-on .tool__card > :nth-child(3) { animation-delay: .12s; }
  .tool.is-on .tool__card > :nth-child(4) { animation-delay: .18s; }
  /* прокрутка: блок встаёт на место, техники сменяют друг друга */
  .js .tools { height: 270vh; padding: 0; overflow: visible; }
  .js .tools__pin { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: clamp(84px, 11vh, 120px) 0 clamp(22px, 4vh, 44px); }
  .js .tools__row { flex: 0 1 auto; height: auto; min-height: 0; margin-top: clamp(20px, 3.6vh, 44px); flex-basis: min(64vh, 660px); }
  .js .tools__intro h2 { font-size: clamp(56px, min(6.2vw, 10.6vh), 112px); }
}
@media (min-width: 900px) and (max-height: 760px) { .tool__one { display: none; } .tool__facts dd { font-size: 15px; } }
@media (prefers-reduced-motion: reduce) { .tool.is-on .tool__card > *, .tool.is-on .tool__still img, .tool.is-on .tool__use img { animation: none; } }

/* «Не только руки», компьютер: колода фото + названия с номерами снизу, всё по нижнему краю */
.tdk { display: none; }
@media (min-width: 900px) {
  .js .tools { height: 320vh; }
  .js .tools__head, .js .tools__row { display: none; }
  /* на высоком экране композиция не растягивается по высоте, а стоит по центру */
  .js .tools__pin { display: flex; flex-direction: column; justify-content: center; }
  .js .tdk { flex: none; height: 100%; max-height: 820px; display: grid; grid-template-columns: minmax(330px, .9fr) minmax(0, 1.3fr) minmax(340px, 380px); column-gap: clamp(24px, 2.8vw, 48px); padding: 0 var(--pad); }
  .tdk__side { display: flex; flex-direction: column; min-height: 0; }
  .tdk__side h2 { font-size: clamp(56px, min(5.4vw, 9.6vh), 100px); }
  .tdk__side .lead { margin-top: 24px; max-width: 17em; }
  .tdk__list { margin-top: auto; display: grid; justify-items: start; }
  .tdk__list button { display: flex; align-items: flex-start; gap: 12px; font-family: var(--serif); font-stretch: 62.5%; font-weight: 300; font-size: clamp(34px, min(3.1vw, 5.4vh), 52px); line-height: 1.08; letter-spacing: -.01em; white-space: nowrap; opacity: .3; will-change: opacity; transition: opacity .2s linear; }
  .tdk__list button span { margin-top: .32em; min-width: 22px; font: 500 14px/1 var(--sans); letter-spacing: 0; }
  .tdk__list button.is-on span { color: var(--peach); }
  @media (hover: hover) { .tdk__list button:hover { opacity: .8 !important; } }
  /* одно фото на технику: новое проявляется снизу вверх поверх прежнего, внутри одной рамки */
  .tdk__stage { position: relative; align-self: end; height: min(100%, 680px); border-radius: 28px; overflow: hidden; background: #120302; isolation: isolate; }
  .tdk__ph { position: absolute; inset: 0; will-change: clip-path; }
  .tdk__ph img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 60%; will-change: transform; }
  .tdk__card { align-self: end; height: min(100%, 680px); max-height: 100%; border-radius: 28px; background: var(--cream); color: var(--ox); overflow: hidden; display: flex; flex-direction: column; padding: clamp(26px, 3.8vh, 36px) clamp(26px, 2.4vw, 36px); }
  .tdk__one, .tdk__facts dd { display: grid; }
  .tdk__one > span, .tdk__facts dd > span { grid-area: 1 / 1; will-change: transform, opacity; }
  .tdk__one { font-size: clamp(32px, min(2.9vw, 4.8vh), 44px); line-height: 1.02; }
  .tdk__facts { margin-top: clamp(16px, 3vh, 30px); border-top: 1px solid var(--hair); }
  .tdk__facts > div { display: grid; grid-template-columns: 124px 1fr; gap: 14px; padding: clamp(10px, 1.7vh, 16px) 0; border-bottom: 1px solid var(--hair); }
  .tdk__facts dt { font-size: 14px; font-weight: 500; opacity: .58; padding-top: 2px; line-height: 1.35; }
  .tdk__facts dd { font-size: 16px; line-height: 1.4; }
  .tdk__facts .tool__tags { align-content: start; }
  .tdk__foot { margin-top: auto; padding-top: 18px; }
}
/* узкий компьютер и невысокое окно: колонки уже, карточка плотнее — кнопка записи всегда видна */
@media (min-width: 900px) and (max-width: 1199px) {
  .js .tdk { grid-template-columns: minmax(250px, .8fr) minmax(0, 1.25fr) minmax(290px, 330px); column-gap: 24px; }
  .tdk__side h2 { font-size: clamp(48px, 5vw, 64px); }
  .tdk__side .lead { font-size: 16px; }
  .tdk__list button { font-size: clamp(30px, 3.2vw, 40px); }
}
@media (min-width: 900px) and (max-height: 760px) {
  .tdk__card { padding: 20px 22px; }
  .tdk__one { font-size: clamp(24px, 4vh, 32px); }
  .tdk__facts { margin-top: 12px; }
  .tdk__facts > div { grid-template-columns: 104px 1fr; gap: 10px; padding: 7px 0; }
  .tdk__facts dt { font-size: 12.5px; }
  .tdk__facts dd { font-size: 14px; line-height: 1.35; }
  .tdk__facts .tool__tags a { height: 26px; padding: 0 10px; font-size: 13px; }
  .tdk__foot { padding-top: 12px; }
}

/* ---------- 08 как проходит сеанс ---------- */
/* закреплённая сцена: внизу ось с четырьмя шагами, за ней фото каждого шага; шаги загораются по очереди */
.process { position: relative; background: var(--night); color: var(--cream); }
.js .process { height: 230vh; height: 230svh; }
.process__pin { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; }
.js .process__pin { position: sticky; top: 0; }
.process__media { position: absolute; inset: 0; }
.process__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s linear; }
.process__media img.is-on { opacity: 1; }
.process__media--d { display: none; }
.process__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28, 6, 4, .9) 0, rgba(28, 6, 4, .5) 20%, rgba(28, 6, 4, .08) 34%, rgba(28, 6, 4, .12) 48%, rgba(28, 6, 4, .84) 62%, rgba(28, 6, 4, .97) 74%); }
.process__title { position: absolute; left: var(--pad); top: clamp(92px, 12vh, 112px); font-size: clamp(50px, 14vw, 62px); }
.process__band { --gap: 0px; position: absolute; left: var(--pad); right: var(--pad); top: min(56%, calc(100% - 330px)); }
.process__axis { position: absolute; left: 22px; right: 22px; top: 21px; height: 2px; }
.process__axis::before { content: ""; position: absolute; left: 0; right: 0; top: .5px; border-top: 1px dashed rgba(255, 249, 235, .42); }
.process__fill { position: absolute; left: 0; top: 0; height: 2px; width: 0; border-radius: 2px; background: var(--peach); box-shadow: 0 0 14px var(--ember), 0 0 3px var(--peach); }
.process__steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); column-gap: var(--gap); }
.node { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font: 500 16px/1 var(--sans); font-style: normal; background: #200805; color: rgba(255, 249, 235, .55); border: 1px solid rgba(255, 249, 235, .4); transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease); }
.is-done > .node, .is-on > .node { background: var(--cream); color: var(--ox); border-color: var(--cream); }
.is-on > .node { box-shadow: 0 0 0 6px rgba(255, 249, 235, .14), 0 0 30px rgba(255, 150, 80, .7); }
.pill { display: inline-flex; align-items: center; height: 30px; padding: 0 13px; border-radius: 999px; border: 1px solid rgba(255, 249, 235, .45); font-size: 13.5px; line-height: 1; white-space: nowrap; }
.process__cap h3 { font-size: 44px; font-weight: 400; }
.process__cap p { margin-top: 10px; font-size: 16.5px; line-height: 1.45; max-width: 21em; opacity: .9; }
.process__cap .pill { margin-top: 14px; }
.process__ph { display: none; }
/* телефон: шаги идут сверху вниз, как обычная лента; линия растёт вниз вместе с прокруткой, кружки загораются по очереди */
@media (max-width: 899px) {
  .js .process { height: auto; }
  .process { padding: clamp(84px, 22vw, 110px) var(--pad) 72px; }
  .process__pin, .js .process__pin { position: relative; height: auto; min-height: 0; overflow: visible; }
  .process__media, .process__veil { display: none; }
  .process__title { position: static; }
  .process__band { position: relative; left: auto; right: auto; top: auto; margin-top: 40px; }
  .process__axis { left: 21px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto; }
  .process__axis::before { left: .5px; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 1px dashed rgba(255, 249, 235, .42); }
  .process__fill { width: 2px; height: 0; }
  .process__steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .process__steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; align-items: start; }
  .process__ph { display: block; grid-column: 2; grid-row: 1; aspect-ratio: 16 / 11; border-radius: 22px; overflow: hidden; background: #120302; transition: opacity .5s linear; }
  .process__ph img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
  .node { grid-column: 1; grid-row: 1; }
  .process__cap { grid-column: 2; margin-top: 16px; transition: opacity .5s linear; }
  .process__cap h3 { font-size: 40px; }
  .process__steps li.is-future .process__ph, .process__steps li.is-future .process__cap { opacity: .5; }
}
@media (min-width: 900px) {
  .js .process { height: 220vh; }
  .process__pin { min-height: 600px; }
  .process__media--d { display: block; }
  .process__media--m { display: none; }
  .process__veil { background: linear-gradient(180deg, rgba(28, 6, 4, .92) 0, rgba(28, 6, 4, .45) 28%, rgba(28, 6, 4, .18) 46%, rgba(28, 6, 4, .78) 66%, rgba(28, 6, 4, .97) 84%), linear-gradient(90deg, rgba(28, 6, 4, .5) 0, rgba(28, 6, 4, 0) 46%); }
  .process__title { top: max(112px, 13.5vh); font-size: clamp(56px, min(6.2vw, 10.5vh), 116px); }
  .process__band { --gap: clamp(24px, 2.6vw, 44px); top: auto; bottom: max(40px, 6vh); }
  .process__steps li { position: relative; }
  .process__cap { padding-top: clamp(18px, 3vh, 30px); }
  .process__cap h3 { font-size: clamp(34px, min(3vw, 5.2vh), 50px); transition: opacity .5s linear; }
  .process__cap p { font-size: 16px; max-width: 17.5em; opacity: .86; transition: opacity .5s linear, transform .7s var(--ease); }
  .process__cap .pill { transition: opacity .5s linear, transform .7s var(--ease); }
  .process__steps li.is-future .process__cap h3 { opacity: .3; }
  .process__steps li.is-future .process__cap p, .process__steps li.is-future .process__cap .pill { opacity: 0; transform: translateY(12px); }
  .process__steps li.is-done .process__cap p { opacity: .62; }
  .process__steps li.is-done .process__cap .pill { opacity: .7; }
}
@media (prefers-reduced-motion: reduce) { .process__media img, .process__cap, .process__cap * { transition: none !important; } }

/* ---------- 09 о мастере ---------- */
.about { position: relative; padding: clamp(80px, 10vw, 150px) var(--pad); }
.about__media { display: none; }
.about__story { display: grid; gap: 14px; }
.chapter { position: relative; border-radius: 28px; overflow: hidden; background: var(--night); color: var(--cream); }
.chapter figure { aspect-ratio: 4 / 5; }
.chapter figure img { width: 100%; height: 100%; object-fit: cover; }
.chapter__text { position: absolute; left: 0; right: 0; bottom: 0; padding: 120px 24px 26px; display: grid; gap: 12px; justify-items: start; background: linear-gradient(0deg, rgba(20, 4, 2, .94) 0, rgba(20, 4, 2, .6) 52%, rgba(20, 4, 2, 0) 100%); }
.chapter h2.display { font-size: clamp(60px, 16vw, 84px); }
.chapter__text > p:not(.display) { font-size: 17px; opacity: .9; }
.chapter__line { font-size: clamp(34px, 9.2vw, 46px); font-weight: 400; line-height: 1.02; max-width: 11em; }
.chapter .btn { --bg: var(--cream); --fg: var(--ox); --b: var(--cream); margin-top: 6px; }
@media (max-width: 899px) {
  .about__story { gap: 0; }
  .chapter { position: sticky; top: calc(18px + var(--k, 0) * 14px); margin-bottom: 20px; transform-origin: 50% 0; box-shadow: 0 -18px 40px -24px rgba(20, 4, 2, .6); will-change: transform; }
  .chapter:nth-child(2) { --k: 1; }
  .chapter:nth-child(3) { --k: 2; }
  .chapter:nth-child(4) { --k: 3; margin-bottom: 0; }
  .chapter figure { aspect-ratio: 4 / 4.7; }
  .chapter figure img { transform: scale(1.08); transition: transform 1.6s var(--ease); }
  .chapter.is-in figure img { transform: none; }
  .chapter__dim { position: absolute; inset: 0; z-index: 1; background: #120302; opacity: 0; pointer-events: none; }
  .chapter__text { z-index: 2; }
}
@media (min-width: 900px) {
  .chapter__dim { display: none; }
  .about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); padding-top: 0; padding-bottom: 0; }
  .about__media { display: flex; align-items: center; position: sticky; top: 0; height: 100vh; }
  .about__media::before { content: ""; position: absolute; left: -18%; bottom: 4%; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, #ffb27a 0, rgba(255, 170, 110, .5) 45%, rgba(255, 190, 150, 0) 100%); will-change: transform; animation: breathe 7s ease-in-out infinite alternate; }
  .about__frame { position: relative; width: 100%; aspect-ratio: 4 / 5; max-height: 80vh; border-radius: 30px; overflow: hidden; background: var(--night); }
  .about__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .8s linear, transform 1.6s var(--ease); }
  .about__frame img.is-on { opacity: 1; transform: none; }
  .about__story { gap: 0; }
  .chapter { min-height: 62vh; display: flex; align-items: center; border-radius: 0; overflow: visible; background: none; color: var(--ox); }
  .chapter:first-child { min-height: 86vh; }
  .chapter:last-child { min-height: 86vh; }
  .chapter figure { display: none; }
  .chapter__text { position: static; padding: 0; gap: 22px; background: none; }
  .chapter h2.display { font-size: clamp(110px, 9.6vw, 170px); }
  .chapter__text > p:not(.display) { font-size: 21px; opacity: .85; }
  .chapter__line { font-size: clamp(56px, 4.8vw, 88px); font-weight: 300; line-height: 1; }
  .chapter .btn { --bg: var(--ox); --fg: var(--cream); --b: var(--ox); }
}
@keyframes breathe { to { transform: scale(1.12) translate(3%, -3%); } }

/* ---------- 10 отзывы ---------- */
.reviews { padding: 0 0 clamp(80px, 10vw, 160px); }
.reviews__head { padding: 0 var(--pad); display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.reviews__nav { display: flex; gap: 8px; }
.reviews__head { align-items: flex-end; }
.rate { display: flex; align-items: flex-end; gap: 12px; padding-bottom: 6px; }
.rate b { font-size: 46px; font-weight: 300; line-height: .8; }
.rate > span { display: grid; gap: 6px; padding-bottom: 2px; font-size: 13.5px; font-weight: 500; line-height: 1.2; }
.rate em { font-style: normal; white-space: nowrap; }
.rate em + em { display: none; }
.rate__stars { width: 74px; height: 14px; fill: #d97a2b; }
.rate__84 { display: none; }
@media (hover: hover) { .rate:hover em { text-decoration: underline; text-underline-offset: 3px; } }
@media (min-width: 900px) {
  .rate { gap: 16px; padding-bottom: 14px; }
  .rate b { font-size: 96px; }
  .rate > span { font-size: 15px; gap: 7px; }
  .rate__stars { width: 86px; height: 16px; }
  .rate em + em { display: block; opacity: .7; }
  .rate__84 { display: inline; }
}
.reviews__track { margin-top: 26px; display: flex; gap: 14px; padding: 0 var(--pad); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-padding: 0 var(--pad); }
.reviews__track::-webkit-scrollbar { display: none; }
.review { flex: 0 0 min(860px, 88%); scroll-snap-align: start; display: grid; gap: 18px; padding: 14px 14px 22px; border-radius: 32px; background: var(--beige); }
.review img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 22px; }
.review__say { font-size: clamp(28px, 7.6vw, 36px); font-weight: 400; line-height: 1.03; padding: 0 8px; text-wrap: balance; }
.review figcaption { padding: 0 8px; display: grid; gap: 8px; justify-items: start; font-size: 15px; }
.review figcaption > span { opacity: .75; }
.review__more { margin-top: 4px; font-size: 16px; font-weight: 500; text-decoration: underline; text-decoration-color: rgba(55, 8, 8, .3); text-underline-offset: 4px; transition: text-decoration-color .2s var(--ease-out); }
@media (hover: hover) { .review__more:hover { text-decoration-color: currentColor; } }
.review__stars { width: 86px; height: 16px; fill: #d97a2b; }
@media (min-width: 900px) {
  /* текст отзыва по центру высоты фото */
  .review { flex-basis: min(820px, 84%); grid-template-columns: 220px 1fr; grid-template-rows: 1fr auto auto 1fr; column-gap: 40px; row-gap: 0; padding: 20px 48px 20px 20px; }
  .review img { grid-row: 1 / 5; aspect-ratio: 4 / 5; }
  .review__say { grid-column: 2; grid-row: 2; font-size: clamp(32px, 2.8vw, 44px); font-weight: 300; }
  .review figcaption { grid-column: 2; grid-row: 3; margin-top: 18px; }
}

.reviews__foot { margin-top: 18px; padding: 0 var(--pad); display: flex; align-items: center; gap: 16px; }
.reviews__prog { position: relative; flex: 1; max-width: 360px; height: 2px; border-radius: 2px; background: rgba(55, 8, 8, .14); overflow: hidden; }
.reviews__prog::after { content: ""; position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--p, .33)); background: var(--ox); transition: transform .5s var(--ease); }
.reviews__foot [data-rev-count] { font-size: 15px; font-weight: 500; min-width: 3em; }
.reviews__foot .reviews__nav { display: none; margin-left: 6px; }
@media (min-width: 900px) {
  .reviews__foot { margin-top: 26px; }
  .reviews__foot .reviews__nav { display: flex; }
}

/* ---------- 10б абонементы: три карты-предмета ---------- */
.plans { padding: 0 var(--pad) clamp(90px, 11vw, 170px); }
.plans__head { display: grid; gap: 16px; }
.plans__head .lead { max-width: 21em; }
.plans__cards { margin-top: 30px; display: grid; gap: 14px; }
.plan { min-width: 0; }
.plan__card { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name name" "cost btn"; align-items: end; row-gap: 30px; column-gap: 14px;
  padding: 22px 22px 22px 24px; border-radius: 26px; text-align: left;
  box-shadow: 0 1px 2px rgba(55, 8, 8, .08), 0 26px 44px -30px rgba(55, 8, 8, .5); }
.plan__bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.plan--paper { background: var(--beige); color: var(--ox); }
.plan--ox { color: var(--cream); background:
  radial-gradient(110% 80% at 100% 108%, rgba(255, 138, 74, .9), rgba(255, 138, 74, .25) 42%, rgba(255, 138, 74, 0) 70%),
  linear-gradient(165deg, #4b0d0b, var(--ox) 58%); }
.plan--stone { background: #1d1613; color: var(--cream); }
.plan--stone .plan__bg { filter: brightness(.86); }
.plan__name { grid-area: name; display: flex; align-items: baseline; gap: 12px; font: inherit; }
.plan__num { font-size: 104px; line-height: .78; }
.plan__unit { font-size: 18px; line-height: 1.2; }
.plan__name--gift { display: grid; gap: 10px; }
.plan__name--gift .plan__num { font-size: 72px; line-height: .92; }
.plan__name--gift .plan__unit { opacity: .85; }
.plan__cost { grid-area: cost; display: grid; gap: 6px; }
.plan__price { font-size: 44px; line-height: .9; white-space: nowrap; }
.plan__per { font-size: 14.5px; opacity: .78; }
.plan__btn { grid-area: btn; height: 46px; padding: 0 20px 0 16px; font-size: 15px; }
.plan--paper .plan__btn { --b: rgba(55, 8, 8, .45); }
.plan__stamp { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: var(--cream); color: var(--ox);
  font-size: 30px; line-height: 1; transform: rotate(-8deg); box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .5); }
.plan--paper .plan__stamp { background: var(--ox); color: var(--cream); }
.plans__dots { display: none; }
/* телефон: карты листаются пальцем, соседняя видна краем; открывается на «10 сеансах» (скрипт) */
@media (max-width: 899px) {
  /* нижний отступ — под тень карт, иначе прокрутка её обрезает */
  .plans__cards { display: flex; gap: 12px; margin: 22px calc(var(--edge) * -1) 0; padding: 14px var(--edge) 56px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding: 0 var(--edge); scrollbar-width: none; }
  .plans__cards::-webkit-scrollbar { display: none; }
  .plan { flex: 0 0 min(80%, 340px); display: flex; scroll-snap-align: center; scroll-snap-stop: always; }
  .plan__card { flex: 1; min-height: 390px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "name" "cost" "btn"; grid-template-rows: 1fr auto auto;
    justify-items: center; align-items: start; row-gap: 0; padding: 34px 20px 24px; border-radius: 28px; text-align: center; }
  .plan__name { flex-direction: column; align-items: center; gap: 10px; }
  .plan__num { font-size: 120px; }
  .plan__stamp { top: 12px; right: 12px; width: 64px; height: 64px; font-size: 26px; }
  .plan__name--gift { margin-top: 26px; gap: 14px; }
  .plan__name--gift .plan__num { font-size: 66px; }
  .plan__cost { justify-items: center; gap: 8px; margin: 22px 0 22px; }
  .plan__price { font-size: 50px; }
  .plan__btn { min-width: min(100%, 210px); height: 50px; }
  .plans__dots { display: flex; justify-content: center; gap: 8px; margin-top: -32px; }
  .plans__dots i { width: 22px; height: 3px; border-radius: 2px; background: rgba(55, 8, 8, .16); transition: background .3s var(--ease-out), width .4s var(--ease); }
  .plans__dots i.is-on { width: 34px; background: var(--ox); }
  .plans__note { text-align: center; }
}
.plans__note { margin-top: 22px; font-size: 15px; opacity: .65; }

@media (min-width: 900px) {
  .plans__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
  .plans__head .lead { padding-bottom: 14px; text-align: right; max-width: 24em; }
  /* средняя карта крупнее и приподнята, как в концепте */
  .plans__cards { margin: clamp(44px, 5vw, 76px) auto 0; max-width: 1360px; grid-template-columns: 1fr 1.08fr 1fr; gap: clamp(16px, 2vw, 32px); align-items: end; }
  .plan--main { margin-bottom: clamp(-18px, -1.2vw, -10px); }
  .plan__card { grid-template-columns: 1fr; grid-template-areas: "name" "cost" "btn"; grid-template-rows: 1fr auto auto; justify-items: center; align-items: start; row-gap: 0;
    min-height: clamp(470px, 40vw, 610px); padding: clamp(36px, 3.4vw, 54px) 28px clamp(28px, 2.6vw, 40px); border-radius: 30px; text-align: center;
    transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
  .plan--main .plan__card { min-height: clamp(530px, 45vw, 680px); }
  .plan__name { flex-direction: column; align-items: center; gap: 14px; }
  .plan__num { font-size: clamp(150px, 15vw, 250px); }
  .plan__unit { font-size: 22px; }
  .plan__name--gift { margin-top: clamp(36px, 3.6vw, 60px); gap: 22px; }
  .plan__name--gift .plan__num { font-size: clamp(76px, 6.2vw, 108px); line-height: .9; }
  .plan__cost { justify-items: center; gap: 10px; margin-bottom: clamp(28px, 2.6vw, 40px); }
  .plan__price { font-size: clamp(64px, 5.6vw, 96px); }
  .plan__per { font-size: 17px; }
  .plan__btn { height: 54px; min-width: min(100%, 240px); padding: 0 28px 0 22px; font-size: 16px; }
  .plan__stamp { top: clamp(14px, 1.3vw, 20px); right: clamp(14px, 1.3vw, 20px); width: clamp(74px, 6.1vw, 96px); height: clamp(74px, 6.1vw, 96px); font-size: clamp(28px, 2.3vw, 38px); }
  .plans__note { margin-top: clamp(30px, 3vw, 44px); text-align: center; }
  /* живая карта: наклон за курсом и блик (включает скрипт) */
  .plan__card::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none; opacity: 0;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 30%), rgba(255, 236, 210, .34), rgba(255, 236, 210, 0) 60%); mix-blend-mode: soft-light; transition: opacity .5s var(--ease-out); }
  .plan__card.is-tilt { transition: transform .18s linear, box-shadow .6s var(--ease); box-shadow: 0 1px 2px rgba(55, 8, 8, .08), 0 44px 60px -34px rgba(55, 8, 8, .6); }
  .plan__card.is-tilt::after { opacity: 1; }
}

/* ---------- 11 вопросы ---------- */
.faq { padding: clamp(20px, 3vw, 40px) var(--pad) clamp(100px, 12vw, 190px); display: grid; gap: 40px; }
.faq__head { display: grid; gap: 22px; align-content: start; justify-items: start; }
.qa { border-top: 1px solid var(--hair); }
.qa:last-child { border-bottom: 1px solid var(--hair); }
.qa__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 0; text-align: left; font: 500 clamp(19px, 1.7vw, 24px)/1.25 var(--sans); cursor: pointer; }
.qa__q i { position: relative; transition: background-color .3s var(--ease-out), color .3s var(--ease-out), border-color .3s var(--ease-out); }
@media (hover: hover) { .qa:not(.is-open) .qa__q:hover i { background: rgba(55, 8, 8, .08); } }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.qa.is-open .qa__a { grid-template-rows: 1fr; }
.qa__in { overflow: hidden; min-height: 0; }
.qa__in p { padding: 0 60px 24px 0; font-size: 17px; line-height: 1.5; max-width: 34em; opacity: 0; transform: translateY(-6px); transition: opacity .3s linear, transform .55s var(--ease); }
.qa.is-open .qa__in p { opacity: .85; transform: none; transition-delay: .08s; }
@media (min-width: 900px) {
  .faq { grid-template-columns: repeat(12, 1fr); column-gap: 20px; }
  .faq__head { grid-column: 1 / span 5; position: sticky; top: 120px; align-self: start; }
  .faq__list { grid-column: 6 / -1; }
  .qa__q { padding: 26px 0; }
}

/* ---------- 12 запись: чат ---------- */
.contact { position: relative; background: var(--night); color: var(--cream); border-radius: 44px 44px 0 0; }
/* солнце обрезает свой прямоугольный слой, а не скруглённый край финала: скругление поверх анимации
   заставляло видеокарту каждый кадр рисовать солнце через маску. Само солнце до верхних углов не доходит. */
.contact__glow { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.contact__sun { position: absolute; left: 50%; bottom: 0; width: 240vw; aspect-ratio: 1; transform: translate(-50%, calc(50% + var(--rise, 0%))); pointer-events: none; }
.contact__sun::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(closest-side, #fff6df 0, #ffdcaa 20%, #ffa468 42%, #f0612a 60%, #8a1f0a 78%, rgba(60, 10, 5, 0) 100%); will-change: transform; animation: sun 8s ease-in-out infinite alternate; }
@keyframes sun { to { transform: scale(1.045); } }
.contact__inner { position: relative; padding: clamp(96px, 11vw, 150px) var(--pad) 0; display: grid; justify-items: center; text-align: center; }
.contact__inner h2 { font-size: clamp(66px, 17.6vw, 104px); }
.contact__lead { margin-top: 16px; font-size: 18px; line-height: 1.4; max-width: 20em; opacity: .86; }
.contact__inner > .tk { margin-top: 34px; width: 100%; max-width: 600px; text-align: left; }
.contact__facts { margin-top: 56px; width: 100%; display: grid; text-align: left; border-top: 1px solid var(--hair-l); }
.contact__facts > div { display: grid; justify-items: start; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--hair-l); }
.contact__facts .display { font-size: 32px; font-weight: 400; line-height: 1.05; }
.contact__facts p:not(.display) { font-size: 15.5px; line-height: 1.4; opacity: .66; }
.contact__facts .ul, .contact__facts a.display { text-decoration: underline; text-decoration-color: rgba(255, 249, 235, .3); text-underline-offset: 4px; text-decoration-thickness: 1px; transition: text-decoration-color .2s var(--ease-out); }
.contact__facts a.display { text-decoration-color: transparent; }
@media (hover: hover) { .contact__facts a:hover { text-decoration-color: currentColor; } }

/* переписка: одна и та же в финале и в окне записи */
.tk { display: flex; flex-direction: column; padding: 18px; border-radius: 30px; background: #210806; border: 1px solid rgba(255, 249, 235, .12); color: var(--cream); box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .7); }
.tk__who { flex: none; display: flex; align-items: center; gap: 12px; padding: 0 2px 14px; border-bottom: 1px solid var(--hair-l); }
.tk__who img { width: 46px; height: 46px; flex: none; border-radius: 50%; object-fit: cover; background: var(--night); box-shadow: 0 0 0 2px rgba(255, 154, 92, .6), 0 0 22px rgba(255, 140, 70, .4); }
.tk__who b { display: block; font-size: 16px; font-weight: 500; line-height: 1.25; }
.tk__who span { display: block; font-size: 14px; line-height: 1.3; opacity: .62; }
.tk__who .round { margin-left: auto; border-color: rgba(255, 249, 235, .35); color: var(--cream); }
/* высота тела постоянная — страница не прыгает, пока человек отвечает */
/* реплики прижаты к низу, как в мессенджере: свободное место остаётся сверху, высота окна не меняется */
.tk__body { flex: none; display: flex; flex-direction: column; justify-content: flex-end; min-height: 352px; padding-top: 16px; }
@media (max-width: 374px) { .tk__body { min-height: 388px; } }
/* между репликами и черновиком всегда есть воздух — пунктир черновика не наезжает на кнопки */
.tk__pane { display: none; flex-direction: column; gap: 10px; padding-bottom: 16px; }
.tk[data-mode="direct"] [data-pane="direct"], .tk[data-mode="quiz"] [data-pane="quiz"], .tk[data-mode="done"] [data-pane="done"] { display: flex; }
.tk__b { align-self: flex-start; max-width: 88%; padding: 12px 16px; border-radius: 22px 22px 22px 6px; background: #4b120c; font-size: 16px; line-height: 1.42; animation: tkIn .45s var(--ease) both; }
.tk__b + .tk__b { margin-top: -4px; border-top-left-radius: 8px; }
.tk__qr { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.tk__qr .chip { font-weight: 500; animation: tkIn .4s var(--ease) both; }
.tk__qr .chip:nth-child(2) { animation-delay: .04s; } .tk__qr .chip:nth-child(3) { animation-delay: .08s; } .tk__qr .chip:nth-child(4) { animation-delay: .12s; } .tk__qr .chip:nth-child(5) { animation-delay: .16s; } .tk__qr .chip:nth-child(6) { animation-delay: .2s; }
.chip--warm { border-color: rgba(255, 199, 154, .7); box-shadow: 0 0 18px rgba(255, 138, 74, .25); }
.tk__msg { margin-top: auto; align-self: flex-end; max-width: 92%; padding: 13px 17px; border-radius: 22px 22px 6px 22px; background: var(--cream); color: var(--ox); font-size: 16px; line-height: 1.42; outline: 1px dashed rgba(255, 199, 154, .9); outline-offset: 3px; cursor: text; }
.tk__msg:focus { outline-style: solid; }
.tk__msg.is-new { animation: tkPulse .5s var(--ease); }
/* черновик появляется только в конце — когда сообщение собрано */
.tk__msg { display: none; }
.tk[data-mode="done"] .tk__msg { display: block; animation: tkIn .45s var(--ease) both; }
.tk__dock { flex: none; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--hair-l); display: grid; grid-template-columns: 1fr auto auto; gap: 8px; }
.tk__ch { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255, 249, 235, .4); font: 500 16.5px/1 var(--sans); white-space: nowrap; transition: background-color .2s var(--ease-out), transform .15s var(--ease-out); }
.tk__ch svg { width: 20px; height: 20px; flex: none; }
.tk__ch:active { transform: scale(.985); }
.tk__tg { background: var(--cream); color: var(--ox); border-color: var(--cream); box-shadow: 0 0 26px rgba(255, 150, 80, .32), inset 0 -12px 14px -10px rgba(255, 170, 110, .6); }
.tk__call { width: 56px; padding: 0; }
@media (hover: hover) { .tk__max:hover, .tk__call:hover { background: rgba(255, 249, 235, .12); } }
@keyframes tkIn { from { opacity: 0; transform: translateY(8px); } }
@keyframes tkPulse { 40% { transform: scale(1.02); } }

.footer { position: relative; margin-top: 30vw; padding: 0 var(--edge) calc(18px + env(safe-area-inset-bottom)); color: var(--night); }
.footer__mark { font-size: 23vw; line-height: .9; text-align: center; padding-bottom: .1em; }
.footer__mark .sp { display: block; width: auto; height: 0; }
.footer__small { margin-top: 10px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding-bottom: 76px; font-size: 14px; font-weight: 500; }
.footer__small > :nth-child(2) { display: none; }
@media (min-width: 900px) {
  .contact { border-radius: 64px 64px 0 0; }
  .contact__sun { width: 150vw; transform: translate(-50%, calc(66% + var(--rise, 0%))); }
  .contact__inner h2 { font-size: clamp(96px, 8.6vw, 140px); }
  .contact__lead { font-size: 21px; margin-top: 20px; }
  .contact__inner > .tk { margin-top: 40px; }
  .contact__facts { margin-top: 64px; grid-template-columns: repeat(3, 1fr); gap: 40px; border-bottom: 0; }
  .contact__facts > div { padding: 26px 0 0; border-bottom: 0; }
  .contact__facts .display { font-size: clamp(30px, 2.6vw, 40px); }
  .tk { padding: 22px; }
  .tk__b, .tk__msg { font-size: 17px; }
  .tk__body { min-height: 288px; }
  .footer { margin-top: 7vw; }
  .footer__mark { font-size: 16.2vw; line-height: .92; white-space: nowrap; }
  .footer__mark .sp { display: inline-block; width: .22em; height: auto; }
  .footer__small { margin-top: 2vw; padding-bottom: 6px; }
  .footer__small > :nth-child(2) { display: inline; }
}

/* бесконечные анимации стоят на паузе, пока их не видно (класс is-idle ставит main.js) */
.hero.is-idle .hero__glow, .hero.is-idle .hero__still, .marquee.is-idle .marquee__track, .about__media.is-idle::before, .contact.is-idle .contact__sun::before, .badge:not(.is-on) .badge__ring { animation-play-state: paused; }

/* затемнение при переходе по разделам из меню */
.fader { position: fixed; inset: 0; z-index: 85; background: var(--night); opacity: 0; pointer-events: none; transition: opacity .28s linear; }
.fader.is-on { opacity: 1; }

/* ---------- всплывающая подсказка ---------- */
.toast { position: fixed; z-index: 100; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom)); max-width: calc(100% - 32px); padding: 14px 20px; border-radius: 18px; background: var(--cream); color: var(--ox); font-size: 15px; line-height: 1.35; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .55); opacity: 0; pointer-events: none; transform: translate(-50%, 16px); transition: opacity .3s linear, transform .5s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- спокойный режим ---------- */
@media (prefers-reduced-motion: reduce) {
  .isheet__panel, .isheet__veil { transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js .line > span, .js [data-letters] .ch, .js .hero [data-in] { opacity: 1; transform: none; }
  .js [data-clip] { clip-path: inset(0 round 28px); }
  [data-words] .w { opacity: 1; }
  .intro { display: none; }
  .tk__b, .tk__qr .chip { animation: none; }
}
