/* Токены — тёмная палитра кита Северстали (severstal-design.md, п.4). Исключения — в DESIGN.md. */
@font-face { font-family: 'Grtsk Peta'; src: url('fonts/grtsk-400.woff2') format('woff2'); font-weight: 400; font-display: block; }
@font-face { font-family: 'Grtsk Peta'; src: url('fonts/grtsk-600.woff2') format('woff2'); font-weight: 600; font-display: block; }

:root {
  --bg: #001E46;          /* ночная */
  --surface: #002F6C;     /* структура, поверхность светлее фона */
  --surface-2: #0041A0;   /* активное */
  --line: #5B6E86;
  --text: #F1F6FC;
  --text-2: #99A5B5;
  --flow: #83A8E3;        /* серия на тёмном */
  --accent: #FF0000;
  --ok: #4FBA77; --warn: #E7A804; --plan: #99A5B5; --bad: #FA4221;

  --fs-s: 22px; --fs-b: 28px; --fs-l: 38px; --fs-t: 60px; --fs-d: 104px; --fs-x: 200px;
  --r-s: 12px; --r-l: 20px; --r-p: 999px;
  --shadow: 0 24px 60px -24px rgb(0 0 0 / .55);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --dur-fast: 200ms; --dur: 320ms; --dur-drawer: 480ms; --dur-enter: 600ms; --dur-draw: 1600ms;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: #000c1e; overflow: hidden; }
body { font-family: 'Grtsk Peta', 'Segoe UI', sans-serif; color: var(--text); -webkit-font-smoothing: antialiased; }
button, input { font-family: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2 { font-weight: 600; letter-spacing: -0.025em; text-wrap: balance; line-height: 1.04; }

/* ---------- сцена 16:9 ---------- */
.stage { position: absolute; left: 50%; top: 50%; width: 1920px; height: 1080px; transform-origin: 50% 50%; background: var(--bg); overflow: hidden; }
.slide { position: absolute; inset: 0; padding: 96px 120px 120px; visibility: hidden; opacity: 0; transition: opacity var(--dur-enter) var(--ease-out), visibility 0s linear var(--dur-enter); }
.slide.is-active { visibility: visible; opacity: 1; transition: opacity var(--dur-enter) var(--ease-out); z-index: 1; }

.foot { position: absolute; left: 120px; right: 120px; bottom: 44px; display: flex; justify-content: space-between; font-size: var(--fs-s); color: var(--text-2); z-index: 3; pointer-events: none; }
.progress { position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--surface-2); transform-origin: 0 50%; transform: scaleX(0); transition: transform var(--dur) var(--ease-io); z-index: 3; }

/* типографика слайда */
.t-title { font-size: var(--fs-t); max-width: 1500px; }
.t-sub { font-size: var(--fs-l); color: var(--text-2); margin-top: 24px; max-width: 1400px; line-height: 1.25; text-wrap: pretty; }
.t-body { font-size: var(--fs-b); line-height: 1.4; text-wrap: pretty; }
.muted { color: var(--text-2); }
.red { color: var(--accent); }
.mark { display: inline-block; font-size: var(--fs-s); color: var(--warn); border: 1px dashed var(--warn); border-radius: var(--r-s); padding: 6px 12px; }

/* появление при входе на слайд: базово видно, анимация только украшает */
.slide.is-active [data-in] { animation: rise var(--dur-enter) var(--ease-out) both; animation-delay: calc(var(--i, 0) * 90ms + 120ms); }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* шаги внутри слайда */
[data-f] { opacity: 0; transform: translateY(20px); transition: opacity var(--dur-enter) var(--ease-out), transform var(--dur-enter) var(--ease-out); }
[data-f].is-shown { opacity: 1; transform: none; }
.fade[data-f] { transform: none; }

/* рисующиеся линии */
.slide.is-active .draw-line { stroke-dasharray: 1; animation: draw var(--dur-draw) var(--ease-out) both; animation-delay: var(--dd, 300ms); }
[data-f].is-shown .draw-line, .draw-line[data-f].is-shown { stroke-dasharray: 1; animation: draw var(--dur-draw) var(--ease-out) both; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

.card { background: var(--surface); border-radius: var(--r-l); padding: 36px 40px; }
.shot { border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.shot img, .shot video { display: block; width: 100%; height: auto; }

/* ---------- 1. титул ---------- */
.s-title { padding: 0; }
.s-title .photo { position: absolute; inset: 0 0 0 38%; background: url('screens/pechi-photo.jpg') center/cover; }
.s-title .photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, rgb(0 30 70 / .55) 38%, rgb(0 30 70 / 0) 100%); }
.s-title .txt { position: absolute; left: 120px; top: 300px; width: 1100px; }
.s-title h1 { font-size: 132px; }
.s-title .dates { margin-top: 40px; font-size: var(--fs-l); color: var(--text-2); }
.s-title .who { position: absolute; left: 120px; bottom: 110px; font-size: var(--fs-b); color: var(--text-2); }
.s-title .slab-line { width: 120px; height: 6px; background: var(--accent); border-radius: 3px; margin-bottom: 40px; }

/* ---------- 2. эффект ---------- */
.effect { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; margin-top: 64px; align-items: stretch; }
.big-num { font-size: var(--fs-x); font-weight: 600; letter-spacing: -0.05em; line-height: .9; font-variant-numeric: tabular-nums; }
.big-num small { font-size: 64px; letter-spacing: -0.02em; margin-left: 12px; }
.split { display: flex; height: 64px; border-radius: var(--r-s); overflow: hidden; margin-top: 48px; gap: 4px; }
.split > div { display: flex; align-items: center; padding: 0 20px; font-size: var(--fs-s); transform-origin: 0 50%; }
.split .a { flex: 1; background: var(--surface-2); }
.split .b { flex: 2; background: var(--flow); color: var(--bg); font-weight: 600; }
.slide.is-active .split > div { animation: grow 900ms var(--ease-out) both; animation-delay: 900ms; }
.slide.is-active .split .b { animation-delay: 1050ms; }
@keyframes grow { from { transform: scaleX(0); } to { transform: none; } }
.kpis { display: grid; gap: 20px; }
.kpi { background: var(--surface); border-radius: var(--r-l); padding: 28px 36px; display: grid; grid-template-columns: 300px 1fr; align-items: center; gap: 24px; }
.kpi .v { font-size: 76px; font-weight: 600; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kpi .v small { font-size: 34px; margin-left: 6px; letter-spacing: 0; }
.kpi .l { font-size: var(--fs-b); line-height: 1.3; color: var(--text-2); }

/* ---------- 3. как было ---------- */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; margin-top: 64px; }
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.list li { font-size: var(--fs-b); line-height: 1.35; padding-left: 40px; position: relative; text-wrap: pretty; }
.list li::before { content: ''; position: absolute; left: 0; top: 14px; width: 16px; height: 16px; border-radius: 50%; background: var(--flow); }
.furn { display: grid; gap: 28px; }
.furn-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.furn-box { height: 150px; border-radius: var(--r-l); background: var(--surface); display: grid; place-items: center; font-size: var(--fs-s); color: var(--text-2); position: relative; }
.furn-box.ok::after { content: ''; position: absolute; right: 16px; top: 16px; width: 18px; height: 18px; border-radius: 50%; background: var(--ok); }
.furn-meth { height: 170px; border-radius: var(--r-l); border: 2px dashed var(--bad); display: flex; align-items: center; justify-content: space-between; padding: 0 40px; font-size: var(--fs-b); }
.furn-meth b { color: var(--bad); font-weight: 600; }
.cap { font-size: var(--fs-s); color: var(--text-2); }

/* ---------- 4. двери ---------- */
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 72px; }
.door { background: var(--surface); border-radius: var(--r-l); padding: 40px; min-height: 420px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.door .n { font-size: var(--fs-s); color: var(--text-2); }
.door h3 { font-size: 48px; font-weight: 600; margin-top: 16px; letter-spacing: -0.02em; }
.door p { font-size: var(--fs-b); line-height: 1.35; margin-top: auto; color: var(--text-2); }
.door q { font-size: var(--fs-l); line-height: 1.2; margin-top: 32px; quotes: '«' '»'; }
.door .stamp { position: absolute; right: 32px; top: 32px; width: 64px; height: 64px; border-radius: 50%; border: 3px solid var(--bad); display: grid; place-items: center; }
.door .stamp svg { width: 30px; height: 30px; stroke: var(--bad); stroke-width: 3.5; }
.door.is-shown .stamp { animation: stamp 420ms var(--ease-out) both; animation-delay: 380ms; }
@keyframes stamp { from { opacity: 0; transform: scale(1.4); } to { opacity: 1; transform: none; } }
.decision { margin-top: 56px; font-size: 64px; font-weight: 600; letter-spacing: -0.03em; }

/* ---------- 5. сделали сами ---------- */
.merge { position: relative; margin-top: 48px; height: 620px; }
.merge .srcs { position: absolute; left: 0; top: 40px; display: grid; gap: 20px; width: 260px; }
.merge .src { background: var(--surface); border-radius: var(--r-s); padding: 18px 24px; font-size: var(--fs-b); font-weight: 600; }
.merge svg { position: absolute; left: 260px; top: 0; width: 360px; height: 560px; overflow: visible; }
.merge svg path { fill: none; stroke: var(--flow); stroke-width: 3; }
.merge .shot { position: absolute; left: 620px; top: 70px; width: 1060px; }
.merge .stats { position: absolute; left: 620px; top: 440px; display: flex; gap: 48px; }
.merge .stats div { font-size: var(--fs-s); color: var(--text-2); max-width: 300px; line-height: 1.3; }
.merge .stats b { display: block; font-size: 56px; color: var(--text); letter-spacing: -0.03em; font-weight: 600; margin-bottom: 8px; }

/* ---------- 6. было / стало ---------- */
.ba { display: grid; grid-template-columns: 1180px 1fr; gap: 56px; margin-top: 40px; }
.ba-shots { display: grid; gap: 24px; }
.ba-shot { position: relative; }
.ba-tag { position: absolute; left: 16px; top: 16px; z-index: 2; background: var(--bg); border-radius: var(--r-p); padding: 10px 22px; font-size: var(--fs-s); font-weight: 600; display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow); }
.ba-tag i { width: 14px; height: 14px; border-radius: 50%; }
.cal { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 48px; align-items: start; }
.cal .shot { padding: 16px; }
.cal .cap { margin-top: 16px; }

/* ---------- 7. КП ---------- */
.kp { display: grid; grid-template-columns: 1fr 520px; gap: 64px; margin-top: 64px; }
.kp-flow { display: grid; gap: 28px; }
.kp-row { display: grid; grid-template-columns: 1fr 64px 1fr 64px 1fr; align-items: center; }
.kp-row .c { background: var(--surface); border-radius: var(--r-l); padding: 28px; font-size: var(--fs-b); line-height: 1.25; min-height: 132px; display: flex; align-items: center; }
.kp-row .c b { font-size: 48px; letter-spacing: -0.03em; display: block; }
.kp-row .c.good { box-shadow: inset 0 0 0 2px var(--ok); }
.kp-row .c.bad { box-shadow: inset 0 0 0 2px var(--bad); }
.kp-row svg { width: 64px; height: 24px; stroke: var(--text-2); stroke-width: 3; fill: none; }
.who-uses { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 12px; }
.chip-l { background: var(--surface); border-radius: var(--r-p); padding: 12px 24px; font-size: var(--fs-s); }
.deadline { margin-top: 36px; font-size: var(--fs-b); display: flex; gap: 20px; align-items: center; }
.deadline b { font-size: var(--fs-l); }
.ph { border: 2px dashed var(--line); border-radius: var(--r-l); display: grid; place-items: center; text-align: center; padding: 32px; color: var(--text-2); font-size: var(--fs-s); line-height: 1.4; }

/* ---------- 8. вывод и Миронов ---------- */
.theses { display: grid; gap: 28px; }
.thesis { font-size: 58px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; display: flex; gap: 28px; align-items: baseline; }
.thesis span { font-size: var(--fs-l); color: var(--text-2); font-weight: 400; min-width: 40px; }
.steps { position: relative; display: grid; gap: 22px; padding-left: 48px; }
.steps::before { content: ''; position: absolute; left: 11px; top: 16px; bottom: 16px; width: 2px; background: var(--line); }
.step { position: relative; font-size: var(--fs-b); line-height: 1.3; background: var(--surface); border-radius: var(--r-l); padding: 24px 28px; }
.step::before { content: ''; position: absolute; left: -46px; top: 30px; width: 20px; height: 20px; border-radius: 50%; background: var(--flow); box-shadow: 0 0 0 6px var(--bg); }
.step b { display: block; font-size: var(--fs-l); letter-spacing: -0.02em; }
.step.top5 { background: var(--surface-2); }

/* ---------- 9. портал ---------- */
.portal { display: grid; grid-template-columns: 640px 1fr; gap: 80px; margin-top: 80px; align-items: center; }
.date-big { font-size: 220px; font-weight: 600; letter-spacing: -0.06em; line-height: .85; }
.date-big small { display: block; font-size: var(--fs-l); letter-spacing: 0; color: var(--text-2); margin-top: 28px; font-weight: 400; }
.portal .card h3 { font-size: 48px; letter-spacing: -0.02em; font-weight: 600; }
.portal .card p { font-size: var(--fs-b); color: var(--text-2); margin-top: 16px; line-height: 1.35; }
.portal .card + .card { margin-top: 28px; }

/* ---------- 10. экосистема ---------- */
.s-eco { padding: 64px 80px 0; }
.s-eco .head { display: flex; align-items: baseline; gap: 32px; }
.s-eco .head h2 { font-size: 56px; }
.s-eco .head p { font-size: var(--fs-b); color: var(--text-2); }
.s-eco .eco-host { position: absolute; left: 80px; top: 150px; width: 1760px; height: 900px; }

.eco { --i: 0; }
.eco-bar { position: absolute; right: 0; top: -84px; display: flex; gap: 16px; z-index: 4; }
.eco-seg { display: flex; background: var(--surface); border-radius: var(--r-p); padding: 4px; }
.eco-seg button { border: 0; background: transparent; border-radius: var(--r-p); padding: 10px 18px; font-size: 19px; color: var(--text-2); cursor: pointer; display: flex; gap: 8px; align-items: center; transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease; }
.eco-seg button[aria-pressed="true"] { background: var(--surface-2); color: var(--text); }
.eco-seg kbd { font: inherit; font-size: 15px; border: 1px solid var(--line); border-radius: 6px; padding: 0 6px; }
.eco-canvas { position: absolute; left: 0; top: 0; width: 1760px; height: 840px; }
.eco-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.eco-nodes { position: absolute; inset: 0; }

.edge { fill: none; stroke-linecap: round; }
.edge-flow { stroke: var(--flow); stroke-width: 3; }
.edge-loop { stroke-width: 10; stroke: var(--surface-2); }
.eco[data-variant="B"] .edge-loop { stroke-width: 6; }
.edge-goal { stroke: var(--text-2); stroke-width: 2; stroke-dasharray: 2 8; opacity: .8; }
.edge-input { stroke: var(--line); stroke-width: 2; }
.edge-label { fill: var(--text-2); font-size: 18px; text-anchor: middle; }
.dot { fill: var(--text); }
.eco.is-playing .edge.draw:not(.edge-goal) { stroke-dasharray: 1; animation: draw var(--dur-draw) var(--ease-out) both; animation-delay: 500ms; }
.eco.is-playing .edge-goal { animation: fadein 900ms var(--ease-out) both; animation-delay: 1400ms; }
@keyframes fadein { from { opacity: 0; } }
.eco:not(.l1) .g-edges, .eco:not(.l1) .g-dots { opacity: .12; }
.g-edges, .g-dots { transition: opacity var(--dur) var(--ease-out); }

.orbit-outer { fill: none; stroke: var(--line); stroke-width: 1.5; stroke-dasharray: 3 10; }
.band { fill: var(--surface); opacity: .35; }
.band-b { opacity: .18; }
.band-label { fill: var(--text-2); font-size: 20px; font-weight: 600; }
.prod-line { stroke: var(--line); stroke-width: 14; stroke-linecap: round; }
.prod-branch { stroke: var(--flow); stroke-width: 3; stroke-dasharray: 4 8; }
.prod-brace { stroke: var(--flow); stroke-width: 3; }
.prod-note { fill: var(--flow); font-size: 20px; text-anchor: middle; }
.prod-st { fill: var(--bg); stroke: var(--text-2); stroke-width: 4; }
.prod-label { fill: var(--text-2); font-size: 19px; text-anchor: middle; }

/* блоки */
.node { position: absolute; border: 0; text-align: left; cursor: pointer; padding: 18px 22px; background: var(--surface); border-radius: var(--r-l); display: flex; flex-direction: column; justify-content: center; transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur-fast) ease; }
.eco.is-playing .node { animation: rise var(--dur-enter) var(--ease-out) both; animation-delay: calc(var(--i) * 70ms); }
.node:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .node:hover { background: var(--surface-2); } }
.node:focus-visible { outline: 3px solid var(--flow); outline-offset: 4px; }
.n-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.n-title { font-size: 26px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.1; }
.n-sub { font-size: 19px; color: var(--text-2); line-height: 1.2; }
.node.is-flagship { box-shadow: inset 0 0 0 2px var(--flow); }
.shape-circle { border-radius: 50%; align-items: center; text-align: center; background: var(--surface-2); padding: 20px; }
.shape-circle .n-title { font-size: 30px; }
.shape-base { background: transparent; box-shadow: inset 0 0 0 2px var(--flow); }
.n-items { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.n-items.list-v { flex-direction: column; flex-wrap: nowrap; }
.n-items.list-grid { display: grid; grid-template-columns: 1fr 1fr; }
.chip { font-size: 18px; background: var(--bg); border-radius: var(--r-s); padding: 6px 12px; display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; }
.chip i { display: none; width: 10px; height: 10px; border-radius: 50%; }
.eco.l3 .chip i { display: inline-block; }
.chip.st-live i { background: var(--ok); } .chip.st-dev i { background: var(--warn); } .chip.st-plan i { background: var(--plan); }
.node .chip { cursor: inherit; }

/* слой ИИ */
.n-ai { display: none; font-size: 17px; line-height: 1.25; color: var(--flow); gap: 8px; align-items: flex-start; margin-top: 6px; }
.n-ai svg { width: 18px; height: 18px; flex: none; fill: var(--flow); margin-top: 1px; }
.n-ai.is-unknown { color: var(--warn); } .n-ai.is-unknown svg { fill: var(--warn); }
.eco.l2 .n-ai { display: flex; animation: rise var(--dur) var(--ease-out) both; }
.eco.l2 .shape-circle .n-ai { justify-content: center; text-align: center; }
.eco.l2 .shape-base { box-shadow: inset 0 0 0 3px var(--flow); background: rgb(131 168 227 / .12); }

/* слой светофора */
.n-status { position: absolute; right: 14px; top: -16px; display: none; align-items: center; gap: 8px; background: var(--bg); border-radius: var(--r-p); padding: 5px 12px; font-size: 16px; white-space: nowrap; box-shadow: inset 0 0 0 2px var(--st); }
.n-status i { width: 10px; height: 10px; border-radius: 50%; background: var(--st); }
.n-status b { font-weight: 600; color: var(--warn); }
.eco.l3 .n-status { display: inline-flex; animation: rise var(--dur) var(--ease-out) both; }
.shape-circle .n-status { right: auto; left: 50%; top: -14px; transform: translateX(-50%); animation: none !important; }
.eco-legend { position: absolute; left: 0; top: 856px; display: none; gap: 28px; font-size: 19px; color: var(--text-2); }
.eco-legend span { display: inline-flex; gap: 10px; align-items: center; }
.eco-legend i { width: 12px; height: 12px; border-radius: 50%; }
.eco-legend-note { color: var(--warn); }
.eco.l3 .eco-legend { display: flex; }

/* станции (вариант «Метро») */
.shape-station { background: transparent; padding: 0; width: 0; height: 0; overflow: visible; }
.shape-station .st-dot { position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 7px var(--text); }
.shape-station .n-body { position: absolute; width: 300px; background: var(--surface); border-radius: var(--r-l); padding: 14px 18px; }
.shape-station.lab-t .n-body { left: -150px; bottom: 36px; }
.shape-station.lab-b .n-body { left: -150px; top: 36px; }
.shape-station.lab-r .n-body { left: 40px; top: -40px; }
.shape-station.lab-l .n-body { right: 40px; top: -40px; }
.shape-station .n-status { top: auto; right: auto; left: -60px; bottom: -64px; }
.shape-station.lab-b .n-status { bottom: auto; top: -64px; }
.shape-station.lab-t .n-status { bottom: auto; top: 30px; }
.shape-station.is-flagship { box-shadow: none; }
.shape-station.is-flagship .st-dot { box-shadow: inset 0 0 0 7px var(--flow); }
@media (hover: hover) and (pointer: fine) { .shape-station:hover { background: transparent; } .shape-station:hover .n-body { background: var(--surface-2); } }

/* карточка проекта */
.eco-scrim { position: absolute; left: -80px; top: -150px; width: 1920px; height: 1080px; background: rgb(0 12 30 / .6); opacity: 0; pointer-events: none; transition: opacity var(--dur) var(--ease-out); z-index: 5; }
.eco-drawer { position: absolute; right: -80px; top: -150px; width: 820px; height: 1080px; background: var(--bg); box-shadow: -30px 0 80px -30px rgb(0 0 0 / .7); z-index: 6; transform: translateX(100%); transition: transform var(--dur-drawer) var(--ease-drawer); overflow-y: auto; padding: 72px 64px; }
.eco.is-open .eco-drawer { transform: none; }
.eco.is-open .eco-scrim { opacity: 1; pointer-events: auto; }
.eco-close { position: absolute; right: 32px; top: 28px; width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--surface); font-size: 36px; cursor: pointer; line-height: 1; }
.dr-kicker { font-size: var(--fs-s); color: var(--text-2); }
.eco-drawer h3 { font-size: 52px; font-weight: 600; letter-spacing: -0.025em; margin-top: 8px; line-height: 1.05; }
.dr-status { display: inline-flex; gap: 10px; align-items: center; font-size: 20px; margin-top: 20px; }
.dr-status i { width: 12px; height: 12px; border-radius: 50%; background: var(--st); }
.dr-lead { font-size: var(--fs-b); line-height: 1.35; margin-top: 24px; }
.dr-media { margin: 28px 0 0; border-radius: var(--r-l); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.dr-media img, .dr-media video { display: block; width: 100%; height: auto; }
.eco-drawer section { margin-top: 28px; }
.eco-drawer h4 { font-size: var(--fs-s); color: var(--text-2); font-weight: 600; }
.eco-drawer section p { font-size: 24px; line-height: 1.4; margin-top: 6px; }

/* ---------- 11. платформа ---------- */
.plat { display: grid; grid-template-columns: 560px 1fr; gap: 72px; margin-top: 56px; }
.strike { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.strike li { font-size: var(--fs-b); color: var(--text-2); position: relative; width: fit-content; }
.strike li::after { content: ''; position: absolute; left: -4px; right: -4px; top: 55%; height: 3px; background: var(--bad); transform-origin: 0 50%; transform: scaleX(0); }
.slide.is-active .strike li::after { animation: grow 500ms var(--ease-out) both; animation-delay: calc(var(--i) * 160ms + 700ms); }
.strike-res { margin-top: 40px; font-size: var(--fs-l); font-weight: 600; line-height: 1.2; }
.mock { position: relative; background: var(--surface); border-radius: var(--r-l); height: 520px; padding: 32px; overflow: hidden; }
.mock .bar { height: 18px; border-radius: 9px; background: var(--bg); margin-bottom: 16px; }
.mock .tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.mock .tile { height: 150px; border-radius: var(--r-s); background: var(--bg); position: relative; }
.mock .tile.sel { box-shadow: 0 0 0 3px var(--flow); }
.mock .tile.sel::after { content: 'Сделай карточку синей и добавь план'; position: absolute; left: 0; top: calc(100% + 14px); background: var(--text); color: var(--bg); font-size: 18px; padding: 10px 14px; border-radius: var(--r-s); white-space: nowrap; }
.mock .tile.done { background: var(--surface-2); }
.mock .cursor { position: absolute; width: 28px; height: 28px; left: 0; top: 0; }
.slide.is-active .mock .cursor { animation: cur 6s var(--ease-io) infinite; animation-delay: 800ms; }
@keyframes cur { 0% { transform: translate(560px, 420px); } 25%, 100% { transform: translate(300px, 150px); } }
.loop4 { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.loop4 span { font-size: var(--fs-b); font-weight: 600; }
.loop4 em { font-style: normal; color: var(--text-2); font-size: var(--fs-b); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.fact { background: var(--surface); border-radius: var(--r-l); padding: 24px 28px; font-size: var(--fs-s); line-height: 1.3; color: var(--text-2); }
.fact b { display: block; font-size: 40px; color: var(--text); letter-spacing: -0.02em; margin-bottom: 6px; }

/* ---------- 12. люди ---------- */
.path { position: relative; margin-top: 96px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.path svg { position: absolute; left: 0; top: 30px; width: 100%; height: 6px; overflow: visible; }
.path svg path { stroke: var(--flow); stroke-width: 4; fill: none; }
.pt { position: relative; padding-top: 80px; }
.pt::before { content: ''; position: absolute; left: 0; top: 18px; width: 28px; height: 28px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 6px var(--flow); }
.pt:last-child::before { box-shadow: inset 0 0 0 6px var(--text); background: var(--accent); }
.pt h3 { font-size: 40px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.pt p { font-size: var(--fs-b); color: var(--text-2); line-height: 1.35; margin-top: 16px; }
.quote { margin-top: 96px; font-size: 52px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; max-width: 1500px; }

/* ---------- 13–16. проекты ---------- */
.proj { display: grid; grid-template-columns: 620px 1fr; gap: 64px; margin-top: 8px; height: 820px; align-items: center; }
.proj .n { font-size: var(--fs-s); color: var(--text-2); }
.proj h2 { font-size: 64px; margin-top: 12px; }
.proj .owner { font-size: var(--fs-b); color: var(--text-2); margin-top: 12px; }
.proj dl { margin: 40px 0 0; display: grid; gap: 24px; }
.proj dt { font-size: var(--fs-s); color: var(--text-2); font-weight: 600; }
.proj dd { margin: 6px 0 0; font-size: var(--fs-b); line-height: 1.35; text-wrap: pretty; }
.media { position: relative; height: 760px; }
.media .shot { position: absolute; }
.money { display: flex; align-items: center; gap: 18px; margin-top: 8px; }
.money s { color: var(--text-2); font-size: var(--fs-l); text-decoration-color: var(--bad); text-decoration-thickness: 3px; }
.money b { font-size: 56px; letter-spacing: -0.03em; }

/* ---------- 17. дорожная карта ---------- */
.road { position: relative; margin-top: 120px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.road svg { position: absolute; left: 14px; top: 13px; width: calc(100% - 28px); height: 4px; overflow: visible; }
.road svg path { stroke: var(--flow); stroke-width: 4; fill: none; }
.rp { position: relative; padding-top: 72px; }
.rp::before { content: ''; position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 6px var(--flow); }
.rp.now::before { background: var(--flow); }
.rp.star::before { display: none; }
.rp.star .star-ico { position: absolute; left: -8px; top: -14px; width: 46px; height: 46px; fill: var(--accent); }
.rp .when { font-size: var(--fs-s); color: var(--text-2); font-weight: 600; }
.rp h3 { font-size: 38px; font-weight: 600; letter-spacing: -0.02em; margin-top: 10px; line-height: 1.12; }
.rp p { font-size: 24px; color: var(--text-2); margin-top: 14px; line-height: 1.4; }
.operator { margin-top: 88px; font-size: var(--fs-l); display: flex; gap: 20px; align-items: center; }
.operator i { width: 14px; height: 14px; border-radius: 50%; background: var(--ok); }

/* ---------- 18. тиражирование ---------- */
.ripple { position: relative; height: 760px; margin-top: 20px; }
.ripple .core { position: absolute; left: 50%; top: 50%; width: 300px; height: 300px; margin: -150px 0 0 -150px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; text-align: center; font-size: 44px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; z-index: 2; }
.ripple .core small { display: block; font-size: var(--fs-s); color: var(--text-2); font-weight: 400; letter-spacing: 0; margin-top: 8px; }
.ripple .ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 2px dashed var(--line); transform: translate(-50%, -50%); }
.ripple .r1 { width: 560px; height: 560px; } .ripple .r2 { width: 860px; height: 760px; }
.ripple .sat { position: absolute; background: var(--surface); border-radius: var(--r-l); padding: 20px 26px; font-size: var(--fs-s); color: var(--text-2); }
.ripple .note { position: absolute; left: 0; top: 40px; width: 420px; font-size: var(--fs-b); line-height: 1.4; }
.ripple .note b { display: block; font-size: 64px; letter-spacing: -0.03em; }

/* ---------- 19. запрос ---------- */
.asks { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 64px; }
.ask { background: var(--surface); border-radius: var(--r-l); padding: 40px 44px; display: grid; grid-template-columns: 72px 1fr; gap: 20px; min-height: 230px; }
.ask .k { font-size: 64px; font-weight: 600; color: var(--flow); line-height: 1; }
.ask h3 { font-size: 40px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; }
.ask p { font-size: 24px; color: var(--text-2); margin-top: 14px; line-height: 1.4; }
.ask.main { background: var(--surface-2); }

/* ---------- 20. финал ---------- */
.final { position: absolute; left: 120px; top: 280px; }
.final h2 { font-size: 132px; }
.final .recap { display: flex; gap: 56px; margin-top: 80px; }
.final .recap div { font-size: var(--fs-s); color: var(--text-2); line-height: 1.3; }
.final .recap b { display: block; font-size: 64px; color: var(--text); letter-spacing: -0.03em; }

/* ---------- заметки спикера ---------- */
.notes { position: fixed; left: 0; right: 0; bottom: 0; max-height: 42vh; overflow-y: auto; background: rgb(0 12 30 / .96); color: var(--text); font-size: 20px; line-height: 1.5; padding: 20px 32px 24px; transform: translateY(100%); transition: transform var(--dur) var(--ease-out); z-index: 10; border-top: 2px solid var(--surface-2); }
.notes.is-open { transform: none; }
.notes .meta { color: var(--text-2); font-size: 16px; margin-bottom: 8px; display: flex; gap: 24px; }
.hint { position: fixed; right: 16px; bottom: 12px; font-size: 13px; color: var(--text-2); opacity: .55; z-index: 9; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; }
}

/* ---------- правки после первого просмотра ---------- */
.effect { margin-top: 110px; } .two { margin-top: 100px; } .doors { margin-top: 100px; } .asks { margin-top: 110px; } .kp { margin-top: 110px; }
.mark { width: fit-content; }
.ripple .core { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.stage:has(#eco-slide.is-active) .foot { display: none; }

.s-eco .eco-host { top: 140px; height: 920px; }
.eco-bar { top: auto; bottom: 0; }
.eco-legend { top: 870px; }
.node { padding: 14px 20px; }
.n-title { font-size: 25px; }
.shape-circle .n-title { font-size: 28px; }
.n-status { right: -14px; top: -16px; padding: 4px 12px; font-size: 18px; box-shadow: inset 0 0 0 2px var(--st); }
.eco.l3 .node:not(.shape-station) { box-shadow: inset 0 0 0 3px var(--st); }
.eco.l3 .shape-station .st-dot { box-shadow: inset 0 0 0 7px var(--st); }
.eco .shape-circle .n-status { right: auto; left: 50%; top: -16px; transform: translateX(-50%); }

.node.is-wide { flex-direction: row; align-items: center; padding: 8px 22px; }
.is-wide .n-body { display: grid; grid-template-columns: minmax(300px, auto) 1fr; grid-template-areas: "t i" "s a"; column-gap: 32px; row-gap: 2px; align-items: center; width: 100%; }
.is-wide .n-title { grid-area: t; } .is-wide .n-sub { grid-area: s; } .is-wide .n-ai { grid-area: a; margin-top: 0; }
.is-wide .n-items { grid-area: i; margin-top: 0; flex-wrap: nowrap; }

.shape-station .n-sub { display: none; }
.shape-station .n-body { width: 300px; }
.shape-station.lab-br .n-body { left: 30px; top: 24px; width: 330px; }
.eco .shape-station .n-status, .eco .shape-station.lab-b .n-status, .eco .shape-station.lab-t .n-status { right: auto; bottom: auto; }
.eco .shape-station.lab-b .n-status, .eco .shape-station.lab-br .n-status { left: 14px; top: -54px; }
.eco .shape-station.lab-t .n-status { left: 14px; top: 26px; }
.eco .shape-station.lab-r .n-status, .eco .shape-station.lab-l .n-status { left: -36px; top: 30px; }
.prod-hl { stroke: var(--flow); stroke-width: 6; }
.eco[data-variant="D"] .shape-circle .n-sub { display: none; }
.eco[data-variant="D"] .shape-circle .n-title { font-size: 26px; }
.shape-station.lab-br .n-body { width: 420px; }

/* телефон и планшет */
.touch-bar { display: none; }
@media (pointer: coarse) {
  .touch-bar { display: flex; gap: 8px; position: fixed; z-index: 50; right: calc(12px + env(safe-area-inset-right, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  .touch-bar button { font: 600 15px/1 'Grtsk Peta', 'Segoe UI', sans-serif; color: var(--text); background: rgba(0, 47, 108, .85); border: 1px solid var(--line); border-radius: 999px; min-width: 44px; height: 44px; padding: 0 14px; }
  .touch-bar button:active { background: var(--surface-2); }
}
@media (pointer: coarse) and (orientation: portrait) {
  body::after { content: 'Поверните телефон горизонтально'; position: fixed; left: 0; right: 0; top: calc(16px + env(safe-area-inset-top, 0px)); text-align: center; font: 400 14px 'Grtsk Peta', 'Segoe UI', sans-serif; color: var(--text-2); }
}
