:root{color-scheme:dark;--bg:#0b1015;--ink:#e6edf3;--muted:#9aafbf;--line:#2a3a47;--mono:'SFMono-Regular',Consolas,'Liberation Mono',monospace}*{box-sizing:border-box}html{scroll-behavior:auto}body{margin:0;background:var(--bg);color:var(--ink);font:17px/1.55 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}a{color:inherit;text-underline-offset:4px}button{font:12px var(--mono);color:var(--ink);background:transparent;border:1px solid #455565;padding:10px 12px;cursor:pointer}button:hover{background:#1d2934}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid #a2d1f4;outline-offset:4px}.skip{position:absolute;top:-100px;left:20px;z-index:20;background:var(--bg)}.skip:focus{top:8px}header{height:58px;position:sticky;top:0;z-index:10;display:flex;align-items:center;gap:24px;padding:0 max(22px,calc((100vw - 1120px)/2));background:#0b1015f5;border-bottom:1px solid var(--line)}.brand{font:21px var(--mono);text-decoration:none;letter-spacing:-2px}.eyebrow,.counter{font:12px var(--mono);letter-spacing:.09em;color:var(--muted)}.counter{margin-left:auto}.scene{height:225svh;position:relative;scroll-margin-top:58px}.scene.revenue{height:300svh}.scene.video{height:250svh}.sticky{position:sticky;top:58px;height:calc(100svh - 58px);min-height:650px;display:flex;flex-direction:column;padding:28px max(22px,calc((100vw - 1120px)/2)) 20px;background:linear-gradient(90deg,#6887a107 1px,transparent 1px),linear-gradient(#6887a107 1px,transparent 1px),var(--bg);background-size:32px 32px}.passage{min-height:108px;max-width:1000px;margin:0 auto 12px;width:100%;display:flex;flex-direction:column;justify-content:center}h2{font-size:clamp(23px,2.45vw,34px);line-height:1.24;font-weight:450;letter-spacing:-.025em;margin:0}h2[hidden]{display:none}.all-mode .passage h2+h2:not([hidden]){margin-top:12px}figure{margin:0;display:flex;flex-direction:column;flex:1;min-height:0}.figure-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:8px 0 12px;border-top:1px solid var(--line)}h3{font:14px/1.3 var(--mono);font-weight:400;margin:0;color:var(--muted)}.readout{font:12px/1.3 var(--mono);white-space:nowrap;color:var(--ink)}.plot-wrap{flex:1;min-height:260px;position:relative}svg{height:100%;width:100%;display:block;overflow:visible}svg text{font:12px var(--mono);fill:var(--muted)}svg .axis-title{font-size:11px;letter-spacing:.03em}svg .value{font-size:12px;fill:var(--ink);paint-order:stroke;stroke:var(--bg);stroke-width:4px}svg .series-label{font-size:12px;fill:var(--ink);paint-order:stroke;stroke:var(--bg);stroke-width:4px}.legend{display:flex;flex-wrap:wrap;gap:6px 20px;padding:8px 0;color:var(--muted);font:12px/1.35 var(--mono)}.legend span{display:inline-flex;align-items:center;gap:7px}.legend i{width:16px;height:0;border-top:2px solid var(--color)}figcaption{font:11px/1.4 var(--mono);color:#8b9fae;padding-top:8px;border-top:1px solid var(--line)}figcaption a{text-decoration:none}figcaption a:hover{text-decoration:underline}.track{height:2px;margin-top:12px;background:#21303c;flex-shrink:0}.track span{display:block;height:100%;background:#87b8d8;width:0}.video-frame{flex:1;min-height:0;display:flex;align-items:center;justify-content:center}video{max-height:100%;width:100%;background:#05080b;object-fit:contain}.chips .legend{gap:4px 14px;font-size:11px}.chips .legend span{min-width:116px}.chips .legend i{width:12px;border-top-width:6px}footer{max-width:850px;margin:0 auto;padding:45px 24px 75px;font:13px/1.6 var(--mono);color:var(--muted)}.all-mode .scene{height:auto}.all-mode .sticky{position:relative;top:0;height:780px;min-height:780px}.all-mode .revenue .sticky{height:850px}.all-mode .track{display:none}.all-mode .scene{scroll-margin-top:58px}
@media(max-width:760px){header{padding:0 16px;gap:12px;height:52px}.brand{font-size:19px}.eyebrow,.counter{font-size:10px}.counter{letter-spacing:0}button{font-size:11px;padding:9px}.scene{height:220svh;scroll-margin-top:52px}.scene.revenue{height:280svh}.sticky{top:52px;height:calc(100svh - 52px);min-height:610px;padding:18px 16px 16px}.passage{min-height:125px;margin-bottom:8px;justify-content:flex-start}h2{font-size:23px;line-height:1.23}.figure-heading{padding:9px 0;align-items:flex-start}h3{font-size:12px}.readout{font-size:11px}.plot-wrap{min-height:260px}svg text,svg .value,svg .series-label{font-size:11px}svg .axis-title{font-size:10px}.legend{font-size:10px;gap:6px 13px;padding:8px 0}.chips .legend{font-size:9px;gap:4px 8px}.chips .legend span{min-width:94px}.chips .legend i{width:9px}figcaption{font-size:10px}.track{margin-top:8px}.all-mode .sticky{height:820px;min-height:820px;top:0}.all-mode .revenue .sticky{height:940px}.all-mode .passage{min-height:120px}.all-mode .revenue .passage{min-height:235px}}
@media(max-height:700px){.sticky{min-height:550px;padding-top:12px;padding-bottom:10px}.passage{min-height:95px}h2{font-size:22px}.legend{padding:5px 0}.chips .legend{font-size:9px;gap:3px 10px}.plot-wrap{min-height:220px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
@media print{header,button,.track{display:none}.scene{height:auto!important;break-inside:avoid}.sticky{position:relative;top:0;height:700px}.passage{min-height:0;margin-bottom:25px}}

.meme-frame{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden}.meme-frame img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;border:1px solid var(--line)}

/* Narrative cards float independently over the pinned chart. */
.sticky{padding-left:max(24px,calc((100vw - 1440px)/2));padding-right:max(24px,calc((100vw - 1440px)/2));overflow:clip}
.passage{position:absolute;z-index:3;left:max(24px,calc((100vw - 1440px)/2));top:50%;width:clamp(300px,30vw,430px);min-height:0;max-height:70%;overflow:auto;margin:0;padding:28px;background:#101820f7;border:1px solid #526777;border-radius:4px;box-shadow:0 12px 40px #0006;transform:translateY(calc(-50% + var(--card-shift,12svh)));opacity:var(--card-opacity,1);justify-content:flex-start}
.passage h2{font-size:clamp(20px,1.65vw,24px);line-height:1.4;letter-spacing:-.015em}
.sticky>figure{width:100%;min-width:0}
.all-mode .passage{position:relative;left:auto;top:auto;transform:none;opacity:1;width:min(100%,420px);max-width:none;max-height:none;min-height:0;margin:0 0 22px;flex-shrink:0}
.all-mode .sticky{overflow:visible;height:auto;min-height:780px}
.all-mode .plot-wrap{height:520px;flex:auto}
.all-mode .video-frame,.all-mode .meme-frame{min-height:300px;max-height:560px}
@media(max-width:760px){.sticky{padding-left:16px;padding-right:16px}.passage{left:16px;width:min(82vw,330px);padding:20px;max-height:65%}.passage h2{font-size:18px;line-height:1.4}.all-mode .passage,.all-mode .revenue .passage{min-height:0}.all-mode .sticky,.all-mode .revenue .sticky{height:auto;min-height:820px}}
@media print{.passage{position:relative;left:auto;top:auto;transform:none;opacity:1;max-height:none;margin-bottom:20px}.sticky{overflow:visible}}

/* Saturated series and scroll-synchronized legend entries. */
.legend span{color:var(--color,var(--ink));transition:opacity .16s ease,transform .16s ease}
.legend span.pending{visibility:hidden;opacity:0;transform:translateY(5px)}
.legend i{filter:none}
.track span{background:#fff}
@media(prefers-reduced-motion:reduce){.legend span{transition:none}}

/* Section headings echo the chart palette. */
.scene{--heading-color:#35e7ff}
.scene.investment,.scene.revenue{--heading-color:#ffe84a}
.scene.construction,.scene.margin,.scene.marketcap{--heading-color:#63ff91}
.scene.video,.scene.profit{--heading-color:#b985ff}
.scene.eras,.scene.meme{--heading-color:#ff70de}
.scene .passage h2{color:#fff}.scene .figure-heading h3{color:var(--heading-color)}

.scene.eras{height:850svh}.all-mode .scene.eras{height:auto}

/* The 100 GW opportunity. */
.scene.capacity{height:500svh}.scene.panorama{height:480svh}.scene.centers{height:500svh}
.scene.chapter{height:180svh}.scene.statement{height:180svh}
.scene.chapter .sticky,.scene.statement .sticky{justify-content:center;background:#070b10}
.scene.chapter .passage,.scene.statement .passage{position:relative;left:auto;top:auto;transform:none;opacity:1;width:100%;max-width:1100px;max-height:none;min-height:0;margin:auto;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible}
.scene.chapter .passage h2{font-size:clamp(48px,8vw,112px);line-height:1.02;letter-spacing:-.055em;max-width:1000px}
.scene.statement .passage h2{font-size:clamp(28px,4.5vw,60px);line-height:1.15;max-width:980px}
.scene.chapter .track,.scene.statement .track{display:none}
.photo-frame{flex:1;min-height:0;overflow:hidden;position:relative;background:#070b10}
.photo-frame img{display:block;width:100%;height:100%;object-fit:cover}
.panorama .photo-frame img{width:182%;max-width:none;will-change:transform}
.panorama .sticky,.city .sticky{padding-top:16px}
.panorama .photo-frame:after,.city .photo-frame:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#07101a44,transparent 60%);pointer-events:none}
.all-mode .scene.capacity,.all-mode .scene.panorama,.all-mode .scene.centers,.all-mode .scene.chapter,.all-mode .scene.statement{height:auto}
.all-mode .photo-frame{height:520px;flex:auto}
.all-mode .capacity .passage,.all-mode .panorama .passage{max-width:620px}
.all-mode .scene.chapter .sticky,.all-mode .scene.statement .sticky{min-height:400px;height:auto;padding-top:90px;padding-bottom:90px}
@media(max-width:760px){.photo-frame{min-height:320px}.all-mode .photo-frame{height:390px}.scene.chapter .passage h2{font-size:48px}.scene.statement .passage h2{font-size:30px}}

/* Text interludes occupy the main page, with room for long passages. */
.scene.share,.scene.units{height:400svh}
.scene.fulltext{height:auto;min-height:100svh;background:#070b10}
.scene.fulltext .sticky{position:relative;height:auto;min-height:100svh;display:flex;justify-content:center;padding:12svh clamp(24px,7vw,110px);background:#070b10}
.scene.fulltext .passage{position:relative;left:auto;top:auto;transform:none;opacity:1;width:100%;max-width:1050px;max-height:none;min-height:0;margin:auto;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible;color:#fff}
.scene.fulltext .passage p{font-size:clamp(23px,2.5vw,36px);line-height:1.45;letter-spacing:-.02em;margin:0 0 1em;color:#fff}
.scene.fulltext .passage p:last-child{margin-bottom:0}
.scene.fulltext .passage a{color:inherit;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.15em}
.scene.fulltext .track{display:none}
.all-mode .scene.share,.all-mode .scene.units{height:auto}

.scene.fulltext .sticky{top:0;overflow:visible}

/* Center white chart titles independently of the progress readout. */
.scene .figure-heading{position:relative;display:block;text-align:center;min-height:38px}
.scene .figure-heading h3{color:#fff;text-align:center;max-width:65%;margin:0 auto}
.scene .figure-heading .readout{position:absolute;right:0;top:8px}
@media(max-width:760px){.scene .figure-heading{display:flex;flex-direction:column;align-items:center;gap:5px}.scene .figure-heading h3{max-width:100%}.scene .figure-heading .readout{position:static;align-self:center}}

/* Omit per-slide progress readouts. */
.scene .figure-heading .readout{display:none}
.scene .figure-heading h3{max-width:100%}

/* Each floating passage enters at the bottom and exits above the viewport. */
body:not(.all-mode) .scene:not(.chapter):not(.statement):not(.fulltext) .passage{top:0;transform:translateY(var(--card-shift,100svh))}

/* Breathing room between consecutive slides, outside the pinned scroll area. */
.scene + .scene{margin-top:clamp(64px,12svh,140px)}
@media print{.scene + .scene{margin-top:32px}}

/* Keep floating narrative cards inside the plot, clear of y-axis labels. */
.scene{--card-gutter:max(24px,calc((100vw - 1440px)/2));--axis-inset:96px}
.scene.revenue{--axis-inset:126px}
.scene.margin,.scene.profit{--axis-inset:146px}
.scene.centers{--axis-inset:266px}
body:not(.all-mode) .scene:not(.chapter):not(.statement):not(.fulltext) .passage{left:calc(var(--card-gutter) + var(--axis-inset));width:min(clamp(300px,30vw,430px),calc(100% - var(--card-gutter) - var(--card-gutter) - var(--axis-inset)))}
@media(max-width:760px){.scene{--card-gutter:16px;--axis-inset:80px}.scene.revenue{--axis-inset:94px}.scene.margin,.scene.profit{--axis-inset:98px}.scene.centers{--axis-inset:152px}body:not(.all-mode) .scene:not(.chapter):not(.statement):not(.fulltext) .passage{width:min(330px,calc(100% - 32px - var(--axis-inset)))}}
@media(min-width:632px) and (max-width:760px){.scene{--axis-inset:96px}.scene.revenue{--axis-inset:126px}.scene.margin,.scene.profit{--axis-inset:146px}.scene.centers{--axis-inset:266px}}

/* Align legend entries with the plot’s left axis. */
.scene.share{--axis-inset:58px}
.scene .legend{padding-left:calc(var(--axis-inset,96px) - 16px)}

.panorama .photo-frame img{position:absolute;left:0;top:50%;object-fit:cover;max-width:none;max-height:none}
.all-mode .panorama .photo-frame img{position:static;object-fit:contain}

.panorama-strip{position:absolute;inset:0 auto 0 0;display:flex;height:100%;will-change:transform}
.panorama .photo-frame .panorama-strip img{position:static;top:auto;left:auto;height:100%;flex:none;object-fit:cover;transform:none;max-width:none}
.all-mode .panorama-strip{position:relative;width:100%;height:100%}
.all-mode .panorama .photo-frame .panorama-strip img{object-fit:contain}
.scene.panorama{height:650svh}.all-mode .scene.panorama{height:auto}

/* Narrative text leads; keep chart titles only as accessible SVG descriptions. */
.scene .figure-heading{display:none}

.scene.sidevideo{height:550svh}
.sidevideo .sticky>figure{width:50%;margin-left:auto;height:100%;flex:none;min-height:0}
.side-video-frame{position:relative;flex:1;min-height:0;display:flex;justify-content:center;overflow:hidden}
.side-video-frame video{width:100%;height:100%;object-fit:contain}
.video-toggle{position:absolute;bottom:12px;right:12px;background:#0b1015dd;border-radius:4px}
.sidevideo figcaption{text-align:center;margin-top:8px}
body:not(.all-mode) .scene.sidevideo .passage{left:var(--card-gutter);width:min(360px,42%)}
.all-mode .scene.sidevideo{height:auto}.all-mode .sidevideo .sticky>figure{height:650px}
@media(max-width:760px){body:not(.all-mode) .scene.sidevideo .passage{width:44%;padding:14px}.sidevideo .passage h2{font-size:17px}.sidevideo .sticky>figure{width:52%}.all-mode .sidevideo .sticky>figure{width:100%;height:550px}}

/* One continuous black canvas across slides and the gaps between them. */
:root{--bg:#070b10}
html,body,#article,.scene{background-color:var(--bg)}

.share .legend{gap:4px 14px;font-size:11px}.share .legend span{min-width:116px}.share .legend i{width:12px;border-top-width:6px}
@media(max-width:760px){.share .legend{font-size:9px;gap:4px 8px}.share .legend span{min-width:94px}.share .legend i{width:9px}}

.scene.fulltext.reading .sticky{justify-content:flex-start;padding:clamp(48px,8svh,90px) 24px}
.scene.fulltext.reading .passage{max-width:700px;margin:0 auto}
.scene.fulltext.reading .passage h2{font-size:clamp(28px,3vw,40px);font-weight:700;line-height:1.2;letter-spacing:-.025em;margin:0 0 32px;color:#fff}
.scene.fulltext.reading .passage p,.scene.fulltext.reading .passage .chip-stack{font-size:clamp(18px,1.5vw,21px);font-weight:400;line-height:1.6;letter-spacing:normal;margin:0 0 1.3em}

.scene.fulltext.reading .chip-stack{padding-left:1.4em}
.scene.fulltext.reading .chip-stack li{margin:0 0 .4em}

.benchmark-scroll{height:230svh;position:relative;width:min(1440px,calc(100vw - 48px));margin:40px 0 64px;margin-left:calc(50% - min(720px,calc(50vw - 24px)))}
.scene.fulltext.reading .benchmark-figure{position:sticky;top:clamp(58px,7svh,82px);display:block;width:100%;height:calc(100svh - 82px);margin:0;padding:0}
.benchmark-figure svg{display:block;width:100%;height:calc(100% - 36px);overflow:visible;font-family:monospace;font-size:12px}
.china-gap .gap-value{fill:#fff}
.china-gap .chart-scroll-box{position:absolute;z-index:3;top:0;left:24px;width:clamp(300px,30vw,430px);padding:28px;background:#101820f7;border:1px solid #526777;border-radius:4px;box-shadow:0 12px 40px #0006;transform:translateY(var(--box-shift,100svh))}
.scene.fulltext.reading .china-gap .chart-scroll-box p{margin:0;font-size:clamp(22px,1.62vw,26px);line-height:1.4}
@media(max-width:760px){.china-gap .chart-scroll-box{left:16px;width:min(82vw,330px);padding:20px}.scene.fulltext.reading .china-gap .chart-scroll-box p{font-size:20px;line-height:1.5}}
.all-mode .china-gap .chart-scroll-box{position:relative;left:auto;width:min(100%,430px);margin:0 0 24px;transform:none}
@media(prefers-reduced-motion:reduce){.china-gap .chart-scroll-box{position:relative;left:auto;width:min(100%,430px);margin:0 0 24px;transform:none}}
.benchmark-figure figcaption{font-size:13px;padding:12px 0 0 64px}
.all-mode .benchmark-scroll{height:auto}
.all-mode .scene.fulltext.reading .benchmark-figure{position:relative;top:0}
@media(prefers-reduced-motion:reduce){.benchmark-scroll{height:auto}.scene.fulltext.reading .benchmark-figure{position:relative;top:0}}

.tweet-inline{max-width:550px;margin:32px auto}.tweet-inline blockquote{margin:0;padding:0;border:0;border-radius:0;background:transparent}.china-gap{height:300svh}

.chapter-divider{border:0;border-top:1px solid #334351;max-width:700px;margin:100px auto}
.scene.roi{height:850svh}
.scene.building-return{height:340svh}
.scene.building-return .sticky{background:#070b10;position:sticky;top:58px;height:calc(100svh - 58px);min-height:0;display:flex;flex-direction:column;justify-content:flex-start;padding:24px}
.scene.building-return .passage p{font-size:clamp(20px,2vw,28px)}
.building-return ai-building-intro{display:block;min-height:0;width:min(100%,calc((100svh - 230px)*1.5));margin:auto}
.all-mode .scene.building-return{height:auto}.all-mode .scene.building-return .sticky{position:relative;top:0;height:auto;min-height:100svh}
.article-signoff{max-width:700px;margin:0 auto;padding:clamp(72px,12svh,130px) 24px clamp(54px,9svh,96px);color:#fff}
.article-signoff p{margin:0 0 .45em;font-size:17px;line-height:1.55;font-weight:400;letter-spacing:0}
.article-signoff p:first-child{margin-bottom:1.25em}
.article-signoff a{text-decoration-thickness:1px;text-underline-offset:.18em}
.closing-signoff p:first-child{margin-bottom:.45em}
.closing-signoff>p:last-of-type{margin-top:1.25em}
.closing-signoff .signoff-subscribe{margin-top:2rem;text-align:center}
.closing-signoff .signoff-subscribe p{margin:0 0 1rem}
.signoff-subscribe iframe{display:block;width:min(100%,480px);height:320px;margin:0 auto;border:1px solid #eee;background:white}
.series-footer-nav{display:flex;flex-wrap:wrap;justify-content:center;gap:16px 30px;line-height:1.7}

/* Center mobile scroll cards while preserving their vertical scroll motion. */
@media(max-width:760px){
 body:not(.all-mode) .scene:not(.chapter):not(.statement):not(.fulltext) .passage{
  left:50%;right:auto;width:min(300px,calc(100% - 32px));
  transform:translate(-50%,var(--card-shift,100svh));
 }
}

/* Give mobile time-series plots nearly the full screen width. */
@media(max-width:760px){
 .scene:not(.fulltext):not(.chapter):not(.statement)>.sticky{padding-left:4px;padding-right:4px}
 .scene svg .axis-tick{font-size:8px}
 .scene svg .axis-title{font-size:8px;letter-spacing:0}
 .scene.investment,.scene.construction,.scene.chips,.scene.eras,.scene.marketcap,.scene.capacity,.scene.permits,.scene.electricity,.scene.roi{--axis-inset:44px}
 .scene.share{--axis-inset:40px}
 .scene.fulltext.reading .benchmark-figure{width:calc(100vw - 8px);margin-left:calc(50% - 50vw + 4px)}
}

/* Stargate fills the viewport as a non-interactive moving background. */
.scene.video>.sticky{padding:0!important;min-height:0}
.scene.video .sticky>figure{position:absolute;inset:0;width:100%;height:100%}
.scene.video .video-frame{position:absolute;inset:0;display:block;overflow:hidden}
.scene.video .video-frame video{width:100%;height:100%;max-height:none;object-fit:cover;object-position:center;pointer-events:none}
.scene.video video::-webkit-media-controls{display:none!important}
.scene.video figcaption{position:absolute;bottom:12px;right:16px;border:0;padding:4px 8px;background:#070b1099}
.scene.video .track{position:absolute;bottom:0;left:0;right:0;margin:0;z-index:2}

/* Use a consistent weight and spacing for narrative passages. */
.scene:not(.chapter):not(.statement):not(.fulltext) .passage h2,
.scene.fulltext.reading .passage p,
.scene.building-return .passage p{
 font-weight:400;letter-spacing:0;
}

.scene.chart-only .passage{display:none}

.side-video-frame video{pointer-events:none}
@media(max-width:760px){
 .scene.sidevideo>.sticky{padding:0!important;min-height:0}
 .scene.sidevideo .sticky>figure{position:absolute;inset:0;width:100%;height:100%;margin:0}
 .sidevideo .side-video-frame{position:absolute;inset:0;display:block}
 .sidevideo .side-video-frame video{width:100%;height:100%;max-height:none;object-fit:cover}
 .sidevideo figcaption{position:absolute;bottom:12px;right:16px;margin:0;padding:4px 8px;border:0;background:#070b1099}
 .sidevideo .track{position:absolute;bottom:0;left:0;right:0;margin:0;z-index:2}
}

.scene.sidevideo{height:700svh}.all-mode .scene.sidevideo{height:auto}

.scene.capacity[data-capacity-comparison]{height:700svh}.all-mode .scene.capacity[data-capacity-comparison]{height:auto}

/* Match infrastructure legend markers to the chart’s vertical bars. */
.roi .legend span:nth-child(odd) i{width:6px;height:16px;border:0;background:var(--color)}

/* Keep scroll progress visible through the closing building sequence. */
.scene.building-return .track{display:block;position:absolute;bottom:0;left:0;right:0;height:3px;margin:0;z-index:2}
.all-mode .scene.building-return .track{display:none}
@media print{.scene.building-return .track{display:none}}

@media(max-width:760px){
 .scene.building-return .sticky{top:52px;height:calc(100svh - 52px);padding:0}
 .building-return ai-building-intro{position:absolute;inset:0;width:100%;height:100%;margin:0}
}

/* Keep the chart viewport stable while the navigation slides out of view. */
:root{--header-height:58px;--header-visible-height:0px}
body:not(.all-mode) .scene:not(.fulltext)>.sticky,
body:not(.all-mode) .scene.building-return>.sticky{top:0;height:100svh}
.scene{scroll-margin-top:0}
/* The progress line follows the top edge, below navigation when it is visible. */
.scene .sticky>.track{position:absolute;top:0;bottom:auto;left:0;right:0;height:3px;margin:0;z-index:6;transform:translateY(var(--header-visible-height));transition:transform .18s ease}
@media(max-width:760px){:root{--header-height:52px}}
@media(prefers-reduced-motion:reduce){header,.scene .sticky>.track{transition:none}}
@media print{body:not(.all-mode) .scene:not(.fulltext)>.sticky,body:not(.all-mode) .scene.building-return>.sticky{position:relative;top:0;height:700px}}

header .brand{font:500 18px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:normal}

.scene.marketcap{height:450svh}.all-mode .scene.marketcap{height:auto}

/* Center standalone headline slides in both directions. */
.scene.chapter .sticky,.scene.statement .sticky{padding-block:24px;justify-content:center}
.scene.chapter .passage,.scene.statement .passage{align-items:center;justify-content:center;text-align:center;margin:auto}
.scene.chapter .passage h2,.scene.statement .passage h2{margin-inline:auto;text-align:center}

/* Compact neural-network demonstrations within the reading column. */
.network-demo{width:100%;margin:0 0 32px}
.network-demo svg{display:block;width:100%;height:auto;overflow:visible}
.network-demo svg text{font-family:inherit;fill:#e6edf3;stroke:none;paint-order:normal}

@media(max-width:760px){.network-demo svg text{font-size:16px!important}}

/* Clip the native X iframe so its white canvas cannot peek around the card. */
.tweet-inline .twitter-tweet-rendered{margin:0!important;border-radius:16px;overflow:hidden;background:#15202b}
.tweet-inline iframe{display:block;border:0;border-radius:16px;clip-path:inset(0 round 16px);background:#15202b}

.scene.roi{height:1190svh}.all-mode .scene.roi{height:auto}

/* Chart images can be previewed, saved, or shared without leaving the article. */
.scene figure.shareable-chart{position:relative}
.scene .benchmark-figure.shareable-chart{position:sticky}
.chart-share-button{font:22px/1 sans-serif;position:absolute;right:8px;top:8px;z-index:5;width:36px;height:36px;display:grid;place-items:center;padding:8px;border:1px solid #526777;border-radius:50%;background:#101820e8;color:#fff;cursor:pointer}
.chart-share-button svg{width:18px;height:18px;display:block;overflow:visible}
.chart-share-button:hover{background:#263640}
.chart-share-button:disabled{opacity:.5;cursor:wait}
.chart-share-dialog{width:min(960px,calc(100vw - 32px));max-height:90svh;padding:24px;border:1px solid #526777;border-radius:10px;background:#0b1015;color:#fff;overflow:auto}
.chart-share-dialog::backdrop{background:#000b}
.chart-share-preview{display:block;width:100%;height:auto;max-height:65svh;object-fit:contain;margin:16px 0}
.chart-share-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.chart-share-actions button,.chart-share-actions a,.chart-share-close{font:15px/1.3 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#fff;border:1px solid #526777;border-radius:5px;padding:10px 14px;background:#15202b;text-decoration:none;cursor:pointer}
.chart-share-close{float:right}
.chart-share-status{font:15px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#9aafbf}
@media print{.chart-share-button,.chart-share-dialog{display:none!important}}
.chart-share-preview[hidden]{display:none}

/* Opening lede: the day counter and what the piece covers. */
.lede{background:#070b10;padding:clamp(72px,14svh,150px) clamp(24px,7vw,110px) clamp(64px,12svh,130px)}
.lede-inner{max-width:700px;margin:0 auto;color:#fff}
.lede-inner p{font-size:clamp(18px,1.5vw,21px);font-weight:400;line-height:1.6;letter-spacing:normal;margin:0 0 1.3em}
.lede-inner strong{font-weight:500;color:inherit}
.lede-note{font-style:italic;color:var(--muted);margin:0 0 .35em!important}
.lede-note a{color:inherit;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.15em}
.lede-byline{font-style:italic;color:var(--muted);margin:0 0 1em!important}
.lede-rule-top{margin:0 0 1.7em!important}
.lede-byline a{color:inherit;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.15em}
.lede-day{margin-bottom:1.1em!important}
.lede-chant{margin-bottom:.45em!important}
.lede-close{margin-top:1.5em!important}
.lede-rule{border:0;border-top:1px solid var(--line);margin:2em 0 0}
.lede-one{min-height:330svh;padding-bottom:0}
.lede-two{padding-top:clamp(40px,8svh,90px)}
@media(max-width:760px){.lede-one{min-height:300svh}}
.day-count{font-family:var(--mono);font-variant-numeric:tabular-nums;color:#fff;border-bottom:2px solid #ffffff3d;padding-bottom:.04em}
.lede-cue{margin:1.8em 0 .8em!important}
.lede-list{list-style:decimal;margin:0;padding:0 0 0 clamp(26px,2.4vw,34px)}
.lede-list li{padding:0 0 .8em;font-size:clamp(18px,1.5vw,21px);line-height:1.6;letter-spacing:normal}
.lede-list li::marker{color:#fff}

@media(max-width:760px){.lede{padding:64px 16px 56px}.lede-inner p{font-size:18px}.lede-list li{padding:0 0 .7em;font-size:18px}}

/* Slide 1 reads its card in before the chart draws, so it needs more track. */
.scene.investment{height:340svh}
.all-mode .scene.investment{height:auto}

/* Floating chart cards read at roughly the size of the Anthropic scenario cards.
   Scoped to the cards so the reading slides’ body copy is left alone. */
body:not(.all-mode) .scene:not(.chapter):not(.statement):not(.fulltext) .passage h2{font-size:clamp(21px,1.62vw,26px);line-height:1.4}
@media(max-width:700px){body:not(.all-mode) .scene:not(.chapter):not(.statement):not(.fulltext) .passage h2{font-size:18px}}

/* Jensen flashes over the page as the reader passes his line in the lede. */
.lede-jensen{position:fixed;inset:0;width:100vw;height:100dvh;object-fit:cover;opacity:0;pointer-events:none;z-index:8;will-change:opacity}
@media(prefers-reduced-motion:reduce){.lede-jensen{display:none}}

/* Two electricity runs, each with the original amount of scroll travel. */
.scene.city{height:350svh}
@media(max-width:760px){.scene.city{height:340svh}}
.all-mode .scene.city{height:auto}

/* Codex: electricity overlay on the city scene. */
.city-electricity{position:absolute;inset:0;z-index:1;width:100%;height:100%;pointer-events:none;overflow:hidden}
.city-electricity .electric-trace{fill:none;stroke:#72efff;stroke-width:1.5;stroke-linecap:round;stroke-dasharray:.055 .945;filter:url(#city-electric-glow)}
.city-electricity .electric-spark{fill:#e9fdff;stroke:#72efff;stroke-width:1.5;filter:url(#city-electric-glow)}
/* Avoid repainting ten blurred SVG filters on every mobile scroll frame. */
@media(max-width:760px),(hover:none) and (pointer:coarse){.city-electricity .electric-trace,.city-electricity .electric-spark{filter:none}}

/* The meme caption is live text over the untouched frame, so it stays sharp at
   any size. Until bugs-bunny.jpg exists the old flattened JPEG stands in. */
/* A query container computes its inline size as if empty, so the width has to come
   from the outside: whichever of the viewport caps fits the 660x432 frame first. */
.meme-live{position:relative;margin:auto;aspect-ratio:660/432;width:min(92vw,1100px,calc(min(62svh,560px) * 660 / 432));container-type:inline-size;line-height:0}
.meme-live.no-base{aspect-ratio:972/594;width:min(92vw,1100px,calc(min(62svh,560px) * 972 / 594))}
.meme-live img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border:1px solid var(--line)}
.meme-live .meme-legacy{display:none}
.meme-live.no-base .meme-legacy{display:block}
.meme-live.no-base .meme-base,.meme-live.no-base .meme-cap{display:none}
.meme-cap{position:absolute;left:0;right:0;margin:0;padding:0 3cqw;text-align:center;line-height:1.02;
 font-family:Impact,Haettenschweiler,"Arial Narrow Bold","Franklin Gothic Bold",sans-serif;
 font-size:11cqw;letter-spacing:.01em;color:#fff;text-transform:uppercase;
 -webkit-text-stroke:.6cqw #000;paint-order:stroke fill;text-shadow:0 .25cqw .5cqw #000c}
.meme-cap-top{top:2.5cqw}
.meme-cap-bottom{bottom:2.5cqw}

/* A rule under the chapter titles, sized to the text, so they read as dividers
   rather than as another sentence. */
.scene.chapter .passage h2{width:fit-content;max-width:min(1000px,100%)}
.scene.chapter .passage h2::after{content:"";display:block;height:3px;border-radius:2px;
 margin:.34em auto 0;background:#ffffff5c}
@media(max-width:760px){.scene.chapter .passage h2::after{height:2px;margin-top:.3em}}

/* Reading slides were pinned to a full viewport, so a short passage left most of
   the screen empty below it. Let them hug their content instead. */
.scene.fulltext.reading{min-height:auto}
.scene.fulltext.reading .sticky{min-height:auto}

/* Navigation belongs only to the page top, never to upward scrolling. */
body>header{position:absolute;top:0;left:0;right:0}

/* The series opening is a single, three-second pen drawing. */
.series-hero{min-height:100svh;background:#0b1015;color:#e6edf3;display:grid;place-items:center;overflow:hidden}
.series-hero-inner{width:min(1180px,100%);min-height:100svh;display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:clamp(36px,7svh,78px) 22px clamp(35px,6svh,70px)}
.series-hero-labels{width:100%;display:grid;grid-template-columns:repeat(3,1fr);font:400 clamp(14px,1.7vw,22px)/1.2 var(--mono);letter-spacing:.14em;text-align:center;color:#cfdeeb}
#series-hero-canvas{width:100%;height:auto;aspect-ratio:1200/620;max-height:62svh;display:block}
.series-hero-bottom{display:flex;flex-direction:column;align-items:center;gap:20px}
.series-hero-bottom p{margin:0;color:#e6edf3;font:400 clamp(28px,4.2vw,48px)/1 var(--mono);letter-spacing:.14em}
.series-hero-labels,.series-hero-bottom{opacity:1;transform:translateY(0);transition:opacity .75s ease,transform .75s ease}
.series-hero[data-art="pending"] .series-hero-labels,.series-hero[data-art="pending"] .series-hero-bottom{opacity:0;transform:translateY(7px);visibility:hidden}
@media(prefers-reduced-motion:reduce){.series-hero .series-hero-labels,.series-hero .series-hero-bottom{opacity:1!important;transform:none!important;visibility:visible!important;transition:none}}
.series-hero-button{display:inline-flex;align-items:center;gap:11px;padding:10px 20px;border:1px solid #768391;border-radius:999px;background:#edf1ed;color:#17212a;text-decoration:none;font:400 15px/1.2 var(--mono);transition:transform .18s ease,background .18s ease}
.series-hero-button:hover{background:#fff;transform:translateY(-2px)}
.series-hero-button span{font-size:23px;line-height:.8}
.series-title-card{min-height:100svh;display:grid;place-items:center;padding:clamp(64px,8svh,96px) clamp(20px,5vw,80px);background:#070b10;text-align:center}
.series-title-card h1,.series-title-card p{margin:0;width:100%;color:#fff;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-weight:650;font-size:clamp(48px,8vw,112px);letter-spacing:-.055em;line-height:1.02;text-wrap:balance}
.series-title-card-last{position:relative}
.series-title-card-last::after{content:"";position:absolute;left:50%;bottom:18svh;width:min(700px,calc(100% - 40px));height:1px;background:#2a3a47;transform:translateX(-50%)}
@media(max-width:760px){.series-hero-inner{padding:50px 16px 45px}.series-hero-labels{font-size:clamp(13px,4vw,19px)}#series-hero-canvas{width:calc(100% + 32px);max-width:none;aspect-ratio:1200/620;max-height:none}.series-title-card h1,.series-title-card p{font-size:48px}.series-title-card-last::after{bottom:20svh;width:calc(100% - 32px)}}

/* OWID-style inspection: values sit beside desktop marks and in a bottom panel
   on mobile, outside the pinned scene’s clipping. */
.plot-wrap,.benchmark-figure{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.owid-hover-surface{touch-action:pan-y;cursor:crosshair;outline:none}
.owid-hover-surface:focus-visible{outline:2px solid #a2d1f4;outline-offset:-2px}
.owid-hover-overlay{pointer-events:none}
.owid-hover-guide{stroke:#d8e7f2;stroke-width:1;stroke-dasharray:3 4;opacity:.72;vector-effect:non-scaling-stroke}
.owid-hover-dot{stroke:#0b1015;stroke-width:2;vector-effect:non-scaling-stroke}
.owid-hover-tooltip{position:fixed;left:0;top:0;z-index:50;width:max-content;max-width:min(280px,calc(100% - 12px));max-height:calc(100% - 12px);overflow:auto;padding:9px 11px;border:1px solid #526777;border-radius:4px;background:#101820f2;color:#fff;box-shadow:0 5px 20px #0008;pointer-events:none;font:11px/1.35 var(--mono)}
.owid-hover-tooltip[hidden]{display:none}.owid-hover-tooltip strong{display:block;margin-bottom:6px;font-weight:600}.owid-hover-values{display:grid;gap:3px}.owid-hover-values>div{display:flex;align-items:baseline;justify-content:space-between;gap:14px}.owid-hover-values span{display:inline-flex;align-items:center;min-width:0;color:#c2d0db}.owid-hover-values b{font-weight:500;white-space:nowrap}.owid-hover-values i{width:8px;height:8px;margin-right:6px;border-radius:50%;background:var(--color);flex:none}.owid-hover-live{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.owid-hover-close{display:none}
@media(max-width:760px){
 .owid-hover-tooltip{left:8px;right:8px;top:auto;bottom:calc(var(--hover-viewport-bottom,0px) + max(8px,env(safe-area-inset-bottom)));width:auto;max-width:none;max-height:min(45svh,380px);padding:0;background:#101820;pointer-events:auto;font-size:13px;line-height:1.45;overscroll-behavior:contain;touch-action:pan-y}
 .owid-hover-tooltip strong{margin:0;padding:12px 48px 12px 14px;background:#1d2934;border-bottom:1px solid #526777;font-size:15px}
 .owid-hover-close{display:block;position:absolute;top:4px;right:6px;border:0;padding:4px 10px;font:24px/1.2 sans-serif}
 .owid-hover-values{gap:0;padding:4px 14px 8px}
 .owid-hover-values>div{gap:12px;padding:7px 0;border-bottom:1px solid #2a3a47}
 .owid-hover-values>div:last-child{border-bottom:0}
 .owid-hover-values i{width:10px;height:10px;border-radius:0;margin-right:8px}
}
@media print{.owid-hover-tooltip,.owid-hover-overlay,.owid-hover-live{display:none!important}}

/* Narrative copy shared by all three parts. Keep chart annotations and sources compact. */
.scene:not(.chapter):not(.statement):not(.fulltext) .passage h2,
.scene.fulltext.reading .passage p,
.scene.building-return .passage p,
.article-signoff p,.lede-inner p,.lede-list li{font-size:22px;line-height:1.5}
body:not(.all-mode) .scene:not(.chapter):not(.statement):not(.fulltext) .passage h2{font-size:clamp(22px,1.62vw,26px);line-height:1.4}
@media(max-width:760px){
 .scene:not(.chapter):not(.statement):not(.fulltext) .passage h2,
 .scene.fulltext.reading .passage p,
 .scene.building-return .passage p,
 .article-signoff p,.lede-inner p,.lede-list li,
 body:not(.all-mode) .scene:not(.chapter):not(.statement):not(.fulltext) .passage h2{font-size:20px;line-height:1.5}
}

/* Conclusion: ordinary reading, followed by a foreground-to-horizon reveal. */
.conclusion-questions{padding-left:1.3em;margin:0 0 2em;font-size:22px;line-height:1.5}
.conclusion-questions li{padding-left:.2em;margin-bottom:1.3em}
.conclusion-zoom{padding-top:1.5em}
.scene.awakening{height:320svh;--light-front:108%}
.scene.awakening>.sticky{padding:0!important;min-height:0;overflow:hidden;background:#070b10;justify-content:center}
.scene.awakening .passage{position:absolute;width:1px;height:1px;min-height:0;margin:0;padding:0;overflow:hidden;clip-path:inset(50%)}
.awakening-art{position:relative;flex:none;width:100%;height:100svh;overflow:hidden}
.awakening-art img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.awakening-night{filter:brightness(.18) saturate(.55)}
.awakening-light{mask-image:linear-gradient(to bottom,transparent calc(var(--light-front) - 9%),#000 calc(var(--light-front) + 9%));-webkit-mask-image:linear-gradient(to bottom,transparent calc(var(--light-front) - 9%),#000 calc(var(--light-front) + 9%))}
.conclusion-divider{margin:clamp(48px,8svh,90px) auto 0;width:calc(100% - 48px)}
.all-mode .scene.awakening{height:auto;--light-front:-16%}
.all-mode .scene.awakening>.sticky{position:relative;height:auto;min-height:0}
@media(max-width:760px){.conclusion-questions{font-size:20px}}
@media(prefers-reduced-motion:reduce){.scene.awakening{height:auto;--light-front:-16%!important}.scene.awakening>.sticky{position:relative;height:auto}}
@media print{.scene.awakening{height:auto;--light-front:-16%!important}.scene.awakening>.sticky{position:relative!important;height:auto!important}}
