:root{--ink:#172c25;--green:#234b3d;--muted:#52625b;--line:#dfe5df;--paper:#fcfcf9;--mint:#e8eee7}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:85px}body{margin:0;background:var(--paper);color:var(--ink);font-family:'Avenir Next',Avenir,Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:16px}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}button,a,input{touch-action:manipulation}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #558f71;outline-offset:4px}.nav{max-width:1320px;margin:auto;display:flex;justify-content:space-between;align-items:center;padding:25px 40px;border-bottom:1px solid var(--line)}.brand{font-weight:650;letter-spacing:-.6px;font-size:21px}.brand-dot{display:inline-block;width:7px;height:7px;margin:0 0 2px 5px;background:#709c7b;border-radius:50%}.nav div{display:flex;gap:30px;font-size:13px}.eyebrow{font-size:11px;font-weight:650;letter-spacing:2px;margin:0 0 15px;color:var(--green)}header{text-align:center;max-width:1200px;margin:auto;padding:64px 28px 46px}h1{font-size:clamp(56px,7vw,88px);line-height:1.05;letter-spacing:-5px;margin:0 0 20px;font-weight:650;color:var(--green)}header h2{font-weight:450;font-size:clamp(21px,2.4vw,30px);line-height:1.4;letter-spacing:-.6px;margin:0 0 28px}.authors{font-size:13px;line-height:2;max-width:1000px;margin:0 auto 12px}.authors sup{font-size:8px;margin-left:2px}.affiliations{font-size:11px;line-height:1.8;display:flex;gap:4px 16px;justify-content:center;flex-wrap:wrap;max-width:860px;margin:auto}.contribution{font-size:10px;color:var(--muted)}.resources{display:flex;justify-content:center;align-items:center;gap:12px;margin-top:26px;flex-wrap:wrap}.button{display:inline-flex;gap:20px;align-items:center;padding:12px 23px;border:1px solid var(--line);border-radius:5px;font-size:13px;background:white}.primary{background:var(--green);color:white;border-color:var(--green)}.button:hover{box-shadow:0 4px 12px #203e2515}.pending{font-size:12px;color:var(--muted);padding:0 12px}main{max-width:1320px;margin:auto;padding:0 40px}section{padding:54px 0 70px;border-bottom:1px solid var(--line)}.showcase{padding-top:14px}.section-top{display:flex;justify-content:space-between;gap:30px;align-items:end;margin-bottom:25px}h2{font-size:34px;font-weight:550;letter-spacing:-1px;line-height:1.2;margin:0}.section-top>p{font-size:13px;line-height:1.7;color:var(--muted);margin:0}.compare{position:relative;width:100%;overflow:hidden;background:#eef0ea;isolation:isolate}.compare img{display:block;width:100%;height:100%;object-fit:contain}.compare .over{position:absolute;inset:0;clip-path:inset(0 50% 0 0);z-index:1}.compare .bar{position:absolute;left:50%;top:0;bottom:0;width:2px;background:white;z-index:2;pointer-events:none;box-shadow:0 0 4px #0003}.bar:after{content:'↔';display:flex;align-items:center;justify-content:center;position:absolute;top:50%;left:1px;transform:translate(-50%,-50%);width:37px;height:37px;background:white;border-radius:50%;color:#234b3d;font-size:20px;box-shadow:0 2px 10px #0002}.compare input{position:absolute;inset:0;opacity:0;width:100%;height:100%;z-index:4;margin:0;cursor:ew-resize}.compare:focus-within{outline:3px solid #558f71;outline-offset:3px}.tag{position:absolute;z-index:3;top:16px;left:16px;background:#fffE;color:#172c25;padding:5px 10px;font-size:11px;pointer-events:none;backdrop-filter:blur(8px)}.tag.right{left:auto;right:16px;background:#234b3de8;color:white}#hero{max-width:1120px;margin:auto}#hero .compare{max-height:560px;aspect-ratio:16/9}.hero-bottom{display:flex;justify-content:space-between;align-items:center;padding-top:18px}.tabs{display:flex;gap:5px;flex-wrap:wrap}.tabs button{border:none;background:transparent;padding:9px 15px;color:var(--muted);font-size:12px;border-radius:4px}.tabs button[aria-pressed=true]{background:var(--mint);color:var(--green);font-weight:600}.tabs button:hover{background:#eff2ed}.text-button{border:0;background:transparent;color:var(--green);font-size:13px;padding:10px}.gallery-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}#count{font-size:11px;color:var(--muted)}.gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 18px}.card{min-width:0}.card .compare{aspect-ratio:16/10}.card .compare img{object-fit:contain}.card-meta{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:9px}.card h3{font-size:13px;font-weight:550;margin:0}.card-meta button{font-size:11px;border:0;background:transparent;white-space:nowrap;color:var(--green);padding:6px 0 6px 7px}.card .tag{font-size:9px;top:8px;left:8px;padding:3px 6px}.card .tag.right{left:auto;right:8px}.card .bar:after{width:27px;height:27px;font-size:16px}.fineprint{font-size:11px;line-height:1.8;color:var(--muted);margin-top:30px;max-width:900px}.abstract{font-size:18px;line-height:1.9;max-width:940px;margin:35px 0}.reward-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:36px;margin:42px 0}.reward-grid article{border-top:2px solid #b7c9ba;padding-top:22px}.reward-grid span{font-size:10px;letter-spacing:1.4px;color:var(--green)}.reward-grid h3{font-size:21px;font-weight:550;margin:13px 0}.reward-grid p{font-size:13px;line-height:1.8;color:var(--muted)}details{border:1px solid var(--line);padding:18px 22px;border-radius:5px}summary{cursor:pointer;list-style:none;font-size:13px;display:flex;justify-content:space-between}details img{width:100%;height:auto;margin-top:20px}.paper{text-align:center;padding:65px 0}.paper p{font-size:14px;line-height:1.8}.paper .fineprint{margin:20px auto 0}.paper h2{font-size:30px}.paper .button{margin-top:12px}small{font-size:10px;opacity:.8}footer{max-width:1320px;margin:auto;padding:32px 40px 45px;display:flex;align-items:center;justify-content:space-between;gap:15px}footer p,footer>span{font-size:11px;color:var(--muted)}dialog{border:0;padding:25px;width:min(1150px,94vw);max-height:92vh;border-radius:8px;background:var(--paper);color:var(--ink)}dialog::backdrop{background:#0c2019b8;backdrop-filter:blur(5px)}.dialog-head{display:flex;align-items:start;justify-content:space-between;margin-bottom:20px}.dialog-head h2{font-size:22px}.dialog-head p,#viewer-note{font-size:12px;line-height:1.5;color:var(--muted)}#close{border:0;background:var(--mint);border-radius:50%;height:34px;width:34px}#viewer-content video{display:block;width:100%;max-height:65vh;background:#101612}#viewer-content .compare{max-height:65vh}#viewer-content .compare img{max-height:65vh}body.modal-open{overflow:hidden}@media(max-width:800px){.nav{padding:18px 22px}.nav div{gap:16px}header{padding:45px 20px 30px}main{padding:0 22px}.section-top{align-items:start;flex-direction:column;gap:14px}.section-top br{display:none}h2{font-size:28px}.gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 12px}.reward-grid{gap:18px}.hero-bottom{align-items:start;gap:5px}.tabs button{padding:8px 10px}.authors br{display:none}footer p{display:none}}@media(max-width:520px){h1{letter-spacing:-3px}.nav div a:last-child{display:none}.gallery{grid-template-columns:1fr}.card .compare{aspect-ratio:auto}.reward-grid{grid-template-columns:1fr;gap:12px}.gallery-toolbar{align-items:start;gap:10px}#count{padding-top:9px;white-space:nowrap}.hero-bottom{flex-direction:column}section{padding:40px 0}.tag{top:8px;left:8px;font-size:10px}.tag.right{right:8px}.pending{width:100%;margin-top:5px}.authors{font-size:12px}.abstract{font-size:16px}.paper h2{font-size:25px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* Preserve each frame's original aspect ratio without artificial letterboxing. */
#hero .compare{max-height:none}
/* Video-first gallery: one real synchronized clip per example. */
.gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 22px}.video-poster{display:block;position:relative;width:100%;padding:0;border:0;background:transparent;overflow:hidden;color:white}.video-poster img{display:block;width:100%;height:auto}.pair-label{position:absolute;top:10px;background:#10251ec9;padding:4px 8px;font-size:10px;font-weight:500}.pair-label.left{left:10px}.pair-label.right{left:calc(50% + 10px)}.play-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:46px;height:46px;background:#fdfef9ed;color:#234b3d;border-radius:50%;display:grid;place-items:center;padding-left:3px;box-shadow:0 2px 14px #0002}.video-poster:hover .play-icon{background:#234b3d;color:white}.duration{position:absolute;right:8px;bottom:8px;background:#10251ebd;padding:3px 7px;font-size:10px}.card-meta>span{font-size:10px;color:var(--muted)}.video-labels{display:flex;font-size:12px;padding:0 0 10px}.video-labels span{width:50%;text-align:center}#viewer-content video{background:transparent}#hero{max-width:1240px}.card .video-poster{max-height:none} @media(max-width:650px){.gallery{grid-template-columns:1fr}.pair-label{font-size:9px;padding:3px 6px}.play-icon{width:36px;height:36px}.duration{font-size:9px}}
/* Natural proportions for both landscape and portrait footage. */
.gallery{display:block;columns:2;column-gap:24px}.gallery .card{display:inline-block;width:100%;break-inside:avoid;margin-bottom:26px;vertical-align:top}@media(max-width:650px){.gallery{columns:1}}
.motion-compare{position:relative;isolation:isolate;overflow:hidden;background:#e8eee7}.motion-compare canvas{display:block;width:100%;height:auto;position:relative;z-index:1}.motion-compare video{position:absolute;inset:0;width:100%;height:100%;opacity:.001;pointer-events:none}.motion-compare input{position:absolute;inset:0;width:100%;height:100%;opacity:0;z-index:5;cursor:ew-resize;margin:0}.motion-compare:focus-within{outline:3px solid #6a9478;outline-offset:3px}.motion-compare .pair-label{z-index:3;pointer-events:none}.motion-compare .pair-label.right{left:auto;right:10px;background:#234b3de3}.motion-bar{position:absolute;z-index:4;top:0;bottom:0;left:50%;width:2px;background:white;box-shadow:0 0 3px #0004;pointer-events:none}.motion-bar i{position:absolute;top:50%;transform:translate(-50%,-50%);width:32px;height:32px;border-radius:50%;background:white;display:grid;place-items:center;font-style:normal;color:var(--green);font-size:18px;box-shadow:0 2px 9px #0002}.retry-play{position:absolute;z-index:6;bottom:15px;left:50%;transform:translateX(-50%);border:0;border-radius:4px;padding:10px 16px;background:#fffE;color:var(--green)}.retry-play[hidden]{display:none}#hero{max-width:1000px}.gallery{columns:3;column-gap:18px}@media(max-width:1000px){.gallery{columns:2}}@media(max-width:650px){.gallery{columns:1}}

.hero-tagline{font-size:clamp(24px,3.5vw,40px);font-weight:500;letter-spacing:-1px;line-height:1.3;margin:0 0 20px;color:var(--green)}header h2{font-size:clamp(16px,1.6vw,21px);font-weight:400;line-height:1.5;letter-spacing:-.25px}header h1{margin-bottom:15px}

/* Legible, understated labels on both bright and dark video frames. */
.motion-compare .pair-label{color:#fff;background:rgba(24,35,30,.82);font-size:11px;line-height:1.35;font-weight:500;padding:5px 9px;border:1px solid rgba(255,255,255,.18);border-radius:3px;letter-spacing:.1px}
.motion-compare .pair-label.right{background:rgba(35,75,61,.88)}
.paper h2{margin-bottom:24px}
.paper .authors{font-size:13px;line-height:2;margin-bottom:12px}
.paper .affiliations{font-size:11px;line-height:1.8}
.paper .contribution{font-size:10px}
@media(max-width:650px){.motion-compare .pair-label{font-size:10px;padding:4px 7px}}

.showcase .section-top>.showcase-description{font-size:clamp(16px,1.6vw,20px);line-height:1.5;color:var(--ink);max-width:620px;letter-spacing:-.2px}

/* Main demo stays idle until played, preserving the lightweight initial load. */
.demo-section video{display:block;width:100%;height:auto;aspect-ratio:16/9;background:#f8f9f7;border-radius:8px}.demo-meta{display:flex;justify-content:space-between;gap:16px;margin-top:15px;font-size:14px}.demo-meta a{color:inherit}.demo-notes{margin-top:20px;font-size:13px;color:#52625b}.demo-notes p{max-width:900px;line-height:1.6}.demo-notes summary{cursor:pointer}

/* Full-width hero film; gallery comparisons remain below. */
.demo-section{padding-top:0}.demo-meta{font-size:12px}.demo-section video{border-radius:5px}

/* Keep emoji font metrics independent of button text alignment. */
.resources .button{height:44px;padding:0 20px;gap:8px;justify-content:center;line-height:20px;white-space:nowrap}
.button-label{display:block;font-size:13px;line-height:20px;font-weight:400}
.button-icon{display:flex;align-items:center;justify-content:center;flex:0 0 18px;width:18px;height:20px;font-size:16px;line-height:1}
.brand{display:inline-flex;align-items:center;gap:9px}
.brand-logo{display:block;flex:none;width:28px;height:28px}
