/* gz-f: три экрана вокруг одного рифлёного стекла, поверх стиля gz-d (style.css + d.css).
   Цвета и шрифты только из токенов gz-d. */

/* ---------- прокрутка экранами: proximity, чтобы тачпад не дёргало, а движение окна шло за пальцем ---------- */
html.snap { scroll-snap-type: y proximity; }
@media (prefers-reduced-motion: no-preference) { html.snap { scroll-behavior: smooth; } }
/* компьютер: вместо snap мягкая доводка из js/home-f.js по направлению прокрутки (snap тянул назад на каждом щелчке колеса) */
@media (min-width: 760px) { html.snap { scroll-snap-type: none; } }
.scr { position: relative; min-height: 100vh; min-height: 100svh; scroll-snap-align: start; }
.head.is-hidden { transform: none; }
.hero.scr { min-height: 100svh; }
.hero::before { display: none; }
.gzm-defs { overflow: hidden; pointer-events: none; }

/* маска строки: текст уходит вверх и приходит снизу */
.fm { display: block; overflow: hidden; padding: 0.08em 0 0.14em; margin: -0.08em 0 -0.14em; }
.fm > .line { display: block; will-change: transform; }

/* ---------- заставка: монограмма с первого кадра ---------- */
.fintro { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; pointer-events: none; opacity: 0; visibility: hidden; color: var(--accent); }
.fintro__mark { width: clamp(150px, 14vw, 210px); aspect-ratio: 1546 / 560; height: auto; overflow: visible; }
/* знак zen проявляется слева направо */
.fpre .fintro__zen { animation: fzen 720ms var(--ease-out) 80ms both; }
@keyframes fzen { from { clip-path: inset(0 100% 0 0); opacity: 0.4; } to { clip-path: inset(0 -2% 0 0); opacity: 1; } }
.fpre .fintro { opacity: 1; visibility: visible; }
.fpre .fhero .fm > .line { transform: translate3d(0, 125%, 0); }
.fpre .fhero .fx { opacity: 0; transform: translate3d(0, 14px, 0); }
.fpre .head { opacity: 0; }
.head { transition: transform 500ms var(--ease-out), opacity 700ms var(--ease-out); }
.fintro-run .fhero .fm > .line { transition: transform 1000ms var(--ease-out); }
.fintro-run .fhero .fm:nth-child(2) > .line { transition-delay: 80ms; }
.fintro-run .fhero .fm:nth-child(3) > .line { transition-delay: 160ms; }
.fintro-run .fhero .fm:nth-child(4) > .line { transition-delay: 240ms; }
.fintro-run .fhero .fx { transition: opacity 800ms var(--ease-out) 380ms, transform 800ms var(--ease-out) 380ms; }
/* окно в заставке встаёт ровно на монограмму, поэтому она гаснет без мигания */
.fwin.is-intro { transition: none; }
@media (max-width: 759px) { .fintro { transition: opacity 500ms var(--ease-out), visibility 0s linear 500ms; } }

/* ---------- стекло ---------- */
.fwin { position: fixed; z-index: 3; overflow: hidden; background: var(--bg-3); opacity: 0; transition: opacity 700ms var(--ease-out); cursor: pointer; }
.fwin.is-in { opacity: 1; }
.fwin__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.fwin__covers { position: absolute; inset: 0; display: none; }
.fwin.no-gl .fwin__covers { display: block; }
.fwin__cov { position: absolute; inset: 0; display: grid; place-items: center; background: var(--cb); opacity: 0; transition: opacity 600ms var(--ease-out); }
.fwin__cov.is-on { opacity: 1; }
.fwin__cov > img { width: 86%; height: auto; display: block; }
.fwin__cov > .fwin__logo { width: 74%; }
.fwin__cov:last-child { background: var(--bg); color: var(--accent); }
.fwin__mono { width: 60%; height: auto; }
.fwin::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(239, 235, 230, 0.06); transition: opacity 400ms; }
.fwin.is-mark::after { border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(239, 235, 230, 0.08); }
:root[data-theme="light"] .fwin.is-mark::after, :root[data-theme="light"] .reel__fly.is-exit { box-shadow: inset 0 0 0 1px rgba(18, 14, 15, 0.1); }
.fwin.is-inline { position: relative; inset: auto; width: 100%; height: 100%; }
.dhero__win { pointer-events: none; }
.dhero__win .fwin { pointer-events: auto; }
.fslot { position: absolute; pointer-events: none; }

/* ---------- экран 1: подача gz-d. Сетка 4 колонки: имя 1-2, стекло 3, задачи 4. Текст на стекло не заходит ---------- */
.fhero { --col: calc((100% - 3 * var(--gap)) / 4); --gl: calc(2 * var(--col) + 2 * var(--gap)); --gw: var(--col); --capH: 74px; --bot: 9%; --gb: calc(var(--bot) + var(--capH)); }
.fhero .hero__inner { height: calc(100svh - var(--head-h)); min-height: 600px; }
.fhero .dhero__win { left: var(--gl); top: 0; width: var(--gw); height: auto; bottom: var(--gb); }
.fhero .hero__title { bottom: var(--bot); z-index: 4; pointer-events: none; max-width: calc(2 * var(--col) + var(--gap)); }
.fhero .fm + .fm { margin-top: 0; }
.fhero .dhero__facts { bottom: var(--bot); z-index: 4; }

/* подпись того, что сейчас за стеклом */
.fcap { position: absolute; left: var(--gl); width: var(--gw); bottom: calc(var(--gb) - var(--capH)); z-index: 4; height: calc(var(--capH) - 16px); display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; }
.fcap__meta { margin: 0; display: flex; justify-content: flex-start; gap: 12px; white-space: nowrap; }
.fcap__row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; min-width: 0; }
.fcap__t { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 600 22px/26px var(--font-display); letter-spacing: -0.045em; min-width: 0; }
.fcap__t > span, .fcap__k > span { display: inline-block; }
.fcap.is-swap .fcap__t > span, .fcap.is-swap .fcap__k > span { animation: fcapIn 700ms var(--ease-out) both; }
@keyframes fcapIn { from { transform: translate3d(0, 105%, 0); opacity: 0; } to { transform: none; opacity: 1; } }
.fcap__go { flex: none; position: relative; display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 0; font: 500 15px/20px var(--font-ui); letter-spacing: -0.02em; color: var(--fg-mute); transition: color 250ms var(--ease-out); }
.fcap__go::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 1px; background: currentColor; opacity: 0.35; transform-origin: 0 50%; transition: opacity 250ms var(--ease-out); }
.fcap__arr { display: inline-block; transition: transform 450ms var(--ease-out); }
.fcap__go:hover, .fcap__go:focus-visible { color: var(--fg); }
.fcap__go:hover::after { opacity: 1; }
.fcap__go:hover .fcap__arr { transform: translateX(4px); }

/* фото на кромке стекла: чистый круг, без стекла и размытия. Наведение: фото чуть приближается.
   Пока нет фото: монограмма на тихом фоне. Фото кладётся в assets/brand/photo.jpg и включается в js/home-f.js (PHOTO) */
.fme { --d: clamp(96px, 8.6vw, 140px); position: absolute; z-index: 5; margin: 0; width: var(--d); height: var(--d);
  left: calc(var(--gl) - var(--d) * 0.5); top: 12%; border-radius: 50%; overflow: hidden; background: var(--bg-3); cursor: default; outline-offset: 4px;
  box-shadow: 0 0 0 1px rgba(239, 235, 230, 0.10), 0 18px 40px -18px rgba(0, 0, 0, 0.8); isolation: isolate; }
.fme:focus-visible { outline: 1px solid var(--accent-ink); }
.fme__ph { position: absolute; inset: 0; background: var(--bg-3) var(--ph) no-repeat center / cover; transition: transform 900ms var(--ease-out); }
.fme:hover .fme__ph, .fme:focus-visible .fme__ph { transform: scale(1.04); }
.fme__cap { position: absolute; left: 0; right: 0; bottom: 14%; text-align: center; color: #EFEBE6; opacity: 0; transition: opacity 500ms var(--ease-out); pointer-events: none; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6); }
.fme:not(.has-photo) .fme__cap { display: none; }
.fme.has-photo:hover .fme__cap { opacity: 1; }

/* ---------- экран 2: работы, как галерея auge-xp.com ----------
   Секция выше экрана на один круг ленты (--pin ставит js/home-f.js), внутри липкий экран:
   прокрутка ведёт ленту, страница стоит. Кадры встык одной ширины, верх по линии, нижний край ступенями.
   Каждый кадр под рифлёным стеклом: широкие рёбра разной ширины, у каждого своё размытие; наведение проясняет кадр. */
.fcs { --pin: 0px; height: calc(100vh + var(--pin)); overflow: clip; }
.fcs__inner { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; }
.reel { position: absolute; left: 0; top: var(--head-h); width: 100%; height: var(--h1, 58vh); z-index: 1; }
.reel__track { position: absolute; inset: 0; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.reel__it, .reel__fly { position: absolute; left: 0; top: 0; padding: 0; overflow: hidden; background: none; }
.reel__it { cursor: pointer; will-change: transform; contain: layout paint; -webkit-tap-highlight-color: transparent; }
.reel__it.is-away { visibility: hidden; }
.reel__it { pointer-events: none; }
.reel__hit { position: absolute; inset: 0; z-index: 3; pointer-events: auto; cursor: pointer; transform-origin: 50% 0; }
.reel__it > img, .reel__fly > img { background: var(--bg-3); position: absolute; left: 0; top: 0; display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.reel__it > img { transition: transform 1100ms var(--ease-out); }
.reel__it.is-hov > img { transform: scale(1.03); }
/* стекло: рёбра, в каждом та же картинка, сдвинутая под ребро, размытая и чуть увеличенная */
.reel__gl { position: absolute; inset: 0; pointer-events: none; transition: opacity 650ms var(--ease-out); will-change: opacity; }
.reel__rib { position: absolute; top: 0; bottom: 0; overflow: hidden; }
.reel__rib > img { position: absolute; top: 0; left: calc(var(--x0) * var(--tw) * -1); width: var(--tw); height: 100%; max-width: none; object-fit: cover; display: block;
  filter: blur(var(--b)) saturate(1.08); transform: translate3d(var(--dx), 0, 0) scale(var(--mg)); }
.reel__rib::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(239, 235, 230, var(--hz)); }
/* тонкий блик на кромке ребра */
.reel__rib::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 1px; z-index: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.08) 55%, rgba(255, 255, 255, 0.2)); }
.reel__rib:first-child::after { display: none; }
.reel__it.is-hov .reel__gl, .reel__it:focus-visible .reel__gl { opacity: 0; }
/* нижний край ступенями: кадр закрывает полоса цвета фона, её сдвигает js (только transform) */
.reel__cut { position: absolute; z-index: 2; left: -1px; right: -1px; top: 0; height: 100%; background: var(--bg); will-change: transform; }
.reel__it:focus-visible { outline: 1px solid var(--accent-ink); outline-offset: -1px; }
.reel.is-drag .reel__it { cursor: grabbing; }
.reel__fly { position: fixed; z-index: 4; opacity: 0; visibility: hidden; pointer-events: none; }
.reel__fly.is-on { visibility: visible; }
.reel__fly > .reel__flyin { position: absolute; left: 0; top: 0; width: 100%; overflow: hidden; }
.reel__fly .reel__flyin > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* плашка у курсора */
.reel__tip { position: absolute; left: 0; top: 0; z-index: 4; padding: 7px 12px 8px; background: var(--accent); color: var(--on-accent); font: 500 15px/18px var(--font-ui); letter-spacing: -0.02em;
  white-space: nowrap; pointer-events: none; opacity: 0; transform: translate3d(-200px, -200px, 0); transition: opacity 200ms var(--ease-out); }
.reel__tip.is-on { opacity: 1; }
/* работа в фокусе: тонкая золотая кромка по нижнему краю кадра */
.reel__cut { transition: box-shadow 500ms var(--ease-out); }
.reel__it.is-focus .reel__cut { box-shadow: inset 0 2px 0 0 var(--accent-ink); }
/* кадр на пути к знаку: в нём проступает zen на цвете фона */
.reel__zen { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: var(--zn, 0); background: var(--bg); }
.reel__zen::after { content: ""; position: absolute; left: 20%; right: 20%; top: 0; bottom: 0; background: var(--accent);
  -webkit-mask: url("../img/gz-mark.svg") center / contain no-repeat; mask: url("../img/gz-mark.svg") center / contain no-repeat; }
.reel__fly:not(.is-exit) .reel__zen { display: none; }
.reel__fly.is-exit { box-shadow: inset 0 0 0 1px rgba(239, 235, 230, 0.08); }
/* под лентой: слева название работы в фокусе, справа абзац и счётчик, внизу выходные данные */
.fcs__info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gap); align-items: end; padding-bottom: 18px; pointer-events: none; }
.fcs__info a { pointer-events: auto; }
.fcs__now { grid-column: 1; align-self: end; min-width: 0; padding-bottom: 0.4vh; }
.fcs__nt { position: relative; margin: 0 0 0 -0.04em; height: 1.08em; font: 600 clamp(40px, 5.4vw, 92px)/1.08 var(--font-display); letter-spacing: -0.055em; white-space: nowrap; }
.fcs__ntw { position: absolute; left: 0; bottom: 0; display: block; }
.fcs__ntw .ch { display: inline-block; }
/* смена: старое название тает и худеет, новое приходит волной веса от тонкого к жирному */
.fcs__ntw.is-out { animation: fnowOut 340ms var(--ease-out) both; }
.fcs__ntw.is-in .ch { animation: fnowIn 900ms var(--ease-out) both; animation-delay: calc(var(--i) * 26ms); }
@keyframes fnowOut { 60% { opacity: 0; } to { opacity: 0; font-weight: 250; transform: translate3d(0, -0.08em, 0); } }
@keyframes fnowIn { 0% { opacity: 0; font-weight: 200; transform: translate3d(0, 0.14em, 0); } 45% { opacity: 1; } 100% { opacity: 1; font-weight: 600; transform: none; } }
.fcs__nd { display: flex; align-items: baseline; gap: 14px; margin: 14px 0 0; min-width: 0; }
.fcs__nk { flex: none; color: var(--accent-ink); }
.fcs__nw { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 400 15px/20px var(--font-ui); letter-spacing: -0.01em; color: var(--fg-mute); }
.fcs__now.is-swap .fcs__nd { animation: fndIn 600ms var(--ease-out) 120ms both; }
@keyframes fndIn { from { opacity: 0; transform: translate3d(0, 6px, 0); } to { opacity: 1; transform: none; } }
.fcs__side { grid-column: 2; align-self: end; max-width: 30em; padding-left: 6%; padding-bottom: 0.4vh; }
.fcs__lead { margin: 0 0 18px; font: 500 clamp(17px, 1.35vw, 21px)/1.25 var(--font-ui); letter-spacing: -0.02em; text-wrap: pretty; }
.fcs__n { font: 600 clamp(22px, 1.9vw, 30px)/1.1 var(--font-display); letter-spacing: -0.04em; }
.fcs__n:hover { color: var(--accent-ink); }
.fcs__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 28px; margin: 22px 0 0; font: 400 11px/14px var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-mute); }
.fcs__foot a:hover { color: var(--fg); }
.fslot#slot2 { left: 0; right: 0; top: 0; height: 100%; }

/* ---------- экран 3: связь, стекло стало монограммой ---------- */
.fct { padding-top: var(--head-h); }
.fct__inner { position: relative; height: calc(100svh - var(--head-h)); min-height: 560px; }
.fslot--mark { right: 0; top: 4%; width: clamp(170px, 15vw, 250px); aspect-ratio: 1 / 1; border-radius: 50%; }
.fct__mark { display: none; }
/* верх экрана связи: одна спокойная фраза слева, круглый знак справа */
.fct__say { position: absolute; left: 0; top: 4%; margin: 0; max-width: 14em; font: 500 clamp(24px, 2.4vw, 40px)/1.12 var(--font-display); letter-spacing: -0.045em; color: var(--fg-mute); }
.fct__lab { color: var(--accent-ink); margin: 0; }
.fct__lab--tg { position: absolute; left: 0; top: 30%; }
.fct__tg { position: absolute; left: 0; right: 0; top: calc(30% + 26px); display: block; font: 600 clamp(64px, 13.6vw, 240px)/0.92 var(--font-display); letter-spacing: -0.06em; white-space: nowrap; transition: color 300ms var(--ease-out); }
.fct__arr { display: inline-block; font-size: 0.5em; margin-left: 0.1em; vertical-align: 0.6em; transition: transform 450ms var(--ease-out); }
.fct__tg:hover { color: var(--accent-ink); }
.fct__tg:hover .fct__arr { transform: translate(0.08em, -0.08em); }
.fct__mail { position: absolute; left: 0; bottom: 15%; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 20px; row-gap: 8px; }
.fct__mail .fct__lab { flex-basis: 100%; }
.fct__mail-a { font: 600 clamp(26px, 2.4vw, 36px)/1.1 var(--font-display); letter-spacing: -0.045em; }
.fct__facts { position: absolute; right: 0; bottom: 15%; width: calc((100% - 3 * var(--gap)) / 4); display: grid; }
.fct__facts .hero__lead { margin-bottom: 28px; }
.fct__foot { position: absolute; left: 0; right: 0; bottom: 20px; display: flex; justify-content: space-between; align-items: center; margin: 0; padding: 18px 0 0; }

/* ---------- планшет: стекло справа во всю высоту, имя заходит на него ---------- */
@media (max-width: 1100px) and (min-width: 760px) {
  .fhero { --gl: 64%; --gw: 36%; --bot: 6%; --gb: calc(40% + var(--capH)); }
  .fhero .hero__title { bottom: 40%; max-width: 60%; }
  .fhero .dhero__facts { left: 0; right: 0; bottom: var(--bot); width: 100%; }
  .fct__facts { width: 40%; bottom: 13%; }
  .fct__mail { bottom: 13%; }
  .fslot--mark { width: 22vw; }
}
@media (max-width: 1100px) and (min-width: 760px) and (orientation: portrait) {
  .fhero { --gb: calc(34% + var(--capH)); }
  .fhero .hero__title { bottom: 34%; }
  .fct__lab--tg { top: 34%; }
  .fct__tg { top: calc(34% + 26px); }
}

/* ---------- телефон: стекло в потоке первого экрана, кейсы лентой с обложками ---------- */
@media (max-width: 759px) {
  .fcs { height: auto; }
  .fcs__inner { position: relative; height: 100svh; min-height: 640px; }
  .reel__tip { display: none; }
  .reel__it { cursor: pointer; }
  .fcs__info { grid-template-columns: 1fr; row-gap: 14px; padding-bottom: 14px; }
  .fcs__now { grid-column: 1; }
  .fcs__nt { font-size: clamp(34px, 10.4vw, 52px); }
  .fcs__nd { margin-top: 8px; gap: 10px; }
  .fcs__nw { font-size: 14px; }
  .fcs__side { grid-column: 1; padding-left: 0; }
  .fcs__lead { font-size: 16px; margin-bottom: 10px; }
  .fcs__n { font-size: 22px; }
  .fcs__foot { margin-top: 4px; gap: 4px 16px; font-size: 10px; }
  .fintro__mark { width: 150px; }
  .fhero .hero__inner { display: flex; flex-direction: column; height: calc(100svh - var(--head-h)); min-height: 600px; padding: 8px 0 24px; }
  .fhero .hero__title { position: relative; bottom: auto; order: 1; }
  .fhero .hero__title { max-width: none; font-size: clamp(36px, 10.6vw, 56px); }
  .fhero .dhero__win { position: relative; left: auto; top: auto; bottom: auto; width: 100%; order: 2; flex: 1 1 auto; min-height: 180px; margin-top: 18px; height: auto; }
  .fcap { position: relative; left: auto; bottom: auto; width: 100%; order: 3; height: auto; margin-top: 12px; gap: 4px; }
  .fcap__t { font-size: 20px; line-height: 24px; }
  .fme { --d: 76px; left: auto; right: 0; top: 10px; }
  .fhero .dhero__facts { position: relative; order: 4; margin-top: 18px; bottom: auto; width: 100%; }
  .fhero .dhero__facts .hero__lead { font-size: 16px; line-height: 22px; margin-bottom: 16px; }
  .fhero .dhero__facts .fact__big { font-size: 24px; }
  .fhero .dhero__facts .fact__small { font-size: 13px; line-height: 17px; }


  .fct__inner { height: auto; min-height: calc(100svh - var(--head-h)); display: flex; flex-direction: column; justify-content: flex-end; padding: 16px 0 16px; }
  .fslot--mark { display: none; }
  .fct__mark { display: block; box-sizing: border-box; width: 112px; height: 112px; padding: 0 22px; border-radius: 50%; background: var(--bg-3); color: var(--accent); margin-bottom: auto; }
  .fct__say { position: relative; inset: auto; margin-top: 28px; font-size: 26px; }
  .fct__lab--tg, .fct__tg, .fct__mail, .fct__facts, .fct__foot { position: relative; inset: auto; }
  .fct__lab--tg { margin-top: 32px; }
  .fct__tg { margin-top: 10px; font-size: 15.4vw; }
  .fct__mail { margin-top: 28px; }
  .fct__mail-a { font-size: 24px; }
  .fct__facts { width: 100%; margin-top: 32px; }
  .fct__facts .hero__lead { font-size: 18px; margin-bottom: 18px; }
  .fct__foot { margin-top: 28px; padding-top: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .fwin, .reel__it > img, .fwin__cov, .reel__gl { transition: none; }
  .fcs__ntw .ch, .fcs__ntw.is-out, .fcs__now.is-swap .fcs__nd { animation: none; }
}

/* фото в светлой теме: мягче тень, светлее кромка */
:root[data-theme="light"] .fme { box-shadow: 0 0 0 1px rgba(18, 14, 15, 0.08), 0 14px 30px -20px rgba(18, 14, 15, 0.45); }

/* подпись под каждым кадром ленты: название и что сделано, едет вместе с нижним краем */
.reel__cap { position: absolute; left: 0; right: 16px; top: 14px; display: flex; flex-direction: column; gap: 3px; text-align: left; pointer-events: none; }
.reel__cap b { font: 500 16px/1.2 var(--font-ui); letter-spacing: -0.02em; color: var(--fg); }
.reel__cap span { font: 400 13px/1.3 var(--font-ui); color: var(--fg-mute); }
.reel__fly .reel__cap { display: none; }
/* стрелка у @geraltzen: острая линия, а не скруглённый символ шрифта */
.fct__arr svg { display: block; width: 0.62em; height: 0.62em; }
.fct__arr { vertical-align: 0.95em; font-size: 1em; }
/* целевая кнопка и все контакты на экране связи */
.fct__cta { display: inline-flex; align-items: center; gap: 12px; height: 52px; padding: 0 26px; border-radius: 0; background: var(--accent); color: var(--on-accent); font: 500 17px/1 var(--font-ui); letter-spacing: -0.02em; transition: background 300ms var(--ease-out); }
.fct__cta:hover, .fct__cta:focus-visible { background: var(--fg); color: var(--bg); }
.fct__cta svg { transition: transform 450ms var(--ease-out); }
.fct__cta:hover svg { transform: translate(2px, -2px); }
.fct__cta svg { width: 14px; height: 14px; }
.fct__links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font: 400 15px/1.4 var(--font-ui); }
.fct__links a { color: var(--fg); }
.fct__links a:hover { color: var(--accent-ink); }
.fct__cta { justify-self: start; margin-bottom: 30px; }
/* кадр и стекло только в высоту ленты, ниже чистое поле под подпись */
.reel__it > img, .reel__it > .reel__gl { height: var(--h1); bottom: auto; }
.reel__it { background: none; box-shadow: none; border: 0; }
.fct__arr { position: relative; display: inline-block; width: 0.4em; height: 0; vertical-align: baseline; margin-left: 0.06em; }
.fct__arr svg { position: absolute; left: 0; bottom: 0.36em; width: 0.4em; height: 0.4em; }
.reel__cut { left: -3px; right: -3px; }
.reel__cap { left: 3px; }
.fct__arr svg { overflow: visible; }

/* ---------- полировка 26.11 ---------- */
/* шапка при прокрутке: сплошная полоса цвета фона ровно до верхней линии ленты.
   Кадры и подписи уходят под неё чисто, без просвечивания рядом с меню (на телефоне подпись заезжала под шапку) */
.head::before { inset: 0; background: var(--bg); }
.head.is-scrolled::before { opacity: 1; }
/* подпись кадра ленты: название и что сделано в одном ритме с подписью под стеклом первого экрана */
.reel__cap { top: 16px; gap: 4px; }
.reel__cap { transition: opacity 350ms var(--ease-out); }
.reel__it.is-cut .reel__cap { opacity: 0; }
.reel__cap b { font-weight: 500; transition: color 300ms var(--ease-out); }
.reel__it.is-hov .reel__cap b, .reel__it:focus-visible .reel__cap b { color: var(--accent-ink); }
/* плашка у курсора: ровная, с маленькой стрелкой */
.reel__tip { padding: 8px 12px 9px; }
.reel__tip::after { content: " \2192"; }
/* подпись под лентой: метка вида работ на одной базовой линии с описанием */
.fcs__nd { align-items: baseline; }
.fcs__nk { font-size: 11px; line-height: 14px; }
/* круглый знак на экране связи и у первого экрана: тонкая кромка */
.fslot--mark { border-radius: 50%; }
@media (max-width: 759px) {
  /* телефон: лента не уходит под меню, подпись кадра всегда под картинкой */
  .reel__cap { top: 12px; }
  .reel__cap b { font-size: 15px; }
  .reel__cap span { font-size: 12px; }
}
.fme__cap { display: none !important; }

/* фото владельца на экране связи: отдельная вертикальная карточка, не в круге */
.fct__me { position: absolute; left: 50%; top: 4%; margin: 0; width: clamp(130px, 11vw, 180px); }
.fct__me img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 40%; filter: grayscale(.15); }
.fct__me figcaption { margin-top: 10px; font: 400 13px/1.3 var(--font-ui); color: var(--fg-mute); }
@media (max-width: 760px) {
  .fct__me { position: relative; left: auto; top: auto; width: 128px; margin-top: 24px; order: -1; }
}

/* знак zen контрастнее: красный круг, светлый знак (первый экран, экран связи, телефон) */
.fme:not(.has-photo), .fme:not(.has-photo) .fme__ph { background-color: var(--accent); }
.reel__zen { background: var(--accent); }
.reel__zen::after { background: var(--on-accent); }
@media (max-width: 760px) { .fct__mark { background: var(--accent); color: var(--on-accent); } }

/* зерно поверх всего сайта */
body::after { content: ""; position: fixed; inset: -50%; z-index: 9999; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 -0.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: gz-grain 1.2s steps(6) infinite; }
@keyframes gz-grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }
@media (prefers-reduced-motion: reduce) { body::after { animation: none; } }
:root[data-theme="light"] body::after { opacity: .14; mix-blend-mode: multiply; }
/* подпись первого экрана на нижнем слое: окно при уходе в ленту её накрывает */
.fcap { z-index: 2; }
