/* Deck variables mapped onto the brand tokens (public/assets/tokens.css), so slides.css keeps its names. */
:root {
  --bg: var(--paper);
  --bg2: #ECE6DA;
  --panel: var(--paper-raised);
  --panel2: #F6F1E7;
  --line: var(--rule);
  --gold: var(--gold-ink);
  --gold2: #80590F;
  --cream: var(--ink);
  --muted: var(--ink-soft);
  --dim: #6A645A;
  --teal: var(--rise);
  --blue: #2B4C7E;
  --red: var(--signal);
  --violet: #5E4A8C;
  --serif: var(--f-head);
  --sans: var(--f-text);
  --mono: var(--f-mono);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--night); scroll-snap-type: y mandatory; }
body { background: var(--night); }
body { font-family: var(--sans); color: var(--cream); -webkit-font-smoothing: antialiased; }

/* ---------- scroll layout: each 1600x900 slide scaled into its own snap page ---------- */
#viewport { position: relative; }
#stage { display: flex; flex-direction: column; align-items: center; }
.page { height: var(--page-h, 100vh); width: 100%; display: grid; place-items: center; scroll-snap-align: start; }
.slide {
  position: relative; width: 1600px; height: 900px; flex: none; zoom: var(--s, 1);
  padding: 72px 96px 80px; overflow: hidden; isolation: isolate;
  background: var(--bg); color: var(--cream);
  border-top: 6px solid var(--gold);
}
/* chapter slides: the night masthead colours */
.slide.night {
  --bg: var(--night); --panel: #141922; --panel2: #1B212B; --line: #2A3140;
  --cream: var(--night-text); --muted: var(--night-soft); --dim: #9A9284; --gold: #D9A441; --gold2: #E8C06A;
}

/* reveal on entry: text is visible at rest; the animation only fills backwards while a slide is active */
.slide.active .rv { animation: rise .8s cubic-bezier(.2,.7,.2,1) backwards; animation-delay: calc(var(--d, 0) * 1s + .15s); }
.slide.active .rv.fade { animation-name: fade; }
.slide.active .rv.zoom { animation-name: zoom; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes zoom { from { opacity: 0; transform: scale(.92); } }
@media (prefers-reduced-motion: reduce) { .slide.active * { animation: none !important; } }

/* ---------- typography ---------- */
.kicker { font-family: var(--mono); font-weight: 600; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; color: var(--red); display: inline-block; border-top: 2px solid var(--red); padding-top: 8px; }
.slide.night .kicker { color: var(--gold); border-top-color: var(--gold); }
h1 { font-family: var(--serif); font-weight: 700; font-size: 96px; line-height: 1; letter-spacing: -.005em; }
h2 { font-family: var(--serif); font-weight: 700; font-size: 58px; line-height: 1.05; letter-spacing: -.005em; margin-top: 16px; max-width: 1250px; }
h2 em, h1 em { font-style: normal; color: inherit; box-shadow: inset 0 -.22em 0 rgba(217,164,65,.55); }
.slide.night h1 em, .slide.night h2 em { box-shadow: inset 0 -.22em 0 rgba(217,164,65,.45); }
h3 { font-family: var(--serif); font-size: 23px; font-weight: 600; }
.lead { font-size: 25px; line-height: 1.45; color: var(--muted); max-width: 1000px; margin-top: 18px; }
.muted { color: var(--muted); }
.gold { color: var(--gold); }
.teal { color: var(--teal); }
.mono { font-family: var(--mono); }
.small { font-size: 15px; }
.foot { position: absolute; left: 96px; bottom: 34px; font-family: var(--mono); font-size: 12.5px; color: var(--dim); letter-spacing: .04em; }

/* ---------- chrome ---------- */
#progress { position: fixed; left: 0; top: 0; height: 3px; background: #D9A441; width: 0; transition: width .6s ease; z-index: 20; }
#pager { position: fixed; right: 24px; bottom: 18px; font-family: var(--mono); font-size: 13px; color: var(--night-soft); z-index: 20; letter-spacing: .04em; }
#brand { display: none; position: absolute; left: 96px; top: 30px; font-family: var(--mono); font-size: 12.5px; color: var(--dim); letter-spacing: .04em; text-transform: uppercase; z-index: 20; }
#brand b { color: #D9A441; font-weight: 600; }
.hide-chrome #brand, .hide-chrome #pager { opacity: 0; }

#menu { position: fixed; inset: 0; background: rgba(11,14,19,.86); backdrop-filter: blur(6px); display: none; place-items: center; z-index: 50; }
#menu.open { display: grid; }
#menu .box { background: var(--paper-raised); color: var(--ink); border: 1px solid var(--rule); border-top: 4px solid #D9A441; border-radius: 4px; padding: 28px 30px; width: min(760px, 92vw); max-height: 86vh; overflow: auto; }
#menu h4 { font-family: var(--mono); color: var(--gold-ink); letter-spacing: .04em; font-size: 13px; margin-bottom: 14px; font-weight: 600; }
#menu button { display: flex; width: 100%; gap: 16px; background: none; border: 0; color: var(--ink); text-align: left; padding: 10px 12px; border-radius: 3px; font: 17px var(--f-head); cursor: pointer; }
#menu button:hover, #menu button.cur { background: var(--paper); }
#menu button span { font-family: var(--mono); color: var(--ink-soft); width: 30px; }
#menu .keys { margin-top: 16px; color: var(--ink-soft); font: 13px var(--mono); line-height: 1.8; }

#hint { position: fixed; right: 18px; top: 14px; font: 12px var(--mono); color: var(--night-soft); z-index: 30; transition: opacity 1s; }

/* ---------- shared components ---------- */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 4px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 3px; border: 1px solid var(--line); background: var(--panel); font-size: 15px; color: var(--cream); white-space: nowrap; }
.chip i { width: 7px; height: 7px; background: var(--gold); display: inline-block; transform: rotate(45deg); }
.row { display: flex; gap: 24px; }
.grid { display: grid; gap: 22px; }
.tag { font-family: var(--mono); font-weight: 600; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--gold); }
.src { font-family: var(--mono); font-size: 12px; color: #17633E; background: rgba(31,122,77,.08); border: 1px solid rgba(31,122,77,.3); padding: 2px 7px; border-radius: 3px; white-space: nowrap; }
.icon { width: 44px; height: 44px; border-radius: 4px; display: grid; place-items: center; background: rgba(138,97,20,.08); border: 1px solid rgba(138,97,20,.3); color: var(--gold); flex: none; }
.icon svg { width: 22px; height: 22px; }

svg .rv, svg g.fl-stage { transform-box: fill-box; transform-origin: center; }
#deck-nav { position: fixed; left: 18px; top: 12px; z-index: 30; display: flex; align-items: center; gap: 18px; font: 12px var(--mono); letter-spacing: .04em; }
#deck-nav a { color: var(--night-soft); text-decoration: none; }
#deck-nav a:hover, #deck-nav a[aria-current="page"] { color: #D9A441; }
#deck-nav #home b { color: #D9A441; }
#deck-nav .nav { display: flex; gap: 14px; }
#deck-nav .nav-sub { color: var(--night); background: #D9A441; padding: 3px 8px; }
#deck-nav .nav-sub:hover { color: var(--night); background: var(--night-text); }
#deck-nav #work-link { color: #D9A441; }
@media (max-width: 900px) { #deck-nav .nav a:not(.nav-sub) { display: none; } }
#rotate { display: none; }
@media (max-width: 900px) { #hint { display: none; } }
@media (orientation: portrait) and (max-width: 820px) {
  #rotate { display: block; position: fixed; left: 0; right: 0; bottom: 0; padding: 12px 16px; text-align: center;
    font: 13px var(--mono); color: var(--night-text); background: rgba(11,14,19,.96); border-top: 1px solid #D9A441; z-index: 60; }
}

/* 01 title */
#net { position: absolute; inset: 0; width: 100%; height: 100%; }
.s-title .title-wrap { position: absolute; left: 96px; bottom: 120px; max-width: 900px; }
.s-title h1 { margin-top: 26px; font-size: 104px; }
.s-title .lead { font-size: 25px; max-width: 760px; }
.xmark { margin-top: 42px; display: flex; align-items: center; gap: 22px; font-family: var(--mono); font-size: 22px; letter-spacing: .3em; text-transform: uppercase; }
.xmark b { color: var(--gold); font-size: 30px; font-weight: 400; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }

/* 02 problem */
.prob-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; margin-top: 54px; }
.prob-bars { padding: 36px 40px; display: flex; flex-direction: column; justify-content: center; }
.pbar { display: grid; grid-template-columns: 300px 1fr 90px; align-items: center; gap: 20px; margin-top: 34px; }
.pbar label { font-size: 18px; color: var(--cream); }
.pbar .track { height: 30px; background: rgba(21,24,29,.06); border-radius: 6px; overflow: hidden; }
.pbar .fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--red), #E07A66); border-radius: 6px; }
.pbar.alt .fill { background: linear-gradient(90deg, var(--teal), #6FB08F); }
.slide.active .pbar .fill { animation: grow 1.6s cubic-bezier(.2,.7,.2,1) .7s forwards; }
@keyframes grow { to { width: var(--w); } }
.pbar output { font-family: var(--mono); font-size: 28px; color: var(--cream); text-align: right; }
.prob-facts { display: flex; flex-direction: column; gap: 22px; }
.fact { display: flex; gap: 24px; align-items: center; padding: 20px 26px; border-top: 2px solid var(--cream); background: rgba(138,97,20,.04); border-radius: 0; }
.fact b { font-family: var(--serif); font-size: 58px; font-weight: 500; color: var(--gold2); min-width: 140px; }
.fact span { font-size: 18.5px; line-height: 1.45; color: var(--muted); }

/* 03 kpis */
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.kpi { padding: 32px 34px; position: relative; overflow: hidden; }
.kpi::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--gold); }
.slide.active .kpi::after { animation: grow 1.4s ease .8s forwards; --w: 100%; }
.kpi b { font-family: var(--serif); font-weight: 700; font-size: 68px; color: var(--cream); display: block; letter-spacing: -.02em; }
.kpi span { font-size: 18px; color: var(--muted); margin-top: 6px; display: block; }

/* 04 mindmap */
#mindmap { width: 100%; height: 660px; margin-top: 4px; }
.mm-link { fill: none; stroke-width: 1.6; stroke-dasharray: var(--len); stroke-dashoffset: var(--len); opacity: .75; transition: opacity .4s; }
.slide.active .mm-link { animation: draw 1.2s ease forwards; animation-delay: var(--dl); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.mm-node { transition: opacity .4s; cursor: pointer; }
.slide.active .mm-node { animation: pop .6s cubic-bezier(.2,.7,.2,1) backwards; animation-delay: var(--dl); }
@keyframes pop { from { opacity: 0; transform: scale(.6); } }
.mm-node { transform-box: fill-box; transform-origin: center; }
#mindmap.focus .mm-dim { opacity: .12 !important; }
.mm-leaf text { font: 15px var(--sans); fill: var(--cream); }
.mm-main text { font: 600 18px var(--sans); fill: var(--bg); }
.mm-core text { font-family: var(--serif); }

/* 05 flow */
#flow { width: 100%; height: 330px; margin-top: 80px; }
.fl-stage text.t { font: 600 20px var(--sans); fill: var(--cream); }
.fl-stage text.d { font: 14.5px var(--sans); fill: var(--muted); }
.fl-stage text.n { font: 12px var(--mono); fill: var(--gold); letter-spacing: .04em; }
.flow-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.flow-band div { padding: 20px 24px; border-top: 1px solid var(--line); }
.flow-band b { display: block; font-size: 19px; color: var(--gold2); margin-bottom: 6px; font-weight: 600; }
.flow-band span { color: var(--muted); font-size: 17px; }

/* 06 models */
.models-grid { display: grid; grid-template-columns: 1fr 720px; gap: 30px; margin-top: 20px; align-items: center; }
.checks { list-style: none; display: flex; flex-direction: column; gap: 22px; }
.checks li { padding-left: 38px; position: relative; font-size: 18px; color: var(--muted); line-height: 1.45; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--gold); background: rgba(138,97,20,.12); }
.checks li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 8px; height: 5px; border-left: 2px solid var(--gold2); border-bottom: 2px solid var(--gold2); transform: rotate(-45deg); }
.checks b { display: block; color: var(--cream); font-size: 21px; font-weight: 600; margin-bottom: 2px; }
#orbit { width: 720px; height: 620px; overflow: visible; }
.orb-ring { animation: spin 60s linear infinite; transform-origin: 360px 310px; }
@keyframes spin { to { transform: rotate(360deg); } }
.orb-pulse { stroke-dasharray: 4 10; animation: flowdash 1.6s linear infinite; }
@keyframes flowdash { to { stroke-dashoffset: -28; } }

/* 07 robust */
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-strip div { padding: 20px 0 20px 26px; border-left: 1px solid var(--line); }
.stats-strip div:first-child { border-left: 0; padding-left: 0; }
.stats-strip b { font-family: var(--serif); font-size: 50px; font-weight: 500; color: var(--gold2); display: block; }
.stats-strip span { color: var(--muted); font-size: 16px; }
.cards6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.card { padding: 24px 26px; display: grid; grid-template-columns: 44px 1fr; column-gap: 18px; row-gap: 6px; }
.card .icon { grid-row: span 2; }
.card p { color: var(--muted); font-size: 16px; line-height: 1.5; }

/* 08 optimized */
.opt-grid { display: grid; grid-template-columns: 860px 1fr; gap: 30px; margin-top: 36px; }
.gantt-wrap { padding: 22px 20px 12px; }
#gantt { width: 100%; height: 330px; margin-top: 8px; }
.g-bar { transform-box: fill-box; transform-origin: left; transform: scaleX(0); }
.slide.active .g-bar { animation: gx .5s ease forwards; animation-delay: var(--dl); }
@keyframes gx { to { transform: scaleX(1); } }
.opt-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ostat { padding: 20px 22px; border: 1px solid var(--line); border-radius: 4px; background: var(--panel); }
.ostat b { font-family: var(--serif); font-size: 44px; font-weight: 500; color: var(--gold2); display: block; }
.ostat span { color: var(--muted); font-size: 15px; line-height: 1.45; display: block; margin-top: 4px; }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 30px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line); }
.timeline div { position: relative; padding-top: 26px; }
.timeline div::before { content: ""; position: absolute; top: 1px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 2px solid var(--dim); }
.timeline div.now::before { border-color: var(--gold); background: var(--gold); box-shadow: 0 0 0 6px rgba(138,97,20,.18); }
.timeline i { font: normal 12px var(--mono); color: var(--dim); letter-spacing: .04em; text-transform: uppercase; }
.timeline b { font-family: var(--mono); color: var(--gold); margin-left: 0; font-weight: 500; }
.timeline span { display: block; color: var(--muted); font-size: 15.5px; margin-top: 4px; }

/* 09 brain */
.brain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 34px; }
.chart-card { padding: 24px 26px; }
#growth { width: 100%; height: 370px; margin-top: 10px; }
#heat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px; }
#heat div { border-radius: 8px; padding: 12px 12px 10px; height: 86px; display: flex; flex-direction: column; justify-content: space-between; }
.slide.active #heat div { animation: pop .5s ease backwards; animation-delay: var(--dl); }
#heat b { font-size: 14.5px; font-weight: 600; color: var(--ink); }
#heat span { font: 12.5px var(--mono); color: rgba(11,14,19,.75); }
#heat div.lo b, #heat div.lo span { color: var(--cream); }
.dtypes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.dtypes .chip { font-size: 15.5px; padding: 9px 16px; }
.dtypes .chip b { font-family: var(--mono); color: var(--gold2); font-weight: 500; }

/* 10 outputs */
.out-grid { display: grid; grid-template-columns: 640px 1fr; gap: 36px; margin-top: 18px; align-items: start; }
#hub { width: 640px; height: 560px; overflow: visible; }
.hub-spoke { stroke-dasharray: 3 7; animation: flowdash 1.2s linear infinite; }
.console { margin-top: 26px; overflow: hidden; background: var(--panel); }
.con-head { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.con-head i { width: 10px; height: 10px; border-radius: 50%; background: #D8D1C2; }
.con-head span { margin-left: 10px; font: 13px var(--mono); color: var(--dim); }
.con-body { padding: 22px 24px; min-height: 340px; }
.con-body .q { font-size: 20px; color: var(--cream); padding: 12px 16px; border-radius: 10px; background: var(--panel2); display: inline-block; margin-bottom: 16px; }
.slide.active .con-body .step, .slide.active .con-body .ans { animation: rise .5s ease backwards; animation-delay: calc(1s + var(--t) * .7s); }
.con-body .step { font: 14.5px var(--mono); color: var(--teal); margin: 6px 0; }
.con-body .ans { margin-top: 16px; font-size: 17.5px; line-height: 1.65; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.con-body .ans b { color: var(--cream); display: block; margin-bottom: 4px; font-size: 19px; }
.con-caps { display: flex; gap: 10px; flex-wrap: wrap; padding: 14px 24px 18px; border-top: 1px solid var(--line); }
.con-caps span { font: 12.5px var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(138,97,20,.3); padding: 6px 10px; border-radius: 6px; }

/* 11 surfaces */
.mocks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 46px; perspective: 1400px; }
.mock { padding: 18px 18px 16px; height: 500px; display: flex; flex-direction: column; transform: rotateY(-8deg) rotateX(4deg); transition: transform .5s; box-shadow: 0 8px 18px rgba(21,24,29,.12); }
.slide.active .mock { animation: float 6s ease-in-out infinite, rise .8s ease forwards; animation-delay: calc(var(--d) * 2s), calc(var(--d) * 1s + .15s); }
@keyframes float { 50% { translate: 0 -8px; } }
.mock:hover { transform: none; }
.mhead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.dots i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #D8D1C2; margin-left: 4px; }
.mcap { margin-top: auto; font-size: 14px; color: var(--muted); padding-top: 12px; border-top: 1px solid var(--line); }
.m-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.m-kpis div { background: var(--panel2); border-radius: 8px; padding: 10px; }
.m-kpis b { font-family: var(--serif); font-size: 28px; display: block; color: var(--gold2); font-weight: 500; }
.m-kpis span { font-size: 12px; color: var(--dim); }
.m-heat { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin-top: 14px; }
.m-heat i { aspect-ratio: 1; border-radius: 4px; }
.mock .mock-title { font-family: var(--serif); font-size: 26px; font-weight: 500; margin-bottom: 12px; }
.lines i { display: block; height: 8px; background: #E2DBCD; border-radius: 4px; margin: 10px 0; }
.div-log { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.div-log div { font-size: 14px; color: var(--muted); background: var(--panel2); padding: 10px; border-radius: 8px; line-height: 1.6; }
.div-log b { color: var(--gold); }
.m-q { font: 15px var(--mono); color: var(--cream); background: var(--panel2); border: 1px solid var(--line); border-radius: 8px; padding: 12px; }
.m-res { margin-top: 14px; display: flex; flex-direction: column; gap: 14px; }
.m-res div span { font-size: 14.5px; color: var(--cream); display: block; margin-bottom: 6px; }
.m-res div i { display: block; height: 5px; border-radius: 3px; width: var(--w); background: linear-gradient(90deg, var(--teal), transparent); }
.m-sum { display: grid; grid-template-columns: 70px 1fr; gap: 10px; flex: 1; }
.m-sum .side i { display: block; height: 22px; background: var(--panel2); border-radius: 5px; margin-bottom: 7px; }
.m-sum .side i.on { background: rgba(138,97,20,.35); }
.m-sum .cards div { background: var(--panel2); border-radius: 8px; padding: 10px; margin-bottom: 8px; }
.m-sum .cards b { display: block; height: 10px; width: 60%; background: #CFC8B9; border-radius: 3px; margin-bottom: 8px; }
.m-sum .cards i { display: block; height: 6px; background: #E2DBCD; border-radius: 3px; margin: 6px 0; }
.m-sum .cards .img { height: 120px; background: linear-gradient(135deg, rgba(31,122,77,.25), rgba(138,97,20,.18)), repeating-linear-gradient(90deg, transparent 0 22px, rgba(21,24,29,.06) 22px 23px); }

/* 12 publications */
.pub-grid { display: grid; grid-template-columns: 1fr 600px; gap: 36px; margin-top: 34px; }
.browser { border-radius: 4px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: 0 8px 18px rgba(21,24,29,.14); height: 560px; display: flex; flex-direction: column; }
.bbar { background: #E6E0D3; display: flex; align-items: center; gap: 7px; padding: 11px 16px; }
.bbar i { width: 10px; height: 10px; border-radius: 50%; background: #CFC8B9; }
.bbar span { margin-left: 12px; font: 13px var(--mono); color: var(--muted); }
.shot { flex: 1; overflow: hidden; position: relative; }
.shot img { width: 100%; display: block; }
.slide.active .shot img { animation: scrollshot 14s ease-in-out 1.5s infinite alternate; }
@keyframes scrollshot { 0%, 15% { transform: translateY(0); } 85%, 100% { transform: translateY(calc(-100% + 510px)); } }
.committee { padding: 26px 28px; }
.cq { font-family: var(--serif); font-weight: 500; font-size: 27px; margin: 12px 0 20px; line-height: 1.25; }
.agents3 { display: flex; flex-direction: column; gap: 12px; }
.agents3 div { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; background: var(--panel2); padding: 12px 14px; border-radius: 10px; }
.agents3 b { font-size: 16px; }
.agents3 span { grid-column: 2; font-size: 14.5px; color: var(--muted); line-height: 1.45; }
.av { grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: normal 600 13px var(--mono); color: var(--bg); background: var(--c, var(--gold)); }
.weigh { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; margin-top: 20px; font: 12.5px var(--mono); color: var(--muted); }
.weigh div { height: 8px; background: rgba(31,122,77,.35); border-radius: 4px; overflow: hidden; }
.weigh div i { display: block; height: 100%; width: 0; background: var(--red); }
.slide.active .weigh div i { animation: grow 1.4s ease 1.4s forwards; }
.verdict { margin-top: 20px; display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding-top: 18px; border-top: 1px solid var(--line); }
.verdict b { display: block; font-family: var(--serif); font-size: 28px; color: var(--gold2); font-weight: 500; margin-top: 4px; }
.verdict p { font-family: var(--sans); font-size: 17px; color: var(--cream); line-height: 1.5; }

/* 13 loop */
.loop-grid { display: grid; grid-template-columns: 600px 1fr; gap: 50px; margin-top: 14px; align-items: center; }
#loop { width: 600px; height: 600px; overflow: visible; }
.loop-arc { stroke-dasharray: 6 10; animation: flowdash 2s linear infinite; }
.loop-ex { display: flex; flex-direction: column; gap: 24px; }
.lx { display: flex; gap: 20px; }
.lx p { color: var(--muted); font-size: 17px; line-height: 1.5; margin-top: 4px; }

/* 14 fomc */
.fomc-grid { display: grid; grid-template-columns: 250px 1fr 450px; gap: 26px; margin-top: 28px; }
.srclist { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.srclist span { font-size: 14.5px; color: var(--cream); padding: 6px 10px; border: 1px solid var(--line); background: rgba(31,122,77,.06); border-radius: 3px; }
.slide.active .srclist span { animation: rise .4s ease backwards; }
.debate { display: flex; flex-direction: column; gap: 12px; }
.msg { display: grid; grid-template-columns: 40px 1fr; gap: 12px; }
.slide.active .msg { animation: rise .6s ease backwards; animation-delay: calc(1.6s + var(--t) * 1.5s); }
.msg .av { grid-row: auto; }
.msg > div { background: var(--panel); border: 1px solid var(--line); border-radius: 4px 14px 14px 14px; padding: 12px 16px; }
.msg b { font-size: 14.5px; }
.msg p { font-size: 15.5px; color: var(--muted); line-height: 1.5; margin: 4px 0 8px; }
.msg .cites { display: flex; gap: 6px; flex-wrap: wrap; }
.msg.hawk .av { background: var(--red); }
.msg.dove .av { background: var(--blue); }
.msg.mkt .av { background: var(--violet); }
.msg.hawk b { color: #B5402B; } .msg.dove b { color: #2B4C7E; } .msg.mkt b { color: #5E4A8C; }
.fomc-right { display: flex; flex-direction: column; gap: 18px; }
.disp { padding: 18px 20px 8px; }
#disp { width: 100%; height: 250px; }
.pmv { padding: 20px 22px; border-color: rgba(138,97,20,.45); background: var(--panel); }
.slide.active .pmv { animation: rise .8s ease 7.8s backwards; }
.pmv > b { display: block; font-family: var(--serif); font-size: 29px; font-weight: 500; color: var(--gold2); margin: 8px 0 6px; }
.pmv p { font-size: 15.5px; color: var(--cream); line-height: 1.5; }
.pmrow { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; margin: 12px 0; font: 13px var(--mono); color: var(--muted); }
.meter { height: 8px; background: #E2DBCD; border-radius: 4px; overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold2)); }
.slide.active .meter i { animation: grow 1.2s ease 8.6s forwards; }

/* 15 summary */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 44px; }
.s-sum .stats-strip { grid-template-columns: repeat(5, 1fr); margin-top: 34px; }
.s-sum .stats-strip b { font-size: 42px; }
.pillar { padding: 32px 34px; }
.pn { font: 14px var(--mono); color: var(--gold); letter-spacing: .04em; }
.pillar h3 { font-family: var(--serif); font-weight: 500; font-size: 40px; margin: 10px 0 18px; }
.pillar ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.pillar li { font-size: 18px; color: var(--muted); padding-left: 20px; position: relative; line-height: 1.4; }
.pillar li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 1px; background: var(--gold); }
.closing { font-family: var(--serif); font-size: 44px; margin-top: 44px; text-align: center; letter-spacing: -.01em; }
.closing em { font-style: normal; color: inherit; box-shadow: inset 0 -.22em 0 rgba(217,164,65,.45); }

.m-gauge { margin-top: 16px; font: 12px var(--mono); color: var(--dim); }
.m-gauge div { display: flex; height: 10px; border-radius: 5px; overflow: hidden; margin-top: 8px; }
.m-gauge i { display: block; }
.m-filters { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 16px; }
.m-filters span { font: 11.5px var(--mono); color: var(--muted); border: 1px solid var(--line); border-radius: 5px; padding: 4px 7px; }

/* reduced motion: final states */
@media (prefers-reduced-motion: reduce) {
  .g-bar { transform: none; }
  .mm-link { stroke-dashoffset: 0; }
  .kpi::after { width: 100%; }
  .pbar .fill, .weigh div i, .meter i { width: var(--w, 100%); }
}

/* 16 · Work with us */
.work-list { list-style: none; margin: 40px 0 0; padding: 0; max-width: 1040px; }
.work-list li { display: grid; grid-template-columns: 360px 1fr; gap: 24px; align-items: baseline; padding: 18px 0; border-top: 1px solid var(--line); font-size: 20px; color: var(--muted); }
.work-list b { font-family: var(--serif); font-weight: 500; font-size: 30px; color: var(--cream); }
.work-cta { display: inline-block; margin-top: 36px; font: 600 20px var(--mono); color: var(--night); background: #D9A441; padding: 14px 22px; text-decoration: none; }
.work-cta:hover { background: var(--night-text); }
