/* Components for the report-driven chapters (Nov 2026). Loaded last.
   They reuse the deck tokens (--blue, --cyan, --ink, --muted, --paper, --surface, --night)
   and scale with both viewport width and height so every chapter stays on one screen. */
:root,.deck-page{--r-base:clamp(12px,min(1.16vw,1.98vh),19px);--r-fs:var(--r-base);--r-gap:clamp(12px,1.7vw,28px);--r-line:rgba(17,35,51,.16);--r-panel:#e5edf2;--r-card:#fff;--r-strong:var(--ink);--r-accent:var(--blue);--r-soft:#9fb4c4;--r-warn:#a8501c;--r-good:#16704a;--r-open:#5b6f80}
.deck-page.dark,.deck-page.scene-section{--r-line:rgba(255,255,255,.2);--r-panel:#10273c;--r-card:#16324b;--r-strong:#fff;--r-accent:var(--cyan);--r-soft:#3c5a74;--r-warn:#ffb668;--r-good:#86e3ad;--r-open:#b9cbdb}
.deck-page.studio-blue{--r-line:rgba(255,255,255,.34);--r-panel:#0754a8;--r-card:#0754a8;--r-strong:#fff;--r-accent:#fff;--r-soft:#5c9fe6;--r-warn:#ffd9a8;--r-good:#c9f5dc;--r-open:#d9ecff}

.r-body{flex:1;min-height:0;display:grid;grid-template-columns:var(--cols,minmax(0,1fr));gap:var(--r-gap);font-size:var(--r-fs);line-height:1.42;align-items:stretch}
.r-body>*{min-width:0}
.r-body.r-rows{grid-template-columns:minmax(0,1fr);grid-template-rows:var(--rows,auto)}
.r-col{display:flex;flex-direction:column;gap:calc(var(--r-gap)*.7);min-height:0;min-width:0}
.r-col>.r-grow{flex:1 1 0}
.r-row{display:grid;grid-template-columns:var(--cols,repeat(auto-fit,minmax(0,1fr)));gap:var(--r-gap)}
.r-body p{margin:0;font-size:1em;line-height:1.45}
.r-body h3{font-size:1.55em;line-height:1.08;margin:0 0 .35em;color:var(--r-strong);text-wrap:balance}
.r-body h4{font:500 .9em/1.3 'Barlow',Arial,sans-serif;color:var(--muted);margin:0 0 .5em}
.r-body b,.r-body strong{color:var(--r-strong)}
.r-small{font-size:max(12px,.86em)!important;line-height:1.4!important;color:var(--muted)}

/* Panels */
.r-card{background:var(--r-panel);padding:1.05em 1.2em;display:flex;flex-direction:column;gap:.45em}
.light .r-card.white{background:#fff}
.r-card.accent{background:var(--blue);color:#fff;--muted:#dcecff;--r-strong:#fff;--r-line:rgba(255,255,255,.3)}
.r-card.accent p{color:#e3f0ff}
.studio-blue .r-card.white{background:#fff;color:var(--ink);--muted:#4b6172;--r-strong:var(--ink);--r-line:rgba(17,35,51,.16);--r-accent:var(--blue)}
.studio-blue .r-card.white p{color:#4b6172}
.r-body .callout{margin-top:0;font-size:.94em}
.studio-blue .callout{background:#074381;color:#fff}

/* Figures: the report images keep their white ground and open in the lightbox. */
.r-fig{display:flex;flex-direction:column;min-height:13em;contain:size;min-width:0;background:#fff;padding:.55em;border:0;cursor:zoom-in;color:var(--ink);text-align:left;position:relative;overflow:hidden}
.r-fig img{flex:1;min-height:0;width:100%;height:100%;object-fit:contain;display:block}
.r-fig .r-cap{flex:none;display:flex;justify-content:space-between;gap:1em;align-items:center;font-size:max(12px,.82em);line-height:1.3;color:#4b6172;padding:.5em .2em 0}
.r-fig .r-cap .ui-icon{width:1.1em;height:1.1em;flex:none;color:var(--blue)}
.r-fig:hover .r-cap{color:var(--blue)}
.r-fig:focus-visible{outline:3px solid var(--r-accent);outline-offset:2px}
.r-fig.static{cursor:default}
.r-fig.pad{padding:1em}

/* Tables */
.r-table{width:100%;border-collapse:collapse;font-size:1em;font-variant-numeric:tabular-nums;background:transparent}
.r-table.fill{height:100%}
.r-table th,.r-table td{text-align:left;padding:.5em .75em;vertical-align:middle;font-weight:400;line-height:1.3;border-bottom:1px solid var(--r-line)}
.r-table thead th{font-size:max(12px,.8em);font-weight:500;letter-spacing:.07em;text-transform:uppercase;color:var(--muted);border-bottom:1px solid var(--r-strong);padding-top:.35em;padding-bottom:.6em;vertical-align:bottom}
.r-table tbody th{font-weight:500;color:var(--r-strong)}
.r-table td{color:var(--muted)}
.r-table td.num,.r-table th.num{font-family:'Barlow Condensed',Arial,sans-serif;font-size:1.32em;font-weight:500;color:var(--r-strong);white-space:nowrap;line-height:1.1}
.r-table td.num small{font-family:'Barlow',Arial,sans-serif;font-size:.6em;font-weight:400;color:var(--muted);margin-left:.25em}
.r-table .r{text-align:right}
.r-table tr.hl>*{background:color-mix(in srgb,var(--r-accent) 12%,transparent)}
.r-table tr.hl>th,.r-table tr.hl td.num{color:var(--r-accent)}
.light .r-table tr.hl>th,.light .r-table tr.hl td.num{color:#0050a8}
.r-table td.key{color:var(--r-accent);font-weight:500}
.light .r-table td.key{color:#0050a8}
.r-table.tight th,.r-table.tight td{padding:.36em .65em}
.r-table.dense{font-size:.9em}
.r-table col.w-s{width:13%}.r-table col.w-m{width:22%}

/* Status tags carry a glyph and a word, never colour alone. */
.r-tag{display:inline-flex;align-items:center;gap:.4em;font-size:.8em;font-weight:500;letter-spacing:.04em;white-space:nowrap}
.r-tag::before{content:"";width:.62em;height:.62em;flex:none;background:currentColor}
.r-tag.go{color:var(--r-good)}
.r-tag.out{color:var(--r-warn)}.r-tag.out::before{background:none;border:.12em solid currentColor;transform:rotate(45deg)}
.r-tag.hold{color:var(--r-open)}.r-tag.hold::before{background:none;border:.12em solid currentColor;border-radius:50%}

/* Key figures */
.r-kpis{display:grid;grid-template-columns:repeat(var(--n,3),minmax(0,1fr));gap:calc(var(--r-gap)*.75)}
.r-kpi{border-top:1px solid var(--r-strong);padding-top:.6em;min-width:0}
.r-kpi strong{display:block;font:300 3.1em/1 'Barlow Condensed',Arial,sans-serif;letter-spacing:-.02em;color:var(--r-strong);white-space:nowrap}
.r-kpi strong small{font:400 .4em/1 'Barlow',Arial,sans-serif;letter-spacing:0;margin-left:.25em;color:var(--muted)}
.r-kpi>span{display:block;font-size:.86em;line-height:1.35;color:var(--muted);margin-top:.45em}
.r-kpi.big strong{font-size:4.6em}
.r-kpi.key strong{color:var(--r-accent)}
.light .r-kpi.key strong{color:var(--blue)}

/* Lists */
.r-list{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:.5em}
.r-list li{position:relative;padding-left:1.1em;line-height:1.4;color:var(--muted)}
.r-list li::before{content:"";position:absolute;left:0;top:.62em;width:.5em;height:1px;background:var(--r-strong)}
.r-list.plus li::before{content:"+";background:none;top:0;height:auto;width:auto;color:var(--r-good);font-weight:500}
.r-list.minus li::before{content:"−";background:none;top:0;height:auto;width:auto;color:var(--r-warn);font-weight:500}
.r-list.steps{counter-reset:step}
.r-list.steps li{counter-increment:step;padding-left:1.9em}
.r-list.steps li::before{content:counter(step);background:none;top:0;height:auto;width:1.3em;font:500 1.05em/1.35 'Barlow Condensed',Arial,sans-serif;color:var(--r-accent)}
.light .r-list.steps li::before{color:var(--blue)}

/* Definition rows */
.r-specs{margin:0;display:flex;flex-direction:column}
.r-specs>div{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:1em;padding:.42em 0;border-bottom:1px solid var(--r-line);align-items:baseline}
.r-specs dt{color:var(--muted)}
.r-specs dd{margin:0;color:var(--r-strong);font-weight:500;text-align:right}

/* Phase flow */
.r-flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}
.r-flow article{position:relative;background:var(--r-panel);padding:1.1em 1.6em 1.1em 1.3em;display:flex;flex-direction:column;gap:.5em;margin-right:.5em}
.r-flow article:last-child{margin-right:0}
.r-flow article::after{content:"";position:absolute;right:-.5em;top:1.2em;border-left:.5em solid var(--r-panel);border-top:.7em solid transparent;border-bottom:.7em solid transparent;z-index:1}
.r-flow article:last-child::after{display:none}
.r-flow article.on{background:var(--blue);color:#fff;--muted:#dcecff;--r-strong:#fff}
.r-flow article.on::after{border-left-color:var(--blue)}
.r-flow article.on p{color:#e3f0ff}
.r-flow .n{font:300 2.6em/1 'Barlow Condensed',Arial,sans-serif;color:var(--r-accent)}
.r-flow article.on .n{color:#fff}
.r-flow h3{margin:0}
.r-flow .out{margin-top:auto;padding-top:.6em;border-top:1px solid var(--r-line);font-size:.86em;color:var(--muted)}
.r-flow article.on .out{border-top-color:rgba(255,255,255,.35)}
.r-flow .out b{display:block;font-weight:500}

/* Horizontal bars */
.r-bars{display:flex;flex-direction:column;gap:.38em}
.r-bar{display:grid;grid-template-columns:minmax(0,var(--label,12.5em)) minmax(0,1fr) var(--value,3.2em);gap:.9em;align-items:center;font-size:.92em;line-height:1.2}
.r-bar>span{color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.r-bar .r-track{position:relative;height:.72em;background:color-mix(in srgb,var(--r-strong) 9%,transparent)}
.r-bar .r-fill{position:absolute;inset:0 auto 0 0;background:var(--r-soft);transform-origin:left}
.r-bar .r-fill.ghost{background:none;border:1px solid var(--r-soft);box-sizing:border-box}
.r-bar.on .r-fill:not(.ghost){background:var(--r-accent)}
.light .r-bar.on .r-fill:not(.ghost){background:var(--blue)}
.r-bar.low .r-fill:not(.ghost){background:var(--r-warn)}
.r-bar .r-mark{position:absolute;top:-.3em;bottom:-.3em;width:2px;background:var(--r-strong)}
.r-bar>strong{font:500 1.25em/1 'Barlow Condensed',Arial,sans-serif;text-align:right;color:var(--r-strong);white-space:nowrap}
.r-bar.on>span{color:var(--r-strong);font-weight:500}
.r-legend{display:flex;flex-wrap:wrap;gap:.4em 1.4em;font-size:.8em;color:var(--muted)}
.r-legend i{display:inline-block;width:.9em;height:.62em;margin-right:.45em;background:var(--r-soft);vertical-align:baseline}
.r-legend i.a{background:var(--r-accent)}.light .r-legend i.a{background:var(--blue)}
.r-legend i.g{background:none;border:1px solid var(--r-soft);box-sizing:border-box}
.r-legend i.w{background:var(--r-warn)}
.r-legend i.m{width:2px;height:1em;background:var(--r-strong);vertical-align:middle}
.r-legend i.c0{background:#8fa3b3}.r-legend i.c1{background:var(--blue)}.r-legend i.c2{background:#e08a3c}
.dark .r-legend i.c0{background:#9db3c6}.dark .r-legend i.c1{background:var(--cyan)}.dark .r-legend i.c2{background:#ffb668}

/* Charts drawn by app.js */
.r-chart{width:100%;height:100%;min-height:0;display:block;overflow:visible}
.r-chart text{font-family:'Barlow',Arial,sans-serif;fill:var(--muted);font-size:13px}
.r-chart .axis{stroke:var(--r-strong);stroke-width:1;fill:none}
.r-chart .grid{stroke:var(--r-line);stroke-width:1;fill:none}
.r-chart .iso{stroke:var(--r-soft);stroke-width:1;fill:none;stroke-dasharray:4 5}
.r-chart .req{stroke:var(--r-warn);stroke-width:1.5;stroke-dasharray:6 5;fill:none}
.r-chart .pt{fill:var(--r-soft)}
.r-chart .pt.on{fill:var(--r-accent)}
.light .r-chart .pt.on,.light .r-chart .line{fill:var(--blue)}
.r-chart .line{fill:none!important;stroke:var(--r-accent);stroke-width:2.5}
.light .r-chart .line{stroke:var(--blue)}
.r-chart text.lab{fill:var(--r-strong);font-size:14px;font-weight:500}
.r-chart text.val{fill:var(--r-strong);font-family:'Barlow Condensed',Arial,sans-serif;font-size:17px;font-weight:500}
.r-chart .b0{fill:#8fa3b3}.r-chart .b1{fill:var(--blue)}.r-chart .b2{fill:#e08a3c}
.dark .r-chart .b0{fill:#9db3c6}.dark .r-chart .b1{fill:var(--cyan)}.dark .r-chart .b2{fill:#ffb668}
.r-chart-wrap{flex:1;min-height:0;display:flex;flex-direction:column;gap:.6em}
.r-chart-wrap>svg{flex:1 1 0;min-height:9em;contain:size}
.r-fig>svg{flex:1 1 0;min-height:0;contain:size}

/* Stacked share bar */
.r-stack{display:flex;height:1.5em;width:100%;gap:2px}
.r-stack i{display:block;min-width:2px;background:var(--r-soft)}
.r-stack i:nth-child(1){background:var(--blue)}.r-stack i:nth-child(2){background:#5b9fe0}.r-stack i:nth-child(3){background:#e08a3c}.r-stack i:nth-child(4),.r-stack i:nth-child(5){background:#8fa3b3}

/* Controls */
.r-control{display:grid;grid-template-columns:1fr auto;gap:.3em 1em;align-items:baseline}
.r-control label{color:var(--muted)}
.r-control output{font:500 1.5em/1 'Barlow Condensed',Arial,sans-serif;color:var(--r-strong)}
.r-control input[type=range]{grid-column:1/-1;width:100%;accent-color:var(--blue);margin:.2em 0 0}
.dark .r-control input[type=range]{accent-color:var(--cyan)}
.r-inputs{display:flex;flex-direction:column}
.r-inputs label{display:grid;grid-template-columns:minmax(0,1fr) 5.2em;gap:1em;align-items:center;padding:.3em 0;border-bottom:1px solid var(--r-line);color:var(--muted);font-size:.94em}
.r-inputs label small{display:block;font-size:.8em;opacity:.8}
.r-inputs input,.r-select{font:500 1em 'Barlow',Arial,sans-serif;font-variant-numeric:tabular-nums;padding:.3em .45em;border:1px solid var(--r-line);background:transparent;color:var(--r-strong);width:100%;box-sizing:border-box;text-align:right;border-radius:0}
.r-select{text-align:left;width:auto}
.dark .r-select option{color:#112333}
.r-inputs input:focus-visible,.r-select:focus-visible{outline:2px solid var(--r-accent);outline-offset:1px}

/* Schematic of the quill */
.r-schematic{width:100%;height:100%;min-height:0;display:block}
.r-schematic text{font-family:'Barlow',Arial,sans-serif;font-size:13px;fill:#4b6172}
.r-schematic .dim{stroke:#4b6172;stroke-width:1;fill:none}
.r-schematic .body{fill:#dfe7ee;stroke:#112333;stroke-width:1.4}
.r-schematic .bore{fill:#fff;stroke:#112333;stroke-width:1}
.r-schematic .spline{fill:#0066d7;opacity:.85}
.r-schematic .axis{stroke:#112333;stroke-width:.8;stroke-dasharray:14 4 2 4;fill:none}
.r-schematic text.t{fill:#112333;font-weight:500}

/* Chapter-specific touches */
#baseline .baseline-big strong small{font:400 .3em 'Barlow',Arial,sans-serif;margin-left:.2em}
#stage3 .source-note{max-width:120ch}
.r-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--r-gap)}
.r-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--r-gap)}
.r-pair{display:grid;grid-template-columns:1fr 1fr;gap:.6em;min-height:0}
.r-arrow{font-family:'Barlow Condensed',Arial,sans-serif;color:var(--muted);padding:0 .25em}
.r-foot{font-size:.8em;line-height:1.4;color:var(--muted);margin:0}
.r-mono{font-family:'Barlow Condensed',Arial,sans-serif;font-size:1.12em;color:var(--r-strong)}

@media (max-width:900px){
 .r-body,.r-row,.r-three,.r-two{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:none!important;overflow:hidden;align-content:start}
 .deck-page{--r-fs:12.5px!important}
 .r-flow{grid-template-columns:1fr 1fr;gap:.5em}
 .r-flow article{margin:0}.r-flow article::after{display:none}
 .r-fig{max-height:34vh}
 .r-kpi strong{font-size:2.3em}.r-kpi.big strong{font-size:3em}
 .r-hide-s{display:none!important}
 .r-table.dense{font-size:.82em}
}
@media print{.r-fig{break-inside:avoid}}

/* ---------- In-chapter builds (deck.js setStep) ---------- */
.screen-deck [data-show],.screen-deck [data-hide]{transition:opacity .5s cubic-bezier(.16,1,.3,1) .12s,transform .6s cubic-bezier(.16,1,.3,1) .12s,visibility 0s linear 0s}
.screen-deck [data-show]:not(.is-shown),.screen-deck [data-hide]:not(.is-shown){opacity:0;transform:scale(.975);visibility:hidden;pointer-events:none;transition:opacity .22s ease-in,transform .22s ease-in,visibility 0s linear .22s}
.screen-deck tr[data-show]:not(.is-shown),.screen-deck td[data-show]:not(.is-shown),.screen-deck th[data-show]:not(.is-shown),.screen-deck g[data-show]:not(.is-shown){transform:none}
.r-swap{display:grid;min-height:0;min-width:0}
.r-swap>*{grid-area:1/1;min-width:0}
[data-on]{transition:background-color .45s cubic-bezier(.16,1,.3,1),color .45s,opacity .45s,border-color .45s}
@media (prefers-reduced-motion:reduce){.screen-deck [data-show],.screen-deck [data-hide],[data-on]{transition:none!important;transform:none!important}}
@media (max-width:900px){.r-swap{display:flex;flex-direction:column;gap:var(--r-gap)}.screen-deck [data-hide]:not(.is-shown){display:none!important}.r-body{overflow-y:auto!important}}
.step-pips{position:fixed;right:var(--gutter);bottom:calc(var(--frame-bottom,56px) + var(--act-bar,30px) + 10px);z-index:21;display:flex;gap:5px;align-items:center;color:var(--ink);pointer-events:none}
body[data-surface=dark] .step-pips,body[data-field=blue] .step-pips{color:#fff}
@media (max-width:900px){.step-pips{display:none!important}}
.step-pips[hidden]{display:none}
.step-pips i{display:block;width:14px;height:3px;background:currentColor;opacity:.25;transition:opacity .3s,width .3s}
.step-pips i.on{opacity:1}
.step-pips i.on:last-of-type,.step-pips i.on:has(+i:not(.on)){width:22px}

/* ---------- Distilled components ---------- */
.r-body .r-statement,.r-statement{font:500 1.75em/1.18 'Barlow Condensed',Arial,sans-serif;letter-spacing:-.01em;color:var(--r-strong);max-width:34em;margin:0;text-wrap:balance}
.r-body .r-statement.small,.r-statement.small{font-size:1.4em}
.r-lede{font-size:1.12em!important;line-height:1.45!important;color:var(--muted);max-width:40em}
.r-more{align-self:flex-start;margin-top:.3em;font-size:.86em!important;padding:.2em 0!important}

/* Power ladder */
.r-ladder{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:calc(var(--r-gap)*.6);align-items:end;min-height:16em;height:100%}
.r-ladder article{height:calc(var(--h)*1%);min-height:7.5em;background:var(--r-panel);padding:.9em 1em;display:flex;flex-direction:column;gap:.25em}
.r-ladder article.top{background:var(--blue);color:#fff;--muted:#dcecff;--r-strong:#fff}
.r-ladder article.top p{color:#e3f0ff}
.r-ladder strong{font:300 3.3em/1 'Barlow Condensed',Arial,sans-serif;letter-spacing:-.02em;color:var(--r-strong)}
.r-ladder strong small{font:400 .36em 'Barlow',Arial,sans-serif;margin-left:.2em;color:var(--muted)}
.r-ladder .who{font-weight:500;color:var(--r-strong)}
.r-ladder p{font-size:.9em!important;margin-top:auto!important}
.r-ladder .bmep{display:block;margin-top:.5em;padding-top:.45em;border-top:1px solid var(--r-line);font-size:.85em;color:var(--muted)}
.r-ladder .bmep b{font-family:'Barlow Condensed',Arial,sans-serif;font-size:1.3em;font-weight:500}
.r-ladder article.top .bmep{border-top-color:rgba(255,255,255,.35)}

/* From → to rows */
.r-fromto{display:flex;flex-direction:column}
.r-fromto>div{display:grid;grid-template-columns:minmax(0,1fr) auto 1.4em auto;gap:.6em;align-items:baseline;padding:.55em 0;border-bottom:1px solid var(--r-line)}
.r-fromto>div:first-child{border-top:1px solid var(--r-line)}
.r-fromto dt{color:var(--muted)}
.r-fromto .a{font:400 1.45em/1 'Barlow Condensed',Arial,sans-serif;color:var(--muted);text-align:right}
.r-fromto .ar{color:var(--muted);text-align:center}
.r-fromto .b{font:500 1.9em/1 'Barlow Condensed',Arial,sans-serif;color:var(--r-accent);text-align:right;min-width:3.4em}
.light .r-fromto .b{color:var(--blue)}
/* The e-turbo reveal (11 Nov 2026): first slide of the solution. On arrival the CAD opens from a point of light on
   a drawing-sheet grid, zooming and coming into focus while viewfinder corners close in; under the stage a data strip
   changes with every step, its digits rolling in. */
.wow-stage{background:#fff}
.wow-grid{position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(rgba(0,102,215,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(0,102,215,.07) 1px,transparent 1px);background-size:32px 32px;opacity:0;transition:opacity 1.2s ease .3s}
#section.active-screen .wow-grid{opacity:1}
/* CAD stages are plain white, like the exploded view: no squared-paper grid (12 Nov 2026). */
.wow-grid{display:none!important}
@keyframes wowReveal{0%{clip-path:circle(0% at 50% 52%);transform:scale(1.22);filter:blur(14px) brightness(1.6)}55%{filter:blur(0) brightness(1.15)}100%{clip-path:circle(80% at 50% 52%);transform:none;filter:none}}
#section.active-screen .wow-stage canvas{animation:wowReveal 1.9s cubic-bezier(.16,1,.3,1) .25s both}
.wow-c{position:absolute;width:42px;height:42px;border:0 solid var(--blue);pointer-events:none;opacity:0;transition:transform 1s cubic-bezier(.16,1,.3,1) .5s,opacity .6s ease .5s}
.wow-c.tl{top:14px;left:14px;border-top-width:3px;border-left-width:3px;transform:translate(-24px,-24px)}
.wow-c.tr{top:14px;right:14px;border-top-width:3px;border-right-width:3px;transform:translate(24px,-24px)}
.wow-c.bl{bottom:14px;left:14px;border-bottom-width:3px;border-left-width:3px;transform:translate(-24px,24px)}
.wow-c.br{bottom:14px;right:14px;border-bottom-width:3px;border-right-width:3px;transform:translate(24px,24px)}
#section.active-screen .wow-c{opacity:1;transform:none}
.wow-badge{position:absolute;top:22px;left:70px;font:500 max(11px,.72em)/1 'Barlow',Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:var(--blue);opacity:0;transition:opacity .6s ease 1.4s}
#section.active-screen .wow-badge{opacity:1}
/* Cinematic assembly opening of Stage 3 (exploded.js introViewer): dark slate field over the whole chapter, a
   vignette, and an edge blur masked to the borders as a shallow depth of field; it fades into the slide underneath. */
.xp-intro{position:absolute;inset:0;z-index:30;display:none;opacity:1;background:radial-gradient(ellipse 70% 65% at 50% 46%,#2a3747 0%,#16202b 52%,#0a0f15 100%);transition:opacity 1.6s cubic-bezier(.45,0,.25,1)}
.xp-intro.on{display:block}.xp-intro.fade{opacity:0}
.xp-intro canvas{position:absolute;inset:0;width:100%;height:100%;display:block;transition:transform 1.8s cubic-bezier(.3,0,.2,1),filter 1.6s ease}
.xp-intro.fade canvas{transform:scale(1.035);filter:blur(3px)}
.xp-intro.out .xp-intro-cap{animation:capOut .5s cubic-bezier(.4,0,1,1) both}
@keyframes capOut{from{opacity:1;transform:none}to{opacity:0;transform:translateY(-8px)}}
/* Section → exploded view: the two CAD stages are one shared element of the view transition, so the solid of the
   section chapter morphs into the solid that opens the exploded chapter while the rest of the page changes around it. */
html.cad-handoff #section.active-screen .section-stage,html.cad-handoff #exploded.active-screen .exploded-stage{view-transition-name:cad-stage}
::view-transition-group(cad-stage){z-index:5;animation-duration:850ms;animation-timing-function:cubic-bezier(.65,0,.35,1)}
::view-transition-old(cad-stage),::view-transition-new(cad-stage){animation-duration:850ms;animation-timing-function:cubic-bezier(.65,0,.35,1)}
/* Quiet hand-off: the page around the CAD does not slide or rise; old and new simply cross-fade in place. */
/* The page base under the chapters is night blue: under a cross-fade of two light pages it showed through and darkened
   the whole slide halfway. The chapter layer of the transition is backed with the paper of the light pages instead. */
html.cad-quiet::view-transition-group(chapter){animation:none!important;background:var(--paper,#f4f7f8)!important}
html.cad-quiet::view-transition-image-pair(chapter){isolation:isolate}
html.cad-quiet::view-transition-old(chapter),html.cad-quiet::view-transition-new(chapter){mix-blend-mode:plus-lighter!important}
html.cad-quiet::view-transition-old(chapter){animation:cadQuietOut .7s cubic-bezier(.65,0,.35,1) both!important}
html.cad-quiet::view-transition-new(chapter){animation:cadQuietIn .7s cubic-bezier(.65,0,.35,1) both!important}
html.cad-quiet::view-transition-group(rail-marker),html.cad-quiet::view-transition-old(rail-marker),html.cad-quiet::view-transition-new(rail-marker){animation:none!important}
html.cad-quiet::view-transition-old(rail-marker){display:none}
html.cad-quiet .rail-marker{transition:none!important}
@keyframes cadQuietOut{from{opacity:1}to{opacity:0}}@keyframes cadQuietIn{from{opacity:0}to{opacity:1}}
/* Why assist, why upstream (#assist): the two motor positions drawn on the same section of the turbocharger, the
   heat of the turbine against the cool intake air. Option A: the motor sits in the hot core. Option B, at the next
   step: the motor in a pod in the intake, air streaming around it, a quill to the shaft end. */
.r-body.as-body-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--r-gap,24px);align-items:stretch}
.as-card{display:flex;flex-direction:column;gap:.7em;min-height:0;padding:1.1em 1.4em 1em;background:#fff;box-shadow:inset 0 0 0 1px var(--r-line)}
.as-card.as-b{box-shadow:inset 0 0 0 2px var(--blue)}
.as-card header h3{margin:.25em 0 0;font-size:1.75em;line-height:1.05}
.as-tag{display:block;font:600 max(12px,.78em)/1 'Barlow',Arial,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:#b4462f}
.as-b .as-tag{color:var(--blue)}
.as-art{flex:1;min-height:0;width:100%;height:auto;overflow:visible}
.as-card .r-list{font-size:.95em;margin:0}.as-card .r-list li{padding-block:.12em}
.r-body .as-card footer{font-size:.8em}
.as-card footer{display:flex;justify-content:space-between;align-items:baseline;gap:1.2em;padding-top:.6em;border-top:1px solid var(--r-line);margin-top:auto}
.as-verdict{font-weight:600;letter-spacing:.04em;white-space:nowrap}.as-verdict.out{color:#b4462f}.as-verdict.go{color:var(--blue)}
.as-cost{font-size:.88em;line-height:1.35;color:var(--r-open,#5b6d7e)}
/* the shared section */
.as-wall{fill:none;stroke:#8193a5;stroke-width:3;stroke-linecap:round}
.as-wall.hot{stroke:#7a625a}
.as-vol{fill:#eef3f7;stroke:#8193a5;stroke-width:2.5}.as-vol.hot{fill:#ebe2de;stroke:#7a625a}
.as-body{fill:#e3eaf0;stroke:#8193a5;stroke-width:2.5;stroke-linejoin:round}.as-body.hot{fill:#e0d4cf;stroke:#7a625a}
.as-centre{fill:#f6f8fa;stroke:#8193a5;stroke-width:2.5}
.as-shaft{stroke:#4a5c6e;stroke-width:5;stroke-linecap:round}
.as-wheel{fill:#b9c6d3;stroke:#4a5c6e;stroke-width:2;stroke-linejoin:round}.as-wheel.hot{fill:#8c7d76}
/* text inside the shared symbol is styled through the symbol itself: rules on .as-art do not reach into a <use> */
.as-art text,#as-turbo text{font:500 20px 'Barlow',Arial,sans-serif;fill:#4a5c6e;letter-spacing:.01em}
#as-turbo text{font-size:19px}#as-turbo text.cool{fill:var(--blue);font-weight:600}#as-turbo text.warm{fill:#c4472e;font-weight:600}
.as-verdict{font-size:1.05em}
.as-hotglow{transform-box:fill-box;transform-origin:center}
/* motor parts */
.as-art .st{fill:#b58b52;stroke:#7a5a30;stroke-width:1.5}.as-art .ro{fill:#1f6fd6;stroke:#0d4ea0;stroke-width:1.5}
/* option A: heat reaches the magnets */
.as-heat path{fill:none;stroke:#e8402c;stroke-width:2.6;stroke-linecap:round;opacity:0}
.as-warn path{stroke:var(--red);stroke-width:1.5}.as-warn circle{fill:var(--red)}
.as-warn text{fill:var(--red);font-weight:600}
/* option B: the pod in the intake */
.as-pod .shell{fill:#fff;stroke:var(--blue);stroke-width:2.5}.as-pod .strut{stroke:#8193a5;stroke-width:3;stroke-linecap:round}
.as-pod .quill{stroke:var(--blue);stroke-width:4;stroke-linecap:round}
.as-air path{fill:none;stroke:#0066d7;stroke-width:2;stroke-linecap:round;opacity:.5;stroke-dasharray:12 16}
.as-note path,.as-warn path{fill:none}.as-note path{stroke:var(--blue);stroke-width:1.5}.as-note circle{fill:var(--blue)}.as-note text{fill:var(--blue);font-weight:600}
/* motion, only while the chapter is on screen */
#assist.active-screen .as-hotglow{animation:asGlow 2.4s ease-in-out infinite}
#assist.active-screen .as-heat path{animation:asHeat 1.8s ease-in-out infinite}
#assist.active-screen .as-heat path:nth-child(2){animation-delay:.6s}#assist.active-screen .as-heat path:nth-child(3){animation-delay:1.2s}
#assist.active-screen .as-a .as-motor{animation:asHotMotor 2.4s ease-in-out infinite}
#assist.active-screen .as-air path{animation:asFlow 1.1s linear infinite}
#assist.active-screen .as-air path:nth-child(2n){animation-duration:1.35s}
@keyframes asGlow{0%,100%{opacity:.75;transform:scale(1)}50%{opacity:1;transform:scale(1.06)}}
@keyframes asHeat{0%{opacity:0;transform:translateX(0)}35%{opacity:1}100%{opacity:0;transform:translateX(-34px)}}
@keyframes asHotMotor{0%,100%{filter:none}50%{filter:drop-shadow(0 0 6px rgba(232,64,44,.75))}}
@keyframes asFlow{to{stroke-dashoffset:-28}}
@media (prefers-reduced-motion:reduce){#assist .as-hotglow,#assist .as-heat path,#assist .as-air path,#assist .as-motor{animation:none!important}.as-heat path{opacity:.8}}
@media (max-width:900px){.r-body.as-body-grid{grid-template-columns:1fr}.as-card header h3{font-size:1.4em}}
/* Quill shaft or bellows (#coupling): both couplings drawn in the tail cone they must pass through. */
#cp-base text{font:500 18px 'Barlow',Arial,sans-serif;fill:#4a5c6e}
.cp-rotor{fill:#1f6fd6;stroke:#0d4ea0;stroke-width:2}
.cp-shaft{fill:#b9c6d3;stroke:#4a5c6e;stroke-width:2}.cp-shaft.g{fill:#c9d3dc}
.cp-coneface{fill:rgba(0,102,215,.05);stroke:none}
.cp-cone{fill:none;stroke:#8193a5;stroke-width:4;stroke-linecap:round}
.cp-wheel{fill:#d7e0e8;stroke:#8193a5;stroke-width:2.5;stroke-linejoin:round}
.cp-bellows .hub{fill:#dfe6ec;stroke:#4a5c6e;stroke-width:2}
.cp-bellows .bel{fill:none;stroke:#4a5c6e;stroke-width:2.4;stroke-linejoin:round}
.cp-bellows .scr{fill:#fff;stroke:#4a5c6e;stroke-width:2}
.cp-clash ellipse{fill:rgba(221,55,74,.18);stroke:var(--red);stroke-width:2;stroke-dasharray:6 5}
.cp-dim path{fill:none;stroke:#8193a5;stroke-width:1.4}.cp-dim text{font:600 19px 'Barlow',Arial,sans-serif;fill:#4a5c6e}
.cp-quill .q{fill:#9fb0c0;stroke:#4a5c6e;stroke-width:2}
.cp-quill .spl{fill:#dfe6ec;stroke:var(--blue);stroke-width:2}.cp-quill .tooth{stroke:var(--blue);stroke-width:1.4}
.cp-push path{fill:none;stroke:var(--blue);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}.cp-push text{fill:var(--blue);font-weight:600}
.cp-quill{transform-box:view-box}
#coupling .as-card .r-list{font-size:.88em}#coupling .as-card{gap:.5em}
#coupling.active-screen .cp-clash ellipse{animation:cpClash 1.6s ease-in-out infinite}
#coupling.active-screen .cp-b.is-shown .cp-quill{animation:cpPush 4.2s cubic-bezier(.65,0,.35,1) .3s infinite}
#coupling.active-screen .cp-b.is-shown .cp-push{animation:cpPushArrow 4.2s ease .3s infinite}
@keyframes cpClash{0%,100%{opacity:.45}50%{opacity:1}}
@keyframes cpPush{0%{transform:translateX(-70px);opacity:.35}35%,100%{transform:none;opacity:1}}
@keyframes cpPushArrow{0%{opacity:1;transform:translateX(-10px)}35%{opacity:1;transform:none}60%,100%{opacity:.35}}
@media (prefers-reduced-motion:reduce){#coupling .cp-clash ellipse,#coupling .cp-quill,#coupling .cp-push{animation:none!important}}
/* Cinematic frame: while the Stage 3 intro plays, the header, act rail and footer take the intro's slate, then ease
   back to paper with the dissolve. */
body.cine .header,body.cine .presentation-bar,body.cine .act-rail{background:#0b1118!important;color:#e6edf4!important}
body.cine .act-rail{--rule:rgba(255,255,255,.14)!important;--done:rgba(255,255,255,.4)!important;--on:var(--cyan)!important}
body.cine .header nav a{color:rgba(230,237,244,.6)!important}
body.cine .header .brand-m .m-letter{fill:#fff!important}
body.cine .present-btn,body.cine .presentation-bar button{color:#e6edf4!important}
body.cine .step-pips{color:#fff!important}
body.cine-out .header,body.cine-out .presentation-bar,body.cine-out .act-rail,body.cine-out .header nav a,body.cine-out .presentation-bar button,body.cine-out .step-pips{transition:background-color 1.6s cubic-bezier(.45,0,.25,1),color 1.6s cubic-bezier(.45,0,.25,1)!important}
body.cine-out .header .brand-m .m-letter{transition:fill 1.6s cubic-bezier(.45,0,.25,1)}
.xp-intro::before{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);-webkit-mask-image:radial-gradient(ellipse 60% 55% at 50% 48%,transparent 55%,#000 100%);mask-image:radial-gradient(ellipse 60% 55% at 50% 48%,transparent 55%,#000 100%)}
.xp-intro::after{content:'';position:absolute;inset:0;z-index:2;pointer-events:none;background:radial-gradient(ellipse 75% 70% at 50% 48%,transparent 55%,rgba(0,0,0,.55) 100%)}
.xp-intro-cap{position:absolute;z-index:3;left:var(--gutter,48px);bottom:clamp(24px,5vh,56px);margin:0;color:#fff;opacity:0;transform:translateY(10px);transition:opacity .8s ease,transform 1s cubic-bezier(.16,1,.3,1)}
.xp-intro.on .xp-intro-cap{animation:capIn 1s cubic-bezier(.16,1,.3,1) 4.6s both}
@keyframes capIn{to{opacity:1;transform:none}}
.xp-intro-cap b{display:block;font:500 clamp(34px,3.4vw,58px)/1 'Barlow Condensed',Arial,sans-serif;letter-spacing:-.01em}
.xp-intro-cap span{display:block;margin-top:.5em;font:500 13px/1 'Barlow',Arial,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:var(--cyan)}
@media (prefers-reduced-motion:reduce){.xp-intro{display:none!important}}
.wow-strips{min-height:0}
.wow-strip{display:grid;grid-template-columns:minmax(0,1.1fr) repeat(4,minmax(0,1fr));gap:clamp(16px,2.2vw,36px);align-items:end;padding-top:.9em;border-top:2px solid var(--blue)}
.r-body .wow-lab{margin:0;font:500 1.55em/1.05 'Barlow Condensed','Barlow',Arial,sans-serif;color:var(--ink)}
.wow-lab span{display:block;margin-top:.3em;font:400 .62em/1.3 'Barlow',Arial,sans-serif;color:var(--muted)}
.wow-lab i{display:inline-block;width:.8em;height:.8em;margin:0 .3em 0 .1em;vertical-align:-.05em}
.wow-lab i.cap-epod{background:#5aa7f2}.wow-lab i.cap-turbo{background:#c4d0dc;margin-left:.8em}
.wow-strip .r-kpi strong{font-size:2.4em}
@media (max-width:900px){.wow-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.wow-lab{grid-column:1/-1}}
@media (prefers-reduced-motion:reduce){#section .wow-stage canvas{animation:none!important}.wow-c,.wow-grid,.wow-badge{transition:none}}
/* Pin or new system (redesigned 11 Nov 2026): two option cards with an explaining drawing each. A: the stock pin
   slides out and the maraging pin slides in, then the stock rod shank lights up as the new weak point. B: piston, pin
   and rod slide out together, then the forged piston, the 300M pin and the X-beam rod slide in, one after the other. */
.dc-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--r-gap)}
.dc-card{display:flex;flex-direction:column;gap:.6em;min-height:0;padding:1.1em 1.4em;background:var(--r-panel)}
.dc-card.dc-b{box-shadow:inset 0 0 0 2px var(--cyan)}
.dc-tag{display:block;font:500 max(12px,.8em)/1 'Barlow',Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:var(--cyan)}
.dc-card h3{margin:.3em 0 .15em;font-size:1.9em;color:#fff}
.r-body .dc-card header p{color:var(--muted);font-size:1.1em}
.dc-art{flex:1;min-height:0;width:100%;height:auto;fill:none;stroke:rgba(255,255,255,.55);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;overflow:visible}
.dc-art .b{fill:rgba(255,255,255,.08)}.dc-art .h{fill:#08131f}.dc-art .n{fill:rgba(133,212,255,.22);stroke:var(--cyan)}
.dc-art .dc-in{stroke:var(--cyan)}
/* The crankshaft stays: its crank pin never leaves the drawing. */
.dc-art .dc-crank circle{stroke:rgba(255,255,255,.55)}
.dc-art text{stroke:none;fill:#fff;font:500 17px 'Barlow',Arial,sans-serif}.dc-art text.v{fill:var(--cyan);font:500 22px 'Barlow Condensed',Arial,sans-serif}
.dc-art .dc-note path{stroke:var(--cyan);stroke-width:1.4}
.dc-art .warn path{stroke:var(--red)}.dc-art .warn text.v{fill:#ff8a96}
.dc-card footer{display:flex;justify-content:space-between;align-items:baseline;gap:1em;padding-top:.6em;border-top:1px solid var(--r-line)}
.r-body .dc-card footer b{font:500 1.7em/1.1 'Barlow Condensed',Arial,sans-serif;color:#fff}
.r-body .dc-verdict{font-size:1.15em;font-weight:600;letter-spacing:.04em}.dc-verdict.out{color:var(--r-warn)}.dc-verdict.go{color:var(--cyan)}
/* Choreography */
.dc-art g{transform-box:view-box}
.dc-in,.dc-note{opacity:0}
@keyframes dcOut{to{transform:translateX(-120px);opacity:0}}
@keyframes dcIn{from{transform:translateX(130px);opacity:0}to{transform:none;opacity:1}}
@keyframes dcFade{from{opacity:0}to{opacity:1}}
@keyframes dcWarn{0%{fill:rgba(255,255,255,.08)}50%{fill:rgba(221,55,74,.6)}100%{fill:rgba(221,55,74,.35)}}
#decision.active-screen .dc-a .dc-pin-old{animation:dcOut .7s cubic-bezier(.6,0,.4,1) .8s forwards}
#decision.active-screen .dc-a .dc-pin-new{animation:dcIn .8s cubic-bezier(.16,1,.3,1) 1.4s both}
#decision.active-screen .dc-a .dc-n1{animation:dcFade .5s ease 2.1s both}
#decision.active-screen .dc-a .dc-shank{animation:dcWarn 1.4s ease 2.6s both;fill:rgba(221,55,74,.35)}
#decision.active-screen .dc-a .dc-n2{animation:dcFade .5s ease 2.9s both}
.dc-b.is-shown .dc-o1{animation:dcOut .7s cubic-bezier(.6,0,.4,1) .5s forwards}
.dc-b.is-shown .dc-o2{animation:dcOut .7s cubic-bezier(.6,0,.4,1) .65s forwards}
.dc-b.is-shown .dc-o3{animation:dcOut .7s cubic-bezier(.6,0,.4,1) .8s forwards}
.dc-b.is-shown .dc-i1{animation:dcIn .8s cubic-bezier(.16,1,.3,1) 1.4s both}
.dc-b.is-shown .dc-i3{animation:dcIn .8s cubic-bezier(.16,1,.3,1) 1.65s both}
.dc-b.is-shown .dc-i2{animation:dcIn .8s cubic-bezier(.16,1,.3,1) 1.9s both}
.dc-b.is-shown .dc-m1{animation:dcFade .5s ease 2.3s both}.dc-b.is-shown .dc-m3{animation:dcFade .5s ease 2.5s both}.dc-b.is-shown .dc-m2{animation:dcFade .5s ease 2.7s both}
@media (prefers-reduced-motion:reduce),(max-width:900px){
 .dc-art *{animation:none!important}
 .dc-a .dc-pin-old,.dc-b .dc-out{opacity:0}
 .dc-in,.dc-note{opacity:1}
 .dc-a .dc-shank{fill:rgba(221,55,74,.35)}
}
@media (max-width:900px){.dc-body{grid-template-columns:1fr}.dc-art{max-height:42vh}}
/* Stage 2 (reworked 11 Nov 2026): 0 the pressure limit of the stock hardware, 1 hybrid turbo against turbo
   replacement with one drawing each, 2 the result. */
.s2-flow>.s2-step{display:flex;flex-direction:column;justify-content:center;gap:clamp(18px,3vh,36px);min-height:0}
.r-body .s2-q{margin:0;font:500 clamp(26px,2.3vw,38px)/1.1 'Barlow Condensed','Barlow',Arial,sans-serif;color:var(--r-strong)}
.s2-q span{display:block;margin-bottom:.35em;font:500 max(12px,.4em)/1 'Barlow',Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:var(--r-accent)}
.s2-limit-row{display:grid;grid-template-columns:auto auto minmax(0,1fr);gap:clamp(24px,3.4vw,56px);align-items:center}
.s2-result .s2-limit-row{grid-template-columns:auto minmax(0,1fr)}
.s2-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--r-gap);min-height:0}
.s2-card{display:flex;flex-direction:column;gap:.5em;padding:1.1em 1.3em;background:var(--r-panel)}
.s2-card.go{box-shadow:inset 0 0 0 2px var(--r-accent)}
.s2-card h3{margin:.2em 0 0;font-size:1.6em}
.r-body .s2-card p{color:var(--muted);font-size:1.1em}
.s2-verdict{margin-top:auto;padding-top:.5em;font-weight:500;color:var(--r-accent)}
.s2-card.out .s2-verdict{color:var(--r-warn)}
.s2-art{width:100%;height:auto;max-height:28vh;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.s2-art .g{stroke:rgba(255,255,255,.45)}.s2-art .a{stroke:var(--cyan)}
.s2-art .g.f{fill:rgba(255,255,255,.06)}.s2-art .a.f{fill:rgba(133,212,255,.14)}
.s2-art .dash{stroke-dasharray:5 5}.s2-art .thin{stroke-width:1.2}
.s2-art .lbl{stroke:none;fill:rgba(255,255,255,.7);font:500 13px 'Barlow',Arial,sans-serif}.s2-art .lbl.a{fill:var(--cyan)}
@media (max-width:900px){.s2-limit-row,.s2-cards{grid-template-columns:1fr}}
/* Stage 2 boost sweep: a manometer beside the usual safety factors (12 Nov 2026). */
.s2-sweep-row{display:grid;grid-template-columns:minmax(0,.78fr) minmax(0,1.5fr);gap:clamp(24px,3.4vw,64px);align-items:center;min-height:0}
.s2-gauge{margin:0;min-height:0;display:flex;justify-content:center}
.s2-gauge svg{width:100%;max-width:360px;max-height:min(46vh,380px);height:auto;overflow:visible}
.s2-gauge .g-track{fill:none;stroke:rgba(255,255,255,.16);stroke-width:3}
.s2-gauge .g-run{fill:none;stroke:var(--cyan);stroke-width:6;stroke-dasharray:100 100;stroke-dashoffset:100;transition:stroke-dashoffset 640ms cubic-bezier(.34,1.25,.64,1)}
.s2-gauge .g-red{fill:none;stroke:#ff5a4e;stroke-width:12;opacity:0;transition:opacity 420ms ease}
.s2-gauge .g-red.on{opacity:.9}
.s2-gauge .mn{stroke:rgba(255,255,255,.35);stroke-width:1.2}
.s2-gauge .mj{stroke:#fff;stroke-width:2.4}
.s2-gauge text{font-family:'Barlow',Arial,sans-serif;text-anchor:middle;fill:rgba(255,255,255,.72)}
.s2-gauge .tl{font-size:15px;font-weight:500}
.s2-gauge .g-s1{font-size:12px;font-weight:500;letter-spacing:.06em;fill:var(--cyan)}
.s2-gauge .g-needle{transform-box:view-box;transform-origin:160px 160px;transition:transform 640ms cubic-bezier(.34,1.25,.64,1)}
.s2-gauge .g-needle path{stroke:#fff;stroke-width:3.5;stroke-linecap:round}
.s2-gauge .g-needle circle{fill:#fff}
.s2-gauge .g-val{font:500 50px 'Barlow Condensed',Arial,sans-serif;fill:#fff;letter-spacing:-.01em}
.s2-gauge .g-unit{font-size:12.5px;letter-spacing:.04em}
.s2-gauge .g-cv{font:500 22px 'Barlow Condensed',Arial,sans-serif;fill:var(--cyan)}
.s2-gauge svg.alarm .g-needle path,.s2-gauge svg.alarm .g-val{stroke:#ff5a4e}
.s2-gauge svg.alarm .g-val{fill:#ff5a4e;stroke:none}
.s2-gauge svg.alarm .g-needle circle{fill:#ff5a4e}
.s2-gauge svg.instant *{transition:none!important}
.s2-sweep-sf{gap:1.1em}
#s2-sweep-bars .r-fill{transition:width 640ms cubic-bezier(.16,1,.3,1),background-color 300ms}
#s2-sweep-bars.instant .r-fill{transition:none}
#s2-sweep-bars .r-bar .r-mark{background:#ff5a4e}
#s2-sweep-bars .r-bar.low>span{color:var(--r-strong);font-weight:500}
#s2-sweep-bars .r-bar.low>strong{color:var(--r-warn)}
#s2-sweep-bars .r-bar.fail .r-fill{background:#ff5a4e}
#s2-sweep-bars .r-bar.fail>strong,#s2-sweep-bars .r-bar.fail>span{color:#ff5a4e}
.s2-status{margin:0;min-height:2.6em;font-size:1.1em;line-height:1.35;color:var(--muted)}
.s2-status b{font-weight:500;color:var(--r-strong)}
.s2-status.fail,.s2-status.fail b{color:#ff5a4e}
.s2-source{margin:0;max-width:110ch}
.s2-comb-row{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,.8fr);gap:clamp(24px,3.4vw,64px);align-items:center}
.s2-comb .r-fromto dt small{display:block;margin-top:.3em;font-size:.84em;line-height:1.3;color:var(--muted);font-weight:400}
.s2-comb-side{gap:1em}
@media (max-width:900px){.s2-sweep-row,.s2-comb-row{grid-template-columns:1fr}}
/* Stage 3 landing (12 Nov 2026, restyle after review): where Stage 2 stopped, then the three systems that change,
   one per step, then the result. */
.r-body.s3k{display:grid;grid-template-columns:none;grid-template-rows:auto auto auto;align-content:center;gap:clamp(14px,2.6vh,30px)}
.s3k-from{display:flex;flex-wrap:wrap;align-items:baseline;gap:.35em .7em;font-size:1.12em;color:var(--muted)}
.s3k-from span{font:500 .72em/1 'Barlow',Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:var(--r-warn);padding:.35em .6em;border:1px solid currentColor}
.s3k-from b{font-weight:500;color:#fff}
.s3k-systems{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--r-gap)}
.s3k-sys{position:relative;display:flex;flex-direction:column;gap:.85em;padding:clamp(14px,1.4vw,24px);background:var(--r-panel);border-top:3px solid var(--cyan)}
.s3k-sys header{display:grid;grid-template-columns:auto auto minmax(0,1fr);gap:.9em;align-items:center}
.s3k-sys .n{font:500 1.1em/1 'Barlow Condensed',Arial,sans-serif;color:var(--cyan);align-self:start}
.s3k-icon{width:clamp(44px,4vw,64px);height:auto;fill:none;stroke:var(--cyan);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.s3k-icon .f{fill:rgba(133,212,255,.12)}
.r-body .s3k-sys h3{margin:0;font-size:1.75em}
.s3k-how{display:block;margin-top:.3em;font-size:.82em;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.s3k-list{margin:0;display:flex;flex-direction:column}
.s3k-list>div{display:flex;justify-content:space-between;align-items:baseline;gap:1em;padding:.5em 0;border-top:1px solid var(--r-line)}
.s3k-list>div:last-child{border-bottom:1px solid var(--r-line)}
.s3k-list dt{color:var(--muted);font-size:.95em}
.s3k-list dd{margin:0;text-align:right;font:500 1.32em/1.1 'Barlow Condensed',Arial,sans-serif;color:#fff}
.r-body .s3k-why{margin-top:auto;font-size:.98em;line-height:1.4;color:#c3d1e0}
.s3k-result{display:grid;grid-template-columns:auto auto minmax(0,1fr);gap:clamp(24px,3.4vw,56px);align-items:end}
.s3k-result .r-lede{max-width:40ch}
@media (max-width:900px){.s3k-systems,.s3k-result{grid-template-columns:1fr}}
/* Stage 3 remaining limits: an icon over each margin; then the Stage 2 → Stage 3 safety factors as bars. */
.s3l-item{display:flex;flex-direction:column;gap:1em}
.s3l-icon{width:clamp(56px,5vw,84px);height:auto;fill:none;stroke:var(--cyan);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.s3l-icon .f{fill:rgba(133,212,255,.12)}.s3l-icon .dot{fill:var(--cyan)}
.s3l-sf{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,.8fr);gap:var(--r-gap);min-height:0}
@media (max-width:900px){.s3l-sf{grid-template-columns:1fr}}
/* Pod cap-stator clearance: the report figure with the chains drawn over it, the running list beside (12 Nov 2026). */
.r-body.stk{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:clamp(20px,2.6vw,44px);align-items:center;--fwd:#3d9bff;--ret:#2fb35a;--gap:#ff4b3e}
.stk-left{display:flex;flex-direction:column;gap:14px;min-width:0}
.stk-fig{position:relative;margin:0;background:#fff;padding:10px}
.stk-fig img{display:block;width:100%;height:auto}
.stk-fig svg{position:absolute;inset:10px;width:calc(100% - 20px);height:calc(100% - 20px)}
.stk-veil{fill:#fff;opacity:.5}
.stk-seg{fill:none;stroke-width:9;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset .55s cubic-bezier(.65,0,.35,1)}
.stk-seg.fwd{stroke:var(--fwd)}.stk-seg.ret{stroke:var(--ret)}
.stk-tick{stroke-width:4;opacity:0;transition:opacity .2s}.stk-tick.fwd{stroke:var(--fwd)}.stk-tick.ret{stroke:var(--ret)}
.stk.s1 .stk-seg.fwd,.stk.s2 .stk-seg.ret{stroke-dashoffset:0;transition-delay:calc(var(--k)*.5s + .25s)}
.stk.s1 .stk-tick.fwd,.stk.s2 .stk-tick.ret{opacity:1;transition-delay:calc(var(--k)*.5s + .7s)}
.stk-gapband{fill:var(--gap);opacity:.35;animation:stkPulse 1.6s ease-in-out infinite}
.stk-gapline{stroke:var(--gap);stroke-width:7;stroke-linecap:round}
.stk.s1:not(.s3) .stk-gapband{animation:none;opacity:.15}
.stk.s3 .stk-gapband{animation:stkPulse 1.1s ease-in-out infinite}
@keyframes stkPulse{0%,100%{opacity:.2}50%{opacity:.75}}
.stk-band svg{display:block;width:100%;height:auto}
.stk-win{fill:rgba(47,179,90,.2);stroke:var(--ret);stroke-width:1.5;stroke-dasharray:5 4}
.stk-wl{fill:#9fd8b0;font:500 13px 'Barlow',Arial,sans-serif;text-anchor:middle}
.stk-axis{stroke:rgba(255,255,255,.5);stroke-width:1.2}
.stk-tl{fill:#9fb4c4;font:500 13px 'Barlow',Arial,sans-serif;text-anchor:middle}
.stk-range{fill:var(--gap);opacity:.85;transform:scaleX(.02);transition:transform 1.2s cubic-bezier(.16,1,.3,1) .4s}
.stk.s4 .stk-range{transform:none}
.stk-nom{stroke:#fff;stroke-width:2.5}
.stk-rl{fill:#fff;font:600 14px 'Barlow Condensed',Arial,sans-serif;opacity:0;transition:opacity .4s 1.2s}
.stk.s4 .stk-rl{opacity:1}
.stk-side{display:flex;flex-direction:column;gap:.6em;font-size:clamp(12.5px,.92vw,15.5px);min-width:0}
.stk-req{margin:0;color:#c3d1e0}
.stk-req span,.stk-gap span,.stk-wc span{display:block;font:500 12px/1 'Barlow',Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#9fb4c4;margin-bottom:.45em}
.stk-req b{display:block;font:500 clamp(30px,2.6vw,42px)/1 'Barlow Condensed',Arial,sans-serif;color:var(--gap);margin-bottom:.15em}
.stk-req small,.stk-gap small,.stk-wc small,.stk-sum small{font:400 .55em 'Barlow',Arial,sans-serif;color:#9fb4c4}
.stk-chain h4{display:flex;align-items:center;gap:.5em;margin:0 0 .35em;font:500 13px/1.2 'Barlow',Arial,sans-serif;letter-spacing:.04em;color:#c3d1e0}
.stk-chain h4 i{width:12px;height:4px;flex:none}.stk-chain.fwd h4 i{background:var(--fwd)}.stk-chain.ret h4 i{background:var(--ret)}
.stk-chain ol{list-style:none;margin:0;padding:0}
.stk-chain li{display:flex;justify-content:space-between;gap:1em;padding:.22em 0 .22em .7em;border-left:3px solid transparent;color:#9fb4c4;transition:color .3s,border-color .3s}
.stk-chain li b{font:500 1.15em/1.1 'Barlow Condensed',Arial,sans-serif;color:#c3d1e0;white-space:nowrap}
.stk.s1 .stk-chain.fwd li,.stk.s2 .stk-chain.ret li{color:#fff;transition-delay:calc(var(--k)*.5s + .5s)}
.stk.s1 .stk-chain.fwd li{border-color:var(--fwd)}.stk.s2 .stk-chain.ret li{border-color:var(--ret)}
.stk-sum{margin:.3em 0 0;display:flex;justify-content:space-between;color:#c3d1e0;border-top:1px solid rgba(255,255,255,.18);padding-top:.3em}
.stk-sum b{font:500 1.35em/1 'Barlow Condensed',Arial,sans-serif;color:#fff}
.stk-gap,.stk-wc{margin:0;color:#c3d1e0}
.stk-gap b{font:500 1.8em/1 'Barlow Condensed',Arial,sans-serif;color:var(--gap)}
.stk-wc b{font:500 1.4em/1 'Barlow Condensed',Arial,sans-serif;color:#fff}
.stk-wc em{display:block;margin-top:.35em;font-style:normal;font-size:.92em;line-height:1.4;color:#9fb4c4}
@media(max-width:900px){.r-body.stk{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.stk-seg,.stk-range,.stk-rl,.stk-chain li{transition:none!important}.stk-gapband{animation:none}}
/* Conrod chapter, last step: close-up of the shank section, stock I into X-beam X (12 Nov 2026). */
#cad .rod-layout{position:relative}
.rodsec{position:absolute;inset:0;z-index:9;display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:clamp(20px,3vw,48px);align-items:center;background:var(--night)}
.rodsec-svg{width:100%;height:100%;max-height:100%;overflow:visible}
.rodsec .rs-body{fill:rgba(159,180,196,.16);stroke:#9fb4c4;stroke-width:1.6}
.rodsec .rs-hole{fill:var(--night);stroke:#9fb4c4;stroke-width:1.2}
.rodsec .rs-split{stroke:#9fb4c4;stroke-width:1;stroke-dasharray:4 4}
.rodsec .rs-axis,.rodsec .rs-axes{stroke:rgba(255,255,255,.28);stroke-width:1;stroke-dasharray:10 4 2 4;fill:none}
.rodsec .rs-cut{transition:transform 1s cubic-bezier(.65,0,.35,1);transform-box:view-box}
.rodsec .rs-cut path{stroke:#ff5a4e;stroke-width:2.5}.rodsec .rs-cut .rs-tick{stroke-width:2}
.rodsec .rs-cut text{fill:#ff5a4e;font:600 15px 'Barlow',Arial,sans-serif;letter-spacing:.06em}
.rodsec .rs-tie path{stroke:rgba(255,90,78,.55);stroke-width:1.2;stroke-dasharray:3 5;fill:none}
.rodsec .rs-tie{opacity:0;transition:opacity .5s ease .3s}
.rodsec .rs-sec{opacity:0;transform:scale(.06);transition:transform 1.3s cubic-bezier(.16,1,.3,1),opacity .4s ease}
.rodsec.lift .rs-sec{opacity:1;transform:none}.rodsec.lift .rs-tie{opacity:1}
.rodsec .rs-shape{stroke-width:2;transition:fill .9s ease,stroke .9s ease,opacity .9s ease}
.rodsec .rs-a{fill:rgba(159,180,196,.55);stroke:#fff}
.rodsec .rs-b{fill:rgba(90,167,242,0);stroke:rgba(133,212,255,0)}
.rodsec.is-x .rs-a{fill:rgba(159,180,196,0);stroke:rgba(255,255,255,.55);stroke-dasharray:6 5}
.rodsec.is-x .rs-b{fill:rgba(90,167,242,.66);stroke:#85d4ff}
.rodsec.reset *{transition:none!important}
.rodsec .rs-ax{fill:rgba(255,255,255,.55);font:italic 500 18px 'Barlow',Arial,sans-serif}
.rodsec .rs-dims path{stroke:rgba(255,255,255,.6);stroke-width:1.2;fill:none}
.rodsec .rs-dims text{fill:#c3d1e0;font:500 16px 'Barlow',Arial,sans-serif;text-anchor:middle}
.rodsec .rs-dims text.rs-v{text-anchor:start}
.rodsec-side{display:flex;flex-direction:column;gap:1.1em}
.rodsec-tag{margin:0}
.rodsec-tag span{display:block;font:500 13px/1 'Barlow',Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:var(--cyan);margin-bottom:.5em}
.rodsec-tag b{font:500 clamp(30px,2.8vw,44px)/1 'Barlow Condensed',Arial,sans-serif;color:#fff}
.rodsec-table{width:100%;border-collapse:collapse;font-size:clamp(14px,1.05vw,17px)}
.rodsec-table th,.rodsec-table td{padding:.55em .4em;border-top:1px solid rgba(255,255,255,.14);text-align:right;font-weight:400;color:#c3d1e0}
.rodsec-table th:first-child{text-align:left}
.rodsec-table thead th{border-top:0;font-size:.85em;letter-spacing:.06em;text-transform:uppercase;color:#9fb4c4}
.rodsec-table td{font:500 1.25em/1 'Barlow Condensed',Arial,sans-serif;color:#fff}
.rodsec-table td small{font:400 .62em 'Barlow',Arial,sans-serif;color:#9fb4c4}
.rodsec-table .xb{color:var(--cyan);opacity:0;transition:opacity .6s ease}
.rodsec.x-cols .rodsec-table .xb{opacity:1}
.rodsec-table tr.hl td,.rodsec-table tr.hl th{border-bottom:1px solid rgba(255,255,255,.14)}
.rodsec-note{margin:0;font-size:clamp(14px,1vw,16px);line-height:1.45;color:#c3d1e0}
@media(max-width:900px){.rodsec{position:relative;grid-template-columns:1fr}}
/* Revised layout: CAD with the cutting plane left, the section panel right (no overlay). */
#cad .rod-layout.cad-sec{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr)}
#cad .rod-layout.cad-sec>.rod-view{min-height:0}
.rodsec.rodsec-side-only{position:static;inset:auto;z-index:auto;display:flex;background:none;align-items:center;min-height:0;overflow:hidden}
.rodsec-side-only .rodsec-side{width:100%;gap:.55em}
.rodsec-side-only .rodsec-svg{display:block;width:100%;height:clamp(130px,21vh,210px);max-height:none}
.rodsec-side-only .rodsec-tag b{font-size:clamp(26px,2.2vw,36px)}
.rodsec-side-only .rodsec-table{font-size:clamp(13px,.95vw,15px)}
.rodsec-side-only .rodsec-table th,.rodsec-side-only .rodsec-table td{padding:.38em .4em}
.rodsec-side-only .rodsec-note{font-size:clamp(13px,.9vw,14px);line-height:1.4}
.rod-cut-tag{position:absolute;right:14px;top:50%;font:600 13px/1 'Barlow',Arial,sans-serif;letter-spacing:.06em;color:#ff5a4e;pointer-events:none}
.rodsec-step{display:none}
@media(prefers-reduced-motion:reduce){.rodsec .rs-cut,.rodsec .rs-sec,.rodsec .rs-tie,.rodsec .rs-shape{transition:none}}
/* Stage 3 crank mechanism in motion, beside the Stage 2 → Stage 3 safety factors (12 Nov 2026). */
.r-body.crank3-body{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:var(--space-section,48px);align-items:stretch}
.crank3-stage{position:relative;min-height:0;background:radial-gradient(ellipse at 50% 55%,rgba(90,167,242,.13),transparent 68%)}
.crank3-stage canvas{position:absolute;inset:0;width:100%;height:100%;display:block;cursor:grab;touch-action:none}
.crank3-stage canvas:active{cursor:grabbing}
.crank3-stage .model-badge{position:absolute;left:0;top:0;font-size:12px;letter-spacing:.06em;color:#9fb4c4}
.crank3-legend{position:absolute;left:0;bottom:0;margin:0;display:flex;align-items:center;gap:.5em;font-size:.85em;color:#c3d1e0}
.crank3-legend span{display:inline-block;width:.8em;height:.8em;margin-left:.9em}.crank3-legend span:first-child{margin-left:0}
.crank3-legend .new{background:#8cc4f2}.crank3-legend .stock{background:#8a97a6}
.crank3-sf{display:flex;flex-direction:column;gap:.8em;min-height:0;font-size:.98em}
.crank3-head{display:flex;justify-content:space-between;align-items:flex-end;gap:1em}
.crank3-kpi{border-top:0;padding-top:0;text-align:right}.crank3-kpi strong{font-size:3.2em}
.crank3-sf .r-lede{color:#c3d1e0}
.crank3-sf #s3-sf-bars{flex:1;min-height:0;font-size:1.06em}
@media (max-width:900px){.r-body.crank3-body{grid-template-columns:1fr}.crank3-stage{min-height:300px}}
/* Drawings: three folders; pointing at one fans its sheets out above it (12 Nov 2026). */
.r-body.drw-body{display:flex;flex-direction:column;justify-content:flex-end;align-items:stretch;gap:clamp(10px,2vh,22px)}
.drw-folders{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--r-gap);align-items:end}
.drw-folder{--sw:clamp(118px,10.5vw,172px);position:relative;justify-self:center;width:min(100%,380px);height:clamp(160px,25vh,230px);cursor:pointer;outline:none}
.drw-folder:focus-visible{outline:3px solid var(--cyan);outline-offset:6px}
.drw-back{position:absolute;inset:16px 0 0;background:#0753a6}
.drw-back::before{content:'';position:absolute;left:0;top:-16px;width:42%;height:17px;background:#0753a6;clip-path:polygon(0 0,82% 0,100% 100%,0 100%)}
.drw-fan{position:absolute;left:50%;bottom:clamp(44px,7vh,64px);width:0;height:0;z-index:2}
.drw-sheet{position:absolute;left:0;bottom:0;width:var(--sw);aspect-ratio:2200/1555;padding:0;border:0;background:#fff;cursor:zoom-in;box-shadow:0 1px 2px rgba(8,19,31,.25),0 6px 18px rgba(8,19,31,.14);
 transform:translate(-50%,calc(var(--i)*-3px)) rotate(var(--rr));transition:transform .6s cubic-bezier(.34,1.32,.64,1) calc(var(--i)*28ms),box-shadow .25s}
.drw-sheet img{display:block;width:100%;height:100%;object-fit:cover}
.drw-sheet span{position:absolute;left:50%;top:calc(100% + 8px);translate:-50% 0;white-space:nowrap;padding:.35em .6em;background:var(--ink);color:#fff;font:500 13px/1.1 'Barlow',Arial,sans-serif;opacity:0;pointer-events:none;transition:opacity .2s}
.drw-sheet span b{margin-right:.45em;color:var(--cyan);font-weight:500}
.drw-folder:hover .drw-sheet,.drw-folder.open .drw-sheet,.drw-folder:focus-within .drw-sheet{transform:translate(calc(-50% + var(--fx)),var(--fy)) rotate(var(--fr))}
.drw-folder:hover .drw-sheet:hover,.drw-folder.open .drw-sheet:hover,.drw-folder .drw-sheet:focus-visible{z-index:9;transform:translate(calc(-50% + var(--fx)),calc(var(--fy) - 18px)) rotate(0deg) scale(1.28);transition-delay:0s;box-shadow:0 2px 4px rgba(8,19,31,.25),0 18px 40px rgba(8,19,31,.3)}
.drw-sheet:hover span,.drw-sheet:focus-visible span{opacity:1}
.drw-front{position:absolute;left:0;right:0;bottom:0;height:70%;z-index:3;display:flex;align-items:flex-end;gap:.7em;padding:0 1.1em .9em;color:#fff;background:linear-gradient(180deg,#1a7ae6,#0066d7 60%);transform-origin:50% 100%;transition:transform .55s cubic-bezier(.16,1,.3,1);pointer-events:none}
.drw-folder:hover .drw-front,.drw-folder.open .drw-front,.drw-folder:focus-within .drw-front{transform:perspective(900px) rotateX(34deg)}
.drw-count{font:300 clamp(46px,4.4vw,72px)/.8 'Barlow Condensed',Arial,sans-serif;letter-spacing:-.02em}
.drw-name{font:500 clamp(20px,1.7vw,28px)/1.05 'Barlow Condensed',Arial,sans-serif}
.drw-name small{display:block;margin-top:.3em;font:400 13px/1.2 'Barlow',Arial,sans-serif;color:#dcecff;letter-spacing:.02em}
.drw-hint{margin:0;text-align:center;font-size:.9em;color:var(--muted)}
@media (max-width:900px){.drw-folders{grid-template-columns:1fr;gap:150px;padding-top:150px}.drw-folder{--sw:110px}}
@media (prefers-reduced-motion:reduce){.drw-sheet,.drw-front{transition:none}}
/* Drawing viewer: full screen, zoom about the pointer, drag to pan, the other sheets in a strip. */
#drw-viewer{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#08131f;color:#fff;overflow:hidden}
#drw-viewer[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}
#drw-viewer::backdrop{background:rgba(8,19,31,.7)}
.dv-top{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:14px 22px}
.dv-title span{display:block;font:500 12px/1 'Barlow',Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:var(--cyan);margin-bottom:6px}
.dv-title b{font:500 28px/1 'Barlow Condensed',Arial,sans-serif;color:#fff}
.dv-tools{display:flex;align-items:center;gap:6px}
.dv-tools button{min-width:40px;height:38px;padding:0 12px;border:0;background:rgba(255,255,255,.09);color:#fff;font:500 18px/1 'Barlow',Arial,sans-serif;cursor:pointer;transition:background .16s}
.dv-tools button:hover{background:rgba(255,255,255,.18)}
.dv-tools #dv-fit{font-size:14px;letter-spacing:.04em}
#dv-pct{min-width:52px;text-align:center;font:500 15px/1 'Barlow',Arial,sans-serif;color:#c3d1e0;font-variant-numeric:tabular-nums}
.dv-stage{position:relative;overflow:hidden;cursor:zoom-in;touch-action:none;background:#0e2134}
.dv-stage.zoomed{cursor:grab}.dv-stage.dragging{cursor:grabbing}
#dv-img{position:absolute;left:0;top:0;max-width:none;transform-origin:0 0;user-select:none;-webkit-user-drag:none;box-shadow:0 10px 40px rgba(0,0,0,.45)}
.dv-stage.loading #dv-img{opacity:0}
.dv-nav{position:absolute;top:50%;translate:0 -50%;width:52px;height:72px;border:0;background:rgba(8,19,31,.72);color:#fff;font:300 44px/1 'Barlow',Arial,sans-serif;cursor:pointer;z-index:2;transition:background .16s}
.dv-nav:hover{background:var(--blue)}.dv-nav.prev{left:16px}.dv-nav.next{right:16px}
.dv-strip{display:flex;gap:8px;overflow-x:auto;padding:12px 22px 16px;scrollbar-width:thin}
.dv-strip button{flex:none;width:96px;aspect-ratio:2200/1555;padding:0;border:0;background:#fff;opacity:.45;cursor:pointer;transition:opacity .16s,outline-color .16s;outline:2px solid transparent;outline-offset:2px}
.dv-strip button:hover{opacity:.8}.dv-strip button.on{opacity:1;outline-color:var(--cyan)}
.dv-strip img{display:block;width:100%;height:100%;object-fit:cover}
/* Stage loop (redesigned 11 Nov 2026): paper field instead of full BMW blue for legibility; four ruled rows, each
   with the stage number, an illustration of the next stage's response, the limit found, an arrow and the response. */
.loop-rows{list-style:none;margin:0;padding:0;display:grid;grid-template-rows:auto repeat(4,minmax(0,1fr));height:100%;font-size:1.12em}
.loop-rows>li{display:grid;grid-template-columns:3.2em 5.6em minmax(0,1fr) 2.6em minmax(0,1.15fr);align-items:center;column-gap:1.4em;border-bottom:1px solid var(--r-line);padding:.4em 0}
.loop-rows>li.loop-head{border-bottom:1px solid var(--r-line);padding:0 0 .55em;font:500 max(12px,.72em)/1 'Barlow',Arial,sans-serif;letter-spacing:.07em;text-transform:uppercase;color:var(--muted)}
.loop-rows .ln{font:300 2.8em/1 'Barlow Condensed',Arial,sans-serif;color:var(--blue)}
.loop-rows .loop-icon{width:100%;height:auto;max-height:4.6em;fill:none;stroke:var(--blue);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.loop-rows .loop-icon .f{fill:rgba(0,102,215,.09)}
.loop-rows .lim{margin:0;font-size:1.15em;line-height:1.3;color:var(--muted)}
.loop-rows .loop-ar{width:100%;height:auto;fill:none;stroke:var(--blue);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.loop-rows .resp{margin:0;font:500 1.6em/1.1 'Barlow Condensed','Barlow',Arial,sans-serif;color:var(--ink)}
.loop-rows .resp b{display:block;margin-top:.25em;font:500 .55em/1 'Barlow',Arial,sans-serif;letter-spacing:.07em;text-transform:uppercase;color:var(--blue)}
.loop-rows>li:last-child .ln,.loop-rows>li:last-child .resp{color:var(--blue)}
@media (max-width:900px){.loop-rows>li{grid-template-columns:2.4em 3.6em minmax(0,1fr);row-gap:.4em}.loop-rows .loop-ar{display:none}.loop-rows .resp{grid-column:3}.loop-rows>li.loop-head{display:none}}
/* House of Quality, as the report figure, built one room per step with a zooming camera (11 Nov 2026).
   Steps: s1 room 1, s2 room 2, s3 room 3, s4 roof, s5 room 6, s6 room 5, s7 full house. Content arrives with a short
   stagger (--i); frames trace in; the kit lines draw along their points; the roof's key conflict is traced in red. */
.hq-fig{padding:.4em .8em}
.hq-svg{width:100%;height:100%;display:block;font-family:'Barlow',Arial,sans-serif}
.hq-svg text{fill:var(--ink)}
.hq-out{fill:none;stroke:var(--ink);stroke-width:1.6;stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 1.2s cubic-bezier(.65,0,.35,1)}
#hoq-house.active-screen .hq-out{stroke-dashoffset:0}
.hq-line,.hq-grid,.hq-lattice{fill:none;stroke:rgba(17,35,51,.28);stroke-width:.8}
.hq-headbar{fill:rgba(17,35,51,.07)}.hq-headbar.soft{fill:rgba(0,102,215,.07)}
.hq-room{font-size:20px;font-weight:600;letter-spacing:.1em;fill:var(--blue)!important;transition:opacity .5s}
.hq-svg.s1 .hq-names{opacity:0}
.hq-hd{font-size:15px;font-weight:600}
.hq-vhd{font-size:13.5px;font-weight:600}
.hq-ca{font-size:15px}
.hq-sm{font-size:13px}
.hq-w{font:600 18px 'Barlow',Arial,sans-serif}
.hq-ec{font-size:14px}
.hq-dir{font-size:20px;font-weight:600;fill:var(--blue)!important}
.hq-num{font-size:13.5px}.hq-num.b{font-weight:600}
.hq-ring{fill:none;stroke:var(--ink);stroke-width:1.6}.hq-dot{fill:var(--ink)}
.hq-rs{font:500 15px 'Barlow',Arial,sans-serif;fill:var(--blue)!important}.hq-rs.neg{fill:var(--red)!important}.hq-rs.strong{font-weight:700;font-size:16px}
.hq-m0{fill:none;stroke:#1d4fa3;stroke-width:1.6}.hq-m1{fill:none;stroke:#c76a12;stroke-width:1.6}.hq-m2{fill:none;stroke:#2d7a2d;stroke-width:1.6}
.hq-kit{fill:none;stroke:#b3263a;stroke-width:2.2;stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 1.4s cubic-bezier(.65,0,.35,1) .3s}
.hq-kit.drawn{stroke-dasharray:none;stroke-dashoffset:0}
.hq-kitdot{fill:#b3263a}
/* Rooms are hidden until their step, then stay. */
.hq-r1,.hq-r2,.hq-r3,.hq-r4,.hq-r5,.hq-r6,.hq-leg{opacity:0;transition:opacity .5s ease}
.hq-svg.s1 .hq-r1,.hq-svg.s2 .hq-r2,.hq-svg.s3 .hq-r3,.hq-svg.s3 .hq-leg3,.hq-svg.s4 .hq-r4,.hq-svg.s4 .hq-leg4,.hq-svg.s5 .hq-r6,.hq-svg.s5 .hq-leg6,.hq-svg.s6 .hq-r5{opacity:1}
.hq-it{opacity:0;transform:translateY(6px);transform-box:fill-box;transform-origin:center;transition:opacity .45s ease calc(var(--i,0)*45ms),transform .6s cubic-bezier(.16,1,.3,1) calc(var(--i,0)*45ms)}
.hq-svg.s1 .hq-r1 .hq-it,.hq-svg.s2 .hq-r2 .hq-it,.hq-svg.s3 .hq-r3 .hq-it,.hq-svg.s4 .hq-r4 .hq-it,.hq-svg.s5 .hq-r6 .hq-it,.hq-svg.s6 .hq-r5 .hq-it{opacity:1;transform:none}
.hq-sym{transform:scale(0);transition-duration:.35s,.5s;transition-delay:calc(var(--i)*55ms),calc(var(--i)*55ms)}
.hq-svg.s3 .hq-r3 .hq-sym{transform:scale(1)}
.hq-svg.s5 .hq-r6 .hq-kit,.hq-svg.s6 .hq-r5 .hq-kit{stroke-dashoffset:0}
.hq-trace{fill:none;stroke:var(--red);stroke-width:2.4;stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset .9s cubic-bezier(.65,0,.35,1) 1s}
.hq-conflict{fill:none;stroke:var(--red);stroke-width:2.2;opacity:0;transition:opacity .4s 1.8s}
.hq-svg.s4 .hq-trace{stroke-dashoffset:0}.hq-svg.s4 .hq-conflict{opacity:1}
/* On the full house the red trace fades so the roof reads like the report figure. */
.hq-svg.s7 .hq-trace,.hq-svg.s7 .hq-conflict{opacity:.35}
.hq-steps{align-self:center}
@media (prefers-reduced-motion:reduce){.hq-svg *{transition:none!important}}
/* Concept tiles (comment, 11 Nov 2026): an icon for what each variant changes (ECU, turbo, wheels, pin, crank
   mechanism, e-motor, VGT, e-supercharger), and a soft hand-over when the verdict colours arrive: background, outline,
   text and icon fade over 0.8 s, one tile after the other, left to right and top to bottom. */
.r-tile{position:relative;transition:background-color .8s cubic-bezier(.16,1,.3,1),box-shadow .8s cubic-bezier(.16,1,.3,1),color .6s ease}
.r-tile .id,.r-tile p{transition:opacity .7s ease,color .6s ease}
/* The illustration sits large in the free middle of the tile (second comment, 11 Nov 2026). */
.r-tile .tile-icon{order:3;align-self:center;display:block;width:min(72%,10.5em);height:auto;max-height:54%;margin:auto 0;fill:none;stroke:var(--blue);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;transition:stroke .6s ease,opacity .7s ease}
.r-tile .tile-icon .f{fill:rgba(0,102,215,.09);transition:fill .6s ease}
.r-tile .id{order:1}.r-body .r-tile p{order:2}.r-tile .why{order:4;margin-top:0}
.r-tile.go.is-on .tile-icon{stroke:#fff}
.r-tile.go.is-on .tile-icon .f{fill:rgba(255,255,255,.16)}
.r-tile.out.is-on .tile-icon,.r-tile.hold.is-on .tile-icon{opacity:.45}
.r-tiles .r-tile:nth-child(2){transition-delay:.06s}.r-tiles .r-tile:nth-child(3){transition-delay:.12s}.r-tiles .r-tile:nth-child(4){transition-delay:.18s}
.r-tiles .r-tile:nth-child(5){transition-delay:.24s}.r-tiles .r-tile:nth-child(6){transition-delay:.3s}.r-tiles .r-tile:nth-child(7){transition-delay:.36s}.r-tiles .r-tile:nth-child(8){transition-delay:.42s}
@media (prefers-reduced-motion:reduce){.r-tile,.r-tile .id,.r-tile p,.r-tile .tile-icon{transition:none}}
/* Method phases: one line icon per phase in the free middle of each panel (comment, 11 Nov 2026). Authored SVG,
   one stroke weight, BMW blue; white on the highlighted phase. */
.r-flow .phase-icon{display:block;width:clamp(72px,7.6vw,124px);height:auto;margin:auto 0;fill:none;stroke:var(--blue);stroke-width:1;stroke-linecap:round;stroke-linejoin:round;transition:stroke .4s}
.r-flow article.is-on .phase-icon,.r-flow article.on .phase-icon{stroke:#fff}
/* Stage 0 safety factors: the required-1.1 line in M red, so it reads apart from the ink values (comment, 11 Nov 2026). */
#s0-sf .r-bar .r-mark,#s1-sf .r-bar .r-mark{background:var(--red)}
#s0-sf .r-axis .r-track b.lim,#s1-sf .r-axis .r-track b.lim{color:var(--red)}
#s0-sf .r-axis .r-track b.lim::before,#s1-sf .r-axis .r-track b.lim::before{background:var(--red)}
/* Plug and play (redesigned 11 Nov 2026): step 0 is four large rules on a 2 × 2 ruled grid, one idea per cell;
   step 1 replaces them with the six design requirements as large values. One thing to read at a time. */
.pp-swap{min-height:0}
.pp-rules{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));border-top:1px solid var(--r-line)}
.pp-rules li{display:flex;flex-direction:column;justify-content:center;gap:.5em;padding:1.2em 2.2em 1.2em 0;border-bottom:1px solid var(--r-line)}
.pp-rules li:nth-child(even){padding:1.2em 0 1.2em 2.2em;border-left:1px solid var(--r-line)}
.pp-rules b{font:500 clamp(36px,3.7vw,62px)/1 'Barlow Condensed','Barlow',Arial,sans-serif;letter-spacing:-.012em;color:var(--ink)}
.pp-rules span{font-size:1.25em;line-height:1.4;color:var(--muted);max-width:32ch}
/* One line icon per rule (comment, 11 Nov 2026), same stroke language as the method phases. */
.pp-rules .pp-icon{display:block;width:clamp(44px,3.8vw,64px);height:auto;margin-bottom:.5em;fill:none;stroke:var(--blue);stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round}
.pp-specs{display:flex;flex-direction:column;justify-content:center;gap:1.2em;min-height:0}
.pp-specs h3{margin:0;font:500 max(12px,.85em)/1 'Barlow',Arial,sans-serif;letter-spacing:.07em;text-transform:uppercase;color:var(--muted)}
.pp-specs dl{margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:2.2em}
.pp-specs dl>div{display:flex;flex-direction:column-reverse;justify-content:flex-end;gap:.45em;padding:1.1em 0 1.4em;border-top:1px solid var(--r-line)}
.pp-specs dd{margin:0;font:500 clamp(44px,4.4vw,74px)/1 'Barlow Condensed','Barlow',Arial,sans-serif;letter-spacing:-.012em;color:var(--blue);white-space:nowrap}
.pp-specs dd small{font:400 .38em 'Barlow',Arial,sans-serif;margin-left:.2em;color:var(--muted)}
.pp-specs dt{font-size:1.1em;line-height:1.35;color:var(--muted);max-width:26ch}
.pp-foot{display:flex;justify-content:flex-end}
@media (max-width:900px){.pp-rules{grid-template-columns:1fr;grid-template-rows:none}.pp-rules li,.pp-rules li:nth-child(even){padding:1em 0;border-left:0}.pp-specs dl{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Power targets: the ladder gets a fixed height and sits centred in the slide with its statement (comment, 11 Nov 2026). */
/* The ladder is tall enough that even the 43 % Stock bar holds its text, so every bar stays proportional to its power. */
#targets .r-body{grid-template-rows:auto auto!important;align-content:center;row-gap:clamp(14px,2.2vh,24px)}
#targets .r-ladder{height:clamp(16em,57vh,30em);min-height:0}
/* Safety net on short screens only: a bar never clips its own text. */
#targets .r-ladder article{min-height:fit-content}
/* From-to list with column titles (Stage 1 slide): one shared column grid, so titles and values line up. */
.r-fromto.cols{display:grid;grid-template-columns:minmax(0,1fr) auto 1.4em auto;column-gap:.6em}
.r-fromto.cols>div{grid-column:1/-1;grid-template-columns:subgrid;gap:0}
.r-fromto.cols>.hd{border:0;padding:0 0 .45em;align-items:end}
.r-fromto.cols>.hd+div{border-top:1px solid var(--r-line)}
.r-fromto.cols>.hd span{font:500 max(12px,.82em)/1 'Barlow',Arial,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);min-width:0}
.light .r-fromto.cols>.hd .b{color:var(--blue)}
.r-fromto small{font:400 .5em 'Barlow',Arial,sans-serif;color:var(--muted);margin-left:.2em}

/* Point cards on a map */
.r-point{border-top:2px solid var(--r-strong);padding-top:.7em;display:flex;flex-direction:column;gap:.35em}
.r-point.power{border-top-color:var(--blue)}
.dark .r-point.power{border-top-color:var(--cyan)}
.r-point.torque{border-top-color:#d88400}
.r-point h3{font-size:1.35em}
.r-point .vals{display:flex;flex-wrap:wrap;gap:.3em 1.6em}
.r-point .vals span{color:var(--muted);font-size:.86em}
.r-point .vals b{display:block;font:500 1.75em/1.05 'Barlow Condensed',Arial,sans-serif;color:var(--r-strong)}

/* Concept tiles */
.r-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:calc(var(--r-gap)*.6);align-content:stretch}
.r-tile{background:var(--r-panel);padding:.9em 1em;display:flex;flex-direction:column;gap:.3em;min-height:0}
.r-tile .id{font:500 2.4em/1 'Barlow Condensed',Arial,sans-serif;color:var(--r-strong)}
.r-body .r-tile p{font-size:1.18em;line-height:1.3}
.r-tile .why{margin-top:auto;padding-top:.45em;font-size:1em;font-weight:500;color:var(--muted)}
.r-tile.out.is-on,.r-tile.hold.is-on{background:transparent;box-shadow:inset 0 0 0 1px var(--r-line)}
.r-tile.out.is-on .id,.r-tile.out.is-on p,.r-tile.hold.is-on .id,.r-tile.hold.is-on p{opacity:.45}
.r-tile.out.is-on .why{color:var(--r-warn)}
.r-tile.go.is-on{background:var(--blue);color:#fff;--muted:#dcecff;--r-strong:#fff}
.r-tile.go.is-on p{color:#e3f0ff}
.r-tile.go.is-on .r-tag.go{color:#fff}

/* Flow highlight driven by a step */
.r-flow article.is-on{background:var(--blue);color:#fff;--muted:#dcecff;--r-strong:#fff}
.r-flow article.is-on::after{border-left-color:var(--blue)}
.r-flow article.is-on .n{color:#fff}
.r-flow article.is-on .out{border-top-color:rgba(255,255,255,.35)}
.r-flow h3{font-size:1.5em}
.r-flow .out{font:500 1.15em/1.25 'Barlow',Arial,sans-serif;color:var(--r-strong)}
.r-flow .out small{display:block;font-size:.72em;font-weight:400;color:var(--muted);margin-bottom:.2em}

/* Ruled list of large items */
.r-items{display:flex;flex-direction:column}
.r-items>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1em;align-items:baseline;padding:.6em 0;border-bottom:1px solid var(--r-line)}
.r-items>div:first-child{border-top:1px solid var(--r-line)}
.r-items dt{color:var(--r-strong);font-weight:500;font-size:1.05em}
.r-items dt small{display:block;font-weight:400;color:var(--muted);font-size:.84em;margin-top:.1em}
.r-items dd{margin:0;font:500 1.5em/1.1 'Barlow Condensed',Arial,sans-serif;color:var(--r-accent);text-align:right;white-space:nowrap}
.light .r-items dd{color:var(--blue)}

/* Compliance bar */
.r-split{display:flex;height:3.4em;gap:3px}
.r-split>div{flex:var(--n);display:flex;align-items:center;padding:0 .9em;font:500 1.6em/1 'Barlow Condensed',Arial,sans-serif;color:#fff;min-width:0;white-space:nowrap}
.r-split>div small{font:400 .55em 'Barlow',Arial,sans-serif;margin-left:.45em;opacity:.9}
.r-split .met{background:var(--blue)}.r-split .cond{background:#5b7d99}.r-split .open{background:#a6b6c3;color:var(--ink)}

/* Dialog tables for "Full data" */
#detail-body .r-table{font-size:15px;margin:10px 0 18px}
#detail-body .r-table td.num{font-size:1.2em}
#detail-body h3{margin-top:18px}
.r-chart .pt.is-on{fill:var(--blue)}.dark .r-chart .pt.is-on{fill:var(--cyan)}
.r-chart .pt{transition:fill .45s}

/* The chart caption stays with its bars: the column centres as one group (design pass 2). */
#hoq .r-row>.r-col:first-child,#risk .r-body>.r-col{justify-content:center}

/* CAD viewers driven by build steps (assembly.js) */
.cad-stage{position:relative;padding:0;background:#fff}
.cad-stage canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
.section-stage{overflow:hidden}
.r-fig #section-drawing{position:absolute;top:0;left:0;width:auto;height:auto;max-width:none;object-fit:fill;flex:none;opacity:0;pointer-events:none}
.r-legend i.cap-epod{background:#5aa7f2}.r-legend i.cap-turbo{background:#c4d0dc}
/* Exploded view (exploded.js): leader labels follow the parts; the tip names the part under the pointer. */
.exploded-stage{overflow:hidden;background:linear-gradient(180deg,#fff 0%,#f3f7fa 100%)}
.exploded-stage canvas{cursor:grab;touch-action:pan-y}
.xp-labels{position:absolute;inset:0;pointer-events:none}
.xp-label{position:absolute;display:flex;flex-direction:column;align-items:center;transform:translate(-50%,0);opacity:0;transition:opacity .45s cubic-bezier(.16,1,.3,1);color:var(--blue)}
.xp-label.up{flex-direction:column-reverse;transform:translate(-50%,-100%)}
.xp-label.on{opacity:1}
.xp-label i{display:block;width:1px;height:var(--lead,28px);background:currentColor;opacity:.55;transform-origin:top;transform:scaleY(0);transition:transform .5s cubic-bezier(.16,1,.3,1)}
.xp-label.up i{transform-origin:bottom}
.xp-label.on i{transform:scaleY(1)}
.xp-label i::before{content:'';position:absolute;left:-2.5px;width:6px;height:6px;border-radius:50%;background:currentColor;top:-3px}
.xp-label.up i{position:relative}.xp-label:not(.up) i{position:relative}
.xp-label.up i::before{top:auto;bottom:-3px}
.xp-label span{font:500 max(12px,.8em)/1.1 'Barlow Condensed','Barlow',Arial,sans-serif;letter-spacing:.02em;white-space:nowrap;color:var(--ink);background:rgba(255,255,255,.92);border:1px solid var(--r-line);padding:.25em .5em;transform:translateY(6px);transition:transform .5s cubic-bezier(.16,1,.3,1) .08s}
.xp-label.up span{transform:translateY(-6px)}
.xp-label.on span{transform:none}
.xp-tip{position:absolute;pointer-events:none;transform:translate(14px,-130%);font:500 max(12px,.82em)/1.15 'Barlow',Arial,sans-serif;color:#fff;background:var(--ink);padding:.35em .6em;white-space:nowrap;opacity:0;transition:opacity .2s}
.xp-tip::after{content:attr(data-group);display:block;font-size:.78em;color:#9fc6ee;margin-top:.15em;letter-spacing:.04em;text-transform:uppercase}
.xp-tip.on{opacity:1}
.xp-hint{position:absolute;right:.9em;bottom:.7em;font:400 max(11px,.72em)/1 'Barlow',Arial,sans-serif;color:#6b8193;letter-spacing:.02em;pointer-events:none}
@media (prefers-reduced-motion:reduce){.xp-label,.xp-label i,.xp-label span{transition:none}}
@media (hover:none){.xp-hint{display:none}}
@media (max-width:900px){.exploded-stage{min-height:15em}}
/* E-pod assembly steps (3–7 of #exploded): the panel slides in from the right over the stage while the 3D frame moves
   into the free part on the left; each step line arrives from the right in turn and lights up at its step. */
.xp-panel{position:absolute;top:0;right:0;bottom:0;width:36%;display:flex;flex-direction:column;justify-content:center;gap:1em;padding:1.4em 1.6em 1.4em 2.2em;background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.9) 18%,#fff 40%);transform:translateX(105%);opacity:0;transition:transform .9s cubic-bezier(.16,1,.3,1),opacity .5s ease;pointer-events:none}
.xp-panel h3{margin:0;font:500 max(12px,.78em)/1 'Barlow',Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:var(--blue)}
.xp-steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.9em;counter-reset:xp}
.xp-steps li{counter-increment:xp;display:grid;grid-template-columns:1.8em minmax(0,1fr);column-gap:.4em;opacity:0;transform:translateX(3em);transition:transform .8s cubic-bezier(.16,1,.3,1),opacity .6s ease}
.xp-steps li::before{content:counter(xp);grid-row:1/3;font:500 1.5em/1 'Barlow Condensed','Barlow',Arial,sans-serif;color:var(--r-soft);transition:color .4s}
.xp-steps b{font:500 1.18em/1.15 'Barlow Condensed','Barlow',Arial,sans-serif;color:var(--ink)}
.xp-steps span{font-size:.92em;line-height:1.35;color:var(--muted)}
.exploded-stage[data-view="assembly"] .xp-panel{transform:none;opacity:1;pointer-events:auto}
.exploded-stage[data-view="assembly"] .xp-steps li{opacity:.34;transform:none}
.exploded-stage[data-view="assembly"] .xp-steps li.is-on{opacity:1}
.exploded-stage[data-view="assembly"] .xp-steps li.is-on::before{color:var(--blue)}
.exploded-stage[data-view="assembly"] .xp-steps li:nth-child(2){transition-delay:.06s}
.exploded-stage[data-view="assembly"] .xp-steps li:nth-child(3){transition-delay:.12s}
.exploded-stage[data-view="assembly"] .xp-steps li:nth-child(4){transition-delay:.18s}
.exploded-stage[data-view="assembly"] .xp-steps li:nth-child(5){transition-delay:.24s}
.exploded-stage[data-view="assembly"] .xp-hint{opacity:0}
@media (max-width:900px){.xp-panel{display:none}}
@media (prefers-reduced-motion:reduce){.xp-panel,.xp-steps li{transition:none}}
/* Cover (11 Nov 2026 redesign): the e-turbo CAD is the hero, over the whole B48 in natural colour; no numbers.
   A white title block, like the one on a drawing sheet, carries the universities, the team and the courses. */
#intro.cover{--cv-block:clamp(96px,12.5vh,124px)}
/* Presenter mode button removed from the header (comment, 11 Nov 2026); the element stays for deck.js. */
#present{display:none!important}
/* Top-left brand on every chapter, cover included (user, 11 Nov 2026): the BMW M mark of the act transitions,
   same vector. The letter is white on navy and blue fields and ink on paper (deck.js sets body[data-surface]). */
.header .brand-m{display:inline-flex;align-items:center;gap:0;line-height:0}
.header .brand-m .brand-mark{display:block;height:clamp(22px,2.6vh,28px);width:auto}
.header .brand-m .m-letter{fill:#fff;transition:fill .48s ease}
body[data-surface="light"] .header .brand-m .m-letter{fill:var(--ink)}
.header .brand-m:focus-visible{outline:3px solid var(--cyan);outline-offset:4px}
/* Without the CAD on the cover (comment, 11 Nov 2026) the engine photograph carries the right side again. */
#intro.cover .hero-shade{background:linear-gradient(90deg,#08131f 0%,#08131f 26%,rgba(8,19,31,.82) 44%,rgba(8,19,31,.28) 72%,rgba(8,19,31,.12) 100%),linear-gradient(0deg,#08131f 0%,rgba(8,19,31,0) 26%)}
/* Above the fixed engine-photo canvas (#mechanical-stage, z 6) and its scrim (z 7), below the copy. */
#intro.cover .cv-turbo{position:absolute;z-index:8;top:0;right:0;bottom:var(--cv-block);width:64%}
#intro.cover .cv-turbo canvas{width:100%;height:100%;display:block;cursor:crosshair}
#intro.cover .cv-copy{position:absolute;z-index:9;left:0;top:0;bottom:var(--cv-block);width:min(44%,640px);margin:0;padding:0 0 clamp(20px,4vh,48px) var(--gutter);display:flex;flex-direction:column;justify-content:center}
#intro.cover .hero-lead{margin-top:clamp(18px,2.6vh,30px);max-width:30ch;font-size:clamp(18px,1.45vw,22px);line-height:1.45;color:#d0dcec}
.cv-stages{list-style:none;margin:clamp(22px,3.4vh,40px) 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.cv-stages li{position:relative;padding-top:14px;border-top:1px solid rgba(208,220,236,.32);font:500 clamp(19px,1.55vw,25px)/1.05 'Barlow Condensed','Barlow',Arial,sans-serif;color:#fff}
.cv-stages li span{display:block;margin-bottom:6px;font:500 13px/1 'Barlow',Arial,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:var(--cyan)}
.cv-stages li:last-child{border-top:2px solid var(--cyan);padding-top:13px}
#intro.cover .hero-actions{margin-top:clamp(24px,3.8vh,44px)}
#intro.cover .hero-actions a{white-space:nowrap;display:inline-flex;align-items:center}
#intro.cover .hero-actions svg{width:1em;height:1em;margin-left:.55em;vertical-align:-.12em;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:square}
.cv-block{position:absolute;z-index:9;left:0;right:0;bottom:0;height:var(--cv-block);display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;background:#fff;color:var(--ink);padding:0 var(--gutter)}
.cv-block>*{height:100%;display:flex;align-items:center}
.cv-block>*+*{border-left:1px solid rgba(17,35,51,.16);padding-left:clamp(20px,2.4vw,40px);margin-left:clamp(20px,2.4vw,40px)}
.cv-logos{gap:clamp(20px,2.4vw,40px)}
.cv-logos img{display:block;height:clamp(38px,5.4vh,54px);width:auto}
.cv-team{gap:clamp(16px,2vw,32px)}
.cv-team strong{flex:none;font:500 clamp(28px,2.5vw,40px)/1 'Barlow Condensed','Barlow',Arial,sans-serif;letter-spacing:-.01em;color:var(--ink)}
.cv-team ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,auto);justify-content:start;gap:4px 26px;white-space:nowrap;font-size:clamp(14px,1.08vw,17px);line-height:1.3;color:var(--ink)}
.cv-courses{margin:0;font-size:13px;line-height:1.45;color:var(--muted);text-align:right}
@media (max-width:1180px){.cv-courses{display:none!important}.cv-block{grid-template-columns:auto minmax(0,1fr)}}
@media (max-width:900px){
 #intro.cover{--cv-block:auto}
 #intro.cover .cv-copy{bottom:auto;width:auto;right:0;padding:clamp(20px,4vh,40px) 22px 0;justify-content:flex-start}
 #intro.cover .cv-turbo{width:100%;top:auto;bottom:140px;height:29%}
 #intro.cover .hero-shade{background:linear-gradient(180deg,#08131f 0%,rgba(8,19,31,.9) 40%,rgba(8,19,31,.55) 70%,#08131f 100%)}
 .cv-stages{gap:12px}.cv-stages li{font-size:17px}.cv-stages li span{font-size:11px}
 .cv-block{height:auto;grid-template-columns:1fr;row-gap:12px;padding:14px 22px 16px;--cv-block-h:150px}
 .cv-block>*{height:auto}
 .cv-block>*+*{border-left:0;margin-left:0;padding-left:0;border-top:1px solid rgba(17,35,51,.16);padding-top:12px}
 .cv-logos img{height:32px}
 .cv-team{flex-wrap:wrap;gap:6px 16px}.cv-team strong{font-size:24px}.cv-team ul{font-size:13px;gap:2px 14px;grid-template-columns:repeat(2,auto)}
}
@media (prefers-reduced-motion:reduce){#intro.cover .cv-turbo canvas{cursor:default}}
/* Team CAD chapter: no blue disc behind the model (comment, 11 Nov 2026). */
#stage3 .scene-view:before{content:none}
/* Rotor inertia: the total alone, large; the shares as a pie with a legend. */
.r-kpi-inertia strong{white-space:nowrap}
.r-pie{display:flex;align-items:center;gap:2em;min-height:0}
.r-pie svg{flex:0 0 auto;width:min(17em,34vh);height:auto;overflow:visible}
.r-pie path{stroke:#fff;stroke-width:1.2;stroke-linejoin:round;fill:#8fa3b3}
.r-pie path.c0{fill:var(--blue)}.r-pie path.c1{fill:#5b9fe0}.r-pie path.c2{fill:#e08a3c}.r-pie path.c3{fill:#8fa3b3}.r-pie path.c4{fill:#c3cfd9}
.r-pie-legend{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.75em}
.r-pie-legend li{padding-left:.8em;border-left:3px solid var(--c,#8fa3b3);font-size:max(12px,.95em);line-height:1.25;color:var(--muted)}
.r-pie-legend b{display:block;font:500 1.6em/1.05 'Barlow Condensed',Arial,sans-serif;color:var(--r-strong)}
.r-pie-legend .c0{--c:var(--blue)}.r-pie-legend .c1{--c:#5b9fe0}.r-pie-legend .c2{--c:#e08a3c}.r-pie-legend .c3{--c:#8fa3b3}.r-pie-legend .c4{--c:#c3cfd9}
@media (max-width:900px){.r-pie{flex-direction:column;align-items:flex-start}}
.epod-steps li{opacity:.38;transition:opacity .45s}
.epod-steps li.is-on{opacity:1}
.epod-steps li b{color:var(--r-strong);font-weight:600}
/* With GSAP present (gsap-steps.js), build steps lose their CSS transitions: GSAP owns the motion,
   CSS keeps only the shown and hidden states. */
html.gsap-steps .screen-deck [data-show],html.gsap-steps .screen-deck [data-hide]{transition:none}
html.gsap-steps .screen-deck [data-show]:not(.is-shown),html.gsap-steps .screen-deck [data-hide]:not(.is-shown){transform:none}
.gs-word{display:inline-block;will-change:transform,filter}
/* Audit fixes, 11 Nov 2026 (contrast ≥ 4.5:1 for body text, text ≥ 12px, controls ≥ 36px). */
.screen-deck main>.chapter.dark.studio-blue:not(.map-page)>.deck-heading>p,.screen-deck main>.chapter.dark.studio-blue:not(.map-page)>.heading-split>p{color:#eef6ff}
.r-split .cond{background:#4d6d87}
body .image-credit,body .scene-hint,body #stage3 .scene-hint{font-size:12px}
.r-fromto dt small{font-size:max(12px,.62em)!important}
body #turbo-pause{min-height:36px;padding-top:6px;padding-bottom:6px}
.r-control input[type=range]{min-height:32px}
/* Design pass 2, 10 Nov 2026. */
/* Table rows waiting for a later build step keep their slot but not their hairline. */
.screen-deck .r-table tr[data-show]:not(.is-shown)>*{border-bottom-color:transparent}
/* Stack-up input notes stay at the 12px floor on compact desktop screens (1280×720 measured 11.8px). */
.r-inputs label small{font-size:max(12px,.8em)}
/* Synthesis stage labels read like every other "Stage n" label in the deck. */
.evolution-line article>span{text-transform:none}
/* The cover credit sits over the bright engine cover at 1280×720; a soft shadow keeps it legible. */
.hero-bottom-note{text-shadow:0 1px 10px rgba(8,19,31,.9),0 0 2px rgba(8,19,31,.6)}

/* 21st ideas, adapted to the deck (design pass 2, approved 10 Nov 2026). */
/* 1. Partition labels under the stacked share bar. One grid cell; each label is pushed to its segment start. */
.r-stack-labels{display:grid;margin-top:-.55em}
.r-stack-labels>span{grid-area:1/1;justify-self:start;margin-left:var(--at);max-width:max(9em,calc(var(--w) - 1em));padding-left:.65em;border-left:2px solid var(--c,var(--r-soft));font-size:max(12px,.86em);line-height:1.3;color:var(--muted)}
.r-stack-labels>span.end{justify-self:end;margin-left:0;max-width:9em;padding:0 .65em 0 0;border-left:0;border-right:2px solid var(--c,var(--r-soft));text-align:right}
.r-stack-labels b{display:block;font:500 1.55em/1.05 'Barlow Condensed',Arial,sans-serif;color:var(--r-strong)}
.r-stack-rest{margin:-.4em 0 0!important;text-align:right;font-size:max(12px,.86em)!important;color:var(--muted)}
.r-stack-labels .c0{--c:var(--blue)}.r-stack-labels .c1{--c:#5b9fe0}.r-stack-labels .c2{--c:#e08a3c}
/* 2. A numbered axis under bar lists, with the limit written on its own tick. */
.r-bar.r-axis .r-track{background:none;height:1.7em;border-top:1px solid color-mix(in srgb,var(--r-strong) 30%,transparent)}
.r-axis .r-track b{position:absolute;top:0;transform:translateX(-50%);padding-top:.5em;font:400 max(12px,.8em)/1 'Barlow',Arial,sans-serif;color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums}
.r-axis .r-track b::before{content:'';position:absolute;left:50%;top:0;width:1px;height:.32em;background:currentColor}
.r-axis .r-track b:first-child{transform:none}.r-axis .r-track b:first-child::before{left:0}
.r-axis .r-track b.lim{color:var(--r-strong);font-weight:600}
.r-axis .r-track b.lim::before{left:calc(50% - 1px);width:2px;height:.5em;background:var(--r-strong)}
/* 3. The e-pod steps are a real sequence: a rule joins the numbers and fills as each step is reached. */
.epod-steps li:not(:last-child)::after{content:'';position:absolute;left:.3em;top:1.6em;bottom:-.7em;width:2px;background:linear-gradient(var(--r-accent),var(--r-accent)) no-repeat top/100% 0% ,var(--r-line);transition:background-size .5s cubic-bezier(.16,1,.3,1)}
.light .epod-steps li:not(:last-child)::after{background:linear-gradient(var(--blue),var(--blue)) no-repeat top/100% 0%,var(--r-line)}
.epod-steps li.is-on:has(+li.is-on)::after{background-size:100% 100%,auto}
@media (prefers-reduced-motion:reduce){.epod-steps li::after{transition:none}}
/* ---------- Stage 0 · bolt fatigue (16 Nov 2026) ----------
   Focal moment: the big end runs a slow two-phase engine cycle. Combustion lights the gas path (rod, upper shell,
   pin) in blue while the cap stays neutral; exhaust TDC lights the inertia path (lower shell, cap, bolts) in the warning
   colour. The loop runs only on the active chapter. Step 1 draws the joint diagram once, then the working point
   breathes between preload and the inertia pull: the bolt dot rises a little, the clamp dot falls a lot. */
#s0-bolt{--bj-gas:var(--blue);--bj-warn:var(--r-warn)}
#s0-bolt .bj-fig{margin:0;display:flex;align-items:center;justify-content:center;min-height:0}
#s0-bolt .bj-fig svg{width:100%;height:100%;max-height:100%;overflow:visible}
#s0-bolt .bj-part{fill:#d3dee7;stroke:var(--ink);stroke-width:1.6;stroke-linejoin:round}
#s0-bolt .bj-pin{fill:var(--paper,#f4f7f8);stroke:var(--ink);stroke-width:1.6}
#s0-bolt .bj-pinlab{font:500 17px 'Barlow',Arial,sans-serif;fill:var(--muted);text-anchor:middle}
#s0-bolt .bj-shell{fill:none;stroke-width:7;stroke-linecap:round}
#s0-bolt .bj-shell.up{stroke:var(--bj-gas)}#s0-bolt .bj-shell.down{stroke:var(--bj-warn)}
#s0-bolt .bj-bolts rect{fill:#5d7385;stroke:var(--ink);stroke-width:1.2}
#s0-bolt .bj-split{stroke:var(--muted);stroke-width:1.2;stroke-dasharray:4 4}
#s0-bolt .bj-arrow{fill:none;stroke-width:9;stroke-linecap:butt}
#s0-bolt .bj-gas .bj-arrow{stroke:var(--bj-gas)}#s0-bolt .bj-gas .bj-head{fill:var(--bj-gas)}
#s0-bolt .bj-inertia .bj-arrow{stroke:var(--bj-warn)}#s0-bolt .bj-inertia .bj-head{fill:var(--bj-warn)}
#s0-bolt .bj-lab{font:600 22px 'Barlow Condensed',Arial,sans-serif;fill:var(--ink);letter-spacing:.01em}
#s0-bolt .bj-lab.sm{font-size:20px}#s0-bolt .bj-lab.warn{fill:var(--bj-warn)}
#s0-bolt .bj-gas .bj-lab{fill:var(--bj-gas)}#s0-bolt .bj-inertia .bj-lab{fill:var(--bj-warn)}
#s0-bolt .bj-sub{font:400 14px 'Barlow',Arial,sans-serif;fill:var(--muted)}
#s0-bolt .bj-note{font:500 15px 'Barlow',Arial,sans-serif}
#s0-bolt .bj-note.up{fill:var(--bj-gas)}#s0-bolt .bj-note.down{fill:var(--bj-warn)}
#s0-bolt .bj-cap{font:italic 400 13px 'Barlow',Arial,sans-serif;fill:var(--muted)}
#s0-bolt .bj-axis{fill:none;stroke:var(--ink);stroke-width:1.4}
#s0-bolt .bj-guide{fill:none;stroke:var(--muted);stroke-width:1;stroke-dasharray:3 5}
#s0-bolt .bj-line{fill:none;stroke-width:4;stroke-linecap:round}
#s0-bolt .bj-line.bolt{stroke:#5d7385}#s0-bolt .bj-line.clamp{stroke:var(--bj-gas)}
#s0-bolt .bj-fa{stroke:var(--ink);stroke-width:2.4;stroke-dasharray:6 5}
#s0-bolt .bj-share path{fill:none;stroke:var(--bj-warn);stroke-width:2}
#s0-bolt .bj-dot{stroke:#fff;stroke-width:2.5;transform-box:fill-box;transform-origin:center}
#s0-bolt .bj-dot.bolt{fill:var(--bj-warn)}#s0-bolt .bj-dot.clamp{fill:var(--bj-gas)}
#s0-bolt .bj-kpi strong{color:var(--r-warn)}
#s0-bolt .bj-stages h3{font-size:1.5em;margin:0}
#s0-bolt .bj-why{margin:0;display:flex;flex-direction:column}
#s0-bolt .bj-why>div{display:grid;grid-template-columns:8.5em minmax(0,1fr);gap:1em;padding:.75em 0;border-top:1px solid var(--r-line)}
#s0-bolt .bj-why>div:last-child{border-bottom:1px solid var(--r-line)}
#s0-bolt .bj-why dt{font:600 1.35em/1.1 'Barlow Condensed',Arial,sans-serif;color:var(--ink)}
#s0-bolt .bj-why dd{margin:0;color:var(--muted);line-height:1.4}
#s0-bolt .bj-verdict{font-size:1.05em}
#s0-bolt .r-bar .r-mark{background:var(--red)}
#s0-bolt .r-axis .r-track b.lim{color:var(--red)}#s0-bolt .r-axis .r-track b.lim::before{background:var(--red)}

/* The engine cycle: 4.4 s, combustion first half, exhaust TDC second half. */
@keyframes bj-gas{0%,40%{opacity:1;transform:translateY(0)}18%{transform:translateY(7px)}50%,90%{opacity:.14;transform:translateY(0)}100%{opacity:1}}
@keyframes bj-inertia{0%,40%{opacity:.14;transform:translateY(0)}50%,90%{opacity:1}68%{transform:translateY(-7px)}100%{opacity:.14}}
@keyframes bj-bolt{0%,40%{fill:#5d7385}50%,90%{fill:var(--bj-warn)}100%{fill:#5d7385}}
@keyframes bj-cap{0%,40%{fill:#d3dee7}50%,90%{fill:color-mix(in srgb,var(--bj-warn) 16%,#e9eef2)}100%{fill:#d3dee7}}
#s0-bolt.active-screen .bj-gas,#s0-bolt.active-screen .bj-shell.up,#s0-bolt.active-screen .bj-note.up{animation:bj-gas 4.4s cubic-bezier(.45,0,.25,1) .6s infinite both}
#s0-bolt.active-screen .bj-inertia,#s0-bolt.active-screen .bj-shell.down,#s0-bolt.active-screen .bj-note.down{animation:bj-inertia 4.4s cubic-bezier(.45,0,.25,1) .6s infinite both}
#s0-bolt.active-screen .bj-bolts rect{animation:bj-bolt 4.4s cubic-bezier(.45,0,.25,1) .6s infinite both}
#s0-bolt.active-screen .bj-part.cap{animation:bj-cap 4.4s cubic-bezier(.45,0,.25,1) .6s infinite both}

/* Joint diagram: lines draw once when the step arrives, then the working point breathes. */
@keyframes bj-draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes bj-fade{from{opacity:0}to{opacity:1}}
@keyframes bj-bolt-dot{0%,22%{transform:translate(0,0)}50%,72%{transform:translate(36px,-38px)}100%{transform:translate(0,0)}}
@keyframes bj-clamp-dot{0%,22%{transform:translate(0,0)}50%,72%{transform:translate(36px,126px)}100%{transform:translate(0,0)}}
@keyframes bj-load{0%,30%{opacity:.12}50%,72%{opacity:1}92%,100%{opacity:.12}}
#s0-bolt.active-screen .bj-joint .bj-line{stroke-dasharray:1;animation:bj-draw 1.1s cubic-bezier(.16,1,.3,1) .35s both}
#s0-bolt.active-screen .bj-joint .bj-line.clamp{animation-delay:.75s}
#s0-bolt.active-screen .bj-joint .bj-dot.bolt{animation:bj-fade .4s 1.4s both,bj-bolt-dot 3.6s cubic-bezier(.45,0,.25,1) 1.8s infinite}
#s0-bolt.active-screen .bj-joint .bj-dot.clamp{animation:bj-fade .4s 1.4s both,bj-clamp-dot 3.6s cubic-bezier(.45,0,.25,1) 1.8s infinite}
#s0-bolt.active-screen .bj-joint .bj-load,#s0-bolt.active-screen .bj-joint .bj-share{animation:bj-fade .5s 1.6s both,bj-load 3.6s cubic-bezier(.45,0,.25,1) 1.8s infinite}
#s0-bolt.active-screen .bj-joint .bj-share{animation:bj-fade .5s 1.6s both}
/* The joint animates only while its step is on screen. */
#s0-bolt .bj-fig:not(.is-shown) *{animation-play-state:paused!important}
@media (max-width:900px){#s0-bolt .bj-fig{max-height:46vh}#s0-bolt .bj-why>div{grid-template-columns:minmax(0,1fr);gap:.3em}}
@media (prefers-reduced-motion:reduce){#s0-bolt *{animation:none!important}#s0-bolt .bj-dot.bolt{transform:translate(36px,-38px)}#s0-bolt .bj-dot.clamp{transform:translate(36px,126px)}}
