/* ══════════════════════════════════════════════════════════════════════════
   SCIKIQ pitch deck — presentation layer
   Tokens mirror static/css/style.css (light theme, navy ink, one blue accent,
   Source Serif 4 headings, Inter body). Slides are authored on a 1600×900
   canvas; JS scales the canvas to the viewport ("stage mode"). On phones /
   portrait screens the deck switches to "fluid mode" (one slide at a time,
   content reflows). Without JS every slide is shown as a scrolling page.
   ══════════════════════════════════════════════════════════════════════════ */

:root {
    --ink: #051C2C;
    --ink-2: #2B3A48;
    --ink-3: #5B6772;
    --ink-4: #66707A;
    --accent: #2251FF;
    --accent-hover: #1238D6;
    --accent-soft: #EEF2FF;
    --accent-line: #C9D4FF;
    --cyan: #00A9F4;
    --cyan-soft: #E6F6FE;
    --surface: #FFFFFF;
    --surface-2: #F6F7F9;
    --surface-3: #EDEFF2;
    --line: #E1E4E8;
    --line-2: #CDD2D8;
    --positive: #13795B;
    --positive-soft: #E7F4EF;
    --warning: #A86400;
    --warning-soft: #FBF1E1;
    --negative: #C8262D;
    --negative-soft: #FCEBEC;
    --font-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --bar-h: 48px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    background: var(--surface-3);
    color: var(--ink-2);
    font-family: var(--font-sans);
    font-size: 18px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--ink); margin: 0; font-weight: 500; letter-spacing: -0.015em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ── No-JS / base page layout: slides as a scrolling document ─────────── */
.nojs-top {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    max-width: 1600px; margin: 0 auto; padding: 16px;
    font-size: 15px;
}
html.js .nojs-top { display: none; }
.stage { max-width: 1600px; margin: 0 auto; padding: 0 16px 40px; }
.slide {
    container: slide / inline-size;
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    margin: 0 0 24px;
    overflow: hidden;
}
.slide-inner { padding: 56px 80px 48px; display: flex; flex-direction: column; gap: 28px; min-height: 100%; }
.notes { display: none; }

/* ── Deck chrome (JS only) ─────────────────────────────────────────────── */
.deck-bar, .deck-progress, .edge, .notes-panel, .overview { display: none; }

html.js body { overflow: hidden; height: 100vh; height: 100dvh; background: var(--surface-3); }
html.js .deck-progress {
    display: block; position: fixed; left: 0; top: 0; right: 0; height: 4px; z-index: 50;
    background: rgba(5, 28, 44, .06);
}
html.js .deck-progress span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .45s var(--ease); }

html.js .deck-bar {
    display: flex; align-items: center; gap: 12px;
    position: fixed; left: 0; right: 0; bottom: 0; height: var(--bar-h); z-index: 40;
    padding: 0 14px; background: var(--surface); border-top: 1px solid var(--line);
    font-size: 14px; color: var(--ink-3);
}
.deck-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; white-space: nowrap; }
.deck-brand .mark {
    width: 26px; height: 26px; display: inline-grid; place-items: center;
    background: var(--ink); color: #fff; font-size: 14px;
}
.deck-back { color: var(--ink-3); white-space: nowrap; }
.deck-back:hover { color: var(--accent); }
.deck-title-now { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; color: var(--ink-3); }
.deck-count { font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 600; white-space: nowrap; }
.deck-btns { display: flex; gap: 4px; }
.deck-btn {
    display: inline-grid; place-items: center; width: 36px; height: 34px; border: 1px solid transparent;
    background: transparent; cursor: pointer; color: var(--ink-2); font-size: 17px; border-radius: 2px;
}
.deck-btn:hover { background: var(--surface-2); border-color: var(--line); }
.deck-btn[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent); border-color: var(--accent-line); }
.deck-btn .k { display: none; }

/* Stage mode: fixed 1600×900 canvas scaled by JS */
html.js.stage-mode .stage {
    position: fixed; left: 0; top: 0; width: 1600px; height: 900px; max-width: none;
    margin: 0; padding: 0; transform-origin: 0 0;
}
html.js.stage-mode .slide {
    position: absolute; inset: 0; width: 1600px; height: 900px; margin: 0; border: none;
    box-shadow: 0 1px 2px rgba(5,28,44,.06), 0 12px 40px rgba(5,28,44,.08);
    opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s linear .45s;
}
html.js.stage-mode .slide.active { opacity: 1; visibility: visible; transition: opacity .45s var(--ease), visibility 0s; z-index: 2; }
html.js.stage-mode .slide-inner { height: 900px; }

/* Fluid mode: phones / portrait — one slide at a time, content reflows, scrolls vertically */
html.js.fluid-mode .stage {
    position: fixed; left: 0; right: 0; top: 4px; bottom: var(--bar-h); max-width: none; margin: 0; padding: 0;
}
html.js.fluid-mode .slide {
    position: absolute; inset: 0; margin: 0; border: none; overflow-x: hidden; overflow-y: auto;
    -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
    display: none;
}
html.js.fluid-mode .slide.active { display: block; animation: fluidIn .35s var(--ease); }
@keyframes fluidIn { from { opacity: 0; transform: translateX(var(--dir, 16px)); } to { opacity: 1; transform: none; } }
html.js.fluid-mode .deck-title-now, html.js.fluid-mode .deck-back-label { display: none; }
html.js.fluid-mode .deck-btn[data-act="fs"], html.js.fluid-mode .deck-btn[data-act="print"] { display: none; }

/* Edge click / tap zones */
html.js.stage-mode .edge {
    display: grid; place-items: center; position: fixed; top: 4px; bottom: var(--bar-h); width: 56px; z-index: 30;
    background: transparent; border: none; cursor: pointer; color: var(--ink-4); font-size: 28px; opacity: 0;
    transition: opacity .2s;
}
html.js.stage-mode .edge:hover, html.js.stage-mode .edge:focus-visible { opacity: 1; }
.edge-prev { left: 0; } .edge-next { right: 0; }

/* Notes panel */
html.js .notes-panel.open {
    display: grid; grid-template-columns: 1fr 260px; gap: 24px;
    position: fixed; left: 0; right: 0; bottom: var(--bar-h); height: var(--notes-h, 220px); z-index: 45;
    background: var(--ink); color: #E8EEF4; padding: 18px 28px; overflow: auto;
    font-size: 17px; line-height: 1.55;
}
.notes-panel h4 { font-family: var(--font-sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #8FA6FF; margin: 0 0 8px; font-weight: 600; }
.notes-panel .np-text p { margin: 0 0 8px; }
.notes-panel .np-text ul { padding-left: 18px; list-style: disc; }
.notes-panel .np-side { border-left: 1px solid rgba(255,255,255,.15); padding-left: 20px; font-size: 14px; }
.notes-panel .np-next { color: #fff; font-weight: 600; margin-bottom: 12px; }
.notes-panel .np-timer { font-variant-numeric: tabular-nums; font-size: 22px; color: #fff; }
html.js.fluid-mode .notes-panel.open { grid-template-columns: 1fr; height: 45vh; }
html.js.fluid-mode .notes-panel .np-side { display: none; }

/* Overview */
html.js .overview.open {
    display: block; position: fixed; inset: 0 0 var(--bar-h) 0; z-index: 60; background: var(--surface-3);
    overflow-y: auto; padding: 28px 32px 40px;
}
.overview-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.overview-head h2 { font-size: 28px; }
.overview-head p { color: var(--ink-3); font-size: 14px; }
.ov-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.ov-cell { display: block; background: none; border: none; padding: 0; text-align: left; cursor: pointer; }
.ov-thumb { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.ov-cell:hover .ov-thumb, .ov-cell:focus-visible .ov-thumb { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.ov-cell.current .ov-thumb { border: 2px solid var(--accent); }
.ov-thumb .slide {
    position: absolute !important; left: 0; top: 0; width: 1600px !important; height: 900px !important; margin: 0 !important;
    transform-origin: 0 0; pointer-events: none; opacity: 1 !important; visibility: visible !important; display: block !important;
    border: none !important; box-shadow: none !important;
}
.ov-thumb .slide .slide-inner { height: 900px; }
.ov-label { display: flex; gap: 8px; margin-top: 8px; font-size: 14px; color: var(--ink); line-height: 1.35; }
.ov-label b { color: var(--accent); font-variant-numeric: tabular-nums; }

/* ── Fragments & motion (screen only: print always shows final state) ─── */
@media screen {
    html.js.stage-mode .slide .frag { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
    html.js.stage-mode .slide .frag.frag-fade { transform: none; }
    html.js.stage-mode .slide .frag.on { opacity: 1; transform: none; }
    html.js .slide:not(.play) .grow-x { transform: scaleX(0); }
    html.js .slide:not(.play) .grow-y { transform: scaleY(0); }
    html.js .slide:not(.play) .rise { opacity: 0; transform: translateY(18px); }
    html.js .slide:not(.play) .pop { opacity: 0; transform: scale(.85); }
    html.js .slide:not(.play) .draw { stroke-dashoffset: var(--len, 1200); }
}
.grow-x { transform-origin: left center; transition: transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.grow-y { transform-origin: center bottom; transform-box: fill-box; transition: transform 1s var(--ease); transition-delay: var(--d, 0s); }
.rise { transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0s); }
.pop { transform-box: fill-box; transform-origin: center; transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: var(--d, 0s); }
.draw { stroke-dasharray: var(--len, 1200); stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s var(--ease); transition-delay: var(--d, 0s); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: 0s !important; transition-delay: 0s !important; animation-duration: 0s !important; animation-iteration-count: 1 !important; }
    .particle { display: none; }
}
html.reduced .particle { display: none; }
html.reduced *, html.reduced *::before, html.reduced *::after { transition-duration: 0s !important; transition-delay: 0s !important; animation: none !important; }

/* ── Slide typography ──────────────────────────────────────────────────── */
.eyebrow {
    display: flex; align-items: center; gap: 12px;
    font-size: 15px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.eyebrow .num { color: var(--ink-4); font-variant-numeric: tabular-nums; }
.s-head { display: flex; flex-direction: column; gap: 14px; max-width: 1320px; }
.s-head h2 { font-size: 50px; line-height: 1.08; }
.s-head h2 em { font-style: normal; color: var(--accent); }
.lede { font-size: 21px; color: var(--ink-3); max-width: 1180px; line-height: 1.5; }
.s-body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.src { font-size: 13px; color: var(--ink-4); }
.src a { color: var(--ink-3); text-decoration: underline; text-decoration-color: var(--line-2); }
.kicker { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--ink-3); }
.chip {
    display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; font-size: 14px; line-height: 1.2;
    border: 1px solid var(--line-2); color: var(--ink-2); background: var(--surface); white-space: nowrap;
}
.chip.accent { border-color: var(--accent-line); background: var(--accent-soft); color: var(--accent); }
.chip.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn {
    display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; font-size: 17px; font-weight: 600;
    border: 1px solid var(--ink); color: var(--ink); background: var(--surface); cursor: pointer; text-decoration: none !important;
    transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--ink); color: #fff; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn.small { padding: 9px 14px; font-size: 15px; }
.kpi-val { font-family: var(--font-serif); color: var(--ink); font-weight: 500; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.kpi-lab { color: var(--ink-3); font-size: 16px; line-height: 1.35; margin-top: 8px; }
.card { background: var(--surface); border: 1px solid var(--line); padding: 22px 24px; }
.card h3 { font-size: 24px; line-height: 1.2; }
.card p { color: var(--ink-3); font-size: 16px; line-height: 1.5; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--positive); box-shadow: 0 0 0 0 rgba(19,121,91,.5); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(19,121,91,.45); } 70% { box-shadow: 0 0 0 8px rgba(19,121,91,0); } 100% { box-shadow: 0 0 0 0 rgba(19,121,91,0); } }
.live-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--positive); }
.live-tag.off { color: var(--ink-4); }
.live-tag.off .live-dot { background: var(--ink-4); animation: none; }
svg text { font-family: var(--font-sans); }
.svg-block { width: 100%; height: auto; display: block; }

/* ══ 1. Title ══════════════════════════════════════════════════════════════ */
.s-title .slide-inner { padding: 0; flex-direction: row; gap: 0; }
.t-left { flex: 1.15; padding: 72px 72px 60px 88px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.t-right { flex: .85; background: var(--ink); position: relative; display: grid; place-items: center; overflow: hidden; }
.t-brand { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink); font-size: 18px; }
.t-brand .mark { width: 36px; height: 36px; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 19px; }
.t-left h1 { font-size: 80px; line-height: 1.02; letter-spacing: -0.025em; }
.t-left h1 em { font-style: normal; color: var(--accent); }
.t-left .lede { font-size: 22px; max-width: 760px; margin-top: 24px; }
.t-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 2px solid var(--ink); padding-top: 20px; }
.t-kpis .kpi-val { font-size: 52px; }
.t-kpis .kpi-lab { font-size: 15px; }
.t-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.t-live { font-size: 15px; color: var(--ink-3); display: flex; align-items: center; gap: 8px; }
.t-live b { color: var(--ink); }
.t-ring { width: 88%; max-width: 560px; }
.t-ring text { fill: #fff; }
.t-hint { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: #8FA6FF; font-size: 14px; letter-spacing: .08em; }
.t-hint kbd { font-family: var(--font-sans); border: 1px solid rgba(255,255,255,.3); padding: 1px 6px; color: #fff; font-size: 12px; }
.spin-slow { transform-origin: 250px 250px; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ══ 2. Challenge ═════════════════════════════════════════════════════════ */
.ch-grid { display: grid; grid-template-columns: 520px 1fr; gap: 56px; flex: 1; align-items: stretch; }
.ch-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 2px solid var(--ink); }
.ch-kpi { padding: 22px 20px 22px 0; border-bottom: 1px solid var(--line); }
.ch-kpi:nth-child(odd) { border-right: 1px solid var(--line); }
.ch-kpi:nth-child(even) { padding-left: 24px; }
.ch-kpi .kpi-val { font-size: 58px; }
.ch-note { font-size: 13px; color: var(--ink-4); margin-top: 12px; }
.road { position: relative; }
.road svg { width: 100%; height: auto; }
.blockers { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; margin-top: 10px; }
.blocker { border-left: 3px solid var(--negative); padding: 6px 0 6px 16px; }
.blocker h3 { font-size: 21px; line-height: 1.25; }
.blocker p { font-size: 15px; color: var(--ink-3); margin-top: 4px; }

/* ══ 3. Market shift ══════════════════════════════════════════════════════ */
.ms-grid { display: grid; grid-template-columns: 600px 1fr; gap: 48px; flex: 1; }
.ms-shift { display: flex; flex-direction: column; gap: 16px; }
.ms-panel { border: 1px solid var(--line); padding: 16px 18px; background: var(--surface-2); }
.ms-panel.now { background: var(--accent-soft); border-color: var(--accent-line); }
.ms-panel .kicker { margin-bottom: 4px; }
.ms-panel.now .kicker { color: var(--accent); }
.ms-panel svg { width: 100%; height: auto; display: block; }
.ms-sowhat { font-size: 17px; color: var(--ink-2); border-left: 3px solid var(--accent); padding-left: 14px; line-height: 1.5; }
.ev-list { display: flex; flex-direction: column; border-top: 2px solid var(--ink); }
.ev { display: grid; grid-template-columns: 130px 1fr; gap: 18px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ev .kpi-val { font-size: 40px; color: var(--accent); }
.ev .who { font-weight: 600; color: var(--ink); font-size: 17px; }
.ev .what { font-size: 15px; color: var(--ink-3); line-height: 1.45; }
.ev .src { margin-top: 2px; display: block; }

/* ══ 4. Who we are ════════════════════════════════════════════════════════ */
.wa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; flex: 1; align-items: center; }
.wa-diagram svg { width: 100%; height: auto; display: block; }
.wa-list { display: flex; flex-direction: column; gap: 14px; }
.wa-item { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.wa-item .ic { width: 56px; height: 56px; display: grid; place-items: center; font-size: 24px; background: var(--accent-soft); color: var(--accent); }
.wa-item.wa-svc .ic { background: var(--ink); color: #fff; }
.wa-item h3 { font-size: 24px; }
.wa-item p { font-size: 16px; color: var(--ink-3); margin-top: 4px; }
.wa-creds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

/* ══ 5. Service lines wheel ═══════════════════════════════════════════════ */
.sl-grid { display: grid; grid-template-columns: 560px 1fr; gap: 48px; flex: 1; align-items: center; }
.wheel svg { width: 100%; height: auto; display: block; overflow: visible; }
.wheel .seg { cursor: pointer; transition: opacity .3s, transform .3s var(--ease); transform-origin: 280px 280px; }
.wheel .seg path.fill { transition: fill .3s; }
.wheel .seg:hover path.fill, .wheel .seg:focus path.fill { fill: var(--accent-hover); }
.wheel .seg.dim { opacity: .35; }
.wheel .seg.sel { transform: scale(1.035); }
.wheel .seg:focus { outline: none; }
.sl-roles { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.sl-roles .kicker { margin-right: 6px; }
.role-btn { border: 1px solid var(--line-2); background: var(--surface); padding: 7px 14px; font-size: 15px; font-weight: 600; cursor: pointer; color: var(--ink-2); }
.role-btn:hover { border-color: var(--accent); color: var(--accent); }
.role-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.sl-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sl-col { border-top: 3px solid var(--ink); padding-top: 10px; transition: opacity .3s; }
.sl-col.dim { opacity: .35; }
.sl-col .ph { font-family: var(--font-serif); font-size: 24px; color: var(--ink); display: flex; gap: 8px; align-items: baseline; }
.sl-col .ph b { font-family: var(--font-sans); font-size: 13px; color: var(--accent); font-weight: 700; }
.sl-col .ph-desc { font-size: 14px; color: var(--ink-3); margin: 4px 0 10px; line-height: 1.4; min-height: 40px; }
.svc { display: block; border: 1px solid var(--line); padding: 10px 12px; margin-bottom: 8px; color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.3; background: var(--surface); transition: border-color .2s, background .2s, opacity .3s, transform .3s var(--ease); }
.svc small { display: block; font-weight: 400; color: var(--ink-3); font-size: 13px; margin-top: 3px; }
.svc:hover { border-color: var(--accent); text-decoration: none; }
.svc.hit { border-color: var(--accent); background: var(--accent-soft); transform: translateX(4px); }
.svc.miss { opacity: .35; }
.sl-foot { margin-top: 14px; font-size: 15px; color: var(--ink-3); }

/* ══ 6. 4C framework ══════════════════════════════════════════════════════ */
.fw-svg { width: 100%; height: auto; display: block; }
.fw-svg .node rect { transition: fill .3s; }
.fw-found { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 12px; }
.fw-found div { background: var(--ink); color: #fff; padding: 12px 14px; font-size: 15px; font-weight: 600; line-height: 1.25; }
.fw-found div small { display: block; font-weight: 400; color: #B9C6D3; font-size: 13px; margin-top: 2px; }
.fw-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 10px; font-size: 15px; color: var(--ink-3); }

/* ══ 7. Twelve layers ═════════════════════════════════════════════════════ */
.ly-grid { display: grid; grid-template-columns: 1fr 470px; gap: 48px; flex: 1; }
.stack { display: flex; flex-direction: column-reverse; gap: 10px; }
.plane { display: grid; grid-template-columns: 190px 1fr; gap: 12px; align-items: stretch; }
.plane-name { background: var(--ink); color: #fff; padding: 10px 14px; font-size: 15px; font-weight: 600; line-height: 1.25; display: flex; flex-direction: column; justify-content: center; }
.plane-name small { font-weight: 400; color: #B9C6D3; font-size: 12.5px; margin-top: 3px; }
.plane-layers { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; }
.layer { border: 1px solid var(--accent-line); background: var(--accent-soft); padding: 10px 12px; cursor: default; transition: background .2s, border-color .2s, transform .2s; position: relative; }
.layer:hover, .layer:focus { background: var(--accent); border-color: var(--accent); outline: none; }
.layer:hover .ln, .layer:focus .ln, .layer:hover .lp, .layer:focus .lp { color: #fff; }
.layer .ln { font-size: 15.5px; font-weight: 600; color: var(--ink); line-height: 1.25; display: block; }
.layer .ln b { color: var(--accent); margin-right: 6px; font-variant-numeric: tabular-nums; }
.layer:hover .ln b, .layer:focus .ln b { color: #fff; }
.layer .lp { font-size: 13px; color: var(--ink-3); display: block; margin-top: 3px; line-height: 1.35; }
.ly-note { font-size: 15px; color: var(--ink-3); margin-top: 12px; }
.stairs svg { width: 100%; height: auto; display: block; }
.stairs .cap { font-size: 14px; color: var(--ink-3); margin-top: 10px; line-height: 1.5; }

/* ══ 8. Accelerator map ═══════════════════════════════════════════════════ */
.acc-cols { display: grid; grid-template-columns: 1.45fr 1fr 1fr 1fr; gap: 18px; flex: 1; align-content: start; }
.acc-col h3 { font-size: 20px; padding-bottom: 8px; border-bottom: 3px solid var(--ink); margin-bottom: 10px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.acc-col h3 small { font-family: var(--font-sans); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.acc-col .tiles { display: grid; gap: 8px; }
.acc-col.fin .tiles { grid-template-columns: 1fr 1fr; }
.tile {
    position: relative; display: block; border: 1px solid var(--line); background: var(--surface); padding: 14px 16px; color: var(--ink);
    transition: border-color .2s, box-shadow .2s, background .2s; cursor: pointer; text-align: left; width: 100%;
}
.tile:hover, .tile:focus-within, .tile.open { border-color: var(--accent); box-shadow: 0 6px 18px rgba(34,81,255,.12); }
.tile.flag { border-left: 3px solid var(--accent); }
.tile .tn { font-weight: 700; font-size: 17px; letter-spacing: .01em; display: block; line-height: 1.25; }
.tile .td { font-size: 14px; color: var(--ink-3); display: block; margin-top: 2px; line-height: 1.35; }
.tile .tx { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.tile .tx > div { overflow: hidden; }
.tile:hover .tx, .tile:focus-within .tx, .tile.open .tx { grid-template-rows: 1fr; }
.tile .imp { font-size: 14px; color: var(--accent); font-weight: 600; margin-top: 6px; display: block; }
.tile .sq { font-size: 12.5px; color: var(--ink-3); display: block; margin-top: 3px; }
.tile .go { font-size: 13px; font-weight: 600; display: inline-block; margin-top: 4px; }
.acc-foot { display: flex; gap: 20px; align-items: center; margin-top: 16px; font-size: 15px; color: var(--ink-3); flex-wrap: wrap; }
.acc-foot .sw { display: inline-block; width: 14px; height: 14px; border-left: 3px solid var(--accent); border-top: 1px solid var(--line-2); border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); vertical-align: -2px; margin-right: 6px; }

/* ══ 9. Flagship impact ═══════════════════════════════════════════════════ */
.fi-grid { display: grid; grid-template-columns: 1fr 560px; gap: 48px; flex: 1; align-items: start; }
.fi-rows { display: flex; flex-direction: column; border-top: 2px solid var(--ink); }
.fi-row { display: grid; grid-template-columns: 170px 1fr; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--line); align-items: center; }
.fi-row .nm { font-weight: 700; color: var(--ink); font-size: 17px; line-height: 1.2; }
.fi-row .nm small { display: block; font-weight: 400; color: var(--ink-3); font-size: 13px; margin-top: 2px; }
.fi-bars { display: flex; flex-direction: column; gap: 7px; }
.fi-bar { display: grid; grid-template-columns: 1fr 64px; gap: 12px; align-items: center; font-size: 14px; }
.fi-track { height: 22px; background: var(--surface-3); position: relative; }
.fi-fill { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); background: var(--accent); }
.fi-fill.alt { background: var(--cyan); }
.fi-fill span { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; }
.fi-val { font-family: var(--font-serif); font-size: 22px; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.fi-x { display: flex; gap: 12px; align-items: center; font-size: 14px; color: var(--ink-3); }
.fi-x .kpi-val { font-size: 34px; color: var(--accent); }
.frame { border: 1px solid var(--line-2); background: #fff; box-shadow: 0 18px 50px rgba(5,28,44,.14); }
.frame-bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); display: inline-block; }
.frame-bar span { margin-left: 10px; font-size: 12px; color: var(--ink-3); background: #fff; border: 1px solid var(--line); padding: 2px 10px; flex: 1; }
.frame img { display: block; width: 100%; height: auto; }
.frame-cap { font-size: 14px; color: var(--ink-3); margin-top: 12px; line-height: 1.5; }
.frame-stack { position: relative; }
.frame-stack .frame.back { position: absolute; width: 70%; right: -10px; bottom: -70px; }

/* ══ 10. Digital workforce ════════════════════════════════════════════════ */
.wf-grid { display: grid; grid-template-columns: 1fr 470px; gap: 48px; flex: 1; }
.wf-chart { display: flex; flex-direction: column; gap: 8px; }
.wf-row { display: grid; grid-template-columns: 230px 1fr 40px; gap: 14px; align-items: center; cursor: pointer; padding: 2px 0; background: none; border: none; text-align: left; width: 100%; }
.wf-row .lbl { font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.wf-row .trk { height: 26px; background: var(--surface-2); position: relative; }
.wf-row .fil { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); background: var(--accent); display: flex; }
.wf-row .fil i { flex: 1; border-right: 2px solid #fff; }
.wf-row .fil i:last-child { border-right: none; }
.wf-row .ct { font-family: var(--font-serif); font-size: 22px; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.wf-row:hover .fil, .wf-row[aria-expanded="true"] .fil { background: var(--accent-hover); }
.wf-names { font-size: 14px; color: var(--ink-3); padding: 2px 0 8px 244px; line-height: 1.45; }
.wf-names b { color: var(--ink); font-weight: 600; }
.wf-side { display: flex; flex-direction: column; gap: 18px; }
.wf-big { border-top: 2px solid var(--ink); padding-top: 14px; }
.wf-big .kpi-val { font-size: 92px; color: var(--accent); }
.wf-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.wf-stats > div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.wf-stats > div:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 12px; }
.wf-stats > div:nth-child(even) { padding-left: 16px; }
.wf-stats .kpi-val { font-size: 34px; }
.wf-stats .kpi-lab { font-size: 13.5px; margin-top: 4px; }
.wf-static { display: flex; flex-wrap: wrap; gap: 8px; }
.wf-caption { font-size: 13px; color: var(--ink-4); }

/* ══ 11. Agent replay ═════════════════════════════════════════════════════ */
.ar-grid { display: grid; grid-template-columns: 560px 1fr; gap: 44px; flex: 1; min-height: 0; }
.loop svg { width: 100%; height: auto; display: block; }
.loop .st circle.bg { fill: var(--surface); stroke: var(--line-2); stroke-width: 2; transition: fill .3s, stroke .3s; }
.loop .st text { fill: var(--ink); transition: fill .3s; }
.loop .st.on circle.bg { fill: var(--accent); stroke: var(--accent); }
.loop .st.on text { fill: #fff; }
.loop .st.done circle.bg { stroke: var(--accent); }
.loop .st.human.on circle.bg { fill: var(--warning); stroke: var(--warning); }
.ar-controls { display: flex; gap: 10px; align-items: center; margin-top: 10px; flex-wrap: wrap; }
.feed { display: flex; flex-direction: column; gap: 0; border-top: 2px solid var(--ink); }
.fd { display: grid; grid-template-columns: 34px 150px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); align-items: start; transition: opacity .35s, background .35s; }
.fd .n { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ink-4); font-size: 15px; }
.fd .lane { font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); padding-top: 2px; }
.fd .tx { font-size: 15.5px; color: var(--ink-2); line-height: 1.42; }
.fd code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; background: var(--surface-2); border: 1px solid var(--line); padding: 0 5px; color: var(--ink); }
html.js .slide.replaying .fd.pending { opacity: .22; }
.fd.cur { background: var(--accent-soft); }
.fd.cur .n { color: var(--accent); }
.fd.human .lane { color: var(--warning); }
.fd.human.cur { background: var(--warning-soft); }

/* ══ 12. Autonomy ═════════════════════════════════════════════════════════ */
.au-grid { display: grid; grid-template-columns: 640px 1fr; gap: 56px; flex: 1; align-items: start; }
.dial svg { width: 100%; height: auto; display: block; }
.dial .dseg { cursor: pointer; transition: opacity .25s; }
.dial .dseg:hover { opacity: .8; }
.dial .needle { transform-origin: 320px 300px; transition: transform 1s cubic-bezier(.3,1.4,.5,1); }
.lvl-btns { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 6px; }
.lvl-btn { border: 1px solid var(--line-2); background: var(--surface); padding: 8px 6px; cursor: pointer; text-align: center; font-size: 13px; line-height: 1.25; color: var(--ink-2); }
.lvl-btn b { display: block; font-family: var(--font-serif); font-size: 22px; color: var(--ink); font-weight: 500; }
.lvl-btn[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.lvl-btn .cnt { display: block; font-size: 12px; color: var(--accent); font-weight: 600; margin-top: 2px; min-height: 15px; }
.lvl-desc { margin-top: 14px; padding: 14px 16px; background: var(--surface-2); border-left: 3px solid var(--accent); font-size: 17px; color: var(--ink-2); min-height: 76px; }
.lvl-desc b { color: var(--ink); }
.guards { display: flex; flex-direction: column; border-top: 2px solid var(--ink); }
.guard { display: grid; grid-template-columns: 48px 1fr auto; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); align-items: center; }
.guard .ic { width: 48px; height: 48px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 21px; }
.guard .ic.red { background: var(--negative-soft); color: var(--negative); }
.guard h3 { font-size: 20px; font-family: var(--font-serif); }
.guard p { font-size: 15px; color: var(--ink-3); margin-top: 2px; }
.guard .val { font-family: var(--font-serif); font-size: 26px; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.guard .val small { font-family: var(--font-sans); font-size: 12px; color: var(--ink-4); display: block; text-align: right; }

/* ══ 13. Proof ════════════════════════════════════════════════════════════ */
.pf-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; flex: 1; }
.pf-hero { display: flex; flex-direction: column; gap: 16px; }
.ba { border: 1px solid var(--line); padding: 18px 20px; background: var(--surface); }
.ba .who { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.ba h3 { font-size: 22px; margin: 4px 0 12px; }
.ba-row { display: grid; grid-template-columns: 76px 1fr 90px; gap: 12px; align-items: center; margin-bottom: 8px; font-size: 14px; color: var(--ink-3); }
.ba-trk { height: 26px; background: transparent; position: relative; }
.ba-fill { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); background: var(--ink-4); }
.ba-fill.after { background: var(--accent); }
.ba-row .v { font-family: var(--font-serif); font-size: 22px; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.ba .res { font-size: 15px; color: var(--ink-2); margin-top: 6px; }
.ba .res b { color: var(--positive); }
.pf-list { display: flex; flex-direction: column; gap: 12px; }
.pf-case { border-left: 3px solid var(--ink); padding: 8px 0 8px 16px; }
.pf-case .who { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.pf-case h3 { font-size: 20px; margin-top: 2px; }
.pf-case p { font-size: 15px; color: var(--ink-3); margin-top: 3px; }
.pf-case .out { color: var(--positive); font-weight: 600; font-size: 15px; margin-top: 4px; }
.pf-also { display: flex; flex-wrap: wrap; gap: 6px; }
.pf-also .chip { font-size: 13px; padding: 4px 9px; }

/* ══ 14. Value calculator ═════════════════════════════════════════════════ */
.vc-grid { display: grid; grid-template-columns: 520px 1fr; gap: 48px; flex: 1; }
.vc-form { display: flex; flex-direction: column; gap: 14px; }
.vc-f label { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; font-weight: 600; color: var(--ink); gap: 10px; }
.vc-f label output { font-family: var(--font-serif); font-size: 22px; font-weight: 500; color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap; }
.vc-f input[type=range] { width: 100%; accent-color: var(--accent); margin: 6px 0 0; height: 28px; }
.vc-f .h { font-size: 13px; color: var(--ink-4); }
.vc-out { display: flex; flex-direction: column; gap: 18px; }
.vc-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.vc-kpis > div { padding: 14px 14px 14px 0; border-bottom: 1px solid var(--line); }
.vc-kpis > div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.vc-kpis .kpi-val { font-size: 44px; color: var(--ink); }
.vc-kpis .hero .kpi-val { color: var(--accent); }
.vc-hours { display: flex; flex-direction: column; gap: 8px; }
.vc-hbar { display: grid; grid-template-columns: 170px 1fr 110px; gap: 12px; align-items: center; font-size: 15px; color: var(--ink-2); }
.vc-htrk { height: 30px; background: var(--surface-2); position: relative; }
.vc-hfill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ink-4); transition: width .5s var(--ease); }
.vc-hfill.sup { background: var(--accent); }
.vc-hbar .v { font-family: var(--font-serif); font-size: 20px; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.waffle-wrap { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: center; }
.waffle { display: grid; grid-template-columns: repeat(20, 1fr); gap: 3px; }
.waffle i { aspect-ratio: 1; background: var(--line); transition: background .3s; }
.waffle i.stp { background: var(--accent); }
.waffle i.rev { background: var(--warning); }
.waffle-leg { font-size: 14px; color: var(--ink-3); display: flex; flex-direction: column; gap: 6px; }
.waffle-leg span::before { content: ''; display: inline-block; width: 12px; height: 12px; margin-right: 8px; vertical-align: -1px; }
.waffle-leg .a::before { background: var(--accent); }
.waffle-leg .b::before { background: var(--warning); }
.vc-foot { font-size: 12.5px; color: var(--ink-4); line-height: 1.5; }

/* ══ 15. Comparison ═══════════════════════════════════════════════════════ */
.cmp { width: 100%; border-collapse: collapse; font-size: 18px; }
.cmp th, .cmp td { padding: 15px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cmp thead th { font-size: 15px; color: var(--ink); font-weight: 700; border-bottom: 2px solid var(--ink); line-height: 1.25; vertical-align: bottom; }
.cmp thead th small { display: block; font-weight: 400; color: var(--ink-3); font-size: 13px; }
.cmp tbody th { font-weight: 600; color: var(--ink); width: 25%; }
.cmp td { color: var(--ink-3); }
.cmp .dl { background: var(--accent-soft); color: var(--ink); font-weight: 600; border-left: 2px solid var(--accent); border-right: 2px solid var(--accent); }
.cmp thead .dl { background: var(--accent); color: #fff; border-color: var(--accent); }
.cmp thead .dl small { color: #DCE4FF; }
.cmp tbody tr:last-child .dl { border-bottom: 2px solid var(--accent); }
.cmp .dl i { color: var(--accent); margin-right: 6px; }
.cmp td .x { color: var(--ink-4); }
.cmp tr.frag.on td.dl { animation: flash .9s var(--ease); }
@keyframes flash { from { background: #C9D4FF; } to { background: var(--accent-soft); } }

/* ══ 16. Approach ═════════════════════════════════════════════════════════ */
.ap-path { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.ap-step { position: relative; padding: 0 18px 0 0; }
.ap-step .dot { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 17px; position: relative; z-index: 2; }
.ap-step.pilot .dot { background: var(--accent); }
.ap-step h3 { font-size: 23px; margin-top: 12px; }
.ap-step .sub { font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: .08em; text-transform: uppercase; margin-top: 2px; }
.ap-step p { font-size: 15px; color: var(--ink-3); margin-top: 6px; line-height: 1.45; }
.ap-step .gate { display: inline-flex; gap: 6px; align-items: center; margin-top: 8px; font-size: 13px; color: var(--ink-2); border: 1px dashed var(--line-2); padding: 3px 8px; }
.ap-line { position: absolute; left: 22px; right: 60px; top: 21px; height: 3px; background: var(--line); z-index: 1; }
.ap-line span { display: block; height: 100%; background: var(--accent); }
.own { margin-top: 26px; }
.own-bar { display: flex; height: 40px; margin-top: 8px; overflow: hidden; }
.own-bar svg { width: 100%; height: 100%; display: block; }
.own-leg { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-3); margin-top: 6px; }
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.model { border: 1px solid var(--line); padding: 16px 18px; border-top: 3px solid var(--ink); transition: border-color .2s, transform .2s var(--ease); }
.model:hover { border-top-color: var(--accent); transform: translateY(-3px); }
.model h3 { font-size: 21px; }
.model p { font-size: 15px; color: var(--ink-3); margin-top: 4px; }
.model .best { font-size: 13.5px; color: var(--ink-2); margin-top: 8px; }
.model .best b { color: var(--accent); }
.ap-cadence { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }

/* ══ 17. Pilot Gantt ══════════════════════════════════════════════════════ */
.pl-grid { display: grid; grid-template-columns: 380px 1fr; gap: 44px; flex: 1; }
.scope { display: flex; flex-direction: column; border-top: 2px solid var(--ink); }
.scope > div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.scope h3 { font-size: 19px; font-family: var(--font-serif); }
.scope p { font-size: 14.5px; color: var(--ink-3); margin-top: 2px; line-height: 1.4; }
.gantt { display: grid; grid-template-columns: 250px repeat(6, 1fr); border-top: 2px solid var(--ink); }
.gantt .gh { font-size: 13px; font-weight: 600; color: var(--ink-3); padding: 8px 6px; border-bottom: 1px solid var(--line); text-align: center; letter-spacing: .06em; text-transform: uppercase; }
.gantt .gh:first-child { text-align: left; padding-left: 0; }
.g-row { display: contents; }
.g-row > .gl { padding: 9px 12px 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink); font-weight: 600; line-height: 1.25; }
.g-row > .gl small { display: block; font-weight: 400; font-size: 13px; color: var(--ink-3); }
.g-cell { border-bottom: 1px solid var(--line); border-left: 1px dashed var(--line); position: relative; }
.g-bar { position: absolute; top: 50%; transform: translateY(-50%); height: 30px; left: 4px; right: 4px; background: var(--accent); color: #fff; font-size: 12.5px; font-weight: 600; display: flex; align-items: center; padding: 0 10px; white-space: nowrap; overflow: hidden; }
.g-bar.dark { background: var(--ink); }
.g-bar.cy { background: var(--cyan); }
.g-bar-wrap { position: absolute; inset: 0; }
.crit { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 20px; border-top: 2px solid var(--ink); }
.crit > div { padding: 12px 16px 0 0; }
.crit > div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.crit .kpi-val { font-size: 46px; color: var(--accent); }
.crit .kpi-lab { font-size: 14px; }

/* ══ 18. Next steps ═══════════════════════════════════════════════════════ */
.s-cta .slide-inner { background: var(--ink); color: #D9E2EA; }
.s-cta .eyebrow { color: #8FA6FF; }
.s-cta h2 { color: #fff; }
.s-cta .lede { color: #B9C6D3; }
.ns-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 8px; position: relative; }
.ns-step { padding: 22px 28px 22px 0; border-top: 3px solid rgba(255,255,255,.2); position: relative; }
.ns-step + .ns-step { padding-left: 28px; }
.ns-step .fillline { position: absolute; left: 0; top: -3px; height: 3px; right: 0; background: #8FA6FF; }
.ns-step .n { font-family: var(--font-serif); font-size: 64px; color: #8FA6FF; line-height: 1; }
.ns-step h3 { color: #fff; font-size: 28px; margin-top: 8px; }
.ns-step p { color: #B9C6D3; font-size: 17px; margin-top: 8px; }
.ns-step .dur { display: inline-block; margin-top: 12px; font-size: 14px; color: #fff; border: 1px solid rgba(255,255,255,.3); padding: 3px 10px; }
.ns-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; align-items: center; }
.s-cta .btn { border-color: rgba(255,255,255,.5); color: #fff; background: transparent; }
.s-cta .btn:hover { background: #fff; color: var(--ink); }
.s-cta .btn.primary { background: var(--accent); border-color: var(--accent); }
.s-cta .btn.primary:hover { background: #fff; color: var(--ink); border-color: #fff; }
.ns-contact { font-size: 17px; color: #B9C6D3; margin-top: 18px; }
.ns-contact a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.4); }

/* ══ Narrow slides (phones, fluid mode, no-JS on small screens) ═══════════ */
@container slide (max-width: 1100px) {
    .slide-inner { padding: 40px 40px 36px; gap: 22px; }
    .s-head h2 { font-size: 40px; }
    .ch-grid, .ms-grid, .wa-grid, .sl-grid, .ly-grid, .fi-grid, .wf-grid, .ar-grid, .au-grid, .pf-grid, .vc-grid, .pl-grid { grid-template-columns: 1fr; gap: 32px; }
    .acc-cols { grid-template-columns: 1fr 1fr; }
    .wheel, .loop, .dial { max-width: 520px; }
}
@container slide (max-width: 700px) {
    .slide-inner { padding: 28px 16px 32px; gap: 18px; }
    .eyebrow { font-size: 12px; letter-spacing: .12em; }
    .s-head h2 { font-size: 29px; line-height: 1.14; }
    .lede { font-size: 17px; }
    body { font-size: 16px; }
    .s-title .slide-inner { flex-direction: column; }
    .t-left { padding: 28px 16px; gap: 22px; }
    .t-left h1 { font-size: 42px; }
    .t-left .lede { font-size: 17px; margin-top: 14px; }
    .t-kpis { grid-template-columns: 1fr 1fr; gap: 16px; }
    .t-kpis .kpi-val { font-size: 38px; }
    .t-right { padding: 24px 16px 56px; }
    .ch-kpi .kpi-val { font-size: 40px; }
    .ch-kpi:nth-child(even) { padding-left: 14px; }
    .blockers { grid-template-columns: 1fr; }
    .ev { grid-template-columns: 96px 1fr; gap: 12px; }
    .ev .kpi-val { font-size: 32px; }
    .sl-cols { grid-template-columns: 1fr 1fr; }
    .sl-col .ph-desc { min-height: 0; }
    .fw-found { grid-template-columns: 1fr 1fr; }
    .fw-foot { flex-direction: column; align-items: flex-start; }
    .plane { grid-template-columns: 1fr; gap: 6px; }
    .plane-layers { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
    .acc-cols { grid-template-columns: 1fr; }
    .acc-col.fin .tiles { grid-template-columns: 1fr; }
    .tile .tx { grid-template-rows: 1fr; }
    .fi-row { grid-template-columns: 1fr; gap: 8px; }
    .frame-stack .frame.back { display: none; }
    .wf-row { grid-template-columns: 120px 1fr 32px; gap: 10px; }
    .wf-row .lbl { font-size: 14px; }
    .wf-names { padding-left: 0; }
    .wf-big .kpi-val { font-size: 64px; }
    .fd { grid-template-columns: 26px 1fr; }
    .fd .lane { grid-column: 2; }
    .fd .tx { grid-column: 2; }
    .guard { grid-template-columns: 40px 1fr; }
    .guard .ic { width: 40px; height: 40px; }
    .guard .val { grid-column: 2; }
    .guard .val small { text-align: left; }
    .lvl-btn { font-size: 11px; padding: 6px 2px; }
    .ba-row { grid-template-columns: 60px 1fr 70px; }
    .vc-kpis { grid-template-columns: 1fr; }
    .vc-kpis > div + div { padding-left: 0; border-left: none; }
    .vc-hbar { grid-template-columns: 1fr 80px; }
    .vc-hbar .vc-htrk { grid-column: 1 / -1; grid-row: 2; }
    .waffle-wrap { grid-template-columns: 1fr; }
    .cmp { font-size: 14px; }
    .cmp th, .cmp td { padding: 10px 8px; }
    .cmp th:nth-child(2), .cmp th:nth-child(3), .cmp th:nth-child(4),
    .cmp td:nth-child(2), .cmp td:nth-child(3), .cmp td:nth-child(4) { display: none; }
    .cmp-note { display: block !important; }
    .own-leg span:nth-child(2) { display: none; }
    .ap-path { grid-template-columns: 1fr; gap: 18px; }
    .ap-line { display: none; }
    .models { grid-template-columns: 1fr; }
    .gantt { grid-template-columns: 110px repeat(6, 1fr); }
    .g-row > .gl { font-size: 12.5px; padding-right: 6px; }
    .g-row > .gl small { display: none; }
    .g-bar { font-size: 0; padding: 0; height: 20px; }
    .gantt .gh { font-size: 10px; padding: 6px 2px; letter-spacing: 0; }
    .crit { grid-template-columns: 1fr 1fr; }
    .crit > div:nth-child(3) { padding-left: 0; border-left: none; }
    .crit .kpi-val { font-size: 34px; }
    .ns-steps { grid-template-columns: 1fr; }
    .ns-step + .ns-step { padding-left: 0; }
    .ns-step .n { font-size: 44px; }
}

/* ══ Print / PDF: one slide per page, every build shown ═══════════════════ */
@page { size: 1600px 900px; margin: 0; }
@media print {
    html, body { background: #fff !important; overflow: visible !important; height: auto !important; }
    .deck-bar, .deck-progress, .edge, .notes-panel, .overview, .nojs-top, .ar-controls, .no-print { display: none !important; }
    .stage { position: static !important; transform: none !important; width: 1600px !important; height: auto !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
    .slide {
        position: relative !important; inset: auto !important; display: block !important; opacity: 1 !important; visibility: visible !important;
        width: 1600px !important; height: 900px !important; margin: 0 !important; border: none !important; box-shadow: none !important;
        page-break-after: always; break-after: page; break-inside: avoid; overflow: hidden !important; animation: none !important;
    }
    .slide:last-child { page-break-after: auto; break-after: auto; }
    .slide-inner { height: 900px !important; }
    .frag { opacity: 1 !important; transform: none !important; }
    .particle { display: none !important; }
    .fd { opacity: 1 !important; }
    * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
}

/* maturity stairs (slide 7) */
.mstairs { display: flex; flex-direction: column; gap: 8px; }
.mrow { display: grid; grid-template-columns: 1fr 96px; gap: 10px; align-items: center; }
.mbar { width: var(--w); height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 14px; color: #fff; font-size: 15px; font-weight: 600; white-space: nowrap; }
.mbar b { font-family: var(--font-serif); font-size: 24px; font-weight: 500; }
.mrow span { font-size: 13px; color: var(--ink-3); }
@media screen {
    html.js.stage-mode .frag:not(.on) .pop { opacity: 0; transform: scale(.85); }
}

/* phone alternatives for wide diagrams */
.fw-mobile, .road-mobile { display: none; }
@container slide (max-width: 700px) {
    .fw-svg, .road svg { display: none; }
    .fw-mobile { display: grid; gap: 8px; padding: 0; margin: 0 0 8px; list-style: none; }
    .fw-mobile li { background: var(--ink); color: #B9C6D3; padding: 12px 14px; font-size: 14px; line-height: 1.45; }
    .fw-mobile li.last { background: var(--accent); color: #E8EEFF; }
    .fw-mobile b { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #8FA6FF; }
    .fw-mobile li.last b { color: #DCE4FF; }
    .fw-mobile span { display: block; font-family: var(--font-serif); font-size: 24px; color: #fff; margin: 2px 0 4px; }
    .road-mobile { display: block; margin-bottom: 14px; }
    .rm-lab { font-size: 14px; font-weight: 600; color: var(--ink); margin: 10px 0 6px; }
    .rm-lab.acc { color: var(--accent); }
    .rm-bar { display: flex; height: 18px; background: transparent; }
    .rm-bar i { display: block; height: 100%; background: var(--ink-4); }
    .rm-bar i.lt { background: var(--line-2); }
    .rm-bar i.acc { background: var(--accent); }
}

.cmp-note { display: none; font-size: 13px; color: var(--ink-4); margin-top: 8px; }
.crit .kpi-val.go { font-size: 36px; padding-top: 8px; }
@container slide (max-width: 700px) { .crit .kpi-val.go { font-size: 26px; padding-top: 4px; } }
[hidden] { display: none !important; }
