/* The approved MRC palette and Mekong rail, extended to eight acts. */
:root {
  --canvas: #082850;
  --surface: #184088;
  --ink: #f8f8f8;
  --muted: #b9c6e0;
  --accent: #48a0c8;
  --accent-2: #68c0f0;
  --alarm: #f2a33a;
  --flood: #e5534b;
  --analyse: #306838;
  --design: #2868b8;
  --communicate: #703820;
  --build: #204868;
  --govern: #481840;
  --font: Inter, Arial, sans-serif;
  --map: 28vw;
  --shadow: #000000;
  --paper: #f8f8f8;
  --paper-ink: #082850;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --rule: color-mix(in srgb, var(--muted) 25%, transparent);
}
* { box-sizing: border-box; }
.mrc-logo { position: fixed; z-index: 10; top: 18px; left: 22px; width: clamp(220px, 21vw, 330px); height: auto; pointer-events: none; }
html, body { margin: 0; height: 100%; }
body { background: var(--canvas); color: var(--ink); font-family: var(--font); line-height: 1.45; }
button, video { font: inherit; }
a { color: var(--accent-2); }
button:focus-visible, video:focus-visible, a:focus-visible { outline: 3px solid var(--alarm); outline-offset: 6px; }
[hidden] { display: none !important; }
#deck { height: 100svh; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior-y: contain; }
.act { height: 100svh; min-height: 720px; scroll-snap-align: start; scroll-snap-stop: always; display: grid; align-content: center; padding: 5vh 5vw 5vh calc(var(--map) + 4vw); position: relative; }
.alt { background: var(--canvas); } /* One canvas for every act. Only the video act carries a spotlight. */
.act-content { min-width: 0; width: 100%; }
h1, h2, p, figure { margin: 0; }
h1, h2 { font-weight: 800; letter-spacing: -.035em; line-height: 1.1; text-wrap: balance; }
h1 { font-size: clamp(48px, 5.3vw, 94px); max-width: 22ch; margin-bottom: 28px; }
h2 { font-size: clamp(36px, 3.35vw, 62px); margin-bottom: 18px; max-width: 27ch; }
p { font-size: clamp(17px, 1.26vw, 23px); color: var(--muted); max-width: 65ch; }
p + p { margin-top: 17px; }
strong { color: var(--ink); font-weight: 600; }
.eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; font-size: clamp(11px, .83vw, 15px); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 22px; }
.eyebrow .group { text-transform: none; letter-spacing: 0; font-size: clamp(14px, 1.05vw, 19px); }
.group { display: inline-block; color: var(--ink); font-weight: 700; padding: 6px 11px; border-radius: 5px; line-height: 1.3; }
.analyse { background: var(--analyse); }
.design { background: var(--design); }
.communicate { background: var(--communicate); }
.build { background: var(--build); }
.govern { background: var(--govern); }
.review { background: #3a3f78; }
.evaluate { background: #205850; }
.making-columns { margin-top: 24px; }
.deliver-flow { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 15px; margin-top: 18px; align-items: start; }
.dcol > h3 { font-size: clamp(11px, .86vw, 14px); letter-spacing: .09em; text-transform: uppercase; color: var(--accent-2); margin: 0 0 9px; padding-bottom: 7px; border-bottom: 1px solid var(--accent); line-height: 1.35; min-height: calc(2 * 1.35em + 7px); display: flex; align-items: flex-end; }
.dcol ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; align-content: start; }
.dcol li { display: grid; grid-template-columns: 1fr auto; align-items: start; background: var(--surface); border-radius: 6px; padding: 9px 11px; }
.dcol li > strong { grid-column: 1 / -1; grid-row: 1; }
.dcol li > .dtext { grid-column: 1 / -1; grid-row: 2; }
.dcol li > .dtools { grid-column: 1 / -1; grid-row: 3; justify-self: end; margin: 5px -2px -2px 0; }
.dtools { display: flex; gap: 3px; margin: -2px -2px 0 6px; }
.dtools img { width: 17px; height: 17px; border-radius: 50%; display: block; }
.dcol strong { display: block; color: var(--ink); font-size: clamp(12px, .93vw, 16px); font-weight: 700; line-height: 1.25; }
.dtext { display: block; color: var(--muted); font-size: clamp(11px, .82vw, 14px); line-height: 1.3; margin-top: 2px; }
.deliver-act h2 { max-width: none; }
.deliver-act .eyebrow { gap: 9px; max-width: none; }
.deliver-act .eyebrow .group { font-size: clamp(12px, .82vw, 15px); padding: 5px 9px; }
@media (max-width: 700px), (max-height: 650px) { .deliver-flow { grid-template-columns: 1fr; max-width: 420px; } }
.sema-act > .act-content > p { max-width: none; }
.loop-lede { max-width: 78ch !important; }
/* The loop from matthew-thaokhamlue.github.io/resume: six cards on one flat ellipse. */
.loop-stage { --rx: clamp(220px, 23vw, 330px); --ry: clamp(88px, 11.5vh, 118px); --cw: clamp(150px, 13vw, 190px); position: relative; height: calc(var(--ry) * 2 + 118px); margin-top: 6px; }
.loop-track { position: absolute; left: 50%; top: 50%; width: calc(var(--rx) * 2); height: calc(var(--ry) * 2); border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.loop-stage::before { content: ""; position: absolute; inset: -6% 10%; border-radius: 50%; background: radial-gradient(ellipse, color-mix(in srgb, var(--accent) 22%, transparent), color-mix(in srgb, var(--surface) 45%, transparent) 36%, transparent 68%); pointer-events: none; }
.loop-galaxy { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.loop-orbits { fill: none; stroke: var(--accent); stroke-width: .8; opacity: .3; }
.loop-orbits ellipse:nth-child(2) { stroke-dasharray: 2 10; }
.loop-orbits ellipse:last-child { opacity: .55; }
.loop-stars { fill: var(--accent-2); opacity: .55; }
.loop-stars path { fill: none; stroke: var(--accent-2); stroke-width: 1.3; }
.loop-spiral { fill: none; stroke: var(--accent); stroke-width: 1; opacity: .35; }
.loop-spiral circle { fill: var(--accent); stroke: none; }
.loop-ring { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.loop-card { --a: -90deg; position: absolute; left: 50%; top: 50%; width: var(--cw); margin: -39px 0 0 calc(var(--cw) / -2); min-height: 78px; padding: 12px 14px; display: grid; gap: 6px; place-content: center; text-align: center; font-weight: 700; font-size: clamp(13px, 1vw, 17px); line-height: 1.15; letter-spacing: -.01em; color: var(--muted); background: var(--surface); border: 1px solid var(--rule); border-radius: 10px; transform: translate(calc(cos(var(--a)) * var(--rx)), calc(sin(var(--a)) * var(--ry))) scale(.92); opacity: .72; transition: transform .5s var(--ease), opacity .5s, color .5s, border-color .5s, background .5s, box-shadow .5s; }
.loop-card:nth-child(2) { --a: -30deg; }
.loop-card:nth-child(3) { --a: 30deg; }
.loop-card:nth-child(4) { --a: 90deg; }
.loop-card:nth-child(5) { --a: 150deg; }
.loop-card:nth-child(6) { --a: 210deg; }
.loop-kicker { display: block; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.loop-card.is-front { color: var(--ink); background: color-mix(in srgb, var(--surface) 82%, var(--accent-2)); border-color: var(--accent-2); box-shadow: 0 14px 34px color-mix(in srgb, var(--shadow) 45%, transparent); opacity: 1; z-index: 1; transform: translate(calc(cos(var(--a)) * var(--rx)), calc(sin(var(--a)) * var(--ry))) scale(1.06); }
.loop-card.is-front .loop-kicker { color: var(--accent-2); }
@media (max-width: 700px), (max-height: 650px) { .loop-stage { --rx: 6rem; --ry: 12rem; height: 30rem; } .loop-card { font-size: 14px; } }
.sema-act h2 { max-width: none; }
.making-act h2 { max-width: none; }
.making-act .transformation-layout.three li { font-size: clamp(13px, .95vw, 17px); }
.eyebrow .group + .group { margin-left: -6px; }
.groups { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 23px; font-size: clamp(14px, 1.1vw, 20px); }
.byline { color: var(--ink); font-weight: 600; font-size: clamp(22px, 1.65vw, 30px); margin-bottom: 15px; }
.hero-frame { border-top: 1px solid var(--rule); padding-top: 24px; margin-top: 38px; }
.hero-frame p { color: var(--ink); }
.hero-facts { list-style: none; padding: 0; margin: 0 0 20px; }
.hero-facts li { color: var(--ink); font-size: clamp(15px, 1.05vw, 20px); padding: 9px 0 9px 16px; border-left: 2px solid var(--accent); }
.hero-facts li + li { margin-top: 6px; }
.hero .act-content { padding-top: 0; }
.small { font-size: clamp(13px, .95vw, 17px); }
.lead { color: var(--ink); }
#map { position: fixed; left: 0; top: 0; width: var(--map); height: 100svh; z-index: 5; pointer-events: none; overflow: hidden; }
#map svg { width: 100%; height: 100%; overflow: hidden; }
#map.camera-ready .stn-t { font-size: 14px; }
#map.camera-ready .country { font-size: 11px; }
#map.camera-ready .bed { stroke-width: 15; vector-effect: non-scaling-stroke; }
#map.camera-ready .flow { stroke-width: 5; vector-effect: non-scaling-stroke; }
#map.camera-ready .stn { stroke-width: 1; }
.bed { fill: none; stroke: var(--accent); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; opacity: .28; }
.flow { fill: none; stroke: var(--accent-2); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.stn { fill: var(--canvas); stroke: var(--accent); stroke-width: 2; }
.stn-t { fill: var(--muted); font-size: 9px; font-weight: 600; opacity: .68; }
.station.on .stn { fill: var(--accent-2); stroke: var(--accent-2); }
.station.on .stn-t { fill: var(--ink); opacity: 1; }
.country { fill: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .13em; opacity: .28; }
.boat { fill: var(--ink); }
.halo { fill: none; stroke: var(--accent-2); stroke-width: 2; opacity: .6; }
.analyse-act { padding-left: calc(var(--map) + 3vw); padding-top: 3.2vh; padding-bottom: 3.2vh; }
.analyse-act h2 { max-width: none; }
.gauge-figure { margin: 18px 0 22px; }
.chart { width: 100%; height: auto; max-height: 43vh; display: block; overflow: visible; }
.chart text { fill: var(--muted); font: 16px var(--font); }
.gridline { stroke: var(--rule); stroke-width: 1; }
.average { fill: none; stroke: var(--muted); opacity: .45; stroke-width: 2; }
.trace-segment { stroke: var(--accent-2); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.threshold { stroke-width: 1.5; stroke-dasharray: 7 6; }
.threshold.alarm { stroke: var(--alarm); }
.threshold.flood { stroke: var(--flood); }
.chart text.alarm { fill: var(--alarm); }
.chart text.flood { fill: var(--flood); }
.peak { fill: var(--ink); }
.peak-leader { fill: none; stroke: var(--ink); }
.chart .peak-label { fill: var(--ink); font-weight: 700; }
figcaption { display: flex; gap: 12px; justify-content: space-between; margin-top: 12px; font-size: clamp(11px, .85vw, 15px); color: var(--muted); }
.legend { display: inline-flex; align-items: center; gap: 8px; }
.legend i { display: inline-block; width: 18px; height: 3px; background: var(--accent-2); }
.legend .avg-key { background: var(--muted); opacity: .5; margin-left: 12px; }
.cost-evidence { display: grid; grid-template-columns: 1.6fr 1fr; align-items: center; gap: 30px; padding-top: 20px; border-top: 1px solid var(--rule); }
.placeholder { border: 1px dashed var(--accent); background: color-mix(in srgb, var(--canvas) 65%, transparent); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 24px; gap: 10px; color: var(--muted); }
.placeholder strong { font-size: clamp(17px, 1.25vw, 23px); }
.placeholder span { font-size: clamp(13px, .95vw, 17px); }
.small-placeholder { min-height: 110px; padding: 15px; }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3vw; align-items: center; }
.site-figure { align-self: center; }
.site-placeholder { aspect-ratio: 1.4; width: 100%; }
.site-figure img, .build-layout img { display: block; width: 100%; height: auto; border: 1px solid var(--rule); }
.copy h2 { max-width: 17ch; }
.copy p { font-size: clamp(16px, 1.13vw, 21px); }
.copy .closing-line { border-top: 1px solid var(--rule); padding-top: 20px; color: var(--ink); margin-top: 24px; }
.report-act h2 { max-width: 30ch; }
.report-layout { display: grid; grid-template-columns: .88fr 1.12fr; gap: 3vw; align-items: center; margin-top: 30px; }
.large-fact { font-size: clamp(35px, 3.3vw, 60px); line-height: 1.05; letter-spacing: -.04em; color: var(--ink); font-weight: 800; margin-bottom: 26px; }
.large-fact span { color: var(--accent-2); }
.report-placeholder { min-height: 340px; height: 42vh; }
.video-act .eyebrow { margin-bottom: 8px; }
.video-act h2 { max-width: none; margin-bottom: 9px; }
.video-intro { margin-bottom: 12px; }
.video-wrap { position: relative; max-width: min(100%, 90vh); margin: 0 auto; background: var(--canvas); }
video { width: 100%; aspect-ratio: 16 / 9; display: block; max-height: 55vh; }
#play-video { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 18px; min-width: 285px; padding: 22px 30px; background: var(--canvas); border: 2px solid var(--accent-2); border-radius: 8px; color: var(--ink); font-weight: 700; font-size: 20px; cursor: pointer; box-shadow: 0 6px 35px color-mix(in srgb, var(--shadow) 40%, transparent); }
#play-video small { display: block; font-size: 14px; color: var(--muted); font-weight: 400; margin-top: 4px; }
.play-symbol { color: var(--accent-2); font-size: 30px; }
.print-poster { display: none; }
#video-status:empty { display: none; }
.disclosure { color: var(--ink); border-left: 3px solid var(--alarm); padding-left: 13px; font-size: clamp(13px, 1vw, 18px); }
.video-act .disclosure { margin-top: 17px; max-width: none; }
.pipeline-line { font-size: clamp(11px, .86vw, 16px); max-width: none; margin-top: 10px; }
.build-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5vw; margin-top: 26px; align-items: start; }
.build-layout .site-placeholder { aspect-ratio: 16 / 9; }
.build-layout p { margin-top: 20px; font-size: clamp(16px, 1.13vw, 21px); }
.build-layout .disclosure { font-size: clamp(13px, .95vw, 17px); }
.govern-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3vw; margin-top: 30px; align-items: start; }
.refusal { color: var(--ink); font-size: clamp(26px, 2.2vw, 40px); font-weight: 700; letter-spacing: -.025em; line-height: 1.2; }
.evaluation { border-top: 1px solid var(--rule); padding-top: 24px; }
.disclosure-card { background: var(--canvas); border: 1px solid var(--rule); padding: 28px; }
.disclosure-card p { font-size: clamp(14px, 1.05vw, 19px); }
.disclosure-card .eyebrow { font-size: 12px; }
.disclosure-card .small { font-size: clamp(12px, .9vw, 16px); }
.training-act { padding-right: 3.5vw; padding-top: 3.5vh; padding-bottom: 3.5vh; }
.training-act h2 { max-width: none; }
.training-act > .act-content > p { max-width: none; }
.training-key { margin-top: 15px; font-size: clamp(13px, 1vw, 18px); }
.table-wrap { margin-top: 22px; }
table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: clamp(12px, .95vw, 17px); line-height: 1.35; }
.group-col { width: 16%; }.job-col { width: 18%; }.tool-col { width: 16%; }.exercise-col { width: 13%; }
th, td { text-align: left; padding: 8px 7px; border-bottom: 1px solid var(--rule); vertical-align: middle; overflow-wrap: break-word; }
thead th { color: var(--muted); font-weight: 500; font-size: .9em; border-top: 1px solid var(--rule); }
tbody th { padding-left: 0; }
td { color: var(--muted); }
td:first-of-type { color: var(--ink); }
table .group { padding: 5px 7px; font-size: .95em; }
.tool-note { margin-top: 15px; }
.ending { margin-top: 23px; font-size: clamp(18px, 1.45vw, 27px); color: var(--ink); font-weight: 600; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* One pre-rendered chip height, so the page only sets a height. */
.hero-logos { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 9px; max-width: none; }
/* 3.4vw keeps all 13 logos on one row down to 1440 px wide (measured 23 September 2026). */
.hero-logos img { height: min(50px, 3.4vw); width: auto; display: block; }
/* The project’s own mark leads its badge row. */
.act-mark { height: 34px; width: auto; display: block; margin-right: 6px; }
@media print { .act-mark { height: 9mm; } }

/* Scene composition follows the reference hero: foreground copy, evidence, depth. */
.act { isolation: isolate; overflow: clip; }
@media screen and (min-width: 1001px) and (min-height: 651px) {
 .act { padding-top: max(5vh, 112px); }
 .analyse-act, .training-act { padding-top: 104px; padding-bottom: 20px; }
 .training-act table { font-size: clamp(12px, .85vw, 16px); }
 .training-act th, .training-act td { padding-top: 6px; padding-bottom: 6px; }
}
/* Short laptop windows: shrink the logo and the top gutter so no act clips. */
@media screen and (min-width: 1001px) and (max-height: 840px) {
 .mrc-logo { width: clamp(180px, 16vw, 245px); top: 12px; left: 16px; }
 .act { padding-top: 86px; padding-bottom: 3vh; }
 .analyse-act, .deliver-act, .sema-act { padding-top: 80px; }
 h1 { font-size: clamp(38px, 4vw, 66px); }
 h2 { font-size: clamp(32px, 2.9vw, 52px); }
 .pipeline-stages li { padding: 10px 0; }
 .pipeline-stages { margin-bottom: 16px; }
 .report-layout, .build-layout, .govern-layout { margin-top: 16px; }
 .dcol li { padding: 7px 10px; }
 .deliver-flow { gap: 11px; }
 .transformation-layout.three > div { padding: 14px; }
 .build-act h2, .report-act h2 { font-size: clamp(30px, 2.6vw, 46px); }
}
/* Very short windows, e.g. a 1280x720 share. Keep every act inside the fold. */
@media screen and (min-width: 1001px) and (max-height: 790px) {
 .hero-logos img { height: 36px; }
 .hero-logos { gap: 8px; }
 .loop-stage { --ry: clamp(84px, 11vh, 100px); }
 .build-act h2, .report-act h2 { font-size: clamp(26px, 2.3vw, 40px); }
 .build-act > .act-content > p, .report-act > .act-content > p { font-size: clamp(13px, .95vw, 16px); }
 .build-act .transformation-layout.three > div { padding: 11px; }
 .mrc-logo { width: clamp(170px, 14vw, 215px); }
 .act { padding-top: 76px; padding-bottom: 2vh; }
 .analyse-act, .deliver-act, .sema-act { padding-top: 72px; }
 p { font-size: clamp(14px, 1vw, 18px); }
 .report-act .release-preview { padding: 16px 18px; }
 .report-act .release-preview p, .release-preview h4 { font-size: 13px; }
 .report-act .release-preview h3 { margin: 8px 0 5px; font-size: clamp(20px, 1.9vw, 28px); }
 .report-act .release-preview h4 { margin: 12px 0 4px; }
 .report-act .release-preview .hero-demo-open { margin-top: 12px; padding: 9px 14px; }
 .report-act .pipeline-stages li { padding: 8px 0; }
}
.act::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 90% 15%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 65%); pointer-events: none; }
.act-content { position: relative; z-index: 2; }
.accent-text { color: var(--accent-2); }
.type-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.type-line > span { display: inline-block; }
.hero { background: var(--canvas); }
.hero .act-content { padding-top: 1vh; }
.hero h1 { line-height: 1.0; letter-spacing: -.055em; margin: 18px 0 16px; font-size: clamp(40px, 4.2vw, 72px); }
.hero-kicker { font-weight: 500; letter-spacing: .14em; }
.eyebrow-separator { width: 32px; height: 1px; background: var(--accent); }
.hero .byline { margin-bottom: 8px; font-size: clamp(17px, 1.3vw, 24px); }
.hero-frame { margin-top: 22px; padding-top: 18px; max-width: none; }
.hero-frame .small { margin-bottom: 12px; color: var(--muted); }
.hero .groups { margin-top: 0; }
.hero-line { color: var(--muted); font-size: clamp(15px, 1.1vw, 20px); }
.fact-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2vw; margin-top: 26px; max-width: 62vw; }
.fact-strip div { border-top: 2px solid var(--accent); padding-top: 12px; }
.fact-strip strong { display: block; color: var(--accent-2); font-size: clamp(24px, 2.1vw, 36px); letter-spacing: -.03em; line-height: 1.05; margin-bottom: 6px; }
.fact-strip span { display: block; color: var(--ink); font-size: clamp(13px, .95vw, 17px); line-height: 1.35; }
.hero-frame p { font-size: clamp(16px, 1.1vw, 21px); }
.hero-course { position: absolute; top: -37%; right: 7%; width: 35vw; height: 175vh; transform: rotate(-19deg); z-index: -1; overflow: visible; pointer-events: none; }
.hero-course path { fill: none; stroke: var(--accent); stroke-width: 18; stroke-linecap: round; stroke-linejoin: round; opacity: .075; }
#map { opacity: .88; }
#map .station.current .stn-t { font-weight: 800; }
.analyse-act h2 { font-size: clamp(36px, 3.2vw, 60px); line-height: 1.04; margin-bottom: 12px; }
.analyse-act .eyebrow { margin-bottom: 16px; }
.gauge-figure { margin-top: 10px; }
.chart { max-height: 36vh; }
.cost-evidence { grid-template-columns: 1.65fr 1fr; }
.cost-evidence p { font-size: clamp(15px, 1.15vw, 21px); }
.design-act { background: var(--canvas); }
.design-scene { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
/* Same treatment as the design act, held much further back so text stays first. */
.act-scene { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.act-scene img { height: 100%; width: 100%; object-fit: cover; }
.transformation-act .act-scene img { object-position: center 40%; }
.build-act .act-scene img { object-position: center top; }
/* OppPaths sits at the same strength as the Bangkok house; the Vientiane photo one step behind it. */
.build-act::before { background: linear-gradient(90deg, var(--canvas) 0%, color-mix(in srgb, var(--canvas) 99%, transparent) 30%, color-mix(in srgb, var(--canvas) 96%, transparent) 58%, color-mix(in srgb, var(--canvas) 75%, transparent) 100%); }
.transformation-act::before { background: linear-gradient(90deg, var(--canvas) 0%, color-mix(in srgb, var(--canvas) 99%, transparent) 30%, color-mix(in srgb, var(--canvas) 96%, transparent) 58%, color-mix(in srgb, var(--canvas) 75%, transparent) 100%); }
.design-scene img { height: 100%; width: 100%; object-fit: cover; object-position: 65% center; }
.design-act::before { background: linear-gradient(90deg, var(--canvas) 0%, color-mix(in srgb, var(--canvas) 98%, transparent) 27%, color-mix(in srgb, var(--canvas) 86%, transparent) 51%, color-mix(in srgb, var(--canvas) 35%, transparent) 100%); }
.design-act .split { grid-template-columns: 1fr 1.05fr; gap: 3.4vw; }
.design-act .copy { grid-column: 1; grid-row: 1; }
.design-act .site-figure { grid-column: 2; grid-row: 1; align-self: center; }
.design-act h2 { max-width: 14ch; font-size: clamp(30px, 2.9vw, 54px); }
.design-window { overflow: hidden; border: 1px solid var(--accent); background: var(--canvas); box-shadow: 0 30px 65px color-mix(in srgb, var(--shadow) 35%, transparent); transform-origin: 50% 55%; }
.design-window img { border: 0; }
.design-act figcaption { flex-direction: column; gap: 3px; font-size: clamp(12px, .9vw, 17px); }
.image-disclosure { position: absolute; bottom: 4vh; right: 5vw; color: var(--ink); background: var(--canvas); padding: 8px 13px; font-size: 12px; z-index: 2; }
.report-act h2 { max-width: none; font-size: clamp(30px, 2.8vw, 52px); margin-bottom: 12px; }
.report-layout { grid-template-columns: .95fr 1.05fr; margin-top: 14px; align-items: center; }
.large-fact { margin-bottom: 22px; }
.large-fact .fact-number { display: block; font-size: clamp(100px, 10vw, 185px); line-height: .83; font-weight: 500; letter-spacing: -.075em; color: var(--accent-2); }
.large-fact .fact-unit { display: block; color: var(--ink); font-size: clamp(24px, 2.2vw, 39px); font-weight: 600; margin-top: 14px; letter-spacing: -.035em; }
.report-placeholder { min-height: 340px; height: 46vh; background: var(--paper); color: var(--paper-ink); border: 1px dashed var(--accent); box-shadow: 0 20px 55px color-mix(in srgb, var(--shadow) 22%, transparent); }
.report-placeholder strong { color: var(--paper-ink); }
.report-placeholder::before { content: "REDACTED EXAMPLE"; display: block; font-size: 11px; letter-spacing: .15em; border-bottom: 1px solid var(--accent); padding-bottom: 15px; margin-bottom: 16px; }
.video-act { background: var(--canvas); }
.video-act::before { background: radial-gradient(ellipse at 60% 60%, var(--surface), transparent 75%); }
.video-act h2 { font-size: clamp(28px, 2.3vw, 42px); }
.video-act { align-content: start; padding-top: 3vh; padding-right: 3vw; padding-bottom: 3vh; }
.video-act video { max-height: 72vh; }
.video-act h2 br { display: none; }
.video-wrap { max-width: min(100%, 150vh); box-shadow: 0 24px 70px color-mix(in srgb, var(--shadow) 28%, transparent); }
#play-video { transform-origin: center; }
.build-layout { grid-template-columns: 1fr 1.15fr; gap: 3vw; }
.build-columns { margin-top: 24px; }
.cost-columns { margin-top: 22px; }
.analyse-act > .act-content > p { max-width: 78ch; }
.analyse-act .disclosure { margin-top: 20px; max-width: none; }
.build-act > .act-content > p { max-width: 70ch; }
.build-act h2 { max-width: none; font-size: clamp(28px, 2.55vw, 46px); }
.transformation-layout .engineering-result strong { color: var(--accent-2); font-size: 1.15em; }
.opppaths-proof { width: 100%; aspect-ratio: 16 / 9; background: var(--surface); border: 1px solid var(--accent); display: flex; flex-direction: column; justify-content: center; padding: 2.5vw; position: relative; }
.project-domain { font-size: 11px; letter-spacing: .12em; color: var(--muted); position: absolute; top: 18px; }
.opppaths-proof > strong { font-size: clamp(32px, 3.2vw, 58px); font-weight: 800; letter-spacing: -.05em; }
.project-description { color: var(--muted); font-size: clamp(14px, 1.1vw, 20px); }
.ownership { margin-top: 22px; color: var(--accent-2); font-size: 12px; }
.build-layout figcaption { font-size: 12px; }
.govern-act { background: var(--canvas); }
.govern-act::before { background: linear-gradient(110deg, transparent 35%, color-mix(in srgb, var(--govern) 60%, var(--canvas))); }
.govern-layout { grid-template-columns: 1.25fr .85fr; }
.refusal { font-size: clamp(26px, 2.3vw, 42px); letter-spacing: -.04em; line-height: 1.12; max-width: 30ch; margin-top: 6px; }
.govern-columns { margin-top: 26px; }
.refusal-emphasis { color: var(--alarm); }
.disclosure-card { border-top: 3px solid var(--alarm); }
.disclosure-card p { font-size: clamp(13px, 1vw, 18px); }
.training-act .eyebrow { margin-bottom: 14px; }
.training-act h2 { font-size: clamp(36px, 3.3vw, 60px); }
.training-act .act-content > p:not(.ending) { font-size: clamp(13px, 1vw, 18px); }
.training-act .ending { border-top: 1px solid var(--accent); padding-top: 18px; }

.transformation-layout { display: grid; grid-template-columns: .85fr 1.4fr; gap: 3vw; margin-top: 26px; }
.transformation-layout.three { grid-template-columns: 1fr 1fr 1fr; gap: 1.6vw; margin-top: 20px; }
.transformation-layout.three p, .transformation-layout.three li { font-size: clamp(14px, 1vw, 18px); }
.transformation-layout.three li + li { margin-top: 7px; }
.transformation-act .transformation-layout.three p, .transformation-act .transformation-layout.three li { font-size: clamp(13px, .92vw, 17px); }
.transformation-act .transformation-layout.three li + li { margin-top: 5px; }
.transformation-act .transformation-layout.three { margin-top: 10px; }
.transformation-act h2 { margin-bottom: 12px; }
.transformation-act .transformation-layout h3 { margin-bottom: 12px; }
.transformation-layout .engineering-result { border-color: var(--accent-2); }
.transformation-layout .engineering-result li { color: var(--ink); }
.transformation-layout > div { padding: 24px; border-top: 2px solid var(--accent); background: var(--surface); }
.transformation-layout .engineering-before { background: transparent; border-color: var(--muted); }
.transformation-layout h3 { font-size: 18px; margin: 0 0 17px; }
.transformation-layout p, .transformation-layout li { font-size: clamp(16px, 1.15vw, 21px); color: var(--muted); }
.transformation-layout ul { padding-left: 20px; margin: 0; }
.transformation-layout li + li { margin-top: 10px; }
.transformation-result strong { color: var(--accent-2); font-size: 1.7em; margin-right: .15em; }
.transformation-act .ending { margin-top: 22px; }
.report-act .closing-line { border-top: 1px solid var(--rule); padding-top: 16px; margin-top: 18px; color: var(--ink); }
.cost-results { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 28px; }
.cost-results p + p { margin-top: 0; }
.cost-results strong { display: block; font-size: clamp(38px, 4vw, 70px); letter-spacing: -.05em; color: var(--accent-2); }
.cost-results span { display: block; font-size: clamp(13px, .95vw, 18px); }
.pipeline-stages { list-style: none; padding: 0; margin: 0 0 24px; }
.pipeline-stages li { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.pipeline-stages strong { display: block; font-size: 22px; color: var(--accent-2); margin-bottom: 7px; }
.pipeline-stages span { font-size: clamp(14px, 1.08vw, 20px); color: var(--muted); }
#video-gauge { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: var(--canvas); padding: 3%; display: grid; align-content: center; }
#video-gauge .gauge-figure { margin: 0; }
#video-gauge .chart { max-height: 39vh; }
#video-gauge figcaption { flex-wrap: wrap; font-size: 11px; }
#play-video { z-index: 2; }
@media (max-width: 700px) { .transformation-layout, .transformation-layout.three { grid-template-columns: 1fr; } }
/* The native dialog keeps the live site's scroll separate from deck navigation. */
.hero-demo-open { display: inline-block; margin-top: 20px; padding: 13px 20px; border: 1px solid var(--accent-2); color: var(--ink); background: var(--canvas); text-decoration: none; font-weight: 600; font-size: 15px; }
.hero-demo-open:hover { background: var(--surface); }
#hero-demo { padding: 0; border: 0; margin: 0; width: 100vw; max-width: none; height: 100dvh; max-height: none; color: var(--ink); background: var(--canvas); overflow: hidden; }
#hero-demo::backdrop { background: var(--canvas); }
.hero-demo-toolbar { height: 58px; display: flex; align-items: center; gap: 22px; padding: 8px 20px; font-size: 14px; }
.hero-demo-toolbar span { color: var(--muted); font-size: 12px; }
.hero-demo-toolbar a { margin-left: auto; }
.hero-demo-toolbar button { border: 1px solid var(--accent); background: var(--surface); color: var(--ink); padding: 9px 15px; cursor: pointer; }
#hero-frame { display: block; border: 0; width: 100%; height: calc(100% - 58px); background: var(--canvas); }
.housing-vision h3 { margin: 12px 0 4px; font-size: 15px; color: var(--accent-2); }
.housing-vision p { margin: 0; font-size: clamp(14px, 1.05vw, 19px); line-height: 1.45; }
/* Selectable summary of the published release. */
.release-preview { padding: clamp(22px, 2.2vw, 38px); background: var(--ink); color: var(--canvas); border-radius: 6px; }
.release-preview .release-source, .release-preview .release-date { font-size: 13px; color: var(--surface); }
.release-preview h3 { margin: 14px 0 8px; font-size: clamp(25px, 2.4vw, 40px); color: var(--canvas); }
.release-preview h4 { margin: 22px 0 7px; font-size: 18px; }
.release-preview p { font-size: clamp(14px, 1.1vw, 19px); color: var(--canvas); }
@media (max-width: 700px) { .hero-demo-toolbar span, .hero-demo-toolbar a { display: none; } .hero-demo-toolbar button { margin-left: auto; } }
@media (max-width: 1000px) {
 #map { display: none; }
 .mrc-logo { width: 210px; top: 10px; left: 12px; }
 .act, .analyse-act { padding-left: 6vw; padding-right: 6vw; }
 h1 { font-size: 52px; }
}
@media (max-width: 700px), (max-height: 650px) {
 .fact-strip { grid-template-columns: 1fr; max-width: none; }
 #deck { scroll-snap-type: none; }
 .act { height: auto; min-height: 100svh; padding: 45px 6vw; }
 #map { display: none; }
 .split, .report-layout, .build-layout, .govern-layout, .cost-evidence { grid-template-columns: 1fr; gap: 25px; }
 h1 { font-size: 40px; }
 h2 { font-size: 32px; }
 .site-figure { order: 2; }
 .design-act .split { grid-template-columns: 1fr; }
 .design-act .copy, .design-act .site-figure { grid-column: auto; grid-row: auto; }
 .design-scene, .act-scene { display: none; }
 .image-disclosure { position: static; order: 2; margin-top: 20px; }
 .hero-course { display: none; }
 .hero-logos { gap: 8px; }
 .hero-logos img { height: 36px; }
 .site-placeholder { aspect-ratio: 16 / 9; }
 .table-wrap { overflow-x: auto; }
 table { min-width: 800px; }
 .chart { max-height: none; }
 figcaption { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
 *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@page { size: 336mm 210mm; margin: 0; } /* 16:10, MacBook screen aspect, A4 height */
@media print {
 #hero-demo, .hero-demo-open, #video-gauge { display: none !important; }
 .transformation-layout { margin-top: 20px; }
 .transformation-layout p, .transformation-layout li { font-size: 12pt; }
 .pipeline-stages span { font-size: 11pt; }
 html, body { height: auto; background: var(--canvas); print-color-adjust: exact; -webkit-print-color-adjust: exact; }
 #deck { height: auto; overflow: visible; scroll-snap-type: none; }
 #map { display: none; }
 .mrc-logo { width: 63mm; top: 4mm; left: 5mm; }
 .act, .analyse-act { width: 297mm; height: 210mm; min-height: 0; padding: 12mm 15mm; break-after: page; break-inside: avoid; overflow: hidden; align-content: center; }
 .act:last-child { break-after: auto; }
 .act-content, .chart-detail { opacity: 1 !important; transform: none !important; }
 h1 { font-size: 46pt; max-width: 19ch; }
 h2 { font-size: 29pt; margin-bottom: 12px; }
 p, .copy p, .build-layout p { font-size: 13pt; }
 .eyebrow { font-size: 9pt; margin-bottom: 16px; }
 .eyebrow .group { font-size: 12pt; }
 .chart { max-height: 95mm; }
 .gauge-figure { margin: 8px 0 16px; }
 .cost-evidence { padding-top: 12px; }
 .small, figcaption, .pipeline-line, .disclosure, .disclosure-card p, .build-layout .disclosure { font-size: 10pt; }
 .video-wrap { max-width: 215mm; }
 video, #play-video, #video-status { display: none !important; }
 .print-poster { display: block; width: 100%; max-height: 112mm; object-fit: contain; }
 .report-placeholder { height: 95mm; min-height: 0; }
 .large-fact { font-size: 36pt; }
 .refusal { font-size: 25pt; }
 .govern-layout, .report-layout, .build-layout { margin-top: 15px; }
 .training-act { padding: 10mm 12mm; }
 .training-act h2 { font-size: 26pt; }
 .training-act p { font-size: 11pt; }
 .training-act .eyebrow, .training-act .small { font-size: 9pt; }
 .table-wrap { margin-top: 12px; overflow: visible; }
 table { min-width: 0; font-size: 9.3pt; line-height: 1.3; }
 th, td { padding: 7px 6px; }
 .training-act .ending { font-size: 15pt; margin-top: 16px; padding-top: 10px; }
 .hero-course, .design-scene, .act-scene, .image-disclosure { display: none; }
 .dcol li { display: flex; flex-direction: column; }
 .dtools { order: 3; align-self: flex-end; margin: 4px 0 0; }
 .dcol > h3 { display: block; }
 .loop-galaxy, .loop-stage::before { display: none; }
 .loop-stage { --rx: 300px; --ry: 112px; --cw: 182px; height: 350px; margin-top: 10px; }
 .loop-track { border-color: var(--accent); }
 .loop-card { transition: none; opacity: 1; color: var(--muted); }
 .loop-card.is-front { background: var(--surface); border: 2px solid var(--accent-2); box-shadow: none; color: var(--ink); }
 .hero h1 { font-size: 33pt; max-width: none; }
 /* One headline sentence per line on A4. A longer sentence than the current one overflows. */
 .hero .type-line > span { white-space: nowrap; }
 .analyse-act h2, .design-act h2, .training-act h2 { font-size: 29pt; }
 .video-act h2 { font-size: 27pt; }
 .design-act .split { grid-template-columns: 1fr 1.05fr; }
 .design-window, .video-wrap, .report-placeholder { box-shadow: none; }
 .report-placeholder { height: 95mm; }
 .large-fact .fact-number { font-size: 100pt; }
 .large-fact .fact-unit { font-size: 25pt; }
 .refusal { font-size: 26pt; }
 .opppaths-proof { padding: 8mm; }
 .opppaths-proof > strong { font-size: 31pt; }
 .design-act .copy, .design-act .site-figure { grid-row: 1; }
 .design-act .copy { grid-column: 1; }
 .design-act .site-figure { grid-column: 2; }
 .training-act .act-content > p:not(.ending) { font-size: 10pt; }
 .type-line > span, .design-window, .project-image, .large-fact, .refusal, .table-wrap, .video-wrap { transform: none !important; opacity: 1 !important; }

}

/* Interactive dashboard, the page after the video. The scene is three.js; the trace is plain SVG; print shows the approved flood frame. */
.dash-act h2 { max-width: none; font-size: clamp(24px, 2.3vw, 42px); margin-bottom: 6px; }
.dash-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 14px; margin-top: 10px; align-items: start; }
.dash-scene { position: relative; aspect-ratio: 16 / 10; max-height: 36svh; min-height: 220px; background: var(--surface); border-radius: 8px; overflow: hidden; }
.dash-scene canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: none; }
.dash-scene canvas:active { cursor: grabbing; }
.dash-scene.is-fallback .print-poster { display: block; width: 100%; height: 100%; object-fit: cover; }
.dash-radar-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #0b1e3f; }
.dash-view { position: absolute; top: 10px; right: 10px; display: flex; gap: 2px; padding: 3px; border-radius: 8px; background: color-mix(in srgb, var(--canvas) 72%, transparent); }
.dash-view button { border: 0; border-radius: 6px; padding: 5px 10px; font: inherit; font-size: clamp(11px, .8vw, 13px); font-weight: 600; color: var(--muted); background: transparent; cursor: pointer; }
.dash-view button[aria-pressed="true"] { background: var(--accent); color: var(--canvas); }
.dash-scene .hint-radar { display: none; }
.dash-scene[data-view="radar"] canvas { visibility: hidden; }
.dash-scene[data-view="radar"] .hint-3d { display: none; }
.dash-scene[data-view="radar"] .hint-radar { display: list-item; }
.dash-legend { position: absolute; left: 10px; bottom: 8px; margin: 0; padding: 6px 8px; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: clamp(10px, .75vw, 13px); color: var(--muted); background: color-mix(in srgb, var(--canvas) 72%, transparent); border-radius: 6px; }
.dash-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }
.k-river { background: var(--accent); } .k-flood { background: var(--alarm); }
.k-alarm, .k-floodlvl, .k-avg { border-radius: 50%; } .k-alarm { background: var(--ink); } .k-floodlvl { background: var(--flood); } .k-avg { background: var(--muted); }
.dash-panel { display: grid; gap: 6px; align-content: start; }
.dash-card { background: var(--surface); border-radius: 6px; padding: 8px 11px; display: grid; gap: 2px; font-size: clamp(12px, .85vw, 14px); color: var(--ink); line-height: 1.3; }
.dash-card .dtext { margin-top: 0; }
.dash-main strong { font-size: clamp(15px, 1.2vw, 22px); line-height: 1.15; }
.dash-main .dash-level { font-size: clamp(24px, 2vw, 36px); color: var(--accent-2); }
.pill { justify-self: start; margin-top: 4px; padding: 3px 9px; border-radius: 999px; font-size: clamp(11px, .8vw, 14px); font-weight: 600; background: var(--accent); color: var(--canvas); }
.pill[data-state="alarm"] { background: var(--alarm); } .pill[data-state="flood"] { background: var(--flood); color: var(--ink); } .pill[data-state="none"] { background: var(--muted); }
.dash-radar strong { color: var(--accent-2); }
/* Fixed line budgets, so the panel keeps one height while the day changes and nothing below it moves. */
#dash-radar-state { min-height: 2.6em; }
/* Up to four district bullets; the fixed height keeps the panel still while the slider moves. */
.dash-districts { margin: 0; padding-left: 1.1em; min-height: calc(4 * 1.3em); }
#dash-out-avg, #dash-out-days, #dash-out-scene, #dash-radar-figures { min-height: 1.3em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-card, .dash-main .dash-level { font-variant-numeric: tabular-nums; }
.dash-radar.is-off > :not(strong):not(.dash-radar-state) { opacity: .4; }
.dash-radar.is-off .dash-radar-state { color: var(--ink); }
.dash-controls { margin-top: 8px; display: grid; gap: 4px; }
.dash-act .dash-foot { max-width: none; margin: 6px 0 0; font-size: clamp(10px, .56vw, 11.5px); color: var(--muted); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-legend-trace { margin: 2px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 3px 14px; font-size: clamp(10px, .75vw, 13px); color: var(--muted); }
.dash-legend-trace .sw { display: inline-block; width: 22px; height: 0; margin-right: 6px; vertical-align: middle; border-top: 2px solid var(--accent-2); }
.sw-avg { border-top: 2px dotted var(--muted) !important; } .sw-alarm { border-top: 2px dashed var(--alarm) !important; } .sw-flood { border-top: 2px dashed var(--flood) !important; }
.sw-band { border: 0 !important; height: 10px !important; background: color-mix(in srgb, var(--accent-2) 22%, transparent); }
.sw-tick { border: 0 !important; width: 2px !important; height: 8px !important; background: var(--accent-2); margin-left: 10px; margin-right: 16px; }
.sw-day { border: 0 !important; width: 1px !important; height: 12px !important; background: var(--ink); margin-left: 10px; margin-right: 17px; }
.sw-gap { border: 0 !important; width: 8px !important; height: 8px !important; border-radius: 50%; border: 2px solid var(--muted) !important; margin-left: 7px; margin-right: 13px; }
.dash-spark { width: 100%; height: auto; display: block; }
.spark-grid { stroke: color-mix(in srgb, var(--muted) 25%, transparent); stroke-width: 1; }
.spark-axis { fill: var(--muted); font-size: 11px; text-anchor: end; font-family: var(--font); }
.spark-month { text-anchor: middle; }
.spark-window { fill: color-mix(in srgb, var(--accent-2) 14%, transparent); }
.spark-alarm { stroke: var(--alarm); stroke-width: 1.2; stroke-dasharray: 5 4; }
.spark-flood { stroke: var(--flood); stroke-width: 1.2; stroke-dasharray: 5 4; }
.spark-avg { fill: none; stroke: var(--muted); stroke-width: 1.5; stroke-dasharray: 2 3; }
.spark-level { fill: none; stroke: var(--accent-2); stroke-width: 2.4; stroke-linejoin: round; }
.spark-scene { stroke: var(--accent-2); stroke-width: 2; }
.spark-cursor-line { stroke: var(--ink); stroke-width: 1; opacity: .8; }
.spark-dot { fill: var(--ink); stroke: var(--canvas); stroke-width: 2; }
.spark-dot.is-gap { fill: none; stroke: var(--muted); }
.dash-slider-row { display: grid; grid-template-columns: auto auto 1fr auto auto auto; gap: 10px; align-items: center; font-size: clamp(12px, .9vw, 15px); color: var(--muted); }
.dash-slider-row input[type="range"] { width: 100%; margin: 0; accent-color: var(--accent-2); }
.dash-step { background: var(--surface); color: var(--ink); border: 1px solid var(--accent); border-radius: 6px; width: 34px; height: 32px; font: inherit; font-size: 20px; line-height: 1; cursor: pointer; }
.dash-step:hover { background: var(--accent); color: var(--canvas); }
/* Round play/pause and replay buttons, 23 September 2026: white icons on black circles. */
.dash-round { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: #111; color: #fff; cursor: pointer; }
.dash-round[hidden] { display: none; }
.dash-round svg { width: 58%; height: 58%; fill: currentColor; }
.dash-round-small { width: 32px; height: 32px; }
.dash-round:hover { background: var(--accent); color: var(--canvas); }
.dash-round:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
#dash-play .i-pause, #dash-play[aria-pressed="true"] .i-play { display: none; }
#dash-play[aria-pressed="true"] .i-pause { display: inline; }
.dash-print { display: none; }
@media (max-width: 1000px) { .dash-layout { grid-template-columns: 1fr; } }
@media print {
 /* The print page is narrower than 1000 CSS px, so without this the dashboard stacks and overflows its page. */
 .dash-layout { grid-template-columns: 1.35fr 1fr; }
 .dash-scene canvas, .dash-legend, .dash-controls, .dash-view, .dash-radar-img { display: none !important; }
 .dash-foot { font-size: 8pt; white-space: normal; }
 .dash-scene { aspect-ratio: auto; max-height: none; height: 95mm; background: none; }
 .dash-scene .print-poster { display: block; width: 100%; height: 100%; object-fit: contain; }
 .dash-print { display: table; margin-top: 8px; font-size: 10pt; border-collapse: collapse; }
 .dash-print th, .dash-print td { padding: 4px 8px; text-align: left; border-bottom: 1px solid var(--accent); }
}
/* Executive training, 23 September 2026: the RECOFTC forest photo behind, faded like the Vientiane act. */
.executive-act .act-scene img { object-position: center 45%; }
.executive-act::before { background: linear-gradient(90deg, var(--canvas) 0%, color-mix(in srgb, var(--canvas) 97%, transparent) 30%, color-mix(in srgb, var(--canvas) 84%, transparent) 58%, color-mix(in srgb, var(--canvas) 50%, transparent) 100%); }
.executive-act .transformation-layout.three li { font-size: clamp(13px, .92vw, 17px); }
.executive-act .transformation-layout.three li + li { margin-top: 5px; }
.executive-act .transformation-layout h3 { margin-bottom: 12px; }
/* Remarcable and OppPaths on one slide, 23 September 2026: one card each, side by side. */
.projects-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2vw; margin-top: 18px; align-items: stretch; }
/* A column with the buttons pinned to the bottom, so headings, screenshots and buttons line up across both cards. */
.project-card { display: flex; flex-direction: column; gap: 10px; padding: 16px 20px; border-top: 2px solid var(--accent); background: var(--surface); }
.project-card h3 { display: flex; align-items: center; gap: 4px; margin: 0; font-size: clamp(18px, 1.4vw, 26px); }
.project-card .design-window img { display: block; width: 100%; height: 21vh; object-fit: cover; object-position: top; }
.project-facts { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; }
.project-facts dt { color: var(--accent-2); font-weight: 600; font-size: clamp(12px, .85vw, 15px); }
.project-facts dd { margin: 0; color: var(--muted); font-size: clamp(13px, .9vw, 16px); line-height: 1.4; }
.project-facts strong { color: var(--accent-2); }
.project-links { margin: auto 0 0; }
@media screen and (min-width: 1001px) and (max-height: 790px) {
 .project-card { padding: 12px 16px; gap: 8px; }
 .project-card .design-window img { height: 15vh; }
 .executive-act .transformation-layout.three > div { padding: 11px; }
}
@media (max-width: 1000px) { .projects-layout { grid-template-columns: 1fr; } }
@media print {
 /* The print page is narrower than 1000 CSS px; keep the two cards side by side. */
 .projects-layout { grid-template-columns: 1fr 1fr; }
 .project-card .design-window img { height: 48mm; }
}
/* Making act, 19 September 2026: Production sits under Method; the far right box explains the two satellite sources; a voice clip under the title plays the data and method in the cloned voice. */
@media (min-width: 701px) {
 .making-columns { grid-template-areas: "data method sources" "data production sources"; grid-template-rows: auto auto; }
 .making-data { grid-area: data; } .making-method { grid-area: method; } .making-production { grid-area: production; } .making-sources { grid-area: sources; }
}
.making-sources h3 + ul + h3 { margin-top: 12px; }
.making-act h2 { font-size: clamp(30px, 2.8vw, 52px); margin-bottom: 14px; }
.making-act .transformation-layout.three { margin-top: 14px; gap: 1.4vw; }
.making-act .transformation-layout.three > div { padding: 14px 16px; }
.making-act .transformation-layout.three li { font-size: clamp(12px, .8vw, 15px); }
.making-act .transformation-layout.three li + li { margin-top: 5px; }
.making-act .transformation-layout h3 { font-size: 16px; margin-bottom: 10px; }
.voice-clip { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.voice-clip audio { display: block; height: 40px; flex: 1 1 240px; min-width: 0; max-width: 420px; }
@media print { .voice-clip { display: none; } }
/* Short windows: a 1280x720 share, or a 1440x900 screen with browser bars. Same budget as the build and report acts. */
@media screen and (min-width: 1001px) and (max-height: 790px) {
 .making-act h2 { font-size: clamp(26px, 2.3vw, 40px); margin-bottom: 10px; }
 .making-act .transformation-layout.three { margin-top: 10px; gap: 1.2vw; }
 .making-act .transformation-layout.three > div { padding: 10px 12px; }
 .making-act .transformation-layout.three li { font-size: clamp(12px, .85vw, 14px); }
 .making-act .transformation-layout.three li + li { margin-top: 4px; }
 .making-act .transformation-layout h3 { font-size: 15px; margin-bottom: 8px; }
 .making-sources h3 + ul + h3 { margin-top: 8px; }
 .voice-clip audio { height: 34px; }
}
/* Annex 2, 19 September 2026: each card is a headline plus short bullets. */
.dcol .dpoints { list-style: disc; margin: 0; padding-left: 15px; display: block; }
.dcol li > .dtools + .dpoints { margin-top: 6px; }
.dcol .dpoints li { display: list-item; background: none; border-radius: 0; padding: 0; color: var(--muted); font-size: clamp(11px, .82vw, 14px); line-height: 1.3; }
.dcol .dpoints li + li { margin-top: 3px; }
.dcol .dpoints li::marker { color: var(--accent-2); }
/* Annex 4 and 5, 22 September 2026: vertical videos in a phone-shaped frame, beside notes or a 16:9 master. */
.phone-layout { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 3.2vw; align-items: center; margin-top: 10px; }
.phone-frame { position: relative; height: min(66vh, 720px); aspect-ratio: 9 / 16; border: 9px solid #05080c; border-radius: 30px; overflow: hidden; background: #000; box-shadow: 0 24px 70px color-mix(in srgb, var(--shadow) 28%, transparent); }
.phone-frame video { width: 100%; height: 100%; max-height: none; aspect-ratio: 9 / 16; object-fit: contain; background: #000; }
.phone-notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; max-width: 58ch; }
.phone-notes li { display: grid; gap: 3px; padding: 12px 16px; border-left: 3px solid var(--accent-2); background: color-mix(in srgb, var(--surface) 55%, transparent); border-radius: 0 8px 8px 0; }
.phone-notes strong { font-size: clamp(15px, 1.15vw, 20px); color: var(--ink); }
.phone-notes span { font-size: clamp(13px, .95vw, 17px); color: var(--muted); line-height: 1.35; }
.pair-layout { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2.2vw; align-items: center; margin-top: 8px; }
.pair-layout .pair-wide video { max-height: 58vh; }
.pair-layout .phone-frame { height: min(58vh, 640px); }
.pair-note { margin: 12px 0 0; max-width: none; font-size: clamp(13px, .95vw, 17px); color: var(--muted); }
.pair-note strong { color: var(--ink); }
.phone-act .print-poster, .pair-act .print-poster { display: none; }
@media print {
 .phone-frame { height: 125mm; border-width: 5px; border-radius: 18px; }
 .pair-layout .phone-frame { height: 100mm; }
 .pair-layout .pair-wide .print-poster { max-height: 100mm; }
 .phone-act .print-poster, .pair-act .print-poster { display: block; width: 100%; height: 100%; max-height: none; object-fit: contain; }
 .phone-notes strong { font-size: 13pt; }
 .phone-notes span, .pair-note { font-size: 10.5pt; }
}
