/* Нестандартка · версия с эффектами. Чертёжная «синька»: белые линии на тёмно-синем, оранжевый только как метка. */
:root {
  --bg: #0f2238; --bg2: #15304d; --deep: #0a1727;
  --ink: #eef5ff; --ink2: #a9bfd6; --a: #ffa24a; --aink: #0f2238;
  --rule: rgba(238,245,255,.88); --line: rgba(238,245,255,.22); --line2: rgba(238,245,255,.42);
  --gmin: rgba(238,245,255,.045); --gmaj: rgba(238,245,255,.09);
  --fd: "Golos Text", "Segoe UI", Roboto, Arial, sans-serif;
  --fb: "Golos Text", "Segoe UI", Roboto, Arial, sans-serif;
  --fm: "IBM Plex Mono", Consolas, "DejaVu Sans Mono", monospace;
  --ease: cubic-bezier(.2,.7,.2,1); --ease2: cubic-bezier(.77,0,.18,1);
  --pad: clamp(16px, 4vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--deep); -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lock, html.is-loading { overflow: hidden; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; color: var(--ink); font-family: var(--fb); font-size: 16px; line-height: 1.55; background: var(--bg); overflow-x: clip; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: -120px 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(var(--gmaj) 1px, transparent 1px), linear-gradient(90deg, var(--gmaj) 1px, transparent 1px), linear-gradient(var(--gmin) 1px, transparent 1px), linear-gradient(90deg, var(--gmin) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px; background-position: center var(--gy, 0px); }
main, footer, header { position: relative; z-index: 1; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
::selection { background: var(--a); color: var(--aink); }
:focus-visible { outline: 2px solid var(--a); outline-offset: 3px; }
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: var(--pad); }
.mono { font-family: var(--fm); }

.lab { display: flex; align-items: center; gap: 14px; max-width: 520px; font-family: var(--fm); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink2); }
.lab::after { content: ""; flex: 1; min-width: 24px; height: 9px; border-left: 1px solid var(--line2); border-right: 1px solid var(--line2); background: linear-gradient(var(--line2), var(--line2)) center / 100% 1px no-repeat; transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) .2s; }
.lab.is-in::after, .is-ready .lab--hero::after { transform: none; }
.lead { font-size: 18px; color: var(--ink2); max-width: 62ch; }
.lead b { color: var(--ink); font-weight: 500; }
.h2 { font-family: var(--fd); font-weight: 600; font-size: clamp(28px, 4vw, 46px); line-height: 1.08; letter-spacing: -.015em; text-wrap: balance; }
.quote { border-left: 3px solid var(--a); padding-left: 20px; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.45; max-width: 52ch; }

/* появление */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.sw > span { display: inline-block; transform: translateY(112%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.is-in > .sw > span { transform: none; }
.hero__h1 .sw > span, .is-ready .hero__h1 .sw > span { }

/* кнопки */
.btn { position: relative; display: inline-flex; align-items: center; gap: 12px; font-family: var(--fd); font-weight: 600; font-size: 16px; padding: 13px 22px; border: 1.5px solid var(--rule); text-decoration: none; cursor: pointer; background: transparent; color: var(--ink); overflow: hidden; transition: color .35s, border-color .35s, transform .4s var(--ease); isolation: isolate; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: translateY(101%); transition: transform .45s var(--ease); }
.btn:hover::before { transform: none; } .btn:hover { color: var(--aink); }
.btn.p { background: var(--a); border-color: var(--a); color: var(--aink); }
.btn.p::before { background: var(--ink); }
.btn i { font-style: normal; transition: transform .4s var(--ease); } .btn:hover i { transform: translateX(5px); }
.btn.p { box-shadow: 0 0 0 0 rgba(255,162,74,.5); animation: ping 3.4s ease-in-out infinite; }
@keyframes ping { 0%, 60% { box-shadow: 0 0 0 0 rgba(255,162,74,.5); } 100% { box-shadow: 0 0 0 16px rgba(255,162,74,0); } }

/* прелоадер: чертёжный лист рисуется, затем раздвигается */
.pre { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; pointer-events: none; }
.pre__half { position: absolute; left: 0; right: 0; height: 50.2%; background: var(--deep); transition: transform 1.1s var(--ease2); }
.pre__half--t { top: 0; border-bottom: 1px solid var(--a); } .pre__half--b { bottom: 0; }
.pre.is-open .pre__half--t { transform: translateY(-101%); } .pre.is-open .pre__half--b { transform: translateY(101%); }
.pre__sheet { position: relative; width: min(520px, 86vw); aspect-ratio: 400 / 240; display: grid; transition: opacity .5s, transform .8s var(--ease2); }
.pre.is-open .pre__sheet { opacity: 0; transform: scale(.92); }
.pre__frame { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; stroke: var(--rule); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.pre__frame * { vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.4s var(--ease) forwards; }
.pre__frame .in { stroke: var(--line2); animation-delay: .25s; } .pre__frame .st { animation-delay: .6s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.pre__name { align-self: center; justify-self: center; display: flex; align-items: center; gap: 14px; font-family: var(--fd); font-weight: 700; font-size: clamp(26px, 5.6vw, 40px); letter-spacing: .02em; text-transform: uppercase; opacity: 0; animation: fin .8s ease .5s forwards; }
.pre__name i { width: 18px; height: 18px; background: var(--a); animation: spin 2.4s var(--ease2) infinite; }
@keyframes spin { 0%, 30% { transform: rotate(0); } 70%, 100% { transform: rotate(90deg); } }
@keyframes fin { to { opacity: 1; } }
.pre__meta { position: absolute; left: 4%; right: 4%; top: 6%; display: flex; justify-content: space-between; font-family: var(--fm); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink2); opacity: 0; animation: fin .6s ease .9s forwards; }
.pre__num b { color: var(--a); font-weight: 500; }
.pre__stamp { position: absolute; left: 3%; right: 3%; bottom: 3%; height: 15%; display: grid; grid-template-columns: 30% 1fr 15% 1fr; align-items: center; font-family: var(--fm); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink2); opacity: 0; animation: fin .6s ease 1s forwards; }
.pre__stamp span:nth-child(even) { color: var(--ink); }
.pre__bar { position: absolute; left: 0; right: 0; bottom: -26px; height: 2px; background: var(--line); }
.pre__bar i { display: block; height: 100%; width: 0; background: var(--a); box-shadow: 0 0 12px var(--a); }
html:not(.js) .pre { display: none; }

/* линейка прокрутки */
.ruler { position: fixed; right: 10px; top: 50%; height: min(52vh, 440px); transform: translateY(-50%); width: 18px; z-index: 60; pointer-events: none; opacity: 0; transition: opacity .6s; background: repeating-linear-gradient(to bottom, var(--line2) 0 1px, transparent 1px 12px) right / 8px 100% no-repeat, repeating-linear-gradient(to bottom, var(--rule) 0 1px, transparent 1px 60px) right / 14px 100% no-repeat; }
.is-ready .ruler { opacity: 1; }
.ruler__m { position: absolute; right: -2px; top: 0; width: 18px; height: 2px; background: var(--a); box-shadow: 0 0 10px var(--a); }
.ruler__t { position: absolute; right: 24px; top: 0; transform: translateY(-50%); font-family: var(--fm); font-size: 10px; color: var(--a); }
.ruler__s { position: absolute; right: 24px; bottom: -22px; font-family: var(--fm); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink2); white-space: nowrap; }

/* курсор-перекрестие */
.cur { position: fixed; left: 0; top: 0; z-index: 500; pointer-events: none; display: none; }
@media (hover: hover) and (pointer: fine) {
  .has-cur .cur { display: block; }
  .has-cur, .has-cur a, .has-cur button, .has-cur label, .has-cur .pc-stage { cursor: none; }
}
.cur__h, .cur__v { position: absolute; background: var(--a); transition: opacity .3s; }
.cur__h { width: 26px; height: 1px; left: -13px; top: 0; } .cur__v { width: 1px; height: 26px; left: 0; top: -13px; }
.cur__box { position: absolute; width: 8px; height: 8px; left: -4px; top: -4px; border: 1px solid #fff; background: var(--deep); transition: width .3s var(--ease), height .3s var(--ease), left .3s var(--ease), top .3s var(--ease), background-color .3s, border-color .3s; }
.cur__xy { position: absolute; left: 18px; top: 14px; font-family: var(--fm); font-size: 10px; letter-spacing: .06em; color: var(--ink2); white-space: nowrap; background: rgba(10,23,39,.7); padding: 2px 6px; }
.cur.is-link .cur__box { width: 44px; height: 44px; left: -22px; top: -22px; border-color: var(--a); background: transparent; }
.cur.is-link .cur__h, .cur.is-link .cur__v { opacity: .2; }
.cur.is-drag .cur__box { width: 64px; height: 64px; left: -32px; top: -32px; border-color: var(--a); background: rgba(255,162,74,.15); }

/* шапка */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 70; border-bottom: 1px solid transparent; transition: background-color .4s, border-color .4s, transform .6s var(--ease); }
.top.is-scrolled { background: rgba(10,23,39,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.top.is-hidden { transform: translateY(-101%); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 12px; }
.logo { font-family: var(--fd); font-weight: 700; font-size: 20px; letter-spacing: .02em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo i { width: 13px; height: 13px; background: var(--a); display: inline-block; transition: transform .6s var(--ease); } .logo:hover i { transform: rotate(90deg); }
.top nav { display: flex; gap: clamp(12px, 1.8vw, 24px); font-size: 13px; }
.top nav a { position: relative; text-decoration: none; color: var(--ink2); padding: 6px 0; transition: color .3s; }
.top nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--a); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.top nav a:hover, .top nav a.is-cur { color: var(--ink); } .top nav a:hover::after, .top nav a.is-cur::after { transform: none; transform-origin: left; }
.top .btn { padding: 9px 16px; font-size: 14px; }

/* первый экран */
.hero { position: relative; padding: clamp(110px, 12vw, 150px) 0 clamp(30px, 5vw, 60px); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__glow { position: absolute; width: 60vw; height: 60vw; left: calc(var(--mx, 50%) - 30vw); top: calc(var(--my, 30%) - 30vw); background: radial-gradient(circle, rgba(255,162,74,.14), transparent 62%); transition: left .5s ease-out, top .5s ease-out; }
.hero__in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(24px, 5vw, 64px); align-items: end; }
.hero__main { display: grid; gap: 24px; align-content: start; min-width: 0; }
.hero__h1 { font-family: var(--fd); font-weight: 600; font-size: clamp(32px, 5.6vw, 74px); line-height: 1.04; letter-spacing: -.025em; }
.hero__h1 .sw > span { transform: translateY(112%) skewY(6deg); transition: transform 1.15s var(--ease); transition-delay: calc(var(--i) * 70ms + .1s); }
.is-ready .hero__h1 .sw > span { transform: none; }
.hero__h1 em { font-style: normal; color: var(--a); position: relative; display: inline; }
.hero__h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: 3px; background: var(--a); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) 1.5s; }
.is-ready .hero__h1 em::after { transform: none; }
.hero__cta { display: flex; align-items: center; gap: 18px 24px; flex-wrap: wrap; }
.fmt { font-family: var(--fm); font-size: 12px; color: var(--ink2); }
.rail { display: grid; border-left: 1px solid var(--line2); }
.rail > div { padding: 12px 0 12px 18px; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.rail > div:last-child { border-bottom: 0; }
.rail span { font-family: var(--fm); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink2); }
.rail b { font-family: var(--fm); font-weight: 500; font-size: 13px; line-height: 1.45; text-transform: uppercase; }
.rail > div:first-child b, .rail > div:nth-child(2) b { font-size: 22px; color: var(--a); }

.plate { margin-top: clamp(36px, 6vw, 72px); border: 1.5px solid var(--rule); outline: 1px solid var(--line2); outline-offset: 6px; background: rgba(10,23,39,.5); }
.plate__cap { display: flex; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; font-family: var(--fm); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink2); padding: 10px 16px; border-bottom: 1px solid var(--rule); }
.plate__stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--deep); --pos: 100%; }
.plate__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.plate__t { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.plate__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--a); box-shadow: 0 0 18px var(--a); transform: translateX(-1px); }
.plate__tag { position: absolute; bottom: 12px; font-family: var(--fm); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; background: var(--deep); border: 1px solid var(--line2); } .plate__tag.l { left: 12px; } .plate__tag.r { right: 12px; }

/* бегущая лента */
.band { margin-block: clamp(30px, 5vw, 56px) 0; border-block: 1px solid var(--rule); overflow: hidden; background: var(--deep); padding-block: 16px; }
.band__track { display: flex; width: max-content; will-change: transform; font-family: var(--fm); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.band__track span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; color: var(--ink2); }
.band__track span::after { content: ""; width: 7px; height: 7px; background: var(--a); transform: rotate(45deg); }

/* секции */
.sec { padding-block: clamp(70px, 10vw, 130px); border-top: 1px solid var(--line); position: relative; }
.sec--full { background: rgba(10,23,39,.55); border-top: 1.5px solid var(--rule); }
.sec--tight { padding-block: clamp(30px, 5vw, 56px); border-top: 0; }
.head { display: grid; gap: 14px; align-content: start; }
.head .lead { margin-top: 6px; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
.sec:not(.split) > .wrap > .head { margin-bottom: clamp(30px, 5vw, 52px); }
.body { display: grid; gap: 20px; }

/* карусель */
.pc { display: grid; gap: 14px; margin-top: clamp(26px, 4vw, 44px); }
.pc-stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--deep); border: 1.5px solid var(--rule); outline: 1px solid var(--line2); outline-offset: 6px; --pos: 50%; touch-action: pan-y; user-select: none; }
.pc-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s ease; -webkit-user-drag: none; }
.pc-stage img.sw-out { opacity: 0; }
.pc-stage .t { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.pc-logo { position: absolute; z-index: 2; aspect-ratio: 3 / 1; display: grid; place-items: center; font-family: var(--fm); font-size: clamp(7px, 1.1vw, 12px); letter-spacing: .1em; text-transform: uppercase; color: rgba(238,245,255,.8); border: 1px dashed rgba(238,245,255,.55); background: rgba(10,23,39,.35); text-align: center; line-height: 1.1; pointer-events: none; }
.pc-logo[hidden] { display: none; }
.pc-handle { position: absolute; z-index: 3; top: 0; bottom: 0; left: var(--pos); width: 44px; transform: translateX(-50%); cursor: ew-resize; display: grid; place-items: center; touch-action: none; }
.pc-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--a); transform: translateX(-1px); box-shadow: 0 0 16px rgba(255,162,74,.7); }
.pc-handle i { position: relative; width: 38px; height: 38px; background: var(--a); color: var(--aink); display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 14px; letter-spacing: -2px; transition: transform .3s var(--ease); }
.pc-handle i::before { content: "‹›"; }
.pc-handle:hover i, .pc-handle:focus-visible i { transform: scale(1.14) rotate(90deg); }
.pc-cap { display: flex; justify-content: space-between; font-family: var(--fm); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink2); }
.pc-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.pc-title { display: grid; gap: 2px; } .pc-title b { font-family: var(--fd); font-weight: 600; font-size: clamp(20px, 2.4vw, 28px); } .pc-title span { font-family: var(--fm); font-size: 12px; color: var(--ink2); letter-spacing: .06em; text-transform: uppercase; }
.pc-row { display: flex; gap: 8px; flex-wrap: wrap; }
.pc-btn { font: inherit; font-family: var(--fd); font-weight: 600; font-size: 14px; padding: 9px 16px; border: 1.5px solid var(--rule); background: transparent; color: var(--ink); cursor: pointer; transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.pc-btn:hover { background: rgba(238,245,255,.12); transform: translateY(-2px); }
.pc-btn[aria-pressed="true"] { background: var(--ink); color: var(--aink); border-color: var(--ink); }
.pc-btn[aria-pressed="true"][data-dim] { background: var(--a); border-color: var(--a); }
.pc-bar .pc-btn { width: 48px; padding-inline: 0; font-size: 18px; }
.pc-thumbs { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 8px; }
.pc-thumb { aspect-ratio: 16 / 9; border: 1px solid var(--line2); padding: 0; background: var(--deep); cursor: pointer; opacity: .5; transition: opacity .3s, transform .4s var(--ease), border-color .3s; overflow: hidden; position: relative; }
.pc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pc-thumb:hover { opacity: .9; transform: translateY(-3px); }
.pc-thumb[aria-current="true"] { opacity: 1; border-color: var(--a); }
.pc-thumb[aria-current="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--a); }

/* тезисы */
.thes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1.5px solid var(--rule); }
.thes > div { padding: 20px 20px 4px 0; display: grid; gap: 6px; align-content: start; position: relative; }
.thes > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.thes i { font-family: var(--fm); font-style: normal; font-size: 12px; color: var(--a); }
.thes b { font-family: var(--fd); font-weight: 600; font-size: 17px; }
.thes span { font-size: 14px; color: var(--ink2); }

/* что производим */
.cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1.5px solid var(--rule); }
.cat { position: relative; padding: 26px 24px 30px; border-bottom: 1px solid var(--line); display: grid; gap: 10px; align-content: start; overflow: hidden; transition: background-color .4s; }
.cat:nth-child(odd) { border-right: 1px solid var(--line); }
.cat::before { content: ""; position: absolute; inset: 0; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255,162,74,.16), transparent 70%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.cat:hover::before { opacity: 1; } .cat:hover { background: rgba(21,48,77,.55); }
.cat__n { font-family: var(--fm); font-size: 12px; color: var(--a); }
.cat h3 { font-family: var(--fd); font-weight: 600; font-size: 20px; line-height: 1.2; }
.cat p { font-size: 14.5px; color: var(--ink2); }
.cm { position: absolute; width: 12px; height: 12px; border: 0 solid var(--a); opacity: 0; transition: opacity .3s, transform .4s var(--ease); }
.cm.tl { left: 8px; top: 8px; border-width: 1.5px 0 0 1.5px; transform: translate(6px, 6px); } .cm.tr { right: 8px; top: 8px; border-width: 1.5px 1.5px 0 0; transform: translate(-6px, 6px); }
.cm.bl { left: 8px; bottom: 8px; border-width: 0 0 1.5px 1.5px; transform: translate(6px, -6px); } .cm.br { right: 8px; bottom: 8px; border-width: 0 1.5px 1.5px 0; transform: translate(-6px, -6px); }
.cat:hover .cm { opacity: 1; transform: none; }

/* метки и списки */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { font-family: var(--fm); font-size: 12.5px; padding: 7px 12px; border: 1px solid var(--line2); transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.chips span:hover { background: var(--a); color: var(--aink); border-color: var(--a); transform: translateY(-3px); }
.list { border-top: 1.5px solid var(--rule); }
.list li { padding: 15px 0 15px 28px; border-bottom: 1px solid var(--line); position: relative; font-size: 16.5px; }
.list li::before { content: "—"; position: absolute; left: 0; color: var(--a); transition: transform .4s var(--ease); } .list li:hover::before { transform: translateX(6px); }

.risks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; border-top: 1.5px solid var(--rule); }
.risk { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.risk__p { font-family: var(--fd); font-weight: 600; font-size: 16.5px; line-height: 1.3; }
.risk__s { font-size: 14px; color: var(--ink2); padding-left: 20px; position: relative; }
.risk__s::before { content: "→"; position: absolute; left: 0; color: var(--a); }

/* шаги */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 24px; position: relative; counter-reset: s; }
.steps li { padding: 20px 0 26px; border-top: 1.5px solid var(--line2); position: relative; display: grid; gap: 6px; align-content: start; }
.steps li::before { content: ""; position: absolute; left: 0; top: -1.5px; height: 1.5px; width: 100%; background: var(--a); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) .2s; }
.steps li.is-in::before { transform: none; }
.steps__n { font-family: var(--fm); font-style: normal; font-size: 12px; color: var(--ink2); transition: color .4s .5s; } .steps li.is-in .steps__n { color: var(--a); }
.steps b { font-family: var(--fd); font-weight: 600; font-size: 17px; }
.steps span:not(.steps__n) { font-size: 14px; color: var(--ink2); }

/* таблица возможностей */
.capwrap { overflow-x: auto; border-top: 1.5px solid var(--rule); border-bottom: 1.5px solid var(--rule); }
.cap { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.cap th, .cap td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; transition: background-color .3s; }
.cap th { font-family: var(--fm); font-weight: 500; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--a); width: 24%; border-right: 1px solid var(--line); }
.cap tr:last-child td { border-bottom: 0; }
.cap td.val { font-family: var(--fm); font-size: 13.5px; white-space: nowrap; text-align: right; }
.cap tbody tr:hover td { background: rgba(21,48,77,.6); }
.note { margin-top: 22px; font-family: var(--fm); font-size: 13px; color: var(--ink2); max-width: 70ch; }

.fit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 5vw, 64px); }
.fit > div { display: grid; gap: 16px; align-content: start; }
.fit li { padding: 13px 0 13px 28px; border-top: 1px solid var(--line); position: relative; }
.fit li::before { content: "+"; position: absolute; left: 0; color: var(--a); font-family: var(--fm); }
.fit .no li::before { content: "×"; color: var(--ink2); } .fit .no li { color: var(--ink2); }

/* форма */
.cta { padding-block: clamp(70px, 10vw, 130px); border-top: 1.5px solid var(--rule); background: linear-gradient(180deg, rgba(10,23,39,.4), var(--deep)); }
.cta__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
.cta__txt { display: grid; gap: 16px; align-content: start; }
.cta__txt li { padding: 10px 0 10px 28px; border-top: 1px solid var(--line); position: relative; } .cta__txt li::before { content: "→"; position: absolute; left: 0; color: var(--a); }
form { display: grid; gap: 14px; border: 1.5px solid var(--rule); padding: clamp(18px, 3vw, 30px); background: rgba(10,23,39,.65); outline: 1px solid var(--line2); outline-offset: 6px; }
label { display: grid; gap: 6px; font-family: var(--fm); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink2); }
input:not([type=file]), textarea { font: inherit; font-family: var(--fb); font-size: 16px; text-transform: none; letter-spacing: 0; color: var(--ink); background: transparent; border: 0; border-bottom: 1.5px solid var(--line2); padding: 10px 0; outline: none; transition: border-color .3s, box-shadow .3s; }
input:focus, textarea:focus { border-bottom-color: var(--a); box-shadow: 0 1px 0 var(--a); }
textarea { min-height: 84px; resize: vertical; }
.drop { border: 1.5px dashed var(--line2); padding: 26px 16px; text-align: center; cursor: pointer; transition: border-color .3s, background-color .3s; gap: 4px; }
.drop span { font-family: var(--fd); font-size: 16px; text-transform: none; letter-spacing: 0; color: var(--ink); } .drop small { font-size: 12px; }
.drop:hover, .drop.is-over { border-color: var(--a); background: rgba(255,162,74,.07); }
.drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
form .btn { justify-self: start; }
#formMsg { font-family: var(--fm); font-size: 12px; color: var(--a); min-height: 1em; }
.small { font-size: 12.5px; color: var(--ink2); }

/* подвал */
.foot { background: var(--deep); border-top: 1.5px solid var(--rule); overflow: hidden; padding-top: clamp(30px, 5vw, 60px); }
.foot__word { font-family: var(--fd); font-weight: 700; font-size: clamp(34px, 11.6vw, 170px); line-height: .9; letter-spacing: -.02em; white-space: nowrap; text-align: center; color: transparent; -webkit-text-stroke: 1.2px rgba(238,245,255,.28); user-select: none; transition: -webkit-text-stroke-color .6s; }
.foot__in { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-block: 26px calc(26px + env(safe-area-inset-bottom)); font-size: 14px; color: var(--ink2); }
.foot__in b { color: var(--ink); } .foot__in a { text-decoration: none; transition: color .3s; } .foot__in a:hover { color: var(--a); }

@media (max-width: 960px) {
  .hero__in, .split, .cta__in { grid-template-columns: 1fr; }
  .rail { grid-template-columns: 1fr 1fr; border-left: 0; border-top: 1px solid var(--line2); }
  .rail > div { padding: 12px 12px 12px 0; }
  .thes, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .thes > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .top nav { display: none; }
  .pc-thumbs { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .ruler { display: none; }
}
@media (max-width: 640px) {
  .cats, .risks, .fit { grid-template-columns: 1fr; }
  .cat:nth-child(odd) { border-right: 0; }
  .rail { grid-template-columns: 1fr; }
  .pc-bar { align-items: flex-start; }
  .pc-btn { font-size: 13px; padding: 8px 12px; }
  .pc-stage, .plate { outline-offset: 4px; }
  .plate__stage { aspect-ratio: 4 / 3; }
  .pc-stage { aspect-ratio: 4 / 3; }
  .thes > div, .thes > div + div { padding-left: 0; border-left: 0; }
  .thes { grid-template-columns: 1fr; }
  .thes > div { border-bottom: 1px solid var(--line); padding-bottom: 14px; }
  .steps { grid-template-columns: 1fr; }
  .top .btn { padding: 8px 12px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; } .sw > span, .hero__h1 .ln > span { transform: none; }
  .pre { display: none; }
}

/* правка Степана (31.10): первый экран и блоки «Для производителей», «Доверие», «Сложные задачи» — в одно окно */
.hero { padding-top: clamp(84px, min(12vw, 15vh), 150px); }
.hero__h1 { font-size: clamp(28px, min(5.6vw, 7.2vh), 74px); }
.hero__main { gap: clamp(10px, 2.2vh, 24px); }
.hero__lead { font-size: clamp(15px, 2.4vh, 18px); }
.rail > div { padding-block: clamp(6px, 1.4vh, 12px); }
#oem, #trust, #risk { padding-block: clamp(28px, 6vh, 90px); }
#oem .h2, #trust .h2, #risk .h2 { font-size: clamp(22px, min(3.4vw, 5vh), 40px); }
#oem .quote, #trust .quote { font-size: clamp(15px, min(1.8vw, 2.6vh), 22px); }
#oem .lead, #risk .lead { font-size: clamp(15px, 2.3vh, 18px); }
#trust .list li { padding-block: clamp(8px, 1.6vh, 15px); }
#risk .risk { padding-block: clamp(10px, 1.8vh, 18px); }
@media (max-width: 860px) { .hero__h1 { font-size: clamp(28px, 8vw, 44px); } }

/* фото из цеха */
.pc-stage.is-photo .t, .pc-stage.is-photo .pc-handle { display: none; }
.pc-stage.is-photo { cursor: pointer; }
.has-cur .pc-stage.is-photo { cursor: none; }
.pc-phc { font-size: 14px; color: var(--ink2); max-width: 78ch; padding-left: 20px; position: relative; margin-top: -4px; }
.pc-phc::before { content: "→"; position: absolute; left: 0; color: var(--a); }
.pc-phc[hidden] { display: none; }
.ph { position: relative; overflow: hidden; border: 1px solid var(--line2); background: var(--deep); margin: 0; }
.ph img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.88) contrast(1.03); transition: transform 1.4s var(--ease), filter .6s; }
.ph:hover img { transform: scale(1.04); filter: none; }
.ph figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 14px 11px; font-family: var(--fm); font-size: 12px; line-height: 1.4; color: var(--ink); background: linear-gradient(transparent, rgba(10,23,39,.94)); }
.ph figcaption b { display: block; font-weight: 500; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--a); margin-bottom: 2px; }
.shots { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(3, 1fr); gap: 12px; aspect-ratio: 16 / 8.4; margin-top: clamp(30px, 5vw, 52px); }
.shots .ph:first-child { grid-row: 1 / span 3; }
.shots .ph:first-child figcaption { font-size: 13px; padding: 48px 20px 16px; }
.strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: clamp(34px, 5vw, 60px); }
.shot { display: grid; gap: 12px; align-content: start; margin: 0; }
.shot .ph { aspect-ratio: 4 / 3; }
.shot figcaption { display: grid; gap: 3px; font-size: 14px; color: var(--ink2); }
.shot figcaption i { font-style: normal; font-family: var(--fm); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--a); }
.shot figcaption b { font-family: var(--fd); font-weight: 600; font-size: 16px; color: var(--ink); }
.case { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(26px, 5vw, 64px); padding-top: clamp(30px, 4vw, 48px); border-top: 1.5px solid var(--rule); align-items: start; }
.case__t { display: grid; gap: 16px; }
.case__t h3 { font-family: var(--fd); font-weight: 600; font-size: clamp(24px, 3vw, 34px); line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; }
.case__t p { color: var(--ink2); max-width: 54ch; }
.case__p { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.case__p .ph { aspect-ratio: 3 / 4; }
@media (max-width: 860px) {
  .case { grid-template-columns: 1fr; }
  .strip { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .shots { display: grid; grid-template-columns: 1fr; grid-template-rows: none; aspect-ratio: auto; }
  .shots .ph, .shots .ph:first-child { grid-row: auto; aspect-ratio: 4 / 3; }
}

.case__p .ph:last-child img { object-position: 50% 85%; }

/* Everest brand */
.brand { display: inline-flex; align-items: center; margin-left: clamp(10px, 1.6vw, 22px); padding-left: clamp(10px, 1.6vw, 22px); border-left: 1px solid var(--line2); }
.brand img { display: block; height: 30px; width: auto; }
.top .btn { white-space: nowrap; }
.top nav a { white-space: nowrap; }
.pc-logo.own { aspect-ratio: auto; border: 0; background: none; display: block; }
.pc-logo.own img { display: block; width: 100%; height: auto; filter: drop-shadow(0 1px 2px rgba(0,0,0,.45)); }
.foot__brand { display: inline-flex; align-items: center; gap: 14px 18px; flex-wrap: wrap; }
.foot__brand img { display: block; height: 34px; width: auto; }
@media (max-width: 760px) { .brand img { height: 26px; } }
.top__l { display: flex; align-items: center; min-width: 0; }
@media (max-width: 560px) { .brand { display: none; } }

.brand { flex: none; } .brand img { width: auto; max-width: none; }

.top__l { flex: none; margin-right: clamp(8px, 1.6vw, 24px); } .brand img { height: 26px; }
@media (max-width: 1180px) and (min-width: 561px) { .brand { display: none; } }

.hero__in { position: relative; }
.hero__brand { position: absolute; top: clamp(4px, 1.2vw, 20px); right: var(--pad); width: clamp(190px, 21vw, 300px); display: block; }
.hero__brand img { display: block; width: 100%; height: auto; }
@media (max-width: 860px) { .hero__brand { position: static; width: 190px; margin-bottom: 4px; grid-column: 1 / -1; } }

/* v9: логотип только на стреле, счётчик фото поверх снимка */
.pc-logo[hidden]{display:none!important}
.pc-cnt{position:absolute;right:14px;bottom:14px;z-index:5;padding:8px 12px;background:rgba(10,23,39,.82);border:1px solid rgba(190,225,250,.35);color:#e8f3ff;font:500 12px/1.2 var(--fm);letter-spacing:.08em;text-transform:uppercase;pointer-events:none}
.pc-cnt[hidden]{display:none}
.pc-views[hidden]{display:none}
.pc-logo.own{z-index:auto}
.pc-logo.own img{position:static;inset:auto;height:auto;object-fit:contain}

/* стержневой загрузчик */
.case--rev { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.case--rev .case__t { order: 2; }
.case--rev .case__p { order: 1; }
.case__p--land { grid-template-columns: 1fr; }
.case__p--land .ph { aspect-ratio: 16 / 10; }
@media (max-width: 860px) { .case--rev .case__t, .case--rev .case__p { order: initial; } .case--rev { grid-template-columns: 1fr; } }
