/* ==========================================================================
   NOTO — вариант D. UX/UI по мотивам butter.video
   Светло-серая палитра, пилюли со скруглениями, тёмные «интерфейсные» панели,
   хроматическое свечение кнопок (отсылка к преломлению света в знаке NOTO).
   Шрифты: Medeo Sans (Geist-основа, близок к Die Grotesk) + Medeo Mono.
   ========================================================================== */

@font-face { font-family: "MedeoMono"; src: url("../fonts/MedeoMonoVariable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "MedeoPixel"; src: url("../fonts/MedeoPixelVariable.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/Manrope-latin.woff2") format("woff2"); font-weight: 200 800; font-display: swap; 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: "Manrope"; src: url("../fonts/Manrope-latin-ext.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; src: url("../fonts/Manrope-cyrillic.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  --bg: #fafafa;
  --bg-2: #ededed;
  --bg-3: #e2e2e2;
  --ink: #0f0f0f;
  --ink-2: #1e1e1e;
  --on-ink: #ebebeb;
  --muted: rgba(15, 15, 15, 0.42);
  --faint: rgba(15, 15, 15, 0.28);
  --line: rgba(15, 15, 15, 0.1);
  --panel: #0f0f0f;
  --panel-2: #1b1b1b;
  --panel-3: #2a2a2a;
  --panel-line: rgba(255, 255, 255, 0.08);
  --hero-grad: linear-gradient(180deg, #d6d6d6 0%, #fafafa 100%);
  --footer: #ededed;
  --overlay: rgba(53, 53, 53, 0.2);
  --glow-1: #74d6f2;
  --glow-2: #f28cc4;
  --glow-3: #a7d1fb;  /* было лаймовое #c6ec74; с 29.11.2026 — светлое «небо» (зелёного в стиле нет) */
  --sky: #4ea6f5;     /* точки статусов: «Берём новый проект», «Сайт работает», «Сейчас в работе» */
  --glow-4: #f5df6a;

  --f-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "MedeoMono", ui-monospace, "SF Mono", Menlo, monospace;
  --f-pixel: "MedeoPixel", var(--f-mono);

  --ease: cubic-bezier(0.2, 0.715, 0.205, 0.99);
  --pad: clamp(16px, 4.6vw, 66px);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 20px;
  --hdr-top: clamp(12px, 1.7vw, 24px);
  color-scheme: light;
}
/* Основной шрифт — Manrope. Он шире и легче гротесков, поэтому заголовкам чуть больше веса и плотнее трекинг */
:root { --f-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif; --w-head: 500; --ls-head: -0.045em; }
:root[data-theme="dark"] {
  --bg: #0d0d0d;
  --bg-2: #181818;
  --bg-3: #242424;
  --ink: #f1f1f1;
  --ink-2: #ededed;
  --on-ink: #111;
  --muted: rgba(241, 241, 241, 0.48);
  --faint: rgba(241, 241, 241, 0.3);
  --line: rgba(241, 241, 241, 0.1);
  --panel: #000;
  --panel-2: #141414;
  --panel-3: #222;
  --hero-grad: linear-gradient(180deg, #262626 0%, #0d0d0d 100%);
  --footer: #151515;
  --overlay: rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--footer);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { list-style: none; padding: 0; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 2px solid var(--glow-1); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: -9999px; top: 8px; z-index: 500; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }

/* ---------- Type ---------- */
.h1 { font-weight: var(--w-head, 400); font-size: clamp(52px, calc(52px + 73 * ((100vw - 375px) / 1425)), 125px); line-height: 0.99; letter-spacing: var(--ls-head, -0.035em); }
.h2 { font-weight: var(--w-head, 400); font-size: clamp(32px, calc(32px + 38 * ((100vw - 375px) / 1425)), 70px); line-height: 0.98; letter-spacing: calc(var(--ls-head, -0.035em) + 0.005em); }
/* заголовки разделов с 28.11.2026 — .h2; .h3 остался только у заголовков карточек (инсайты) и в кейсах */
.h3 { font-weight: var(--w-head, 400); font-size: clamp(30px, calc(30px + 20 * ((100vw - 375px) / 1425)), 50px); line-height: 0.98; letter-spacing: calc(var(--ls-head, -0.035em) + 0.01em); }
.h4 { font-weight: 400; font-size: clamp(19px, calc(19px + 7 * ((100vw - 375px) / 1425)), 26px); line-height: 1.15; letter-spacing: -0.005em; }
.cap { font-family: var(--f-mono); font-size: clamp(12px, 0.9vw, 14px); line-height: 1.2; letter-spacing: 0.02em; color: var(--muted); }
/* подводки — обычный текст 16 px (28.11.2026; было 17 → 20 px, стиль «Body» убран) */
.body { font-size: 16px; line-height: 1.2; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.pixel { font-family: var(--f-pixel); font-variation-settings: "ELSH" 0; }
/* снизу запас больше: у р, у, д, щ хвосты ниже строки (line-height 0.98) — иначе маска их срезала (28.11.2026) */
.line-mask { overflow: clip; padding-bottom: 0.24em; margin-bottom: -0.24em; }

.wrap { width: 100%; padding-inline: var(--pad); }

/* ---------- Roll text (меню, ссылки) ---------- */
.roll { display: inline-flex; overflow: hidden; line-height: 1.3; vertical-align: top; }
.roll > span { display: block; transition: transform 0.6s var(--ease); text-shadow: 0 1.3em currentColor; }
.roll:hover > span, .roll:focus-visible > span { transform: translateY(-1.3em); }

/* ---------- Buttons ---------- */
.btn {
  --h: 50px;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: var(--h);
  padding: 0 30px;
  border-radius: var(--r);
  color: var(--on-ink);
  font-size: 16px;
  white-space: nowrap;
  transition: transform 0.4s var(--ease);
}
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--ink-2); }
/* хроматическое свечение — «масло» butter, у нас: преломление света */
.btn::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  border-radius: inherit;
  background: var(--glow-1);
  box-shadow: 0 0 4px var(--glow-1), 1px 1px 2px var(--glow-1), 1px 2px 3px var(--glow-3), 1px 4px 7px var(--glow-4), 1px 6px 12px var(--glow-2);
  opacity: 0;
  transform: scaleY(0.9);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { opacity: 1; transform: scaleY(1); animation: glow 2.4s linear infinite; }
.btn:active { transform: scale(0.97); }
@keyframes glow { to { filter: hue-rotate(360deg); } }
.btn--light { color: var(--ink); }
.btn--light::after { background: var(--bg-2); }
.btn--sm { --h: 40px; padding: 0 16px; border-radius: 12px; font-size: 15px; }
.btn--icon { width: var(--h); padding: 0; }
.btn svg { width: 14px; height: 14px; }
/* CTA с фирменным уголком (icon/Vector.svg) слева от текста.
   При наведении уголок с пружинкой поворачивается в противоположный угол — как деталь пазла знака NOTO —
   одновременно с хроматическим свечением кнопки. */
.btn--cta { gap: 12px; padding-left: 24px; }
.btn--sm.btn--cta { gap: 10px; padding-left: 14px; }
.btn .btn__mark { width: 11px; height: 12px; flex: none; transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1); }
.btn--sm .btn__mark { width: 9px; height: 10px; }
.btn--cta:hover .btn__mark, .btn--cta:focus-visible .btn__mark { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .btn--cta:hover .btn__mark { transform: none; } }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 300;
  background: #0b0b0b; color: #fff; overflow: hidden;
  pointer-events: none;
}
.no-js .loader, .reduce .loader { display: none; }

/* ---------- Cursor label ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 250; pointer-events: none; display: none; will-change: transform; }
.has-cursor .cursor { display: block; }
.cursor__label {
  position: absolute; top: 14px; left: 12px;
  padding: 9px 13px; border-radius: 12px;
  background: var(--ink); color: var(--bg);
  font-size: 14px; white-space: nowrap;
  opacity: 0; transform: scale(0.6); transform-origin: 0 0;
  transition: opacity 0.2s, transform 0.25s var(--ease);
}
.cursor.is-on .cursor__label { opacity: 1; transform: scale(1); }

/* ---------- Header ---------- */
.hdr-overlay { position: fixed; inset: 0; z-index: 29; background: var(--overlay); opacity: 0; pointer-events: none; transition: opacity 0.5s var(--ease); }
.menu-open .hdr-overlay { opacity: 1; pointer-events: auto; }
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  padding: var(--hdr-top) var(--pad) 0;
  pointer-events: none;
}
.hdr > * { pointer-events: auto; }
.hdr__left { position: relative; }
.hdr__bar {
  --offset: 0px;
  position: relative;
  display: flex; align-items: center;
  padding: 14px 18px 14px 22px;
  color: var(--ink-2);
}
.hdr__bar::before {
  content: ""; position: absolute; inset: 0 var(--offset) 0 0; z-index: -1;
  border-radius: var(--r); background: var(--bg-2);
  transition: right 0.9s var(--ease);
}
.hdr__logo { display: flex; align-items: center; position: relative; z-index: 2; }
.hdr__logo svg { width: 40px; height: auto; color: var(--ink); }
.hdr__nav { margin-left: 34px; overflow: hidden; transition: opacity 0.6s var(--ease); }
.hdr__nav ul { display: flex; gap: 20px; white-space: nowrap; }
.hdr__nav a { font-size: 16px; }
.hdr__toggle-wrap { position: relative; display: flex; margin-left: 22px; transition: transform 0.9s var(--ease); }
.hdr__close { position: absolute; right: calc(100% + 8px); top: 50%; transform: translateY(-50%); font-size: 16px; opacity: 0; pointer-events: none; transition: opacity 0.6s var(--ease); white-space: nowrap; }
.hdr__toggle { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; transition: background 0.3s; }
.hdr__toggle:hover { background: var(--bg-3); }
.hdr__toggle span { display: grid; gap: 3px; }
.hdr__toggle i { display: block; width: 3.5px; height: 3.5px; border-radius: 50%; background: currentColor; transition: transform 0.5s var(--ease); }
.is-collapsed .hdr__nav { opacity: 0; pointer-events: none; }
.menu-open .hdr__nav { opacity: 0; pointer-events: none; }
.menu-open .hdr__close { opacity: 1; }
.menu-open .hdr__bar { --offset: 0px !important; }
.menu-open .hdr__toggle-wrap { transform: none !important; }
.menu-open .hdr__toggle { background: var(--bg-3); }

.hdr__drop {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px);
  padding: 8px; border-radius: var(--r); background: var(--bg-2);
  max-height: calc(100svh - 110px); overflow: auto; overscroll-behavior: contain;
  opacity: 0; pointer-events: none;
  transform: translateY(-6px) scale(0.98); transform-origin: top center;
  clip-path: inset(0 0 100% 0 round var(--r));
  transition: opacity 0.5s var(--ease), transform 0.7s var(--ease), clip-path 0.8s var(--ease);
}
.menu-open .hdr__drop { opacity: 1; pointer-events: auto; transform: none; clip-path: inset(0 0 0 0 round var(--r)); }
.drop__list { display: flex; flex-direction: column; }
.drop__list li + li .drop__item { border-top: 1px solid var(--line); }
.drop__item { display: flex; align-items: center; gap: 16px; padding: 8px 6px 8px 0; }
.drop__thumb { width: 64px; height: 64px; flex: none; border-radius: 14px; overflow: hidden; }
.drop__label { font-size: 16px; }
.drop__hint { margin-left: auto; max-width: 22ch; text-align: right; font-size: 13px; color: var(--muted); opacity: 0; transform: translateY(4px); transition: opacity 0.3s, transform 0.4s var(--ease); }
.drop__item:hover .drop__hint, .drop__item:focus-visible .drop__hint { opacity: 1; transform: none; }
.drop__item:hover .drop__thumb { transform: scale(1.04); }
.drop__thumb { transition: transform 0.6s var(--ease); }
.drop__bottom { display: grid; gap: 22px; padding: 26px 6px 10px; }
.drop__bottom .grp { display: grid; gap: 6px; justify-items: start; }
.drop__bottom .grp a { font-size: 16px; }
.drop__bottom .mono a, .drop__bottom .mono button { font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
.drop__bottom .mono a:hover, .drop__bottom .mono button:hover { color: var(--ink); }
.js .drop__list li, .js .drop__bottom > * { opacity: 0; transform: translateY(10px); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); }
.menu-open .drop__list li, .menu-open .drop__bottom > * { opacity: 1; transform: none; }
.menu-open .drop__list li:nth-child(1) { transition-delay: 0.08s; }
.menu-open .drop__list li:nth-child(2) { transition-delay: 0.12s; }
.menu-open .drop__list li:nth-child(3) { transition-delay: 0.16s; }
.menu-open .drop__list li:nth-child(4) { transition-delay: 0.2s; }
.menu-open .drop__list li:nth-child(5) { transition-delay: 0.24s; }
.menu-open .drop__bottom > *:nth-child(1) { transition-delay: 0.28s; }
.menu-open .drop__bottom > *:nth-child(2) { transition-delay: 0.32s; }
.menu-open .drop__bottom > *:nth-child(3) { transition-delay: 0.36s; }
/* Часы в меню: город серым капсом, время — тёмным, AM/PM — серым */
.drop__clocks { display: flex; flex-wrap: wrap; gap: 8px 40px; padding-top: 18px; border-top: 1px solid var(--line); }
.clock { display: flex; align-items: baseline; gap: 8px; font-size: 15px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; font-variant-numeric: tabular-nums; white-space: nowrap; }
.clock__city { color: var(--muted); }
.clock__time { color: var(--ink); }
/* двоеточие мигает раз в секунду, как на электронных часах */
.clock__colon { display: inline-block; margin: 0 0.04em; animation: colon 1s steps(1, end) infinite; }
@keyframes colon { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .clock__colon { animation: none; } }

.hdr__right {
  display: flex; align-items: center; gap: 16px;
  padding: 7px 8px 7px 22px;
  border-radius: var(--r); background: var(--bg-2); color: var(--ink-2);
  white-space: nowrap;
}
.hdr__right a:not(.btn) { font-size: 16px; }
@media (max-width: 1023px) {
  .hdr__nav, .hdr__right { display: none; }
  .hdr__left { width: 100%; }
  .hdr__bar { justify-content: space-between; }
}
@media (min-width: 1024px) {
  .hdr__left { width: auto; }
}

/* ---------- Page card (подвал выезжает из-под неё) ---------- */
.page { position: relative; z-index: 1; background: var(--bg); border-radius: 0 0 60px 60px; margin-bottom: -60px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; background: var(--hero-grad); display: flex; overflow: hidden; }
/* Фон Pryzm (WebGL). Пока строки Look нет — контейнер пуст и виден серый градиент героя */
.hero__bgfx { position: absolute; inset: 0; z-index: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__bgfx.is-on { opacity: 1; }
.hero__bgfx canvas { width: 100%; height: 100%; }
/* затемнение под текстом и плавный уход фона в светлую страницу внизу */
.hero__bgfx { -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%); mask-image: linear-gradient(to bottom, #000 78%, transparent 100%); }
.hero__bgfx::after { content: ""; position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(70% 45% at 50% 52%, rgba(0,0,0,.58) 0%, rgba(0,0,0,.18) 60%, rgba(0,0,0,0) 100%); }
.hero.has-bgfx { --ink: #fff; --muted: rgba(255,255,255,.7); color: var(--ink); }
.hero.has-bgfx .btn::after { background: #fff; }
.hero.has-bgfx .btn { color: #0f0f0f; }
.hero__3d {
  position: absolute; inset: 0; z-index: 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
}
.hero__3d canvas { width: 100%; height: 100%; }
.hero__fallback { position: absolute; left: 50%; top: 23%; width: min(320px, 46vw); transform: translate(-50%, -50%); color: var(--ink); opacity: 0; transition: opacity 0.6s; }
.hero__3d.is-fallback .hero__fallback { opacity: 1; }
.hero__content {
  position: relative; z-index: 1; width: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  text-align: center;
  padding: 0 var(--pad) clamp(90px, 20vh, 220px);
}
/* без 3D-знака контент стоит по центру первого экрана — фон сам работает как «объект» */
.hero__content {
  justify-content: center;
  padding-top: 72px;
  padding-bottom: 72px;
  pointer-events: none;
}
.hero__content a { pointer-events: auto; }
.hero__title { max-width: 14ch; }
.hero__sub { margin-top: 26px; max-width: 34ch; }
.hero__cta { margin-top: 34px; }

/* ---------- Ticker ---------- */
.ticker { padding: 56px 0 64px; text-align: center; overflow: hidden; }
.ticker__row { margin-top: 30px; display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ticker__track { display: flex; flex: none; gap: 90px; padding-right: 90px; will-change: transform; animation: tick 38s linear infinite; }
.ticker__track span { display: flex; align-items: center; gap: 12px; font-size: clamp(22px, 2vw, 30px); letter-spacing: -0.02em; color: var(--faint); white-space: nowrap; }
.ticker__track span svg { width: 26px; height: 26px; }
@keyframes tick { to { transform: translateX(-100%); } }

/* ---------- Плитки-иконки (вместо 3D-рендеров) ---------- */
.tile {
  position: relative; display: block; width: 100%; height: 100%;
  border-radius: 23%; overflow: hidden;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.35), inset 0 -2px 6px rgba(0,0,0,.35), 0 6px 18px rgba(0,0,0,.18);
}
.tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(120% 80% at 30% 0%, rgba(255,255,255,.45) 0%, rgba(255,255,255,0) 45%); pointer-events: none; }
.tile svg { position: absolute; inset: 18%; width: 64%; height: 64%; }
.tile--web { background: linear-gradient(160deg, #e9eef2 0%, #b9c4cc 55%, #8e99a2 100%); }
.tile--ui { background: radial-gradient(90% 90% at 70% 20%, #3a3a3a 0%, #0c0c0c 70%); }
.tile--brand { background: #0b0b0b; color: #fff; }
.tile--ai { background: conic-gradient(from 210deg at 50% 55%, #7fd6f5, #c9a0ff, #f59ac6, #f6e27a, #b9ef7a, #7fd6f5); }
.tile--product { background: linear-gradient(150deg, #f5f5f5 0%, #cfd2d6 40%, #85898e 100%); }
.tile--auto { background: radial-gradient(100% 100% at 0% 100%, #5a5e63 0%, #1c1d1f 70%); }
.tile--pwa { background: linear-gradient(180deg, #232323, #000); }
.tile--work { background: radial-gradient(90% 90% at 30% 30%, #f2f2f2 0%, #b8b8b8 60%, #6d6d6d 100%); }
.tile--team { background: linear-gradient(140deg, #ffd7ea 0%, #cde9ff 50%, #e8ffd1 100%); }
.tile--contact { background: #0f0f0f; }
.tile { container-type: size; }
.tile .px { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-pixel); font-size: 38cqw; color: #fff; line-height: 1; }
.tile--ai .px { color: #111; font-size: 44cqw; }

/* ---------- Statement → timeline ---------- */
.stmt { position: relative; }
.stmt__pin { position: relative; height: 100svh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.stmt__text { position: relative; z-index: 3; max-width: 26ch; text-align: center; padding: 0 var(--pad); }
.tw { position: relative; display: inline-block; width: 1.12em; height: 1.12em; margin: -0.05em 0.16em -0.2em; vertical-align: baseline; }
.tw > .tile { position: absolute; inset: 0; will-change: transform; z-index: 3; }
.tl {
  position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(16px, 4vh, 40px);
  border-radius: var(--r-lg); background: var(--panel); color: #fff;
  padding: 14px 14px 18px; z-index: 2;
  transform: translateY(calc(100% + 60px));
}
.tl__bar { display: flex; align-items: center; gap: 14px; font-family: var(--f-mono); font-size: 12px; color: rgba(255,255,255,.6); }
.tl__play { width: 30px; height: 30px; border-radius: 9px; background: var(--panel-3); display: grid; place-items: center; }
.tl__play svg { width: 10px; height: 10px; }
.tl__time b { color: #fff; font-weight: 400; }
.tl__chips { display: flex; gap: 4px; }
.tl__chips span { padding: 3px 7px; border-radius: 6px; }
.tl__chips span.is-on { background: var(--panel-3); color: #fff; }
.tl__ruler { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 14px; font-family: var(--f-mono); font-size: 11px; color: rgba(255,255,255,.45); }
.tl__ruler span { padding: 0 0 8px 6px; border-left: 1px solid rgba(255,255,255,.15); transition: color .4s; }
.tl__ruler span.is-on { color: #fff; }
.tl__track { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; height: clamp(48px, calc((100vw - 2 * var(--pad) - 28px) / 5 - 16px), 170px); }
@media (max-width: 600px) {
  .tl__ruler { font-size: 9px; }
  .tl__ruler span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-left: 4px; }
  .tl__slot { padding: 0 4px 0 4px; }
  .tl__slot i { left: 4px; }
}
.tl__slot { position: relative; padding: 0 10px 0 6px; }
.tl__slot i { position: absolute; left: 6px; top: 0; bottom: 0; aspect-ratio: 1; border-radius: 23%; border: 1px dashed rgba(255,255,255,.14); }
.tl__head { position: absolute; top: 44px; bottom: 10px; left: 14px; width: 2px; background: #fff; border-radius: 2px; z-index: 4; box-shadow: 0 0 10px rgba(255,255,255,.5); }
.tl__head::before { content: ""; position: absolute; left: 50%; top: -6px; width: 12px; height: 8px; transform: translateX(-50%); background: #fff; clip-path: polygon(0 0, 100% 0, 50% 100%); }

/* ---------- Story (текст + тёмная панель) ---------- */
.story { position: relative; padding-block: clamp(80px, 12vw, 180px); }
.story__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; }
.story__text { grid-column: 1 / span 5; }
.story__text .cap { margin-bottom: 18px; }
.story__text .h2 { max-width: 18ch; }
.story__text p.body { margin-top: 24px; max-width: 38ch; color: var(--muted); }
.story__panel { grid-column: 7 / span 6; }
.story--rev .story__text { grid-column: 8 / span 5; grid-row: 1; }
.story--rev .story__panel { grid-column: 1 / span 6; grid-row: 1; }
.inl { display: inline-block; width: 0.92em; height: 0.92em; margin: 0 0.12em -0.12em; vertical-align: baseline; }
@media (max-width: 900px) {
  .story__grid { grid-template-columns: 1fr; gap: 40px; }
  .story__text, .story__panel, .story--rev .story__text, .story--rev .story__panel { grid-column: auto; grid-row: auto; }
}

.ui { background: var(--panel); color: #fff; border-radius: var(--r-lg); padding: 14px; }
.ui__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.ui__crumb { padding: 7px 12px; border-radius: 9px; background: var(--panel-3); font-family: var(--f-mono); font-size: 12px; color: rgba(255,255,255,.7); }
.ui__x { width: 30px; height: 30px; border-radius: 9px; background: var(--panel-3); display: grid; place-items: center; }
.ui__x svg { width: 10px; height: 10px; }
.lib { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; border-radius: 14px; overflow: hidden; }
.lib__cell { background: var(--panel-2); padding: clamp(16px, 2vw, 28px) 16px 14px; display: grid; justify-items: center; gap: 14px; cursor: pointer; transition: background .3s; }
.lib__cell:hover { background: #222; }
.lib__cell .tile { width: clamp(88px, 9vw, 132px); height: clamp(88px, 9vw, 132px); transition: transform .6s var(--ease); }
.lib__cell:hover .tile { transform: scale(1.06) rotate(-3deg); }
.lib__cell b { font-family: var(--f-mono); font-weight: 400; font-size: 12px; color: rgba(255,255,255,.75); }
.lib__cell small { font-size: 13px; color: rgba(255,255,255,.4); text-align: center; max-width: 24ch; }

/* Настройщик (история 2) */
.tuner { display: grid; grid-template-columns: 1.35fr 1fr; gap: 10px; background: var(--panel); border-radius: var(--r-lg); padding: 10px; color: #fff; }
.tuner__view { position: relative; border-radius: 14px; background: radial-gradient(80% 80% at 50% 40%, #2b2b2b 0%, #050505 75%); display: grid; place-items: center; min-height: 380px; overflow: hidden; }
.tuner__view .tile { width: 46%; aspect-ratio: 1; height: auto; }
.tuner__out { position: absolute; left: 16px; right: 16px; bottom: 14px; display: flex; justify-content: space-between; align-items: baseline; font-family: var(--f-mono); font-size: 12px; color: rgba(255,255,255,.5); }
.tuner__out b { font-family: var(--f-pixel); font-weight: 400; font-size: clamp(18px, 1.8vw, 26px); color: #fff; }
.tuner__side { display: grid; gap: 6px; align-content: start; font-size: 13px; }
.tuner__grp { background: var(--panel-2); border-radius: 12px; padding: 12px; display: grid; gap: 10px; }
.tuner__grp label, .tuner__grp > span { font-family: var(--f-mono); font-size: 11px; color: rgba(255,255,255,.5); display: flex; justify-content: space-between; }
.tuner__grp label output { color: #fff; }
:is(.tuner, .fmt__est) input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 26px; background: transparent; }
:is(.tuner, .fmt__est) input[type="range"]::-webkit-slider-runnable-track { height: 26px; border-radius: 8px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.16) 0 1px, transparent 1px 7px), var(--panel-3); }
:is(.tuner, .fmt__est) input[type="range"]::-moz-range-track { height: 26px; border-radius: 8px; background: var(--panel-3); }
:is(.tuner, .fmt__est) input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 6px; height: 26px; border-radius: 3px; background: #fff; box-shadow: 0 0 10px rgba(255,255,255,.6); }
:is(.tuner, .fmt__est) input[type="range"]::-moz-range-thumb { width: 6px; height: 26px; border: 0; border-radius: 3px; background: #fff; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.seg button { padding: 8px 4px; border-radius: 8px; background: var(--panel-3); font-size: 12px; color: rgba(255,255,255,.6); transition: background .3s, color .3s; }
.seg button[aria-pressed="true"] { background: #fff; color: #000; }
@media (max-width: 560px) { .tuner { grid-template-columns: 1fr; } .tuner__view { min-height: 260px; } }

/* Приложение (история 3, выезжает на весь экран) */
.story3 { position: relative; }
.story3__pin { position: relative; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.story3__text { position: relative; z-index: 1; width: min(520px, 40vw); margin-left: var(--pad); }
.story3__text .cap { margin-bottom: 18px; }
.app {
  position: absolute; top: 50%; left: 50%; z-index: 2;
  width: 78vw; height: min(76svh, 760px);
  transform: translate(-6%, -50%);
  background: var(--panel); color: #fff; border-radius: var(--r-lg);
  display: grid; grid-template-columns: 210px 1fr; overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,.18);
}
.app__side { padding: 18px 14px; border-right: 1px solid var(--panel-line); display: flex; flex-direction: column; gap: 22px; font-size: 13px; }
.app__side svg.logo { width: 34px; color: #fff; }
.app__side .grp { display: grid; gap: 2px; }
.app__side .grp b { font-family: var(--f-mono); font-weight: 400; font-size: 10px; color: rgba(255,255,255,.35); margin-bottom: 4px; }
.app__side .grp span { padding: 6px 8px; border-radius: 7px; color: rgba(255,255,255,.75); display: flex; gap: 8px; align-items: center; }
.app__side .grp span.is-on { background: var(--panel-3); color: #fff; }
.app__side .grp span i { width: 8px; height: 8px; border-radius: 2px; background: rgba(255,255,255,.4); }
.app__main { padding: 18px 20px; overflow: hidden; display: flex; flex-direction: column; gap: 18px; }
.app__title { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.app__title span { font-family: var(--f-mono); font-size: 11px; color: rgba(255,255,255,.4); }
.app__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.app__card { background: var(--panel-2); border-radius: 12px; padding: 12px; display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; min-height: 96px; }
.app__card b { font-weight: 400; font-size: 13px; }
.app__card small { display: block; font-family: var(--f-mono); font-size: 10px; color: rgba(255,255,255,.4); margin-top: 4px; }
.app__card .tile { width: 54px; height: 54px; }
.app__big { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; min-height: 0; }
.app__big > div { border-radius: 12px; overflow: hidden; position: relative; }
.app__big > div span { position: absolute; left: 12px; bottom: 10px; font-size: 22px; letter-spacing: -0.02em; }
.app__big > div em { position: absolute; left: 12px; top: 10px; font-style: normal; font-family: var(--f-mono); font-size: 10px; padding: 3px 7px; border-radius: 6px; background: rgba(0,0,0,.45); }
.app__big .c1 { background: radial-gradient(120% 90% at 80% 0%, #4a4d52, #0e0f10 70%); }
.app__big .c2 { background: linear-gradient(150deg, #f4f4f4, #c9ccd0); color: #111; }
.app__big .c3 { background: conic-gradient(from 200deg at 60% 50%, #2a2a2a, #6c6f73, #1a1a1a, #2a2a2a); }
.app__big .c4 { background: #e9e9e9; color: #111; }
@media (max-width: 900px) {
  .story3__pin { height: auto; flex-direction: column; align-items: stretch; gap: 40px; padding-block: 80px; }
  .story3__text { width: auto; margin: 0 var(--pad); }
  .app { position: relative; top: auto; left: auto; width: auto; height: 520px; margin: 0 var(--pad); transform: none; grid-template-columns: 1fr; }
  .app__side { display: none; }
  .app__row, .app__big { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Feature cards (PWA) ---------- */
.fcards { padding-block: clamp(80px, 11vw, 160px); }
.sec-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-top .cap { margin-bottom: 14px; }
.fcards__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fcard__vis { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-2); }
.fcard h3 { margin-top: 22px; }
.fcard p { margin-top: 10px; color: var(--muted); font-size: 15px; max-width: 30ch; }
.fv-install { background: radial-gradient(80% 60% at 50% 30%, #3a3a3a, #0b0b0b 75%); }
.fv-install .ph { position: absolute; left: 50%; top: 14%; width: 56%; aspect-ratio: 9 / 18; transform: translateX(-50%); border-radius: 22px; border: 1.5px solid rgba(255,255,255,.5); background: #050505; }
.fv-install .sheet { position: absolute; left: 50%; bottom: 14%; width: 66%; transform: translateX(-50%); background: #fff; color: #000; border-radius: 14px; padding: 10px; display: grid; grid-template-columns: 28px 1fr; gap: 2px 8px; align-items: center; font-size: 11px; box-shadow: 0 14px 30px rgba(0,0,0,.4); }
.fv-install .sheet i { grid-row: span 2; width: 28px; height: 28px; border-radius: 7px; background: #000; display: grid; place-items: center; }
.fv-install .sheet i svg { width: 18px; color: #fff; }
.fv-install .sheet small { color: #666; font-size: 10px; }
.fv-install .sheet button { grid-column: 1 / -1; margin-top: 6px; height: 26px; border-radius: 7px; background: #000; color: #fff; font-size: 11px; }
.fv-offline { background: linear-gradient(180deg, #e9e9e9, #d4d4d4); display: grid; place-items: center; }
.fv-offline .stack { width: 70%; display: grid; gap: 8px; }
.fv-offline .stack span { height: 44px; border-radius: 12px; background: #fff; display: flex; align-items: center; gap: 10px; padding: 0 12px; font-size: 12px; color: #333; box-shadow: 0 4px 12px rgba(0,0,0,.06); }
.fv-offline .stack span i { width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(150deg, #cfd3d7, #8a9096); }
.fv-offline .badge { position: absolute; top: 14%; left: 50%; transform: translateX(-50%); font-family: var(--f-mono); font-size: 11px; padding: 6px 10px; border-radius: 8px; background: #0f0f0f; color: #fff; }
.fv-push { background: conic-gradient(from 200deg at 50% 60%, #e9f6ff, #f5e8ff, #ffeaf3, #fff8dc, #eaffdc, #e9f6ff); display: grid; align-content: center; gap: 8px; padding: 0 9%; }
.fv-push .n { background: rgba(255,255,255,.72); backdrop-filter: blur(10px); border-radius: 14px; padding: 10px 12px; display: grid; grid-template-columns: 26px 1fr; gap: 2px 10px; font-size: 12px; color: #111; box-shadow: 0 8px 20px rgba(0,0,0,.06); }
.fv-push .n i { grid-row: span 2; width: 26px; height: 26px; border-radius: 7px; background: #111; display: grid; place-items: center; }
.fv-push .n i svg { width: 16px; color: #fff; }
.fv-push .n small { color: #666; font-size: 11px; }
.fv-push .n:nth-child(2) { opacity: .75; transform: scale(.96); }
.fv-push .n:nth-child(3) { opacity: .45; transform: scale(.92); }
.fv-cross { background: #0f0f0f; display: grid; place-items: center; }
.fv-cross .devs { position: relative; width: 80%; aspect-ratio: 4 / 3; }
.fv-cross .lap { position: absolute; left: 0; top: 18%; width: 78%; aspect-ratio: 16 / 10; border: 1.5px solid rgba(255,255,255,.55); border-radius: 8px; background: linear-gradient(160deg, #2a2a2a, #0a0a0a); }
.fv-cross .tab { position: absolute; right: 6%; top: 8%; width: 34%; aspect-ratio: 3 / 4; border: 1.5px solid rgba(255,255,255,.55); border-radius: 10px; background: linear-gradient(160deg, #3a3a3a, #111); }
.fv-cross .mob { position: absolute; right: 0; bottom: 0; width: 20%; aspect-ratio: 9 / 18; border: 1.5px solid #fff; border-radius: 10px; background: linear-gradient(160deg, #e5e5e5, #9a9a9a); }
@media (max-width: 1100px) { .fcards__grid { grid-template-columns: repeat(2, 1fr); row-gap: 44px; } }
@media (max-width: 560px) { .fcards__grid { grid-template-columns: 1fr; } .sec-top { flex-direction: column; align-items: flex-start; } }

/* ---------- Три формата (табы) ---------- */
.modes { padding-block: clamp(60px, 9vw, 140px); }
.modes__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; }
.modes__vis { grid-column: 1 / span 6; position: relative; aspect-ratio: 1 / 1; border-radius: var(--r-lg); background: var(--bg-2); overflow: hidden; }
.modes__vis .pane { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: scale(1.03); transition: opacity .6s var(--ease), transform .9s var(--ease); }
.modes__vis .pane.is-on { opacity: 1; transform: none; }
.modes__txt { grid-column: 8 / span 5; }
.modes__txt .cap { margin-bottom: 20px; }
.modes__tabs { display: grid; gap: 6px; }
.modes__tab { text-align: left; color: var(--faint); transition: color .4s; }
.modes__tab .h3 { display: block; }
.modes__tab[aria-selected="true"] { color: var(--ink); }
.modes__desc { margin-top: 26px; min-height: 4.2em; max-width: 34ch; color: var(--muted); }
.modes__bar { margin-top: 18px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; max-width: 220px; }
.modes__bar i { display: block; height: 100%; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.mock { width: 74%; border-radius: 16px; background: var(--panel); color: #fff; padding: 12px; box-shadow: 0 30px 60px rgba(0,0,0,.15); }
.mock__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock__row + .mock__row { margin-top: 8px; }
.mock__row > * { aspect-ratio: 1; height: auto; }
.mock__bar { height: 10px; border-radius: 4px; background: var(--panel-3); margin-bottom: 10px; width: 60%; }
.mock--light { background: #fff; color: #111; }
.mock--light .mock__bar { background: #e6e6e6; }
.mock__code { font-family: var(--f-mono); font-size: 11px; line-height: 1.8; color: rgba(255,255,255,.55); white-space: pre; }
.mock__code em { font-style: normal; color: #fff; }
@media (max-width: 900px) {
  .modes__grid { grid-template-columns: 1fr; }
  .modes__vis, .modes__txt { grid-column: auto; }
  .modes__txt { order: -1; }
}

/* ---------- Галерея работ ---------- */
.gallery { padding-block: clamp(60px, 8vw, 120px); text-align: center; }
.gallery .cap { margin-bottom: 14px; }
.gallery__box { margin-top: clamp(32px, 4vw, 56px); border-radius: var(--r-lg); background: var(--bg-2); padding: clamp(28px, 4vw, 56px) 0 clamp(28px, 4vw, 48px); overflow: hidden; }
.gallery__row { display: flex; overflow: hidden; }
.gallery__track { display: flex; gap: clamp(18px, 3vw, 44px); padding-right: clamp(18px, 3vw, 44px); flex: none; animation: tick 60s linear infinite; }
.gallery__box:hover .gallery__track { animation-play-state: paused; }
.gcase { width: clamp(170px, 15vw, 230px); flex: none; text-align: center; cursor: pointer; }
.gcase:nth-child(odd) { margin-top: 40px; }
.gcase__cover { position: relative; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; transition: transform .7s var(--ease); }
.gcase:hover .gcase__cover { transform: translateY(-8px) rotate(-1.5deg); }
.gcase h3 { margin-top: 16px; font-weight: 400; font-size: 16px; }
.gcase p { font-size: 13px; color: var(--muted); margin-top: 4px; }
.gallery__cta { margin-top: clamp(32px, 4vw, 48px); }
.cv { position: absolute; inset: 0; color: #fff; }
.cv span { position: absolute; left: 12px; right: 12px; bottom: 12px; text-align: left; font-size: clamp(18px, 1.6vw, 24px); line-height: 1; letter-spacing: -0.03em; }
.cv em { position: absolute; left: 12px; top: 12px; font-style: normal; font-family: var(--f-pixel); font-size: 13px; opacity: .8; }
.cv--1 { background: linear-gradient(160deg, #33363b, #0b0b0c); }
.cv--2 { background: radial-gradient(100% 80% at 70% 10%, #f1f1f1, #b9bdc2 70%); color: #111; }
.cv--3 { background: #070707; }
.cv--3::before { content: "> ставка: 84 500 ₽\A> КП отправлено ✓"; white-space: pre; position: absolute; left: 12px; top: 40%; font-family: var(--f-mono); font-size: 11px; color: rgba(255,255,255,.6); text-align: left; }
.cv--4 { background: #e9e9e9; color: #111; }
.cv--4::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(0,0,0,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,.07) 1px, transparent 1px); background-size: 16.66% 12.5%; }
.cv--5 { background: conic-gradient(from 200deg at 60% 55%, #cfe9ff, #f3dcff, #ffe0ef, #fff5d1, #dcffd6, #cfe9ff); color: #111; }
.cv--6 { background: linear-gradient(200deg, #1e1f21, #000 70%); }
.cv--7 { background: radial-gradient(circle at 68% 34%, #fff 0 20%, transparent 20.5%), linear-gradient(170deg, #f4efe4, #e2d9c6); color: #111; }
.cv--8 { background: radial-gradient(circle at 62% 42%, transparent 0 27%, var(--glow-3) 27.5% 29%, transparent 29.5%), radial-gradient(circle at 62% 42%, #1c1c1c, #050505 60%); }
.cv--9 { background: linear-gradient(180deg, #dcd8d0, #aaa59c); color: #111; }
.cv--9::before { content: "§"; position: absolute; right: 10%; top: 6%; font-size: clamp(80px, 12vw, 180px); line-height: 1; color: rgba(0,0,0,.12); }
.cv--10 { background: radial-gradient(120% 90% at 20% 0%, #f8e38a, #f2a35a 60%, #e1774a); color: #111; }
.cv--11 { background: linear-gradient(200deg, #eef8ff, #bfe1f2); color: #111; }
.cv--11::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(0,0,0,.12) 1.2px, transparent 1.4px); background-size: 14px 14px; }
.cv--12 { background: #0c0c0c; }
.cv--12::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(116,214,242,.5) 0 2px, transparent 2px 26px); -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%); mask-image: linear-gradient(180deg, #000, transparent 75%); }

/* ---------- О студии: фото + утверждение, затем «как работаем» ---------- */
.about { padding-block: clamp(80px, 11vw, 160px); }
.about__eyebrow { margin-bottom: clamp(24px, 3vw, 40px); }
.about__intro { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
.about__left { grid-column: 1 / span 5; }
@media (min-width: 901px) { .about__left .about__photo { aspect-ratio: auto; height: clamp(440px, calc(100svh - 300px), 760px); } }
.about__photo { position: relative; margin: 0; aspect-ratio: 3 / 4; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-2); isolation: isolate; }
.about__slides { position: absolute; inset: -8% 0; }
.about__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .5s var(--ease); }
.about__slide.is-on { opacity: 1; }
.about__slide img, .about__ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
/* заглушка портрета: мягкий силуэт на светлом градиенте */
.about__ph { background: radial-gradient(120% 80% at 70% 10%, #f6f6f6 0%, #d9d9d9 55%, #bdbdbd 100%); }
.about__ph i { position: absolute; left: 50%; bottom: 0; width: 64%; aspect-ratio: 1 / 1.25; transform: translateX(-50%);
  background: radial-gradient(circle at 50% 26%, #8d8d8d 0 17%, transparent 17.5%), radial-gradient(ellipse 50% 42% at 50% 100%, #8d8d8d 0 99%, transparent 100%); opacity: .55; }
/* «рифлёное стекло», как фон первого экрана: при скролле проясняется, при наведении исчезает */
.about__glass { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  backdrop-filter: blur(var(--glass-blur, 14px)); -webkit-backdrop-filter: blur(var(--glass-blur, 14px));
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.22) 0 2px, rgba(255,255,255,0) 2px 30%, rgba(0,0,0,.08) 46%, rgba(0,0,0,0) 50%) 0 0 / 54px 100%;
  opacity: var(--glass, 1); transition: opacity .7s var(--ease); }
.about__photo:hover .about__glass { opacity: 0; }
/* Голосовое-приветствие в духе Telegram, но в стиле сайта: тёмное стекло, моно-цифры, хроматика на прослушанной части */
.voice { position: absolute; left: 14px; bottom: 14px; z-index: 3; width: min(340px, calc(100% - 28px)); display: grid; grid-template-columns: 42px 1fr; gap: 6px 12px; align-items: center;
  padding: 10px 14px 10px 10px; border-radius: 20px 20px 20px 6px; background: rgba(15,15,15,.74); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff;
  box-shadow: 0 18px 40px rgba(0,0,0,.25); opacity: 0; transform: translateY(12px) scale(.94); transform-origin: 0 100%; pointer-events: none;
  transition: opacity .45s var(--ease), transform .6s cubic-bezier(0.34, 1.56, 0.64, 1); }
.about__photo.is-voice .voice, .voice.is-playing { opacity: 1; transform: none; pointer-events: auto; }
@media (hover: none) { .voice { opacity: 1; transform: none; pointer-events: auto; } }
.voice.is-off { display: none; }
.voice__play { grid-row: span 2; width: 42px; height: 42px; border-radius: 50%; border: 0; padding: 0; background: #fff; color: #0f0f0f; display: grid; place-items: center; cursor: pointer; transition: transform .4s cubic-bezier(0.34, 1.56, 0.64, 1), background .3s; }
.voice__play:hover { transform: scale(1.07); }
.voice__play svg { width: 14px; height: 14px; }
.voice__play .i-pause, .voice.is-playing .voice__play .i-play { display: none; }
.voice.is-playing .voice__play .i-pause { display: block; }
.voice.is-playing .voice__play { background: linear-gradient(135deg, var(--glow-1), var(--glow-2) 55%, var(--glow-4)); }
.voice__wave { display: flex; align-items: center; gap: 2px; height: 26px; cursor: pointer; }
.voice__wave i { flex: 1 1 0; max-width: 3px; min-height: 3px; height: var(--h); border-radius: 2px; background: rgba(255,255,255,.32); transition: background .15s; }
.voice__wave i.on { background: #fff; }
.voice.is-playing .voice__wave i.on:last-of-type, .voice__wave i.on.edge { background: var(--glow-1); }
.voice__meta { display: flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 11px; color: rgba(255,255,255,.6); min-width: 0; }
.voice__dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--glow-1); }
.voice.is-heard .voice__dot { display: none; }
.voice__who { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.voice__tr { margin-left: auto; flex: none; border: 0; padding: 3px 7px; border-radius: 6px; background: rgba(255,255,255,.12); color: #fff; font: inherit; font-size: 10px; cursor: pointer; }
.voice__tr[aria-expanded="true"] { background: #fff; color: #111; }
.voice__text { grid-column: 1 / -1; margin: 4px 2px 2px; font-size: 13px; line-height: 1.2; color: rgba(255,255,255,.86); }
@media (prefers-reduced-motion: reduce) { .voice { transition: opacity .2s; transform: none; } }
/* смена человека: стекло на миг «запотевает», фото меняется под ним */
.about__photo.is-switching .about__glass { opacity: 1; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition-duration: .3s; }
.about__team { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 2px; border-radius: 14px; overflow: hidden; }
.about__team button { width: 100%; display: grid; grid-template-columns: 28px 1fr auto; align-items: baseline; gap: 10px; padding: 13px 14px; border: 0; background: var(--bg-2); color: var(--muted); font: inherit; font-size: 15px; text-align: left; cursor: pointer; position: relative; overflow: hidden; transition: background .3s, color .3s; }
.about__team button b { font-weight: 500; }
.about__team .n, .about__team .r { font-family: var(--f-mono); font-size: 11px; }
.about__team button:hover { color: var(--ink); }
.about__team button.is-on { background: var(--ink); color: var(--bg); }
.about__team button.is-on .r, .about__team button.is-on .n { opacity: .6; }
/* полоска автопереключения */
.about__team button::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, var(--glow-1), var(--glow-2), var(--glow-4)); }
.about__team button.is-on.is-timing::after { animation: teamBar var(--team-dur, 5s) linear forwards; }
@keyframes teamBar { to { transform: scaleX(1); } }
.about__photo figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(15,15,15,.72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fff; }
.about__photo figcaption b { font-weight: 500; font-size: 15px; }
.about__photo figcaption span { font-family: var(--f-mono); font-size: 11px; color: rgba(255,255,255,.55); }
.about__main { grid-column: 7 / span 6; display: grid; gap: clamp(28px, 3.4vw, 48px); padding-top: clamp(0px, 2vw, 24px); }
.about__main .h2 { font-size: clamp(32px, calc(32px + 20 * ((100vw - 375px) / 1425)), 52px); line-height: 1.02; max-width: 18ch; }
.about__hi { font-size: clamp(17px, 1.3vw, 20px); margin-bottom: calc(-1 * clamp(10px, 1.6vw, 24px)); }
.about__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; border-radius: 14px; overflow: hidden; }
.about__facts div { background: var(--bg-2); padding: clamp(14px, 1.6vw, 22px); }
.about__facts b { display: block; font-family: var(--f-pixel); font-weight: 400; font-size: clamp(38px, 4.4vw, 68px); line-height: .9; }
.about__facts span { display: block; margin-top: 10px; font-size: 13px; line-height: 1.2; color: var(--muted); max-width: 18ch; }
.about__trust { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.about__trust li { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: clamp(15px, 1.15vw, 18px); }
.about__mark { flex: none; width: 11px; height: 12px; color: var(--ink); }

.how { margin-top: clamp(96px, 12vw, 180px); }
.how__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.how__vis { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-2); margin-bottom: 22px; }
.how__n { display: block; font-family: var(--f-mono); font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.how__card p { margin-top: 10px; color: var(--muted); font-size: 15px; max-width: 34ch; }
/* 01 — видео-отчёт */
.hv-report { background: linear-gradient(180deg, #e9e9e9, #d6d6d6); display: grid; align-content: center; justify-items: center; gap: 12px; padding: 0 9%; }
.hv-report .scr { position: relative; width: 100%; padding: 12px 12px 14px; border-radius: 12px; background: #fff; box-shadow: 0 14px 30px rgba(0,0,0,.1); color: #111; }
.hv-report .tag { display: block; margin-bottom: 8px; font-size: 10px; color: #8a8a8a; }
.hv-report ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.hv-report li { display: flex; align-items: center; gap: 8px; font-size: 11px; line-height: 1.2; }
.hv-report li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid #c9c9c9; }
.hv-report li.ok::before { border-color: #111; background: #111; }
.hv-report li.now::before { border-color: var(--sky); background: var(--sky); }
.hv-report li em { margin-left: auto; font-style: normal; font-size: 10px; color: #8a8a8a; white-space: nowrap; }
.hv-report .bar { display: block; position: relative; height: 3px; margin-top: 11px; border-radius: 2px; background: #ececec; overflow: hidden; }
.hv-report .bar i { position: absolute; inset: 0 auto 0 0; width: 38%; background: linear-gradient(90deg, var(--glow-1), var(--glow-2), var(--glow-4)); transition: width 1.4s var(--ease); }
.hv-report .chips { display: flex; gap: 6px; }
.hv-report .chips span { font-size: 11px; padding: 6px 9px; border-radius: 8px; background: #fff; color: #555; box-shadow: 0 4px 12px rgba(0,0,0,.06); }
.hv-report .chips b { color: #111; font-weight: 600; }
.how__card:hover .hv-report .bar i { width: 82%; }
/* 02 — чат */
.hv-chat { background: #0f0f0f; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 0 8%; }
.hv-chat .msg { position: relative; max-width: 78%; padding: 9px 12px 18px; border-radius: 14px; font-size: 12px; line-height: 1.2; }
.hv-chat .msg small { position: absolute; right: 10px; bottom: 5px; font-size: 9px; opacity: .5; }
.hv-chat .msg--in { align-self: flex-start; background: #262626; color: #eee; border-bottom-left-radius: 4px; }
.hv-chat .msg--out { align-self: flex-end; background: #fff; color: #111; border-bottom-right-radius: 4px; }
.hv-chat .msg--typing { display: flex; gap: 4px; padding: 11px 12px; }
.hv-chat .msg--typing i { width: 5px; height: 5px; border-radius: 50%; background: #9a9a9a; animation: typing 1.2s infinite ease-in-out; }
.hv-chat .msg--typing i:nth-child(2) { animation-delay: .15s; }
.hv-chat .msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-3px); opacity: 1; } }
.hv-chat .sla { position: absolute; top: 12px; right: 12px; font-family: var(--f-mono); font-size: 10px; padding: 5px 8px; border-radius: 7px; color: #111; background: linear-gradient(90deg, var(--glow-1), var(--glow-3)); }
/* 03 — поддержка */
.hv-care { background: conic-gradient(from 200deg at 50% 60%, #e9f6ff, #f5e8ff, #ffeaf3, #fff8dc, #eaffdc, #e9f6ff); display: grid; align-content: center; gap: 8px; padding: 0 9%; }
.hv-care .row { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 12px; border-radius: 12px; background: rgba(255,255,255,.78); backdrop-filter: blur(10px); font-size: 12px; color: #222; box-shadow: 0 6px 16px rgba(0,0,0,.05); transition: transform .5s var(--ease); }
.hv-care .row em { margin-left: auto; font-style: normal; font-family: var(--f-mono); font-size: 10px; color: #777; }
.hv-care .row i { flex: none; width: 14px; height: 14px; border-radius: 50%; }
.hv-care .ok { background: #111; box-shadow: inset 0 0 0 4px var(--glow-3); }
.hv-care .wip { border: 2px solid #111; border-right-color: transparent; animation: spin 1.1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.how__card:hover .hv-care .row:nth-child(1) { transform: translateX(-4px); }
.how__card:hover .hv-care .row:nth-child(3) { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .hv-chat .msg--typing i, .hv-care .wip { animation: none; } }
@media (max-width: 900px) {
  .about__intro { grid-template-columns: 1fr; gap: 32px; }
  .about__left, .about__main { grid-column: auto; }
  .about__photo { aspect-ratio: 3 / 3.6; }
  .how__grid { grid-template-columns: 1fr; row-gap: 44px; }
}
@media (max-width: 520px) {
  .about__facts { grid-template-columns: 1fr 1fr; }
  .about__facts div:last-child { grid-column: 1 / -1; }
}

/* ---------- Инсайты (двойной блок) ---------- */
.double { padding-block: clamp(40px, 6vw, 100px); }
.double__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dcard { position: relative; display: flex; flex-direction: column; gap: 24px; border-radius: var(--r-lg); background: var(--bg-2); padding: clamp(20px, 2.6vw, 34px); min-height: 560px; overflow: hidden; }
.dcard__top { display: flex; justify-content: space-between; gap: 16px; }
.dcard__top .h3 { max-width: 14ch; }
.dcard__vis { flex: 1; border-radius: 14px; overflow: hidden; position: relative; min-height: 220px; }
.dcard p { color: var(--muted); max-width: 46ch; font-size: 15px; }
.dcard .meta { font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.dcard:hover .btn--icon::before { opacity: 1; transform: scaleY(1); animation: glow 2.4s linear infinite; }
@media (max-width: 900px) { .double__grid { grid-template-columns: 1fr; } .dcard { min-height: 460px; } }

/* ---------- Контакт ---------- */
.contact { padding-block: clamp(60px, 9vw, 140px) clamp(100px, 12vw, 180px); }
.contact__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: stretch; }
.contact__vis { grid-column: 1 / span 6; position: relative; border-radius: var(--r-lg); background: var(--panel); overflow: hidden; min-height: 560px; }
.contact__vis .big { position: absolute; inset: 0; display: grid; place-items: center; }
.contact__vis .big svg { width: 54%; color: #fff; filter: drop-shadow(-6px 4px 0 rgba(116,214,242,.55)) drop-shadow(6px -3px 0 rgba(242,140,196,.5)) drop-shadow(0 10px 18px rgba(167,209,251,.35)); }
.contact__vis .tag { position: absolute; left: 16px; top: 16px; font-family: var(--f-mono); font-size: 12px; color: rgba(255,255,255,.55); }
.contact__txt { grid-column: 8 / span 5; display: flex; flex-direction: column; justify-content: center; }
.contact__txt .cap { margin-bottom: 18px; }
.contact__txt :is(.h2, .h3) span { color: var(--faint); }
.form { margin-top: 32px; display: grid; gap: 10px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fld { position: relative; }
.fld input, .fld textarea { width: 100%; border: 1px solid transparent; outline: none; background: var(--bg-2); border-radius: 12px; padding: 22px 14px 8px; font-size: 16px; resize: none; transition: border-color .3s, background .3s; }
.fld textarea { min-height: 96px; }
.fld label { position: absolute; left: 14px; top: 15px; font-size: 15px; color: var(--muted); pointer-events: none; transition: transform .3s var(--ease), font-size .3s; transform-origin: left top; }
.fld input:focus, .fld textarea:focus { border-color: var(--ink); background: var(--bg); }
.fld input:focus + label, .fld input:not(:placeholder-shown) + label, .fld textarea:focus + label, .fld textarea:not(:placeholder-shown) + label { transform: translateY(-9px); font-size: 11px; }
.fld [aria-invalid="true"] { border-color: #d14; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 10px; background: var(--bg-2); font-size: 14px; cursor: pointer; transition: background .25s, color .25s; user-select: none; }
.chip span:hover { background: var(--bg-3); }
.chip input:checked + span { background: var(--ink-2); color: var(--on-ink); }
.chip input:focus-visible + span { outline: 2px solid var(--glow-1); outline-offset: 2px; }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 12px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); max-width: 34ch; cursor: pointer; }
.consent input { width: 16px; height: 16px; margin: 1px 0 0; accent-color: var(--ink-2); }
.form__status { min-height: 1.4em; font-size: 14px; color: var(--muted); }
.form__status a { text-decoration: underline; color: var(--ink); }
.contact__alt { display: flex; gap: 10px; margin-top: 26px; align-items: center; flex-wrap: wrap; }
.contact__alt a.pill { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 16px 0 8px; border-radius: 16px; background: var(--bg-2); font-size: 15px; transition: background .3s; }
.contact__alt a.pill:hover { background: var(--bg-3); }
.contact__alt a.pill .tile { width: 36px; height: 36px; border-radius: 10px; }
@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__vis, .contact__txt { grid-column: auto; }
  .contact__vis { min-height: 320px; order: 2; }
}
@media (max-width: 520px) { .form .row { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { padding-block: 0 clamp(100px, 12vw, 180px); }
.faq__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.faq__head { grid-column: 1 / span 4; }
.faq__head .cap { margin-bottom: 14px; }
.faq__list { grid-column: 6 / span 7; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { position: relative; width: 30px; height: 30px; flex: none; border-radius: 9px; background: var(--bg-2); transition: background .3s; }
.faq summary:hover .ic { background: var(--bg-3); }
.faq summary .ic::before, .faq summary .ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .5s var(--ease); }
.faq summary .ic::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary .ic::after { transform: translate(-50%, -50%) rotate(0); }
.faq .ans { padding: 0 48px 26px 0; color: var(--muted); max-width: 62ch; }
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; } .faq__head, .faq__list { grid-column: auto; } }

/* ---------- Footer ---------- */
.foot { position: relative; background: var(--footer); padding: calc(60px + clamp(80px, 9vw, 140px)) var(--pad) 40px; overflow: hidden; }
.foot__cols { display: grid; grid-template-columns: repeat(6, 1fr); gap: 40px 24px; }
.foot__col .cap { margin-bottom: 20px; }
.foot__col ul { display: grid; gap: 6px; }
.foot__col a, .foot__col li { font-size: 16px; }
.foot__mark { margin-top: clamp(56px, 7vw, 110px); }
.foot__mark svg { width: min(100%, 62vw); margin-inline: auto; height: auto; color: var(--ink); overflow: visible; }
@media (max-width: 700px) { .foot__mark svg { width: 100%; } }
.foot__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; color: var(--faint); font-size: 15px; }
@media (max-width: 900px) { .foot__cols { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Drawer кейса ---------- */
.drw { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
.drw.is-open { visibility: visible; }
.drw__bg { position: absolute; inset: 0; background: var(--overlay); opacity: 0; transition: opacity .5s var(--ease); }
.drw.is-open .drw__bg { opacity: 1; }
.drw__panel { position: absolute; top: 12px; right: 12px; bottom: 12px; width: min(620px, calc(100% - 24px)); border-radius: var(--r-lg); background: var(--bg); display: flex; flex-direction: column; transform: translateX(calc(100% + 24px)); transition: transform .8s var(--ease); overflow: hidden; }
.drw.is-open .drw__panel { transform: none; }
.drw__bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 12px 12px 20px; }
.drw__bar .acts { display: flex; gap: 6px; }
.drw__body { flex: 1; overflow: auto; overscroll-behavior: contain; padding: 0 20px 40px; }
.drw__cover { position: relative; aspect-ratio: 16 / 11; border-radius: 16px; overflow: hidden; margin-bottom: 26px; }
.drw__body .cap { margin-bottom: 10px; }
.drw__body dl { display: grid; gap: 22px; margin-top: 28px; }
.drw__body dt { font-family: var(--f-mono); font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.drw__body dd { font-size: 16px; }
.drw__metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 28px; }
.drw__metrics div { background: var(--bg-2); border-radius: 12px; padding: 14px; }
.drw__metrics b { display: block; font-family: var(--f-pixel); font-weight: 400; font-size: 26px; }
.drw__metrics span { font-size: 12px; color: var(--muted); }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 120; visibility: hidden; transform: translate(-50%, calc(100% + 40px)); padding: 12px 16px; border-radius: 12px; background: var(--ink-2); color: var(--on-ink); font-size: 14px; transition: transform .5s var(--ease); }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; }

/* ---------- JS-состояния появления ---------- */
.js [data-fade] { opacity: 0; transform: translateY(30px); }
.reduce [data-fade], .no-anim [data-fade] { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .ticker__track, .gallery__track { animation: none; }
}


/* ==========================================================================
   Страница «Работы» (work.html) — по мотивам milknetwork.com/work:
   фильтр-выпадашка по услугам, переключатель Grid / List, ритмичная сетка,
   в списке — превью, которое плывёт за курсором.
   ========================================================================== */
.works { padding-top: clamp(130px, 14vw, 200px); padding-bottom: clamp(80px, 10vw, 140px); }
.works__head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; margin-bottom: clamp(40px, 6vw, 88px); }
.works__title { grid-column: 1 / span 8; margin: 0; font-weight: var(--w-head, 500); font-size: clamp(64px, 13vw, 210px); line-height: .86; letter-spacing: -0.06em; }
.works__title sup { font-family: var(--f-pixel); font-weight: 400; font-size: .2em; letter-spacing: 0; vertical-align: top; margin-left: .15em; position: relative; top: .5em; }
.works__lead { grid-column: 9 / span 4; color: var(--muted); max-width: 32ch; }

.works__bar { position: relative; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: clamp(28px, 3.4vw, 48px); }
/* фильтр */
.wf { position: relative; width: min(420px, 100%); }
.wf__btn { width: 100%; height: 52px; display: flex; align-items: center; gap: 12px; padding: 0 16px 0 18px; border: 0; border-radius: 14px; background: var(--bg-2); color: var(--ink); font: inherit; font-size: 15px; cursor: pointer; position: relative; z-index: 2; transition: background .3s; }
.wf__btn:hover { background: var(--bg-3); }
.wf__btn > svg { width: 15px; height: 15px; flex: none; }
.wf__btn [data-wf-label] { flex: 1; text-align: left; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.wf__n { font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.wf__chev { transition: transform .5s var(--ease); }
.wf.is-open .wf__chev { transform: rotate(180deg); }
.wf__clear { position: absolute; right: -44px; top: 8px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--ink); color: var(--bg); display: grid; place-items: center; cursor: pointer; }
.wf__clear svg { width: 10px; height: 10px; }
.wf__clear[hidden] { display: none; }
.wf__panel { position: absolute; left: 0; top: 0; width: max(100%, min(680px, calc(100vw - 2 * var(--pad)))); padding: 64px 18px 18px; border-radius: 14px; background: var(--bg-2); box-shadow: 0 24px 60px rgba(0,0,0,.12);
  clip-path: inset(0 calc(100% - min(420px, 100%)) calc(100% - 52px) 0 round 14px); opacity: 0; visibility: hidden;
  transition: clip-path .7s var(--ease), opacity .3s, visibility 0s .7s; }
.wf.is-open .wf__panel { clip-path: inset(0 0 0 0 round 14px); opacity: 1; visibility: visible; transition: clip-path .7s var(--ease), opacity .2s, visibility 0s; }
.wf__list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 24px; }
@media (min-width: 700px) { .wf__list { columns: 3; } }
.wf__list li { break-inside: avoid; }
.wf__list button { width: 100%; display: flex; align-items: baseline; gap: 8px; padding: 9px 4px; border: 0; background: none; color: var(--muted); font: inherit; font-size: clamp(17px, 1.5vw, 22px); letter-spacing: -0.02em; text-align: left; cursor: pointer; transition: color .25s, transform .4s var(--ease); }
.wf__list button:hover { color: var(--ink); transform: translateX(4px); }
.wf__list button.is-on { color: var(--ink); }
.wf__list button.is-on::before { content: ""; width: 7px; height: 7px; border-radius: 50%; align-self: center; background: linear-gradient(135deg, var(--glow-1), var(--glow-2)); }
.wf__list button i { font-style: normal; font-family: var(--f-mono); font-size: 11px; color: var(--faint); }
.wf__list button[disabled] { opacity: .35; cursor: default; transform: none; }
/* Grid / List */
.vt { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--bg-2); }
.vt button { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border: 0; border-radius: 10px; background: none; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; transition: background .3s, color .3s; }
.vt button svg { width: 14px; height: 14px; }
.vt button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

/* сетка */
.works__grid[data-view="grid"] { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(40px, 4.4vw, 64px) 16px; }
.wk { position: relative; cursor: pointer; outline: none; }
.wk.is-hidden { display: none !important; }
.works__grid[data-view="grid"] .wk--l { grid-column: span 2; }
.works__grid[data-view="grid"] .wk--s { grid-column: span 1; }
.wk__cover { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 11; isolation: isolate; }
.works__grid[data-view="grid"] .wk--s .wk__cover { aspect-ratio: 8 / 11; }
.wk__cover .cv { transition: transform 1s var(--ease); }
.wk__cover .cv span { font-size: clamp(22px, 2.4vw, 40px); left: 18px; bottom: 18px; }
.wk__cover .cv em { left: 18px; top: 16px; }
.wk:hover .wk__cover .cv, .wk:focus-visible .wk__cover .cv { transform: scale(1.06); }
.wk:focus-visible .wk__cover { outline: 2px solid var(--ink); outline-offset: 3px; }
.wk__meta { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; margin-top: 16px; }
.wk__n { display: none; }
.wk__title { margin: 0; font-weight: 500; font-size: clamp(17px, 1.3vw, 20px); letter-spacing: -0.02em; }
.wk__tags { grid-column: 1; margin: 0; font-size: 14px; color: var(--muted); }
.wk__client { margin: 0; font-family: var(--f-mono); font-size: 12px; color: var(--muted); text-align: right; }
.wk__client { grid-column: 2; grid-row: 1; }
/* список */
.works__lhead { display: none; }
.works__grid[data-view="list"] + .works__empty, .works__empty { margin-top: 24px; color: var(--muted); }
.is-list .works__lhead { display: grid; }
.works__lhead, .works__grid[data-view="list"] .wk { grid-template-columns: 64px minmax(0, 1.7fr) minmax(0, 1.5fr) minmax(0, 1fr); column-gap: 16px; align-items: center; }
.works__lhead { padding-bottom: 12px; border-bottom: 1px solid var(--line); font-family: var(--f-mono); font-size: 11px; color: var(--faint); }
.works__lhead span:last-child { text-align: right; }
.works__grid[data-view="list"] .wk { display: grid; padding: clamp(16px, 1.8vw, 26px) 0; border-bottom: 1px solid var(--line); transition: opacity .4s var(--ease); }
.works__grid[data-view="list"] .wk__cover { display: none; }
.works__grid[data-view="list"] .wk__meta { display: contents; }
.works__grid[data-view="list"] .wk__n { display: block; grid-column: 1; grid-row: 1; font-family: var(--f-pixel); font-size: 15px; color: var(--muted); }
.works__grid[data-view="list"] .wk__title { grid-column: 2; grid-row: 1; font-size: clamp(22px, 2.4vw, 38px); line-height: 1.05; letter-spacing: -0.035em; transition: transform .6s var(--ease); }
.works__grid[data-view="list"] .wk__tags { grid-column: 3; grid-row: 1; }
.works__grid[data-view="list"] .wk__client { grid-column: 4; grid-row: 1; text-align: left; font-family: var(--f-sans); font-size: 14px; }
@media (hover: hover) {
  .works__grid[data-view="list"]:hover .wk:not(:hover) { opacity: .35; }
  .works__grid[data-view="list"] .wk:hover .wk__title { transform: translateX(12px); }
}
/* превью за курсором в режиме списка */
.wk-float { position: fixed; left: 0; top: 0; z-index: 60; width: clamp(240px, 22vw, 340px); aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; pointer-events: none;
  opacity: 0; transform: translate(-50%, -50%) scale(.85); transition: opacity .35s var(--ease), transform .5s var(--ease); box-shadow: 0 24px 60px rgba(0,0,0,.18); }
.wk-float.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.wk-float .cv span { font-size: 26px; left: 16px; bottom: 16px; }
/* призыв внизу */
.works-cta { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; padding-block: clamp(60px, 8vw, 120px) clamp(100px, 12vw, 180px); border-top: 1px solid var(--line); }
.works-cta .h2 { grid-column: 1 / span 8; }
.works-cta .btn { grid-column: 10 / span 3; justify-self: end; }
@media (max-width: 1000px) {
  .works__grid[data-view="grid"] { grid-template-columns: repeat(2, 1fr); }
  .works__grid[data-view="grid"] .wk--s .wk__cover { aspect-ratio: 8 / 11; }
  .works__lhead, .works__grid[data-view="list"] .wk { grid-template-columns: 48px minmax(0, 1.6fr) minmax(0, 1.4fr) minmax(0, 1fr); }
  .works__head { grid-template-columns: 1fr; }
  .works__title, .works__lead { grid-column: auto; }
  .works-cta { grid-template-columns: 1fr; }
  .works-cta .h2, .works-cta .btn { grid-column: auto; justify-self: start; }
}
@media (max-width: 640px) {
  .works__grid[data-view="grid"] { grid-template-columns: 1fr; }
  .works__grid[data-view="grid"] .wk--l, .works__grid[data-view="grid"] .wk--s { grid-column: auto; }
  .works__grid[data-view="grid"] .wk .wk__cover, .works__grid[data-view="grid"] .wk--s .wk__cover { aspect-ratio: 4 / 3; }
  .wf { flex: 1; width: auto; min-width: 0; }
  .wf__clear { right: 34px; top: 10px; width: 32px; height: 32px; z-index: 3; }
  .wf.has-filter .wf__n { visibility: hidden; }
  .vt button span { display: none; }
  .works__lhead { display: none !important; }
  .works__grid[data-view="list"] .wk { grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 4px; }
  .works__grid[data-view="list"] .wk__client { grid-column: 2; grid-row: 1; text-align: right; font-family: var(--f-mono); font-size: 12px; }
  .works__grid[data-view="list"] .wk__n { display: none; }
  .works__grid[data-view="list"] .wk__title { grid-column: 1; }
  .works__grid[data-view="list"] .wk__tags { grid-column: 1 / -1; grid-row: 2; }
}

/* кнопки под каруселью работ на главной */
.gallery__acts { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: clamp(32px, 4vw, 48px); }
.gallery__acts .gallery__cta { margin-top: 0; }

/* Работы на главной: те же карточки, сначала две строки, дальше «Показать ещё» */
.works--home { padding-top: clamp(80px, 11vw, 160px); padding-bottom: clamp(60px, 8vw, 120px); }
.works--home .sec-top { margin-bottom: clamp(24px, 3vw, 40px); }
.wk.is-cut { display: none !important; }
.works__more { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: clamp(40px, 5vw, 64px); }
.works__more [data-works-more][hidden] { display: none; }
.works__more-n { font-family: var(--f-mono); font-size: 12px; opacity: .55; margin-left: 4px; }

/* Отзывы: та же бегущая лента, карточки шире, внутри — цитата и автор */
.rv { width: clamp(250px, 21vw, 320px); flex: none; text-align: center; cursor: pointer; }
.rv:nth-child(odd) { margin-top: 40px; }
.rv__card { position: relative; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; transition: transform .7s var(--ease); }
.rv:hover .rv__card { transform: translateY(-8px) rotate(-1.5deg); }
.rv__body { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; padding: clamp(16px, 1.6vw, 22px); text-align: left; }
.rv__q { font-style: normal; font-family: var(--f-pixel); font-size: 56px; line-height: .7; opacity: .75; }
.rv__text { margin: 14px 0 0; font-size: clamp(15px, 1.15vw, 18px); line-height: 1.3; letter-spacing: -0.01em; }
.rv__who { margin-top: auto; display: flex; align-items: center; gap: 10px; }
.rv__ava { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-family: var(--f-mono); font-size: 11px; background: rgba(255,255,255,.16); }
.cv--2 .rv__ava, .cv--4 .rv__ava, .cv--5 .rv__ava, .cv--7 .rv__ava, .cv--9 .rv__ava, .cv--10 .rv__ava, .cv--11 .rv__ava { background: rgba(0,0,0,.08); }
.rv__who p { margin: 0; display: grid; gap: 2px; }
.rv__who b { font-weight: 500; font-size: 13px; }
.rv__who small { font-family: var(--f-mono); font-size: 10px; opacity: .6; }
.rv h3 { margin-top: 16px; font-weight: 400; font-size: 16px; }
.rv > p { font-size: 13px; color: var(--muted); margin-top: 4px; }
/* лента отзывов, как в cv--3, без декоративного текста «ставка» */
.rv .cv--3::before { content: none; }
.rv .cv--4::before { opacity: .5; }

/* Реальные проекты: обложка-картинка и значок награды Behance */
.wk__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--bg-2); transition: transform 1s var(--ease); }
.wk:hover .wk__img, .wk:focus-visible .wk__img { transform: scale(1.06); }
.wk__award { position: absolute; left: 12px; top: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px 6px 6px; border-radius: 999px;
  background: rgba(15,15,15,.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; font-size: 12px; line-height: 1; letter-spacing: -0.01em;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 6px 22px rgba(116,214,242,.25); }
.wk__award b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-weight: 700; font-size: 11px; color: #111;
  background: linear-gradient(135deg, var(--glow-1), var(--glow-2) 55%, var(--glow-4)); }
.wk__chip { display: none; vertical-align: middle; margin-left: 10px; padding: 4px 8px; border-radius: 999px; font-style: normal; font-family: var(--f-mono); font-size: 10px; letter-spacing: 0; color: #111;
  background: linear-gradient(90deg, var(--glow-1), var(--glow-2)); }
.works__grid[data-view="list"] .wk__chip { display: inline-block; }
.wk-float .wk__award { display: none; }
.drw__cover .wk__img { transform: none; }
.drw__cover .wk__award { left: 14px; top: 14px; }

/* Живые обложки: слои с фото проекта сменяют друг друга при наведении */
.wk__live { opacity: 0; transition: opacity .25s linear; z-index: 1; }
.wk__live.is-on { opacity: 1; }
.wk--live .wk__award { z-index: 3; }
.wk--live::after { content: "●  live"; position: absolute; right: 12px; top: 12px; z-index: 3; padding: 4px 8px; border-radius: 999px; font-family: var(--f-mono); font-size: 10px; color: #fff; background: rgba(15,15,15,.55); backdrop-filter: blur(8px); opacity: 0; transition: opacity .3s; pointer-events: none; }
.works__grid[data-view="grid"] .wk--live:hover::after { opacity: 1; }
.wk-float .wk__live { display: none; }

/* Широкий сайдбар кейса с галереей: слева описание (липкое), справа фото с подписями */
.drw.drw--wide .drw__panel { width: min(1120px, calc(100% - 24px)); }
.drw__grid { display: grid; grid-template-columns: minmax(280px, 360px) 1fr; gap: clamp(24px, 3vw, 44px); align-items: start; }
.drw__info { position: sticky; top: 0; padding-bottom: 8px; }
.drw__info dl { margin-top: 20px; gap: 16px; }
.drw__info dd { font-size: 15px; line-height: 1.2; }
.drw__acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.drw--wide .drw__metrics { margin-top: 22px; }
.drw__gal { display: grid; gap: clamp(22px, 2.6vw, 36px); }
.drw__sec { margin: 0; }
.drw__imgs { display: grid; gap: 8px; }
.drw__sec--two .drw__imgs { grid-template-columns: 1fr 1fr; }
.drw__imgs img { display: block; width: 100%; height: auto; border-radius: 14px; background: var(--bg-2); }
.drw__sec figcaption { margin-top: 10px; font-family: var(--f-mono); font-size: 12px; line-height: 1.2; color: var(--muted); }
@media (max-width: 860px) {
  .drw__grid { grid-template-columns: 1fr; }
  .drw__info { position: static; }
}

.drw--wide .drw__cover { aspect-ratio: 21 / 9; }
.drw__info .drw__metrics b { font-size: clamp(20px, 1.8vw, 28px); white-space: nowrap; }
.drw__info .drw__metrics span { font-size: 11px; }

/* Видео в кейсе: вертикальный ролик на тёмной подложке, кнопка звука в стиле сайта */
.drw__sec--video .vplayer { position: relative; display: grid; place-items: center; padding: clamp(16px, 2vw, 28px) 0; border-radius: 16px; background: var(--panel); overflow: hidden; }
.vplayer video { display: block; height: min(76vh, 760px); max-width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 12px; cursor: pointer; background: #000; }
.vplayer__sound { position: absolute; left: 50%; bottom: clamp(26px, 3vw, 40px); transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px 0 14px; border: 0; border-radius: 999px;
  background: rgba(255,255,255,.92); color: #111; font: inherit; font-size: 14px; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: transform .4s cubic-bezier(0.34, 1.56, 0.64, 1), background .3s; }
.vplayer__sound:hover { transform: translateX(-50%) scale(1.04); }
/* иконка: динамик + волны / перечёркнутый */
.vplayer__sound i { position: relative; width: 18px; height: 14px; }
.vplayer__sound i::before { content: ""; position: absolute; left: 0; top: 3px; width: 8px; height: 8px; background: currentColor; clip-path: polygon(0 25%, 40% 25%, 100% -20%, 100% 120%, 40% 75%, 0 75%); }
.vplayer__sound i::after { content: ""; position: absolute; left: 10px; top: 1px; width: 8px; height: 12px; border: 2px solid currentColor; border-left: 0; border-radius: 0 12px 12px 0; opacity: .35; }
.vplayer.is-sound .vplayer__sound { background: linear-gradient(135deg, var(--glow-1), var(--glow-2) 55%, var(--glow-4)); }
.vplayer.is-sound .vplayer__sound i::after { opacity: 1; animation: vwave 1s ease-in-out infinite; }
@keyframes vwave { 50% { transform: scaleX(.6); transform-origin: left; } }
.vplayer__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.12); }
.vplayer__bar i { position: absolute; inset: 0; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, var(--glow-1), var(--glow-2), var(--glow-4)); }
.vplayer.is-paused::after { content: ""; position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; pointer-events: none;
  background: rgba(255,255,255,.9) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M3 1.6 8.4 5 3 8.4z' fill='%23111'/%3E%3C/svg%3E") center / 22px no-repeat; }
@media (prefers-reduced-motion: reduce) { .vplayer.is-sound .vplayer__sound i::after { animation: none; } }

/* Видео на обложке карточки при наведении */
.wk__vid { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; background: #111; overflow: hidden; opacity: 0; transition: opacity .35s var(--ease); }
.wk__vid.is-on { opacity: 1; }
.wk__vid-bg { position: absolute; inset: -10%; background: center / cover no-repeat; filter: blur(28px) saturate(1.2); opacity: .85; transform: scale(1.1); }
.wk__vid video { position: relative; height: 100%; aspect-ratio: 9 / 16; object-fit: cover; box-shadow: 0 0 60px rgba(0,0,0,.35); }
.wk-float .wk__vid { display: none; }
.wk--live .wk__vid ~ .wk__award, .wk--live .wk__award { z-index: 3; }
.wk__vid video { position: absolute; top: 0; left: 50%; width: auto; max-width: none; height: 100%; transform: translateX(-50%); }

/* Сайт на обложке: длинный скриншот прокручивается при наведении */
.wk__img--top { object-position: 50% 0; }
.wk__scroll { position: absolute; inset: 0; z-index: 1; overflow: hidden; background: #fff; opacity: 0; transition: opacity .3s var(--ease); }
.wk__scroll.is-on { opacity: 1; }
.wk__scroll img { display: block; width: 100%; height: auto; will-change: transform; }
.wk-float .wk__scroll { display: none; }
/* Мобильные экраны в кейсе — как телефоны */
.drw__sec--phone .drw__imgs { padding: clamp(16px, 3vw, 40px); border-radius: 16px; background: var(--panel); gap: clamp(12px, 2.5vw, 32px); }
.drw__sec--phone img { border-radius: clamp(16px, 2.2vw, 28px); box-shadow: 0 0 0 6px #111, 0 24px 50px rgba(0,0,0,.25); }
@media (prefers-reduced-motion: reduce) { .wk__scroll img { transition: none !important; } }
.drw__sec--two.drw__sec--phone .drw__imgs { grid-template-columns: repeat(2, minmax(0, 260px)); justify-content: center; }

/* Пояснение под кнопками кейса: живой сайт может отличаться от сданной версии */
.drw__note { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; font-size: 13px; line-height: 1.2; color: var(--muted, rgba(0,0,0,.55)); }
.drw__note i { flex: none; display: grid; place-items: center; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; border: 1px solid currentColor; font: 600 11px/1 var(--f-mono, monospace); font-style: normal; }
.works--home .sec-top .works__lead { margin: 0 0 6px; text-align: left; }
/* Закрыть кейс — квадратная кнопка с крестиком */
.drw__x { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 12px; background: #2a2a2a; color: #fff; cursor: pointer; transition: transform .4s cubic-bezier(0.34, 1.56, 0.64, 1), background .25s; }
.drw__x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.drw__x:hover { background: #111; transform: rotate(90deg); }
.drw__x:focus-visible { outline: 2px solid var(--glow-2, #7aa2ff); outline-offset: 2px; }
.drw__bar .acts { align-items: center; }

/* Меню открыто — вместо трёх точек тёмный квадрат с крестиком */
.hdr__toggle { position: relative; }
.hdr__x { position: absolute; inset: 0; margin: auto; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; opacity: 0; transform: rotate(-90deg) scale(.6); transition: opacity .3s var(--ease), transform .5s cubic-bezier(0.34, 1.56, 0.64, 1); }
.hdr__toggle span { transition: opacity .25s var(--ease); }
.menu-open .hdr__toggle { background: var(--ink); color: var(--bg); }
.menu-open .hdr__toggle:hover { background: var(--ink); opacity: .85; }
.menu-open .hdr__toggle span { opacity: 0; }
.menu-open .hdr__x { opacity: 1; transform: none; }
/* крестик кейса — тоже от цветов темы, чтобы читался и в тёмной */
.drw__x { background: var(--ink); color: var(--bg); }
.drw__x:hover { background: var(--ink); opacity: .85; }

/* Первый экран с SEO-заголовком: слоган сверху мелко, H1 — что делаем, ниже — для кого */
.hero__tag { margin-bottom: 22px; opacity: .8; }
.hero__title--seo { max-width: 19ch; font-size: clamp(38px, calc(38px + 46 * ((100vw - 375px) / 1425)), 84px); line-height: 1.02; text-wrap: balance; }
.hero__title--seo + .hero__sub { max-width: none; }
.hero__title--seo { max-width: none; font-size: clamp(36px, calc(36px + 40 * ((100vw - 375px) / 1425)), 76px); }
@media (max-width: 760px) { .hero__title--seo .br-d { display: none; } .hero__title--seo { max-width: 16ch; } }

/* Первый экран: крупно — «Без лишнего шума» (настроение), ниже H1 — что делаем (для поиска), ещё ниже — для кого */
.hero__h1 { margin: 26px 0 0; max-width: 30ch; font-weight: inherit; text-wrap: balance; }
.hero__aud { margin: 14px 0 0; font-size: clamp(14px, 1.1vw, 17px); color: var(--muted); }
.hero__h1 { max-width: none; }
@media (max-width: 760px) { .hero__h1 .br-d { display: none; } .hero__h1 { max-width: 30ch; } }

/* ---------- Ссылка со списка команды на страницу специалиста ---------- */
.about__more { margin-top: 14px; display: flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.about__more a { color: var(--ink); }
.about__more svg { width: 12px; height: 12px; flex: none; color: var(--muted); transition: transform .5s var(--ease); }
.about__more:hover svg { transform: translateX(3px); }

/* Кейс на весь экран: панель выезжает снизу и занимает весь экран с тонкой рамкой затемнения, фон темнее и размыт */
.drw__bg { background: rgba(6, 6, 6, .82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.drw__panel, .drw.drw--wide .drw__panel { top: 16px; right: 16px; bottom: 16px; left: 16px; width: auto; transform: translateY(calc(100% + 32px)); }
.drw.is-open .drw__panel { transform: none; }
.drw__body { padding: 0 clamp(20px, 3vw, 48px) 56px; }
.drw__body > * { max-width: 1320px; margin-left: auto; margin-right: auto; }
.drw:not(.drw--wide) .drw__body > * { max-width: 760px; }
.drw__bar { padding: 14px 14px 14px clamp(20px, 3vw, 48px); }
.drw--wide .drw__cover { aspect-ratio: 24 / 9; }
@media (max-width: 760px) {
  .drw__panel, .drw.drw--wide .drw__panel { top: 8px; right: 8px; bottom: 8px; left: 8px; }
  .drw--wide .drw__cover { aspect-ratio: 16 / 11; }
}
/* Две крупные карточки в ряд и на планшете */
@media (max-width: 1000px) and (min-width: 761px) { .works__grid[data-view="grid"] .wk--l { grid-column: span 1; } }

/* ===== Кейс-лонгрид (пробный, у BYSSFIT: story в CASES) ===== */
.drw--story .drw__cover { aspect-ratio: 21 / 9; margin-bottom: 0; }
.cs { max-width: 1200px; }
.cs__head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; padding: clamp(40px, 6vw, 96px) 0 clamp(32px, 4vw, 64px); border-bottom: 1px solid var(--line); }
.cs__title { grid-column: 1 / span 6; margin: 0; }
.cs__meta { grid-column: 7 / span 6; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 24px; margin: 0; }
.cs__meta dt { font-family: var(--f-mono); font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.cs__meta dd { margin: 0; font-size: 15px; line-height: 1.2; }
.cs__txt { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; padding: clamp(56px, 8vw, 128px) 0 clamp(40px, 5vw, 72px); }
.cs__lbl { grid-column: 1 / span 3; margin: 6px 0 0; font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
.cs__p { grid-column: 4 / span 8; }
.cs__p > p { margin: 0; font-size: clamp(20px, 2vw, 30px); line-height: 1.2; letter-spacing: -0.015em; text-wrap: pretty; }
.cs__metrics { margin-top: 36px; max-width: 640px; }
.cs .drw__sec { margin-top: clamp(16px, 2vw, 28px); }
.cs .drw__sec figcaption { margin-top: 12px; }
.cs__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; margin-top: clamp(64px, 9vw, 140px); padding-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--line); }
.cs__foot .h3 { margin: 0; max-width: 18ch; }
.cs__foot .drw__acts { margin: 0; }
@media (max-width: 760px) {
  .cs__head, .cs__txt { grid-template-columns: 1fr; gap: 14px; }
  .cs__title, .cs__meta, .cs__lbl, .cs__p { grid-column: auto; }
  .drw--story .drw__cover { aspect-ratio: 4 / 3; }
}
.cs__p, .cs__lbl { min-width: 0; }
.cs__metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .cs__metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cs__metrics b { white-space: normal; font-size: 20px; } }

/* ===== Переключатель вариантов кейса-лонгрида (A / B) ===== */
.cs__switch { display: none; gap: 2px; padding: 3px; margin-right: 6px; border-radius: 12px; background: var(--bg-2); }
.drw--story .cs__switch { display: inline-flex; }
.cs__switch button { min-width: 34px; height: 32px; padding: 0 10px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font: 500 13px/1 var(--f-mono); cursor: pointer; }
.cs__switch button.is-on { background: var(--ink); color: var(--bg); }
.cs__over { display: none; }
.cs__lbl b { font-weight: inherit; }

/* ===== Вариант B: тёмный, картинки во весь край, крупные заявления и цифры ===== */
.drw--story.cs-b .drw__panel { --pad: clamp(20px, 3vw, 48px); background: #0e0e0e; color: #f1f1f1; --ink: #f1f1f1; --bg: #0e0e0e; --bg-2: #1b1b1b; --panel: #151515; --muted: rgba(255,255,255,.5); --line: rgba(255,255,255,.12); }
.drw--story.cs-b .drw__body > .drw__cover, .drw--story.cs-b .drw__body > .cs { max-width: none; }
.drw--story.cs-b .drw__cover { margin: 0 calc(-1 * var(--pad)); aspect-ratio: auto; height: calc(100svh - 112px); min-height: 420px; border-radius: 0; }
.drw--story.cs-b .drw__cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,0) 55%); pointer-events: none; }
.drw--story.cs-b .cs__over { display: block; position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(24px, 4vw, 56px); z-index: 2; color: #fff; }
.cs__kicker { margin: 0 0 12px; font-family: var(--f-mono); font-size: 13px; opacity: .75; }
.cs__big { margin: 0; font-size: clamp(64px, 11vw, 200px); line-height: .9; letter-spacing: -0.05em; font-weight: 500; }
.drw--story.cs-b .cs__head, .drw--story.cs-b .cs__txt, .drw--story.cs-b .cs__foot { max-width: 1200px; margin-left: auto; margin-right: auto; }
.drw--story.cs-b .cs__title { display: none; }
.drw--story.cs-b .cs__head { padding-top: clamp(28px, 3vw, 44px); }
.drw--story.cs-b .cs__meta { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.drw--story.cs-b .cs__lbl b { display: block; margin-bottom: 10px; font-family: var(--f-pixel); font-size: clamp(44px, 5vw, 80px); line-height: 1; color: #fff; }
.drw--story.cs-b .cs__p > p { font-size: clamp(16px, 1.2vw, 19px); line-height: 1.2; color: rgba(255,255,255,.62); letter-spacing: 0; }
.drw--story.cs-b .cs__lead { display: block; margin-bottom: 22px; font-size: clamp(28px, 3.4vw, 54px); line-height: 1.08; letter-spacing: -0.03em; color: #fff; text-wrap: balance; }
.drw--story.cs-b .cs .drw__sec { margin: 4px calc(-1 * var(--pad)) 0; }
.drw--story.cs-b .cs .drw__imgs { gap: 4px; }
.drw--story.cs-b .cs .drw__imgs img { border-radius: 0; background: #151515; }
.drw--story.cs-b .cs .drw__sec figcaption { padding: 0 var(--pad); color: rgba(255,255,255,.45); }
.drw--story.cs-b .cs .drw__sec--video .vplayer { border-radius: 0; background: #151515; }
.drw--story.cs-b .cs__metrics { max-width: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.drw--story.cs-b .cs__metrics div { background: none; border-top: 1px solid var(--line); border-radius: 0; padding: 18px 0 0; }
.drw--story.cs-b .cs__metrics b { font-size: clamp(36px, 4.6vw, 84px); line-height: 1; color: #fff; white-space: normal; }
.drw--story.cs-b .cs__metrics span { display: block; margin-top: 10px; font-size: 13px; }
.drw--story.cs-b .cs__foot .h3 { font-size: clamp(32px, 4vw, 64px); max-width: 14ch; color: #fff; }
.drw--story.cs-b .drw__x { background: #f1f1f1; color: #0e0e0e; }
@media (max-width: 760px) {
  .drw--story.cs-b .drw__cover { height: 70svh; }
  .drw--story.cs-b .cs__meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .drw--story.cs-b .cs__metrics { grid-template-columns: 1fr; gap: 0; }
}
.drw--story.cs-b .cs__metrics b { font-size: clamp(30px, 3.4vw, 60px); }
.drw--story.cs-b .cs__switch button { color: rgba(255,255,255,.7); }

/* ===== Вариант C: светлый, слева липкая колонка — паспорт, оглавление глав, кнопка; справа рассказ ===== */
.cs__nav, .cs__railcta { display: none; }
.drw--story.cs-c .drw__body > .cs { max-width: 1320px; }
.drw--story.cs-c .cs { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.drw--story.cs-c .cs__rail { position: sticky; top: 0; padding-top: clamp(32px, 4vw, 56px); }
.drw--story.cs-c .cs__head { display: block; padding: 0; border: 0; }
.drw--story.cs-c .cs__title { font-size: clamp(36px, 3.4vw, 56px); margin: 0 0 26px; }
.drw--story.cs-c .cs__meta { grid-template-columns: 1fr; gap: 14px; }
.drw--story.cs-c .cs__nav { display: grid; margin-top: 30px; border-top: 1px solid var(--line); }
.drw--story.cs-c .cs__nav a { display: flex; align-items: baseline; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 15px; transition: color .25s, padding .35s var(--ease); }
.drw--story.cs-c .cs__nav a b { font: 400 12px/1 var(--f-mono); }
.drw--story.cs-c .cs__nav a:hover, .drw--story.cs-c .cs__nav a.is-on { color: var(--ink); }
.drw--story.cs-c .cs__nav a.is-on { padding-left: 10px; }
.drw--story.cs-c .cs__nav a.is-on b { color: var(--glow-2, currentColor); }
.drw--story.cs-c .cs__railcta { display: inline-flex; margin-top: 26px; }
.drw--story.cs-c .cs__txt { display: block; padding: clamp(40px, 5vw, 80px) 0 clamp(20px, 2vw, 32px); }
.drw--story.cs-c .cs__lbl { margin: 0 0 16px; }
.drw--story.cs-c .cs__p > p { font-size: clamp(19px, 1.6vw, 25px); line-height: 1.2; }
.drw--story.cs-c .cs__lead { font-weight: 500; }
.drw--story.cs-c .cs__flow .drw__imgs img, .drw--story.cs-c .cs__flow .vplayer { border-radius: 18px; }
.drw--story.cs-c .cs__metrics { max-width: none; }
.drw--story.cs-c .cs__foot .h3 { max-width: 16ch; }
@media (max-width: 900px) {
  .drw--story.cs-c .cs { grid-template-columns: 1fr; gap: 0; }
  .drw--story.cs-c .cs__rail { position: static; }
  .drw--story.cs-c .cs__nav, .drw--story.cs-c .cs__railcta { display: none; }
  .drw--story.cs-c .cs__meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.drw--story.cs-b .cs__switch button.is-on { color: #0e0e0e; }

/* ===== Вариант D — гибрид B + C: тёмная обложка на весь экран, слева липкая колонка с оглавлением, справа крупные заявления ===== */
.drw--story.cs-d .drw__body > .cs { max-width: 1320px; }
.drw--story.cs-d .cs__rail { padding-top: clamp(36px, 4vw, 64px); }
.drw--story.cs-d .cs__head { max-width: none; margin: 0; padding: 0; border: 0; }
.drw--story.cs-d .cs__title { display: none; }
.drw--story.cs-d .cs__meta { grid-template-columns: 1fr; gap: 14px; }
.drw--story.cs-d .cs__nav a { color: rgba(255,255,255,.45); }
.drw--story.cs-d .cs__nav a b { font: 400 22px/1 var(--f-pixel); color: rgba(255,255,255,.35); min-width: 36px; }
.drw--story.cs-d .cs__nav a:hover, .drw--story.cs-d .cs__nav a.is-on { color: #fff; }
.drw--story.cs-d .cs__nav a.is-on b { color: #fff; }
.drw--story.cs-d .cs__railcta { background: #fff; color: #0e0e0e; }
.drw--story.cs-d .cs__txt { max-width: none; margin: 0; padding: clamp(56px, 6vw, 104px) 0 clamp(24px, 3vw, 40px); }
.drw--story.cs-d .cs__lbl { margin: 0 0 18px; }
.drw--story.cs-d .cs__lbl b { display: inline; margin: 0 6px 0 0; font-size: 14px; color: rgba(255,255,255,.5); font-family: var(--f-mono); }
.drw--story.cs-d .cs__p > p { font-size: 16px; line-height: 1.2; color: rgba(255,255,255,.62); }
.drw--story.cs-d .cs__lead { display: block; margin-bottom: 20px; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 400; color: #fff; text-wrap: balance; }
.drw--story.cs-d .cs .drw__sec { margin: 6px 0 0; }
.drw--story.cs-d .cs__flow .drw__imgs img, .drw--story.cs-d .cs__flow .vplayer { border-radius: 6px; }
.drw--story.cs-d .cs .drw__sec figcaption { padding: 0; }
.drw--story.cs-d .cs__foot { max-width: none; margin-left: 0; margin-right: 0; }
@media (max-width: 900px) {
  .drw--story.cs-d .cs__meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* в тёмных вариантах (B, D) главная кнопка — светлая */
.drw--story.cs-b .btn--cta { color: #0e0e0e; }
.drw--story.cs-b .btn--cta::after { background: #f1f1f1; }
.drw--story.cs-b .btn--light { background: #1f1f1f; color: #f1f1f1; }

/* ===== Вариант D подстраивается под тему сайта: светлая тема — светлый кейс, тёмная — тёмный ===== */
:root:not([data-theme="dark"]) .drw--story.cs-d .drw__panel { background: #fafafa; color: #0f0f0f; --ink: #0f0f0f; --bg: #fafafa; --bg-2: #ededed; --panel: #f0f0f0; --muted: rgba(15,15,15,.45); --line: rgba(15,15,15,.1); }
:root:not([data-theme="dark"]) .drw--story.cs-d .cs__lead,
:root:not([data-theme="dark"]) .drw--story.cs-d .cs__metrics b,
:root:not([data-theme="dark"]) .drw--story.cs-d .cs__foot .h3 { color: #0f0f0f; }
:root:not([data-theme="dark"]) .drw--story.cs-d .cs__p > p { color: rgba(15,15,15,.62); }
:root:not([data-theme="dark"]) .drw--story.cs-d .cs__lbl b { color: rgba(15,15,15,.5); }
:root:not([data-theme="dark"]) .drw--story.cs-d .cs .drw__sec figcaption { color: rgba(15,15,15,.45); }
:root:not([data-theme="dark"]) .drw--story.cs-d .cs .drw__imgs img,
:root:not([data-theme="dark"]) .drw--story.cs-d .cs .drw__sec--video .vplayer { background: #ededed; }
:root:not([data-theme="dark"]) .drw--story.cs-d .cs__nav a { color: rgba(15,15,15,.45); }
:root:not([data-theme="dark"]) .drw--story.cs-d .cs__nav a b { color: rgba(15,15,15,.3); }
:root:not([data-theme="dark"]) .drw--story.cs-d .cs__nav a:hover,
:root:not([data-theme="dark"]) .drw--story.cs-d .cs__nav a.is-on,
:root:not([data-theme="dark"]) .drw--story.cs-d .cs__nav a.is-on b { color: #0f0f0f; }
:root:not([data-theme="dark"]) .drw--story.cs-d .cs__railcta { background: none; color: #ebebeb; }
:root:not([data-theme="dark"]) .drw--story.cs-d .btn--cta { color: #ebebeb; }
:root:not([data-theme="dark"]) .drw--story.cs-d .btn--cta::after { background: #1e1e1e; }
:root:not([data-theme="dark"]) .drw--story.cs-d .btn--light { background: #ededed; color: #0f0f0f; }
:root:not([data-theme="dark"]) .drw--story.cs-d .drw__x { background: #0f0f0f; color: #fafafa; }
:root:not([data-theme="dark"]) .drw--story.cs-d .cs__switch button { color: rgba(15,15,15,.55); }
:root:not([data-theme="dark"]) .drw--story.cs-d .cs__switch button.is-on { background: #0f0f0f; color: #fafafa; }

/* Награда в паспорте кейса — лента галереи Behance рядом с текстом */
.cs__award dd { display: flex; align-items: flex-start; gap: 12px; }
.cs__ribbon { flex: none; width: 31px; height: auto; margin-top: -2px; }

/* ===== Манифест «Мы убираем лишнее» ===== */
.mf { padding-block: clamp(96px, 14vw, 200px) clamp(72px, 10vw, 140px); text-align: center; }
.mf__q { margin: 0 0 clamp(20px, 2.4vw, 32px); }
.mf__text { max-width: 1180px; margin: 0 auto; font-size: clamp(30px, 4.3vw, 66px); line-height: 1.16; letter-spacing: -0.035em; font-weight: var(--w-head, 400); color: var(--ink); text-wrap: balance; }
.mf__dim { color: var(--faint); }
.mf__dim .mf__w { transition: color .2s linear; }
.mf__faces { display: inline-flex; vertical-align: middle; margin: -0.18em 0.12em 0; }
.mf__faces img { width: 1.05em; height: 1.05em; border-radius: 50%; object-fit: cover; border: 3px solid var(--bg); background: var(--bg-2); }
.mf__faces img + img { margin-left: -0.34em; }
.mf__join { display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); margin-top: clamp(56px, 7vw, 104px); }
.mf__line { flex: 1; height: 1px; background: var(--line); }
.mf__cta { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); font-size: clamp(15px, 1.2vw, 18px); transition: color .25s; }
.mf__cta:hover { color: var(--ink); }
.mf__ava { display: inline-flex; }
.mf__ava img, .mf__tg { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 3px solid var(--bg); }
.mf__ava > * + * { margin-left: -14px; }
.mf__tg { display: grid; place-items: center; background: #229ed9; color: #fff; }
.mf__tg svg { width: 20px; height: 20px; }
.mf__chip { padding: 5px 9px; border-radius: 6px; background: var(--ink); color: var(--bg); font: 500 12px/1 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; }
.mf__cta:hover .mf__chip { background: linear-gradient(135deg, var(--glow-1), var(--glow-2)); color: #0f0f0f; }
@media (max-width: 760px) {
  .mf { text-align: left; }
  .mf__line:first-child { display: none; }
  .mf__note { display: none; }
}

/* ===== Форматы проекта: 5 карточек, две строки — 2 крупные (сайт, кабинет) + 3 обычные ===== */
.fmt { padding-block: clamp(72px, 10vw, 140px) 0; }
.fmt__top { margin-bottom: clamp(28px, 3.4vw, 48px); }
.fmt__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.fmt__card { grid-column: span 2; position: relative; display: flex; flex-direction: column; min-height: 300px; padding: clamp(20px, 2vw, 30px); border-radius: var(--r-lg, 20px); background: var(--bg-2); color: var(--ink); transition: transform .5s var(--ease), background .3s; }
.fmt__card--site, .fmt__card--lk { grid-column: span 3; min-height: 340px; }
.fmt__card:hover { transform: translateY(-4px); background: var(--bg-3); }
.fmt__n { font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
.fmt__badge { position: absolute; top: clamp(18px, 2vw, 28px); right: clamp(18px, 2vw, 28px); padding: 5px 10px; border-radius: 999px; font: 500 12px/1 var(--f-mono); color: #0f0f0f; background: linear-gradient(135deg, var(--glow-1), var(--glow-2) 60%, var(--glow-4, var(--glow-2))); }
.fmt__t { margin: auto 0 12px; padding-top: 48px; font-size: clamp(24px, 2.2vw, 36px); line-height: 1.05; letter-spacing: -0.03em; font-weight: var(--w-head, 400); }
.fmt__d { margin: 0; max-width: 46ch; font-size: 15px; line-height: 1.2; color: var(--muted); }
.fmt__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; }
.fmt__who { font-family: var(--f-mono); color: var(--muted); }
.fmt__go { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.fmt__go svg { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.fmt__card:hover .fmt__go svg { transform: translateX(4px); }
/* «наша фишка» — тёмная карточка с мягким свечением */
.fmt__card--lk { background: var(--panel); color: #f1f1f1; overflow: hidden; }
.fmt__card--lk::before { content: ""; position: absolute; right: -20%; bottom: -40%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(242,140,196,.35), rgba(116,214,242,.18) 45%, transparent 70%); filter: blur(20px); pointer-events: none; }
.fmt__card--lk:hover { background: var(--panel-2, #1b1b1b); }
.fmt__card--lk .fmt__n, .fmt__card--lk .fmt__d, .fmt__card--lk .fmt__who { color: rgba(255,255,255,.6); }
.fmt__card--lk .fmt__foot { border-color: rgba(255,255,255,.12); }
:root[data-theme="dark"] .fmt__card--lk { background: #1d1d1d; }
@media (max-width: 1000px) {
  .fmt__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fmt__card, .fmt__card--site, .fmt__card--lk { grid-column: span 1; }
  .fmt__card--care { grid-column: span 2; }
}
/* телефон: карточки листаются вбок, чтобы страница не вытягивалась */
@media (max-width: 760px) {
  .fmt__grid { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--pad, 16px)); padding: 0 var(--pad, 16px) 6px; scrollbar-width: none; }
  .fmt__grid::-webkit-scrollbar { display: none; }
  .fmt__card, .fmt__card--site, .fmt__card--lk { flex: 0 0 82%; min-height: 320px; scroll-snap-align: start; }
}
@media (max-width: 760px) { .fmt__grid { scroll-padding-inline: var(--pad, 16px); } }

/* Строка про AI под карточками форматов (бывший блок «AI-native») */
.fmt__ai { display: flex; align-items: center; gap: 14px; margin: 20px 0 0; padding: 16px 20px; border-radius: 14px; border: 1px solid var(--line); font-size: 15px; line-height: 1.2; color: var(--muted); }
.fmt__ai .tile { flex: none; width: 34px; height: 34px; border-radius: 9px; }
/* Карточки форматов: подъём при наведении — через translate, а transform оставляем анимации появления (иначе они спорили и карточки застревали сдвинутыми вниз) */
.fmt__card { transition: translate .5s var(--ease), background .3s; }
.fmt__card:hover { transform: none; translate: 0 -4px; }

/* ===== Форматы: расчёт цены и срока под выбранный формат (бывший вариант 4) ===== */
.fmt__calc { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.fmt__calc { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.fmt__calc svg { width: 14px; height: 14px; rotate: 90deg; transition: translate .4s var(--ease); }
.fmt__card:hover .fmt__calc svg { translate: 0 3px; }
.fmt__card { cursor: pointer; outline: 2px solid transparent; outline-offset: -2px; transition: translate .5s var(--ease), background .3s, outline-color .3s; }
.fmt__card.is-sel { outline-color: var(--ink); }
.fmt__card--lk.is-sel { outline-color: var(--glow-1); }
.fmt__est { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: clamp(16px, 2.4vw, 40px); align-items: start; margin-top: 12px; padding: clamp(20px, 2.4vw, 34px); border-radius: var(--r-lg, 20px); background: var(--bg-2); }
.fmt__est[hidden] { display: none; }
.fmt__est-out { display: grid; gap: 8px; }
.fmt__est-k { font: 500 12px/1.3 var(--f-mono); color: var(--muted); }
.fmt__est-k b { font-weight: 500; color: var(--ink); }
.fmt__est-p { font-size: clamp(30px, 3.4vw, 52px); line-height: 1; letter-spacing: -0.03em; }
.fmt__est-w { font-size: 15px; color: var(--muted); }
.fmt__est-ctl, .fmt__est-side { display: grid; gap: 18px; }
.fmt__est-side .btn { justify-self: start; }
.fmt__est-note { grid-column: 1 / -1; margin: 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.fmt__est.is-pop .fmt__est-p { animation: fmtPop .5s var(--ease); }
@keyframes fmtPop { from { opacity: .3; translate: 0 6px; } }
@media (max-width: 1000px) { .fmt__est { grid-template-columns: 1fr 1fr; } .fmt__est-out { grid-column: 1 / -1; } }
@media (max-width: 760px) { .fmt__est { grid-template-columns: 1fr; } }
/* панель расчёта — тёмная, как «Настройщик», чтобы ползунки и кнопки смотрелись родными */
.fmt__est { background: var(--panel); color: #f1f1f1; }
:root[data-theme="dark"] .fmt__est { background: #1d1d1d; }
.fmt__est-k, .fmt__est-w, .fmt__est-note { color: rgba(255,255,255,.6); }
.fmt__est-k b { color: #f1f1f1; }
.fmt__est-note { border-color: rgba(255,255,255,.12); }
.fmt__est .btn--cta { color: #0e0e0e; }
.fmt__est .btn--cta::after { background: #f1f1f1; }

/* ===== Форматы: мини-тест «Не знаете, какой подойдёт?» ===== */
.fmt__quiz { display: block; margin-bottom: 12px; border-radius: var(--r-lg, 20px); background: var(--bg-2); overflow: hidden; }
.fmt__qbar { display: flex; align-items: center; gap: 14px; padding: 14px 14px 14px 20px; }
.fmt__qic { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font: 500 16px/1 var(--f-mono); color: #0f0f0f; background: linear-gradient(135deg, var(--glow-1), var(--glow-2)); }
.fmt__qlead { flex: 1; font-size: 15px; line-height: 1.2; color: var(--muted); }
.fmt__qlead b { font-weight: 500; color: var(--ink); }
.fmt__qstart { flex: none; padding: 12px 18px; border: 0; border-radius: 999px; background: var(--ink); color: var(--bg); font: inherit; font-size: 14px; cursor: pointer; transition: opacity .3s; }
.fmt__qstart:hover { opacity: .85; }
.fmt__quiz.is-on .fmt__qstart { display: none; }
.fmt__qbody { position: relative; padding: 6px 20px 26px; }
.fmt__qbody[hidden], .fmt__qstep[hidden], .fmt__qres[hidden] { display: none; }
.fmt__qstep, .fmt__qres { animation: fmtQ .45s var(--ease); }
@keyframes fmtQ { from { opacity: 0; translate: 16px 0; } }
.fmt__qn { margin: 0 0 6px; font: 500 12px/1 var(--f-mono); color: var(--muted); }
.fmt__qt { margin: 0 0 16px; font-size: clamp(22px, 2vw, 30px); line-height: 1.1; letter-spacing: -0.02em; }
.fmt__qwhy { margin: -6px 0 16px; max-width: 60ch; font-size: 15px; color: var(--muted); }
.fmt__qopts { display: flex; flex-wrap: wrap; gap: 8px; }
.fmt__qopts button { padding: 12px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-size: 15px; line-height: 1.2; text-align: left; cursor: pointer; transition: background .25s, border-color .25s, translate .3s var(--ease); }
.fmt__qopts button:hover { border-color: var(--ink); translate: 0 -2px; }
.fmt__qopts button.is-main { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.fmt__qprog { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--line); }
.fmt__qprog b { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--glow-1), var(--glow-2)); transition: width .5s var(--ease); }
.fmt__card.is-match { animation: fmtMatch 1.2s var(--ease); }
@keyframes fmtMatch { 30% { scale: 1.02; } }
.fmt__card .fmt__fit { display: none; }
.fmt__card.is-match .fmt__fit { display: inline-block; position: absolute; top: clamp(18px, 2vw, 28px); right: clamp(18px, 2vw, 28px); padding: 5px 10px; border-radius: 999px; font: 500 12px/1 var(--f-mono); color: var(--bg); background: var(--ink); }
.fmt__card--lk.is-match .fmt__fit { top: calc(clamp(18px, 2vw, 28px) + 30px); background: #f1f1f1; color: #0f0f0f; }
@media (max-width: 760px) {
  .fmt__qbar { flex-wrap: wrap; padding: 16px; }
  .fmt__qlead { flex-basis: calc(100% - 48px); }
  .fmt__qstart { width: 100%; }
  .fmt__qbody { padding: 4px 16px 24px; }
  .fmt__qopts button { width: 100%; }
}

/* Форматы: типы сайтов в карточке «Сайт под ключ» и плашка срока у «Быстрого старта» */
.fmt__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.fmt__tags span { padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; line-height: 1; color: var(--ink); }
.fmt__badge--line { color: var(--ink); background: transparent; border: 1px solid var(--ink); }
.fmt__card.is-match .fmt__badge--line { display: none; }

/* ===== Упрощение главной (25.11.2026): 3 направления в форматах, поддержка — дополнение ===== */
.fmt__grid > .fmt__card { grid-column: span 2; min-height: 400px; }
@media (max-width: 1000px) { .fmt__grid > .fmt__card { grid-column: span 1; } .fmt__grid > .fmt__card--brand { grid-column: span 2; min-height: 300px; } }
@media (max-width: 760px) { .fmt__grid > .fmt__card, .fmt__grid > .fmt__card--brand { min-height: 360px; } }
.fmt__card .fmt__t { padding-top: 32px; }
/* «Быстрый старт» внутри «Сайта», «приложение без App Store» внутри кабинета */
.fmt__var { display: block; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--bg); font-size: 14px; line-height: 1.2; color: var(--muted); border: 1px solid transparent; transition: border-color .25s; }
.fmt__var b { display: block; margin-bottom: 2px; font-weight: 500; color: var(--ink); }
.fmt__var[data-fmt-kind]:hover { border-color: var(--ink); }
.fmt__card--lk .fmt__var { background: rgba(255,255,255,.06); color: rgba(255,255,255,.62); }
.fmt__card--lk .fmt__var b { color: #f1f1f1; }
/* поддержка — тонкая полоса под карточками */
.fmt__card.fmt__addon { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 22px; min-height: 0; margin-top: 12px; padding: 18px clamp(20px, 2vw, 30px); }
.fmt__addon-k { font: 500 12px/1 var(--f-mono); color: var(--muted); }
.fmt__addon-t { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; }
.fmt__addon-d { flex: 1 1 260px; font-size: 15px; color: var(--muted); }
.fmt__addon-p { font-size: 15px; }
.fmt__addon .fmt__fit { display: none !important; }
@media (max-width: 760px) { .fmt__addon-d { flex-basis: 100%; order: 3; } }
/* «О студии»: строка про «убираем лишнее» под заголовком */
.about__lead { margin: 18px 0 0; max-width: 46ch; color: var(--muted); }
/* первый экран: «Обсудить проект» + «Смотреть работы» */
.hero__acts { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 26px; margin-top: 34px; }
.hero__acts .hero__cta { margin-top: 0; }
.hero__works { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink); }
.hero__works svg { width: 14px; height: 14px; rotate: 90deg; }

/* ===== Шапка: тема и язык на виду (26.11.2026) ===== */
.hdr__ctl { display: flex; align-items: center; gap: 6px; }
.hdr__icon { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: var(--ink); transition: background .3s; }
.hdr__icon:hover { background: var(--bg-3); }
.hdr__icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hdr__icon .i-sun, [data-theme="dark"] .hdr__icon .i-moon { display: none; }
[data-theme="dark"] .hdr__icon .i-sun { display: block; }
.lang { display: flex; padding: 2px; border-radius: 999px; border: 1px solid var(--line); }
.lang button { padding: 4px 8px; border-radius: 999px; font-family: var(--f-mono); font-size: 12px; line-height: 1; color: var(--muted); transition: color .3s, background .3s; }
.lang button:hover { color: var(--ink); }
.lang button[aria-current] { background: var(--ink); color: var(--bg); }
.hdr__ctl--m { margin-right: 6px; }
@media (min-width: 1024px) { .hdr__ctl--m { display: none; } }
/* всплывашка «EN — скоро» */
.lang-toast { position: fixed; left: 50%; bottom: 24px; z-index: 60; translate: -50% 12px; padding: 10px 16px; border-radius: 12px; background: var(--ink); color: var(--bg); font-size: 14px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .3s, translate .4s var(--ease); }
.lang-toast.is-on { opacity: 1; translate: -50% 0; }

/* ===== Часы на первом экране (26.11.2026) ===== */
.hero__clocks { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 32px; margin-top: 44px; }
.hero__clocks .clock { font-size: 11px; gap: 6px; }
/* в меню часы теперь первыми: без верхней линии, линия — под ними */
.drop__bottom .drop__clocks { padding: 0 0 18px; border-top: 0; border-bottom: 1px solid var(--line); }

/* ===== Статус студии на первом экране + блок «Сейчас в работе» (26.11.2026) ===== */
.hero__clocks { align-items: baseline; }
.hero__status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #fff; }
.hero__status i, .now__live i { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--sky); flex: none; }
.hero__status i::after, .now__live i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: livePulse 2s ease-out infinite; }
.hero__status.is-busy i { background: #9a9a9a; }
.hero__status.is-busy i::after { animation: none; }
@keyframes livePulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero__status i::after, .now__live i::after { animation: none; } }
@media (max-width: 560px) { .hero__clocks { row-gap: 12px; } .hero__status { flex-basis: 100%; justify-content: center; } }

.now { padding: 20px 22px 0; border-radius: var(--r); background: var(--bg-2); }
.now__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; }
.now__live { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; }
.now__upd, .now__s, .now__p { font-family: var(--f-mono); font-size: 11px; color: var(--muted); }
.now__list { list-style: none; margin: 0; padding: 0; }
.now__list li { display: grid; grid-template-columns: 1fr auto 72px 34px; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.now__t { font-size: 15px; }
.now__p { text-align: right; color: var(--ink); }
.now__bar { height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.now__bar i { display: block; height: 100%; border-radius: inherit; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.4s var(--ease); }
.now.is-in .now__bar i { transform: scaleX(var(--p)); }
.now__list li:nth-child(2) .now__bar i { transition-delay: .15s; }
.now__list li:nth-child(3) .now__bar i { transition-delay: .3s; }
.now__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 -22px; padding: 14px 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); border-radius: 0 0 var(--r) var(--r); transition: background .3s, color .3s; }
.now__foot:hover { background: var(--bg-3); color: var(--ink); }
.now__go { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); white-space: nowrap; }
.now__go svg { width: 14px; height: 14px; transition: translate .4s var(--ease); }
.now__foot:hover .now__go svg { translate: 3px 0; }
@media (max-width: 560px) {
  .now { padding: 18px 16px 0; }
  .now__foot { margin: 0 -16px; padding: 14px 16px; }
  .now__list li { grid-template-columns: 1fr 34px; gap: 6px 12px; }
  .now__s { grid-column: 1; grid-row: 2; }
  .now__bar { grid-column: 1 / -1; grid-row: 3; }
  .now__p { grid-column: 2; grid-row: 1; }
}

/* Левая колонка «О студии» (фото + команда) — липкая: пока справа идёт текст и «Сейчас в работе»,
   она остаётся на экране, и под ней не видно пустоты */
@media (min-width: 901px) { .about__left { position: sticky; top: 96px; } }

/* ===== Меню: порядок (26.11.2026) — 6 пунктов как на сайте, плитки в одном стиле, «Обсудить проект» — кнопкой ===== */
.tile--m { background: radial-gradient(90% 90% at 70% 20%, #3a3a3a 0%, #0c0c0c 70%); color: #fff; }
.tile--m .px { color: #fff; font-size: 34cqw; }
.tile--m-inv svg { filter: invert(1); }
.drop__txt { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.drop__item[aria-current] .drop__label::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-radius: 50%; background: currentColor; vertical-align: middle; }
.menu-open .drop__list li:nth-child(6) { transition-delay: 0.28s; }
.drop__bottom { gap: 18px; padding-top: 18px; }
.drop__cta { width: 100%; justify-content: center; }
.drop__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px 24px; }
.drop__row .grp { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.drop__bottom .drop__clocks { padding: 16px 0 0; border-top: 1px solid var(--line); border-bottom: 0; }
.drop__bottom .drop__clocks .clock { font-size: 13px; }
/* на телефоне наведения нет — подсказка сразу под названием, плитки меньше */
@media (hover: none), (max-width: 760px) {
  .drop__txt { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; }
  .drop__hint { margin-left: 0; max-width: none; text-align: left; opacity: 1; transform: none; font-size: 12px; line-height: 1.2; }
}
@media (max-width: 760px) {
  .drop__thumb { width: 48px; height: 48px; border-radius: 12px; }
  .drop__item { gap: 14px; padding: 7px 4px 7px 0; }
}

/* ===== «Сайт под ключ» тоже подсвечен (26.11.2026): плашка «чаще всего заказывают» + мягкое свечение, как у кабинета, но светлое ===== */
.fmt__card--site { overflow: hidden; isolation: isolate; }
.fmt__card--site::before { content: ""; position: absolute; z-index: -1; right: -18%; bottom: -34%; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(116,214,242,.6), rgba(201,160,255,.35) 42%, transparent 70%); filter: blur(14px); pointer-events: none; transition: transform 1s var(--ease); }
.fmt__card--site:hover::before { transform: scale(1.12); }
.fmt__badge--hit { color: var(--bg); background: var(--ink); }
.fmt__card--site.is-match .fmt__fit { top: calc(clamp(18px, 2vw, 28px) + 30px); }

/* номера карточек форматов (1/3…) убраны 26.11.2026: содержимое карточки по-прежнему прижато к низу (margin-top: auto у .fmt__t), плашки — справа вверху */

/* ===== «Фирменный стиль» в стиле соседних карточек (26.11.2026): плашка срока, ярлыки, вставка, тёплое свечение ===== */
.fmt__card--brand { overflow: hidden; isolation: isolate; }
.fmt__card--brand::before { content: ""; position: absolute; z-index: -1; right: -18%; bottom: -34%; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(246,226,122,.55), rgba(167,209,251,.35) 42%, transparent 70%); filter: blur(14px); pointer-events: none; transition: transform 1s var(--ease); }
.fmt__card--brand:hover::before { transform: scale(1.12); }
.fmt__card--brand .fmt__var { cursor: inherit; }
.fmt__card--brand .fmt__var:hover { border-color: transparent; }

/* скрытые группы расчёта (вариант сайта, темп) должны прятаться: display: grid у .tuner__grp перебивал атрибут hidden */
.tuner__grp[hidden] { display: none; }

/* ===== Подвал: «рифлёное стекло» первого экрана, притемнённое (26.11.2026) ===== */
.foot--glass { --ink: #fff; --muted: rgba(255,255,255,.62); --faint: rgba(255,255,255,.45); --line: rgba(255,255,255,.14);
  background: #0b0b0b; color: #fff; isolation: isolate; display: flex; flex-direction: column; min-height: min(100svh, 920px); }
.foot__bg { position: absolute; inset: 0; z-index: -2; }
.foot__bg canvas { width: 100%; height: 100%; display: block; }
.foot__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; transition: background .6s var(--ease); }
/* затемнение «легко» (выбрано 27.11.2026): сверху темнее — под текст, снизу — под «NOTO».
   Отклонённый вариант «сильно»: rgba(0,0,0,.88) 0%, .72 45%, .8 100% */
.foot--glass .foot__shade { background: linear-gradient(180deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.42) 45%, rgba(0,0,0,.55) 100%); }
.foot__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px 64px; flex-wrap: wrap; }
.foot__h { margin: 0; font-size: clamp(28px, 3vw, 44px); line-height: 1.05; letter-spacing: -0.03em; font-weight: var(--w-head, 500); }
.foot__sub { margin: 12px 0 0; color: var(--muted); font-size: 16px; }
.foot__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.foot--glass .btn--cta::after { background: #fff; }
.foot--glass .btn--cta { color: #0f0f0f; }
.foot__tg::after { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); }
.foot__tg { color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: var(--r, 16px); }
.foot__nav { display: flex; gap: clamp(40px, 6vw, 110px); }
.foot__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; align-content: start; }
.foot__nav a { font-size: 16px; color: rgba(255,255,255,.86); }
.foot__nav a:hover { color: #fff; }
.foot__word { margin-top: auto; padding-top: clamp(48px, 8vw, 120px); font-size: clamp(96px, 35vw, 600px); line-height: .78; letter-spacing: -0.065em; font-weight: 500; color: rgba(255,255,255,.12); margin-left: -0.04em; user-select: none; }
/* слово NOTO в футере полупрозрачное — сквозь него видно стекло, не перебивает кнопки (28.11.2026; было #fff) */
.foot--glass .foot__legal { margin-top: clamp(18px, 2vw, 28px); color: var(--faint); font-size: 14px; align-items: baseline; }
@media (max-width: 760px) {
  .foot--glass { min-height: 0; }
  .foot__top { flex-direction: column; }
  .foot__nav { width: 100%; justify-content: space-between; }
  .foot__btns .btn { flex: 1 1 100%; justify-content: center; }
}

/* подвал: колонки «Студия» и «Услуги» с подписями, телефон под кнопками (27.11.2026) */
.foot__cap { margin: 0 0 14px; font-family: var(--f-mono); font-size: 12px; color: rgba(255,255,255,.5); }
.foot__tel { display: inline-block; margin-top: 18px; font-family: var(--f-mono); font-size: 14px; color: rgba(255,255,255,.7); }
.foot__tel:hover { color: #fff; }

/* ===== Прелоадер: 3 варианта (27.11.2026). Тёмный в обеих темах — переходит в тёмное «стекло» первого экрана ===== */
.ldr__meta { position: absolute; left: var(--pad); right: var(--pad); bottom: 26px; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-family: var(--f-mono); font-size: 12px; color: rgba(255,255,255,.5); }
.ldr__num { font-family: var(--f-pixel); color: #fff; font-variant-numeric: tabular-nums; }

/* ===== 3D-логотип (видео video/logo.mp4, 27.11.2026) в шапке и в плитке «Студия» меню =====
   Видео — чёрный знак на белом. Белый убираем наложением: в светлой теме multiply, в тёмной — инверсия + screen.
   Если в системе «уменьшить движение» — показываем обычный плоский знак. Исходник: icon/noto-logo-3d_исходник.mp4 */
.logo3d { display: block; pointer-events: none; max-width: none; }
.logo3d-still { display: none; }
.hdr__logo { mix-blend-mode: multiply; }
.hdr__logo .logo3d { width: 52px; height: 52px; max-width: none; margin: -12px -6px; }
:root[data-theme="dark"] .hdr__logo { mix-blend-mode: screen; }
:root[data-theme="dark"] .hdr__logo .logo3d { filter: invert(1); }
.tile .logo3d { position: absolute; inset: 6%; width: 88%; height: 88%; filter: invert(1); mix-blend-mode: screen; }
@media (prefers-reduced-motion: reduce) {
  .logo3d { display: none; }
  .logo3d-still { display: block; }
  .hdr__logo { mix-blend-mode: normal; }
}


/* прелоадер G — «окно» в пропорциях экрана, сквозь него виден первый экран */
.ldr-g { background: transparent; }
.ldr__hole { --s: .06; position: absolute; left: 50%; top: 50%; width: calc(var(--s) * 100vw); height: calc(var(--s) * 100vh); translate: -50% -50%; box-shadow: 0 0 0 200vmax #0b0b0b; border-radius: calc(14px * (1 - var(--s))); }
.ldr__corner { position: absolute; width: 12px; height: 13px; color: #fff; }
.ldr__corner--tl { left: -18px; top: -18px; }
.ldr__corner--tr { right: -18px; top: -18px; rotate: 90deg; }
.ldr__corner--br { right: -18px; bottom: -18px; rotate: 180deg; }
.ldr__corner--bl { left: -18px; bottom: -18px; rotate: 270deg; }
.ldr__hole-num { position: absolute; left: 50%; top: calc(100% + 26px); translate: -50% 0; font-size: 22px; }

/* Первый экран и шапка скрыты, пока прелоадер не ушёл — анимация стартует сразу после него (startIntro добавляет .intro-started) */
.js:not(.intro-started) [data-hero-title], .js:not(.intro-started) [data-hero-in], .js:not(.intro-started) .hdr__left, .js:not(.intro-started) .hdr__right { opacity: 0; }

/* 3D-знак прелоадера, который перелетает в шапку (js/d.js — «Прелоадер», flyHome) */
.ldr-fly { position: fixed; left: 50%; top: 20%; z-index: 310; width: clamp(104px, 10vw, 150px); height: auto; aspect-ratio: 1; max-width: none; margin: calc(clamp(104px, 10vw, 150px) / -2) 0 0 calc(clamp(104px, 10vw, 150px) / -2); filter: invert(1); mix-blend-mode: difference; pointer-events: none; }


/* Меню: группы «Услуги» (плитки) и «Студия» (текст) — как колонки в футере */
.drop__cap { padding: 6px 0 8px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.drop__studio { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.drop__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.drop__links a { font-size: 18px; }
.drop__links sup { margin-left: 3px; font-family: var(--f-mono); font-size: 11px; color: var(--muted); vertical-align: top; }
.drop__links a[aria-current] { text-decoration: underline; text-underline-offset: 4px; }
.js .drop__cap, .js .drop__studio { opacity: 0; transform: translateY(10px); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); }
.menu-open .drop__cap, .menu-open .drop__studio { opacity: 1; transform: none; transition-delay: .06s; }
.menu-open .drop__studio { transition-delay: .26s; }
.drop__row { justify-content: flex-start; }
/* варианты: A — в шапке «Услуги» и Директ; B — в шапке разделы студии, услуги только в меню */
/* ВРЕМЕННО: переключатель меню A/B */
.menu-sw { position: fixed; left: 16px; bottom: 16px; z-index: 400; display: flex; align-items: center; gap: 4px; padding: 4px 4px 4px 12px; border-radius: 999px; background: #111; color: #fff; font-family: var(--f-mono); font-size: 11px; box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.menu-sw span { margin-right: 6px; opacity: .6; }
.menu-sw button { padding: 7px 11px; border-radius: 999px; color: #fff; }
.menu-sw button[aria-pressed="true"] { background: #fff; color: #111; }

/* Форматы: стартовая цена «от …» в карточке (28.11.2026) — без верхней границы, точная смета по заявке */
.fmt__from { display: block; margin-top: auto; padding-top: 22px; font-size: clamp(20px, 1.6vw, 24px); font-weight: 500; letter-spacing: -0.02em; line-height: 1; }
.fmt__from small { margin-right: 2px; font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.fmt__card--lk .fmt__from small { color: rgba(255,255,255,.6); }
.fmt__from + .fmt__foot { margin-top: 16px; }

/* Форматы — «прайс-лист» (выбран 28.11.2026 из 5 вариантов; остальные — _archive/форматы-варианты-A-B-D-E_2026-11-28.txt).
   Форматы строками одного вида: название и строка описания · кому · «от …» · «Посчитать». Тест — одной строкой-ссылкой. */
.fmt .fmt__quiz:not(.is-on) { background: transparent; margin-bottom: 16px; }
.fmt .fmt__quiz:not(.is-on) .fmt__qbar { padding: 0; gap: 10px; }
.fmt .fmt__quiz:not(.is-on) .fmt__qic { display: none; }
.fmt .fmt__quiz:not(.is-on) .fmt__qlead { flex: 0 1 auto; font-size: 14px; }
.fmt .fmt__quiz:not(.is-on) .fmt__qstart { padding: 0; background: none; color: var(--ink); font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.fmt .fmt__tags { display: none; }
.fmt .fmt__grid { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0; padding: 0; overflow: visible; border-top: 1px solid var(--line); }
.fmt .fmt__grid > .fmt__card { grid-column: auto; flex: none; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto 130px; grid-template-areas: "t from calc" "d from calc" "v from calc"; align-items: center; column-gap: clamp(16px, 3vw, 48px); row-gap: 4px; padding: clamp(16px, 1.7vw, 24px) 18px; border-radius: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); overflow: visible; }
.fmt .fmt__grid > .fmt__card:hover { translate: none; background: var(--bg-2); }
.fmt .fmt__grid > .fmt__card::before { display: none; }
.fmt .fmt__grid > .fmt__card.is-sel { outline-color: transparent; background: var(--bg-2); box-shadow: inset 3px 0 0 var(--ink); }
.fmt .fmt__badge { display: none; }
.fmt .fmt__card .fmt__t { grid-area: t; margin: 0; padding: 0; font-size: clamp(22px, 1.9vw, 30px); }
.fmt .fmt__card--site .fmt__t::after { content: "чаще всего"; display: inline-block; margin-left: 10px; padding: 4px 8px; border-radius: 999px; background: var(--ink); color: var(--bg); font: 500 11px/1 var(--f-mono); letter-spacing: 0; vertical-align: middle; }
.fmt .fmt__d { grid-area: d; max-width: 52ch; font-size: 14px; color: var(--muted) !important; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.fmt .fmt__var { display: none; }
.fmt .fmt__var[data-fmt-kind] { grid-area: v; display: block; margin: 2px 0 0; padding: 0; background: none; border: 0; font-size: 0; }
.fmt .fmt__var[data-fmt-kind] b { display: inline; margin: 0; font-size: 13px; font-weight: 400; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.fmt .fmt__var[data-fmt-kind] b:hover { color: var(--ink); }
.fmt .fmt__foot { display: contents; }
.fmt .fmt__who { display: none; }
/* цена — пиксельным шрифтом, как цифры статистики (MedeoPixel 38 → 68 px, 28.11.2026) */
.fmt .fmt__from { grid-area: from; margin: 0; padding: 0; justify-self: end; font-family: var(--f-pixel); font-weight: 400; font-size: clamp(38px, 4.4vw, 68px); line-height: .9; letter-spacing: 0; white-space: nowrap; }
.fmt .fmt__from small { margin-right: 6px; font-family: var(--f-sans); font-size: 14px; letter-spacing: 0; color: var(--muted) !important; vertical-align: .9em; }
.fmt .fmt__calc { grid-area: calc; justify-self: end; font-size: 14px; }
.fmt .fmt__card.fmt__addon { margin-top: 0; border-radius: 0; background: transparent; border-bottom: 1px solid var(--line); padding: 16px 18px; }
.fmt .fmt__card.fmt__addon:hover { translate: none; background: var(--bg-2); }
.fmt .fmt__est { margin-top: 20px; }
@media (max-width: 900px) {
  .fmt .fmt__grid > .fmt__card { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t t" "d d" "v v" "from calc"; row-gap: 6px; padding: 20px 4px; }
  .fmt .fmt__d { -webkit-line-clamp: 2; }
  .fmt .fmt__from { margin-top: 10px; justify-self: start; }
  .fmt .fmt__calc { margin-top: 8px; }
}

/* Блок заявки — «карточка» (выбран 28.11.2026; варианты A/B/D/E — _archive/заявка-и-манифест-варианты_2026-11-28.txt).
   Без картинки: слева крупный заголовок, «или напишите напрямую» и Telegram/телефон; справа форма в светлой карточке. */
.contact .contact__txt { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); grid-template-areas: "h form" "alt form"; column-gap: clamp(24px, 5vw, 96px); align-content: start; }
.contact .contact__txt > :is(.h2, .h3) { grid-area: h; font-size: clamp(32px, 4.4vw, 72px); }
.contact .contact__txt > .form { grid-area: form; padding: clamp(20px, 2.6vw, 40px); border-radius: var(--r-lg, 20px); background: var(--bg-2); }
.contact .contact__txt > .form :is(input:not([type="checkbox"]), textarea), .contact .contact__txt > .form .chip span { background: var(--bg); }
.contact .contact__alt { grid-area: alt; align-self: end; margin-top: 32px; }
.contact__or { display: block; flex-basis: 100%; font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
@media (max-width: 900px) {
  .contact .contact__txt { grid-template-columns: 1fr; grid-template-areas: "h" "form" "alt"; }
  .contact .contact__txt > :is(.h2, .h3) { margin-bottom: 24px; }
}

/* Цена в расчёте и у «Поддержки» — тоже MedeoPixel, как цены в прайс-листе (28.11.2026) */
.fmt .fmt__est-p { font-family: var(--f-pixel); font-weight: 400; font-size: clamp(38px, 4.4vw, 68px); line-height: .9; letter-spacing: 0; }
.fmt .fmt__card.fmt__addon .fmt__addon-p { font-family: var(--f-pixel); font-weight: 400; font-size: clamp(22px, 2vw, 30px); line-height: 1; letter-spacing: 0; white-space: nowrap; }

/* Панель расчёта — «небо»: голубой градиент из фото команды (выбран 28.11.2026; варианты — _archive/расчёт-цвета-A-B_2026-11-28.txt).
   Светлая панель: тёмный текст, тёмные ручки ползунков и выбранные кнопки, тёмная «Получить смету». */
.fmt .fmt__est { color: var(--ink); }
.fmt :is(.fmt__est-k, .fmt__est-w, .fmt__est-note) { color: var(--muted); }
.fmt .fmt__est-k b { color: var(--ink); }
.fmt .fmt__est-note { border-color: var(--line); }
.fmt .fmt__est .tuner__grp label, .fmt .fmt__est .tuner__grp > span { color: var(--muted); }
.fmt .fmt__est .tuner__grp label output { color: var(--ink); }
.fmt .fmt__est .seg button { color: var(--ink); }
.fmt .fmt__est .seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.fmt .fmt__est input[type="range"]::-webkit-slider-thumb { background: var(--ink); box-shadow: none; }
.fmt .fmt__est input[type="range"]::-moz-range-thumb { background: var(--ink); }
.fmt .fmt__est .btn--cta { color: var(--bg); }
.fmt .fmt__est .btn--cta::after { background: var(--ink); }
/* Панель расчёта (выбрано 04.12.2026): серая, как карточки форматов, со свечением в углу, как «Сайт».
   Прежнее «небо» и остальные фоны — _archive/расчёт-фоны-1-9_2026-12-04.* */
.fmt .fmt__est { position: relative; isolation: isolate; overflow: hidden; background: var(--bg-2); }
.fmt .fmt__est::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(760px 640px at 100% 100%, rgba(78,166,245,.72), rgba(167,209,251,.5) 45%, transparent 74%); } /* голубое «небо», выбрано 04.12.2026 */
.fmt .fmt__est .tuner__grp { background: rgba(255, 255, 255, .7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.fmt .fmt__est .seg button:not([aria-pressed="true"]) { background: #fff; }
.fmt .fmt__est input[type="range"]::-webkit-slider-runnable-track { background: repeating-linear-gradient(90deg, rgba(15,15,15,.14) 0 1px, transparent 1px 7px), #fff; }
.fmt .fmt__est input[type="range"]::-moz-range-track { background: #fff; }
:root[data-theme="dark"] .fmt .fmt__est::before { opacity: .45; }
:root[data-theme="dark"] .fmt .fmt__est .tuner__grp { background: rgba(255, 255, 255, .06); }
:root[data-theme="dark"] .fmt .fmt__est .seg button:not([aria-pressed="true"]) { background: rgba(255, 255, 255, .08); }
:root[data-theme="dark"] .fmt .fmt__est input[type="range"]::-webkit-slider-runnable-track { background: repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 1px, transparent 1px 7px), rgba(255, 255, 255, .06); }
:root[data-theme="dark"] .fmt .fmt__est input[type="range"]::-moz-range-track { background: rgba(255, 255, 255, .06); }

/* «Как мы работаем» — без картинок (выбран 28.11.2026; варианты A/C/D — _archive/как-работаем-варианты-A-C-D_2026-11-28.txt).
   Три колонки текста, номер 01/02/03 крупно пиксельным шрифтом. Картинки (.how__vis) остались в разметке, но скрыты. */
.how .how__vis { display: none; }
.how .how__grid { gap: clamp(16px, 3vw, 48px); }
.how .how__card { padding-top: 22px; border-top: 1px solid var(--line); }
.how .how__n { margin-bottom: clamp(28px, 4vw, 64px); font-family: var(--f-pixel); font-size: clamp(38px, 4.4vw, 68px); line-height: .9; color: var(--ink); }

/* Форматы: больше воздуха (28.11.2026) — блок казался прижатым */
.fmt .fmt__top { margin-bottom: clamp(36px, 4.6vw, 72px); }
.fmt .fmt__quiz:not(.is-on) { margin-bottom: clamp(24px, 3vw, 44px); }
.fmt .fmt__grid > .fmt__card { padding-block: clamp(26px, 2.8vw, 44px); row-gap: 8px; }
.fmt .fmt__card.fmt__addon { padding-block: clamp(20px, 2vw, 30px); }
.fmt .fmt__d { margin-top: 2px; }
.fmt .fmt__var[data-fmt-kind] { margin-top: 6px; }
.fmt .fmt__est { margin-top: clamp(32px, 4vw, 64px); padding: clamp(24px, 3.2vw, 52px); row-gap: clamp(24px, 2.6vw, 40px); }
@media (max-width: 900px) { .fmt .fmt__grid > .fmt__card { padding-block: 26px; row-gap: 8px; } }

/* Строка «Поддержка и развитие»: подпись «После запуска» — под названием (28.11.2026) */
.fmt .fmt__card.fmt__addon { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; grid-template-areas: "t d p c" "k d p c"; align-items: center; column-gap: clamp(16px, 3vw, 48px); row-gap: 6px; }
.fmt .fmt__addon-t { grid-area: t; align-self: end; }
.fmt .fmt__addon-k { grid-area: k; align-self: start; }
.fmt .fmt__addon-d { grid-area: d; }
.fmt .fmt__addon-p { grid-area: p; }
.fmt .fmt__addon .fmt__calc { grid-area: c; }
@media (max-width: 760px) {
  .fmt .fmt__card.fmt__addon { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t t" "k k" "d d" "p c"; row-gap: 8px; }
  .fmt .fmt__addon-d { order: 0; }
  .fmt .fmt__card.fmt__addon { padding-inline: 4px; } /* по левому краю со строками выше */
}

/* «Посчитать» в строках форматов и поддержки убран (28.11.2026) — строка по-прежнему кликается и открывает расчёт */
.fmt .fmt__grid > .fmt__card { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t from" "d from" "v from"; }
.fmt .fmt__card.fmt__addon { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "t d p" "k d p"; }
@media (max-width: 900px) { .fmt .fmt__grid > .fmt__card { grid-template-columns: minmax(0, 1fr); grid-template-areas: "t" "d" "v" "from"; } }
@media (max-width: 760px) { .fmt .fmt__card.fmt__addon { grid-template-columns: minmax(0, 1fr); grid-template-areas: "t" "k" "d" "p"; } }

/* Выбранная строка форматов — только серый фон, без чёрной полоски слева (28.11.2026) */
.fmt .fmt__grid > .fmt__card.is-sel { box-shadow: none; }

/* Манифест — «растворяются» (выбрано 28.11.2026): «лишние …» сначала яркие, при прокрутке по очереди размываются,
   тускнеют и чуть всплывают — «лишнее ушло» (js/d.js — initManifesto). */
.mf__dim { color: var(--ink); }
.mf__dim .mf__w { display: inline-block; transition: opacity .6s var(--ease), filter .6s var(--ease), transform .6s var(--ease); }
.mf__dim .mf__w.is-gone { opacity: .14; filter: blur(5px); transform: translateY(-0.12em) scale(.97); }
@media (prefers-reduced-motion: reduce) { .mf__w { transition: none; } }

/* Описание формата — полностью, в 2–3 строки (28.11.2026; раньше обрезалось многоточием на одной строке) */
.fmt .fmt__d { display: block; -webkit-line-clamp: unset; overflow: visible; max-width: 62ch; line-height: 1.2; }

/* «Быстрый старт» в строке сайта: при наведении — подсказка с краткой информацией (28.11.2026) */
.fmt .fmt__var[data-fmt-kind] { position: relative; width: max-content; max-width: 100%; }
.fmt .fmt__var[data-fmt-kind] .fmt__tip { position: absolute; left: 0; bottom: calc(100% + 10px); z-index: 5; width: min(320px, 80vw); padding: 12px 14px; border-radius: 12px; background: var(--ink); color: var(--bg); font-size: 13px; line-height: 1.2; letter-spacing: 0; white-space: normal; box-shadow: 0 10px 30px rgba(0,0,0,.18); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .25s var(--ease), transform .35s var(--ease), visibility 0s .35s; pointer-events: none; }
.fmt .fmt__var[data-fmt-kind] .fmt__tip::after { content: ""; position: absolute; left: 18px; top: 100%; border: 6px solid transparent; border-top-color: var(--ink); }
.fmt .fmt__var[data-fmt-kind]:is(:hover, :focus-within) .fmt__tip { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.fmt .fmt__var[data-fmt-kind] b:focus-visible { outline: 2px solid var(--glow-1); outline-offset: 3px; border-radius: 3px; }

/* Выбранная строка-дополнение (PWA, Поддержка) — как строки форматов: серый фон без рамки */
.fmt .fmt__card.fmt__addon.is-sel { outline-color: transparent; background: var(--bg-2); }

/* Строки-дополнения (PWA, Поддержка): описание под названием, как у форматов, а не отдельной колонкой посередине (28.11.2026) */
.fmt .fmt__card.fmt__addon { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t p" "k p" "d p"; row-gap: 6px; }
.fmt .fmt__addon-d { max-width: 62ch; margin-top: 4px; line-height: 1.2; }
@media (max-width: 760px) { .fmt .fmt__card.fmt__addon { grid-template-columns: minmax(0, 1fr); grid-template-areas: "t" "k" "d" "p"; } }

/* Расчёт: плавные ползунки — подписи делений под шкалой и прибавка на кнопках опций (28.11.2026) */
.fmt__est .tuner__ticks { display: flex; justify-content: space-between; margin-top: 2px; font: 400 10px/1 var(--f-mono); color: var(--muted); }
.fmt__est .tuner__ticks span:nth-child(2) { text-align: center; }
.fmt__est input[type="range"] { cursor: grab; }
.fmt__est input[type="range"]:active { cursor: grabbing; }
.fmt__est .seg button small { display: block; margin-top: 3px; font: 400 10px/1 var(--f-mono); opacity: .6; }

/* Строки-дополнения (PWA, Поддержка) — как строки форматов: такое же название, крупная пиксельная цена, те же отступы (28.11.2026) */
.fmt .fmt__card.fmt__addon { padding: clamp(26px, 2.8vw, 44px) 18px; }
.fmt .fmt__addon-t { font-size: clamp(22px, 1.9vw, 30px); font-weight: var(--w-head, 500); letter-spacing: -0.03em; line-height: 1.05; }
.fmt .fmt__card.fmt__addon .fmt__addon-p { font-size: clamp(38px, 4.4vw, 68px); line-height: .9; justify-self: end; }
.fmt .fmt__addon-p small { margin-right: 6px; font-family: var(--f-sans); font-size: 14px; letter-spacing: 0; color: var(--muted); vertical-align: .9em; }
.fmt .fmt__addon-p small.per { margin: 0 0 0 6px; vertical-align: baseline; }
@media (max-width: 900px) { .fmt .fmt__card.fmt__addon { padding: 26px 4px; } }
@media (max-width: 760px) { .fmt .fmt__card.fmt__addon .fmt__addon-p { justify-self: start; margin-top: 10px; } }

/* ===== Окно «Получить смету» (28.11.2026): итог расчёта + короткая форма ===== */
.epop { width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); margin: auto; padding: 0; border: 0; border-radius: 24px; background: var(--bg); color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.25); overflow: auto; overscroll-behavior: contain; }
.epop::backdrop { background: rgba(10, 12, 16, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.epop[open] { animation: epopIn .45s var(--ease); }
.epop[open]::backdrop { animation: epopFade .35s ease; }
@keyframes epopIn { from { opacity: 0; transform: translateY(18px) scale(.98); } }
@keyframes epopFade { from { opacity: 0; } }
.epop__in { position: relative; padding: clamp(22px, 3.4vw, 36px); }
.epop__x { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--bg-2); color: var(--ink); cursor: pointer; transition: background .25s; }
.epop__x:hover { background: var(--bg-3); }
.epop__x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.epop__k { margin: 0 0 8px; }
.epop__t { margin: 0 48px 18px 0; font-size: clamp(24px, 3vw, 32px); font-weight: var(--w-head, 500); letter-spacing: -0.03em; line-height: 1.05; }
.epop__sum { padding: 18px 20px; border-radius: 16px; background: linear-gradient(155deg, #6eb5fa 0%, #a7d1fb 48%, #e9f2fc 100%); color: #0f0f0f; }
:root[data-theme="dark"] .epop__sum { background: linear-gradient(155deg, #1d4f80 0%, #163a5e 45%, #111a26 100%); color: #f1f1f1; }
.epop__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.epop__price span { font-family: var(--f-pixel); font-size: clamp(34px, 5vw, 48px); line-height: .9; }
.epop__price small { font-size: 14px; opacity: .65; }
.epop__list { display: grid; gap: 0; margin: 14px 0 0; }
.epop__list div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-top: 1px solid rgba(15,15,15,.12); font-size: 14px; }
:root[data-theme="dark"] .epop__list div { border-color: rgba(255,255,255,.12); }
.epop__list dt { opacity: .6; font-family: var(--f-mono); font-size: 12px; }
.epop__list dd { margin: 0; text-align: right; }
.epop__note { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.epop__form { margin-top: 18px; display: grid; gap: 10px; }
.epop__form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.epop.is-sent .epop__form > :not(.form__status) { display: none; }
.epop.is-sent .form__status { font-size: 16px; color: var(--ink); }
.pop-open { overflow: hidden; }
@media (max-width: 560px) {
  .epop { width: 100vw; max-width: 100vw; max-height: 92dvh; margin: auto 0 0; border-radius: 22px 22px 0 0; }
  .epop[open] { animation-name: epopUp; }
  @keyframes epopUp { from { transform: translateY(40px); opacity: 0; } }
  .epop__form .row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .epop[open], .epop[open]::backdrop { animation: none; } }

/* Награда на обложке работы — как в паспорте кейса: лента галереи Behance свисает с верхнего края, рядом подпись (29.11.2026; было «Bē» в кружке) */
.wk__award { left: 18px; top: 0; align-items: flex-start; gap: 10px; padding: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
.wk__ribbon { flex: none; width: 31px; height: auto; filter: drop-shadow(0 4px 10px rgba(0,0,0,.25)); }
.wk__award > span { margin-top: 14px; padding: 7px 11px; border-radius: 999px; background: rgba(15,15,15,.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); white-space: nowrap; }
.drw__cover .wk__award { left: 20px; top: 0; }

/* Подпись под карточкой работы в плитке (выбрано 01.12.2026, вариант A «одной строкой»):
   «BYSSFIT», ниже моно «Одежда · Логотип, айдентика»; на телефоне строка переносится. Год не показываем. */
.works__grid.works__grid:not([data-view="list"]) .wk__meta { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 0; row-gap: 6px; }
.works__grid.works__grid:not([data-view="list"]) .wk__title { flex-basis: 100%; }
.works__grid.works__grid:not([data-view="list"]) :is(.wk__tags, .wk__client) { font-family: var(--f-mono); font-size: 12px; color: var(--muted); text-align: left; }
.works__grid.works__grid:not([data-view="list"]) .wk__tags::before { content: "·"; margin: 0 .5em; }
.works__grid.works__grid:not([data-view="list"]) .wk__client { order: 1; }
.works__grid.works__grid:not([data-view="list"]) .wk__tags { order: 2; }

/* Монетки от ползунка расчёта (29.11.2026): тёмная монета с ₽ пиксельным шрифтом — в стиле пиксельных цен */
.coins { position: fixed; inset: 0; z-index: 250; pointer-events: none; perspective: 400px; }
.coin { position: absolute; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #0f0f0f; color: #fafafa; font: 400 12px/1 var(--f-pixel); font-style: normal; box-shadow: inset 0 0 0 2px rgba(255,255,255,.18), 0 3px 8px rgba(15,40,80,.25); will-change: transform, opacity; }
:root[data-theme="dark"] .coin { background: #fafafa; color: #0f0f0f; box-shadow: inset 0 0 0 2px rgba(15,15,15,.15), 0 3px 8px rgba(0,0,0,.4); }

/* Монетки — серебряные (29.11.2026): металлический градиент, блик сверху, тёмное «₽»; одинаковые в светлой и тёмной теме */
.coin, :root[data-theme="dark"] .coin {
  background: radial-gradient(circle at 32% 28%, #ffffff 0%, #f1f2f5 22%, #c9ccd3 55%, #9ea3ac 82%, #c4c7ce 100%);
  color: #3a3e46; text-shadow: 0 1px 0 rgba(255,255,255,.7);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.85), inset 0 -2px 3px rgba(60,66,78,.35), 0 3px 8px rgba(20,40,70,.28);
}

.epop__sum[hidden] { display: none; }

/* Значок «Выбор Behance» в виде «Список» — как на обложке и в кейсе: лента галереи + тёмная плашка (29.11.2026; было цветное «Выбор Behance») */
.wk__chip--award { display: none; align-items: center; gap: 7px; padding: 4px 10px 4px 6px; background: var(--ink); color: var(--bg); font-family: var(--f-sans); font-size: 11px; font-weight: 400; }
.wk__chip--award img { width: 10px; height: auto; flex: none; }
.works__grid[data-view="list"] .wk__chip--award { display: inline-flex; }

/* «Живой сайт» в списке → «● Сайт работает»: зелёная точка с пульсом, как статус «Берём новый проект»; без цветного градиента (29.11.2026) */
.wk__chip--live { display: none; align-items: center; gap: 7px; padding: 4px 10px 4px 8px; background: none; border: 1px solid var(--line); color: var(--ink); font-family: var(--f-sans); font-size: 11px; font-weight: 400; }
.wk__chip--live b { position: relative; width: 6px; height: 6px; border-radius: 50%; background: var(--sky); flex: none; }
.wk__chip--live b::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: livePulse 2s ease-out infinite; }
.works__grid[data-view="list"] .wk__chip--live { display: inline-flex; }
@media (prefers-reduced-motion: reduce) { .wk__chip--live b::after { animation: none; } }

/* Значки в «Списке», вариант 2 (29.11.2026): без плашек — лента Behance крупнее и свободно, текст рядом; «Сайт работает» — точка и текст.
   Оба одним стилем, как подпись «Награда» в паспорте кейса. */
.wk__chip--award, .wk__chip--live { gap: 8px; padding: 0; margin-left: 16px; border: 0; border-radius: 0; background: none; color: var(--ink); font-size: 13px; letter-spacing: -0.005em; vertical-align: middle; }
.wk__chip--award img { width: 14px; margin-top: -4px; }
.wk__chip--live b { width: 7px; height: 7px; }

/* Цена в расчёте не переносит «₽» на новую строку: в одну строку, на телефоне — чуть меньше (29.11.2026) */
.fmt .fmt__est-p, .epop__price span { white-space: nowrap; }
@media (max-width: 760px) { .fmt .fmt__est-p { font-size: clamp(28px, 8.4vw, 40px); } }

/* Подпись под карточкой работы в плитке (выбрано 02.12.2026, вариант 9.7): крупное название со стрелкой ↗;
   под ним слева услуги плашками, справа отрасль серым моно. В списке плашек нет. */
.works__grid.works__grid:not([data-view="list"]) .wk__title { font-size: clamp(21px, 1.9vw, 28px); line-height: 1.1; }
.works__grid.works__grid:not([data-view="list"]) .wk__title::after { content: "↗"; float: right; font-weight: 400; color: var(--muted); transition: transform .4s var(--ease), color .3s; }
.works__grid.works__grid:not([data-view="list"]) .wk:hover .wk__title::after { transform: translate(3px, -3px); color: var(--ink); }
.works__grid.works__grid:not([data-view="list"]) .wk__meta { align-items: center; justify-content: space-between; column-gap: 0; row-gap: 8px; }
.works__grid.works__grid:not([data-view="list"]) .wk__tags { order: 1; display: flex; flex-wrap: wrap; gap: 6px; }
.works__grid.works__grid:not([data-view="list"]) .wk__tags::before, .works__grid.works__grid:not([data-view="list"]) .wk__sep { display: none; content: none; }
.works__grid.works__grid:not([data-view="list"]) .wk__tg { padding: 4px 10px; border-radius: 999px; background: var(--bg-2); color: var(--ink); font-family: var(--f-sans); font-size: 12px; line-height: 1.2; }
.works__grid.works__grid:not([data-view="list"]) .wk__tg::first-letter { text-transform: uppercase; }
.works__grid.works__grid:not([data-view="list"]) .wk__client { order: 2; margin-left: 12px; font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.wk__sep { font-style: normal; }

/* Награда Behance на обложке работы (выбрано 02.12.2026, вариант 6): в плитке видна только лента, подпись из двух строк
   с золотой чертой слева (цвет ленты) появляется при наведении. В окне кейса подпись видна сразу. */
.works__grid:not([data-view="list"]) .wk__award > span { opacity: 0; transform: translateX(-6px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.works__grid:not([data-view="list"]) .wk:hover .wk__award > span, .works__grid:not([data-view="list"]) .wk:focus-visible .wk__award > span { opacity: 1; transform: none; }
.wk__award > span { padding: 8px 13px 8px 12px; border-radius: 4px 14px 14px 4px; border-left: 3px solid #ad9058; line-height: 1.25; }
.wk__award .aw-t, .wk__award .aw-s { display: block; }
.wk__award .aw-t { font-weight: 600; font-size: 13px; }
.wk__award .aw-s { font-size: 11.5px; opacity: .68; margin-top: 1px; }

/* Строка над названием в окне кейса (выбрано 02.12.2026, вариант 1 + плашки): сверху отрасль, под ней услуги плашками, как на карточке в плитке. */
.cs__kicker { opacity: 1; font-family: var(--f-sans); }
.cs__kicker .ck-a { display: block; font-size: clamp(15px, 1.2vw, 18px); font-weight: 500; }
.cs__kicker .ck-b { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.cs__kicker .ck-t { padding: 5px 11px; border-radius: 999px; font-size: 12px; line-height: 1.2; background: rgba(255,255,255,.18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.cs__kicker .ck-t::first-letter { text-transform: uppercase; }

/* Экраны устройств в кейсе (02.12.2026): браузер и телефон, внутри длинный скриншот сайта сам листается (JS: initDevScroll) */
.drw__sec--dev { margin-block: clamp(28px, 4vw, 64px); }
.dev { position: relative; overflow: hidden; background: #0c0c0d; box-shadow: 0 30px 70px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.07); }
.dev__scr { position: relative; overflow: hidden; background: #0c0c0d; }
.dev__scr img { display: block; width: 100%; height: auto; will-change: transform; }
.dev--desk { border-radius: 14px; }
.dev__bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; background: #1b1b1e; }
.dev__bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; flex: none; }
.dev__bar i:nth-child(2) { background: #febc2e; }
.dev__bar i:nth-child(3) { background: #28c840; }
.dev__bar span { flex: 1; max-width: 360px; margin: 0 auto; padding: 5px 14px; border-radius: 999px; background: #0c0c0d; color: #9a9aa0; font-family: var(--f-mono); font-size: 12px; text-align: center; transform: translateX(-24px); }
.dev--desk .dev__scr { aspect-ratio: 16 / 10; }
.dev-row { display: flex; justify-content: center; align-items: flex-start; gap: clamp(20px, 5vw, 72px); padding: clamp(28px, 5vw, 72px) clamp(16px, 3vw, 48px); border-radius: 16px; background: radial-gradient(120% 90% at 50% 0%, #2a1209 0%, #101012 60%); }
.dev--phone { flex: 0 1 clamp(190px, 21vw, 290px); padding: 9px; border-radius: clamp(28px, 3.4vw, 44px); background: #151517; box-shadow: 0 0 0 2px #2b2b2f, 0 30px 70px rgba(0,0,0,.5); }
.dev--phone .dev__scr { aspect-ratio: 9 / 18.5; border-radius: clamp(20px, 2.7vw, 34px); }
.dev--phone:nth-child(2) { margin-top: clamp(24px, 5vw, 72px); }
@media (max-width: 640px) { .dev--desk .dev__scr { aspect-ratio: 4 / 5; } .dev__bar span { transform: none; max-width: 200px; } .dev--phone { flex-basis: 42vw; } }
@media (prefers-reduced-motion: reduce) { .dev__scr { overflow-y: auto; } }

/* Смешанный раздел кейса: рядом статичный кадр и экран с прокруткой (02.12.2026) */
.mix { display: grid; align-items: center; gap: clamp(18px, 3.5vw, 48px); padding: clamp(24px, 4.5vw, 64px) clamp(16px, 3.5vw, 56px); border-radius: 16px; background: radial-gradient(120% 90% at 50% 0%, #2a1209 0%, #101012 60%); }
.mix--21 .mix { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.mix--12 .mix { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.mix__shot { overflow: hidden; border-radius: 14px; box-shadow: 0 30px 70px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.07); }
.mix__shot img { display: block; width: 100%; height: auto; }
.mix .dev--phone { width: 100%; max-width: 270px; flex: none; justify-self: center; }
.mix .dev--desk .dev__scr { aspect-ratio: 16 / 11; }
@media (max-width: 760px) { .mix--21 .mix, .mix--12 .mix { grid-template-columns: 1fr; } .mix .dev--phone { max-width: 220px; } }

/* Карточки со скриншотами сайта (02.12.2026): при наведении без увеличения, иначе края кадра (шапка, надписи) обрезаются */
.wk[data-nozoom]:hover .wk__img, .wk[data-nozoom]:focus-visible .wk__img { transform: none; }

/* Подписи под картинками в кейсах (выбрано 02.12.2026, вариант 5): начало до двоеточия тёмным и жирнее, остаток серым.
   Снизу небольшой отступ (14–28 px), чтобы подпись не прилипала к следующей картинке. */
:root { --fc-ink: rgba(15,15,15,.88); --fc-mute: rgba(15,15,15,.52); }
:root[data-theme="dark"] { --fc-ink: rgba(255,255,255,.92); --fc-mute: rgba(255,255,255,.52); }
.drw__sec figcaption { margin: 16px 0 clamp(14px, 2vw, 28px) !important; font-family: var(--f-sans) !important; font-size: 15px !important; line-height: 1.2 !important; color: var(--fc-mute) !important; }
.drw__sec figcaption b { font-weight: 600; color: var(--fc-ink); }

/* Видео прокрутки сайта в окне браузера (02.12.2026) */
.dev__scr--vid { aspect-ratio: 16 / 10; background: #0c0c0d; }
.dev__scr--vid video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Основное и дополнительные услуги (03.12.2026) */
.fmt__more { margin: clamp(24px, 3vw, 40px) 0 12px; }
.fmt__ads { margin: 10px 0 clamp(20px, 2.5vw, 32px); font-size: 14px; color: var(--muted); }
.fmt__ads a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.drop__sub { list-style: none; margin: 10px 0 2px; font-family: var(--f-mono); font-size: 11px; opacity: .5; }

/* Подпись клиента на карточке (03.12.2026): интервал от тегов — зазором строки, а не отступом,
   чтобы при переносе на новую строку (телефон) она вставала ровно по левому краю. */
.works__grid.works__grid:not([data-view="list"]) .wk__meta { column-gap: 12px; }
.works__grid.works__grid:not([data-view="list"]) .wk__client { margin-left: 0; }

/* Награда в списке работ на телефоне (03.12.2026): отдельной строкой под названием, ровно по левому краю. */
@media (max-width: 760px) {
  .works__grid.works__grid[data-view="list"] .wk__chip--award { display: flex; width: fit-content; max-width: 100%; margin: 8px 0 2px; line-height: 1.3; }
  .works__grid.works__grid[data-view="list"] .wk__chip--award img { margin-top: 0; }
  /* «Одежда» — на уровне названия, как в остальных строках */
  .works__grid.works__grid[data-view="list"] .wk:has(.wk__chip--award) .wk__client { align-self: start; margin-top: 3px; }
}

/* «Сейчас в работе»: строка без полоски и процентов — проект только начат (03.12.2026) */
.now__list li.now__new { grid-template-columns: 1fr auto; }
.now__list li.now__new .now__s { grid-column: auto; grid-row: auto; }
@media (max-width: 760px) { .now__list li.now__new { grid-template-columns: 1fr; } .now__list li.now__new .now__s { grid-column: 1; grid-row: 2; } }

/* Команда на телефоне (03.12.2026): должность под именем во всех строках. */
@media (max-width: 760px) {
  .about__team button { grid-template-columns: 28px 1fr; row-gap: 3px; }
  .about__team button .r { grid-column: 2; }
}

/* Ссылка на Директ внутри строки Елены (03.12.2026): видна, пока выбрана её строка.
   Лежит поверх кнопки (ссылку нельзя вложить в кнопку), под неё кнопка получает нижний отступ. */
.about__team li { position: relative; }
.about__go { display: none; position: absolute; z-index: 1; left: 52px; bottom: 11px; align-items: center; gap: 7px; font-family: var(--f-mono); font-size: 11px; color: var(--bg); text-decoration: underline; text-underline-offset: 3px; }
.about__go svg { width: 11px; height: 11px; flex: none; transition: transform .4s var(--ease); }
.about__go:hover svg { transform: translateX(3px); }
.about__team li button.is-on:has(+ .about__go) { padding-bottom: 38px; }
.about__team li button.is-on + .about__go { display: inline-flex; }

/* Форматы на телефоне — отдельными карточками, а не строками прайса (03.12.2026). */
@media (max-width: 760px) {
  .fmt.fmt .fmt__grid { gap: 10px; border-top: 0; }
  .fmt.fmt .fmt__grid > .fmt__card,
  .fmt.fmt .fmt__card.fmt__addon { background: var(--bg-2); border: 0; border-radius: 18px; padding: 22px 18px; }
  .fmt.fmt .fmt__card.fmt__addon { margin-top: 10px; }
  .fmt.fmt .fmt__grid > .fmt__card.is-sel,
  .fmt.fmt .fmt__card.fmt__addon.is-sel { background: var(--bg-2); box-shadow: inset 0 0 0 1.5px var(--ink); }
}

/* «от» у цен форматов — на одной нижней линии с цифрами (03.12.2026). */
.fmt.fmt .fmt__from small,
.fmt.fmt .fmt__card.fmt__addon .fmt__addon-p small:not(.per) { vertical-align: baseline; }

/* ===== Меню (выбрано 03.12.2026, вариант 10): рифлёное стекло, лента работ, услуги с номерами, часы.
   Все варианты — _archive/меню-варианты-1-9_2026-12-03.html и меню-варианты-7-9-15_2026-12-03.html ===== */
html .hdr .hdr__drop { --ink: #fff; --bg: #111; --muted: rgba(255,255,255,.62); --line: rgba(255,255,255,.2); color: #fff; padding: 8px 18px 16px; background: #141415; }
html .hdr .hdr__drop .mv-bg { display: block; position: absolute; inset: 0; z-index: 0; overflow: hidden; border-radius: inherit; pointer-events: none; }
html .hdr .hdr__drop .mv-bg canvas { width: 100%; height: 100%; display: block; }
html .hdr .hdr__drop .mv-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(0,0,0,.82), rgba(0,0,0,.55) 60%, rgba(0,0,0,.4)); }
html .hdr .hdr__drop > :not(.mv-bg) { position: relative; z-index: 1; }
html .hdr .hdr__drop .drop__cap, html .hdr .hdr__drop .drop__thumb, html .hdr .hdr__drop .drop__hint, html .hdr .hdr__drop .drop__sub { display: none; }
html .hdr .hdr__drop .drop__list { counter-reset: mv; }
html .hdr .hdr__drop .drop__list li + li .drop__item { border-top: 1px solid var(--line); }
html .hdr .hdr__drop .drop__item { counter-increment: mv; align-items: baseline; gap: 14px; padding: 14px 0; }
html .hdr .hdr__drop .drop__item::before { content: "0" counter(mv); font-family: var(--f-mono); font-size: 11px; color: var(--muted); }
html .hdr .hdr__drop .drop__label { font-size: 20px; letter-spacing: -.02em; line-height: 1.15; }
html .hdr .hdr__drop .drop__item::after { content: "↗"; margin-left: auto; color: var(--muted); }
html .hdr .hdr__drop .drop__studio { margin-top: 0; padding-top: 14px; border-top: 1px solid var(--line); }
html .hdr .hdr__drop .drop__links { gap: 6px 16px; }
html .hdr .hdr__drop .drop__links a { font-size: 14px; }
html .hdr .hdr__drop .drop__bottom { gap: 12px; padding: 16px 0 0; }
html .hdr .hdr__drop a.btn.drop__cta { color: #111 !important; }
html .hdr .hdr__drop a.btn.drop__cta * { color: #111 !important; }
html .hdr .hdr__drop a.btn.drop__cta::after { background: #fff !important; }
html .hdr .hdr__drop .drop__sub { display: block; margin: 16px 0 0; padding-bottom: 6px; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); opacity: 1; border-bottom: 1px solid var(--line); }
html .hdr .hdr__drop .drop__list li:nth-child(n+4) .drop__label { font-size: 17px; }
html .hdr .hdr__drop .drop__list li:nth-child(n+4) .drop__item { padding: 11px 0; }
html .hdr .hdr__drop .mv-works { display: block; margin: 4px 0 6px; }
html .hdr .hdr__drop .mv-works p { display: flex; justify-content: space-between; margin: 0 0 8px; font-family: var(--f-mono); font-size: 11px; color: var(--muted); text-transform: uppercase; }
html .hdr .hdr__drop .mv-works p a { text-transform: none; color: #fff; }
html .hdr .hdr__drop .mv-works div { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
html .hdr .hdr__drop .mv-works div a { flex: 0 0 96px; font-size: 0; }
html .hdr .hdr__drop .mv-works img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; }
html .hdr .hdr__drop .drop__item { padding-block: 9px !important; }
html .hdr .hdr__drop .drop__label { font-size: 16px !important; }
html .hdr .hdr__drop .drop__sub { margin-top: 10px; }
html .hdr .hdr__drop .drop__clocks { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; padding: 12px 0 0; border: 0; border-top: 1px solid var(--line); }
html .hdr .hdr__drop .drop__clocks .clock { font-size: 12px; color: #fff; }
html .hdr .hdr__drop .drop__clocks .clock__city { color: var(--muted); }
html .hdr .hdr__drop .mv-works img { height: auto; }


/* Подписи в меню и анонсе — как остальные подписи сайта: обычными буквами, без капса (03.12.2026). */
html .hdr .hdr__drop .mv-works p, html .hdr .hdr__drop .drop__sub, .soon__k { font-family: var(--f-mono); font-size: 12px; text-transform: none; letter-spacing: .02em; }

/* Без капса: города у часов и «Написать» на главной (03.12.2026). */
html .clock .clock__city, html .mf .mf__chip { text-transform: none; }

/* Приглашение в опрос на телефоне — прежний вид строками (03.12.2026); только без скругления,
   которое срезало первую букву. */
@media (max-width: 760px) { .fmt.fmt .fmt__quiz:not(.is-on) { border-radius: 0; overflow: visible; } }
/* «подходит вам» на телефоне — на верхней кромке карточки, чтобы не закрывать описание */
@media (max-width: 760px) { .fmt.fmt .fmt__grid > .fmt__card, .fmt.fmt .fmt__card.fmt__addon { overflow: visible; } .fmt.fmt .fmt__card .fmt__fit { top: -9px; bottom: auto; right: 16px; } }

/* ===== Подсказка с опросом (js/d-quizhint.js, 03.12.2026): выезжает справа, если долго смотрят «Форматы». ===== */
.qhint { position: fixed; right: 16px; bottom: 16px; z-index: 350; width: min(380px, calc(100vw - 32px)); max-height: calc(100svh - 110px); overflow: auto; overscroll-behavior: contain; padding: 18px; border-radius: 22px; background: #141415; color: #fff; box-shadow: 0 24px 60px rgba(0,0,0,.35); transform: translateX(calc(100% + 24px)); visibility: hidden; transition: transform .6s var(--ease), visibility 0s .6s; }
.qhint.is-on { transform: none; visibility: visible; transition: transform .7s var(--ease); }
.qhint__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.qhint__title { margin: 0; font-size: 18px; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.qhint__x { flex: none; width: 32px; height: 32px; border: 0; border-radius: 10px; background: rgba(255,255,255,.1); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.qhint__n { margin: 16px 0 6px; font-family: var(--f-mono); font-size: 12px; color: rgba(255,255,255,.55); }
.qhint__q { margin: 0 0 12px; font-size: 20px; letter-spacing: -.02em; line-height: 1.2; }
.qhint__why { margin: -4px 0 14px; font-size: 14px; line-height: 1.2; color: rgba(255,255,255,.68); }
.qhint__opts { display: grid; gap: 6px; }
.qhint__opt { padding: 12px 14px; border: 1px solid rgba(255,255,255,.2); border-radius: 12px; background: rgba(255,255,255,.06); color: #fff; font: inherit; font-size: 14px; line-height: 1.2; text-align: left; cursor: pointer; transition: background .3s, color .3s; }
.qhint__opt:hover, .qhint__opt:focus-visible, .qhint__opt--main { background: #fff; color: #111; }
.qhint__back { justify-self: start; margin-top: 10px; padding: 0; border: 0; background: none; color: rgba(255,255,255,.65); font: inherit; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.qhint__prog { height: 3px; margin-top: 14px; border-radius: 3px; background: rgba(255,255,255,.14); overflow: hidden; }
.qhint__prog b { display: block; height: 100%; background: linear-gradient(90deg, var(--glow-1), var(--glow-2)); transition: width .4s var(--ease); }
body.menu-open .qhint { display: none; }
@media (max-width: 760px) { .qhint { bottom: 68px; max-height: calc(100svh - 170px); padding: 16px; } .qhint__q { font-size: 18px; } }
:root.reduce .qhint { transition: none; }

/* Контакт после опроса: в подсказке (тёмная) и под результатом в разделе (--light). */
.qform { display: grid; gap: 6px; margin: 4px 0 10px; text-align: left; }
.qform__t { margin: 0 0 4px; font-size: 16px; font-weight: 500; line-height: 1.2; }
.qform__f input { width: 100%; padding: 13px 14px; border: 1px solid rgba(255,255,255,.2); border-radius: 12px; background: rgba(255,255,255,.06); color: #fff; font: inherit; font-size: 16px; outline: none; }
.qform__f input::placeholder { color: rgba(255,255,255,.5); }
.qform__f input:focus { border-color: #fff; }
.qform__agree { display: flex; gap: 9px; align-items: flex-start; margin: 4px 0; font-size: 12px; line-height: 1.2; color: rgba(255,255,255,.65); cursor: pointer; }
.qform__agree input { flex: none; margin: 0; width: 16px; height: 16px; accent-color: var(--sky); }
.qform__go { padding: 13px 18px; border: 0; border-radius: 999px; background: #fff; color: #111; font: inherit; font-size: 14px; cursor: pointer; }
.qform__go:disabled { opacity: .55; }
.qform__status { margin: 0; min-height: 0; font-size: 12px; line-height: 1.2; color: #ffb4b4; }
.qform__status a { color: inherit; text-decoration: underline; }
.qform [aria-invalid="true"] { border-color: #ff6b6b; outline: 1px solid #ff6b6b; }
.qform__ok { padding: 14px; border-radius: 12px; background: rgba(110,168,255,.2); font-size: 14px; line-height: 1.2; }
.fmt .qform--light { max-width: 420px; margin: 20px 0 0; }
.fmt .qform--light .qform__f input { border-color: var(--line); background: var(--bg); color: var(--ink); }
.fmt .qform--light .qform__f input::placeholder { color: var(--muted); }
.fmt .qform--light .qform__f input:focus { border-color: var(--ink); }
.fmt .qform--light .qform__f [aria-invalid="true"] { border-color: #d14; outline-color: #d14; }
.fmt .qform--light .qform__agree { color: var(--muted); }
.fmt .qform--light .qform__go { background: var(--ink); color: var(--bg); }
.fmt .qform--light .qform__status { color: #c03; }

/* Выбор мессенджера в форме после опроса */
.qform__via { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: rgba(255,255,255,.08); }
.qform__via label { position: relative; cursor: pointer; }
.qform__via input { position: absolute; opacity: 0; pointer-events: none; }
.qform__via span { display: block; padding: 9px 8px; border-radius: 9px; text-align: center; font-size: 14px; line-height: 1.2; transition: background .3s, color .3s; }
.qform__via input:checked + span { background: #fff; color: #111; }
.qform__via input:focus-visible + span { outline: 2px solid var(--sky); outline-offset: 1px; }
.fmt .qform--light .qform__via { background: var(--bg); border: 1px solid var(--line); }
.fmt .qform--light .qform__via input:checked + span { background: var(--ink); color: var(--bg); }

/* Телефон: в разделе опроса нет совсем — только выезжающая карточка (js/d-quizhint.js), 03.12.2026. */
@media (max-width: 760px) { .fmt.fmt .fmt__quiz { display: none; } }

/* ===== Анонс следующего кейса под работами на главной (выбран 03.12.2026: вариант 12.4, фон 11 «океан») =====
   Движущееся «рифлёное стекло» первого экрана (js/d-flutes.js) в цветах океана, два уведомления.
   Все варианты и фоны — _archive/анонс-12-варианты-и-фоны-1-13_2026-12-03.html, фоны 9–12 — рядом .css.
   Когда проект выйдет: убрать анонс и добавить кейс. */
.soon { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "nt" "go"; justify-items: center; gap: 12px; padding: 30px 14px 18px; border-radius: var(--r-lg); background: #141415; color: #fff; }
#work .soon { margin: clamp(32px, 4.5vw, 64px) 0 0; }
.soon__fl { position: absolute; inset: 0; isolation: isolate; overflow: hidden; border-radius: inherit; pointer-events: none; }
.soon__fl canvas { display: block; width: 100%; height: 100%; filter: brightness(.6) contrast(.78); } /* приглушено 04.12.2026 */
.soon__fl::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, #0b2f7a, #1667c9 50%, #19b5b0); mix-blend-mode: color; }
.soon__k, .soon__t { position: relative; display: none; grid-area: k; }
.soon__k { align-items: center; gap: 9px; color: rgba(255,255,255,.72); }
.soon__k i { position: relative; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 4px rgba(110,168,255,.22); animation: soonBlink 1.6s ease-in-out infinite; }
.soon__k i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: livePulse 1.6s ease-out infinite; }
@keyframes soonBlink { 0%, 100% { opacity: 1; box-shadow: 0 0 0 4px rgba(110,168,255,.3); } 50% { opacity: .35; box-shadow: 0 0 0 4px rgba(110,168,255,.05); } }
:root.reduce .soon__k i, :root.reduce .soon__k i::after { animation: none; }
@media (prefers-reduced-motion: reduce) { .soon__k i, .soon__k i::after { animation: none; } }
.soon__t { grid-area: t; font-weight: 500; letter-spacing: -.035em; line-height: 1.08; }
.soon__go { position: relative; grid-area: go; justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: #fff; color: #111; font-size: 14px; white-space: nowrap; }
.soon__go svg { width: 12px; height: 12px; transition: transform .4s var(--ease); }
.soon:hover .soon__go svg { transform: translateX(3px); }
.soon__notes { position: relative; grid-area: nt; display: grid; gap: 8px; width: 100%; text-align: left; }
.soon__notes > span { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; padding: 12px; border-radius: 18px; background: rgba(255,255,255,.15); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); animation: soonIn 7s var(--ease) infinite; }
.soon__notes > span:nth-child(2) { animation-delay: .5s; }
.soon__notes i { grid-row: span 2; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #fff; color: #111; font-style: normal; font-weight: 700; font-size: 17px; }
.soon__notes b { font-weight: 600; font-size: 14px; line-height: 1.2; }
.soon__notes em { font-style: normal; font-size: 11px; opacity: .65; }
.soon__notes u { grid-column: 2 / -1; text-decoration: none; font-size: 13px; line-height: 1.2; opacity: .88; }
@keyframes soonIn { 0% { opacity: 0; transform: translateY(14px); } 7%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@media (min-width: 900px) {
  .soon { grid-template-columns: minmax(0, 1fr) minmax(0, 500px); grid-template-areas: "k nt" "t nt" "go nt"; align-content: center; justify-items: start; gap: 14px 48px; min-height: 300px; padding: 48px; }
  .soon__k { display: flex; align-self: end; }
  .soon__t { display: block; align-self: center; max-width: 18ch; font-size: clamp(28px, 3vw, 46px); }
  .soon__go { align-self: start; margin-top: 8px; }
  .soon__notes { align-self: center; justify-self: end; }
}
:root.reduce .soon__notes > span { animation: none; }

/* ===== Портреты команды (выбрано 04.12.2026, вариант 3): головы без неба на сером «рифлёном стекле».
   Вырезки img/team-*-cut.webp; исходники с небом img/team-*.webp остаются для страницы Директа.
   Стекло — js/d-flutes.js (data-flutes). Другие варианты: _archive/портреты-варианты-1-3_2026-12-04.html ===== */
.ab-fl { position: absolute; inset: 0; overflow: hidden; pointer-events: none; border-radius: inherit; background: #77777a; }
.ab-fl canvas { display: block; width: 100%; height: 100%; filter: brightness(.95) contrast(.8); }
.mf__faces img, .mf__ava img { background: #8b8b8e repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 1px, transparent 1px 7px, rgba(0,0,0,.28) 7px 9px); }

/* Вопросы и названия услуг — без крупного h4 (04.12.2026) */
.faq__q { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.2; }
.svc-t { font-weight: 500; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.2; }

/* Фразы — основным шрифтом (04.12.2026). Моноширинный остался у коротких меток, номеров, часов и макетов. */
html .phero__aud { font-family: var(--f-sans); font-size: 14px; line-height: 1.2; letter-spacing: 0; color: var(--muted); }
html .plate__id span, html .tar__row span, html .tar__row small, html .contact__or, html .about__team .r,
html .vpack__price small, html .vbar__t span, html .vsum__cap, html .vend__shot figcaption { font-family: var(--f-sans); font-size: 13px; line-height: 1.2; letter-spacing: 0; }

/* Метки тоже основным шрифтом (04.12.2026): подписи, бейджи, номера, часы — Manrope.
   Вернуть моноширинный: удалить этот блок. Цены остаются пиксельными, макет кода и страница шрифтов — на MedeoMono. */
:root { --f-mono: var(--f-sans); }
.mock__code, .f-mono { font-family: "MedeoMono", ui-monospace, Menlo, monospace; }
.hdr__drop, .foot, .menu-sw { font-variant-numeric: tabular-nums; }

/* Панель расчёта: из правого нижнего угла проступает движущееся «рифлёное стекло» первого экрана в голубом (выбрано 04.12.2026).
   Остальные свечения — _archive/расчёт-свечение-*_2026-12-04.* */
.fmt__fl { position: absolute; inset: 0; z-index: -1; isolation: isolate; overflow: hidden; pointer-events: none; -webkit-mask: radial-gradient(640px 560px at 100% 100%, #000, rgba(0,0,0,.6) 40%, transparent 74%); mask: radial-gradient(640px 560px at 100% 100%, #000, rgba(0,0,0,.6) 40%, transparent 74%); }
.fmt__fl canvas { display: block; width: 100%; height: 100%; filter: brightness(1.45) contrast(.62); }
.fmt__fl::after { content: ""; position: absolute; inset: 0; background: #4ea6f5; mix-blend-mode: color; }
:root[data-theme="dark"] .fmt__fl { opacity: .5; }

/* Анонс «скоро» (04.12.2026): картинка будущего проекта под прозрачным рифлёным стеклом, js/d-soonglass.js.
   Прежние обложки и фоны — _archive/анонс-обложки-1-8_2026-12-04.* */
.soon__glass { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; pointer-events: none; }
.soon__glass::before { content: ""; position: absolute; inset: -30px; background: url(../img/work/soon-teaser.webp) center / cover; filter: blur(14px) brightness(.7); }
.soon__glass canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
/* на телефоне: подпись и заголовок сверху, ниже окно с силуэтом, потом уведомления (04.12.2026) */
@media (max-width: 899px) {
  #work .soon { grid-template-columns: minmax(0, 1fr); grid-template-areas: "k" "t" "nt" "go"; padding: 20px 14px 18px; }
  #work .soon .soon__k { display: flex; justify-self: start; margin: 0 4px; }
  #work .soon .soon__t { display: block; justify-self: start; margin: 0 4px 84px; max-width: 16ch; font-size: clamp(24px, 7vw, 34px); }
  #work .soon .soon__notes { justify-self: stretch; margin-bottom: 52px; } /* отступ до кнопки */
}

/* Всплывающая форма по «Хочу так же» в анонсе (04.12.2026) */
.soonp { width: min(500px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); margin: auto; padding: 0; border: 0; border-radius: 24px; background: #141415; color: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.45); overflow: auto; overscroll-behavior: contain; }
.soonp::backdrop { background: rgba(10, 12, 16, .5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.soonp[open] { animation: epopIn .45s var(--ease); }
.soonp[open]::backdrop { animation: epopFade .35s ease; }
html:has(.soonp[open]) { overflow: hidden; }
.soonp__in { position: relative; padding: 24px 16px 16px; }
.soonp__t { margin: 0 0 8px; padding: 0 48px 0 4px; font-size: clamp(24px, 3vw, 32px); font-weight: 500; letter-spacing: -.03em; line-height: 1.08; }
.soonp__d { margin: 0 0 20px; padding: 0 4px; max-width: 34ch; font-size: 15px; line-height: 1.2; color: rgba(255,255,255,.66); }
.soonp__x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border: 0; border-radius: 12px; background: rgba(255,255,255,.1); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.soonp .qform { margin: 0; }
.soonp .qform__t { padding: 0 4px; }
@media (min-width: 600px) { .soonp__in { padding: 32px; } .soonp__t, .soonp__d, .soonp .qform__t { padding-left: 0; } .soonp__x { top: 18px; right: 18px; } }
:root[data-theme="dark"] .soonp { background: #1c1c1d; }
:root.reduce .soonp[open], :root.reduce .soonp[open]::backdrop { animation: none; }

/* Подпись над бегущей строкой отраслей: на телефоне в несколько строк, с полями (04.12.2026) */
@media (max-width: 760px) { .ticker > p.body { max-width: 15em; margin-left: auto; margin-right: auto; padding: 0 18px; box-sizing: content-box; text-align: center; text-wrap: balance; } }

/* ===== Правки телефона после проверки (04.12.2026) ===== */
/* «перекатывающаяся» ссылка при переносе в две строки накладывала копию текста на текст; на касании эффект не нужен */
@media (hover: none), (max-width: 760px) { .roll { overflow: visible; } .roll > span { text-shadow: none; transform: none; } }
@media (max-width: 760px) {
  /* кнопки и ссылки — под палец */
  html .hdr .hdr__icon, html .hdr .hdr__toggle { width: 40px; height: 40px; border-radius: 12px; }
  html .hdr .lang button { padding: 9px 11px; }
  html .hdr .hdr__logo { min-height: 40px; }
  html .foot__nav ul { gap: 0; }
  html .foot__nav li a { display: inline-flex; align-items: center; min-height: 36px; }
  .hero__status { padding-top: 12px; padding-bottom: 12px; }
  .fmt__ads a { display: inline-block; padding: 8px 0; margin: -8px 0; }
  .voice__tr { min-width: 34px; min-height: 34px; }
  .vlink { min-height: 40px; align-items: center; }
  .vend__p a { padding: 8px 0; }
  /* подписи не мельче 11px */
  html .fmt__est .seg button small, html .tar__badge, html .voice__tr, html .vhero__tags li, html .vscr__tag, html .vplate__n, html .vpack__badge { font-size: 11px; }
  /* тарифы: подпись «единоразово / бюджет» ближе к своей строке */
  html .tar__row { row-gap: 2px; }
}
@media (max-width: 360px) { .wf__btn { gap: 8px; padding: 0 10px 0 12px; font-size: 14px; } }
@media (max-width: 760px) { html .hero a.roll { padding: 8px 0; } }
/* кнопки шапки крупнее, а высота шапки прежняя */
@media (max-width: 760px) { html .hdr .hdr__icon, html .hdr .hdr__toggle, html .hdr .hdr__logo { margin-top: -5px; margin-bottom: -5px; } html .hdr .lang { margin-top: -4px; margin-bottom: -4px; } }

/* Значки прямых контактов — «рифлёное стекло» (выбрано 04.12.2026), на главной, Директе и выставках.
   Прежние варианты — _archive/значки-8-вариантов_2026-12-04.* */
html .contact__alt a.pill .tile, html .pcontact__alt .pill .tile { background: repeating-linear-gradient(90deg, rgba(255,255,255,.34) 0 1px, rgba(255,255,255,.06) 4px, rgba(0,0,0,.35) 8px), radial-gradient(90% 90% at 70% 15%, #bdbfc3, #3a3b3e 55%, #141415) !important; box-shadow: none; }
html .contact__alt a.pill .tile::after, html .pcontact__alt .pill .tile::after { display: none; }
html .contact__alt a.pill .tile svg, html .pcontact__alt .pill .tile svg { filter: drop-shadow(0 1px 3px rgba(0,0,0,.6)); }

/* Проект «в работе»: в сетке — баннер .soon, в списке — обычная строка (04.12.2026) */
.soonrow { display: none; }
#work.is-list .soon { display: none; }
#work.is-list .soonrow { display: grid; grid-template-columns: 64px minmax(0, 1.7fr) minmax(0, 1.5fr) minmax(0, 1fr); column-gap: 16px; align-items: center; padding: clamp(16px, 1.8vw, 26px) 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.soonrow__n i { position: relative; display: block; width: 7px; height: 7px; margin-left: 4px; border-radius: 50%; background: var(--sky); animation: soonBlink 1.6s ease-in-out infinite; }
.soonrow__n i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: livePulse 1.6s ease-out infinite; }
.soonrow__t { font-size: clamp(22px, 2.4vw, 38px); line-height: 1.05; letter-spacing: -.035em; transition: transform .6s var(--ease); }
.soonrow__s { font-size: 14px; line-height: 1.2; color: var(--muted); }
.soonrow__c { justify-self: start; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--sky) 18%, transparent); font-size: 12px; line-height: 1.2; white-space: nowrap; }
@media (hover: hover) { .soonrow:hover .soonrow__t { transform: translateX(12px); } }
@media (max-width: 1000px) and (min-width: 761px) { #work.is-list .soonrow { grid-template-columns: 48px minmax(0, 1.6fr) minmax(0, 1.4fr) minmax(0, 1fr); } }
@media (max-width: 760px) {
  #work.is-list .soonrow { grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 6px; }
  .soonrow__n { display: none; }
  .soonrow__t { grid-column: 1; grid-row: 1; }
  .soonrow__c { grid-column: 2; grid-row: 1; justify-self: end; display: inline-flex; align-items: center; gap: 7px; }
  .soonrow__c::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sky); animation: soonBlink 1.6s ease-in-out infinite; }
  .soonrow__s { grid-column: 1 / -1; grid-row: 2; font-size: 13px; }
}
:root.reduce .soonrow__n i, :root.reduce .soonrow__n i::after, :root.reduce .soonrow__c::before { animation: none; }

/* «Показать ещё» и «Все работы» на телефоне — в один ряд (04.12.2026) */
@media (max-width: 760px) {
  html .works .works__more { flex-direction: row; flex-wrap: nowrap; align-items: stretch; gap: 8px; }
  html .works .works__more > .btn { flex: 1 1 0; min-width: 0; justify-content: center; gap: 8px; padding-left: 10px; padding-right: 10px; white-space: nowrap; font-size: 15px; }
  html .works .works__more > [hidden] { display: none; }
}

/* Калькулятор на телефоне (выбрано 04.12.2026): свой заголовок; свёрнутый — светлый, с ценой и кнопкой «Настроить под себя»;
   раскрытый — тёмная панель. Остальные варианты — _archive/калькулятор-телефон-4-варианта_2026-12-04.* */
.calc-head, .calc-toggle { display: none; }
@media (max-width: 760px) {
  .fmt .calc-head { display: block; margin-top: 76px; padding-top: 30px; border-top: 1px solid var(--line); }
  .calc-head h3 { margin: 0; font-size: 30px; font-weight: 500; letter-spacing: -.035em; line-height: 1.08; color: var(--ink); }
  .calc-head p { margin: 12px 0 0; font-size: 15px; line-height: 1.2; color: var(--muted); }
  html .fmt .fmt__est { margin-top: 18px; }
  .fmt .calc-toggle { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 15px 18px; border: 0; border-radius: 999px; background: var(--ink); color: var(--bg); font: inherit; font-size: 15px; cursor: pointer; }
  .calc-toggle::after { content: "↓"; transition: transform .4s var(--ease); }
  .calc-toggle[aria-expanded="true"]::after { transform: rotate(180deg); }
  html .fmt .fmt__est.fmt__est:not(.is-calc-open) :is(.fmt__est-ctl, .fmt__est-side, .fmt__est-note) { display: none; }
  html .fmt .fmt__est.fmt__est:not(.is-calc-open) .fmt__fl { -webkit-mask: radial-gradient(250px 170px at 100% 0%, #000, rgba(0,0,0,.5) 40%, transparent 76%); mask: radial-gradient(250px 170px at 100% 0%, #000, rgba(0,0,0,.5) 40%, transparent 76%); }
  html .fmt .fmt__est.fmt__est:not(.is-calc-open)::before { background: radial-gradient(300px 220px at 100% 0%, rgba(78,166,245,.55), rgba(167,209,251,.35) 45%, transparent 74%); }
  html .fmt .fmt__est.fmt__est.is-calc-open { --ink: #f4f4f4; --bg: #101012; --muted: rgba(255,255,255,.62); --line: rgba(255,255,255,.14); background: #141415; color: #f4f4f4; }
  html .fmt .fmt__est.fmt__est.is-calc-open::before { opacity: .45; }
  html .fmt .fmt__est.fmt__est.is-calc-open .fmt__fl { opacity: .35; }
  html .fmt .fmt__est.fmt__est.is-calc-open .tuner__grp { background: rgba(255,255,255,.08); }
  html .fmt .fmt__est.fmt__est.is-calc-open .seg button:not([aria-pressed="true"]) { background: rgba(255,255,255,.1); }
  html .fmt .fmt__est.fmt__est.is-calc-open input[type="range"]::-webkit-slider-runnable-track { background: repeating-linear-gradient(90deg, rgba(255,255,255,.22) 0 1px, transparent 1px 7px), rgba(255,255,255,.08); }
  html .fmt .fmt__est.fmt__est.is-calc-open input[type="range"]::-moz-range-track { background: rgba(255,255,255,.08); }
}

/* «бесплатно» в тексте про первый месяц поддержки (04.12.2026) */
mark.free { display: inline-block; padding: 1px 9px 2px; border-radius: 999px; background: color-mix(in srgb, var(--sky) 30%, transparent); color: var(--ink); font-weight: 600; line-height: 1.2; white-space: nowrap; }

/* скрытые разделы и ссылки не должны показываться из-за display в стилях (04.12.2026) */
#insights[hidden], .roll + sup[hidden], li[hidden] { display: none !important; }
mark.free { padding-left: 7px; padding-right: 7px; }

/* Хлебные крошки на внутренних страницах (04.12.2026) */
.crumbs { position: relative; z-index: 2; margin: 0 0 clamp(14px, 1.8vw, 24px); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0; padding: 0; list-style: none; font-size: 13px; line-height: 1.2; }
.crumbs li { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); }
.crumbs li + li::before { content: "/"; opacity: .5; }
.crumbs li[aria-current] { color: var(--ink); }
.crumbs a { display: inline-block; padding: 8px 0; margin: -8px 0; color: inherit; transition: color .3s; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.vhero__meta .crumbs { grid-column: 1 / -1; }
.vhero .crumbs li { color: rgba(255,255,255,.66); }
.vhero .crumbs li[aria-current], .vhero .crumbs a:hover { color: #fff; }
/* заголовок Директа на компьютере не помещался в колонку: конец «Яндекс.Директ» обрезался */
@media (min-width: 900px) { html .phero__txt .h1 { font-size: min(7.4vw, 100px); } }
/* на низком экране телефона метки наезжали на заголовок выставок */
@media (max-width: 760px) and (max-height: 700px) { html .vhero .vhero__tags { display: none; } }

/* Меню в шапке (04.12.2026): выбран вариант A, шрифт меньше — 14 px вместо 16 */
html .hdr .hdr__nav ul { gap: 18px; }
html .hdr .hdr__nav a, html .hdr .hdr__right a:not(.btn), html .hdr .hdr__right .btn { font-size: 14px; }

/* Работы → «Мы убираем лишнее» → форматы: убрана большая пустота между блоками (04.12.2026) */
html main #work { padding-bottom: clamp(24px, 3vw, 40px); }
html main #manifesto { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(16px, 2vw, 28px); }
html main #formats { padding-top: clamp(88px, 8vw, 104px); }

/* Единые отступы между разделами главной: без пустых полуэкранов (04.12.2026).
   Верхний отступ у разделов с якорями оставлен не меньше 80 px, чтобы шапка не накрывала заголовок. */
html body main > #work { padding-top: clamp(80px, 7vw, 104px); }
html body main > .ticker:has(+ #work) { padding-bottom: 24px; }
html body main > #about { padding-top: clamp(80px, 7vw, 104px); padding-bottom: clamp(8px, 1.5vw, 24px); }
html body main > #contact { padding-top: clamp(80px, 7vw, 100px); padding-bottom: clamp(80px, 7vw, 104px); }


/* ——— правки перед хостингом (04.12.2026) ——— */
/* выбранная метка в форме: правило фона формы перебивало отметку, в тёмной теме текст пропадал */
.contact .contact__txt > .form .chip input:checked + span { background: var(--ink-2); color: var(--on-ink); }
/* строка «Не знаете, какой формат подойдёт?» без плашки — скругление срезало первую букву */
.fmt.fmt .fmt__quiz:not(.is-on) { border-radius: 0; overflow: visible; }
/* планшет: у серых строк форматов текст не должен прижиматься к краю */
@media (min-width: 761px) and (max-width: 900px) { .fmt.fmt .fmt__grid > .fmt__card, .fmt.fmt .fmt__card.fmt__addon { padding-inline: 22px; border-radius: 18px; } }
/* планшет: те же «под палец» размеры, что и на телефоне */
@media (min-width: 761px) and (max-width: 1024px) {
  html .hdr .lang button { padding: 9px 11px; }
  html .hdr .lang { margin-top: -4px; margin-bottom: -4px; }
  html .hdr a.roll, html .hdr a[href^="tel"], html .hdr a[href*="t.me"]:not(.btn):not(.pill) { padding-block: 10px; margin-block: -10px; }
  html .hdr .hdr__logo { min-height: 40px; margin-block: -5px; }
  html .foot__nav ul { gap: 0; }
  html .foot__nav li a { display: inline-flex; align-items: center; min-height: 36px; }
  .voice__tr { min-width: 34px; min-height: 34px; }
  html .fmt .fmt__quiz:not(.is-on) .fmt__qstart { padding-block: 10px; }
  .hero a.roll { padding: 8px 0; }
  .hero__status { padding-top: 12px; padding-bottom: 12px; }
}
/* заголовок FAQ в узкой левой колонке — в три строки без обрезки */
@media (min-width: 901px) { html .faq .faq__head .h2 { font-size: clamp(34px, 3.9vw, 62px); } }

/* ===== Страница 404 (04.12.2026): то же «рифлёное стекло», крупные пиксельные цифры ===== */
.e404 { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; box-sizing: border-box; min-height: 100vh; min-height: 100svh; padding: 112px var(--pad) 28px; background: #0b0b0b; color: #fff; }
.e404__bg { position: absolute; inset: 0; z-index: -2; }
.e404__bg canvas { width: 100%; height: 100%; display: block; }
.e404__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.34) 0%, rgba(0,0,0,.3) 40%, rgba(0,0,0,.82) 100%); }
.e404__num { margin: auto 0; align-self: center; font-family: var(--f-pixel); font-weight: 400; font-size: min(38vw, 46svh); line-height: .8; letter-spacing: -0.04em; text-shadow: 0 8px 60px rgba(0,0,0,.45); user-select: none; }
.e404__body { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.e404__h { margin: 0; max-width: 18ch; font-size: clamp(32px, 4vw, 60px); font-weight: var(--w-head, 500); line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; }
.e404__sub { margin: 14px 0 0; font-size: 16px; color: rgba(255,255,255,.72); }
.e404__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.e404 .btn--cta { color: #0f0f0f; }
.e404 .btn--cta::after { background: #fff; }
.e404__alt { color: #fff; border-radius: var(--r, 16px); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.e404__alt::after { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.24); }
.e404__nav { display: flex; flex-wrap: wrap; gap: 4px 28px; margin-top: 28px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.18); }
.e404__nav a { display: inline-flex; align-items: center; min-height: 40px; font-size: 15px; color: rgba(255,255,255,.8); }
.e404__nav a:hover { color: #fff; }
@media (max-width: 760px) { .e404 { padding-top: 92px; } .e404__btns { width: 100%; } .e404__btns .btn { flex: 1 1 100%; justify-content: center; } .e404__nav { gap: 0 22px; } }
@media (max-width: 420px) { .e404__nav { justify-content: space-between; gap: 0 8px; } .e404__nav a { font-size: 14px; } }

/* ===== Анонс «в работе»: светлое матовое стекло (выбран вариант В, 05.12.2026).
   Прежний тёмный вид — в копии до-светлого-анонса; остальные варианты — _archive/анонс-варианты-А-Г_2026-12-05.* ===== */
#work .soon { background: #e8eaee; color: #101113; }
#work .soon .soon__glass::before { filter: blur(18px) grayscale(1) brightness(1.5); }
#work .soon .soon__glass canvas { filter: grayscale(1) brightness(1.75) contrast(.7) blur(9px); transform: scale(1.1); }
#work .soon .soon__glass::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(244,246,249,.9) 0%, rgba(244,246,249,.6) 48%, rgba(244,246,249,.18) 100%); }
#work .soon .soon__k { color: rgba(16,17,19,.65); }
#work .soon .soon__k i { background: #2f7bf0; }
#work .soon .soon__go { background: #101113; color: #fff; border-radius: var(--r, 14px); padding: 15px 22px; font-size: 15px; }
#work .soon .soon__notes > span { background: rgba(255,255,255,.66); animation: none; }
#work .soon .soon__notes i { background: #101113; color: #fff; }
@media (min-width: 900px) { #work .soon { min-height: 260px; } #work .soon .soon__t { font-size: clamp(24px, 2.4vw, 36px); } }
@media (max-width: 899px) {
  #work .soon .soon__t { margin-bottom: 40px; }
  #work .soon .soon__notes { margin-bottom: 16px; }
  #work .soon .soon__go { justify-self: stretch; justify-content: center; }
  #work .soon .soon__glass::after { background: linear-gradient(180deg, rgba(244,246,249,.9), rgba(244,246,249,.35) 55%, rgba(244,246,249,.6)); }
}
/* в тёмной теме то же стекло чуть приглушено, чтобы не слепило */
:root[data-theme="dark"] #work .soon { background: #c9ccd2; }
:root[data-theme="dark"] #work .soon .soon__glass canvas { filter: grayscale(1) brightness(1.45) contrast(.7) blur(9px); }
@media (min-width: 561px) and (max-width: 899px) { #work .soon { padding: 26px 22px 22px; } #work .soon .soon__t { max-width: 22ch; } #work .soon .soon__notes { max-width: 480px; justify-self: start; } #work .soon .soon__go { justify-self: start; } }
