/* SI100B circuit theme: 160 × 90 mm canvas rendered at 1920 × 1080. */
@font-face{font-family:Inter;src:url(fonts/Inter-Regular.ttf)}
@font-face{font-family:Inter;src:url(fonts/Inter-Bold.ttf);font-weight:700}
@font-face{font-family:'Noto Serif';src:url(fonts/NotoSerif-Regular.ttf)}
@font-face{font-family:'Noto Serif';src:url(fonts/NotoSerif-Bold.ttf);font-weight:700}
:root,:root[data-theme="dark"]{color-scheme:dark;--bg:#0a1020;--band:#111a2b;--ink:#e8edf7;--muted:#a8b5cb;--dim:#7586a3;--accent:#63c8ff;--lilac:#b296ff;--panel:#162239;--line:#31445f;--panel-top:#1d2d49;--shadow:#0009;--art:url(art-edge.svg);--hypo-bg:var(--bg);--hypo-ink:var(--ink);--hypo-muted:var(--muted);--hypo-accent:var(--accent);--hypo-surface:var(--panel);--hypo-border:var(--line)}
:root.light,:root[data-theme="light"]{color-scheme:light;--bg:#f3f5f9;--band:#e8edf5;--ink:#172a48;--muted:#4b5d77;--dim:#65758c;--accent:#1865a8;--lilac:#7054ad;--panel:#fff;--panel-top:#f8faff;--line:#c3cede;--shadow:#53678930;--art:url(art-edge-light.svg);--hypo-bg:var(--bg);--hypo-ink:var(--ink);--hypo-muted:var(--muted);--hypo-accent:var(--accent);--hypo-surface:var(--panel);--hypo-border:var(--line)}
body,.reveal-viewport{background:var(--bg);color:var(--ink)}.reveal{font:42px/1.4 Inter,sans-serif;color:var(--ink)}
.reveal h1,.reveal h2{font-family:'Noto Serif',Georgia,serif;font-weight:700;letter-spacing:-.025em;margin:0;color:var(--ink)}
.reveal header,.reveal header.hypo-slide-header{position:absolute;inset:0 0 auto;height:210px;background:var(--band);border-bottom:2px solid var(--accent);box-shadow:0 8px 36px var(--shadow);display:flex;align-items:center;justify-content:flex-start;padding:0 144px;overflow:hidden}
.reveal header::after{content:'';position:absolute;right:220px;top:0;width:660px;height:210px;background:var(--art) right center/contain no-repeat;opacity:.7;pointer-events:none}
.reveal .heading,.reveal .hypo-slide-heading{position:relative;z-index:1;padding-right:40px;background:linear-gradient(90deg,var(--band) 94%,transparent);max-width:1490px}
.reveal .eyebrow,.reveal .hypo-eyebrow{font-size:25px;line-height:1.4;letter-spacing:.16em;text-transform:uppercase;color:var(--accent);font-weight:700;margin-bottom:10px}
.reveal header h2,.reveal .hypo-slide-header h2{font-size:65px;line-height:1.2;color:var(--ink)}.reveal .header-logo,.reveal header .hypo-slide-logo{position:absolute;right:144px;width:auto;height:53px;max-height:53px;z-index:2}
.reveal main,.reveal .hypo-slide-body{position:absolute;left:144px;right:144px;top:230px;bottom:110px;display:flex;align-items:center;justify-content:center}
.reveal footer,.reveal .hypo-slide-footer{position:absolute;bottom:0;height:108px;left:144px;right:144px;display:flex;align-items:center;justify-content:space-between;font-size:23px;font-weight:700;color:var(--muted)}
.footer-separator{padding:0 18px;color:var(--dim)}.page-number,.hypo-page{white-space:nowrap;margin-left:34px;color:var(--dim)}
.reveal main>div,.reveal .hypo-slide-body>div,.widget-fallback>div,.hypo-widget-fallback>div{width:100%;max-height:100%;text-align:center}.reveal .photo{display:inline-flex;flex-direction:column;align-items:center;max-width:100%;background:linear-gradient(var(--panel-top),var(--panel));box-shadow:0 8px 26px var(--shadow);border:1px solid var(--line);border-radius:10px;overflow:hidden;vertical-align:middle;flex-shrink:0}
.reveal .photo p{line-height:0}.reveal .photo img{display:block;max-height:660px;object-fit:contain}.reveal figcaption{padding:12px 22px;font-size:25px;font-weight:700;line-height:1.25;color:var(--muted)}
.reveal .photo-viewport{position:relative;overflow:hidden;flex:none}.reveal .photo-viewport img{position:absolute;left:var(--crop-x,0);top:var(--crop-y,0);max-width:none;max-height:none;object-fit:fill}
/* Original lecture figures: a cool paper mat in the dark palette (softened so white slides do not glare against the
   navy page), a hairline ring and soft shadow in the light palette. Rings are box-shadows, so image boxes keep their
   measured size for fit-figures. Black-ground p24 and the navy louxin-v2 redraws keep their own ground. */
.reveal :is(img.orig-fig, .orig-fig img, img[data-orig-fig], img[src*="louxin"]){border-radius:10px}
:root:not(.light,[data-theme="light"]) .reveal
  :is(img.orig-fig, .orig-fig img, img[data-orig-fig], img[src*="louxin"]):not([src*="p24-hbm-amd-gpu"], [src*="louxin-v2"], .photo-viewport img){
  box-sizing:border-box;
  object-fit:contain;
  padding:12px;
  background:#f1f4f9;
  filter:brightness(.94) saturate(.96);
  box-shadow:0 0 0 1px #ffffff1f,0 0 0 6px #63c8ff0d,0 14px 38px #00000080,0 2px 8px #00000059;
}
:is(.light,[data-theme="light"]) .reveal
  :is(img.orig-fig, .orig-fig img, img[data-orig-fig], img[src*="louxin"]):not([src*="p24-hbm-amd-gpu"], [src*="louxin-v2"], .photo-viewport img){
  box-shadow:0 0 0 1px #c3cede,0 10px 28px #5367892e,0 2px 6px #5367891f;
}
.reveal :is(img[src*="louxin-v2"],img[data-redraw-fig]){border-radius:10px;box-shadow:0 0 0 1px #63c8ff24,0 14px 38px #00000059}
:is(.light,[data-theme="light"]) .reveal :is(img[src*="louxin-v2"],img[data-redraw-fig]){box-shadow:0 0 0 1px #1865a826,0 10px 28px #53678938}
.reveal .note{font-size:26px;line-height:1.4;color:var(--muted);font-weight:700;margin-top:16px;text-align:center}.reveal .credit{position:absolute;bottom:-45px;right:150px;color:var(--dim);font-size:22px;font-weight:700}.reveal .description{color:var(--muted);font-size:35px}.reveal .statement{font-size:42px}.reveal .statistic{font-size:92px;line-height:1.1;font-weight:700;color:var(--accent)}.reveal .name{font-size:75px;line-height:1.2;font-weight:700}
.reveal .profile{display:grid;grid-template-columns:504px 1fr;gap:18px 120px;text-align:left;align-items:start}.reveal .profile>.photo{grid-column:1;grid-row:1/5;width:432px;height:648px;justify-self:center;display:block}.reveal .profile>.photo .widget-host{height:648px;width:432px}.reveal .profile>.photo si-instructor-shades{display:block;width:100%;height:100%}.reveal .profile>.name,.reveal .profile>.details,.reveal .profile>.note{grid-column:2;text-align:left;margin:0}.reveal .profile>.note:last-child{position:absolute;bottom:-15px;left:0;right:0;text-align:left;font-size:23px}.reveal .profile>.name{font-size:84px}.details{display:grid;grid-template-columns:150px 1fr;gap:16px 45px;font-size:31px;line-height:1.4;margin:26px 0 0}.details dt{color:var(--dim);font-weight:700}.details dd{margin:0}.profile>.note{font-size:32px}
.reveal .research{display:flex;flex-direction:column;gap:15px}.research>.description{font-size:37px;margin-bottom:30px}.research-area{display:flex;text-align:left;gap:30px;align-items:center;min-height:152px;padding:22px 65px;background:linear-gradient(var(--panel-top),var(--panel));border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 26px var(--shadow)}.research-area h3{font-size:43px;color:var(--accent);font-weight:700;width:470px;margin:0;flex:none}.research-area>div{font-size:37px}.research-area small{display:block;color:var(--muted);font-size:29px;margin-top:8px;font-weight:700}
.reveal .paper{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px 35px}.paper>.photo{margin:0 200px 20px}.paper>.statement{font-size:40px}.paper>.description{font-size:33px}.paper>.note{width:100%;font-size:23px;margin-top:0}
.reveal .gallery,.reveal .comparison,.reveal .milestone{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:22px 55px}.gallery>.note,.comparison>.note{width:100%;font-size:26px;margin-top:0}.gallery[layout=three-up-with-caption]>.photo{max-width:30%}.gallery[layout=three-up-with-two-cards]>.photo{max-width:31%}.gallery[layout=three-up-with-two-cards]>.statement{font-size:35px;width:43%}.gallery[layout=three-up-with-two-cards]>.statistic{font-size:52px}.comparison>.statistic{font-size:72px}.comparison>.note{font-size:28px}
.reveal .assessment{display:grid;grid-template-columns:624px 624px;grid-template-rows:200px 200px;justify-content:center;gap:0 96px}.assessment>.statistic{display:flex;align-items:flex-end;justify-content:center;background:var(--panel);padding-bottom:30px;border:1px solid var(--line);border-bottom:0;border-radius:12px 12px 0 0;font-size:126px}.assessment>.statistic:nth-child(1){grid-area:1/1}.assessment>.statistic:nth-child(3){grid-area:1/2}.assessment>.note{margin:0;padding-top:25px;border:1px solid var(--line);border-top:0;background:var(--panel);font-size:35px;border-radius:0 0 12px 12px}.assessment>.note:nth-child(2){grid-area:2/1}.assessment>.note:nth-child(4){grid-area:2/2}
.reveal .reference{max-width:1416px!important;padding:90px 108px;background:linear-gradient(var(--panel-top),var(--panel));border:1px solid var(--line);border-radius:12px;text-align:left;box-shadow:0 12px 36px var(--shadow)}.reference>.statement:first-child{font-size:65px;line-height:1.2;font-weight:700}.reference>.statement:nth-child(2){font-size:46px;color:var(--accent);margin:24px 0 74px}.reference>.note{text-align:left;font-size:35px}
.reveal .abstraction{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:25px 96px}.abstraction>.note{width:100%;font-size:27px;margin-top:0}.abstraction>.name{font-size:114px;font-weight:400;width:100%;margin-bottom:90px}.abstraction>.statistic{width:264px;height:264px;background:var(--panel);border:1px solid var(--line);border-radius:14px;display:flex;align-items:center;justify-content:center;color:var(--ink);font-size:128px;font-weight:400}.abstraction>.code{max-width:1008px;width:100%;background:var(--panel);padding:45px 108px;border:1px solid var(--line);border-radius:12px}.abstraction pre{font:72px/1.4 'Cascadia Mono',monospace;margin:0}.abstraction>.note:first-child{width:1008px;text-align:left;font:29px monospace;color:var(--dim);margin-bottom:-40px;z-index:1;padding-left:108px}.abstraction[layout=framed-figure]>.photo{padding:36px}
.reveal .level-bar{display:flex;gap:26px;align-items:center;font-size:22px}.level-bar span{padding:10px 12px;color:var(--dim);border-radius:7px}.level-bar .active{color:var(--accent);background:var(--panel);border:1px solid var(--line)}
.reveal .chart,.reveal .figure{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 40px}.chart>.photo,.figure>.photo{background:none;box-shadow:none;border:0;border-radius:0;margin:0}.reveal .figure:has(>.photo+.photo){align-items:flex-end}.chart>.note{width:100%;font-size:23px;margin-top:0}.figure>.note{width:100%;font-size:26px;margin-top:0}.chart:is([layout=full],[data-layout=full])>.photo img{max-height:730px}.theme-figure img{max-height:610px;max-width:1400px}.ladder>.note{font-size:24px;margin-top:5px}.ladder>.theme-figure{margin-bottom:20px}
.reveal .devices{display:flex;flex-wrap:wrap;gap:25px 40px;justify-content:center;align-items:center}.devices>.device{display:none}.devices>.photo{width:44%;height:230px;justify-content:center}.devices>.photo img{max-height:180px}.devices>.note{width:100%;font-size:23px;margin:0}.device strong{color:var(--accent);font-size:55px}.device span{font-size:25px}
.reveal .milestone>.statistic{font-size:105px}.milestone>.statement{font-size:43px}.milestone>.note{font-size:27px}.milestone[layout=photo-fact-right]>.photo{max-width:66%}.milestone[layout=photo-fact-right]>.statistic{width:25%;font-size:100px}.milestone[layout=photo-fact-right]>.statement,.milestone[layout=photo-fact-right]>.note{margin-left:70%;text-align:left}.milestone[layout=three-crops-fact-below]>.statistic{font-size:88px}
.reveal .summary{font-size:49px;line-height:1.6;text-align:left;padding-left:80px}.summary>.statement,.summary>p{position:relative;font-size:49px;margin:22px 0}.summary>.statement::before,.summary>p::before{content:'•';color:var(--accent);position:absolute;left:-45px}.reveal .outlook{display:flex;align-items:center;justify-content:center;gap:70px}.outlook>.diagram{max-width:70%}.outlook>.statement{font-size:47px;max-width:350px}.outlook>.statement:last-child{font-weight:700}.outlook :is(.tikz-diagram,.hypo-tikz){height:690px}
.reveal .widget-host,.reveal .hypo-widget{width:100%;height:100%}.reveal .widget-host>:first-child,.reveal .hypo-widget>:first-child:not(.hypo-widget-fallback){display:block;width:100%!important;height:100%!important;text-align:left}.reveal .level-bar button{font:inherit;color:var(--dim);background:none;border:1px solid transparent;border-radius:7px;padding:10px 12px;cursor:pointer;white-space:nowrap}.reveal .level-bar button.active{color:var(--accent);background:var(--panel);border-color:var(--line)}.reveal .level-bar button:hover{color:var(--accent);border-color:var(--line)}.reveal .widget-fallback,.reveal .hypo-widget-fallback{display:flex;align-items:center;justify-content:center;position:relative;height:100%;width:100%}.reveal .widget-fallback>div,.reveal .hypo-widget-fallback>div{max-height:100%}
.reveal .cover{background:var(--bg);overflow:hidden}.cover-content{position:absolute;left:144px;top:96px;width:1040px;z-index:1}.cover-logo{height:90px;margin-bottom:52px;align-self:flex-start}.reveal .cover h1{font-size:74px;line-height:1.25;max-width:1080px;margin-bottom:65px}.cover .course{font-size:37px;color:var(--accent);font-weight:700;margin-bottom:90px}.reveal .cover h2{font-size:57px;margin-bottom:50px}.cover p{font-size:38px;margin-bottom:15px}.cover small{font-size:26px;color:var(--muted)}.cover-art{position:absolute;inset:0;background:url(art-cover.svg) center/cover no-repeat;opacity:.7}:is(.light,[data-theme="light"]) .cover-art{background-image:url(art-cover-light.svg)}
.reveal section.hypo-cover{background:var(--bg);overflow:hidden;padding:0 740px 0 144px!important;align-items:flex-start}.reveal section.hypo-cover::before{content:'';position:absolute;inset:0;background:url(art-cover.svg) center/cover no-repeat;opacity:.7;pointer-events:none;z-index:0}:is(.light,[data-theme="light"]) .reveal section.hypo-cover::before{background-image:url(art-cover-light.svg)}.reveal section.hypo-cover>*{position:relative;z-index:1}.reveal section.hypo-cover>.hypo-slide-logo{height:90px;max-height:90px;margin-bottom:52px}.reveal section.hypo-cover h1{font-size:74px;line-height:1.25;max-width:1080px;margin:0 0 56px;color:var(--ink)}.reveal section.hypo-cover h2{font-size:57px;line-height:1.2;font-weight:700;margin:0 0 48px;color:var(--accent)}.reveal section.hypo-cover p{font-size:38px;margin:0 0 14px;color:var(--ink)}.reveal section.hypo-cover small{font-size:26px;color:var(--muted)}
.reveal .profile>div.details{display:block;grid-column:2;font-size:30px;line-height:1.45;margin:0}.reveal dl.details{display:grid;grid-template-columns:190px 1fr;gap:12px 20px;margin:15px 0 0}.reveal dl.details dt{color:var(--dim);font-weight:700}.reveal dl.details dd{margin:0;color:var(--ink)}.reveal .profile>.note:last-child{grid-column:1/-1;font-size:23px;text-align:left;margin-top:2px}.reveal .profile>.name{grid-column:2}.reveal .profile>.note:nth-child(3){grid-column:2;text-align:left;margin:8px 0 18px;font-size:30px}
/* Semantic layout slots keep related photos, labels and quantities together. */
.reveal .slide-content,.reveal .hypo-slide-content{width:100%;display:block;max-height:none!important;transform-origin:center center}.reveal :is(.slide-content,.hypo-slide-content)>:is(.widget-host,.hypo-widget){height:740px}.reveal :is(.slide-content,.hypo-slide-content)>div{width:100%;max-height:none;text-align:center}.reveal :is(.slide-content,.hypo-slide-content)>.profile{text-align:left}.reveal :is(.slide-content,.hypo-slide-content)>.reference{text-align:left}.reveal :is(.slide-content,.hypo-slide-content)>.summary{text-align:left}
.reveal .layout-row{display:flex;align-items:center;justify-content:center;gap:45px;width:100%;flex-wrap:nowrap}.reveal .layout-row>.photo{max-width:none}.reveal .layout-row+.layout-row{margin-top:24px}.reveal .layout-row+.note{margin:22px 0}.reveal .layout-row p{margin:0}.reveal .theme-figure img{display:block;width:1260px;height:auto;max-height:550px;margin:auto}.reveal .ladder .theme-figure{margin-bottom:18px}.reveal .ladder>.note{font-size:25px;line-height:1.4}
.reveal .devices{display:block}.reveal .device-card{display:flex;align-items:center;justify-content:space-between;width:804px;min-height:228px;padding:20px 35px;background:linear-gradient(var(--panel-top),var(--panel));border:1px solid var(--line);border-radius:12px;text-align:left}.reveal .device-card .photo{border:0;box-shadow:none;background:none;max-width:300px;height:auto}.reveal .device-card .photo img{height:180px!important;width:270px!important;object-fit:contain}.reveal .device-copy{max-width:450px}.device-copy strong{display:block;font-size:58px;color:var(--accent);line-height:1.2}.device-copy span{display:block;font-size:26px;color:var(--muted);font-weight:700;margin-top:12px}.reveal .devices>.note{margin:16px 0;font-size:24px}
.reveal .gallery[layout=three-up-with-two-cards]{display:block}.reveal .gallery[layout=three-up-with-two-cards] .layout-row:first-child{margin-bottom:28px;gap:48px}.reveal .metric-card{width:800px;padding:22px 34px;background:linear-gradient(var(--panel-top),var(--panel));border:1px solid var(--line);border-radius:12px;text-align:center}.metric-card h3{font-size:36px;margin:0 0 12px;font-weight:700}.metric-card h3 p{display:inline}.metric-card>div{display:flex;gap:12px;align-items:baseline;justify-content:center}.metric-card strong{font-size:55px;color:var(--accent)}.metric-card span{font-size:28px;color:var(--muted)}.metric-card p{display:inline}.gallery[layout=three-up-with-two-cards]>.note{font-size:24px}
.reveal .comparison[layout=image-over-two-columns]{display:block}.comparison[layout=image-over-two-columns] .layout-row:first-child{margin-bottom:24px}.reveal .caption-column{width:648px;text-align:center}.caption-column h3{font-size:49px;margin:0 0 12px;font-weight:700}.caption-column p{font-size:34px;color:var(--muted)}.reveal .caption-column h3 p{font-size:49px;color:var(--ink)}.reveal .comparison[layout=image-over-two-columns]>.note{font-size:28px;margin:12px 0}
.reveal .milestone{display:block}.reveal .fact-column{flex:1;min-width:340px;max-width:510px;text-align:left}.fact-column strong{font-size:110px;font-weight:700;color:var(--accent);line-height:1.15;display:block}.fact-column h3{font-size:45px;font-weight:400;margin:12px 0 40px}.fact-column>p{font-size:29px;color:var(--muted);line-height:1.45;font-weight:700}.fact-column p p{display:inline}.fact-column strong p{display:inline}.fact-column h3 p{display:inline}.reveal .milestone>.note{font-size:26px;margin:20px 0 0}.reveal .milestone .layout-row{gap:60px}.reveal .milestone .layout-row>.photo{flex:none}.reveal .milestone[layout=photo-fact-right] .layout-row>.photo{max-width:65%}.reveal .milestone[layout=three-crops-fact-below] .layout-row{gap:54px}.reveal .metric-line{display:flex;align-items:baseline;justify-content:center;gap:45px;margin-top:60px}.metric-line strong{font-size:92px;color:var(--accent);line-height:1.1}.metric-line span{font-size:42px;color:var(--muted)}.metric-line p{display:inline}
.reveal .comparison[layout=two-column-with-callout]{display:block}.reveal .feature-column{width:816px;flex:none;text-align:center}.feature-column h3{font-size:49px;color:var(--accent);margin:60px 0 20px}.feature-column h4{font-size:42px;margin:0 0 20px}.feature-column .note{font-size:24px;line-height:1.4;margin-top:24px}.feature-column .photo{width:100%}.reveal .comparison[layout=two-column-with-callout]>.layout-row>.photo{max-width:570px}.reveal .comparison[layout=two-column-with-callout] .layout-row{align-items:flex-end;gap:65px}
.reveal .figure[layout=diagram-left-text-right]{display:block}.reveal .explanation-column{width:816px;text-align:left;font-size:49px;line-height:1.35}.explanation-column>p+p{margin-top:70px;color:var(--muted)}.explanation-column p p{display:inline}
.reveal .comparison[layout=three-up-with-statistics],.reveal .comparison[layout=two-up-with-statistics]{display:block}.reveal .metric-photo{display:flex;flex-direction:column;align-items:center;justify-content:center;width:528px;gap:45px}.metric-photo strong{font-size:76px;font-weight:700;line-height:1.1;color:var(--accent)}.metric-photo strong p{display:inline}.metric-photo span{font-size:36px;color:var(--muted);margin-top:-25px}.metric-photo .photo{height:405px;justify-content:flex-start}.metric-photo .photo img{height:336px!important;width:auto!important}.comparison[layout=two-up-with-statistics] .metric-photo{width:720px;gap:40px}.comparison[layout=two-up-with-statistics] .metric-photo .photo{height:440px;max-width:720px;width:720px}.comparison[layout=two-up-with-statistics] .metric-photo strong{display:inline;font-size:80px}.comparison[layout=two-up-with-statistics] .metric-photo .photo-viewport{width:720px!important;height:360px!important}.comparison[layout=two-up-with-statistics] .metric-photo .photo img{height:360px!important;width:640px!important}
.reveal .outlook{display:flex;align-items:center;justify-content:center;gap:72px}.reveal .outlook>.diagram{width:1193px;max-width:none;flex:none}.reveal .outlook :is(.tikz-diagram,.hypo-tikz){width:1193px;height:691px;object-fit:contain;display:block}.reveal .next-topic{max-width:360px;text-align:left;font-size:49px;line-height:1.3}.next-topic span,.next-topic strong{display:inline}.next-topic p{display:inline}.next-topic strong{font-weight:700}.next-topic span::after{content:' '}
.motion,.hypo-motion{position:relative}.motion img,.motion video,.hypo-motion img,.hypo-motion video{display:block;max-height:648px;width:auto}.motion video,.hypo-motion video{object-fit:cover}.reveal .controls{right:24px;bottom:18px}

/* A short annotation remains visible when the interactive figure replaces its PDF fallback. */
/* The host keeps 654px under a one-line annotation and gives up exactly what longer annotations need: 740px in total. */
.reveal :is(.slide-content,.hypo-slide-content):has(>:is(.widget-host,.hypo-widget)):has(>.annotation){display:flex;flex-direction:column;justify-content:center;height:740px}.reveal :is(.slide-content,.hypo-slide-content):has(>:is(.widget-host,.hypo-widget)):has(>.annotation)>*{flex:none}.reveal :is(.slide-content,.hypo-slide-content):has(>:is(.widget-host,.hypo-widget)):has(>.annotation)>:is(.widget-host,.hypo-widget){flex:0 1 654px;height:auto;min-height:0}.reveal .annotation{margin-top:10px;font-size:29px;line-height:1.32;color:var(--muted)}.reveal .annotation.credit{left:0;right:0}
.reveal .side-copy{flex:1;min-width:460px;max-width:590px;text-align:left;font-size:42px;line-height:1.35}.side-description{color:var(--muted);font-size:32px}.side-credit{color:var(--muted);font-size:24px}.side-description:not(:empty),.side-credit:not(:empty){margin-top:24px}.outlook-note:not(:empty){margin-top:26px;font-size:29px;color:var(--muted)}

/* Cover: HypoDoc's scaffold (vendor/slides.css) pads .cover-content by 120px and gives the cover h2 a 60px top margin.
   Inside a fixed-width box placed at a fixed top, that squeezed the title to three lines and pushed the stack below the
   1080px canvas. The column now spans the canvas height and centres its content; the auto margins keep the top in view
   if a long title ever makes the stack taller than the canvas. Specific enough to override per-deck top/width tweaks. */
.reveal section.cover>.cover-content{inset:0 auto 0 144px;width:1080px;padding:0;display:flex;flex-direction:column}
.reveal section.cover>.cover-content>:first-child{margin-top:auto}.reveal section.cover>.cover-content>:last-child{margin-bottom:auto}.reveal section.cover h2{margin-top:0}

/* Center the chapter number and title on the divider. */
.reveal .slides>section.section-divider{padding:0;height:1080px;box-sizing:border-box;background:var(--bg);overflow:hidden}
.reveal .section-divider-art{position:absolute;inset:0;background:url(art-cover.svg) center/cover no-repeat;opacity:.08;pointer-events:none}
.reveal .section-divider-art::after{content:'';position:absolute;inset:0;background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 6%,transparent) 0%,transparent 48%,color-mix(in srgb,var(--bg) 55%,transparent) 100%)}
:is(.light,[data-theme="light"]) .reveal .section-divider-art{background-image:url(art-cover-light.svg);opacity:.09}
:is(.light,[data-theme="light"]) .reveal .section-divider-art::after{background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 5%,transparent) 0%,transparent 52%,color-mix(in srgb,var(--bg) 42%,transparent) 100%)}
/* A soft halo behind the title (dark: accent glow; light: a paper highlight) sits just above the canvas centre,
   where the optical centre of the kicker–title–rule stack lands. */
.reveal .section-divider::before{content:'';position:absolute;left:50%;top:47%;width:1500px;height:760px;transform:translate(-50%,-50%);background:radial-gradient(closest-side,color-mix(in srgb,var(--accent) 9%,transparent),color-mix(in srgb,var(--lilac) 4%,transparent) 55%,transparent);pointer-events:none;z-index:0}
:is(.light,[data-theme="light"]) .reveal .section-divider::before{background:radial-gradient(closest-side,#ffffffd9,#ffffff66 55%,transparent)}
.reveal .section-divider-inner{
  position:absolute;
  inset:0;
  padding:96px 144px 140px;
  z-index:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:34px;
  text-align:center;
}
.reveal .section-kicker{display:flex;align-items:center;justify-content:center;gap:.5em;font:700 27px/1 Inter,sans-serif;letter-spacing:.32em;text-transform:uppercase;color:var(--accent);font-variant-numeric:tabular-nums;margin-right:-.32em}
.reveal .section-kicker::before,.reveal .section-kicker::after{content:'';width:120px;height:2px;margin:0 .9em;border-radius:2px}
.reveal .section-kicker::before{background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--accent) 70%,transparent));margin-left:0}
.reveal .section-kicker::after{background:linear-gradient(90deg,color-mix(in srgb,var(--lilac) 70%,transparent),transparent)}
.reveal .section-kicker .section-number{color:var(--ink);text-shadow:0 0 22px color-mix(in srgb,var(--accent) 55%,transparent)}
.reveal .section-kicker .section-total{color:var(--dim)}
:is(.light,[data-theme="light"]) .reveal .section-kicker .section-number{color:var(--accent);text-shadow:none}
.reveal h2.section-title{max-width:1440px;margin:0;font-size:112px;line-height:1.1;letter-spacing:-.03em;text-wrap:balance;overflow-wrap:anywhere;text-shadow:0 2px 30px color-mix(in srgb,var(--bg) 80%,transparent)}
:is(.light,[data-theme="light"]) .reveal h2.section-title{text-shadow:none}
.reveal .section-rule{width:96px;height:5px;border-radius:5px;margin-top:6px;background:linear-gradient(90deg,var(--accent),var(--lilac));box-shadow:0 0 18px color-mix(in srgb,var(--accent) 45%,transparent)}
:is(.light,[data-theme="light"]) .reveal .section-rule{box-shadow:none}

/* Reveal Overview thumbnail grid polish. HypoDoc's vendor/slides.css sets `.reveal [hidden]{display:none!important}`,
   which overrides Reveal's inline `display:block` on non-present slides in overview mode; restore them here. */
.reveal.overview .slides>section[hidden]:not([style*="display: none"]){display:block!important}
.reveal.overview .slides>section.hypo-cover[hidden]:not([style*="display: none"]){display:flex!important}
.reveal.overview .slides section{outline:2px solid var(--line);border-radius:12px;box-shadow:0 12px 36px var(--shadow)}
.reveal.overview .slides section:hover{outline:4px solid var(--accent)}
.reveal.overview .slides section.present{outline:5px solid var(--accent);box-shadow:0 0 0 6px color-mix(in srgb,var(--accent) 28%,transparent),0 18px 48px var(--shadow)}

/* Deck navigation (deck-nav.js). Screen-pixel chrome outside the scaled 1920 × 1080 canvas: a floating toolbar in the
   top-right corner (over the header artwork, clear of the eyebrow and title), a progress bar split by chapter along the bottom edge, a contents drawer and a shortcuts dialog.
   HypoDoc's palette toggle stays in the DOM (the theme button clicks it) but is hidden, as is Reveal's progress line. */
body.deck-nav-ready :is(.palette-toggle,.hypo-palette-toggle){visibility:hidden;pointer-events:none}
body.deck-nav-ready .reveal .progress{display:none!important}
.deck-toolbar{position:fixed;top:12px;right:12px;z-index:1000;display:flex;align-items:center;gap:2px;max-width:calc(100vw - 24px);padding:4px;border:1px solid color-mix(in srgb,var(--line) 85%,transparent);border-radius:999px;background:color-mix(in srgb,var(--band) 80%,transparent);-webkit-backdrop-filter:blur(12px) saturate(1.3);backdrop-filter:blur(12px) saturate(1.3);box-shadow:0 6px 24px var(--shadow);color:var(--ink);font:600 13px/1 Inter,system-ui,sans-serif;opacity:.48;transition:opacity .2s}
.deck-toolbar:is(:hover,:has(:focus-visible)),body.deck-dialog-open .deck-toolbar,body.deck-overview-open .deck-toolbar{opacity:1}
.deck-tool{display:inline-flex;flex:none;align-items:center;justify-content:center;gap:6px;height:34px;min-width:34px;padding:0 8px;border:0;border-radius:999px;background:none;color:inherit;font:inherit;text-decoration:none;white-space:nowrap;cursor:pointer;transition:background .15s,color .15s}
.deck-tool:is(:hover,:focus-visible){outline:none;background:color-mix(in srgb,var(--accent) 16%,transparent);color:var(--accent)}
.deck-tool:focus-visible{box-shadow:inset 0 0 0 2px var(--accent)}
.deck-tool:disabled{opacity:.35;cursor:default;background:none;color:inherit}
.deck-tool svg{display:block;flex:none;width:18px;height:18px}
.deck-tool[aria-pressed=true]{color:var(--accent)}
.deck-tool[hidden]{display:none}
a.deck-back{padding:0 12px 0 8px}
.deck-sep{flex:none;width:1px;height:20px;margin:0 4px;background:var(--line)}
.deck-theme .i-sun,:root:is(.light,[data-theme="light"]) .deck-theme .i-moon,.deck-fullscreen[aria-pressed=true] .i-expand,.deck-fullscreen .i-shrink{display:none}
:root:is(.light,[data-theme="light"]) .deck-theme .i-sun,.deck-fullscreen[aria-pressed=true] .i-shrink{display:block}
.deck-counter{flex:none;padding:0 8px;font-variant-numeric:tabular-nums;letter-spacing:.04em;color:var(--muted)}.deck-counter b{color:var(--ink);font-weight:700}
.deck-tool.deck-section-pill{min-width:0;flex:0 1 auto;max-width:260px;height:26px;margin:0 4px 0 2px;padding:0 12px;background:color-mix(in srgb,var(--accent) 12%,transparent);color:var(--accent);font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.deck-section-pill span{overflow:hidden;text-overflow:ellipsis}
.deck-step-btn{display:none}
@media (max-width:900px),(pointer:coarse){
  .deck-toolbar{opacity:1}.deck-tool.deck-step-btn{display:inline-flex}.deck-back-label,.deck-tool.deck-section-pill{display:none}
}
@media (pointer:coarse){.deck-tool{height:40px;min-width:40px}}
@media (max-width:420px){.deck-toolbar{right:6px;top:6px;max-width:calc(100vw - 12px)}.deck-tool{padding:0 4px}.deck-sep{margin:0 1px}.deck-counter{padding:0 2px}}

.deck-progress{position:fixed;left:0;right:0;bottom:0;z-index:999;display:flex;align-items:flex-end;height:12px;cursor:pointer;-webkit-tap-highlight-color:transparent}
.deck-progress-track{display:flex;gap:3px;width:100%;height:4px;transition:height .18s}
.deck-progress:hover .deck-progress-track{height:7px}
.deck-progress-seg{position:relative;flex:1 1 0;min-width:4px;overflow:hidden;background:color-mix(in srgb,var(--ink) 14%,transparent);transition:background .15s}
.deck-progress-seg>i{position:absolute;inset:0;transform:scaleX(var(--fill,0));transform-origin:left;background:color-mix(in srgb,var(--accent) 50%,var(--muted));transition:transform .45s cubic-bezier(.26,.86,.44,.985)}
.deck-progress-seg.is-current{background:color-mix(in srgb,var(--accent) 22%,transparent)}
.deck-progress-seg.is-current>i{background:linear-gradient(90deg,var(--accent),var(--lilac))}
.deck-progress-seg.is-hover{background:color-mix(in srgb,var(--ink) 30%,transparent)}
.deck-progress-tip{position:fixed;left:0;bottom:20px;z-index:1001;max-width:min(600px,calc(100vw - 16px));padding:7px 13px;border:1px solid var(--line);border-radius:999px;background:color-mix(in srgb,var(--band) 94%,transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 8px 26px var(--shadow);color:var(--ink);font:600 12.5px/1.3 Inter,system-ui,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none;opacity:0;transform:translate(-50%,4px);transition:opacity .12s,transform .12s}
.deck-progress-tip.is-visible{opacity:1;transform:translate(-50%,0)}
.deck-progress-tip b{font-weight:700;letter-spacing:.04em;color:var(--accent)}
.deck-progress-tip span{color:var(--dim);font-variant-numeric:tabular-nums}

.deck-dialog{box-sizing:border-box;padding:0;border:1px solid var(--line);background:var(--panel);color:var(--ink);font:15px/1.45 Inter,system-ui,sans-serif;box-shadow:0 24px 80px var(--shadow)}
.deck-dialog::backdrop{background:#000a;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}
.deck-dialog-head{display:flex;align-items:center;gap:12px;padding:18px 14px 12px 20px}
.deck-dialog-head>div{flex:1;min-width:0}
.deck-dialog-head small{display:block;margin-bottom:4px;font:700 11px/1.2 'Cascadia Mono',ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.14em;text-transform:uppercase;color:var(--accent)}
.deck-dialog-head h2{margin:0;font:700 18px/1.3 'Noto Serif',Georgia,serif;color:var(--ink)}
.deck-close{display:flex;flex:none;align-items:center;justify-content:center;width:34px;height:34px;padding:0;border:1px solid var(--line);border-radius:50%;background:none;color:var(--muted);cursor:pointer}
.deck-close:is(:hover,:focus-visible){outline:none;border-color:var(--accent);color:var(--accent)}.deck-close svg{width:18px;height:18px}

.deck-toc{position:fixed;inset:0 0 0 auto;width:min(440px,100vw);max-width:100vw;height:100%;max-height:100%;margin:0;border-width:0 0 0 1px;border-radius:16px 0 0 16px;overflow:hidden}
.deck-toc[open]{display:flex;flex-direction:column;animation:deck-drawer-in .22s ease-out}
@keyframes deck-drawer-in{from{opacity:0;transform:translateX(28px)}}
.deck-toc-search{position:relative;display:block;margin:0 16px 10px}
.deck-toc-search svg{position:absolute;left:11px;top:50%;width:17px;height:17px;transform:translateY(-50%);color:var(--dim);pointer-events:none}
.deck-toc-search input{width:100%;height:38px;padding:0 12px 0 36px;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--ink);font:inherit;font-size:14px}
.deck-toc-search input::placeholder{color:var(--dim)}
.deck-toc-search input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 22%,transparent)}
.deck-toc-list{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:2px 10px 24px;border-top:1px solid var(--line)}
.deck-toc-chapter{margin:4px 0;border-radius:12px}
.deck-toc-chapter.is-active{background:color-mix(in srgb,var(--accent) 6%,transparent)}
.deck-toc-chapter-head{display:flex;align-items:center;gap:4px;padding-right:6px}
.deck-toc-chapter-toggle{display:grid;flex:1;min-width:0;grid-template-columns:14px 24px minmax(0,1fr) auto;align-items:center;gap:8px;padding:10px 8px;border:0;border-radius:10px;background:none;color:var(--ink);font:700 14.5px/1.3 Inter,system-ui,sans-serif;text-align:left;cursor:pointer}
.deck-toc-chapter-toggle:is(:hover,:focus-visible){outline:none;color:var(--accent)}.deck-toc-chapter-toggle:focus-visible{box-shadow:inset 0 0 0 2px var(--accent)}
.deck-toc-chapter-toggle svg{width:14px;height:14px;color:var(--dim);transition:transform .18s}
.deck-toc-chapter-toggle[aria-expanded=true] svg{transform:rotate(90deg)}
.deck-toc-num{font:700 12px/1 'Cascadia Mono',ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:var(--accent)}
.deck-toc-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.deck-toc-count{min-width:22px;padding:3px 7px;border-radius:999px;background:color-mix(in srgb,var(--ink) 9%,transparent);color:var(--muted);font:600 11.5px/1 Inter,system-ui,sans-serif;font-variant-numeric:tabular-nums;text-align:center}
.deck-toc-jump{flex:none;padding:5px 10px;border:1px solid var(--line);border-radius:999px;background:none;color:var(--muted);font:600 12px/1.2 Inter,system-ui,sans-serif;white-space:nowrap;cursor:pointer;opacity:0;transition:opacity .15s}
.deck-toc-chapter:is(:hover,:focus-within,.is-active) .deck-toc-jump{opacity:1}
.deck-toc-jump:is(:hover,:focus-visible){outline:none;border-color:var(--accent);color:var(--accent)}
.deck-toc-slides{margin:0;padding:0 0 8px 30px;list-style:none}
.deck-toc-item{display:grid;grid-template-columns:2.2em minmax(0,1fr);gap:8px;width:100%;padding:6px 10px;border:0;border-radius:8px;background:none;color:var(--muted);font:14px/1.35 Inter,system-ui,sans-serif;text-align:left;cursor:pointer}
.deck-toc-item>span:first-child{color:var(--dim);font-size:12.5px;font-variant-numeric:tabular-nums;text-align:right}
.deck-toc-item:is(:hover,:focus-visible){outline:none;background:color-mix(in srgb,var(--accent) 12%,transparent);color:var(--ink)}
.deck-toc-item:focus-visible{box-shadow:inset 0 0 0 2px var(--accent)}
.deck-toc-item[aria-current=page]{background:color-mix(in srgb,var(--accent) 16%,transparent);box-shadow:inset 3px 0 var(--accent);color:var(--ink);font-weight:700}
.deck-toc-item[aria-current=page]>span:first-child{color:var(--accent)}
.deck-toc-cover{margin:6px 0 8px;padding:0 0 8px;border-bottom:1px solid var(--line)}.deck-toc-cover .deck-toc-item{padding:8px 10px;color:var(--ink)}
.deck-toc-trail{margin:10px 0 4px;padding-top:8px;border-top:1px solid var(--line)}
.deck-toc-group-label{padding:6px 10px 4px;font:700 11px/1.2 'Cascadia Mono',ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.12em;text-transform:uppercase;color:var(--dim)}
.deck-toc-trail .deck-toc-slides{padding:0 0 4px}.deck-toc-trail .deck-toc-item{padding:7px 10px;color:var(--ink)}
.deck-toc-empty{margin:0;padding:28px 12px;color:var(--muted);text-align:center}
.deck-toc [hidden]{display:none}

.deck-help{width:min(420px,calc(100vw - 32px));border-radius:16px}
.deck-help[open]{animation:deck-pop-in .18s ease-out}
@keyframes deck-pop-in{from{opacity:0;transform:translateY(8px) scale(.98)}}
.deck-help dl{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:10px 18px;margin:0;padding:6px 22px 22px}
.deck-help dt{display:flex;justify-content:flex-end;gap:4px}
.deck-help dd{margin:0;color:var(--muted)}
.deck-help kbd{display:inline-flex;align-items:center;justify-content:center;min-width:26px;height:26px;padding:0 7px;border:1px solid var(--line);border-bottom-width:2px;border-radius:6px;background:var(--panel-top);color:var(--ink);font:600 12.5px/1 'Cascadia Mono',ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}

@media (prefers-reduced-motion:reduce){.deck-toolbar,.deck-tool,.deck-progress-track,.deck-progress-seg>i,.deck-progress-tip,.deck-toc[open],.deck-help[open]{transition:none;animation:none}}
@media print{.deck-toolbar,.deck-progress,.deck-progress-tip{display:none!important}}
html.reveal-print :is(.deck-toolbar,.deck-progress,.deck-progress-tip){display:none!important}

/* Tables: card surface, header band, horizontal row rules, monospace code and tabular digits.
   Excludes interactive custom-element widgets and highlight.js line-number tables. */
.reveal .table{margin:26px 0 34px}.reveal .table:first-child{margin-top:0}.reveal .table:last-child{margin-bottom:0}.reveal .table>pre.yaml{display:none}
.reveal :is(.slide-content,.hypo-slide-content) table:where(:not(:is(.widget-host,.hypo-widget)>:first-child *,.hljs *)){border-collapse:separate;border-spacing:0;width:auto!important;max-width:100%;margin:26px auto 34px;background:linear-gradient(var(--panel-top),var(--panel));border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 26px var(--shadow);overflow:hidden;font-size:33px;line-height:1.35;font-variant-numeric:tabular-nums;color:var(--ink)}
.reveal :is(.slide-content,.hypo-slide-content) .table>table:where(:not(:is(.widget-host,.hypo-widget)>:first-child *,.hljs *)){margin:0 auto}
.reveal :is(.slide-content,.hypo-slide-content) table:where(:not(:is(.widget-host,.hypo-widget)>:first-child *,.hljs *)) col{width:auto!important}
.reveal :is(.slide-content,.hypo-slide-content) :is(th,td):where(:not(:is(.widget-host,.hypo-widget)>:first-child *,.hljs *)){padding:17px 34px;text-align:left;vertical-align:middle}
.reveal :is(.slide-content,.hypo-slide-content) thead th:where(:not(:is(.widget-host,.hypo-widget)>:first-child *,.hljs *)){padding:17px 34px;background:color-mix(in srgb,var(--accent) 11%,var(--panel-top));border-bottom:2px solid color-mix(in srgb,var(--accent) 38%,var(--line));font-weight:700;color:var(--ink);white-space:nowrap}
.reveal :is(.slide-content,.hypo-slide-content) tbody tr:not(:last-child) td:where(:not(:is(.widget-host,.hypo-widget)>:first-child *,.hljs *)){border-bottom:1px solid var(--line)}
.reveal :is(.slide-content,.hypo-slide-content) tbody tr:last-child td:where(:not(:is(.widget-host,.hypo-widget)>:first-child *,.hljs *)){border-bottom:0}
.reveal :is(.slide-content,.hypo-slide-content) td:first-child:where(:not(:is(.widget-host,.hypo-widget)>:first-child *,.hljs *)){white-space:nowrap}
.reveal :is(.slide-content,.hypo-slide-content) table:where(:not(:is(.widget-host,.hypo-widget)>:first-child *,.hljs *)) :is(code,.math,.katex){white-space:nowrap}
.reveal :is(.slide-content,.hypo-slide-content) table:where(:not(:is(.widget-host,.hypo-widget)>:first-child *,.hljs *)) code{font-family:'Cascadia Mono','Cascadia Code',ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.95em;font-variant-ligatures:none}
.reveal :is(.slide-content,.hypo-slide-content) .table:is([density=compact],[data-density=compact]) table:where(:not(:is(.widget-host,.hypo-widget)>:first-child *,.hljs *)){font-size:30px;line-height:1.3}
.reveal :is(.slide-content,.hypo-slide-content) .table:is([density=compact],[data-density=compact]) :is(th,td):where(:not(:is(.widget-host,.hypo-widget)>:first-child *,.hljs *)){padding:11px 26px}
