/* benevsky.work — сайт-CV основателя в фирменном стиле Benevsky (25.11.2026).
   Эталон — benevsky.work 2.0 (site/styles.css): токены, кнопки с бегущим светом, сцены, свечения, карточки и живые сцены взяты оттуда
   и собраны в один файл без «кругов правок». Правила — «Правила дизайн-системы и текстов Benevsky.md».
   Анимации — только transform и opacity, вне экрана стоят, при «меньше движения» всё в финальном состоянии. */

@font-face { font-family: "InterVar"; src: url("/fonts/inter-latin.ttf") format("truetype"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "InterVar"; src: url("/fonts/inter-cyrillic.ttf") format("truetype"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116, U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "JBMono"; src: url("/fonts/jetbrains-mono-latin.ttf") format("truetype"); font-weight: 500; font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+2190-2193, U+2212; }
@font-face { font-family: "JBMono"; src: url("/fonts/jetbrains-mono-cyrillic.ttf") format("truetype"); font-weight: 500; font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116, U+0460-052F; }

@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

/* ── токены: светлая — тёплый оранжевый, тёмная — «космос» ── */
:root {
  --page: #efefec;
  --surface: #ffffff;
  --surface-2: #f6f6f4;
  --ink: #0a0a0a;
  --muted: #5b5b5b;
  --hair: rgba(59, 59, 59, 0.12);
  --rule: rgba(59, 59, 59, 0.22);
  --hot: #c43100;
  --hot-ink: #c43100;
  --hot-wash: #fbf0ec;
  --on-hot: #ffffff;
  --field: #dfe2e7;
  --hero-image: url("/img/hero-render-light.jpg");
  --pill-bg: rgba(255, 255, 255, 0.5);
  --pill-glow: inset 0 0 36px 0 #ffffff;
  --scrim: rgba(11, 11, 12, 0.55);
  --glass: rgba(255, 255, 255, 0.62);
  --shadow: 0 10px 40px rgba(20, 20, 30, 0.08);
  --tick: rgba(59, 59, 59, 0.16);
  --ok: #13865a;
  --lift: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 24px 48px -16px rgba(20, 20, 40, 0.22), 0 2px 6px rgba(20, 20, 40, 0.06);
  --lift-sm: 0 1px 2px rgba(20, 20, 40, 0.06), 0 6px 14px -6px rgba(20, 20, 40, 0.14);
  --g1: #c43100; --g2: #ff9a3c; --g3: #ff6418;
  --t1: #c43100; --t2: #e8590c; --t3: #f07a16;
  --font: "InterVar", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JBMono", "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 1240px;
  --gutter: 32px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --page: #08080a;
  --surface: #121215;
  --surface-2: #17171a;
  --ink: #f4f4f6;
  --muted: #9b9ba3;
  --hair: rgba(255, 255, 255, 0.1);
  --rule: rgba(255, 255, 255, 0.16);
  --hot: #4a5fd8;
  --hot-ink: #9fb2ee;
  --hot-wash: #121831;
  --field: #0b0b0c;
  --hero-image: url("/img/hero-render-dark.jpg");
  --pill-bg: rgba(8, 8, 10, 0.82);
  --pill-glow: inset 0 0 36px 0 rgba(255, 255, 255, 0.14);
  --glass: rgba(16, 16, 20, 0.62);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  --tick: rgba(255, 255, 255, 0.12);
  --ok: #4ade80;
  --lift: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 28px 56px -16px rgba(0, 0, 0, 0.7), 0 2px 6px rgba(0, 0, 0, 0.4);
  --lift-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 18px -8px rgba(0, 0, 0, 0.6);
  --g1: #3d56d6; --g2: #7fa3dc; --g3: #6c55d4;
  --t1: #c3cff5; --t2: #8aa6e6; --t3: #8f7fe0;
  color-scheme: dark;
}

/* ── база ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
main { overflow-x: clip; }
body {
  margin: 0; background: var(--page); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.55;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}
img, svg { display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
p, h1, h2, h3, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
strong, b { font-weight: 600; }
:focus-visible { outline: 2px solid var(--hot-ink); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--hot); color: var(--on-hot); }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: var(--ink); color: var(--page); text-decoration: none; transition: top 0.2s; }
.skip:focus { top: 16px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.hot { color: var(--hot-ink); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.mark { font-family: var(--mono); font-size: 12px; font-weight: 500; line-height: 1.3; letter-spacing: 0.14em; text-transform: uppercase; }
.mark strong { font-weight: 500; color: var(--hot-ink); }
.mark-lc { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.02em; line-height: 1.5; }
.pill { border-radius: 100px; background: var(--pill-bg); box-shadow: var(--pill-glow); -webkit-backdrop-filter: blur(44px); backdrop-filter: blur(44px); }

/* ── кнопки: главная — градиент (светлая) или светлая (тёмная), по рамке бежит свет ── */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 100px; border: 1px solid transparent;
  font-size: 16px; font-weight: 500; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.3s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-ink { background: var(--ink); color: var(--page); }
.btn-ink:hover { background: var(--hot); color: var(--on-hot); }
.btn-ink::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 45%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.3), transparent); transform: translateX(-160%) skewX(-18deg);
}
.btn-ink:hover::after { transform: translateX(300%) skewX(-18deg); transition: transform 0.9s var(--ease); }
.btn-glass { background: var(--pill-bg); box-shadow: var(--pill-glow); border-color: var(--hair); -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px); }
.btn-glass:hover { border-color: var(--hot-ink); color: var(--hot-ink); }
@media (hover: hover) and (pointer: fine) {
  .btn-ink:hover, .btn-glass:hover { transform: translateY(-1px); box-shadow: 0 10px 26px color-mix(in srgb, var(--hot) 22%, transparent); }
}
:root:not([data-theme="dark"]) .btn-ink { background: linear-gradient(115deg, var(--g1), color-mix(in srgb, var(--g1) 50%, var(--g3)) 60%, var(--g3)); color: #fff; }
:root:not([data-theme="dark"]) .btn-ink:hover { background: linear-gradient(115deg, color-mix(in srgb, var(--g1) 85%, #000), var(--g3)); color: #fff; }
:root:not([data-theme="dark"]) .hero .btn-glass, :root:not([data-theme="dark"]) .final .btn-glass { background: rgba(255, 255, 255, 0.6); border-color: rgba(255, 255, 255, 0.9); }

.gr { position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none; padding: 1.5px; background: conic-gradient(from var(--ang), transparent 0 50%, var(--g1) 64%, var(--g2) 77%, var(--g3) 90%, transparent 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: cycSpin 4.8s linear infinite; animation-delay: var(--grd, 0s); }
@keyframes cycSpin { to { --ang: 360deg; } }
.btn-ink.has-gr { animation: grGlow 4.8s ease-in-out infinite; animation-delay: var(--grd, 0s); }
@keyframes grGlow { 0%, 100% { box-shadow: 0 8px 24px -10px color-mix(in srgb, var(--g1) 70%, transparent); } 50% { box-shadow: 0 10px 30px -8px color-mix(in srgb, var(--g3) 70%, transparent); } }
.bd .gr, .card .gr { padding: 2px; opacity: 0; transition: opacity 0.45s var(--ease); }
@media (hover: hover) and (pointer: fine) { .bd:hover .gr, .card:hover .gr { opacity: 1; } }
@media (hover: none) { .bd.is-focus .gr { opacity: 1; } }

.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; flex: 0 0 auto;
  border: 0; border-radius: 100px; background: transparent; cursor: pointer; color: var(--ink);
  transition: background-color 0.2s var(--ease);
}
.icon-btn:hover { background: var(--hair); }
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 100px; background: var(--hair); }
.seg-btn { display: inline-grid; place-items: center; min-height: 32px; min-width: 36px; padding: 0 9px; border-radius: 100px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.1em; color: var(--muted); text-decoration: none; transition: background-color 0.3s var(--ease), color 0.3s var(--ease); }
.seg-btn:hover { color: var(--ink); }
.seg-btn.is-on { background: var(--ink); color: var(--page); }

/* ── шапка ── */
.hdr { position: fixed; inset: 16px 0 auto 0; z-index: 50; pointer-events: none; }
.hdr-bar {
  pointer-events: auto; position: relative;
  max-width: min(1160px, calc(100% - 32px)); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 6px 6px 6px 8px; transition: box-shadow 0.4s var(--ease);
}
.hdr.is-scrolled .hdr-bar { box-shadow: var(--pill-glow), var(--shadow); }
.brand { text-decoration: none; display: inline-flex; align-items: center; gap: 10px; min-height: 40px; white-space: nowrap; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; flex: none; }
.hdr-nav { position: relative; isolation: isolate; display: flex; align-items: center; gap: 2px; }
.nav-item {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border: 0; border-radius: 100px; background: none; cursor: pointer;
  font-size: 14px; font-weight: 500; letter-spacing: -0.01em; color: var(--muted); text-decoration: none; white-space: nowrap;
  transition: color 0.2s;
}
.nav-item:hover, .nav-item.is-here { color: var(--ink); }
.nav-pill { position: absolute; left: 0; top: 0; z-index: -1; height: 40px; border-radius: 100px; background: var(--hair); opacity: 0; transition: transform 0.45s var(--ease), width 0.45s var(--ease), opacity 0.3s var(--ease); }
.nav-langs { display: none; }
.hdr-actions { display: flex; align-items: center; gap: 6px; }
.hdr-menu { display: none; }
.i-moon { display: none; }
:root[data-theme="dark"] .i-sun { display: none; }
:root[data-theme="dark"] .i-moon { display: block; }
.hdr-progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; background: linear-gradient(90deg, var(--g1), var(--g3)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* сайты компании: выпадающий список в шапке, в бургере — отдельная группа */
.nav-sites { position: relative; }
.nav-sites-btn svg { transition: transform 0.3s var(--ease); }
.nav-sites.is-open .nav-sites-btn { color: var(--ink); }
.nav-sites.is-open .nav-sites-btn svg { transform: rotate(180deg); }
.sites-pop {
  display: none; position: absolute; right: -8px; top: calc(100% + 14px); width: 320px; padding: 8px; border-radius: 22px;
  background: var(--surface); border: 1px solid var(--hair); box-shadow: var(--lift);
}
.nav-sites.is-open .sites-pop { display: block; animation: popDown 0.25s var(--ease) both; }
@keyframes popDown { from { opacity: 0; transform: translateY(-6px); } }
.sites-k { padding: 8px 10px 6px; color: var(--muted); font-size: 10.5px; }
.site-link { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px; border-radius: 15px; text-decoration: none; transition: background-color 0.2s; }
.site-link:hover { background: var(--surface-2); }
.site-link b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.site-link i { display: block; font-style: normal; font-size: 13px; line-height: 1.35; color: var(--muted); }
.site-go { color: var(--hot-ink); font-size: 14px; transition: transform 0.3s var(--ease); }
.site-link:hover .site-go { transform: translate(2px, -2px); }
.site-ic { width: 36px; height: 36px; border-radius: 11px; }
.site-ic.ava { --s: 36px; animation: none; }
.site-ic.ava i { animation: none; }
.site-link:hover .site-ic.ava { animation: avSpin 7s linear infinite; }

/* ── сцены: первый экран, вывод, финал ── */
.hero, .final, .verdict { padding: 16px; }
.scene {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: calc(100svh - 32px); border-radius: 40px; background: var(--field);
  display: flex; flex-direction: column;
}
.scene-bg {
  position: absolute; inset: -6%; z-index: -2;
  background: var(--hero-image) 70% 50% / cover no-repeat;
  transform: translate3d(0, var(--shift, 0px), 0) scale(1.02);
  animation: breathe 22s ease-in-out infinite alternate;
}
.scene-verdict .scene-bg { background-position: 20% 50%; animation-name: breatheM; }
.scene-final .scene-bg { background-position: 40% 60%; }
@keyframes breathe {
  from { transform: translate3d(0, var(--shift, 0px), 0) scale(1.02); }
  to { transform: translate3d(-1.5%, var(--shift, 0px), 0) scale(1.07); }
}
@keyframes breatheM {
  from { transform: translate3d(0, var(--shift, 0px), 0) scaleX(-1) scale(1.02); }
  to { transform: translate3d(1.5%, var(--shift, 0px), 0) scaleX(-1) scale(1.08); }
}
.scene:not(.is-vis) .scene-bg, .scene:not(.is-vis) .scene-glow i, .scene:not(.is-vis) .verdict-halo::before { animation-play-state: paused; }

.hero-body, .final-body {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 120px 24px 36px;
}
.hero-pill { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; max-width: 100%; }
.hero-pill .dot { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--g1), var(--g3)); box-shadow: 0 0 10px color-mix(in srgb, var(--g3) 60%, transparent); }
.hero-h1 { margin-top: 26px; font-size: clamp(44px, min(8vw, 12svh), 116px); font-weight: 500; line-height: 1; letter-spacing: -0.045em; text-wrap: balance; }
.hero-role { margin-top: 16px; max-width: 1000px; font-size: clamp(22px, 2.5vw, 36px); font-weight: 500; line-height: 1.16; letter-spacing: -0.03em; text-wrap: balance; }
.hero-role .hero-role-a { display: block; color: var(--muted); }
.hero-role .hot { display: inline; }
.hero-lede {
  margin-top: 26px; max-width: 900px; text-wrap: pretty;
  padding: 14px 24px; border-radius: 20px; background: var(--scrim); color: #ffffff;
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  font-size: clamp(16px, 1.3vw, 18px); line-height: 1.55; letter-spacing: -0.01em;
}
.hero-lede strong { font-weight: 600; }
:root:not([data-theme="dark"]) .hero-lede { background: rgba(255, 255, 255, 0.55); color: #17171b; border: 1px solid rgba(255, 255, 255, 0.85); box-shadow: 0 14px 34px -18px rgba(150, 50, 10, 0.35); }
.hero-cta { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* акцентная часть заголовков — переливающийся градиент */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero-role .hot, .h2 em, .final-h2 em {
    background: linear-gradient(100deg, var(--t1) 0%, var(--t2) 28%, var(--t3) 52%, var(--t1) 78%) 0 50% / 220% 100%;
    -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
    -webkit-box-decoration-break: clone; box-decoration-break: clone;
    animation: gText 10s ease-in-out infinite alternate;
  }
}
@keyframes gText { to { background-position: 100% 50%; } }

/* лента компетенций */
.ribbon {
  margin-top: 28px; width: min(1000px, 100%); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.ribbon-track { display: flex; gap: 8px; width: max-content; animation: ribbon 60s linear infinite; }
.ribbon:hover .ribbon-track, .scene:not(.is-vis) .ribbon-track { animation-play-state: paused; }
.ribbon-track span {
  flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 36px; padding: 0 15px; border-radius: 100px;
  background: var(--pill-bg); box-shadow: var(--pill-glow); border: 1px solid var(--hair);
  -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px);
  font-size: 14px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap;
}
@keyframes ribbon { to { transform: translateX(calc(-50% - 4px)); } }

.hero-facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 32px 28px; border-top: 1px solid var(--rule); }
.hero-facts > div { padding: 18px 14px 4px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.hero-facts > div + div { border-left: 1px solid var(--hair); }
.hero-facts .num { font-size: clamp(30px, 3vw, 44px); }
.hero-facts dd { color: var(--muted); }
.num { font-weight: 500; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }

/* живые свечения поверх рендера: «вывод» и финал */
.scene-glow { position: absolute; inset: 0; z-index: -1; overflow: hidden; border-radius: inherit; pointer-events: none; }
.scene-glow i { position: absolute; display: block; aspect-ratio: 1; border-radius: 50%; will-change: transform, opacity; animation: sg1 16s ease-in-out infinite alternate; }
.scene-glow i:nth-child(1) { left: -14%; top: -26%; width: 56%; background: radial-gradient(closest-side, rgba(255, 118, 40, 0.85), rgba(255, 130, 60, 0.32) 52%, transparent); }
.scene-glow i:nth-child(2) { right: -16%; bottom: -42%; width: 62%; background: radial-gradient(closest-side, rgba(255, 84, 30, 0.8), rgba(255, 100, 40, 0.28) 52%, transparent); animation-name: sg2; animation-duration: 19s; }
.scene-glow i:nth-child(3) { right: 4%; top: -18%; width: 36%; background: radial-gradient(closest-side, rgba(255, 178, 90, 0.9), rgba(255, 190, 110, 0.3) 52%, transparent); animation-name: sg3; animation-duration: 14s; }
.scene-glow i:nth-child(4) { left: 14%; bottom: -34%; width: 42%; background: radial-gradient(closest-side, rgba(255, 150, 60, 0.8), rgba(255, 120, 50, 0.26) 52%, transparent); animation-name: sg2; animation-duration: 23s; animation-direction: alternate-reverse; }
.scene-glow i:nth-child(5) { left: 58%; top: 10%; width: 15%; background: radial-gradient(closest-side, rgba(255, 206, 150, 0.7), rgba(255, 150, 70, 0.22) 55%, transparent); animation-name: sgPulse; animation-duration: 7s; animation-direction: normal; }
:root[data-theme="dark"] .scene-glow i { mix-blend-mode: screen; }
:root[data-theme="dark"] .scene-glow i:nth-child(1) { background: radial-gradient(closest-side, color-mix(in srgb, var(--g1) 80%, transparent), color-mix(in srgb, var(--g1) 30%, transparent) 50%, transparent); }
:root[data-theme="dark"] .scene-glow i:nth-child(2) { background: radial-gradient(closest-side, color-mix(in srgb, var(--g3) 75%, transparent), color-mix(in srgb, var(--g3) 26%, transparent) 50%, transparent); }
:root[data-theme="dark"] .scene-glow i:nth-child(3) { background: radial-gradient(closest-side, color-mix(in srgb, var(--g2) 70%, transparent), color-mix(in srgb, var(--g2) 22%, transparent) 50%, transparent); }
:root[data-theme="dark"] .scene-glow i:nth-child(4) { background: radial-gradient(closest-side, color-mix(in srgb, var(--g1) 70%, transparent), color-mix(in srgb, var(--g3) 22%, transparent) 50%, transparent); }
:root[data-theme="dark"] .scene-glow i:nth-child(5) { background: radial-gradient(closest-side, color-mix(in srgb, var(--g2) 80%, #fff), color-mix(in srgb, var(--g1) 30%, transparent) 55%, transparent); }
@keyframes sg1 { 0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.8; } 50% { transform: translate3d(22%, 14%, 0) scale(1.14); opacity: 1; } 100% { transform: translate3d(38%, -4%, 0) scale(0.92); opacity: 0.72; } }
@keyframes sg2 { 0% { transform: translate3d(0, 0, 0) scale(1.06); opacity: 0.9; } 50% { transform: translate3d(-24%, -16%, 0) scale(0.9); opacity: 0.7; } 100% { transform: translate3d(-10%, -30%, 0) scale(1.14); opacity: 1; } }
@keyframes sg3 { 0% { transform: translate3d(0, 0, 0) scale(0.9); opacity: 0.6; } 100% { transform: translate3d(-34%, 26%, 0) scale(1.2); opacity: 1; } }
@keyframes sgPulse { 0%, 100% { transform: translate3d(0, 0, 0) scale(0.8); opacity: 0.45; } 50% { transform: translate3d(-30%, 20%, 0) scale(1.2); opacity: 1; } }
.scene-final .scene-glow i:nth-child(1) { top: -18%; width: 48%; }
.scene-final .scene-glow i:nth-child(2) { bottom: -30%; width: 56%; }
.scene-final .scene-glow i:nth-child(3) { right: -6%; top: 20%; width: 32%; }
.scene-final .scene-glow i:nth-child(4) { left: -10%; bottom: -10%; width: 38%; }
.scene-final .scene-glow i:nth-child(5) { left: 30%; top: 4%; width: 13%; }

/* ── секции ── */
.sec { padding: 150px 0 20px; }
.sec-head { max-width: 1120px; margin-bottom: 56px; }
.band { position: relative; display: flex; align-items: center; gap: 12px; padding-top: 16px; max-width: 900px; color: var(--muted); }
.band::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--rule); transform-origin: 0 50%; transition: transform 1.3s var(--ease) 0.1s; }
.js .sec-head:not(.is-in) .band::before { transform: scaleX(0); }
.band .mark:first-child { color: var(--hot-ink); }
.arrow { font-family: var(--mono); color: var(--hot-ink); font-size: 14px; line-height: 1; transition: opacity 0.8s var(--ease) 0.35s, transform 0.8s var(--ease) 0.35s; }
.js .sec-head:not(.is-in) .arrow { opacity: 0; transform: translateX(-10px); }
.h2 { margin-top: 28px; font-size: clamp(34px, 4.6vw, 64px); font-weight: 500; line-height: 1.05; letter-spacing: -0.038em; text-wrap: balance; }
.h2 em, .final-h2 em { display: block; font-style: normal; color: var(--hot-ink); }
.lead { margin-top: 24px; max-width: 800px; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.5; letter-spacing: -0.012em; color: var(--muted); text-wrap: pretty; }
.lead strong { color: var(--ink); font-weight: 500; }

.plate { position: relative; background: var(--surface); border: 1px solid var(--hair); border-radius: 32px; box-shadow: var(--shadow); padding: 28px; }
.kicker { color: var(--muted); }
.live { display: inline-block; flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--hot); animation: live 2.4s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--hot) 45%, transparent); } 70%, 100% { box-shadow: 0 0 0 9px transparent; } }
.status { display: inline-flex; align-items: center; gap: 9px; padding: 6px 13px 6px 11px; border-radius: 100px; background: var(--surface-2); border: 1px solid var(--hair); color: var(--muted); }
.status.is-live { background: var(--hot-wash); border-color: transparent; color: var(--hot-ink); }
.tags { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li {
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 11px; border-radius: 100px;
  border: 1px solid var(--hair); background: var(--surface-2);
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.02em; color: var(--muted);
}
.tags li.is-hot { color: var(--hot-ink); background: var(--hot-wash); border-color: transparent; }
.ext {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 100px;
  border: 1px solid var(--rule); text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap;
  transition: border-color 0.2s, color 0.2s;
}
.ext span { color: var(--hot-ink); transition: transform 0.3s var(--ease); }
.ext:hover { border-color: var(--hot-ink); color: var(--hot-ink); }
.ext:hover span { transform: translate(2px, -2px); }

/* иконка в строку с заголовком карточки: 34px, радиус 11px, svg 17px */
.card-ic { flex: none; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--hot-wash); color: var(--hot-ink); }
.card-ic svg { width: 17px; height: 17px; }

/* тезисы */
.thesis { display: grid; gap: 9px; max-width: 760px; }
.thesis li { position: relative; padding-left: 22px; font-size: 15.5px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.thesis li::before { content: ""; position: absolute; left: 2px; top: 0.7em; width: 9px; height: 2px; border-radius: 1px; background: var(--hot-ink); }
.thesis b, .thesis strong { color: var(--ink); font-weight: 600; }

/* ── карточка основателя: фото, суть, три опоры ── */
.profile { margin-top: 24px; }
.profile-card { padding: 36px; }
.profile-main { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; }
.profile-id { display: flex; align-items: center; gap: 24px; }
.profile-photo { flex: 0 0 auto; width: 132px; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: var(--lift-sm); }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: clip-path 1.2s var(--ease) 0.2s, transform 1.2s var(--ease) 0.2s; }
.js .profile-card:not(.is-in) .profile-photo img { clip-path: inset(100% 0 0 0); transform: scale(1.12); }
.profile-name { margin-top: 10px; font-size: clamp(28px, 2.6vw, 38px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.05; }
.profile-status { margin-top: 14px; display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 100px; background: var(--hot-wash); color: var(--hot-ink); }
.profile-why { font-size: 21px; line-height: 1.42; letter-spacing: -0.015em; text-wrap: pretty; }
.profile-why span { color: var(--muted); }
.pillars { margin-top: 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pillar { position: relative; padding: 18px 20px 18px; border-radius: 20px; background: var(--surface-2); border: 1px solid var(--hair); transition: border-color 0.35s var(--ease), transform 0.35s var(--ease); }
.pillar-h { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: center; margin-bottom: 14px; }
.pillar-h .mark { font-size: 10.5px; color: var(--hot-ink); }
.pillar-h h3 { margin-top: 3px; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.pillar .thesis { gap: 9px; }
.pillar .thesis li { padding-left: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 3px; font-size: 15px; }
.pillar .thesis li::before { display: none; }
.pillar .thesis i { font-style: normal; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.pillar .thesis li.is-res { padding-top: 10px; border-top: 1px solid var(--hair); color: var(--ink); font-weight: 500; }
.pillar .thesis li.is-res i { color: var(--hot-ink); }
@media (hover: hover) and (pointer: fine) { .pillar:hover { border-color: color-mix(in srgb, var(--g3) 40%, transparent); transform: translateY(-2px); } }

/* ── 01 · опыт и 02 · образование: строки «дата · кто · что» ── */
.xp-group { display: flex; align-items: center; gap: 10px; color: var(--hot-ink); margin: 0 0 10px; }
.xp-group .live { width: 7px; height: 7px; }
.xp-list + .xp-group { margin-top: 48px; }
.xp-list, .edu-list { border-top: 1px solid var(--rule); }
.xp, .edu { position: relative; display: grid; grid-template-columns: 150px minmax(0, 4fr) minmax(0, 8fr); gap: 28px; padding: 22px 0; border-bottom: 1px solid var(--hair); }
.xp-major, .edu { padding: 30px 0; }
.xp::before, .edu::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, var(--g1), var(--g3) 40%, transparent); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.7s var(--ease); }
@media (hover: hover) and (pointer: fine) { .xp:hover::before, .edu:hover::before { transform: scaleX(1); } .xp:hover .xp-who h3, .edu:hover .edu-who h3 { color: var(--hot-ink); } }
.xp-date { color: var(--muted); padding-top: 4px; }
.xp-who h3, .edu-who h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; transition: color 0.25s var(--ease); }
.xp-major .xp-who h3, .edu-who h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.03em; line-height: 1.12; }
.xp-link { display: inline-block; margin-left: 8px; font-size: 0.7em; color: var(--hot-ink); text-decoration: none; vertical-align: 0.2em; transition: transform 0.3s var(--ease); }
.xp-link:hover { transform: translate(2px, -2px); }
.xp-role { margin-top: 6px; font-size: 15px; font-weight: 500; }
.xp-place { margin-top: 4px; color: var(--muted); }
.xp-place:empty { display: none; }
.xp-body > p { font-size: 15.5px; line-height: 1.6; color: var(--muted); max-width: 760px; text-wrap: pretty; }
.xp-major .thesis li { font-size: 16.5px; }
.edu-yr { padding-top: 4px; }
.edu-deg { font-size: 18px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.35; margin-bottom: 12px; color: var(--ink); }
.edu-body .thesis li { font-size: 16px; }
.edu.is-now .edu-yr::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-radius: 50%; background: var(--hot); vertical-align: 0.1em; animation: live 2.4s ease-out infinite; }
.xp-links { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }

/* ── 03 · о себе: траектория — линия заполняется за прокруткой, текущий этап подсвечен ── */
.path { position: relative; padding-left: 44px; }
.path-rail { position: absolute; left: 11px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: color-mix(in srgb, var(--ink) 9%, transparent); overflow: hidden; }
.path-fill { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, color-mix(in srgb, var(--g1) 30%, transparent), var(--g1) 30%, var(--g3)); transform-origin: 50% 0; transform: scaleY(var(--p, 1)); }
.rows { border-top: 1px solid var(--rule); }
.row { position: relative; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--hair); }
.row dt { color: var(--hot-ink); padding-top: 5px; }
.row dd { font-size: 19px; line-height: 1.5; letter-spacing: -0.012em; text-wrap: pretty; }
.row dd strong { font-weight: 600; }
.row dd a { text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--rule); transition: color 0.2s, border-color 0.2s; }
.row dd a:hover { color: var(--hot-ink); border-color: var(--hot-ink); }
.path .row::before {
  content: ""; position: absolute; left: -40px; top: 27px; width: 13px; height: 13px; border-radius: 50%;
  background: var(--page); border: 2px solid color-mix(in srgb, var(--ink) 22%, transparent);
  transition: background-color 0.4s, border-color 0.4s, box-shadow 0.5s var(--ease);
}
.path .row.is-done::before { background: var(--g1); border-color: var(--g1); }
.path .row.is-now::before { background: var(--g3); border-color: var(--g3); box-shadow: 0 0 0 5px color-mix(in srgb, var(--g3) 20%, transparent), 0 0 16px color-mix(in srgb, var(--g3) 60%, transparent); }
.path .row dt { transition: color 0.4s; }
.path.is-live .row:not(.is-done) dt { color: var(--muted); }

/* ── 04 · BenevskyAI: четыре блока — текст и живая сцена ── */
.role-line { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.role-line .status { min-height: 44px; padding: 0 16px 0 14px; }
.role-line .status .mark { font-size: 11px; letter-spacing: 0.1em; }
.bds { display: grid; gap: 16px; }
.bd { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 44px; padding: 36px; align-items: center; }
.bd:nth-child(even) .bd-text { order: 2; }
.bd-text { min-width: 0; }
.bd .kicker { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.bd .kicker .hot { color: var(--hot-ink); }
.bd-title { margin-top: 14px; font-size: clamp(26px, 2.4vw, 32px); font-weight: 600; line-height: 1.12; letter-spacing: -0.03em; text-wrap: balance; }
.bd-sub { margin-top: 10px; color: var(--muted); }
.bd-p { margin-top: 18px; font-size: 17px; line-height: 1.55; letter-spacing: -0.012em; text-wrap: pretty; }
.points { margin-top: 18px; border-top: 1px solid var(--hair); }
.points li { position: relative; padding: 12px 0 12px 26px; border-bottom: 1px solid var(--hair); font-size: 15.5px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.points li::before { content: "→"; position: absolute; left: 0; top: 12px; font-family: var(--mono); font-size: 13px; color: var(--hot-ink); }
.points strong { color: var(--ink); font-weight: 600; }
.cycle { margin-top: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cycle li { padding: 13px 14px 14px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--hair); display: flex; flex-direction: column; gap: 8px; }
.cycle .mark { font-size: 10px; letter-spacing: 0.1em; }
.cycle b { font-size: 15.5px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.3; }
.metrics { margin-top: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.metrics > div { padding: 15px 15px 16px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--hair); display: flex; flex-direction: column; gap: 10px; }
.metrics dt { font-size: clamp(26px, 2.4vw, 34px); font-weight: 500; letter-spacing: -0.05em; line-height: 1; white-space: nowrap; }
.metrics dd { color: var(--muted); font-size: 10.5px; letter-spacing: 0.1em; }
.bd-note { margin-top: 16px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.bd .ext { margin-top: 20px; }

/* сцена: сочный фон — светлая тема тёплый оранжевый, тёмная — «космос» со звёздами */
.viz {
  --tick: rgba(255, 255, 255, 0.3);
  position: relative; isolation: isolate; overflow: hidden; min-width: 0; min-height: 420px; border-radius: 24px;
  border: 1px solid color-mix(in srgb, var(--g3) 45%, transparent);
  background:
    radial-gradient(58% 62% at 84% 4%, rgba(255, 246, 228, 0.92), rgba(255, 214, 160, 0.4) 42%, transparent 72%),
    radial-gradient(72% 78% at 2% 102%, color-mix(in srgb, var(--g1) 88%, transparent), transparent 66%),
    radial-gradient(50% 55% at 100% 100%, rgba(255, 70, 40, 0.42), transparent 70%),
    linear-gradient(152deg, #ffb45a 0%, #ff8a2e 34%, var(--g3) 62%, #ee4a0a 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  display: grid; place-items: center; padding: 28px 22px 40px;
}
:root[data-theme="dark"] .viz {
  --tick: rgba(255, 255, 255, 0.16);
  border-color: color-mix(in srgb, var(--g1) 55%, transparent);
  background:
    radial-gradient(1.2px 1.2px at 14% 22%, rgba(255, 255, 255, 0.85), transparent 100%),
    radial-gradient(1px 1px at 63% 12%, rgba(255, 255, 255, 0.7), transparent 100%),
    radial-gradient(1.4px 1.4px at 88% 58%, rgba(214, 226, 255, 0.8), transparent 100%),
    radial-gradient(1px 1px at 36% 82%, rgba(255, 255, 255, 0.6), transparent 100%),
    radial-gradient(1px 1px at 76% 90%, rgba(255, 255, 255, 0.55), transparent 100%),
    radial-gradient(1.2px 1.2px at 6% 64%, rgba(214, 226, 255, 0.7), transparent 100%),
    radial-gradient(58% 62% at 84% 4%, color-mix(in srgb, var(--g2) 34%, transparent), transparent 70%),
    radial-gradient(72% 78% at 2% 102%, color-mix(in srgb, var(--g3) 58%, transparent), transparent 66%),
    radial-gradient(50% 55% at 100% 100%, rgba(46, 70, 190, 0.42), transparent 70%),
    linear-gradient(152deg, #27378f 0%, #1a2268 40%, #10143f 78%, #0a0b26 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.viz::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(var(--tick) 1px, transparent 1.3px); background-size: 16px 16px;
  -webkit-mask-image: radial-gradient(75% 70% at 50% 45%, #000, transparent); mask-image: radial-gradient(75% 70% at 50% 45%, #000, transparent);
}
.viz::after {
  content: ""; position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; left: 15%; top: 10%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 244, 222, 0.5), rgba(255, 220, 170, 0.16) 45%, transparent 68%);
  filter: blur(30px); animation: vizBreath 9s ease-in-out infinite alternate; animation-play-state: paused;
}
:root[data-theme="dark"] .viz::after { background: radial-gradient(circle, color-mix(in srgb, var(--g2) 34%, transparent), color-mix(in srgb, var(--g1) 14%, transparent) 45%, transparent 68%); }
.viz.is-vis::after { animation-play-state: running; }
@keyframes vizBreath { from { transform: translate(-6%, 4%) scale(0.92); } to { transform: translate(8%, -6%) scale(1.08); } }
.viz-aura { position: absolute; inset: 0; z-index: -1; overflow: hidden; border-radius: inherit; pointer-events: none; }
.viz-aura i { position: absolute; width: 58%; aspect-ratio: 1; border-radius: 50%; filter: blur(44px); opacity: 0.55; will-change: transform; animation: aura1 15s ease-in-out infinite alternate; animation-play-state: paused; }
.viz-aura i:first-child { left: -12%; top: 48%; background: radial-gradient(circle, rgba(255, 226, 150, 0.95), transparent 66%); }
.viz-aura i:last-child { right: -10%; top: -14%; background: radial-gradient(circle, rgba(220, 40, 0, 0.7), transparent 66%); animation-name: aura2; animation-duration: 18s; }
:root[data-theme="dark"] .viz-aura i:first-child { background: radial-gradient(circle, var(--g2), transparent 66%); }
:root[data-theme="dark"] .viz-aura i:last-child { background: radial-gradient(circle, var(--g3), transparent 66%); }
.viz.is-vis .viz-aura i { animation-play-state: running; }
@keyframes aura1 { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(45%, -35%) scale(1.15); } 100% { transform: translate(90%, -8%) scale(0.9); } }
@keyframes aura2 { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-50%, 45%) scale(1.2); } 100% { transform: translate(-85%, 12%) scale(0.95); } }
.v-cap { position: absolute; right: 16px; bottom: 12px; z-index: 5; font-size: 9.5px; letter-spacing: 0.12em; color: #fff; opacity: 0.85; text-shadow: 0 1px 2px rgba(120, 30, 0, 0.25); }
:root[data-theme="dark"] .v-cap { text-shadow: none; opacity: 0.7; }
/* окна — плотные белые (в тёмной теме — тёмные), фон не просвечивает */
.gl, .ai-win, .cy-win {
  background: color-mix(in srgb, var(--surface) 97%, transparent);
  border: 1px solid var(--hair); border-radius: 18px; overflow: hidden;
  box-shadow: var(--lift), 0 0 0 1px color-mix(in srgb, var(--g2) 16%, transparent), 0 24px 60px -30px color-mix(in srgb, var(--g3) 50%, transparent);
}
@keyframes aiIn { from { opacity: 0; transform: translateY(8px) scale(0.98); } }
@keyframes vBlink { 50% { opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes popIn { from { opacity: 0; transform: scale(0.85); } }

/* живой аватар ассистента: шар с глазами — моргает, оглядывается, думает */
.ava {
  --s: 32px; --av1: var(--g1); --av2: var(--g2); --av3: var(--g3);
  position: relative; isolation: isolate; overflow: hidden; flex: none; width: var(--s); height: var(--s); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; gap: calc(var(--s) * 0.15);
  background: conic-gradient(from var(--a), var(--av1), var(--av2), var(--av3), var(--av1));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22), 0 4px 12px -3px color-mix(in srgb, var(--av1) 50%, transparent);
  animation: avSpin 7s linear infinite;
}
.ava::after { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; background: radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 42%), radial-gradient(circle at 70% 112%, rgba(255, 255, 255, 0.3), transparent 52%); }
.ava i { width: calc(var(--s) * 0.12); height: calc(var(--s) * 0.3); border-radius: 99px; background: #fff; box-shadow: 0 0 calc(var(--s) * 0.16) rgba(255, 255, 255, 0.9); animation: avBlink 5.2s infinite, avLook 12s var(--ease) infinite; }
.ava.is-think i { animation: avThink 0.9s ease-in-out infinite; }
.ava.is-think i + i { animation-delay: 0.15s; }
@keyframes avSpin { to { --a: 360deg; } }
@keyframes avBlink { 0%, 91%, 97%, 100% { transform: scaleY(1); } 94% { transform: scaleY(0.12); } }
@keyframes avLook { 0%, 30%, 100% { translate: 0 0; } 36%, 52% { translate: calc(var(--s) * 0.07) calc(var(--s) * -0.03); } 60%, 78% { translate: calc(var(--s) * -0.07) calc(var(--s) * 0.01); } }
@keyframes avThink { 0%, 100% { transform: translateY(calc(var(--s) * 0.05)) scaleY(0.45); } 50% { transform: translateY(calc(var(--s) * -0.06)) scaleY(0.45); } }

/* вспышка искр в ключевой момент сцены */
.burst { position: absolute; z-index: 30; width: 0; height: 0; pointer-events: none; }
.burst::before { content: ""; position: absolute; left: -34px; top: -34px; width: 68px; height: 68px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--g2) 60%, transparent), color-mix(in srgb, var(--g3) 25%, transparent) 45%, transparent 70%); animation: bFlash 0.75s var(--ease) forwards; }
.burst i { position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: var(--g2); box-shadow: 0 0 10px var(--g2); animation: bSpark 1s cubic-bezier(0.15, 0.8, 0.3, 1) forwards; }
.burst i:nth-child(3n) { background: var(--g3); box-shadow: 0 0 10px var(--g3); }
.burst i:nth-child(3n + 1) { background: var(--g1); box-shadow: 0 0 10px var(--g1); width: 4px; height: 4px; }
.burst.is-ok::before { background: radial-gradient(circle, rgba(47, 200, 130, 0.55), transparent 70%); }
.burst.is-ok i { background: #3ddc97; box-shadow: 0 0 10px #3ddc97; }
.burst.is-ok i:nth-child(3n) { background: #b6ffdc; }
.burst.is-bad::before { background: radial-gradient(circle, color-mix(in srgb, var(--hot) 55%, transparent), transparent 70%); }
.burst.is-bad i { background: var(--hot); box-shadow: 0 0 10px var(--hot); }
.burst.is-bad i:nth-child(3n) { background: #ffb08a; }
@keyframes bSpark { 0% { transform: translate(0, 0) scale(var(--s)); opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) scale(0); opacity: 0; } }
@keyframes bFlash { 0% { transform: scale(0.3); opacity: 1; } 100% { transform: scale(2.3); opacity: 0; } }

/* сцена 01 · у каждого свой ассистент: источники, провода, окно ассистента с ролью */
.viz-ai { grid-template-columns: 148px minmax(0, 420px); justify-content: center; gap: 44px; align-items: center; justify-items: stretch; }
.ai-src { position: relative; z-index: 2; display: grid; gap: 10px; }
.ai-src li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 14px; background: var(--surface); border: 1px solid var(--hair); box-shadow: var(--lift-sm); transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.35s var(--ease); }
.ai-src li.is-on { border-color: color-mix(in srgb, var(--hot) 55%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--hot) 14%, transparent), var(--lift-sm); transform: translateX(4px); }
.ai-ic { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--hair); font-family: var(--mono); font-size: 10px; font-weight: 500; transition: background-color 0.35s, color 0.35s; }
.ai-src li.is-on .ai-ic { background: var(--hot); border-color: transparent; color: var(--on-hot); }
.ai-src b { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: -0.01em; }
.ai-src i { display: block; font-style: normal; font-size: 10.5px; color: var(--muted); white-space: nowrap; }
.ai-wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; overflow: visible; }
.ai-wires path { fill: none; stroke: rgba(255, 255, 255, 0.6); stroke-width: 1.2; stroke-dasharray: 3 4; transition: stroke 0.3s; }
.ai-wires path.is-on { stroke: #fff; stroke-dasharray: none; stroke-width: 1.6; }
.ai-wires circle { fill: #fff; }
.ai-wires circle.halo { fill: rgba(255, 255, 255, 0.4); }
.ai-win { position: relative; z-index: 2; width: 100%; max-width: 420px; justify-self: end; display: flex; flex-direction: column; container-type: inline-size; }
.ai-bar { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--hair); }
.ai-ava.ava { --s: 30px; }
.ai-title { min-width: 0; }
.ai-title b { display: block; font-size: 13px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ai-state { display: flex; align-items: center; gap: 6px; font-style: normal; font-size: 11px; color: var(--muted); }
.ai-state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.ai-state.is-busy::before { background: var(--hot); animation: live 1.2s ease-out infinite; }
.ai-role { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px 4px 6px; border-radius: 100px; background: var(--hot-wash); color: var(--hot-ink); font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; white-space: nowrap; transition: opacity 0.3s, transform 0.35s var(--ease); }
.ai-role.is-swap { opacity: 0; transform: translateY(-4px); }
@container (max-width: 300px) { .ai-role b { display: none; } .ai-role { padding: 5px; } }
.ai-msgs { height: 220px; padding: 14px 14px 4px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; overflow: hidden; transition: opacity 0.4s; }
.ai-msgs.is-out { opacity: 0; }
.ai-q { align-self: flex-end; max-width: 84%; padding: 9px 13px; border-radius: 16px 16px 4px 16px; background: var(--ink); color: var(--page); font-size: 13.5px; line-height: 1.4; animation: aiIn 0.45s var(--ease) both; }
.ai-a { align-self: flex-start; max-width: 94%; padding: 11px 13px; border-radius: 16px 16px 16px 4px; background: var(--surface-2); border: 1px solid var(--hair); font-size: 13.5px; line-height: 1.45; animation: aiIn 0.45s var(--ease) both; }
.ai-think { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12.5px; }
.ai-dots { display: inline-flex; gap: 3px; }
.ai-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--hot); animation: dots 1s ease-in-out infinite; }
.ai-dots i:nth-child(2) { animation-delay: 0.15s; } .ai-dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dots { 0%, 100% { opacity: 0.25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-2px); } }
.ai-opts { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.ai-opts span { padding: 6px 11px; border-radius: 100px; border: 1px solid var(--hot-ink); color: var(--hot-ink); font-size: 12px; font-weight: 500; animation: popIn 0.35s var(--ease) both; }
.ai-opts span:first-child { background: var(--hot); border-color: var(--hot); color: var(--on-hot); }
.ai-opts span:nth-child(2) { animation-delay: 0.12s; }
.ai-cite { margin-top: 9px; display: flex; flex-wrap: wrap; gap: 5px; }
.ai-cite i { font-style: normal; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.03em; padding: 3px 8px; border-radius: 6px; background: var(--surface); border: 1px solid var(--hair); color: var(--muted); animation: popIn 0.35s var(--ease) 0.25s both; }
.ai-input { margin: 8px 12px 12px; display: flex; align-items: center; gap: 2px; padding: 6px 6px 6px 14px; border-radius: 100px; border: 1px solid var(--hair); background: var(--surface-2); font-size: 13px; color: var(--muted); min-width: 0; }
.ai-typed { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ai-input.is-typing .ai-typed { color: var(--ink); }
.ai-caret { flex: none; width: 1.5px; height: 15px; background: var(--hot); opacity: 0; }
.ai-input.is-typing .ai-caret { opacity: 1; animation: vBlink 1s steps(1) infinite; }
.ai-send { margin-left: auto; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--page); font-weight: 500; transition: transform 0.2s var(--ease), background-color 0.2s; }
.ai-send.is-press { transform: scale(0.82); background: linear-gradient(135deg, var(--g1), var(--g3)); box-shadow: 0 0 14px color-mix(in srgb, var(--g3) 60%, transparent); }

/* сцена 02 · управленческий цикл: данные → понимание → решение (утверждает человек) → исполнение → контроль → память */
.cy-win { position: relative; z-index: 2; width: 100%; max-width: 440px; }
.cy-bar { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--hair); }
.cy-ic { flex: none; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--g1), var(--g3)); box-shadow: 0 6px 14px -6px color-mix(in srgb, var(--g3) 70%, transparent); }
.cy-ic svg { transition: transform 0.8s var(--ease); }
.cy-win.is-turn .cy-ic svg { transform: rotate(180deg); }
.cy-bar b { min-width: 0; font-size: 13px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cy-n { margin-left: auto; flex: none; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.04em; color: var(--muted); white-space: nowrap; }
.cy-n b { color: var(--hot-ink); font-size: inherit; }
.cy-steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; padding: 12px 14px 0; }
.cy-steps i { position: relative; height: 4px; border-radius: 2px; background: var(--hair); overflow: hidden; }
.cy-steps i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--g1), var(--g3)); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.6s var(--ease); }
.cy-steps i.is-on::after { transform: scaleX(1); }
.cy-labs { position: relative; height: 30px; margin: 0 14px; }
.cy-labs span { position: absolute; left: 0; right: 0; top: 9px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transform: translateY(5px); transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); }
.cy-labs span b { color: var(--hot-ink); font-weight: 500; }
.cy-labs span.is-on { opacity: 1; transform: none; }
.cy-stage { position: relative; height: 212px; margin: 0 14px 14px; }
.cy-pane { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 7px; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
.cy-pane.is-on { opacity: 1; transform: none; }
.cy-h { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: -0.01em; }
.cy-h .ava { --s: 22px; }
.cy-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--hair); font-size: 12.5px; transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), border-color 0.35s, box-shadow 0.35s; }
.cy-row > b { min-width: 0; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cy-row > b small { display: block; font-family: var(--mono); font-size: 9.5px; font-weight: 500; letter-spacing: 0.03em; color: var(--muted); }
.cy-mini { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--hair); font-family: var(--mono); font-size: 9.5px; font-weight: 500; color: var(--muted); }
.cy-ok { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #fff; font-size: 10px; font-weight: 700; font-style: normal; transition: opacity 0.3s, transform 0.35s cubic-bezier(0.3, 1.6, 0.5, 1); }
.cy-due { font-family: var(--mono); font-size: 10px; color: var(--muted); white-space: nowrap; }
.cy-pane.is-anim .cy-row { opacity: 0; transform: translateY(6px); }
.cy-pane.is-anim .cy-row.is-in { opacity: 1; transform: none; }
.cy-sum { margin-top: auto; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.04em; color: var(--ok); }
/* понимание: две полосы */
.cy-bars { display: grid; gap: 12px; margin-top: 6px; padding: 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--hair); }
.cy-bars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; align-items: center; font-size: 12.5px; }
.cy-bars span { font-weight: 500; }
.cy-bars em { font-style: normal; font-family: var(--mono); font-size: 11px; font-weight: 500; }
.cy-bars li:first-child em { color: var(--hot-ink); }
.cy-bars li:last-child em { color: var(--muted); }
.cy-bars i { grid-column: 1 / -1; position: relative; height: 8px; border-radius: 4px; background: var(--hair); overflow: hidden; }
.cy-bars i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; transform-origin: 0 50%; transform: scaleX(var(--w, 0)); transition: transform 1s var(--ease) 0.2s; }
.cy-bars li:first-child i::after { background: linear-gradient(90deg, var(--g1), var(--g3)); }
.cy-bars li:last-child i::after { background: color-mix(in srgb, var(--ink) 30%, transparent); }
.cy-pane.is-anim .cy-bars i::after { transform: scaleX(0); }
.cy-why { margin-top: 4px; display: flex; align-items: flex-start; gap: 8px; padding: 9px 11px; border-radius: 12px; background: var(--hot-wash); color: var(--hot-ink); font-size: 12px; line-height: 1.4; }
/* решение: два варианта, человек утверждает */
.cy-opt { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 11px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--hair); font-size: 12.5px; transition: border-color 0.35s, box-shadow 0.35s, background-color 0.35s; }
.cy-opt > b { min-width: 0; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cy-opt em { font-style: normal; font-family: var(--mono); font-size: 10.5px; color: var(--ok); white-space: nowrap; }
.cy-radio { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--rule); position: relative; }
.cy-radio::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--hot); transform: scale(0); transition: transform 0.3s cubic-bezier(0.3, 1.6, 0.5, 1); }
.cy-opt.is-pick { border-color: color-mix(in srgb, var(--hot) 55%, transparent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--hot) 12%, transparent); background: var(--surface); }
.cy-opt.is-pick .cy-radio { border-color: var(--hot); }
.cy-opt.is-pick .cy-radio::after { transform: scale(1); }
.cy-act { margin-top: auto; display: flex; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px dashed var(--rule); }
.cy-who { display: inline-flex; align-items: center; gap: 7px; min-width: 0; font-size: 12px; font-weight: 500; white-space: nowrap; }
.cy-av { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--page); font-family: var(--mono); font-size: 10px; }
.cy-btn { position: relative; overflow: hidden; margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 14px; border-radius: 100px; background: var(--ink); color: var(--page); font-size: 12.5px; font-weight: 500; white-space: nowrap; transition: transform 0.2s var(--ease), background-color 0.3s, color 0.3s; }
.cy-btn .cy-done { display: none; }
.cy-btn.is-press { transform: scale(0.92); }
.cy-btn.is-ok { background: var(--ok); color: #fff; }
.cy-btn.is-ok .cy-do { display: none; }
.cy-btn.is-ok .cy-done { display: inline; }
/* память: карточка решения в базе знаний */
.cy-doc { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; align-items: center; margin-top: 4px; padding: 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--hair); }
.cy-doc .cy-book { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--g1), var(--g3)); }
.cy-doc b { display: block; font-size: 13px; font-weight: 600; letter-spacing: -0.01em; }
.cy-tags { margin-top: 7px; display: flex; flex-wrap: wrap; gap: 5px; }
.cy-tags i { font-style: normal; font-family: var(--mono); font-size: 9.5px; padding: 3px 8px; border-radius: 6px; background: var(--surface); border: 1px solid var(--hair); color: var(--muted); }
.cy-pane.is-anim .cy-doc { opacity: 0; transform: translateY(8px) scale(0.98); }
.cy-doc { transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.cy-pane.is-anim .cy-doc.is-in { opacity: 1; transform: none; }
.cy-prog { width: 46px; height: 5px; border-radius: 3px; background: var(--hair); overflow: hidden; position: relative; }
.cy-prog::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--g1), var(--g3)); transform: scaleX(0.6); transform-origin: 0 50%; }

/* сцена 03 · данные под контролем: сервер раздаёт доступы, щит не пускает персональные данные наружу */
.sx { display: grid; grid-template-columns: 96px minmax(0, 300px); justify-content: center; column-gap: 56px; align-items: center; padding: 24px 18px 64px; }
.sx-wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.sx-wires path { fill: none; stroke: rgba(255, 255, 255, 0.6); stroke-width: 1.3; stroke-dasharray: 2 4; transition: stroke 0.4s; }
.sx-wires path.is-on { stroke: color-mix(in srgb, var(--g2) 70%, var(--ok)); stroke-dasharray: none; }
.sx-wires path.is-bad { stroke: var(--hot); stroke-dasharray: none; }
.sx-wires path.is-anon { stroke: var(--ok); stroke-dasharray: none; }
.sx-wires circle { fill: var(--g1); }
.sx-wires circle.halo { fill: color-mix(in srgb, var(--g3) 28%, transparent); }
.sx-wires .pk-bad { fill: var(--hot); } .sx-wires .pk-bad.halo { fill: color-mix(in srgb, var(--hot) 30%, transparent); }
.sx-wires .pk-anon { fill: var(--ok); } .sx-wires .pk-anon.halo { fill: color-mix(in srgb, var(--ok) 28%, transparent); }
.sx-srv { position: relative; z-index: 1; display: grid; justify-items: center; gap: 7px; min-width: 0; }
.sx-rack { display: grid; gap: 4px; padding: 7px; border-radius: 12px; background: var(--surface); border: 1px solid var(--hair); box-shadow: var(--lift-sm); transition: box-shadow 0.4s; }
.sx-rack.is-busy { box-shadow: var(--lift-sm), 0 0 0 3px color-mix(in srgb, var(--g2) 18%, transparent), 0 0 18px color-mix(in srgb, var(--g3) 30%, transparent); }
.sx-rack i { position: relative; width: 74px; height: 16px; border-radius: 5px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--hair); }
.sx-rack i::before { content: ""; position: absolute; left: 6px; top: 5px; width: 4px; height: 4px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 6px var(--ok); animation: vBlink 1.4s steps(1) infinite; }
.sx-rack i:nth-child(2)::before { animation-delay: -0.5s; } .sx-rack i:nth-child(3)::before { animation-delay: -0.9s; background: var(--g2); box-shadow: 0 0 6px var(--g2); }
.sx-rack i::after { content: ""; position: absolute; right: 6px; top: 5.5px; width: 24px; height: 3px; background: repeating-linear-gradient(90deg, var(--rule) 0 2px, transparent 2px 4px); }
.sx-name { font-family: var(--mono); font-size: 9px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.92); text-align: center; }
.sx-log { width: 100%; display: grid; gap: 3px; margin-top: 2px; }
.sx-log li { display: flex; align-items: center; gap: 4px; min-width: 0; font-family: var(--mono); font-size: 8.5px; color: rgba(255, 255, 255, 0.92); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: aiIn 0.4s var(--ease) both; }
.sx-log li::before { content: ""; flex: none; width: 4px; height: 4px; border-radius: 50%; background: var(--ok); }
.sx-log li.is-bad { color: #fff; }
.sx-log li.is-bad::before { background: var(--hot); }
.sx-shield { position: absolute; z-index: 3; left: 0; top: 0; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--hair); color: var(--muted); box-shadow: var(--lift-sm); opacity: 0; transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.4s, transform 0.35s cubic-bezier(0.3, 1.6, 0.5, 1), opacity 0.4s; }
.sx.is-ready .sx-shield { opacity: 1; }
.sx-shield.is-deny { background: var(--hot); color: var(--on-hot); border-color: transparent; transform: scale(1.22); box-shadow: 0 0 0 6px color-mix(in srgb, var(--hot) 18%, transparent), 0 0 22px color-mix(in srgb, var(--hot) 60%, transparent); }
.sx-shield.is-pass { background: var(--ok); color: #fff; border-color: transparent; transform: scale(1.1); box-shadow: 0 0 0 6px color-mix(in srgb, var(--ok) 16%, transparent), 0 0 18px color-mix(in srgb, var(--ok) 45%, transparent); }
.sx-shield.is-deny::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--hot); animation: sxRing 0.7s var(--ease) forwards; }
@keyframes sxRing { to { transform: scale(2.4); opacity: 0; } }
.sx-roles { position: relative; z-index: 1; display: grid; gap: 6px; min-width: 0; }
.sx-roles li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 8px; padding: 8px 11px; border-radius: 11px; background: var(--surface); border: 1px solid var(--hair); box-shadow: var(--lift-sm); font-size: 12.5px; transition: border-color 0.35s, box-shadow 0.35s, transform 0.35s var(--ease); }
.sx-roles b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sx-roles span { grid-column: 1; color: var(--muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sx-roles em { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; font-family: var(--mono); font-size: 10px; padding: 3px 8px; border-radius: 100px; background: var(--hot-wash); color: var(--hot-ink); transition: background-color 0.3s, color 0.3s, transform 0.35s cubic-bezier(0.3, 1.6, 0.5, 1); }
.sx-roles em.ok { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.sx-roles li.is-ext { border-style: dashed; border-color: color-mix(in srgb, var(--hot) 45%, transparent); }
.sx-roles li.is-hit { border-color: color-mix(in srgb, var(--ok) 45%, transparent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 12%, transparent); }
.sx-roles li.is-hit em { transform: scale(1.12); }
.sx-roles li.is-deny { border-style: solid; border-color: var(--hot); box-shadow: 0 0 0 3px color-mix(in srgb, var(--hot) 16%, transparent), 0 8px 20px -10px color-mix(in srgb, var(--hot) 60%, transparent); animation: sxShake 0.45s var(--ease); }
.sx-roles li.is-anon { border-style: solid; border-color: color-mix(in srgb, var(--ok) 50%, transparent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 12%, transparent); }
.sx-roles li.is-anon em { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
@keyframes sxShake { 20% { transform: translateX(-4px); } 40% { transform: translateX(4px); } 60% { transform: translateX(-2px); } 80% { transform: translateX(2px); } }
.sx-tag { position: absolute; z-index: 4; left: 0; top: 0; padding: 2px 7px; border-radius: 100px; font-family: var(--mono); font-size: 8.5px; font-weight: 600; white-space: nowrap; pointer-events: none; transform: translate(-50%, -150%); background: var(--hot); color: var(--on-hot); box-shadow: 0 4px 12px -4px color-mix(in srgb, var(--hot) 60%, transparent); }
.sx-tag.is-anon { background: var(--ok); color: #fff; box-shadow: 0 4px 12px -4px color-mix(in srgb, var(--ok) 60%, transparent); }
.sx-toast { position: absolute; z-index: 4; left: 50%; bottom: 30px; width: min(420px, calc(100% - 28px)); translate: -50% 0; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 11px; background: var(--ink); color: var(--page); font-size: 11.5px; line-height: 1.3; }
.sx-toast svg { flex: none; color: var(--hot-ink); }
.sx.is-live .sx-toast { opacity: 0; transform: translateY(8px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.sx.is-live.is-toast .sx-toast { opacity: 1; transform: none; }

/* сцена 04 · этапы и сроки: акт за актом — показ результата, подпись, печать, в стопку */
.ax { min-height: 420px; container-type: inline-size; display: block; padding: 0; }
.ax-top { position: absolute; z-index: 4; left: 16px; right: 16px; top: 16px; display: flex; align-items: center; gap: 6px; }
.ax-chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px 4px 4px; border-radius: 100px; background: var(--surface); border: 1px solid var(--hair); box-shadow: var(--lift-sm); font-size: 11.5px; font-weight: 500; white-space: nowrap; }
.ax-chip em, .ax-fin em { width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #fff; font-style: normal; font-size: 9px; font-weight: 700; }
.ax-prog { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.ax-prog small { margin-right: 4px; font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.92); }
.ax-prog i { width: 18px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.4); transition: background-color 0.4s; }
.ax-prog i.is-on { background: #fff; box-shadow: 0 0 8px rgba(255, 255, 255, 0.6); }
.ax-doc {
  position: absolute; z-index: 2; left: 50%; top: 50%; width: 236px; margin: -96px 0 0 -100px;
  display: flex; flex-direction: column; gap: 4px; padding: 15px 16px 15px; border-radius: 15px;
  background: var(--surface); border: 1px solid var(--hair); box-shadow: var(--lift);
  opacity: 0; transform: translateX(calc(50cqw + 110px)) rotate(8deg) scale(0.86);
  transition: transform 0.85s var(--ease), opacity 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.ax-doc.is-next { z-index: 1; opacity: 0.55; transform: translateX(calc(50cqw - 40px)) translateY(12px) rotate(7deg) scale(0.84); }
.ax-doc.is-cur { z-index: 3; opacity: 1; transform: none; }
.ax-doc.is-done { z-index: 1; opacity: 1; box-shadow: var(--lift-sm); transform: translateX(calc(60px - 50cqw + var(--k, 0) * 9px)) translateY(calc(40px - var(--k, 0) * 7px)) rotate(calc(-11deg + var(--k, 0) * 5deg)) scale(0.56); }
.ax-h { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; }
.ax-h b { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.ax-h em { font-style: normal; font-family: var(--mono); font-size: 9.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; white-space: nowrap; }
.ax-name { font-style: normal; font-size: 13.5px; color: var(--muted); }
.ax-lines { display: grid; gap: 4px; margin-top: 7px; }
.ax-lines i { display: block; height: 4px; border-radius: 2px; background: var(--hair); }
.ax-lines i:nth-child(2) { width: 70%; }
.ax-demo { position: relative; overflow: hidden; margin-top: 8px; display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 9px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--hair); font-size: 12px; color: var(--muted); white-space: nowrap; transition: color 0.3s, border-color 0.3s; }
.ax-demo svg { flex: none; color: var(--hot-ink); }
.ax-demo em { margin-left: auto; flex: none; width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; background: var(--hair); color: transparent; font-style: normal; font-size: 9.5px; font-weight: 700; transition: background-color 0.3s, color 0.3s, transform 0.35s cubic-bezier(0.3, 1.6, 0.5, 1); }
.ax-demo::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: linear-gradient(90deg, var(--g1), var(--g2), var(--g3)); transform: scaleX(0); transform-origin: 0 50%; }
.ax-doc.is-play .ax-demo::after { transform: scaleX(1); transition: transform 1.1s linear; }
.ax-doc.is-demo .ax-demo { color: var(--ink); border-color: color-mix(in srgb, var(--ok) 35%, transparent); }
.ax-doc.is-demo .ax-demo::after { transform: scaleX(1); opacity: 0; transition: opacity 0.4s; }
.ax-doc.is-demo .ax-demo em { background: var(--ok); color: #fff; transform: scale(1.12); }
.ax-sign { display: flex; align-items: flex-end; gap: 9px; margin-top: 8px; padding-top: 7px; border-top: 1px dashed var(--rule); min-height: 30px; }
.ax-sign small { font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.ax-pen { width: 68px; height: 21px; overflow: visible; }
.ax-pen path { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.ax-doc.is-sign .ax-pen path { stroke-dashoffset: 0; transition: stroke-dashoffset 0.9s cubic-bezier(0.45, 0, 0.25, 1); }
.ax-stamp { position: absolute; right: 12px; bottom: 14px; padding: 4px 9px; border: 1.5px solid var(--hot); border-radius: 6px; color: var(--hot-ink); background: color-mix(in srgb, var(--surface) 70%, transparent); font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0; transform: rotate(-12deg) scale(1.9); pointer-events: none; }
.ax-doc.is-signed .ax-stamp { opacity: 1; transform: rotate(-12deg) scale(1); box-shadow: 0 0 0 3px color-mix(in srgb, var(--hot) 10%, transparent), 0 0 14px color-mix(in srgb, var(--g3) 35%, transparent); transition: opacity 0.15s, transform 0.4s cubic-bezier(0.3, 1.5, 0.5, 1), box-shadow 0.6s; }
.ax-doc.is-cur.is-signed { animation: axSlam 0.45s var(--ease) 0.08s; }
@keyframes axSlam { 40% { translate: 0 2px; scale: 0.985; } }
.ax-fin { position: absolute; z-index: 3; left: 50%; bottom: 40px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px 7px 7px; border-radius: 100px; background: var(--surface); border: 1px solid color-mix(in srgb, var(--ok) 35%, transparent); box-shadow: var(--lift), 0 0 0 4px color-mix(in srgb, var(--ok) 10%, transparent); font-size: 13px; font-weight: 600; white-space: nowrap; opacity: 0; transform: translate(-50%, 8px) scale(0.95); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.ax-fin.is-on { opacity: 1; transform: translate(-50%, 0) scale(1); }
.ax.is-reset .ax-doc, .ax.is-reset .ax-fin { opacity: 0 !important; transition: opacity 0.45s; }
.ax.is-snap, .ax.is-snap * { transition: none !important; animation: none !important; }

/* ── вывод: одна фраза, слова загораются при прокрутке; за фразой свет, вокруг — медленное кольцо ── */
.verdict { padding-top: 150px; }
.scene-verdict { min-height: min(720px, calc(100svh - 32px)); align-items: center; justify-content: center; padding: 80px 24px; }
.verdict-pill { margin-bottom: 30px; }
.verdict-h { position: relative; max-width: 1080px; text-align: center; font-size: clamp(30px, 4.4vw, 62px); font-weight: 500; line-height: 1.1; letter-spacing: -0.038em; text-wrap: balance; }
.verdict-h > span:not(.vw):not(.verdict-halo) { color: var(--hot-ink); }
.verdict-h .vw { transition: opacity 0.25s linear; }
.verdict-h.is-lit .vw { opacity: 0.16; }
.verdict-h.is-lit .vw.on { opacity: 1; }
.verdict-halo { position: absolute; z-index: -1; left: 50%; top: 50%; width: min(1180px, 130%); aspect-ratio: 2; translate: -50% -50%; pointer-events: none; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.42) 50%, transparent); }
:root[data-theme="dark"] .verdict-halo { background: radial-gradient(closest-side, rgba(4, 4, 12, 0.55), rgba(4, 4, 12, 0.2) 55%, transparent); }
.verdict-halo::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 82%; aspect-ratio: 1; margin: -41% 0 0 -41%; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 8%, var(--g3) 17%, var(--g2) 23%, transparent 33%, transparent 56%, color-mix(in srgb, var(--g3) 80%, var(--g1)) 66%, var(--g2) 72%, transparent 82%);
  -webkit-mask: radial-gradient(closest-side, transparent 66%, #000 76%, #000 84%, transparent 96%); mask: radial-gradient(closest-side, transparent 66%, #000 76%, #000 84%, transparent 96%);
  filter: blur(18px); opacity: 0.62; will-change: transform; animation: vhSpin 28s linear infinite;
}
@keyframes vhSpin { to { transform: rotate(360deg); } }

/* ── 05 · как я работаю: шесть одинаковых карточек ── */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.card {
  position: relative; display: flex; flex-direction: column; padding: 24px 24px 22px; border-radius: 26px;
  background: var(--surface); border: 1px solid var(--hair); box-shadow: var(--shadow);
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), translate 0.35s var(--ease);
}
.card-h { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: center; }
.card-h h3 { min-height: 2.44em; display: flex; align-items: center; font-size: 20px; font-weight: 600; letter-spacing: -0.022em; line-height: 1.22; text-wrap: balance; }
.card-d { margin-top: 12px; font-size: 15.5px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.card-d b { color: var(--ink); font-weight: 600; }
.card-d { margin-bottom: 18px; }
.card-f { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--hair); display: flex; align-items: baseline; gap: 10px; color: var(--hot-ink); }
.card-f .card-n { flex: none; color: var(--muted); }
@media (hover: hover) and (pointer: fine) {
  .card:hover { translate: 0 -2px; box-shadow: 0 26px 60px -28px color-mix(in srgb, var(--g1) 55%, transparent), 0 10px 26px -18px color-mix(in srgb, var(--g3) 45%, transparent); }
  .bd:hover { box-shadow: 0 26px 60px -28px color-mix(in srgb, var(--g1) 55%, transparent), 0 10px 26px -18px color-mix(in srgb, var(--g3) 45%, transparent); }
}

/* ── финал ── */
.final { padding-top: 150px; }
.scene-final { min-height: min(820px, calc(100svh - 32px)); }
.final-body { padding: 96px 24px 80px; }
.final-h2 { margin-top: 28px; max-width: 1000px; text-wrap: balance; font-size: clamp(34px, 4.6vw, 64px); font-weight: 500; line-height: 1.05; letter-spacing: -0.038em; }

/* ── 06 · контакты ── */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: start; }
.rows-contact .row { grid-template-columns: 170px minmax(0, 1fr); padding: 16px 0; }
.rows-contact dd { font-size: 17px; }
.form { display: grid; gap: 16px; padding: 30px; }
.field { display: grid; gap: 8px; }
.field .mark { color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--hair); background: var(--surface-2);
  font-size: 16px; letter-spacing: -0.01em; outline: 0; resize: vertical;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 0.8; }
.field input:focus, .field textarea:focus { border-color: var(--hot-ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--hot) 14%, transparent); }
.form .btn { justify-self: start; margin-top: 4px; }
.form-note { margin-top: -4px; font-size: 14px; color: var(--muted); }

/* ── подвал: одинаковый на всех сайтах Benevsky (эталон — benevsky.tech, «benevsky.work 2.0/site/services.css» → .sv-ftr).
      О сайте · разделы · «Сайты Benevsky» (студия, BenevskyAI, ChefUp, Space, основатель) · контакты; внизу знак, копирайт и языки ── */
.ftr.sv-ftr { margin-top: 120px; padding: 0 0 36px; }
.sv-ftr-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 32px; padding: 40px 0 34px; border-top: 1px solid var(--rule); }
.sv-ftr-grid.is-3 { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); }
.sv-ftr-brand .brand { min-height: 0; }
.sv-ftr-brand p { margin-top: 16px; max-width: 300px; font-size: 14.5px; line-height: 1.55; }
.sv-ftr-col .mark { color: var(--muted); font-size: 10.5px; }
.sv-ftr-col ul { margin-top: 14px; display: grid; gap: 9px; font-size: 14.5px; line-height: 1.4; }
.sv-ftr-col a { text-decoration: none; transition: color 0.2s; }
.sv-ftr-col a:hover { color: var(--hot-ink); }
.sv-ftr-col a span { color: var(--hot-ink); }
.sv-ftr-col a[href^="tel"] { white-space: nowrap; }
.sv-ftr-sites li a, .sv-ftr-sites li .is-here { display: flex; flex-direction: column; gap: 2px; }
.sv-ftr-sites b { font-weight: 500; }
.sv-ftr-sites i { font-style: normal; font-size: 12.5px; color: var(--muted); }
.sv-ftr-sites .is-here b { color: var(--hot-ink); }
.sv-ftr-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--hair); font-size: 14px; }
.sv-ftr-end { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.sv-ftr-end .seg { background: var(--hair); }
@media (max-width: 1240px) {
  .sv-ftr-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sv-ftr-grid.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sv-ftr-brand { grid-column: 1 / -1; }
}
@media (max-width: 1060px) { .sv-ftr-grid:not(.is-3) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .ftr.sv-ftr { margin-top: 80px; }
  .sv-ftr-grid, .sv-ftr-grid.is-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; padding: 30px 0 26px; }
}

/* мягкий свет и цветная кромка за курсором */
.has-glow::after {
  content: ""; position: absolute; inset: 0; z-index: 6; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(440px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--g1) 14%, transparent), color-mix(in srgb, var(--g3) 7%, transparent) 38%, transparent 62%);
  transition: opacity 0.5s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .has-glow:hover::after { opacity: 1; }
  .has-glow::before { content: ""; position: absolute; inset: 0; z-index: 6; border-radius: inherit; padding: 1.5px; pointer-events: none; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), var(--g2), color-mix(in srgb, var(--g3) 70%, transparent) 38%, transparent 70%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.4s var(--ease); }
  .has-glow:hover::before { opacity: 1; }
}

/* ── появление при прокрутке ── */
.js [data-reveal] { opacity: 0; transform: translateY(22px) scale(0.985); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-stagger] > * { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--k, 0) * 70ms + 0.15s); }
.js .is-in[data-stagger] > *, .js .is-in [data-stagger] > * { opacity: 1; transform: none; }
.js .card { transition: opacity 0.7s var(--ease) calc(var(--k, 0) * 70ms + 0.15s), transform 0.7s var(--ease) calc(var(--k, 0) * 70ms + 0.15s), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), translate 0.35s var(--ease); }
.js .hero-body > * { animation: heroIn 1s var(--ease) both; }
.js .hero-body > :nth-child(2) { animation-delay: 0.15s; }
.js .hero-body > :nth-child(3) { animation-delay: 0.3s; }
.js .hero-body > :nth-child(4) { animation-delay: 0.45s; }
.js .hero-body > :nth-child(5) { animation-delay: 0.6s; }
.js .hero-body > :nth-child(6) { animation-delay: 0.75s; }
.js .hero-facts { animation: heroIn 1s var(--ease) 0.9s both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(16px); } }

/* ── адаптив ── */
@media (max-width: 1240px) {
  .bd { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 28px; }
  .bd .viz { order: -1; }
  .bd:nth-child(even) .bd-text { order: 0; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1180px) {
  .hdr-nav .nav-item { padding: 0 9px; font-size: 13.5px; }
  .hdr-actions .langs .seg-btn { min-width: 32px; padding: 0 7px; }
}
@media (max-width: 1100px) {
  .hdr-menu { display: inline-grid; }
  .hdr-nav {
    position: absolute; left: 0; right: 0; top: calc(100% + 8px);
    flex-direction: column; align-items: stretch; gap: 2px; padding: 8px; border-radius: 26px;
    background: var(--surface); border: 1px solid var(--hair); box-shadow: var(--shadow);
    max-height: calc(100svh - 96px); overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; transform: translateY(-6px); pointer-events: none; visibility: hidden;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s 0.25s;
  }
  .hdr.is-open .hdr-nav { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity 0.25s var(--ease), transform 0.25s var(--ease); }
  .hdr-nav .nav-item { min-height: 48px; padding: 0 16px; font-size: 16px; color: var(--ink); }
  .hdr-nav .nav-item.is-here { background: var(--hair); }
  .nav-pill { display: none; }
  .nav-sites { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--hair); }
  .nav-sites-btn { display: none; }
  .sites-pop, .nav-sites.is-open .sites-pop { display: block; position: static; width: auto; padding: 0; border: 0; box-shadow: none; background: none; animation: none; }
  .sites-k { padding: 10px 16px 4px; }
  .site-link { padding: 10px 16px; }
  .profile-main { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .pillars { grid-template-columns: minmax(0, 1fr); margin-top: 24px; }
  .pillar .thesis li { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: baseline; }
  .xp, .edu { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .xp-major, .edu { padding: 24px 0; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  :root { --gutter: 18px; }
  body { font-size: 16px; }
  .hdr { inset: 10px 0 auto 0; }
  .hdr-bar { max-width: calc(100% - 20px); }
  .hdr-actions .langs, .hdr-cta { display: none; }
  .nav-langs { display: inline-flex; align-self: flex-start; margin: 8px 8px 6px; }
  .hero, .final, .verdict { padding: 10px; }
  .verdict, .final { padding-top: 96px; }
  .scene { border-radius: 28px; min-height: calc(100svh - 20px); }
  .hero-body { padding: 96px 16px 26px; }
  .hero-pill { padding: 9px 14px; font-size: 10px; letter-spacing: 0.08em; text-align: left; }
  .hero-h1 { font-size: clamp(36px, 10.6vw, 60px); margin-top: 22px; }
  .hero-role { font-size: clamp(20px, 5.8vw, 26px); }
  .hero-lede { padding: 13px 16px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; text-align: left; }
  .hero-cta { width: 100%; margin-top: 28px; gap: 12px; }
  .hero-cta .btn { flex: 1 1 0; padding: 0 14px; }
  .ribbon { margin-top: 38px; }
  .hero-facts { grid-template-columns: repeat(2, 1fr); margin: 0 16px 16px; }
  .hero-facts > div:nth-child(3) { border-left: 0; }
  .hero-facts > div:nth-child(n + 3) { border-top: 1px solid var(--hair); margin-top: 10px; }
  .h2 { font-size: clamp(30px, 8.4vw, 36px); line-height: 1.06; }
  .final-h2 { font-size: clamp(26px, 7.2vw, 32px); }
  .verdict-h { font-size: clamp(26px, 7.4vw, 32px); }
  .lead { font-size: 16px; line-height: 1.55; }
  .profile { margin-top: 12px; padding: 0 10px; }
  .plate { border-radius: 26px; }
  .profile-card { padding: 20px; }
  .profile-id { gap: 16px; align-items: flex-start; }
  .profile-photo { width: 92px; border-radius: 18px; }
  .profile-name { font-size: 26px; }
  .profile-status { padding: 7px 12px 7px 10px; border-radius: 14px; }
  .profile-status .mark { font-size: 10.5px; letter-spacing: 0.08em; }
  .profile-why { font-size: 18px; }
  .pillar { padding: 16px; }
  .pillar .thesis li { grid-template-columns: minmax(0, 1fr); gap: 3px; }
  .sec { padding-top: 96px; }
  .sec-head { margin-bottom: 36px; }
  .row, .rows-contact .row { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 18px 0; }
  .row dt { padding-top: 0; }
  .row dd { font-size: 17px; }
  .path { padding-left: 32px; }
  .path-rail { left: 6px; }
  .path .row::before { left: -32px; top: 20px; }
  .bd { padding: 12px 12px 22px; border-radius: 26px; gap: 22px; }
  .bd-text { padding: 0 8px; }
  .bd-title { font-size: 24px; }
  .bd-p { font-size: 16px; }
  .cycle { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metrics { grid-template-columns: minmax(0, 1fr); }
  .metrics > div { flex-direction: row; align-items: baseline; justify-content: space-between; }
  .viz { min-height: 0; padding: 22px 10px 38px; border-radius: 18px; }
  .viz-ai { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .ai-src { grid-template-columns: 1fr 1fr; gap: 6px; }
  .ai-src li { padding: 6px 7px; gap: 8px; }
  .ai-src b { font-size: 11.5px; }
  .ai-src i { display: none; }
  .ai-ic { width: 24px; height: 24px; font-size: 9px; }
  .ai-wires { display: none; }
  .ai-win { max-width: none; }
  .ai-bar { padding: 9px 10px; }
  .ai-msgs { height: 210px; padding: 10px 10px 2px; gap: 8px; }
  .ai-q, .ai-a { font-size: 12.5px; }
  .ai-input { margin: 6px 8px 8px; font-size: 12px; }
  .cy-stage { height: 214px; margin: 0 10px 10px; }
  .cy-bar { padding: 10px 11px; }
  .cy-steps { padding: 10px 11px 0; }
  .cy-labs { margin: 0 11px; }
  .sx { grid-template-columns: 78px minmax(0, 1fr); column-gap: 30px; padding: 22px 10px 72px; min-height: 300px; }
  .sx-rack i { width: 60px; }
  .sx-rack i::after { width: 18px; }
  .sx-roles li { padding: 7px 9px; font-size: 12px; }
  .sx-toast { bottom: 30px; font-size: 11px; }
  .ax { min-height: 330px; }
  .ax-top { left: 10px; right: 10px; top: 12px; }
  .ax-doc { width: 206px; margin: -84px 0 0 -84px; padding: 13px 14px; }
  .ax-doc.is-done { transform: translateX(calc(46px - 50cqw + var(--k, 0) * 8px)) translateY(calc(34px - var(--k, 0) * 6px)) rotate(calc(-11deg + var(--k, 0) * 5deg)) scale(0.52); }
  .ax-fin { bottom: 34px; font-size: 12px; }
  .cards { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .card { padding: 20px 18px; border-radius: 22px; }
  .card-h h3 { font-size: 19px; min-height: 0; }
  .scene-verdict { padding: 56px 18px; }
  .verdict-pill { margin-bottom: 22px; }
  .verdict-halo { width: 170%; aspect-ratio: 1.2; }
  .scene-glow i:nth-child(1), .scene-glow i:nth-child(2) { width: 90%; }
  .scene-glow i:nth-child(3), .scene-glow i:nth-child(4) { width: 70%; }
  .scene-glow i:nth-child(5) { width: 30%; }
  .final-body { padding: 80px 16px 56px; }
  .form { padding: 20px 18px; }
  .form .btn { justify-self: stretch; }
  .xp-links .ext { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scene-bg, .ribbon-track, .live, .scene-glow i, .verdict-halo::before, .viz::after, .viz-aura i, .gr, .btn-ink.has-gr,
  .hero-role .hot, .h2 em, .final-h2 em, .ava, .ava i, .sx-rack i::before, .edu.is-now .edu-yr::after, .ai-dots i { animation: none !important; }
  .js [data-reveal], .js [data-stagger] > * { opacity: 1; transform: none; transition: none; }
  .js .hero-body > *, .js .hero-facts { animation: none; }
  .js .profile-card:not(.is-in) .profile-photo img { clip-path: none; transform: none; }
  .verdict-h.is-lit .vw { opacity: 1; }
  .burst { display: none; }
  .path.is-live .row:not(.is-done) dt { color: var(--hot-ink); }
}
@media print {
  .hdr, .ribbon, .form, .viz { display: none !important; }
  .js [data-reveal], .js [data-stagger] > * { opacity: 1; transform: none; }
  .scene { min-height: 0; }
}
.site-ic { object-fit: cover; }
