:root{--navy:#18385c;--ink:#1c3046;--muted:#596c80;--berry:#a84976;--teal:#277e80;--line:#dce4ed;--soft:#f2f6fa;--white:#fff;--radius:14px;--max:1160px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);font-synthesis:none;scroll-behavior:smooth;scroll-padding-top:94px}
*{box-sizing:border-box}body{margin:0;background:#fff;line-height:1.65;font-size:17px}button,a{-webkit-tap-highlight-color:transparent}a{color:var(--navy);text-underline-offset:4px}button{font:inherit}img,video{max-width:100%;display:block}button{color:inherit}button:not(:disabled),summary{cursor:pointer}button:disabled{cursor:not-allowed}button:focus-visible,a:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--teal);outline-offset:5px}::selection{background:#d9b9d0;color:var(--navy)}.container{width:min(var(--max),calc(100% - 64px));margin-inline:auto}.skip-link{position:absolute;top:-100px;left:16px;padding:12px 20px;background:var(--navy);color:white;z-index:100}.skip-link:focus{top:12px}
.site-header{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.96);border-bottom:1px solid var(--line);backdrop-filter:blur(14px)}.nav-wrap{max-width:1320px;margin:auto;min-height:72px;padding:0 32px;display:flex;align-items:center;justify-content:space-between;gap:32px}.wordmark{display:inline-flex;align-items:center;gap:11px;font-size:23px;font-weight:750;letter-spacing:-1px;text-decoration:none}.brand-mark{width:20px;display:grid;gap:4px}.brand-mark i{display:block;background:var(--navy);height:4px;border-radius:2px}.brand-mark i:nth-child(2){width:14px;background:var(--berry)}.brand-mark i:nth-child(3){background:var(--teal)}nav{display:flex;align-items:center;gap:30px}nav a,.nav-demo{font-size:14px;font-weight:550;text-decoration:none;color:var(--muted);transition:color .2s}nav a:hover,nav a.active{color:var(--berry)}.nav-demo{color:var(--navy);white-space:nowrap}.play-small{font-size:11px;margin-left:8px}
.hero{text-align:center;padding-top:64px;padding-bottom:42px}.eyebrow{font-size:12px;letter-spacing:.17em;text-transform:uppercase;font-weight:700;color:var(--teal);margin:0 0 18px}.hero-wordmark{font-size:clamp(76px,9.6vw,124px);line-height:1.05;font-weight:750;letter-spacing:-.075em;color:var(--navy);margin-bottom:20px;padding-right:.08em}.wordmark-period{color:var(--berry)}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(24px,3.2vw,40px);line-height:1.22;font-weight:600;letter-spacing:-.035em;color:var(--navy);margin-bottom:18px}h2{font-size:clamp(32px,4vw,48px);line-height:1.13;letter-spacing:-.04em;font-weight:600;color:var(--navy);margin:0 0 24px}h2 em{font-family:Georgia,"Times New Roman",serif;font-weight:400;color:var(--berry)}h3{font-size:21px;line-height:1.3;color:var(--navy);font-weight:600;letter-spacing:-.025em}.hero-summary{font-size:20px;color:var(--muted);margin:0 0 28px}.authors{display:flex;justify-content:center;flex-wrap:wrap;gap:14px 28px;font-size:17px;font-weight:500}.authors sup{font-size:12px;margin-left:4px;color:var(--berry);white-space:nowrap}.contributions{font-size:12px;color:var(--muted);display:flex;justify-content:center;gap:22px;margin:10px 0 13px}.affiliations{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 22px;font-size:14px;color:var(--muted)}.affiliations sup{font-size:10px;color:var(--berry)}.resource-links{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:30px}.resource{display:flex;align-items:center;justify-content:center;gap:11px;min-height:63px;padding:10px 19px;border:1px solid #ccd8e5;border-radius:9px;background:#f5f8fb;text-align:left;line-height:1.35;font-weight:600;font-size:14px;color:var(--navy);text-decoration:none}.resource small{display:block;font-weight:450;font-size:11px;margin-top:4px;color:#607185}.resource svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.resource-primary{background:var(--navy);color:white;border-color:var(--navy)}.resource-primary small{color:#d5e0ed}.resource:disabled{opacity:1}.resource.available:hover{box-shadow:0 3px 14px #18385c16;border-color:var(--teal)}.hug-icon{font-size:23px}
.demo-intro{max-width:1080px}.hero-film{position:relative;background:#0e1517;border-radius:var(--radius);overflow:hidden;box-shadow:0 20px 65px #18385c14}.hero-film video{width:100%;aspect-ratio:16/9;object-fit:cover}.film-bottom{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:17px 24px;color:#e2eaf3;background:#132b43;font-size:14px}.film-tag{font-size:10px;letter-spacing:.12em;font-weight:650;color:#91c3c2;margin-right:16px}.film-bottom button{display:flex;gap:8px;align-items:center;border:1px solid #8194a754;border-radius:6px;background:transparent;color:#eaf0f6;padding:5px 10px;font-size:12px;white-space:nowrap}.film-bottom button:hover{background:#ffffff12}.demo-caption{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:var(--muted);padding-top:14px}.demo-caption a{color:var(--muted)}
.section{padding-top:104px;padding-bottom:104px;scroll-margin-top:0}.section-heading{max-width:760px;margin-bottom:40px}.section-description{font-size:18px;color:var(--muted);max-width:720px;line-height:1.75;margin:0}.intro-copy{max-width:780px;margin-left:auto;margin-top:-8px;margin-bottom:48px;font-size:18px;color:var(--muted)}.intro-copy p:last-child{margin-bottom:0}.lead{font-size:23px;line-height:1.55;color:var(--navy);letter-spacing:-.02em}.paper-figure{margin:34px 0 0}.figure-button{position:relative;display:block;border:0;padding:0;background:white;width:100%;text-align:inherit;border-radius:10px;overflow:hidden}.figure-button img{width:100%;height:auto}.zoom-hint{position:absolute;right:12px;bottom:12px;font-size:12px;background:#fff;box-shadow:0 1px 6px #18385c14;color:var(--muted);border:1px solid var(--line);border-radius:5px;padding:4px 9px;opacity:0;transition:opacity .2s}.figure-button:hover .zoom-hint,.figure-button:focus-visible .zoom-hint{opacity:1}figcaption{font-size:13px;color:var(--muted);text-align:center;margin-top:14px;line-height:1.6}.overview-figure{padding:18px 18px 12px;border:0}details{margin-top:34px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}summary{list-style:none;display:flex;align-items:center;justify-content:space-between;padding:17px 0;font-size:16px;font-weight:550;color:var(--navy)}summary::-webkit-details-marker{display:none}summary span{font-size:22px;line-height:1;transition:transform .2s;font-weight:350}details[open] summary span{transform:rotate(45deg)}.abstract>div{max-width:870px;margin:0 auto;padding:12px 0 20px;color:var(--muted);font-size:16px}.abstract p{margin-bottom:18px}
.method-section{background:var(--soft);border-block:1px solid #e7edf4}.method-notes{display:grid;grid-template-columns:repeat(3,1fr);gap:42px;padding-bottom:10px}.method-notes article{position:relative;border-top:1px solid #cbd8e5;padding-top:26px}.method-notes h3{margin:17px 0 10px;font-size:19px}.method-notes p{font-size:16px;color:var(--muted);margin:0}.method-symbol{display:block;width:34px;height:18px;background:var(--navy)}.encoder-symbol{clip-path:polygon(0 0,100% 0,80% 100%,20% 100%)}.router-symbol{width:27px;height:20px;background:var(--berry);clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%)}.decoder-symbol{background:var(--teal);clip-path:polygon(20% 0,80% 0,100% 100%,0 100%)}.method-figure{padding:24px;background:white;border-radius:var(--radius);margin-top:40px}.boundary-explainer{display:grid;grid-template-columns:1fr 1.25fr;gap:50px;align-items:center;margin-top:54px}.boundary-explainer h3{font-size:23px;margin-bottom:14px}.boundary-explainer p{font-size:16px;color:var(--muted);margin-bottom:0}.boundary-explainer figure{margin:0;padding:18px;background:white;border-radius:10px}.boundary-explainer figcaption{font-size:12px}
.result-highlights{display:grid;grid-template-columns:repeat(3,1fr);margin:45px 0 60px;border-block:1px solid var(--line);padding:32px 0}.result-highlights>div{padding:0 28px;border-right:1px solid var(--line)}.result-highlights>div:first-child{padding-left:0}.result-highlights>div:last-child{border-right:0}.result-highlights strong{font-size:54px;letter-spacing:-.055em;font-weight:550;color:var(--berry);line-height:1.15}.result-highlights strong span{font-size:26px;letter-spacing:-.02em}.result-highlights p{font-size:16px;font-weight:600;margin:10px 0 5px}.result-highlights small{font-size:12px;color:var(--muted);display:block;max-width:260px;line-height:1.6}.results-explorer{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.benchmark-tabs{display:flex;gap:2px;background:var(--soft);border-bottom:1px solid var(--line);padding:9px}.benchmark-tabs button{flex:1;border:1px solid transparent;background:transparent;border-radius:7px;padding:12px 16px;color:var(--muted);font-size:15px;font-weight:550}.benchmark-tabs button[aria-selected=true]{color:var(--navy);background:white;border-color:var(--line);box-shadow:0 1px 4px #18385c08}.benchmark-tabs button:hover{color:var(--navy)}#benchmark-panel{padding:35px 38px 25px}.chart-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:25px}.chart-heading h3{margin:0 0 4px;font-size:24px}.chart-heading p{margin:0;font-size:14px;color:var(--muted)}#chart-unit{font-size:12px;color:var(--muted);white-space:nowrap}.bar-chart{display:grid;gap:15px}.bar-row{display:grid;grid-template-columns:180px 1fr 110px;gap:18px;align-items:center}.bar-label{font-size:14px;color:var(--muted)}.bar-track{height:25px;background:#f1f4f8;border-radius:3px;overflow:hidden}.bar-fill{height:100%;background:#a5b7ca;min-width:2px;border-radius:3px;transition:width .45s ease}.bar-row.elmo .bar-fill{background:var(--berry)}.bar-row.elmo .bar-label,.bar-row.elmo .bar-value{color:var(--berry);font-weight:650}.bar-value{font-size:14px;font-variant-numeric:tabular-nums;color:var(--ink);white-space:nowrap}.bar-value small{font-size:11px;color:var(--muted);font-weight:400}.chart-note{font-size:12px;color:var(--muted);padding-top:23px;border-top:1px solid var(--line);margin:27px 0 0;line-height:1.65}.table-scroll{overflow-x:auto;padding-bottom:20px}table{width:100%;border-collapse:collapse;text-align:left;font-size:13px;white-space:nowrap}caption{text-align:left;color:var(--muted);font-size:12px;padding-bottom:16px}th,td{padding:14px 12px;border-bottom:1px solid var(--line);font-variant-numeric:tabular-nums}th{font-weight:550}thead th{font-size:12px;color:var(--muted);background:var(--soft)}tbody th{white-space:normal;min-width:190px}.ours-row{background:#f8eef4;color:var(--berry);font-weight:600}
.representations-section{background:#f8f7fa;border-block:1px solid #ece8ef}.representations-section .paper-figure{background:white;border:1px solid #e9e4ed;border-radius:var(--radius);padding:20px}.blocks-heading{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}.blocks-heading .section-heading{margin:0}.blocks-copy{padding-top:18px;color:var(--muted)}.blocks-copy .lead{font-size:22px}.blocks-copy p{margin-bottom:18px}.task-tags{display:flex;gap:9px;margin-top:24px}.task-tags span{font-size:12px;border-radius:4px;padding:4px 14px;background:#f8edf3;color:var(--berry);font-weight:600}.task-tags span:nth-child(2){background:#eaf4f5;color:var(--teal)}.task-tags span:nth-child(3){background:#fbf3dc;color:#84640c}.blocks-strip{margin-top:45px}.blocks-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;margin:38px 0 28px;padding:28px 0;border-block:1px solid var(--line)}.blocks-facts>div{display:flex;flex-direction:column}.blocks-facts strong{font-size:36px;font-weight:550;color:var(--navy);letter-spacing:-.045em;margin-bottom:3px}.blocks-facts span{font-size:15px;font-weight:600}.blocks-facts small{font-size:12px;color:var(--muted);margin-top:6px}.dataset-note{font-size:14px;color:var(--muted);margin:0}.release-label{display:inline-block;font-size:11px;border:1px solid #cdd7e3;border-radius:4px;padding:2px 7px;margin-left:7px;color:var(--muted)}
.real-section{background:#142e49;color:#e6edf5}.real-section .eyebrow{color:#9ed1cc}.real-section h2{color:white}.real-section .section-description{color:#bdcddd}.full-video{border:1px solid #ffffff20;border-radius:var(--radius);overflow:hidden;background:#0b1216}.full-video video{width:100%;aspect-ratio:16/9}.real-results{display:grid;grid-template-columns:1fr 1fr 1.1fr;gap:35px;margin:36px 0 0;align-items:center}.real-results>div{display:flex;flex-direction:column;border-right:1px solid #ffffff25}.real-task{font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:#b4ccc9;margin-bottom:7px}.real-results strong{font-size:42px;font-weight:500;letter-spacing:-.04em;line-height:1.3;color:white}.real-results span:not(.real-task){font-size:14px}.real-results small{font-size:12px;color:#a7bbcf;margin-top:7px}.real-results p{font-size:14px;color:#b9cadb;margin:0}.limitations{font-size:13px;color:#a7bbcf;max-width:850px;margin:38px 0 0;border-top:1px solid #ffffff20;padding-top:25px}.site-footer{display:flex;justify-content:space-between;gap:40px;align-items:center;padding-block:38px}.site-footer p{font-size:12px;color:var(--muted);margin:4px 0 0}.footer-affiliation{font-size:12px;color:var(--muted);line-height:1.8}.site-footer>a{font-size:12px;white-space:nowrap}
dialog{width:min(1500px,96vw);max-height:94vh;padding:0;border:1px solid var(--line);border-radius:14px;color:var(--ink);background:white;box-shadow:0 30px 100px #0004}dialog::backdrop{background:#12263de6;backdrop-filter:blur(5px)}.dialog-toolbar{display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;background:white;border-bottom:1px solid var(--line);padding:13px 20px;z-index:2;font-size:14px}.dialog-toolbar button{border:1px solid var(--line);padding:6px 14px;border-radius:6px;background:var(--soft);font-size:13px}.dialog-toolbar button span{font-size:18px;margin-left:8px}.dialog-image-wrap{padding:18px;overflow:auto}.dialog-image-wrap img{width:100%;height:auto}#figure-caption{padding:0 22px 18px;margin:0;font-size:14px;color:var(--muted)}body.dialog-open{overflow:hidden}
@media(min-width:1000px){#overview>.section-heading{max-width:48%;margin-bottom:0}#overview>.intro-copy{max-width:49%;margin-top:-170px;min-height:170px;margin-bottom:56px}}
@media(max-width:900px){.nav-wrap{gap:15px}nav{gap:18px}.nav-demo{display:none}.hero{padding-top:44px}.authors{gap:10px 20px;font-size:16px}.affiliations{font-size:13px}.section{padding-block:75px}.method-notes{gap:25px}.method-notes h3{font-size:18px}.boundary-explainer{gap:30px}.result-highlights strong{font-size:44px}.result-highlights>div{padding-inline:20px}.blocks-heading{gap:35px}.bar-row{grid-template-columns:155px 1fr 100px;gap:12px}.blocks-facts{gap:15px}.site-footer{flex-wrap:wrap;gap:20px}.footer-affiliation{flex:1}}
@media(max-width:640px){body{font-size:16px}.container{width:calc(100% - 36px)}.nav-wrap{padding:0 18px;min-height:60px;gap:18px}.wordmark{font-size:20px;gap:8px}.brand-mark{width:16px}nav{gap:15px}nav a{font-size:12px}nav a:first-child{display:none}.hero{padding-top:38px;padding-bottom:28px}.hero .eyebrow{font-size:10px;letter-spacing:.12em;margin-bottom:18px}.hero-wordmark{font-size:83px;margin-bottom:18px}h1{font-size:26px}.desktop-break{display:none}.hero-summary{font-size:17px;margin-bottom:24px}.authors{gap:8px 15px;font-size:15px}.authors sup{font-size:11px;margin-left:2px}.contributions{font-size:11px;gap:15px}.affiliations{font-size:12px;gap:4px 12px}.resource-links{gap:8px;margin-top:25px}.resource{padding:9px 12px;font-size:12px;gap:8px;min-height:58px}.resource small{font-size:10px}.resource svg{width:19px;height:19px}.resource:last-child{flex-basis:auto}.hug-icon{font-size:20px}.film-bottom{padding:12px 13px;font-size:12px;gap:8px}.film-tag{display:block;margin:0 0 3px;font-size:9px}.film-bottom button{font-size:11px;padding:5px 7px}.demo-caption{font-size:10px;gap:8px}.demo-caption>span{max-width:55%}.demo-caption a{text-align:right}.section{padding-block:57px}.eyebrow{font-size:11px;margin-bottom:14px}h2{font-size:34px;margin-bottom:20px}.section-heading{margin-bottom:28px}.section-description{font-size:16px}.intro-copy{font-size:16px;margin-bottom:32px}.lead{font-size:21px}.paper-figure{margin-top:24px}.overview-figure{padding:8px}.zoom-hint{font-size:10px;padding:2px 5px;opacity:1;bottom:5px;right:5px}figcaption{font-size:11px;margin-top:10px}.abstract>div{font-size:15px}.method-notes{grid-template-columns:1fr;gap:26px}.method-notes article{padding-top:18px;display:grid;grid-template-columns:36px 1fr;gap:4px 14px}.method-symbol{margin-top:5px}.method-notes h3{margin:0 0 4px;font-size:18px}.method-notes p{grid-column:2;font-size:15px}.method-figure{padding:9px}.boundary-explainer{grid-template-columns:1fr;gap:20px;margin-top:35px}.boundary-explainer figure{padding:9px}.result-highlights{grid-template-columns:1fr;margin:30px 0;padding:0}.result-highlights>div,.result-highlights>div:first-child{padding:20px 0;border-right:0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:125px 1fr;gap:3px 14px}.result-highlights>div:last-child{border-bottom:0}.result-highlights strong{grid-row:1/3;font-size:42px;align-self:center}.result-highlights strong span{font-size:20px}.result-highlights p{margin:0;font-size:14px;align-self:end}.result-highlights small{font-size:11px}.benchmark-tabs{padding:6px;gap:0}.benchmark-tabs button{font-size:11px;padding:10px 5px}#benchmark-panel{padding:22px 16px}.chart-heading h3{font-size:21px}.chart-heading p{font-size:12px}#chart-unit{font-size:10px}.chart-heading{align-items:flex-start;gap:12px}.bar-chart{gap:17px}.bar-row{grid-template-columns:1fr auto;gap:5px 12px}.bar-track{grid-column:1/-1;grid-row:2;height:17px}.bar-label{font-size:13px}.bar-value{font-size:13px;text-align:right;grid-column:2;grid-row:1}.bar-value small{font-size:10px}.chart-note{font-size:11px;margin-top:22px;padding-top:16px}.representations-section .paper-figure{padding:8px}.blocks-heading{grid-template-columns:1fr;gap:10px}.blocks-copy{padding:0;font-size:16px}.blocks-copy .lead{font-size:21px}.blocks-facts{grid-template-columns:1fr;gap:18px;margin-top:25px;padding-block:22px}.blocks-facts>div{display:grid;grid-template-columns:100px 1fr;gap:2px 12px}.blocks-facts strong{font-size:28px;grid-row:1/3;align-self:center}.blocks-facts span{font-size:14px}.blocks-facts small{margin:0;font-size:11px}.dataset-note{font-size:13px}.release-label{margin:8px 0 0;display:table}.real-results{grid-template-columns:1fr 1fr;gap:20px;margin-top:25px}.real-results>div:nth-child(2){border:0}.real-results strong{font-size:33px}.real-task{font-size:10px;letter-spacing:.05em}.real-results p{grid-column:1/-1;font-size:13px}.limitations{font-size:12px;margin-top:25px;padding-top:20px}.site-footer{padding-block:28px;gap:24px;display:grid;grid-template-columns:1fr auto}.site-footer>div:first-child{grid-column:1/-1}.footer-affiliation{font-size:10px}.site-footer>a{font-size:11px}.dialog-image-wrap{padding:8px}.dialog-image-wrap img{min-width:850px}.dialog-toolbar{padding:10px 14px}#figure-caption{font-size:12px;padding:0 14px 14px}}
@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}

/* Camera-native preview: instruction text stays sharp at every viewport size. */
.film-heading{padding:22px 26px 20px;background:#132b43;color:white}.film-heading .film-tag{display:block;margin:0 0 6px;color:#a9ccce}.film-heading h2{font-size:clamp(20px,2.5vw,30px);font-weight:500;letter-spacing:-.02em;color:white;line-height:1.35;margin:0}.film-heading h2 span{color:#f0cf51}.hero-film video{object-fit:contain}.film-bottom{padding-block:13px}.video-chapters{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 16px}.video-chapters button{display:flex;align-items:center;gap:15px;flex:1;justify-content:space-between;background:#ffffff08;border:1px solid #ffffff32;color:#e6edf5;border-radius:7px;padding:12px 16px;font-size:14px;text-align:left}.video-chapters button span{font-size:11px;color:#a7bbcf;font-variant-numeric:tabular-nums}.video-chapters button:hover,.video-chapters button[aria-pressed=true]{background:#ffffff18;border-color:#98c5c1}.video-quality-note{font-size:12px;color:#b9cadb;margin:12px 0 0}.video-quality-note a{color:#d8e7f3}.resource.available{cursor:pointer}
@media(max-width:640px){.film-heading{padding:16px 15px}.film-heading .film-tag{font-size:10px}.film-heading h2{font-size:20px}.film-bottom>span{max-width:58%;font-size:11px}.video-chapters{display:grid;grid-template-columns:1fr 1fr;gap:7px}.video-chapters button{font-size:12px;padding:10px;gap:8px}.video-chapters button span{font-size:10px}.video-quality-note{font-size:11px}}

/* Scrollable, manually selectable playlist; the active clip follows playback. */
.preview-selector{position:relative;display:flex;gap:9px;overflow-x:auto;overscroll-behavior-x:contain;padding:13px 18px 9px;background:#132b43;scrollbar-width:thin;scrollbar-color:#6e8ca4 #132b43;scroll-padding-inline:18px}.preview-choice{position:relative;flex:1 0 150px;min-width:0;max-width:190px;padding:0 0 3px;overflow:hidden;border:1px solid #ffffff26;background:#ffffff05;border-radius:7px;text-align:left;color:#d5e1ec;transition:border-color .2s,background .2s}.preview-choice img{width:100%;height:58px;object-fit:cover;opacity:.68;transition:opacity .2s}.preview-choice-label{display:block;font-size:11px;font-weight:500;white-space:nowrap;padding:7px 8px 6px;line-height:1.4}.preview-choice::after{content:'';position:absolute;left:0;bottom:0;height:3px;width:var(--progress,0%);background:#99d0c9}.preview-choice[aria-pressed=true]{border-color:#9ed1cc;background:#ffffff0f;color:white}.preview-choice[aria-pressed=true] img,.preview-choice:hover img{opacity:1}.preview-choice:hover{border-color:#ffffff80}.preview-choice:focus-visible{outline:2px solid #bce5e0;outline-offset:2px}.hero-film .film-bottom{padding-top:10px}.film-heading h2{font-variant-ligatures:none}
@media(max-width:900px){.preview-choice{flex:0 0 150px;max-width:none}}
@media(max-width:640px){.preview-selector{gap:8px;padding:10px 12px 8px;scroll-padding-inline:12px}.preview-choice{flex-basis:132px}.preview-choice img{height:52px}.preview-choice-label{font-size:10px;padding:6px 7px}.film-heading h2{min-height:2.7em}.film-heading{padding-bottom:13px}}

.authors a{color:inherit;text-decoration:none;text-underline-offset:4px}.authors a:hover,.authors a:focus-visible{color:var(--teal);text-decoration:underline}

/* Video first, with one quiet caption and a compact rollout selector. */
.blocks-demos{max-width:900px;margin:40px auto 0}
#blocks-demo{display:block;width:100%;height:auto;aspect-ratio:736/288;background:#171717;border-radius:10px}
.blocks-demo-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:12px 0 0;padding:0 2px;color:var(--muted);font-size:13px;line-height:1.4}
.blocks-demo-tabs{display:flex;gap:3px;padding:3px;background:#f0f3f7;border-radius:7px}
.blocks-demo-tabs button{width:40px;min-height:32px;padding:5px;border:0;border-radius:5px;background:transparent;color:var(--muted);font-size:12px;font-weight:500;font-variant-numeric:tabular-nums;transition:background .15s,color .15s}
.blocks-demo-tabs button:hover{color:var(--navy);background:#e3eaf1}
.blocks-demo-tabs button[aria-pressed=true]{background:white;color:var(--navy);box-shadow:0 1px 4px #18385c18;font-weight:650}
.blocks-demo-tabs button:focus-visible{outline:2px solid var(--teal);outline-offset:2px}
@media(max-width:640px){.blocks-demos{margin-top:28px}#blocks-demo{border-radius:7px}.blocks-demo-toolbar{font-size:12px;gap:10px;margin-top:10px}.blocks-demo-tabs button{width:34px;min-height:34px}}

.blocks-instruction{font-size:clamp(16px,2vw,22px);line-height:1.4;font-weight:500;letter-spacing:-.02em;color:var(--navy);margin:0 0 12px}
@media(max-width:640px){.blocks-instruction{min-height:2.8em;align-content:center;margin-bottom:10px}}

.block-colour{font-weight:650}.block-colour.purple{color:#8646ae}.block-colour.red{color:#bd3541}.block-colour.blue{color:#2864b7}.block-colour.green{color:#23804b}.block-colour.yellow{color:#936d00}

/* Saved-data explorer: linked category highlighting, no refitting or axis distortion. */
.latent-explorer{border:1px solid #e3dfe8;border-radius:14px;background:white;padding:24px}
.explorer-toolbar{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:19px}.explorer-toolbar>div{display:flex;align-items:center;gap:12px}.explorer-kicker{font-size:17px;font-weight:600;color:var(--navy);letter-spacing:-.02em}.explorer-benchmark{font-size:11px;color:var(--muted);border-left:1px solid var(--line);padding-left:12px}.explorer-toolbar label{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:9px}.explorer-toolbar select{font:inherit;font-size:13px;background:#f8f9fb;color:var(--navy);border:1px solid var(--line);border-radius:6px;padding:8px 26px 8px 10px}
.explorer-legend{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:24px}.explorer-legend button{display:inline-flex;align-items:center;gap:7px;padding:6px 11px;min-height:34px;border:1px solid transparent;border-radius:6px;background:transparent;font-size:12px;color:var(--muted)}.explorer-legend button:hover{background:#f4f5f8}.explorer-legend button[aria-pressed=true]{background:#f1f4f8;border-color:#dce3eb;color:var(--navy)}.explorer-swatch{width:9px;height:9px;border-radius:50%}
.explorer-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.explorer-card{min-width:0}.explorer-card-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:9px}.explorer-card-heading h3{font-size:15px;margin:0;font-weight:550;letter-spacing:-.015em}.explorer-card-heading button{border:0;background:transparent;color:#738397;border-radius:4px;width:30px;height:30px;font-size:20px;line-height:1}.explorer-card-heading button:hover{background:#edf1f5;color:var(--navy)}.explorer-card canvas{width:100%;aspect-ratio:1;display:block;border-radius:8px;cursor:crosshair;touch-action:pan-y}.explorer-card canvas:focus-visible{outline:2px solid var(--teal);outline-offset:3px}.explorer-readout{min-height:3.4em;font-size:13px;color:var(--navy);line-height:1.7;border-top:1px solid var(--line);padding-top:15px;margin:20px 0 10px}.explorer-note{font-size:11px;color:var(--muted);line-height:1.7;margin:0}.explorer-note[hidden]{display:none}.explorer-paper{margin-top:20px}.explorer-paper .paper-figure{border:0;padding:0;margin:16px 0}.explorer-paper summary{font-size:13px}
.latent-dialog{width:min(740px,calc(100vw - 32px));max-height:94vh;border:0;border-radius:13px;padding:22px;background:white;box-shadow:0 24px 100px #10253c55}.latent-dialog::backdrop{background:#12283e99;backdrop-filter:blur(4px)}.latent-dialog-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.latent-dialog-heading h3{margin:0;font-size:22px}.latent-dialog-heading button{border:1px solid var(--line);border-radius:5px;padding:7px 11px;background:white;color:var(--navy);font-size:12px}#latent-dialog-plot{max-width:min(640px,65vh);margin:auto}#latent-dialog-detail{font-size:13px;color:var(--navy);min-height:3.4em;margin:15px 0 0;line-height:1.7}
@media(max-width:900px){.explorer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 18px}.explorer-toolbar{align-items:flex-start}.explorer-toolbar>div{display:block}.explorer-benchmark{display:block;border:0;padding:0;margin-top:4px}}
@media(max-width:640px){.latent-explorer{padding:16px 12px}.explorer-toolbar{flex-direction:column;gap:13px}.explorer-toolbar>div{display:flex;gap:10px}.explorer-kicker{font-size:16px}.explorer-benchmark{margin:0}.explorer-legend{gap:3px;margin-bottom:15px}.explorer-legend button{font-size:11px;padding:6px 8px}.explorer-grid{gap:17px 10px}.explorer-card-heading h3{font-size:12px}.explorer-card-heading button{width:24px;height:28px;font-size:18px}.explorer-readout{font-size:12px;min-height:5.1em}.latent-dialog{padding:16px}.explorer-note{font-size:10px}}

#latent-dialog-context{font-size:12px;color:var(--muted);margin:5px 0 0}

.explorer-gradient-key{width:180px;flex-shrink:0;margin:0 10px}.explorer-gradient{display:block;height:9px;border-radius:4px}.explorer-gradient-ends{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);margin-top:5px;font-variant-numeric:tabular-nums}.explorer-legend{align-items:center}.explorer-range-control{display:flex;align-items:center;gap:10px;font-size:11px;color:var(--muted);margin-left:auto}.explorer-range-control input{width:130px;accent-color:var(--teal)}.explorer-range-control output{min-width:125px;font-size:11px;color:var(--navy);font-variant-numeric:tabular-nums}
@media(max-width:900px){.explorer-range-control{flex-basis:100%;margin:8px 0 0;flex-wrap:wrap}.explorer-gradient-key{flex:1;max-width:280px}.explorer-range-control input{flex:1;min-width:70px}.explorer-range-control output{min-width:115px}}
@media(max-width:640px){.explorer-range-control{gap:8px}.explorer-range-control output{flex-basis:100%;font-size:10px}.explorer-toolbar select{max-width:220px}}

/* Keep every legend category visibly actionable, including unselected filters. */
.explorer-legend button{border:1px solid #ccd6e2;background:#f8fafc;color:var(--navy);cursor:pointer;box-shadow:0 1px 2px #18385c0a;transition:background .15s,border-color .15s,box-shadow .15s}
.explorer-legend button:hover{background:#e9eff6;border-color:#829ab5;box-shadow:0 2px 5px #18385c15}
.explorer-legend button[aria-pressed=true]{background:#e8eff7;border-color:#617e9e;color:#173a60;box-shadow:inset 0 0 0 1px #617e9e;font-weight:600}
.explorer-legend button:focus-visible{outline:2px solid var(--teal);outline-offset:3px}

#blocks .dataset-note{margin-top:24px}

.paper-abstract{max-width:900px;padding-top:64px}.paper-abstract h2{font-size:28px;text-align:center;margin:0 0 24px;letter-spacing:-.025em}.paper-abstract-copy{font-size:16px;line-height:1.85;color:var(--muted)}.paper-abstract-copy p{margin:0 0 18px}.paper-abstract-copy p:last-child{margin-bottom:0}.paper-abstract-copy em{color:var(--navy)}
@media(max-width:640px){.paper-abstract{padding-top:42px}.paper-abstract h2{font-size:24px;margin-bottom:20px}.paper-abstract-copy{font-size:15px;line-height:1.8}}
