/* v6: правки по второму прогону 11.11.2026 */

/* Рутина: справки — отдельным полноэкранным шагом поверх интерфейса */
.sprav-full { position: absolute; inset: 0; z-index: 6; padding: 96px 120px 120px; background: var(--bg); transform: none; transition: opacity 500ms var(--ease-out), visibility 0s linear 500ms; visibility: hidden; }
.sprav-full.is-shown { visibility: visible; transition: opacity 500ms var(--ease-out); }
.sprav-full .sprav-h { font-size: var(--fs-b); }
.sprav-full .sprav-h b { font-size: var(--fs-t); }
.sprav-full .sprav-row { gap: 32px; margin-top: 40px; }
.sprav-full .sprav-c { padding: 20px 20px 26px; opacity: 0; transform: translateY(80px) scale(.94); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(250ms + var(--k) * 160ms); }
.sprav-full.is-shown .sprav-c { opacity: 1; transform: none; }
.sprav-full .sprav-ph { height: 640px; }
.sprav-full .sprav-c b { font-size: var(--fs-l); letter-spacing: -0.02em; }

/* Ритмичность: подпись под заголовком */
.rh-sub { margin-top: 8px; }
.rh7 .rh-over { top: 20px; }
.rh7 .rh-over .shot { width: 1240px; }

/* Стан: зелёный вывод — в самом низу */
.cal-why + .cal-sum6 { margin-top: 22px; }

/* КПЭ: цепочка сверху, ниже — 87% и предварительный КПЭ */
.kpt-top { margin-top: 56px; }
.kpt2 { display: grid; grid-template-columns: 420px 64px 760px; align-items: stretch; margin-top: 56px; }
.kpt2 .kpt-base { padding: 36px; }
.kpt2-arr { width: 64px; height: 24px; align-self: center; stroke: var(--text-2); stroke-width: 3; fill: none; }
.kpt2 .kpt-st { padding: 36px; box-shadow: inset 0 0 0 2px var(--ok); }
.kpt2 .kpt-st h3 { font-size: 44px; }

/* Чему научил проект: 12 предложено → топ-5 в работу */
.top12 { display: flex; flex-direction: column; align-items: stretch; gap: 18px; }
.top12-n { background: var(--surface); border-radius: var(--r-l); padding: 32px 36px; font-size: var(--fs-b); color: var(--text-2); line-height: 1.3; }
.top12-n b { display: block; font-size: 88px; line-height: 1; letter-spacing: -0.04em; color: var(--text); margin-bottom: 10px; }
.top12-n.top { background: var(--surface-2); box-shadow: inset 0 0 0 2px var(--ok); color: var(--text); }
.top12-n.top b { color: var(--ok); }
.top12-n small { display: block; margin-top: 8px; font-size: var(--fs-s); color: var(--text-2); }
.top12 svg { width: 24px; height: 64px; align-self: center; stroke: var(--text-2); stroke-width: 3; fill: none; }

/* Печи — что дальше: ноябрь с картинкой технологий, ниже — дорожка */
.tech-pic { display: grid; grid-template-columns: 720px 1fr; gap: 48px; align-items: center; margin-top: 36px; }
.tech-pic .shot { padding: 10px; }
.tech-pic p { font-size: var(--fs-b); color: var(--text-2); line-height: 1.35; }
.tech-pic p b { display: block; font-size: 44px; color: var(--text); letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 14px; }
.tech-pic .mark { display: inline-block; margin-top: 14px; font-size: 18px; }
.road.road6 { margin-top: 56px; }
.road6 .rp { padding-top: 56px; }
.road6 .rp h3 { font-size: 32px; }
.road6 .rp p { font-size: 21px; margin-top: 10px; }

/* Экосистема: списки топ-5 */
.eco.no-pct .n-status { display: none !important; }
.eco .node .n-lpct { display: none !important; }
.eco.st-list .node .n-lpct { display: inline-flex !important; }
.eco.is-list-only .eco-bar, .eco.is-list-only .eco-legend, .eco.is-list-only .eco-drawer, .eco.is-list-only .eco-scrim { display: none !important; }
.eco.is-list-only .node { cursor: default; }
.s-list .eco-host { pointer-events: none; }

/* Экосистема, последний шаг: контур Open WebUI расширяется и накрывает будущие проекты */
.eco.is-story .eco-frame { transition: opacity 600ms var(--ease-out), left 1100ms var(--ease-io), top 1100ms var(--ease-io), width 1100ms var(--ease-io), height 1100ms var(--ease-io), border-radius 1100ms var(--ease-io); }
.eco.is-story.st-wide .eco-canvas { transform: scale(.585); }
.eco.is-story.st-wide .eco-frame { left: -580px !important; top: -300px !important; width: 2880px !important; height: 1350px !important; border-radius: 56px; border-width: 3px; }
.eco.is-story .node.shape-tag { transition: opacity 600ms var(--ease-out), translate 1100ms var(--ease-io), scale 1100ms var(--ease-io); }
.eco.is-story.st-wide .node.shape-tag { translate: 520px -276px; scale: 1.25; }
.eco .ghost-line { stroke-dasharray: 10 12; }
.chip.chip-ghost { display: none; background: transparent; border: 2px dashed rgb(131 168 227 / .6); color: rgb(131 168 227 / .9); justify-content: center; min-width: 64px; font-size: 22px; }
.eco.st-wide .chip.chip-ghost { display: inline-flex; animation: rise 500ms var(--ease-out) both; animation-delay: 1200ms; }

/* Проекты: план — на слайде проекта (общий Гант убран) */
.pplan { display: flex; gap: 10px; margin-top: 16px; }
.pplan > div { flex: 1; border-left: 4px solid var(--flow); padding: 4px 0 4px 14px; font-size: 19px; line-height: 1.3; color: var(--text-2); }
.pplan b { display: block; font-size: 19px; color: var(--flow); font-weight: 600; margin-bottom: 2px; }

/* Пульт: видео разворачивается на весь экран */
.vfull { position: absolute; inset: 0; z-index: 6; background: var(--bg); display: grid; place-items: center; padding: 48px 80px; transform: scale(.4) translate(30%, 40%); transition: opacity 500ms var(--ease-out), transform 800ms var(--ease-io), visibility 0s linear 800ms; visibility: hidden; }
.vfull.is-shown { transform: none; visibility: visible; transition: opacity 400ms var(--ease-out), transform 800ms var(--ease-io); }
.vfull video { width: 100%; height: 100%; object-fit: contain; border-radius: var(--r-l); background: #000; }
.vfull .mark { position: absolute; left: 80px; bottom: 20px; }
.slide:has(.vfull-off.is-shown) .vfull { opacity: 0; visibility: hidden; transition: opacity 400ms var(--ease-out), visibility 0s linear 400ms; }

/* Open WebUI, эксперимент: карусель сайтов */
.ow-pills { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; list-style: none; padding: 0; }
.ow-pills li { background: var(--surface); border-radius: var(--r-p); padding: 12px 24px; font-size: var(--fs-s); display: flex; gap: 10px; align-items: center; }
.ow-pills span { color: var(--ok); font-weight: 700; }
.carousel { position: absolute; left: 0; right: 0; top: 330px; height: 470px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.car-track { display: flex; gap: 32px; width: max-content; height: 100%; }
.slide.is-active .car-track { animation: car-run 48s linear infinite; }
.car-track figure { margin: 0; width: 760px; flex: none; }
.car-track img { width: 100%; height: 400px; object-fit: cover; object-position: top left; border-radius: var(--r-l); background: #fff; box-shadow: var(--shadow); display: block; }
.car-track figcaption { margin-top: 14px; font-size: var(--fs-s); color: var(--text-2); }
@keyframes car-run { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 16px)); } }
.car-cap { position: absolute; left: 120px; right: 120px; bottom: 110px; font-size: var(--fs-b); color: var(--text-2); display: flex; gap: 16px; align-items: baseline; flex-wrap: wrap; }
.car-cap b { font-size: var(--fs-l); color: var(--text); letter-spacing: -0.02em; }
@media (prefers-reduced-motion: reduce) { .slide.is-active .car-track { animation: none; } }

/* Следующие проекты: 8 карточек */
.nx8 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.nx { background: var(--surface); border-radius: var(--r-l); padding: 24px 26px 22px; display: flex; flex-direction: column; gap: 10px; min-height: 340px; }
.nx h3 { font-size: 30px; letter-spacing: -0.02em; line-height: 1.12; }
.nx-pct { font-size: 20px; color: var(--warn); border: 2px solid var(--warn); border-radius: var(--r-p); padding: 2px 10px; vertical-align: middle; margin-left: 6px; }
.nx p { font-size: 21px; line-height: 1.35; color: var(--text-2); }
.nx .nx-e { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); color: var(--text); }
.nx .nx-e b { display: block; font-size: 17px; color: var(--ok); font-weight: 600; margin-bottom: 2px; }
.nx.star { background: var(--surface-2); box-shadow: inset 0 0 0 3px var(--ok); }
.nx.star h3 { font-size: 32px; }

/* Запрос: штатное расписание слева, модели и машины справа */
.ask6 { display: grid; grid-template-columns: 1.55fr 1fr; gap: 24px; margin-top: 48px; }
.ask6 .ask { grid-template-columns: 56px 1fr; padding: 34px 36px; }
.ask6 .ask .k { font-size: 52px; }
.ask6 .ask h3 { font-size: 36px; }
.ask6-r { display: grid; gap: 24px; align-content: stretch; }
.fte { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.fte p { margin: 0; background: rgb(255 255 255 / .07); border-radius: var(--r-s); padding: 16px 18px; font-size: 20px; line-height: 1.35; color: var(--text-2); }
.fte p b { display: block; font-size: 23px; color: var(--text); margin-bottom: 6px; line-height: 1.2; }
.fte p.float { box-shadow: inset 0 0 0 2px var(--flow); background: transparent; }

/* Финал: четыре цифры */
.final .recap.recap4 { gap: 52px; }
.final .recap.recap4 b { font-size: 60px; }
.eco.no-pct .node .n-lpct { display: none !important; }
