@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/sans.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}
:root { --ink:#24292c; --muted:#535b60; --link:#225e91; --rule:#dadcde; --max:1056px; --edge:clamp(18px,4.2vw,54px); }
*, *::before, *::after { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:white; color:var(--ink); font:400 1rem/1.64 "DM Sans",Arial,sans-serif; -webkit-font-smoothing:antialiased; }
main { padding-bottom:76px; }
a { color:var(--link); text-decoration-thickness:1px; text-underline-offset:.19em; }
a:hover { color:#103550; }
:focus-visible { outline:2px solid var(--link); outline-offset:4px; }
section, [id] { scroll-margin-top:22px; }
p, h1, h2, h3, figure { margin:0; }
.sr, .skip:not(:focus) { clip-path:inset(50%); height:1px; overflow:hidden; position:absolute; white-space:nowrap; width:1px; }
.skip:focus { position:absolute; top:8px; left:12px; background:#fff; z-index:9; }
.paper-head { width:min(1200px,calc(100% - var(--edge) * 2)); margin:auto; text-align:center; padding:clamp(35px,4.55vw,68px) 0 0; }
h1 { font-size:clamp(2.05rem,3.45vw,3.18rem); line-height:1.1; letter-spacing:-.045em; font-weight:570; text-wrap:balance; }
h1 em { font-weight:inherit; font-style:normal; color:var(--link); }
.authors, .institutions, .resources { display:flex; flex-wrap:wrap; justify-content:center; align-items:baseline; }
.authors { gap:.14rem 1.1rem; margin:1.3rem auto .24rem; font-size:clamp(1.04rem,1.4vw,1.2rem); line-height:1.65; font-weight:500; }
.authors span,.institutions span { white-space:nowrap; }
sup { font-size:.61em; vertical-align:super; line-height:0; margin-left:.09rem; }
.institutions { gap:.15rem 1.15rem; font-size:1rem; }
.equal { font-size:.86rem; color:var(--muted); margin-top:.2rem; }
.resources { gap:.85rem; margin-top:.95rem; font-size:1rem; }
.resources a { font-weight:550; text-decoration:none; }
.resources a:hover { text-decoration:underline; }
.resources span { color:#9ca4a9; }
.teaser { width:min(1152px,calc(100% - var(--edge) * 2)); margin:clamp(30px,3vw,45px) auto 0; }
.gallery,.reference-gallery { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(9px,1.05vw,18px); }
.scene figcaption { margin:0 0 8px; line-height:1.35; }
.scene figcaption strong { display:block; font-weight:600; font-size:1rem; letter-spacing:-.014em; }
.scene figcaption span,.reference-gallery figcaption { display:block; color:var(--muted); font-size:.85rem; }
.compare-image { --native:50%; width:100%; aspect-ratio:4/3; position:relative; isolation:isolate; overflow:hidden; background:#212121; }
.compare-image img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.native-image { clip-path:inset(0 calc(100% - var(--native)) 0 0); }
.divider { position:absolute; top:0; bottom:0; left:var(--native); width:2px; transform:translateX(-50%); background:#fff; pointer-events:none; }
.divider span { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); display:grid; place-items:center; width:24px; height:24px; background:#fff; border-radius:50%; box-shadow:0 1px 5px #1818184d; font:600 13px/1 Arial,sans-serif; color:#30373a; }
.compare-image input { position:absolute; inset:0; width:100%; height:100%; margin:0; opacity:0; appearance:none; background:transparent; cursor:ew-resize; touch-action:pan-y; }
.compare-image input::-webkit-slider-thumb { appearance:none; width:1px; height:24px; }
.compare-image input::-moz-range-thumb { width:1px; height:24px; border:0; }
.compare-image:has(input:focus-visible) { outline:2px solid var(--link); outline-offset:3px; }
.caption { font-size:.92rem; line-height:1.55; color:var(--muted); margin:.65rem 0 0; }
.caption strong { color:var(--ink); font-weight:600; }
.teaser>.caption { max-width:100ch; }
details summary { color:var(--link); cursor:pointer; width:fit-content; }
.references { margin-top:.4rem; font-size:.88rem; }
.reference-gallery { margin-top:.7rem; }
.reference-gallery img { width:100%; height:auto; aspect-ratio:4/3; object-fit:cover; display:block; }
.reading { width:min(770px,100%); margin-inline:auto; }
.section { margin:clamp(43px,4.3vw,65px) auto 0; }
.section.reading { width:min(770px,calc(100% - var(--edge) * 2)); }
h2 { text-align:center; font-weight:600; font-size:clamp(1.6rem,2.6vw,2.15rem); line-height:1.2; letter-spacing:-.034em; margin-bottom:1rem; }
.reading p+p { margin-top:.65rem; }
.benchmark,.analysis-wrap { width:min(var(--max),calc(100% - var(--edge) * 2)); }
.protocol { margin:.9rem 0 1.45rem; padding-left:1.45rem; }
.protocol li { padding-left:.18rem; margin:.32rem 0; }
.protocol strong { font-weight:600; }
.scores { margin:1rem auto 0; width:100%; border-collapse:collapse; font-variant-numeric:tabular-nums; font-size:.95rem; }
.scores caption { text-align:left; font-weight:600; margin-bottom:.45rem; }
.scores th,.scores td { padding:.52rem .65rem; text-align:right; vertical-align:middle; }
.scores th:first-child,.scores td.shared-input,.scores th.shared-input { text-align:left; }
.scores thead { border-top:1.5px solid #43494d; border-bottom:1px solid #aeb3b6; }
.scores thead th { font-weight:600; }
.scores tbody { border-bottom:1.5px solid #43494d; }
.scores tbody th { font-weight:460; }
.scores tbody tr+tr { border-top:1px solid #e7e9ea; }
.scores small { font-size:.8rem; font-weight:400; }
.summary-table tbody td:nth-last-child(-n+3) { white-space:nowrap; }
.explorer { border-block:1px solid var(--rule); padding:.75rem 0; margin-top:1.1rem; }
.explorer-inner { margin-top:1rem; }
.explorer-inner>p:first-child { margin:0 0 .9rem; }
.filters { display:flex; flex-wrap:wrap; gap:.5rem .95rem; }
.filters label { display:flex; gap:.2rem; flex-direction:column; color:var(--muted); font-size:.9rem; }
.filters select { max-width:100%; font:inherit; color:var(--ink); border:1px solid #b6bdc0; background:white; border-radius:3px; padding:.35rem 1.65rem .35rem .45rem; }
.benchmark-recovered { background:#f4f8fa; }
.case-table th small { display:block; color:var(--muted); }
.cite { border-top:1px solid var(--rule); padding-top:1.65rem; }
.cite h2 { text-align:left; font-size:1.45rem; }
.cite pre { font-size:.86rem; line-height:1.6; white-space:pre-wrap; overflow-wrap:anywhere; margin:0 0 .5rem; }
.cite>a { font-size:.91rem; }
[hidden] { display:none!important; }
@media(max-width:850px) {
 .gallery,.reference-gallery { grid-template-columns:repeat(2,minmax(0,1fr)); row-gap:1rem; }
 .paper-head { width:min(800px,calc(100% - var(--edge) * 2)); }
}
@media(max-width:570px) {
 .title-break { display:none; }
 .authors { column-gap:.82rem; margin-top:1rem; }
 .gallery,.reference-gallery { gap:.85rem .55rem; }
 .scene figcaption strong { font-size:.92rem; }
 .scene figcaption span { font-size:.77rem; }
 .scene figcaption { margin-bottom:.3rem; }
 .summary-table .shared-input { display:none; }
 .scores th,.scores td { padding:.42rem .22rem; }
 .scores { font-size:.83rem; }
 .scores small { display:block; }
 .filters { flex-direction:column; }
 .filters label { width:100%; }
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.citation-tools { display:flex; flex-wrap:wrap; gap:.4rem 1.1rem; align-items:baseline; font-size:.9rem; }
.citation-tools button { font:inherit; color:var(--link); border:0; background:none; padding:0; text-decoration:underline; text-underline-offset:.19em; cursor:pointer; }
#copy-status { color:var(--muted); }
@media(max-width:570px) {
  h1 em { white-space:nowrap; }
  .authors { display:grid; grid-template-columns:repeat(2,max-content); gap:.08rem 1.1rem; }
}
