:root{--navy:#173750;--teal:#087f89;--blue:#2872ac;--muted:#687984;--pale:#eaf5f5;--rule:#d8e5eb;--r-background-color:#fff;--r-main-font:Arial,Helvetica,sans-serif;--r-main-font-size:28px;--r-main-color:var(--navy);--r-heading-font:Arial,Helvetica,sans-serif;--r-heading-color:var(--navy);--r-heading-text-transform:none;--r-link-color:var(--teal);--r-selection-background-color:#9ad7dc}
body{background:#fff}.reveal{font-family:Arial,Helvetica,sans-serif;color:var(--navy);font-size:28px;line-height:1.35}.reveal .slides{text-align:left}.reveal .slides section{height:650px;box-sizing:border-box;padding:28px 34px 36px}.reveal h1,.reveal h2,.reveal h3{font-family:Arial,Helvetica,sans-serif;text-transform:none;font-weight:650;letter-spacing:-.035em;color:var(--navy);line-height:1.12}.reveal h1{font-size:66px;margin:40px 0 30px;max-width:1050px;line-height:1.14}.reveal h2{font-size:43px;margin:0 0 34px;padding-bottom:17px;border-bottom:2px solid var(--rule);letter-spacing:-.028em}.reveal h3{font-size:28px;letter-spacing:-.018em;margin:0 0 18px;color:var(--teal)}.reveal p{margin:17px 0}.reveal a{color:var(--teal);text-decoration:none}.reveal a:hover{color:var(--blue)}.teal,.reveal strong{color:var(--teal)}.muted{color:var(--muted)}.small{font-size:23px}.lead{font-size:32px;margin-bottom:30px!important;max-width:1050px}.reveal .katex{font-size:1.16em}.reveal .katex-display{margin:28px 0;font-size:27px}.reveal .comparison .katex-display{font-size:23px}.comparison{display:grid;grid-template-columns:1fr 1fr;gap:42px;margin-top:36px}.comparison>div+div{border-left:2px solid var(--rule);padding-left:38px}.example{margin-top:28px;padding:15px 28px;background:var(--pale)}.example p{margin:10px 0}.example .katex-display{margin:14px 0}.takeaway{font-size:29px;color:var(--teal);padding-top:22px;margin-top:25px!important}.theorem-lines{margin-top:28px}.theorem-lines p{margin:22px 0}.equation-large{margin-top:35px}.equation-large .katex-display{margin:14px 0;font-size:25px}.examples-line{margin-top:45px;font-size:27px;color:var(--teal)}.examples-line span{padding:0 18px;color:var(--muted)}.title-slide{padding-top:12px!important}.eyebrow{font-size:22px;letter-spacing:.06em;color:var(--muted);margin-top:56px!important}.author{font-size:33px;margin-top:32px!important}.title-reference{font-size:23px;line-height:1.5;margin-top:42px;padding-top:20px;border-top:2px solid var(--rule);max-width:900px}.agenda{display:grid;grid-template-columns:1.65fr 1fr;gap:70px;margin-top:48px}.agenda p{font-size:27px;margin:20px 0}.agenda .section-letter{color:var(--blue);font-size:58px;font-weight:600;margin:0 0 10px}.agenda h3{font-size:31px;margin-bottom:28px}.video-slide h2{margin-bottom:18px}.video-slide video{width:100%;height:510px;max-width:100%;max-height:none;margin:0;object-fit:contain;background:#f5f7f8}.chart-slide h2{margin-bottom:6px}.reveal img.arxiv-chart{max-width:none;max-height:none;width:1080px;height:auto;margin:0;display:block}.chart-caption{font-size:19px;color:var(--muted);margin:3px 0!important}.period{color:var(--blue);font-size:23px;margin:-15px 0 22px!important}.paper{margin:20px 0;padding-bottom:15px;border-bottom:1px solid var(--rule)}.paper a{font-size:27px;font-weight:550;line-height:1.22}.paper p{font-size:20px;color:var(--muted);margin:5px 0 0}.publications h2{margin-bottom:28px}.geometry-papers .paper{margin-top:42px;padding-bottom:30px}.geometry-papers .paper a{font-size:34px}.geometry-papers .paper p{font-size:23px;margin-top:15px}.reveal .slide-number{right:30px;bottom:18px;background:none;color:var(--muted);font:17px Arial;padding:0}.reveal .progress{height:3px;color:var(--teal)}.reveal .controls{color:var(--teal);right:16px;bottom:42px}.reveal .fragment{transition:opacity .32s ease,visibility .32s ease}.reveal .slides section .fragment.visible{opacity:1}.footer{position:fixed;bottom:17px;left:30px;color:#87959e;font:14px Arial;letter-spacing:.02em;z-index:2}.reveal .slides section:not(.present){pointer-events:none}body.review .fragment{opacity:1!important;visibility:visible!important}body.review .reveal .slides section{pointer-events:auto}@media print{.footer{display:none}.reveal .fragment{opacity:1!important;visibility:visible!important}.reveal .slides section{padding:28px 34px!important}.video-slide video{display:none}.video-slide .poster{display:block}}
.reveal img.arxiv-chart{width:1080px;height:490px;object-fit:contain;object-position:center center}.refs-inline{font-size:19px;margin-top:30px!important}
/* Title slide: logos and title colour */
.title-slide h1{color:var(--teal)}
.title-logos{position:absolute;right:30px;top:4px;display:flex;align-items:center;gap:30px}
.reveal .title-logos img{margin:0;max-width:none;max-height:none;display:block}
.reveal .title-logos .upc-logo{height:62px;width:auto}
.reveal .title-logos .map5-logo{height:96px;width:auto}
/* Outline */
.agenda h3{margin-top:4px}
/* Optimal-transport slides: text left, animation right */
.ot-layout{display:grid;grid-template-columns:500px 1fr;gap:24px;align-items:start;margin-top:-6px}
.ot-text .lead{font-size:28px;line-height:1.3;margin:4px 0 12px!important}
.ot-text p{font-size:26px}
.ot-text .small{font-size:20px}
.ot-slide .katex-display{font-size:25px;margin:16px 0}
.ot-slide .cost-row{margin-top:10px;padding-top:10px;border-top:2px solid var(--rule)}
.ot-slide .cost-row h3{font-size:25px;margin:0}
.ot-slide .cost-row .katex-display{margin:6px 0 2px}
.ot-slide .cost-row p{margin:4px 0}
.ot-slide .ot-anim{height:440px;margin-top:4px}

.takeaway p{margin:0}
.takeaway .katex-display{margin:10px 0 0;font-size:26px}
/* Theorem boxes (Brenier, Strassen) */
.theorem-box{border:2px solid var(--teal);border-radius:6px;padding:12px 22px 14px;margin-top:28px;background:#f6fbfb}
.reveal .theorem-box p{margin:8px 0}
.reveal .theorem-box .theorem-title{font-weight:700;color:var(--teal);font-size:24px;letter-spacing:-.01em;margin:0 0 8px}
.reveal .theorem-box .katex-display{margin:14px 0 6px}
/* OT slides: right column holds the animation and its play trigger */
.ot-right{position:relative}
.ot-play{position:absolute;left:0;top:0;width:0;height:0;overflow:hidden}
.ot-slide .cost-row:first-child{border-top:none;padding-top:0;margin-top:6px}
.ot-slide .cost-row + .cost-row{margin-top:26px;padding-top:20px}
/* Convex order */
.cx-definition{margin-top:44px}
.cx-definition + .theorem-box{margin-top:48px}
.ot-text .lead + .fragment .katex-display{margin-top:26px}
.ot-slide .cost-row h3{margin-bottom:4px}
.ot-slide .cost-row .katex-display{margin:10px 0 4px}
.nowrap{white-space:nowrap}
.ot-show-labels{position:absolute;left:0;top:0;width:0;height:0;overflow:hidden}
/* Curved spaces: question / answer */
.reveal .qa{margin-top:34px}
.reveal .qa p{font-size:30px;margin:0}
.reveal .qa strong{color:var(--teal)}
/* Example 2: two portrait videos side by side */
.video-pair-slide h2{margin-bottom:16px}
.video-pair{display:flex;justify-content:center;gap:64px}
.reveal .video-pair video{height:492px;width:auto;max-width:none;max-height:none;margin:0;background:#f5f7f8;box-shadow:0 0 0 1px var(--rule)}
/* NPC reprise: NPC content left, theorem and question right */
.npc-reprise .two-col{display:grid;grid-template-columns:1fr 450px;gap:40px;align-items:start}
.npc-reprise .lead{font-size:28px;margin-bottom:16px!important}
.npc-reprise .two-col p{font-size:26px}
.npc-reprise .equation-large{margin-top:20px}
.npc-reprise .equation-large .katex-display{font-size:23px}
.npc-reprise .examples-line{margin-top:28px;font-size:24px}
.npc-reprise .examples-line span{padding:0 10px}
.npc-reprise .theorem-box{margin-top:6px}
.npc-reprise .qa p{font-size:27px}
/* E[Y|X] on an NPC space: two answers and the theorem */
.answers-slide .answer{margin-top:10px}
.answers-slide .answer + .answer{margin-top:22px;padding-top:16px;border-top:2px solid var(--rule)}
.answers-slide .answer h3{margin:0 0 2px}
.answers-slide .answer .katex-display{margin:10px 0 6px;font-size:26px}
.answers-slide .theorem-box{margin-top:26px}
/* Problem: recalled theorems left, question right */
.problem-slide .two-col{display:grid;grid-template-columns:1fr 1fr;gap:44px;align-items:start}
.problem-slide .theorem-box{margin:0 0 24px}
.problem-slide .theorem-box p{font-size:25px}
.reveal .problem-slide .remark{font-size:28px;margin:4px 0 2px}
.problem-slide .qa{margin-top:28px}
.reveal .problem-slide .qa p{font-size:27px}
/* NPC definition */
.npc-def .lead{margin-bottom:8px!important}
.npc-def > .katex-display{font-size:28px;margin:30px 0}
.npc-reprise .npc-def .lead{font-size:28px}
.npc-reprise .npc-def .equation-large{margin-top:14px}
/* Example 2: larger videos */
.video-pair-slide h2{margin-bottom:10px}
.reveal .video-pair video{height:540px}
/* E[Y] on an NPC space: answers side by side */
.answers{display:grid;grid-template-columns:1fr 1fr;gap:34px;align-items:start}
.answers-slide .answers .answer + .answer{margin-top:10px;padding-top:0;border-top:none;border-left:2px solid var(--rule);padding-left:30px}
.answers-slide .answer .katex-display{font-size:24px}
.answers-slide .theorem-box{margin-top:30px}
.answers-slide .theorem-box p{margin:6px 0}
.answers-slide .theorem-box .katex-display{margin:8px 0;font-size:25px}
/* Example 1: tree animation (tree left, graph right) */
.tree-wrap{position:relative;margin-top:-6px}
.reveal .tree-anim{height:500px}
.npc-def > .lead{font-size:29px;max-width:none}
/* Outline: one numbered part per click */
.reveal ol.outline-list{list-style:none;margin:64px 0 0 6px;padding:0;counter-reset:part}
.reveal ol.outline-list li{counter-increment:part;font-size:36px;margin:0 0 40px;display:flex;align-items:baseline;gap:30px}
.reveal ol.outline-list li::before{content:counter(part);color:var(--blue);font-weight:650;font-size:46px;min-width:34px}
/* NPC definition: inequality appears on click */
.npc-def .katex-display{font-size:28px;margin:30px 0}
/* New problem */
.new-problem .cost-row h3{margin:6px 0 4px}
.new-problem .cost-row .katex-display{font-size:28px;margin:14px 0 6px}
.new-problem .theorem-box{max-width:820px;margin-top:30px}
.new-problem .qa{margin-top:34px}
/* E[Y] on an NPC space: Jensen line */
.reveal .answers-slide .jensen{text-align:center;font-size:27px;margin:22px 0 0}
.answers-slide .jensen + .theorem-box{margin-top:18px}
/* Barycentric OT slide: remark at the bottom */
.reveal .ot-slide .remark-line{position:absolute;left:34px;bottom:30px;margin:0;font-size:26px}
.reveal .ot-slide .remark-line strong{color:var(--teal)}
/* Problem slide: problems recalled above the theorems */
.problem-slide .problem-recall .katex-display{margin:0 0 8px;font-size:24px}
.problem-slide .problem-recall + .theorem-box{margin-bottom:18px}
/* Define E[Y]: the two barycentric problems side by side */
.problems{display:grid;grid-template-columns:1fr 1fr;gap:34px;margin-top:14px}
.problems > div + div{border-left:2px solid var(--rule);padding-left:30px}
.reveal .problems h3{font-size:23px;margin:0}
.problems .katex-display{font-size:23px;margin:8px 0 0}
.answers-slide .problems + .theorem-box{margin-top:18px}
/* Thank you */
.reveal .thanks-slide h1.thanks{text-align:center;margin:210px 0 0;font-size:84px;color:var(--teal);max-width:none}
/* Barycentric OT slide: tighter left column so that the remark fits below */
.ot-slide .cost-row + .cost-row{margin-top:14px;padding-top:12px}
.ot-slide .ot-text .theorem-box{margin-top:18px}
.reveal .ot-slide .remark-line{bottom:22px}
/* Footnote (NPC slide) */
.reveal sup.fn-mark{font-size:.6em;color:var(--teal);margin-left:1px}
.reveal .footnote{position:absolute;left:34px;bottom:34px;margin:0;font-size:20px;color:var(--muted)}
.reveal .footnote sup{color:var(--teal)}
/* References: small clickable line at the top right, level with the title */
.reveal .slide-refs{position:absolute;top:38px;right:34px;margin:0;max-width:360px;text-align:right;font-size:16px;line-height:1.4;color:var(--muted)}
.reveal .slide-refs a{color:var(--muted);border-bottom:1px solid var(--rule)}
.reveal .slide-refs a:hover{color:var(--teal)}
/* Define E[Y]: larger formulas */
.answers-slide .answer .katex-display{font-size:28px}
.problems .katex-display{font-size:27px}
.reveal .problems h3{font-size:24px}
.reveal .answers-slide .jensen{font-size:29px}
.answers-slide .theorem-box p{font-size:26px}
.reveal .answers-slide .jensen{margin-top:14px}
.problems{margin-top:6px}
.answers-slide .problems + .theorem-box{margin-top:14px;max-width:1010px}
/* NPC definition with two items, and the R^2 animation below */
.reveal ul.npc-items{margin:6px 0 0 30px;padding:0}
.reveal ul.npc-items li{font-size:27px;margin:0 0 6px}
.reveal ul.npc-items .katex-display{margin:8px 0 4px;font-size:26px}
.npc-def > .lead{margin-bottom:6px!important}
.plane-wrap{position:relative;margin-top:4px}
.reveal .plane-anim{height:280px}
.plane-wrap{margin-top:38px}
/* AI slide: new chart and two questions */
.reveal .ai-slide img.arxiv-chart{width:auto;height:318px;margin:0 auto;display:block;object-fit:contain}
.ai-slide .chart-caption{text-align:center}
.reveal ol.ai-points{list-style:none;margin:20px 0 0 6px;padding:0;counter-reset:q}
.reveal ol.ai-points li{counter-increment:q;font-size:27px;line-height:1.3;margin:0 0 14px;display:flex;align-items:baseline;gap:22px}
.reveal ol.ai-points li::before{content:counter(q);color:var(--blue);font-weight:650;font-size:32px;min-width:24px}
/* AI chart slide: chart alone, larger */
.reveal .ai-slide img.arxiv-chart{height:468px;margin-top:6px}
/* Thank you: thanks left, interests right */
.reveal .thanks-slide h1.thanks{text-align:left;margin:30px 0 30px;font-size:72px}
.thanks-cols{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:start}
.thanks-cols > div + div{border-left:2px solid var(--rule);padding-left:44px}
.reveal .thanks-cols ul{margin:0 0 0 26px;padding:0}
.reveal .thanks-cols li{font-size:27px;line-height:1.3;margin:0 0 16px}
.reveal .thanks-cols h3{font-size:28px;margin:0 0 18px}
/* Example on a tree: classical vs barycentric, side by side */
.tree-ot{display:grid;grid-template-columns:1fr 1fr;gap:36px;margin-top:-6px}
.tree-ot-col{position:relative}
.reveal .tree-ot-col h3{margin:0 0 4px;text-align:center}
.reveal .tree-ot-anim{height:430px}
/* Final slide: just "Thank you", large and centred */
.reveal .thanks-final h1.thanks-big{text-align:center;margin:220px 0 0;font-size:88px;color:var(--teal);max-width:none}
