:root {
  --ink: #edf1f5;
  --muted: #a0aabd;
  --dim: #748298;
  --line: rgba(183, 204, 225, .13);
  --panel: rgba(16, 23, 39, .72);
  --accent: #82f7dc;
  --accent-rgb: 130, 247, 220;
  --violet: #9a8cff;
  --bg: #050816;
  --ease: cubic-bezier(.22, .8, .25, 1);
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --gutter: clamp(32px, 5vw, 88px);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; background: var(--bg); color: var(--ink); }
body { font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif; -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; }
button, label, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
button, a, label { touch-action: manipulation; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, label:has(+ input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { background: rgba(var(--accent-rgb), .24); color: #fff; }
#starfield, .aurora, .noise { position: fixed; inset: 0; pointer-events: none; }
#starfield { z-index: 0; }
.noise {
  z-index: 2; opacity: .026;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' opacity='.7' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}
.aurora { z-index: 1; border-radius: 50%; filter: blur(clamp(45px, 6vw, 90px)); animation: auroraDrift 12s ease-in-out infinite alternate; }
.aurora-a { width: 78vw; height: 78vh; left: -23vw; top: -17vh; background: linear-gradient(135deg, #7660f4, #3c35d6 55%, #2a5ba6); opacity: .34; }
.aurora-b { width: 70vw; height: 76vh; inset: auto -19vw -24vh auto; background: linear-gradient(130deg, #345cc9, #137c76 55%, #27bda0); opacity: .32; animation-delay: -6s; animation-direction: alternate-reverse; }
@keyframes auroraDrift {
  from { transform: translate3d(-2vw, -2vh, 0) rotate(-8deg) scale(.94); }
  to { transform: translate3d(11vw, 9vh, 0) rotate(12deg) scale(1.13); }
}

/* The navigation stays quiet, leaving the story as the focal point. */
.topbar {
  position: fixed; z-index: 30; inset: 0 0 auto; height: 88px; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  background: linear-gradient(180deg, rgba(5, 8, 22, .72), rgba(5, 8, 22, .32));
  backdrop-filter: blur(20px);
}
.topbar::after { content: ""; position: absolute; bottom: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line); opacity: .7; }
.brand { display: inline-flex; align-items: center; gap: 14px; width: max-content; color: #d8e0e8; text-decoration: none; font-size: 15px; font-weight: 500; letter-spacing: .16em; }
.brand-orbit { position: relative; display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid rgba(var(--accent-rgb), .75); border-radius: 50%; transform: rotate(-28deg); }
.brand-orbit::before { content: ""; position: absolute; width: 36px; height: 11px; border: 1px solid rgba(var(--accent-rgb), .6); border-radius: 50%; }
.brand-orbit i { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.view-switch { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 100px; background: rgba(255, 255, 255, .02); }
.view-tab { text-align: center; position: relative; z-index: 2; width: 108px; min-height: 34px; padding: 7px 16px; border: 0; border-radius: 100px; background: none; color: var(--muted); font-size: 16px; transition: color .25s; white-space: nowrap; }
.view-tab:hover { color: var(--ink); }
.view-tab.active { color: #d9f6ec; font-weight: 500; }
.switch-glow { position: absolute; z-index: 1; top: 4px; bottom: 4px; left: 4px; width: calc(100% - 8px); border: 1px solid rgba(var(--accent-rgb), .16); border-radius: 100px; background: rgba(var(--accent-rgb), .1); box-shadow: inset 0 1px rgba(255, 255, 255, .04); transition: transform .4s var(--ease); }
.top-actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.top-actions button { height: 36px; border: 1px solid transparent; border-radius: 7px; transition: background .25s, border-color .25s, color .25s; }
.button-icon { width: 15px; height: 15px; flex-shrink: 0; }
.icon-button { width: 36px; display: grid; place-items: center; background: transparent; }
.text-button, .primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 12px; font-size: 15px; background: transparent; color: var(--muted); }
.top-actions .primary-button { border-color: var(--line); color: #d8e3ea; background: rgba(255, 255, 255, .035); }
.top-actions button:hover { border-color: rgba(var(--accent-rgb), .3); color: var(--accent); background: rgba(var(--accent-rgb), .05); }
.music-bars, .audio-wave { display: flex; align-items: center; gap: 3px; height: 15px; }
.music-bars i, .audio-wave i { display: block; width: 2px; height: 6px; border-radius: 2px; background: var(--muted); }
.music-bars i:nth-child(2) { height: 13px; }
.music-bars i:nth-child(3) { height: 9px; }
.music-bars.playing i, .audio-wave.playing i { animation: equalize .7s ease-in-out infinite alternate; background: var(--accent); }
.music-bars.playing i:nth-child(2), .audio-wave.playing i:nth-child(2) { animation-delay: -.45s; }
.music-bars.playing i:nth-child(3), .audio-wave.playing i:nth-child(3) { animation-delay: -.2s; }
.audio-wave.playing i:nth-child(4) { animation-delay: -.55s; }
.audio-wave.playing i:nth-child(5) { animation-delay: -.1s; }
@keyframes equalize { to { transform: scaleY(.35); } }

/* Full-screen chapters share a consistent editorial grid. */
#app, .story-track { position: relative; z-index: 5; width: 100%; height: 100%; }
.story-track { --enter-offset: 64px; --exit-offset: -50px; overflow-y: auto; overflow-x: hidden; scroll-snap-type: y mandatory; scrollbar-width: none; overscroll-behavior-y: contain; }
.story-track[data-direction="up"] { --enter-offset: -64px; --exit-offset: 50px; }
.story-track::-webkit-scrollbar { display: none; }
.slide { position: relative; isolation: isolate; display: flex; align-items: center; width: 100%; min-height: 100%; padding: 132px clamp(76px, 9vw, 160px) 100px; scroll-snap-align: start; scroll-snap-stop: always; }
.slide::before { content: attr(data-number); position: absolute; z-index: -1; bottom: 70px; right: 6vw; color: rgba(170, 194, 218, .025); font: 300 clamp(180px, 22vw, 340px)/.8 var(--mono); letter-spacing: -.08em; pointer-events: none; }
.slide-inner { width: min(1180px, 100%); margin: 0 auto; }
.two-column { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.hero-slide .two-column { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 0; }
.hero-slide .two-column > :first-child { position: relative; z-index: 2; }
.hero-slide::before { display: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 25px; color: var(--accent); font: 400 14px/1.6 var(--mono); letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; opacity: .75; flex-shrink: 0; }
.display-title { margin: 0; font-size: clamp(66px, 6.95vw, 108px); line-height: 1.2; letter-spacing: -.065em; font-weight: 600; text-wrap: balance; }
.hero-name { display: inline-block; padding-bottom: .04em; background: linear-gradient(120deg, #f0f3f8 20%, #e2ecef 50%, #9cdcc9 100%); color: transparent; background-clip: text; -webkit-background-clip: text; }
.hero-slide[data-media="bp.hero"] .display-title { font-size: clamp(49px, 5vw, 76px); line-height: 1.28; }
.section-heading { max-width: 900px; margin: 0; font-size: clamp(45px, 4.55vw, 72px); line-height: 1.3; letter-spacing: -.055em; font-weight: 500; text-wrap: balance; }
.display-title .accent, .section-heading .accent { color: var(--accent); }
.lead { max-width: 610px; margin: 25px 0 0; color: var(--muted); font-size: clamp(18px, 1.4vw, 21px); line-height: 2; font-weight: 400; white-space: pre-line; text-wrap: pretty; }
.hero-slide .lead { max-width: 560px; margin-top: 25px; font-size: 22px; line-height: 2.1; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 35px; }
.hero-actions button, .hero-actions a { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 47px; padding: 0 20px; border: 1px solid var(--line); border-radius: 6px; background: rgba(255, 255, 255, .02); color: #d6dfe8; font-size: 16px; text-decoration: none; transition: background .25s, border-color .25s, transform .25s; }
.hero-actions .filled { background: var(--accent); border-color: var(--accent); color: #10251e; font-weight: 600; box-shadow: 0 4px 20px rgba(var(--accent-rgb), .04); }
.hero-actions button:hover, .hero-actions a:hover { transform: translateY(-2px); border-color: var(--accent); background: rgba(var(--accent-rgb), .07); }
.hero-actions .filled:hover { color: #10251e; background: #bdeeda; box-shadow: 0 6px 24px rgba(var(--accent-rgb), .1); }
.hero-actions [data-go-view] { background: transparent; border-color: transparent; color: var(--muted); }
.hero-actions [data-go-view]:hover { color: var(--ink); border-color: var(--line); }
.meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-top: 45px; color: #91a2b1; font: 400 16px/1.7 var(--mono); letter-spacing: .1em; }
.meta-row > span { display: flex; align-items: center; gap: 8px; }
.meta-row > span + span { padding-left: 22px; border-left: 1px solid var(--line); }
.meta-row i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .06); flex-shrink: 0; }

/* Original vector artwork replaces the empty upload placeholder. */
.portrait-wrap, .media-frame { position: relative; min-width: 0; }
.portrait-wrap { width: 118%; margin-left: -7%; }
.portrait { position: relative; width: 100%; aspect-ratio: 1; }
.media-slot { position: relative; width: 100%; height: 100%; min-height: 0; overflow: hidden; display: grid; place-items: center; }
.media-slot img, .media-slot video { display: block; width: 100%; height: 100%; object-fit: cover; }
.media-slot video { background: #03060d; }
.portrait > .media-slot:not(.is-artwork) { width: 82%; height: 90%; margin: 5% auto; border-radius: 160px 160px 12px 12px; border: 1px solid rgba(var(--accent-rgb), .18); box-shadow: 0 30px 70px rgba(0, 0, 0, .24); }
.media-placeholder { position: relative; width: 100%; height: 100%; display: grid; place-items: center; }
.orbit-art { position: relative; width: 100%; height: 100%; display: grid; place-items: center; }
.orbit-illustration { display: block; width: 100%; height: 100%; overflow: visible; animation: orbitFloat 6s ease-in-out infinite; }
.orbit-coordinate { position: absolute; color: #8398a9; font: 12px/1.5 var(--mono); letter-spacing: .2em; white-space: nowrap; }
.orbit-coordinate-top { top: 4%; right: 10%; }
.orbit-coordinate-bottom { bottom: 5%; left: 11%; color: #718b98; }
.orbit-coordinate-bottom::before { content: ""; display: inline-block; width: 22px; height: 1px; margin-right: 9px; vertical-align: middle; background: rgba(var(--accent-rgb), .45); }
.orbit-satellite { transform-origin: 320px 306px; animation: orbitRevolve 22s linear infinite; }
.orbit-satellite-secondary { animation-duration: 32s; animation-direction: reverse; }
.orbit-trace { transform-origin: 320px 306px; animation: orbitRevolve 40s linear infinite; }
.orbit-halo { transform-origin: 320px 306px; animation: haloBreathe 5s ease-in-out infinite; }
@keyframes orbitFloat { 50% { transform: translateY(-15px) rotate(1.5deg); } }
@keyframes orbitRevolve { to { transform: rotate(360deg); } }
@keyframes haloBreathe { 50% { opacity: .6; transform: scale(.93); } }
.media-upload-hint { position: absolute; z-index: 2; left: 50%; bottom: 14%; transform: translateX(-50%); display: none; grid-template-columns: auto 1fr; gap: 4px 10px; width: max-content; padding: 12px 18px; border: 1px solid rgba(var(--accent-rgb), .3); border-radius: 8px; background: rgba(6, 14, 25, .92); text-align: left; backdrop-filter: blur(16px); }
.media-upload-hint > span { grid-row: 1 / 3; align-self: center; font-size: 30px; font-weight: 300; color: var(--accent); }
.media-upload-hint strong { font-size: 15px; font-weight: 500; }
.media-upload-hint small { font-size: 13px; color: var(--muted); }
.edit-mode .media-upload-hint { display: grid; }
.media-upload-hint:hover { background: #162b2c; }
.slide-background-media { position: absolute; z-index: -2; inset: 0; overflow: hidden; opacity: .3; pointer-events: none; mask-image: linear-gradient(90deg, transparent, #000 60%); }
.slide-background-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg), rgba(6, 10, 20, .3) 70%, var(--bg)); }
.slide-background-media img, .slide-background-media video { width: 100%; height: 100%; object-fit: cover; filter: saturate(.6); }

/* Content pages: quieter borders, larger breathing room, consistent baselines. */
.content-head { margin-bottom: clamp(32px, 5vh, 50px); }
.content-head.center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.content-head.center .lead { max-width: 700px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(120deg, rgba(var(--accent-rgb), .025), transparent); }
.stat { padding: 29px 30px; border-right: 1px solid var(--line); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat > strong { display: block; margin-bottom: 12px; color: #ddebe9; font-size: clamp(35px, 3.8vw, 58px); line-height: 1; font-weight: 400; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.stat > span { color: var(--muted); font-size: 15px; letter-spacing: .08em; }
.chip-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chip { padding: 8px 14px; border: 1px solid var(--line); border-radius: 5px; color: #b0bdca; background: rgba(255, 255, 255, .018); font-size: 15px; }
.timeline { position: relative; display: grid; }
.timeline::before { content: ""; position: absolute; left: 14px; top: 26px; bottom: 48px; width: 1px; background: linear-gradient(rgba(var(--accent-rgb), .5), var(--line)); }
.timeline-item { position: relative; display: grid; grid-template-columns: 1fr; gap: 12px; padding: 20px 0 20px 42px; }
.timeline-item::before { content: ""; position: absolute; left: 11px; top: 26px; width: 7px; height: 7px; border: 1px solid var(--accent); border-radius: 50%; background: var(--bg); }
.timeline-item:first-child::before { background: var(--accent); box-shadow: 0 0 0 5px rgba(var(--accent-rgb), .06); }
.timeline-year { color: var(--accent); font: 13px/1.5 var(--mono); letter-spacing: .08em; }
.timeline-copy { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.timeline-item:last-child .timeline-copy { border: 0; padding-bottom: 0; }
.timeline-copy h3 { margin: 0 0 10px; font-size: clamp(21px, 1.7vw, 25px); font-weight: 500; line-height: 1.6; }
.timeline-copy h3 > span { color: var(--muted); }
.timeline-copy p { max-width: 620px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.9; }
.project-layout { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(32px, 5.5vw, 82px); align-items: center; }
.feature-media { position: relative; aspect-ratio: 1.04; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: radial-gradient(ellipse at 60% 25%, rgba(136, 125, 197, .08), rgba(13, 20, 35, .6) 70%); box-shadow: 0 22px 70px rgba(0, 0, 0, .13), inset 0 1px rgba(255, 255, 255, .03); }
.feature-media .orbit-coordinate { font-size: 11px; }
.feature-media .orbit-coordinate-top { top: 7%; }
.feature-media .orbit-coordinate-bottom { bottom: 7%; }
.project-list { margin-top: 30px; border-top: 1px solid var(--line); }
.project-item { display: grid; grid-template-columns: 24px 1fr auto; gap: 16px; align-items: center; padding: 21px 0; border-bottom: 1px solid var(--line); transition: padding .3s, background .3s; }
.project-item:hover { padding-left: 10px; padding-right: 10px; background: rgba(var(--accent-rgb), .025); }
.project-item > span:first-child { color: var(--dim); font: 13px var(--mono); }
.project-item strong { display: block; margin-bottom: 6px; font-size: 19px; font-weight: 500; letter-spacing: -.01em; }
.project-item small { color: var(--muted); font-size: 15px; }
.project-item > span:last-child { color: var(--accent); font-size: 23px; font-weight: 300; }
.contact-card { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 36px; border: 1px solid var(--line); border-radius: 12px; background: radial-gradient(ellipse at 50% 0, rgba(var(--accent-rgb), .065), transparent 65%), rgba(11, 18, 31, .4); text-align: center; }
.contact-card::before { content: ""; position: absolute; inset: 0 25% auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), .6), transparent); }
.contact-card .section-heading, .contact-card .lead { margin-left: auto; margin-right: auto; }
.contact-card .eyebrow::before { display: none; }
.contact-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.contact-links a { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-width: 170px; padding: 15px 18px; border: 1px solid var(--line); border-radius: 6px; color: #d6e1e7; background: rgba(255, 255, 255, .025); font-size: 15px; text-decoration: none; transition: background .25s, border-color .25s; }
.contact-links a:hover { border-color: rgba(var(--accent-rgb), .4); background: rgba(var(--accent-rgb), .05); }
.contact-links a > span:last-child { color: var(--accent); }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.glass-card { position: relative; overflow: hidden; min-height: 240px; padding: 30px; border: 1px solid var(--line); border-radius: 10px; background: linear-gradient(135deg, rgba(30, 42, 59, .38), rgba(12, 20, 35, .25)); transition: border-color .3s, transform .3s; }
.glass-card::after { content: ""; position: absolute; top: 0; left: 30px; width: 36px; height: 1px; background: var(--accent); opacity: .65; }
.glass-card:hover { border-color: rgba(var(--accent-rgb), .3); transform: translateY(-4px); }
.card-number { color: #8ca0af; font: 14px var(--mono); letter-spacing: .1em; }
.glass-card h3 { margin: 38px 0 14px; font-size: 25px; font-weight: 500; }
.glass-card p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.95; }
.solution-list { display: grid; margin-top: 24px; }
.solution-item { display: grid; grid-template-columns: 30px 1fr; gap: 15px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.solution-item > span { display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid rgba(var(--accent-rgb), .2); border-radius: 6px; background: rgba(var(--accent-rgb), .035); color: var(--accent); font: 14px var(--mono); }
.solution-item h3 { margin: 1px 0 7px; font-size: 19px; font-weight: 500; }
.solution-item p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.85; }
.model-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.revenue-list { margin-top: 29px; }
.revenue-row { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 19px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.revenue-row > span { color: var(--muted); font-size: 16px; }
.revenue-row strong { color: #cce8dd; font-size: 17px; font-weight: 500; }
.market-visual { padding: 26px; border: 1px solid var(--line); border-radius: 10px; background: linear-gradient(135deg, rgba(var(--accent-rgb), .035), rgba(20, 27, 45, .4)); }
.chart-heading, .chart-axis { display: flex; align-items: center; justify-content: space-between; gap: 16px; font: 12px/1.5 var(--mono); letter-spacing: .07em; color: var(--dim); }
.chart-heading > span:first-child { color: var(--accent); }
.chart-plot { display: flex; align-items: flex-end; gap: 18px; height: 240px; padding: 30px 15px 0; margin-top: 25px; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(to top, transparent 0, transparent 59px, rgba(183, 204, 225, .07) 59px, rgba(183, 204, 225, .07) 60px); }
.bar { flex: 1; height: var(--height); min-height: 20px; border: 1px solid rgba(var(--accent-rgb), .22); border-bottom: 0; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, rgba(var(--accent-rgb), .55), rgba(var(--accent-rgb), .035)); transform-origin: bottom; }
.bar:last-child { background: linear-gradient(180deg, #a0e5ce, rgba(var(--accent-rgb), .08)); }
.slide.visible .bar { animation: growBar 1.1s var(--ease) both; }
.bar:nth-child(2) { animation-delay: .08s; }
.bar:nth-child(3) { animation-delay: .16s; }
.bar:nth-child(4) { animation-delay: .24s; }
.bar:nth-child(5) { animation-delay: .32s; }
@keyframes growBar { from { transform: scaleY(0); } }
.chart-axis { margin-top: 14px; font-size: 11px; }
.roadmap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 40px; }
.roadmap-step { position: relative; padding: 25px 20px 0 0; border-top: 1px solid var(--line); }
.roadmap-step::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--accent); background: var(--bg); }
.roadmap-step:first-child::before { background: var(--accent); box-shadow: 0 0 0 5px rgba(var(--accent-rgb), .05); }
.roadmap-step > span { color: var(--accent); font: 13px var(--mono); letter-spacing: .06em; }
.roadmap-step h3 { margin: 13px 0 9px; font-size: 19px; font-weight: 500; }
.roadmap-step p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.funding-layout { display: grid; grid-template-columns: 1.1fr .85fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.funding-amount { margin: 30px 0 12px; color: var(--accent); font-size: clamp(52px, 6.6vw, 98px); font-weight: 400; line-height: 1.1; letter-spacing: -.06em; }
.funding-note { color: var(--muted); font-size: 15px; }
.allocation { display: grid; gap: 28px; }
.allocation-row { display: grid; grid-template-columns: 1fr auto; gap: 13px; }
.allocation-row > span { color: var(--muted); font-size: 16px; }
.allocation-row strong { color: #deebe8; font: 17px var(--mono); }
.allocation-row i { grid-column: 1 / -1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.allocation-row i::after { content: ""; display: block; width: var(--width); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), #819cb7); }

/* A working group-meeting deck, with editable data and uncropped results. */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.meeting-slide:not(.hero-slide) .section-heading { max-width: none; font-size: clamp(38px, 3.6vw, 56px); }
.meeting-slide:not(.hero-slide) .content-head { margin-bottom: 30px; }
.meeting-slide:not(.hero-slide) .eyebrow { margin-bottom: 16px; }
.meeting-slide:not(.hero-slide) .lead { max-width: 880px; margin-top: 16px; font-size: 18px; line-height: 1.85; }
.hero-slide[data-media="meeting.overview"] .display-title { font-size: clamp(60px, 6.3vw, 94px); }
.report-project-name { margin: 24px 0 0; color: #d6e8e7; font-size: 28px; line-height: 1.6; }
.report-snapshot { justify-self: end; width: min(420px, 100%); min-width: 0; padding: 26px; border: 1px solid rgba(var(--accent-rgb), .22); border-radius: 14px; background: radial-gradient(ellipse at 50% 30%, rgba(var(--accent-rgb), .085), transparent 70%), rgba(11, 19, 36, .66); box-shadow: inset 0 1px rgba(255, 255, 255, .045), 0 24px 80px rgba(0, 0, 0, .15); }
.report-snapshot-head { display: flex; justify-content: space-between; gap: 12px; color: var(--accent); font: 12px/1.6 var(--mono); letter-spacing: .14em; }
.report-signal { display: flex; align-items: center; gap: 4px; }
.report-signal i { width: 3px; height: 9px; border-radius: 3px; background: var(--accent); animation: equalize 1.2s ease-in-out infinite alternate; }
.report-signal i:nth-child(2) { height: 16px; animation-delay: -.4s; }
.report-signal i:nth-child(3) { height: 12px; animation-delay: -.8s; }
.report-gauge { position: relative; display: grid; place-items: center; width: 210px; max-width: 100%; aspect-ratio: 1; margin: 22px auto; text-align: center; }
.report-gauge svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; pointer-events: none; }
.report-gauge-track { stroke: rgba(var(--accent-rgb), .13); stroke-width: 5; }
.report-gauge-fill { transform: rotate(-90deg); transform-origin: center; stroke: var(--accent); stroke-width: 5; stroke-linecap: round; filter: drop-shadow(0 0 5px rgba(var(--accent-rgb), .3)); transition: stroke-dashoffset .6s var(--ease); }
.report-gauge-ticks { stroke: rgba(154, 140, 255, .45); stroke-width: 1; stroke-dasharray: 1 9; transform-origin: center; animation: orbitRevolve 80s linear infinite; }
.report-gauge > div { width: 72%; }
.report-gauge strong { display: block; color: #e1f5ee; font-size: 48px; line-height: 1.3; font-weight: 400; letter-spacing: -.045em; overflow-wrap: anywhere; }
.report-gauge > div > span { display: block; margin-top: 7px; color: var(--muted); font-size: 17px; }
.report-phase { color: var(--accent); text-align: center; font-size: 19px; line-height: 1.8; overflow-wrap: anywhere; }
.report-milestone { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.report-milestone > span { color: var(--muted); font-size: 16px; }
.report-milestone strong { display: block; margin-top: 9px; font-size: 24px; font-weight: 500; line-height: 1.6; }
.report-milestone p { margin: 10px 0 0; color: var(--muted); font-size: 20px; line-height: 1.85; }
.report-present-button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-top: 24px; padding: 12px 16px; border: 1px solid rgba(var(--accent-rgb), .26); border-radius: 6px; background: rgba(var(--accent-rgb), .045); color: var(--accent); font-size: 15px; transition: background .25s, border-color .25s; }
.report-present-button:hover { background: rgba(var(--accent-rgb), .1); border-color: var(--accent); }
.report-work-card { display: flex; flex-direction: column; min-height: 310px; padding: 26px; }
.report-task-status { display: flex; align-items: center; gap: 9px; color: var(--accent); font-size: 14px; line-height: 1.6; }
.report-task-status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.report-work-card:nth-child(2) .report-task-status { color: #c0b3ff; }
.report-work-card:nth-child(3) .report-task-status { color: #b5c3d2; }
.report-work-card h3 { margin: 23px 0 12px; font-size: 23px; line-height: 1.5; }
.report-work-card p { font-size: 16px; line-height: 1.85; }
.report-task-progress { display: grid; grid-template-columns: 1fr auto; gap: 13px; margin-top: auto; padding-top: 24px; color: var(--muted); font-size: 14px; }
.report-task-progress strong { color: var(--accent); font-weight: 500; }
.report-progress-track { grid-column: 1 / -1; height: 4px; overflow: hidden; border-radius: 4px; background: rgba(255, 255, 255, .08); }
.report-progress-track i { display: block; width: var(--progress, 0%); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--violet), var(--accent)); transition: width .6s var(--ease); }
.report-summary { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 18px; align-items: start; margin-top: 26px; padding: 19px 22px; border-left: 2px solid rgba(var(--accent-rgb), .5); border-radius: 0 8px 8px 0; background: rgba(var(--accent-rgb), .035); }
.report-summary > span { padding-top: 2px; color: var(--accent); font-size: 17px; line-height: 1.8; white-space: nowrap; }
.report-summary p { margin: 0; color: #c4d2dc; font-size: 16px; line-height: 1.8; overflow-wrap: anywhere; }
.report-results-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: start; }
.report-figure { min-width: 0; margin: 0; }
.feature-media.report-results-media { width: 100%; aspect-ratio: 1.5; border-radius: 10px; }
.report-results-media .media-slot img, .report-results-media .media-slot video { object-fit: contain; padding: 10px; background: rgba(5, 8, 22, .35); }
.report-results-media .media-placeholder { background-image: linear-gradient(rgba(185, 208, 230, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(185, 208, 230, .04) 1px, transparent 1px); background-size: 30px 30px; }
.report-media-empty { max-width: 340px; padding: 22px; text-align: center; }
.report-media-empty svg { width: 72px; height: 58px; margin-bottom: 18px; color: var(--accent); opacity: .8; }
.report-media-empty strong { display: block; font-size: 17px; font-weight: 500; letter-spacing: .06em; }
.report-media-empty p { margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.edit-mode .report-results-media .report-media-empty { opacity: .4; }
.report-figure figcaption { margin-top: 14px; color: var(--muted); font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.report-metrics, .report-plan { width: 100%; table-layout: fixed; border-collapse: collapse; text-align: left; }
.report-metrics caption { margin-bottom: 15px; color: var(--ink); font-size: 19px; text-align: left; }
.report-metrics th, .report-metrics td { padding: 17px 12px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.8; overflow-wrap: anywhere; font-weight: 400; }
.report-metrics th:first-child { width: 46%; padding-left: 0; }
.report-metrics thead th { color: var(--muted); font-size: 13px; }
.report-metrics tbody td { color: var(--muted); }
.report-metrics tbody td:last-child { color: var(--accent); }
.report-result-conclusion { grid-template-columns: 1fr; gap: 8px; margin-top: 22px; }
.report-issue-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.report-issue h3 { margin-top: 23px; line-height: 1.5; }
.report-issue dl { display: grid; gap: 17px; margin: 22px 0 0; }
.report-issue dl > div { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 16px; padding-top: 15px; border-top: 1px solid var(--line); }
.report-issue dt { color: var(--violet); font-size: 14px; line-height: 1.9; }
.report-issue dd { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.8; overflow-wrap: anywhere; }
.report-plan th, .report-plan td { padding: 20px 16px; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.8; font-weight: 400; overflow-wrap: anywhere; }
.report-plan thead th { padding-top: 14px; padding-bottom: 14px; color: var(--accent); background: rgba(var(--accent-rgb), .035); font-size: 14px; }
.report-plan thead th:nth-child(1) { width: 28%; }
.report-plan thead th:nth-child(2) { width: 15%; }
.report-plan thead th:nth-child(3) { width: 17%; }
.report-plan tbody td { color: var(--muted); }
.meeting-slide [data-bind] { overflow-wrap: anywhere; }

/* Chapter navigation and the small footer frame the viewport. */
.page-dots { position: fixed; z-index: 20; top: 50%; right: var(--gutter); transform: translateY(-50%); display: flex; flex-direction: column; gap: 5px; }
.page-dot { position: relative; display: flex; align-items: center; justify-content: flex-end; width: 34px; height: 32px; padding: 0; border: 0; background: none; }
.page-dot::after { content: ""; position: absolute; right: 0; width: 3px; height: 3px; border-radius: 4px; background: #5e6f81; transition: height .3s, background .3s; }
.page-dot.active::after { height: 18px; width: 2px; background: var(--accent); }
.dot-number { margin-right: 12px; font: 12px var(--mono); color: var(--accent); opacity: 0; transition: opacity .3s; }
.page-dot.active .dot-number { opacity: 1; }
.dot-label { position: absolute; right: 43px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 4px; background: #0e1624; color: #c7d5df; font-size: 14px; white-space: nowrap; opacity: 0; transform: translateX(4px); pointer-events: none; transition: opacity .2s, transform .2s; }
.page-dot:hover .dot-label, .page-dot:focus-visible .dot-label { opacity: 1; transform: none; }
.view-label { position: fixed; z-index: 20; left: var(--gutter); bottom: 32px; display: flex; align-items: center; gap: 11px; color: var(--dim); font: 13px var(--mono); letter-spacing: .08em; }
.view-label i { width: 38px; height: 1px; background: var(--line); }
.view-label > span:first-child { color: var(--accent); }
.view-label .page-caption { margin-left: 13px; padding-left: 18px; border-left: 1px solid var(--line); color: #9baebc; font-size: 14px; line-height: 1.5; letter-spacing: .06em; }
.site-signature { position: fixed; z-index: 20; right: var(--gutter); bottom: 32px; display: flex; gap: 9px; align-items: center; color: #758695; font: 11px/1.5 var(--mono); letter-spacing: .11em; }
.signature-star { color: var(--accent); font-size: 17px; }
.scroll-cue { position: fixed; z-index: 20; left: 50%; bottom: 27px; transform: translateX(-50%); padding: 8px; border: 0; background: transparent; color: #93a3b0; font-size: 13px; letter-spacing: .18em; }
.scroll-cue i { display: block; width: 1px; height: 18px; margin: 10px auto 0; background: linear-gradient(var(--accent), transparent); animation: cue 2.8s ease-in-out infinite; }
@keyframes cue { 50% { transform: translateY(4px) scaleY(.65); opacity: .4; } }
.slide [data-anim] {
  opacity: 0;
  transform: translate3d(0, var(--enter-offset), 0) scale(.985);
  filter: blur(5px);
  transition: opacity .8s var(--ease), transform 1.05s var(--ease), filter .8s var(--ease);
  transition-delay: var(--delay, 0s);
}
.slide [data-anim="left"] { transform: translate3d(-65px, calc(var(--enter-offset) * .3), 0) scale(.98); }
.slide [data-anim="right"] { transform: translate3d(65px, calc(var(--enter-offset) * .3), 0) scale(.98); }
.slide [data-anim="scale"] { transform: translateY(calc(var(--enter-offset) * .35)) scale(.88) rotate(-1.5deg); }
.slide.visible [data-anim] { opacity: 1; transform: none; filter: blur(0); }
.slide.leaving [data-anim] {
  opacity: 0;
  transform: translate3d(0, var(--exit-offset), 0) scale(.96);
  filter: blur(6px);
  transition-duration: .38s, .48s, .38s;
  transition-delay: 0s;
}
.slide.visible:not(.leaving) :is(.stat, .timeline-item, .project-item, .solution-item, .roadmap-step) {
  animation: detailEnter .8s var(--ease) both;
  animation-delay: calc(.15s + var(--item-delay, 0s));
}
.slide :is(.stat, .timeline-item, .project-item, .solution-item, .roadmap-step):nth-child(2) { --item-delay: .07s; }
.slide :is(.stat, .timeline-item, .project-item, .solution-item, .roadmap-step):nth-child(3) { --item-delay: .14s; }
.slide :is(.stat, .timeline-item, .project-item, .solution-item, .roadmap-step):nth-child(4) { --item-delay: .21s; }
@keyframes detailEnter {
  from { opacity: 0; translate: 0 22px; }
  to { opacity: 1; translate: 0 0; }
}

/* Editing remains in context; the page itself stays clickable. */
[contenteditable="true"] { outline: 1px dashed rgba(var(--accent-rgb), .38); outline-offset: 5px; border-radius: 2px; cursor: text; }
[contenteditable="true"]:hover, [contenteditable="true"]:focus { outline-style: solid; background-color: rgba(var(--accent-rgb), .07); }
.hero-name[contenteditable="true"]:focus { color: var(--ink); background-image: none; }
.editor { position: fixed; z-index: 60; top: 104px; right: 18px; width: 340px; max-height: calc(100% - 126px); padding: 25px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #30464d transparent; border: 1px solid rgba(185, 211, 222, .17); border-radius: 12px; background: rgba(10, 17, 30, .96); backdrop-filter: blur(30px); box-shadow: 0 24px 90px rgba(0, 0, 0, .4); opacity: 0; transform: translateX(calc(100% + 30px)) scale(.96); transform-origin: right top; visibility: hidden; transition: transform .38s var(--ease), opacity .3s ease, visibility 0s .38s; }
.editor.open { opacity: 1; transform: none; visibility: visible; transition: transform .55s cubic-bezier(.18, .9, .3, 1.03), opacity .35s ease, visibility 0s; }
.editor > * { opacity: 0; translate: 0 14px; transition: opacity .2s ease, translate .25s var(--ease); }
.editor.open > * { opacity: 1; translate: 0 0; transition-duration: .35s, .45s; transition-delay: .1s; }
.editor.open > :nth-child(2) { transition-delay: .14s; }
.editor.open > :nth-child(3) { transition-delay: .18s; }
.editor.open > :nth-child(n+4) { transition-delay: .22s; }
.editor-backdrop { display: none; }
.edit-mode .page-dots { visibility: hidden; }
.editor-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.editor-head .eyebrow { margin: 0 0 8px; font-size: 12px; }
.editor-head .eyebrow::before { width: 15px; }
.editor-head h2 { margin: 0; font-size: 25px; font-weight: 500; letter-spacing: -.03em; }
.close-button { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 1px solid var(--line); border-radius: 6px; background: rgba(255, 255, 255, .025); color: var(--muted); font-size: 25px; font-weight: 300; }
.close-button:hover { color: var(--ink); border-color: var(--accent); }
.editor-page { display: flex; justify-content: space-between; gap: 10px; margin: 22px 0 14px; font-size: 15px; }
.editor-page > span { color: var(--muted); }
.editor-page strong { color: var(--accent); font-weight: 500; }
.editor-tip { display: grid; grid-template-columns: 14px 1fr; gap: 8px; padding: 12px; border: 1px solid rgba(var(--accent-rgb), .12); border-radius: 6px; background: rgba(var(--accent-rgb), .035); }
.editor-tip > span { color: var(--accent); font-size: 16px; }
.editor-tip p { margin: 0; color: #adbec9; font-size: 14px; line-height: 1.85; }
.editor-section { padding: 23px 0; border-bottom: 1px solid var(--line); }
.section-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.section-title h3 { margin: 0; font-size: 16px; font-weight: 500; }
.section-title > span { color: var(--dim); font-size: 13px; }
.upload-zone { display: grid; place-items: center; min-height: 118px; padding: 18px; text-align: center; border: 1px dashed rgba(var(--accent-rgb), .24); border-radius: 7px; background: rgba(var(--accent-rgb), .018); cursor: pointer; transition: background .25s, border-color .25s; }
.upload-zone:hover { border-color: var(--accent); background: rgba(var(--accent-rgb), .05); }
.upload-icon { color: var(--accent); font-size: 29px; line-height: 1; }
.upload-zone strong { margin: 8px 0; font-size: 15px; font-weight: 500; }
.upload-zone small { color: var(--muted); font-size: 12px; }
.audio-upload { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 7px; background: rgba(255, 255, 255, .02); cursor: pointer; }
.audio-upload > span { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(var(--accent-rgb), .12); border-radius: 6px; color: var(--accent); background: rgba(var(--accent-rgb), .05); }
.audio-upload strong, .audio-upload small { display: block; }
.audio-upload strong { margin-bottom: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 500; }
.audio-upload small { color: var(--muted); font-size: 12px; line-height: 1.6; }
.danger-link { display: block; margin: 12px auto 0; padding: 4px; border: 0; background: transparent; color: #d99ca8; font-size: 14px; }
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tool-grid button, .tool-grid label, .reset-button { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; border: 1px solid var(--line); border-radius: 6px; background: rgba(255, 255, 255, .02); color: var(--muted); font-size: 14px; cursor: pointer; }
.tool-grid button:hover, .tool-grid label:hover { color: var(--accent); border-color: rgba(var(--accent-rgb), .3); }
.reset-button { width: 100%; margin-top: 10px; color: #d99ca8; background: transparent; }
.storage-note { margin: 19px 0 0; color: var(--dim); font-size: 13px; line-height: 1.8; text-align: center; }
.audio-player { position: fixed; z-index: 45; bottom: 22px; left: 50%; transform: translateX(-50%); align-items: center; gap: 12px; width: 340px; height: 58px; padding: 8px 12px; border: 1px solid rgba(var(--accent-rgb), .2); border-radius: 9px; background: rgba(11, 20, 32, .93); backdrop-filter: blur(20px); box-shadow: 0 14px 50px rgba(0, 0, 0, .3); }
.audio-player:not([hidden]) { display: flex; }
.audio-player > button { flex-shrink: 0; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--accent); color: #11291f; font-size: 14px; }
.audio-player .audio-close { width: 24px; height: 24px; background: transparent; color: var(--muted); font-size: 22px; }
.audio-info { flex: 1; min-width: 0; }
.audio-info span { display: block; margin-bottom: 4px; color: var(--dim); font: 11px var(--mono); letter-spacing: .1em; }
.audio-info strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 500; }
.audio-wave { height: 18px; }
.audio-wave i { height: 100%; }
.toast { position: fixed; z-index: 100; left: 50%; top: 105px; max-width: calc(100% - 32px); width: max-content; padding: 12px 18px; border: 1px solid rgba(var(--accent-rgb), .24); border-radius: 7px; background: rgba(14, 27, 36, .96); color: #dcebe7; font-size: 15px; line-height: 1.6; box-shadow: 0 10px 40px rgba(0, 0, 0, .24); transform: translate(-50%, -10px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; }
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.topbar, .page-dots, .view-label, .scroll-cue, .site-signature { transition: opacity .4s ease, translate .5s var(--ease); }
body.presenting .topbar, body.presenting .page-dots, body.presenting .view-label, body.presenting .scroll-cue, body.presenting .site-signature { opacity: 0; pointer-events: none; }
body.presenting .topbar { translate: 0 -24px; }
body.presenting .page-dots { translate: 20px 0; }
body.presenting .view-label, body.presenting .scroll-cue, body.presenting .site-signature { translate: 0 20px; }

@media (min-width: 801px) {
  .edit-mode #app { width: calc(100% - 358px); }
  .edit-mode .slide { padding-left: 5vw; padding-right: 4vw; }
  .edit-mode .two-column, .edit-mode .project-layout, .edit-mode .model-grid, .edit-mode .funding-layout { grid-template-columns: 1fr; gap: 30px; }
  .edit-mode .portrait-wrap { width: min(420px, 80%); margin: auto; }
  .edit-mode .feature-media { max-width: 450px; }
  .edit-mode .display-title { font-size: 70px; }
  .edit-mode .section-heading { font-size: 48px; }
  .edit-mode .report-snapshot { justify-self: start; margin-top: 28px; }
  .edit-mode .report-results-grid, .edit-mode .report-issue-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
  :root { --gutter: 30px; }
  .slide { padding: 120px 72px 90px 52px; }
  .brand { font-size: 13px; gap: 11px; }
  .view-tab { width: 100px; }
  .top-actions .text-button { padding: 0 8px; }
  .two-column, .project-layout, .model-grid, .funding-layout { gap: 32px; }
  .display-title { font-size: clamp(59px, 7vw, 78px); }
  .hero-slide[data-media="bp.hero"] .display-title { font-size: 52px; }
  .section-heading { font-size: 46px; }
  .hero-slide .lead { font-size: 20px; }
  .meta-row { gap: 10px 14px; font-size: 15px; }
  .meta-row > span + span { padding-left: 14px; }
  .hero-actions { gap: 6px; }
  .hero-actions button, .hero-actions a { padding: 0 15px; gap: 12px; font-size: 15px; }
  .glass-card { padding: 23px; }
  .site-signature { font-size: 10px; }
  .chart-plot { gap: 12px; height: 200px; }
}
@media (min-width: 801px) and (max-width: 1000px) {
  .top-actions .text-button { display: none; }
}
@media (max-width: 800px) {
  :root { --gutter: 25px; }
  .topbar { height: 76px; grid-template-columns: 1fr auto 1fr; }
  .brand #brandName { display: none; }
  .top-actions { gap: 4px; }
  .top-actions .text-button { display: none; }
  .top-actions .primary-button { width: 34px; padding: 0; }
  .primary-button > span:last-child { display: none; }
  .view-tab { width: 94px; font-size: 15px; }
  .slide { padding: 108px 64px 85px 34px; }
  .two-column, .project-layout, .model-grid, .funding-layout { grid-template-columns: 1fr; gap: 35px; }
  .hero-slide .two-column { grid-template-columns: 1fr; gap: 12px; }
  .hero-slide .portrait-wrap { position: absolute; z-index: -1; right: -13%; top: 16%; width: 75%; margin: 0; opacity: .36; pointer-events: none; }
  .hero-slide .orbit-coordinate { display: none; }
  .hero-slide .two-column > :first-child { max-width: 550px; }
  .display-title { font-size: 76px; }
  .hero-slide[data-media="bp.hero"] .display-title { font-size: 64px; }
  .hero-slide .lead { max-width: 390px; }
  .hero-slide .portrait:has(.media-slot:not(.is-artwork)) { opacity: .65; }
  .edit-mode .hero-slide .portrait-wrap { position: relative; z-index: 0; inset: auto; width: 80%; max-width: 340px; opacity: 1; pointer-events: auto; }
  .section-heading { font-size: 48px; }
  .feature-media { width: min(100%, 430px); aspect-ratio: 1.5; }
  [data-media="resume.work"] .feature-media { order: 2; }
  .feature-media .orbit-art { max-height: 290px; }
  .stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stat { padding: 24px 16px; }
  .stat > strong { font-size: 40px; }
  .stat > span { font-size: 14px; }
  .card-grid { gap: 12px; }
  .glass-card { padding: 23px 18px; }
  .glass-card h3 { font-size: 22px; margin-top: 30px; }
  .glass-card p { font-size: 15px; }
  .timeline { max-width: 580px; }
  .market-visual { max-width: 500px; }
  .chart-plot { height: 180px; }
  .site-signature { display: none; }
  .page-dots { right: 20px; }
  .contact-card { padding: 42px 25px; }
  .editor { top: auto; bottom: 12px; right: 12px; width: min(340px, calc(100% - 24px)); max-height: 44%; transform: translateY(calc(100% + 24px)) scale(.96); transform-origin: center bottom; }
  .editor.open { transform: none; }
  .edit-mode #app { height: calc(56% - 24px); }
  .edit-mode .slide { padding-top: 98px; padding-bottom: 35px; }
  .edit-mode .scroll-cue, .edit-mode .view-label { visibility: hidden; }
  .report-snapshot { justify-self: start; width: min(460px, 100%); margin-top: 28px; }
  .report-results-grid, .report-issue-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  :root { --gutter: 22px; }
  .topbar { height: 72px; padding: 0 14px; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
  .brand { display: none; }
  .topbar::after { left: 20px; right: 20px; }
  .brand-orbit { width: 23px; height: 23px; }
  .brand-orbit::before { width: 31px; height: 9px; }
  .view-switch { justify-self: start; width: 100%; max-width: 350px; padding: 3px; gap: 3px; }
  .view-tab { width: 100%; min-width: 0; min-height: 31px; padding: 6px; font-size: 14px; }
  .switch-glow { top: 3px; bottom: 3px; left: 3px; width: calc(100% - 6px); }
  .top-actions { gap: 0; }
  .top-actions .icon-button { display: none; }
  .top-actions .primary-button { height: 32px; width: 32px; }
  .slide { padding: 105px 44px 83px 26px; }
  .slide::before { font-size: 180px; bottom: 60px; }
  .hero-slide { align-items: flex-start; }
  .hero-slide .two-column { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .hero-slide .two-column > :first-child { padding-top: 18px; }
  .hero-slide .portrait-wrap { position: relative; z-index: 0; inset: auto; width: min(86%, 300px); max-height: none; margin: 12px auto -15px; opacity: 1; pointer-events: auto; }
  .hero-slide .portrait:has(.media-slot:not(.is-artwork)) { opacity: 1; }
  .hero-slide .orbit-coordinate { display: block; font-size: 10px; }
  .hero-slide .orbit-coordinate-top { top: 1%; }
  .hero-slide .orbit-coordinate-bottom { display: none; }
  .display-title { font-size: clamp(50px, 14.7vw, 76px); line-height: 1.18; }
  .hero-slide .display-title { margin-right: -10px; }
  .hero-slide[data-media="bp.hero"] .display-title { font-size: clamp(37px, 11vw, 59px); line-height: 1.25; }
  .eyebrow { font-size: 12px; gap: 9px; margin-bottom: 20px; letter-spacing: .12em; }
  .eyebrow::before { width: 18px; }
  .section-heading { font-size: clamp(35px, 9.6vw, 52px); line-height: 1.35; }
  .lead, .hero-slide .lead { margin-top: 20px; font-size: 20px; line-height: 1.95; }
  .hero-actions { margin-top: 25px; gap: 6px; }
  .hero-actions button, .hero-actions a { min-height: 43px; padding: 0 13px; font-size: 14px; gap: 12px; }
  .meta-row { margin-top: 26px; font-size: 14px; gap: 8px 14px; letter-spacing: .04em; }
  .meta-row > span + span { padding-left: 12px; }
  [data-media="bp.hero"] .meta-row > span + span { padding-left: 0; border: 0; }
  .content-head { margin-bottom: 30px; }
  .content-head.center { align-items: flex-start; text-align: left; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 24px 18px; }
  .stat:nth-child(odd) { padding-left: 0; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stat > strong { font-size: 42px; }
  .chip-list { margin-top: 24px; gap: 8px; }
  .chip { padding: 7px 10px; font-size: 14px; }
  .timeline-item { padding-left: 33px; }
  .timeline::before { left: 7px; }
  .timeline-item::before { left: 4px; }
  .timeline-copy h3 { font-size: 20px; }
  .timeline-copy p { font-size: 15px; }
  .two-column, .project-layout, .model-grid, .funding-layout { gap: 28px; }
  .feature-media { aspect-ratio: 1.25; }
  .feature-media .orbit-art { max-height: 300px; }
  .project-item { padding-top: 18px; padding-bottom: 18px; gap: 10px; }
  .project-item strong { font-size: 17px; }
  .project-item small { font-size: 14px; }
  .card-grid { grid-template-columns: 1fr; gap: 12px; }
  .glass-card { min-height: 0; padding: 23px; }
  .glass-card h3 { margin: 17px 0 10px; font-size: 24px; }
  .glass-card p { font-size: 16px; }
  .solution-item h3 { font-size: 18px; }
  .solution-item p { font-size: 15px; }
  .market-visual { padding: 20px; }
  .chart-heading { font-size: 11px; gap: 10px; }
  .chart-plot { height: 170px; gap: 14px; padding-left: 5px; padding-right: 5px; }
  .revenue-row { gap: 10px; }
  .revenue-row > span { font-size: 15px; }
  .revenue-row strong { font-size: 16px; }
  .roadmap { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 0; margin-top: 32px; }
  .roadmap-step { padding: 22px 12px 0 0; }
  .roadmap-step p { font-size: 14px; }
  .funding-amount { font-size: 70px; }
  .allocation { gap: 25px; }
  .contact-card { padding: 36px 18px; }
  .contact-card .section-heading { font-size: clamp(23px, 6.7vw, 34px); }
  .contact-card .lead { font-size: 15px; }
  .contact-links { margin-top: 27px; gap: 9px; }
  .contact-links a { width: 100%; min-width: 0; padding: 13px; font-size: 14px; }
  .page-dots { right: 13px; gap: 3px; }
  .page-dot { width: 25px; height: 29px; }
  .dot-number { font-size: 11px; margin-right: 8px; }
  .view-label { left: 26px; bottom: 20px; font-size: 12px; padding: 6px 9px; margin-left: -9px; border-radius: 4px; background: rgba(6, 10, 20, .78); backdrop-filter: blur(8px); }
  .view-label i { width: 25px; }
  .view-label .page-caption { margin-left: 5px; padding-left: 12px; font-size: 13px; }
  .scroll-cue { display: none; }
  .audio-player { width: calc(100% - 28px); bottom: 12px; }
  .toast { top: 85px; font-size: 14px; }
  .editor { max-height: 43%; padding: 21px; }
  .edit-mode .hero-slide .portrait-wrap { margin: 12px auto; }
  .hero-slide[data-media="meeting.overview"] .display-title { font-size: clamp(48px, 13.5vw, 68px); }
  .meeting-slide:not(.hero-slide) .section-heading { font-size: clamp(32px, 9vw, 46px); }
  .meeting-slide:not(.hero-slide) .lead { font-size: 16px; }
  .report-project-name { margin-top: 22px; font-size: 25px; }
  .report-snapshot { padding: 22px; }
  .report-snapshot-head { font-size: 11px; }
  .report-gauge { width: 188px; }
  .report-gauge strong { font-size: 42px; }
  .report-work-card { min-height: 0; padding: 23px; }
  .report-task-progress { margin-top: 0; }
  .report-summary { grid-template-columns: 1fr; gap: 8px; padding: 17px 18px; }
  .report-summary p { font-size: 15px; }
  .feature-media.report-results-media { aspect-ratio: 1.15; }
  .report-media-empty { padding: 18px; }
  .report-media-empty p { font-size: 13px; }
  .report-metrics th, .report-metrics td { padding: 15px 8px; font-size: 14px; }
  .report-issue { padding: 23px; }
  .report-issue dl > div { grid-template-columns: 1fr; gap: 6px; }
  .report-issue dd { font-size: 16px; }
  .report-plan, .report-plan tbody { display: block; }
  .report-plan thead { display: none; }
  .report-plan tr { display: grid; gap: 15px; margin-bottom: 12px; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: rgba(15, 25, 42, .42); }
  .report-plan tbody th, .report-plan tbody td { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 0; border: 0; font-size: 15px; }
  .report-plan [data-label]::before { content: attr(data-label); color: var(--accent); font-size: 13px; }
}
@media (max-height: 740px) and (min-width: 801px) {
  .slide { padding-top: 114px; padding-bottom: 76px; }
  .display-title { font-size: 72px; }
  .hero-slide[data-media="bp.hero"] .display-title { font-size: 56px; }
  .section-heading { font-size: 48px; }
  .hero-slide .portrait-wrap { width: 100%; margin: 0; }
  .hero-slide .lead { margin-top: 20px; }
  .hero-actions { margin-top: 26px; }
  .meta-row { margin-top: 30px; }
  .content-head { margin-bottom: 28px; }
  .stat { padding-top: 21px; padding-bottom: 21px; }
  .stat > strong { font-size: 44px; }
  .roadmap { margin-top: 30px; }
  .timeline-item { padding-top: 15px; padding-bottom: 15px; }
  .glass-card { min-height: 210px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

/* Scale-X report pages use the existing palette, glass panels and type system. */
.scale-report-slide .scale-content-head { margin-bottom: 20px; }
.scale-report-slide .scale-content-head .section-heading { font-size: clamp(38px, 3.9vw, 56px); }
.scale-report-slide .scale-content-head .lead { max-width: 100%; margin-top: 12px; font-size: 22px; line-height: 1.65; }
.scale-report-content { display: grid; gap: 20px; min-width: 0; }
.scale-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.scale-card.glass-card { min-height: 0; padding: 23px; }
.scale-report-slide .scale-card .eyebrow { margin-bottom: 0; font-size: 16px; }
.scale-card.glass-card h3 { margin: 12px 0 8px; font-size: 32px; line-height: 1.4; }
.scale-card.glass-card p { font-size: 20px; line-height: 1.8; }
.scale-media-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; min-width: 0; }
.scale-media-count-1 { grid-template-columns: minmax(0, 1fr); }
.scale-media-count-3 { grid-template-columns: 1fr 1fr 1.6fr; }
.scale-media { min-width: 0; margin: 0; }
.scale-media-frame { display: grid; place-items: center; overflow: hidden; height: clamp(200px, 30vh, 300px); border: 1px solid var(--line); border-radius: 12px; background: rgba(5, 10, 22, .75); }
.scale-media-frame img, .scale-media-frame video { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.scale-media figcaption { margin-top: 10px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.scale-split { grid-template-columns: .75fr 1.25fr; align-items: stretch; }
.scale-split .scale-cards { grid-template-columns: 1fr; }
.scale-split .scale-media-frame { height: 100%; min-height: 260px; max-height: 370px; }
.scale-split .scale-media { display: flex; flex-direction: column; }
.scale-split .scale-media-frame { flex: 1; }
.scale-section-board .scale-media-frame { height: 210px; }
.scale-section-rlSparse .scale-media-frame { height: 184px; }
.scale-comparison.report-metrics th, .scale-comparison.report-metrics td { padding: 10px 12px; font-size: 19px; line-height: 1.65; }
.scale-comparison.report-metrics th:first-child { width: 32%; }
.scale-note.report-summary { margin-top: 18px; padding: 14px 20px; }
.scale-note.report-summary p { font-size: 20px; line-height: 1.8; }
.scale-timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.scale-milestone.glass-card { min-height: 250px; padding: 25px; }
.scale-date { display: block; color: var(--accent); font: 400 42px/1.4 var(--mono); }
.scale-milestone.glass-card h3 { margin-top: 28px; font-size: 27px; line-height: 1.5; }
.scale-milestone.glass-card p { font-size: 20px; }
.scale-end-actions.hero-actions { margin-top: 22px; }
.scale-uploaded { min-width: 0; height: 320px; }
.scale-uploaded .media-slot { height: 100%; }
.scale-uploaded img, .scale-uploaded video { object-fit: contain; }
.scale-section-omni .scale-media-frame, .scale-section-transform .scale-media-frame,
.scale-section-communication .scale-media-frame { height: clamp(280px, 43vh, 450px); }
@media (min-width: 1001px) and (min-height: 740px) {
  .scale-report-slide { padding-top: 104px; padding-bottom: 64px; }
}
@media (max-width: 1000px) {
  .scale-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scale-split { grid-template-columns: 1fr; }
  .scale-split .scale-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scale-split .scale-media-frame { height: 300px; }
}
@media (max-width: 600px) {
  .scale-report-slide .scale-content-head .section-heading { font-size: 36px; }
  .scale-report-slide .scale-content-head .lead { font-size: 20px; }
  .scale-report-slide .scale-content-head .eyebrow { font-size: 12px; letter-spacing: .08em; line-height: 1.8; }
  .scale-cards, .scale-split .scale-cards, .scale-media-grid, .scale-timeline { grid-template-columns: 1fr; }
  .scale-media-frame, .scale-split .scale-media-frame, .scale-section-board .scale-media-frame,
  .scale-section-rlSparse .scale-media-frame { height: 230px; min-height: 0; }
  .scale-section-omni .scale-media-frame, .scale-section-transform .scale-media-frame,
  .scale-section-communication .scale-media-frame { height: 280px; }
  .scale-card.glass-card, .scale-milestone.glass-card { padding: 21px; min-height: 0; }
  .scale-milestone.glass-card h3 { margin-top: 18px; }
  .scale-comparison.report-metrics th, .scale-comparison.report-metrics td { padding: 10px 7px; font-size: 17px; }
  .scale-note.report-summary { padding: 16px; }
}
