.reveal { font-size: 34px; }
.reveal h1 { font-size: 2.15em; }
.reveal h2 { font-size: 1.65em; }
.reveal h3, .reveal h4 { font-size: 1.4em; }
.reveal p { margin: .5em 0; }
.reveal section img { border: 0; box-shadow: none; background: none; margin: .25em 0; max-height: 470px; }
.reveal .figure { margin: 0; }
.reveal .figure p { margin: 0; }
.reveal .figure-number { display: none; }
/* Align the nonconvex and rounded bodies; match the triangle's height and origin. */
.reveal .slides section.plank-slide { top: 0 !important; height: 720px; padding: 0; --plank-scale: .52; --plank-x: 610px; --plank-y: 370px; }
/* Title and caption sit a little in from the top and bottom edges. */
.reveal .plank-slide h3, .reveal .plank-slide h4 { margin: 28px 0 0; }
.reveal .plank-slide img { position: absolute; margin: 0; max-width: none; max-height: none; }
.reveal .plank-slide img.plank-not-convex { left: calc(var(--plank-x) - 232px * var(--plank-scale)); top: calc(var(--plank-y) - 307px * var(--plank-scale)); width: calc(687px * var(--plank-scale)); height: calc(520px * var(--plank-scale)); }
.reveal .plank-slide img.plank-rounded { left: calc(var(--plank-x) - 504px * var(--plank-scale)); top: calc(var(--plank-y) - 560px * var(--plank-scale)); width: calc(1149px * var(--plank-scale)); height: calc(1070px * var(--plank-scale)); }
.reveal .plank-slide img.plank-triangle { --triangle-scale: calc(var(--plank-scale) * 1070 / 1180); left: calc(var(--plank-x) - 577px * var(--triangle-scale)); top: calc(var(--plank-y) - 599px * var(--triangle-scale)); width: calc(1253px * var(--triangle-scale)); height: calc(1180px * var(--triangle-scale)); }
.reveal .plank-slide > p { position: absolute; bottom: 28px; left: 0; width: 100%; margin: 0; font-size: .9em; }
.reveal .plank-slide .MathJax_Display { margin: 0 !important; }
.reveal pre { width: fit-content; max-width: 96%; box-shadow: none; font-size: .72em; line-height: 1.4; text-align: left; background: #e5e6df; padding: 18px 24px; box-sizing: border-box; border-left: 4px solid #55786b; }
.reveal pre code { max-height: 420px; padding: 0; }
/* Eight lines keep both panels aligned; center the six-line statement. */
/* The audit pair's two blocks are drawn as one box, so they share a fixed width (its longest line is 66 columns). */
.reveal .audit-slide pre { width: calc(67ch + 52px); }
/* The float specification's longest line is 70 columns. */
.reveal .spec-audit pre { width: calc(71ch + 52px); padding-top: 12px; padding-bottom: 12px; }
.reveal .spec-audit .small { margin: .45em 0 0; }
.reveal .audit-slide pre code { max-height: none; overflow: visible; }
/* Definitions and theorem are two blocks drawn as one box; the first slide keeps the definitions' space but hides them. */
.reveal .audit-slide .audit-defs pre { margin-bottom: 0; }
.reveal .audit-slide .audit-defs + .org-src-container pre, .reveal .audit-slide .audit-defs + pre { margin-top: 0; }
/* The definitions open as a drawer above the theorem; the two boxes overlap by a hair so no line of slide colour shows between them. */
.reveal .audit-slide .fragment.drawer + .org-src-container pre, .reveal .audit-slide .fragment.drawer + pre { margin-top: -2px; padding-top: 14px; }
.reveal .audit-slide .fragment.drawer { margin-top: 20px; }
.reveal .audit-slide .drawer .audit-defs pre { margin-top: 0; }
.reveal .audit-slide .audit-caption { width: 16em; margin: .5em auto; text-align: left; white-space: nowrap; }
.reveal .small { font-size: .67em; color: #555; }
.reveal .source { font-size: 16px; color: #686862; margin-top: 10px; }
.reveal .source a, .reveal .credits-slide a { color: inherit; text-decoration: underline; text-decoration-color: rgba(104, 104, 98, .4); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.reveal .big { font-size: 1.5em; }
.reveal .accent { color: #356951; }
.reveal .cols { display: flex; gap: 48px; align-items: center; justify-content: center; }
.reveal .cols > * { flex: 1; min-width: 0; }
.reveal .cols img { width: 100%; object-fit: contain; }
.reveal .life { position: relative; display: block; height: 500px; }
.reveal .life > div { position: absolute; width: 240px; }
.reveal .life > div:nth-child(1) { left: 5%; top: 260px; }
.reveal .life > div:nth-child(2) { left: 35%; top: 110px; }
.reveal .life > div:nth-child(3) { right: 8%; top: 195px; }
.reveal .life-icons { height: 240px; display: flex; align-items: center; justify-content: center; }
.reveal .life-icons img { width: 195px; max-height: 220px; margin: 0; }
.reveal .life-stack { flex-direction: column; gap: 0; }
.reveal .life-stack img { width: 140px; flex-shrink: 0; position: relative; z-index: 1; }
.reveal .life-stack .life-emoji { margin-top: -32px; line-height: 1; }
.reveal .life-emoji { font-family: "Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji", sans-serif; font-size: 100px; line-height: 1.25; white-space: nowrap; }
.reveal .dialogue { position: relative; height: 475px; background: var(--r-background-color); }
.reveal .dialogue .zaz { position: absolute; width: 340px; left: var(--me-left); bottom: 0; max-height: 320px; }
/* Kevin stands on the right, mirrored so the two figures face each other. */
.reveal .dialogue .kevin { position: absolute; width: 340px; right: var(--other-right); bottom: 0; max-height: 320px; transform: scaleX(-1); }
/* His bubble sits above him with its tail pointing down at his head. */
.reveal .bubble.kevin-says { right: 60px; top: 30px; width: 380px; font-size: 32px; text-align: center; }
/* The tail leaves the bubble and slants down to the right, towards his mouth. */
.reveal .bubble.reply.kevin-says .bubble-tail { left: 238px; bottom: -119px; width: 92px; height: 122px; }
.reveal .dialogue .boar { position: absolute; width: 330px; right: var(--other-right); bottom: 30px; mix-blend-mode: multiply; transform: scaleX(-1); }
.reveal .bubble { position: absolute; border: 2px solid #333; border-radius: 40px; padding: 18px; background: #fff; box-sizing: border-box; }
.reveal .bubble-tail { position: absolute; overflow: visible; pointer-events: none; }
.reveal .bubble-tail path { fill: #fff; stroke: #333; stroke-width: 2; stroke-linejoin: round; }
.reveal .bubble.math .bubble-tail { left: 89px; bottom: -91px; width: 92px; height: 94px; }
/* Martin's tail slants down to the right, towards the boar's mouth. */
.reveal .bubble.reply .bubble-tail { left: 58px; bottom: -89px; width: 92px; height: 92px; }
.reveal .bubble.math { left: 175px; top: 0; width: 420px; height: 195px; }
.reveal .diagram-scatter { position: absolute; inset: 10px 12px; overflow: hidden; border-radius: 26px; }
/* Each diagram is an <image> rotated inside its own axis-aligned <svg>: a CSS-rotated <img> is rasterised at layout size and looks blurry in Firefox. */
.reveal .diagram-scatter svg { position: absolute; width: var(--size, 90px); height: var(--size, 90px); margin: 0; overflow: visible; transform: translate(-50%, -50%); }
.reveal .diagram-scatter svg:nth-child(1) { left: 15%; top: 31%; --size: 88px; }
.reveal .diagram-scatter svg:nth-child(2) { left: 49%; top: 31%; --size: 94px; }
.reveal .diagram-scatter svg:nth-child(3) { left: 83%; top: 32%; }
.reveal .diagram-scatter svg:nth-child(4) { left: 33%; top: 69%; }
.reveal .diagram-scatter svg:nth-child(5) { left: 68%; top: 69%; }
.reveal .bubble.reply { right: 125px; top: 35px; width: 440px; font-size: 32px; }
.reveal .portrait-label { position: absolute; bottom: 0; font-size: 24px; white-space: nowrap; }
/* Where the two figures stand. Their name labels are centred under them from the same two numbers, so moving
   a figure moves its label. (The drawn figure is centred 178.5px into its 340px box; the boar 165px into its 330px.) */
.reveal .dialogue { --me-left: 50px; --other-right: 90px; }
.reveal .dialogue.close { --me-left: 285px; --other-right: 285px; }
.reveal .portrait-label.me { left: calc(var(--me-left) + 169px); transform: translateX(-50%); }
.reveal .portrait-label.kevin { right: calc(var(--other-right) + 168px); transform: translateX(50%); }
.reveal .portrait-label.martin { right: calc(var(--other-right) + 165px); transform: translateX(50%); }
.reveal .chart-frame { background: var(--r-background-color); margin: .25em auto; }
.reveal .chart { display: block; width: 1050px; height: 475px; object-fit: contain; margin: 0 auto; mix-blend-mode: multiply; }
.reveal .quote-frame { background: var(--r-background-color); }
.reveal .quote-post { display: block; width: 920px; max-height: 490px; object-fit: contain; margin: .25em auto; filter: contrast(1.05); mix-blend-mode: multiply; }
.reveal .slide-number { font: 26px Georgia, serif; top: 14px; left: 20px; bottom: auto; right: auto; background: none; color: #666; }
.reveal .warn { color: #a44737; }
.reveal .risk-line { display: flex; align-items: center; justify-content: center; gap: .6em; }
.reveal .cost-diagram { position: relative; width: 1100px; height: 350px; margin: .25em auto; }
.reveal .cost-diagram .figure { position: absolute; inset: 0; }
.reveal .cost-diagram img { display: block; width: 1100px; height: 350px; max-width: none; max-height: none; margin: 0; }
.reveal .cost-details { position: absolute; inset: 0; }
.reveal .cost-diagram :is(.cost-program, .cost-machine, .cost-result) { position: absolute; width: max-content; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; font-family: Georgia, "DejaVu Serif", serif; font-size: 28px; line-height: 1.25; text-align: left; color: #292a27; }
.reveal .cost-program { right: 775px; top: 175px; transform: translateY(-50%); }
.reveal .cost-machine { left: 790px; top: 87.5px; transform: translateY(-50%); }
.reveal .cost-result { left: 790px; top: 272.5px; transform: translateY(-.625em); }
.reveal .cost-diagram :is(.cost-program, .cost-machine, .cost-result) p { margin: 0; }
.reveal .improvement-loop { position: relative; width: 1100px; height: 390px; margin: .25em auto; font-family: Georgia, "DejaVu Serif", serif; font-size: 28px; line-height: 1.25; color: #292a27; }
.reveal .improvement-loop p { margin: 0; }
.reveal .improvement-loop .figure, .reveal .improvement-loop :is(.loop-proof-step, .loop-compiler-step, .loop-close) { position: absolute; inset: 0; }
.reveal .improvement-loop img { display: block; width: 1100px; height: 390px; max-width: none; max-height: none; margin: 0; }
.reveal .improvement-loop :is(.loop-database, .loop-proof, .loop-compiler) { position: absolute; width: max-content; }
.reveal .loop-database { left: 550px; top: 50px; transform: translate(-50%, -50%); }
.reveal .loop-proof { left: 780px; top: 315px; transform: translateY(-50%); }
.reveal .loop-compiler { right: 750px; top: 315px; transform: translateY(-50%); }
.reveal .robot-scene { position: relative; width: 1100px; height: 445px; margin: 0 auto; }
.reveal .robot-scene > .figure { position: absolute; inset: 0; }
.reveal .robot-scene > .figure img { width: 1100px; height: 470px; margin: 0; }
.reveal .robot-left, .reveal .robot-right { position: absolute; top: 5px; width: 260px; height: 405px; overflow: hidden; mask-image: linear-gradient(to bottom, black 85%, transparent); }
.reveal .robot-left { left: 70px; }
.reveal .robot-right { right: 70px; }
.reveal .robot-left img, .reveal .robot-right img { position: absolute; top: 0; max-width: none; max-height: none; height: auto; margin: 0; }
.reveal .robot-left img { left: 0; width: 248px; }
.reveal .robot-right img { left: -90px; width: 440px; }
@media print { .reveal .fragment { opacity: 1 !important; visibility: visible !important; } }

.reveal .plank-viz-slide { padding: 0; }
.reveal .plank-viz-slide > h3, .reveal .plank-viz-slide > h4 { display: none; }
.reveal .plank-viz-slide { height: 720px; overflow: hidden; }
/* The widget is laid out at the 1280x800 the website used, then scaled to the slide. */
.reveal .plank-native { transform: scale(.9); transform-origin: top center; }
.reveal .credits-slide ul { display: block; width: 1120px; margin: .3em auto 0; padding-left: 1em; font-size: 19px; line-height: 1.4; text-align: left; }
.reveal .credits-slide li { margin: .16em 0; }
/* Two lists: research and software people may want to follow up, then a rule, then image and logo credits, small and quiet. */
.reveal .credits-slide ul:first-of-type { font-size: 23px; line-height: 1.38; }
.reveal .credits-slide ul:first-of-type li { margin: .3em 0; }
.reveal .credits-slide hr { width: 1120px; margin: 20px auto 12px; border: 0; border-top: 1px solid #c4c4bb; }
.reveal .credits-slide ul:last-of-type { font-size: 13.5px; line-height: 1.34; color: #77776f; column-count: 2; column-gap: 40px; list-style: none; padding-left: 0; }
.reveal .credits-slide ul:last-of-type li { margin: 0 0 .28em; break-inside: avoid; }
.reveal #sec-title-slide .subtitle { font-size: 1.5em; color: var(--r-heading-color); margin: .1em 0 1em; }
.reveal #sec-title-slide .author { font-size: 1.05em; color: #555; }
.reveal .zx-pair { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 470px; margin: 0 auto .5em; background: var(--r-background-color); }
.reveal .zx-pair img { margin: 0; max-width: none; max-height: none; }
.reveal .zx-pair .zx-monitor { height: 300px; }
.reveal .zx-pair .zx-computer { height: 200px; margin-top: -22px; mix-blend-mode: multiply; }
.reveal .site-slide { padding: 0; }
.reveal .site-slide > h3, .reveal .site-slide > h4 { display: none; }
/* Website slides: the page is a full-window background iframe. It is always laid out 2560 px wide (what a
   4K screen gave at the old fixed 1.5x zoom) and scaled to fit, so it looks the same on any screen.
   --site-scale is the window's width / 2560, set by vendor/sites/site-scroll.js. */
.reveal .slide-background-content iframe { width: calc(100% / var(--site-scale, 1.5)) !important; height: calc(100% / var(--site-scale, 1.5)) !important; max-width: none !important; max-height: none !important; transform: scale(var(--site-scale, 1.5)); transform-origin: 0 0; }
.reveal #sec-title-slide .title-logo { display: block; height: 190px; margin: .5em auto .6em; }
/* Lean syntax colours, added at export time by scripts/highlight_lean.py. */
.reveal pre .lean-kw { color: #9a4b2b; }
.reveal pre .lean-decl { color: #1f1f1f; font-weight: bold; }
.reveal pre .lean-field { color: #3f6a5b; font-weight: bold; }
.reveal pre .lean-type { color: #306998; }
.reveal pre .lean-num { color: #8a6d1a; }
.reveal pre .lean-comment { color: #8a8a82; font-style: italic; }
.reveal pre .lean-dim { opacity: .15; }
/* "Brute force the triangle?": the triangle sits exactly where the gap-cells slide draws its triangle (same 12 degree tilt,
   0.635293 slide px per figure unit), and the title matches that slide's title, so the automatic fade between them is seamless.
   The motion is generated into img/plank/brute-force-scene.html by scripts/make_brute_force_scene.py. */
.reveal .slides section.bf-slide { top: 0 !important; height: 720px; padding: 0; }
/* During the smash the deck has already moved on (so the speaker notes have too); this slide is held on screen and the next held back. */
.reveal .slides section.bf-slide.bf-holding { display: block !important; visibility: visible !important; opacity: 1 !important; }
.reveal .slides section.bf-waiting { opacity: 0 !important; }
.reveal .bf-slide > h4 { position: absolute; left: 153.27px; top: 46.07px; width: 959.96px; margin: 0; font: 400 43.52px/47px Georgia, serif; letter-spacing: -1.088px; color: rgb(56, 61, 61); text-transform: none; }
.reveal .bf-stage { position: absolute; left: 0; top: 0; width: 1280px; height: 720px; }
.reveal .bf-scene { position: absolute; left: -0.477px; top: 0.329px; width: 796.02px; height: 749.65px; overflow: visible; }
/* Headless CMS slide: the stack as a row of logos joined by arrows. */
.reveal .stack-row { display: flex; align-items: flex-start; justify-content: center; gap: 22px; margin: 1.1em 0 1em; }
.reveal .stack-row figure { margin: 0; width: 210px; display: flex; flex-direction: column; align-items: center; }
.reveal .stack-row img { width: 120px; height: 120px; margin: 0 0 14px; object-fit: contain; }
.reveal .stack-row b { font-size: .8em; }
.reveal .stack-row span { font-size: .6em; opacity: .7; }
.reveal .stack-row i { width: 90px; height: 120px; display: flex; align-items: center; color: #6b6b63; }
.reveal .stack-row i svg { width: 90px; height: 30px; }
/* Cook the slop: the proof-shrinking video fills the slide under the title. */
.reveal .cook-video { display: block; height: 500px; max-width: 100%; margin: .3em auto 0; }
/* Ask, don't demand: the same problem put as a question and as an order. */
.reveal .ask-demand { display: flex; justify-content: center; gap: 70px; margin-top: 1em; }
.reveal .ask-demand > div { width: 470px; display: grid; grid-template-rows: 3.6em auto auto auto; justify-items: center; }
/* The two prompts differ in length; each gets the same height, text resting on its bottom edge, so the big numbers line up. */
.reveal .ask-demand q { quotes: "“" "”"; font-size: .95em; margin-bottom: .7em; display: block; align-self: end; text-align: center; line-height: 1.25; }
.reveal .ask-demand b { font-size: 2.2em; line-height: 1.1; }
.reveal .ask-demand span { font-size: .6em; opacity: .7; margin-bottom: 1em; }
.reveal .ask-demand em { font-size: .7em; line-height: 1.3; }
/* Excerpts from the dissertation (transparent PNGs), two side by side. */
.reveal .paper-pair { display: flex; align-items: flex-start; justify-content: center; gap: 44px; margin-top: .6em; }
.reveal .paper-pair img { width: 580px; margin: 0; }
/* Ask, don't demand: a whole answer set in columns; the slide zooms in on its start, out, then in on its end (vendor/ask/ask.js). */
.reveal .answer-step { display: none; }
.reveal .answer-view { position: relative; width: 1160px; height: 560px; margin: 14px auto 0; overflow: hidden; text-align: left; }
.reveal .answer-doc { width: 1160px; height: 560px; column-count: 3; column-gap: 40px; column-fill: auto; font: 400 9px/1.42 Georgia, serif; color: #1c1c1a; transform-origin: 0 0; transition: transform 1.3s cubic-bezier(.45, 0, .2, 1); transform: scale(var(--zoom, 3.1)); }
.reveal .answer-view[data-state="out"] .answer-doc { transform: none; }
.reveal .answer-view[data-state="end"] .answer-doc { transform: translate(var(--end-x, 0), var(--end-y, 0)) scale(var(--zoom, 3.1)); }
.reveal .answer-doc h4 { font: 700 1.08em/1.3 Georgia, serif; margin: 1.1em 0 .45em; text-transform: none; letter-spacing: 0; color: inherit; break-after: avoid; }
.reveal .answer-doc h4:first-child { margin-top: 0; }
.reveal .answer-doc p { margin: 0 0 .75em; font-size: 1em; line-height: inherit; }
.reveal .answer-doc ul { display: block; margin: 0 0 .75em 1.3em; padding: 0; }
.reveal .answer-doc li { margin: 0 0 .25em; }
.reveal .answer-doc table { margin: .2em auto .9em; border-collapse: collapse; font-size: 1em; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; }
.reveal .answer-doc :is(th, td) { padding: .15em .7em; border: 0; text-align: left; font-weight: 400; }
.reveal .answer-doc thead { border-bottom: 1px solid currentColor; }
.reveal .answer-doc .MathJax_Display { margin: .5em 0 !important; }
/* "Higher-level" ladder: names centred on the slide's axis with an arrow between each pair; what that step stops you writing hangs to the right of the arrow in diff-style red. */
.reveal .ladder { display: grid; justify-items: center; margin: .4em auto .7em; }
.reveal .ladder b { font-weight: 400; font-size: 1em; line-height: 1.15; }
.reveal .ladder i { position: relative; display: block; font-style: normal; color: #77776f; margin: 5px 0; line-height: 0; }
.reveal .ladder i svg { display: block; width: 16px; height: 60px; }
.reveal .ladder .drop { position: absolute; left: calc(100% + 14px); top: calc(50% - 6px); transform: translateY(-50%); white-space: nowrap; font-size: .8em; line-height: 1.15; color: #b3261e; }
/* The Laffer slide draws its own title (it changes with the steps), so the exported heading is hidden. */
.reveal .laffer-slide > h3:not(.laffer-title) { display: none; }
/* Split transitions written by scripts/deck_tools.py. reveal.js has slide-in/slide-out but no fade-in/fade-out:
   a slide that fades out stays put when it becomes "past", and one that fades in waits in place while "future".
   Only the resting position is overridden. The transition list is left as reveal's own, so a slide that
   slides in (or slides back in) still animates its movement. */
.reveal .slides section[data-transition~="fade-out"].past,
.reveal .slides section[data-transition~="fade-in"].future { transform: none !important; }
/* CRDT slide: one code box. It starts with the class; the alias and the equivalence slide open below it. */
.reveal .crdt-slide pre { width: calc(68ch + 52px); max-width: none; margin: 0 auto; padding-top: 12px; padding-bottom: 12px; }
.reveal .crdt-slide .fragment, .reveal .crdt-slide .org-src-container { width: 100%; }
.reveal .crdt-slide > p { margin: .45em 0; }
/* Drawers (vendor/deck/drawer.js): a fragment that opens like a drawer while the slide's content re-centres. */
/* Only transforms move: nothing is laid out again while a drawer opens. The script gives every direct child of the slide its offset (--drawer-y) and every drawer the height it hides (--drawer-closed). All of them must keep the same duration and curve, or the pieces separate on the way. */
.reveal .slides section.drawer-slide > * { transform: translateY(var(--drawer-y, 0px)); transition: transform .7s ease; }
.reveal .slides section.drawer-slide > .fragment:not(.drawer) { transition: opacity .7s ease, visibility .7s, transform .7s ease; }
/* A drawer is a window of its full height that clips its contents. It does not fade: the contents are solid and are uncovered as the window and the contents move against each other. */
/* The contents stay with what is above them, and the window comes down over them from its closed place above. */
.reveal .slides section.drawer-slide > .fragment.drawer { display: flow-root; overflow: clip; opacity: 1; visibility: inherit; transform: translateY(calc(var(--drawer-y, 0px) - var(--drawer-closed, 0px))); transition: transform .7s ease; }
.reveal .slides section.drawer-slide > .fragment.drawer > .drawer-inner { transform: translateY(var(--drawer-closed, 0px)); transition: transform .7s ease; }
/* A drawer that opens upwards (class drawer-up): the contents stay with what is below them, so the last line comes out first. */
.reveal .slides section.drawer-slide > .fragment.drawer.drawer-up { transform: translateY(var(--drawer-y, 0px)); }
.reveal .slides section.drawer-slide > .fragment.drawer.drawer-up > .drawer-inner { transform: translateY(calc(-1 * var(--drawer-closed, 0px))); }
/* Offsets set outside a fragment step (arriving on the slide) apply at once. */
.reveal .slides section.drawer-slide.drawer-still > *, .reveal .slides section.drawer-slide.drawer-still > .drawer > .drawer-inner { transition: none !important; }
/* The tree under the trampoline: Twemoji's vector tree, sized like the emoji glyph it replaces. */
.reveal .life-stack img.life-tree { display: block; width: 118px; height: 118px; margin: -30px auto 0; }
/* Adjacent code boxes in a drawer overlap by a pixel, so scaling never leaves a hairline of slide colour between them. */
.reveal .crdt-slide .fragment.drawer { margin-top: -2px; }
.reveal .crdt-slide .drawer pre { padding-top: 14px; }
/* Schubfach skeleton: the paper's nested argument set small in two columns. The point is its density. */
.reveal .schubfach { column-count: 2; column-gap: 44px; text-align: left; font: 400 15.4px/1.36 Georgia, serif; color: #1c1c1a; margin-top: 10px; }
.reveal .schubfach p { margin: 0 0 .5em; font-size: 1em; line-height: inherit; }
.reveal .schubfach ul { display: block; margin: 0 0 0 1.3em; padding: 0; }
.reveal .schubfach ul ul { list-style: "– "; margin-left: 1.2em; }
.reveal .schubfach li { margin: 0 0 .28em; }
.reveal .schubfach code { font-size: .95em; }
/* A slide title that is a link keeps the title's colour, with a quiet underline. */
.reveal .slides section > :is(h2, h3, h4) a { color: inherit; text-decoration: underline; text-decoration-color: rgba(56, 61, 61, .3); text-decoration-thickness: 2px; text-underline-offset: 7px; }
/* The three-page proof, shown whole: no title, three pages across the slide. */
.reveal .slides section.paper-slide { top: 0 !important; height: 720px; padding: 0; }
.reveal .paper-slide > h3 { display: none; }
.reveal .paper-pages { display: flex; justify-content: center; align-items: center; gap: 18px; height: 664px; }
/* The link sits in the strip left under the pages. */
.reveal .paper-slide .paper-link { position: absolute; left: 0; right: 0; bottom: 12px; margin: 0; font-size: .8em; text-align: center; }
.reveal .paper-slide .paper-link a { color: #292a27; font-weight: 400; text-decoration: underline; text-decoration-color: rgba(56, 61, 61, .45); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.reveal .paper-pages img { height: 624px; width: auto; max-width: none; max-height: none; margin: 0; }
/* Ask, don't demand: phrases that are faint while zoomed in on the opening and return to full strength when the view zooms out. */
.reveal .answer-doc .answer-dim { opacity: .22; transition: opacity 1.3s ease; }
.reveal .answer-view[data-state="out"] .answer-dim, .reveal .answer-view[data-state="end"] .answer-dim { opacity: 1; }
/* The demand's answer: all but its proof-like landmarks at half strength. */
.reveal .answer-doc .answer-half { opacity: .5; }
/* Terms table: terms right-aligned against their definitions. */
.reveal .terms-slide :is(th, td):first-child { text-align: right !important; }
/* Ladder axis: a vertical axis beside the ladder, zero at Vericoding, rising to Assembly. No horizontal axis. */
.reveal .ladder { position: relative; }
.reveal .ladder-axis { position: absolute; left: calc(50% - 150px); top: 0; height: calc(3 * (1.15em + 70px) + .575em); width: 0; border-left: 2.5px solid #77776f; }
.reveal .ladder-axis::before { content: ""; position: absolute; left: -9.5px; top: -4px; border: 8.5px solid transparent; border-bottom: 16px solid #77776f; border-top: 0; }
.reveal .ladder-axis .zero { position: absolute; left: -34px; bottom: -.55em; font-size: .6em; color: #77776f; }
.reveal .ladder-axis .zero::after { content: ""; position: absolute; left: 24px; top: 50%; width: 18px; border-top: 2.5px solid #77776f; }
.reveal .ladder-axis .label { position: absolute; left: -30px; top: 50%; transform: translate(-50%, -50%) rotate(-90deg); white-space: nowrap; font-size: .74em; color: #77776f; }
/* Second axis: extensional properties. They are untouched from Assembly down to Vericoding (only the "how" goes),
   so this axis starts just under the first one's zero, in line with it, and runs on down past Management,
   fading out: it has no zero. */
.reveal .ladder-axis.ext { left: calc(50% - 150px); top: calc(3 * (1.15em + 70px) + .575em + 9px); height: 144px; width: 2.5px; border-left: 0; background: linear-gradient(#77776f 38%, rgba(119, 119, 111, 0)); }
.reveal .ladder-axis.ext .label { top: 59%; }
.reveal .ladder-axis.ext::before { left: -7px; }
/* A conversation at talking distance: both figures brought in towards the middle. */
.reveal .dialogue.close .bubble.kevin-says { right: 410px; }
/* Told Martin: my second bubble, words in place of the diagrams, in the same spot. */
/* Three short lines in a small bubble; its bottom edge stays where the tail expects it (top + height = 195). */
.reveal .bubble.math.plan { display: flex; align-items: center; justify-content: center; padding: 14px 22px; width: 330px; height: 150px; top: 45px; }
.reveal .bubble.math.plan p { margin: 0; font-size: 27px; line-height: 1.28; text-align: center; }
/* The boar is a group of two stacked engravings, the startled one on top. Inside the group they are drawn
   normally, so fading the top one in moves every pixel straight from its old value to its new one: no
   lightening halfway, and no seam, since both are whole images. The group as a whole is then multiplied
   onto the slide (which is what removes the engravings' white paper). */
.reveal .dialogue div.boar { margin-bottom: .25em; line-height: 0; }
.reveal .dialogue div.boar img { display: block; width: 100%; height: auto; max-width: none; max-height: none; margin: 0; }
.reveal .dialogue div.boar img + img { position: absolute; left: 0; top: 0; }
.reveal .dialogue div.boar img.fragment { transition: opacity .3s linear, visibility .3s; }
/* QuadParsers: two halves; the left holds the commutative diagram with the Lean definitions below it. */
.reveal .quad-cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; align-items: start; margin-top: 6px; }
.reveal .quad-left { display: flex; flex-direction: column; align-items: center; }
.reveal .quad-left img { width: 520px; max-width: 100%; max-height: none; margin: 0 0 12px; }
.reveal .quad-left pre { font-size: .51em; width: 100%; max-width: none; margin: 0; padding: 12px 18px; }
.reveal .quad-left .figure, .reveal .quad-left p { margin: 0; }
.reveal .quad-right { align-self: center; }
.reveal .quad-right .quad-big { margin: 0; font-size: 2.2em; font-weight: 700; line-height: 1.1; }
.reveal .quad-right .quad-split { margin: .5em 0 0; font-size: .62em; line-height: 1.5; opacity: .75; }
/* Who wrote which half: my figure in the slide's bottom-left corner, the Claude symbol in its bottom-right
   (left of the navigation arrows). The slide is full height so the corners are the slide's own. */
.reveal .slides section.quad-slide { top: 0 !important; height: 720px; padding: 34px 0 0; box-sizing: border-box; }
.reveal .quad-slide .quad-cols { position: static; }
.reveal .quad-slide img.quad-by { position: absolute; margin: 0; max-height: none; }
.reveal .quad-slide img.quad-by-me { left: -68px; bottom: -12px; height: 156px; }
/* The Claude symbol mirrors my figure, which puts it where the navigation arrows sit, so they are hidden on this slide. */
.quad-slide-showing .reveal .controls { display: none !important; }
.reveal .quad-right ul { display: block; margin: 0 0 0 1.1em; padding: 0; text-align: left; font-size: .68em; line-height: 1.3; }
.reveal .quad-right li { margin: 0 0 .75em; }
.reveal .quad-right code { font-size: .86em; background: #e5e6df; padding: .05em .3em; border-radius: 4px; }
.reveal .quad-right svg.quad-loop { display: block; width: 400px; margin: .45em 0 0; }
.reveal .quad-right svg.quad-loop .mono { font: 21px "DejaVu Sans Mono", Menlo, Consolas, monospace; fill: #1c1c1a; }
.reveal .quad-right svg.quad-loop .lab { font: 16px Georgia, serif; fill: #555; }
.reveal .quad-right svg.quad-loop .head { font: 14px Georgia, serif; letter-spacing: .08em; fill: #8a8a82; }
.reveal .quad-right .quad-example { display: block; margin-top: .55em; }
.reveal .quad-right svg.quad-loop .neq { fill: #b3261e; }
/* Bottom-right of the QuadParsers slide: Claude Code's spinner while the right half is hidden; the still symbol once it shows. */
.reveal .quad-slide div.quad-by-claude { position: absolute; right: -18px; bottom: 28px; width: 64px; height: 64px; }
.reveal .quad-slide div.quad-by-claude > * { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; max-height: none; transition: opacity .3s ease; }
/* The thinking animation is a vertical strip of 9 square frames, stepped through a square window. */
.reveal .quad-slide .claude-thinking { overflow: hidden; }
.reveal .quad-slide .claude-thinking img { display: block; width: 100%; height: auto; max-width: none; max-height: none; margin: 0; animation: claude-thinking-frames 810ms steps(9, jump-none) infinite; }
@keyframes claude-thinking-frames { from { transform: translateY(0); } to { transform: translateY(-88.8889%); } }
.reveal .quad-slide div.quad-by-claude > img { opacity: 0; }
.reveal .quad-slide div.quad-by-claude > .claude-thinking { height: 100%; }
.reveal .quad-slide div.quad-by-claude.done > img { opacity: 1; }
.reveal .quad-slide div.quad-by-claude.done > .claude-thinking { opacity: 0; }
/* Type checking and failure-mode slides: code boxes of one width; numbered points left-aligned. */
.reveal .types-slide pre, .reveal .fail-slide pre { width: calc(64ch + 52px); max-width: none; margin: 12px auto; }
.reveal .types-slide p { margin: .5em 0 0; font-size: .85em; }
.reveal .fail-slide .fail-point { width: 900px; margin: .7em auto .2em; text-align: left; font-size: .9em; }
/* An arrow with a word riding on it, for use inside a slide title: "AI slop --cook--> AI sauce". */
.reveal .title-arrow { display: inline-flex; flex-direction: column; align-items: center; vertical-align: middle; margin: 0 .25em; line-height: 1; }
.reveal .title-arrow > span { font-size: .5em; font-style: italic; margin-bottom: 2px; }
.reveal .title-arrow > svg { display: block; width: 150px; height: 16px; margin-bottom: .34em; }
/* Improvement loop: labels sit above the arrow drawings so their links can be clicked; links keep the label's colour. */
.reveal .improvement-loop :is(.loop-database, .loop-proof, .loop-compiler) { z-index: 2; }
.reveal .improvement-loop a { color: inherit; text-decoration: underline; text-decoration-color: rgba(56, 61, 61, .35); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
/* An example under a loop label, hung below it so the label itself stays where the arrows expect it. */
.reveal .improvement-loop .eg { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); white-space: nowrap; font-size: .8em; color: #77776f; margin-top: 2px; }
/* Questions slide: the snake wordmark, as on the title slide, then where to find me and the slides. */
.reveal .questions-slide img.questions-logo { display: block; height: 170px; margin: .3em auto .5em; }
.reveal .questions-slide .slides-link { font-size: .8em; }
.reveal .questions-slide a { color: inherit; text-decoration: underline; text-decoration-color: rgba(56, 61, 61, .35); text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
/* Seminar slide: logo and the three groups on the left, what to do on the right, the aim underneath. */
.reveal .seminar { display: grid; grid-template-columns: 380px 1fr; column-gap: 40px; align-items: center; margin-top: .5em; text-align: left; }
.reveal .seminar-left { display: flex; flex-direction: column; align-items: center; }
/* Room for two rows of groups on every version of the slide, so nothing moves when stepping between them. */
.reveal .seminar .groups { min-height: 118px; align-content: flex-start; }
.reveal .seminar-left img { height: 170px; margin: 0 0 .2em; max-height: none; }
.reveal .seminar-left p { margin: 0 0 .35em; font-size: .72em; }
.reveal .seminar .groups { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; margin: 0; max-width: 400px; }
.reveal .seminar .groups-4 { max-width: 270px; }
.reveal .seminar :is(.groups-5, .groups-6) b { font-size: .95em; }
.reveal .seminar .groups b { font-size: 1.05em; padding: .25em .55em; border: 2px solid #9db4c4; border-radius: 12px; }
.reveal ol.seminar-steps { display: block; margin: 0 0 0 1.2em; padding: 0; font-size: .78em; line-height: 1.3; }
.reveal ol.seminar-steps li { margin: 0 0 .32em; padding-left: .2em; }
.reveal .seminar-goal { margin: .9em 0 0; font-size: .82em; }

/* "Which one should improve itself?" (from sources/world-slide/world-slide.css). */
/* The fragment marker that drives it is invisible, and the inline SVG is laid
   out like the deck's 1100 px diagrams. */
.reveal .ws-step { display: none; }
.reveal svg.ws-scene { display: block; width: 1100px; max-width: 100%; height: auto; margin: .2em auto 0; overflow: visible; font-family: Georgia, "DejaVu Serif", serif; }

/* Candidate 1 (trust me / check me). Each box, with its loop and contents, grows about the middle of its own
   base (x = 0, y = 335 in its own coordinates), so it stays standing on the line its caption hangs from. */
.reveal .ws1 .unit { transform: translate(0, 335px) scale(1) translate(0, -335px); transition: transform .7s cubic-bezier(.3, 0, .2, 1); }
/* On the press: the dot takes one second to go round the loop, then the box grows. Stepping back shrinks it at once. */
.reveal .ws-step.visible ~ .ws1 .unit { transform: translate(0, 335px) scale(1.3) translate(0, -335px); transition-delay: 1s; }
/* The dot rides the loop's own path, which the generator writes on it as an inline offset-path. It is hidden at both ends. */
.reveal .ws1 .dot { offset-rotate: 0deg; offset-distance: 0%; opacity: 0; }
.reveal .ws-step.visible ~ .ws1 .dot { animation: ws1-lap 1s cubic-bezier(.4, 0, .6, 1) forwards; }
@keyframes ws1-lap { 0% { offset-distance: 0%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }

/* Progress indicator slide: what tells you it is getting there, beside what tells you it is right. */
.reveal table.progress-check { margin: .4em auto .6em; border-collapse: collapse; font-size: .9em; }
.reveal table.progress-check :is(th, td) { border: 0; padding: .35em .9em; text-align: left; }
.reveal table.progress-check thead th { font-weight: 700; border-bottom: 1.5px solid #9a9a92; }
.reveal table.progress-check td:first-child { color: #686862; text-align: right; }
.reveal ol.two-things { display: block; width: max-content; margin: .3em auto .9em; text-align: left; }
.reveal ol.two-things li { margin: .35em 0; }
.reveal .two-things-slide table.progress-check { font-size: .8em; color: #55554f; margin-bottom: .3em; }
.reveal .two-things-slide table.progress-check td:first-child { text-align: right; }
.reveal .two-things-slide table.progress-check + p { font-size: .8em; color: #55554f; }
/* The caption's tail arrives over the same .7s as the drawer it belongs to (reveal's default is .2s, which looked staggered). */
.reveal .slides section.drawer-slide .audit-caption .fragment { transition: opacity .7s ease, visibility .7s; }
/* The caption's "..." takes no room (a zero-width box on the baseline), so the words that replace it start where it stood; both change over the drawer's .7s. */
.reveal .slides section.drawer-slide .audit-caption .audit-dots { display: inline-block; width: 0; white-space: nowrap; vertical-align: baseline; }
.reveal .type-captions code { font-size: .88em; }
/* "Printing 0.1 + 0.2 in Lean": which printer, what it prints, what is wrong with it. */
.reveal table.floatfail { margin: .6em auto 0; border-collapse: collapse; font-size: .78em; text-align: left; }
.reveal table.floatfail td { border: 0; padding: .55em .7em; vertical-align: baseline; }
.reveal table.floatfail td:first-child { text-align: right; color: #686862; white-space: nowrap; }
.reveal table.floatfail td:nth-child(2) code { background: #e5e6df; padding: .15em .4em; border-radius: 5px; overflow-wrap: anywhere; }
.reveal table.floatfail td:nth-child(2) { max-width: 520px; }
.reveal table.floatfail td:last-child { white-space: nowrap; }
.reveal table.floatfail code { font-size: .86em; }
.reveal ol.two-things .sub { display: block; font-size: .8em; color: #55554f; margin: .25em 0 .5em; }
.reveal .two-things-slide p.pick { margin: 1em 0 0; font-size: .95em; }
/* The remedy stands apart from point 2: it answers both. */
.reveal .fail-slide .fail-remedy { margin: 2em 0 0; font-size: .95em; }
.reveal .slides section.fail-slide .fail-remedy a { color: inherit; text-decoration: underline; text-decoration-color: rgba(56, 61, 61, .4); text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
/* Bias slide: the claim, then (on a press) what to do about it. */
.reveal .bias-slide .redteam { margin-top: 1.4em; }
.reveal .bias-slide .redteam p { margin: .45em 0; font-size: .9em; }
.reveal .bias-slide .redteam .redteam-head { font-size: 1em; margin-bottom: .6em; }
/* A slide that is only a logo: no title, the mark in the middle. */
.reveal .logo-slide > :is(h2, h3, h4) { display: none; }
.reveal .logo-slide img { width: 760px; max-width: 80%; height: auto; max-height: 420px; margin: 0 auto; }
/* Management title slide: the ladder, faint except for one rung; then Management becomes the title. The real
   title keeps its place in the layout but is never shown: the ladder's own "Management" travels to it. */
.reveal .mgmt-step { display: none; }
.reveal .mgmt-slide > :is(h2, h3) { visibility: hidden; }
.reveal .mgmt-ladder > * { opacity: .22; transition: opacity .6s ease; }
.reveal .mgmt-ladder > .veri { opacity: 1; }
.reveal .mgmt-step[data-step="up"].visible ~ .mgmt-ladder > .veri { opacity: .22; }
.reveal .mgmt-ladder > .mgmt { transition: opacity .6s ease, transform .9s cubic-bezier(.4, 0, .2, 1), color .9s ease; transform-origin: 50% 50%; }
.reveal .mgmt-step[data-step="up"].visible ~ .mgmt-ladder > .mgmt { opacity: 1; }
.reveal .mgmt-step[data-step="title"].visible ~ .mgmt-ladder > :not(.mgmt) { opacity: 0; }
/* A rung of the ladder whose name changes on a press: both names share one cell and cross-fade. */
.reveal .ladder-step { display: none; }
.reveal .ladder .ladder-swap { display: grid; justify-items: center; }
.reveal .ladder .ladder-swap > span { grid-area: 1 / 1; transition: opacity .6s ease; }
.reveal .ladder .ladder-swap > .to { opacity: 0; }
.reveal .ladder-step.visible ~ .ladder .ladder-swap > .from { opacity: 0; }
.reveal .ladder-step.visible ~ .ladder .ladder-swap > .to { opacity: 1; }
/* Ladder after the ZX Spectrum: on the second press the rung under Python is replaced. The replacement sits
   over the same spot: directly under Python, as on the first ladder. */
.reveal .ladder .ladder-alt { position: absolute; left: 0; right: 0; top: calc(3 * 1.15em + 140px); display: grid; justify-items: center; }
/* Brute-force slide: its title is drawn by .bf-title (the heading Org writes, which also carries "brute
   force?" for the slide list, is hidden). On a press the question appears to the right of the triangle, in the
   space the next slide's text will take. */
.reveal .bf-slide > h4:not(.bf-title) { display: none; }
.reveal .bf-slide > .bf-ask { position: absolute; left: 790px; top: 300px; width: 450px; margin: 0; text-align: center; font-size: 1.15em; }
/* The question starts fading the moment the smash begins (the slide is then "held"), not when the slides cross-fade afterwards. */
.reveal .slides section.bf-slide.bf-holding > .bf-ask { opacity: 0 !important; transition: opacity .5s ease !important; }
.reveal .questions-slide p { margin: .15em 0; }
/* Its rules are 2.5px, not hairlines: at the reduced size of the speaker view's preview a 1px rule falls between
   device pixels and some of the lines vanish. */
.reveal .terms-slide table { border-collapse: collapse; border-top: 2.5px solid #8f8f87; }
.reveal .terms-slide table :is(th, td) { border: 0; border-bottom: 2.5px solid #8f8f87; }
