/* X-VGGT — buildless, responsive academic project page. */
:root{--ink:#182c2d;--muted:#647375;--accent:#117b76;--accent-dark:#0c5e5a;--line:#dce5e2;--tint:#f5f8f7;--soft:#e7f2ef;--width:1120px;--body:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:32px}
body{margin:0;background:#fff;color:var(--ink);font-family:var(--body);font-size:16px;line-height:1.65;-webkit-font-smoothing:antialiased}
a{color:var(--accent);text-underline-offset:4px}
button{font:inherit}
button,a,summary{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
button:disabled{cursor:default}
:focus-visible{outline:3px solid var(--accent);outline-offset:5px}
[hidden]{display:none!important}
img,video{display:block;max-width:100%;height:auto}
picture{display:block}
figure{margin:0}
h1,h2,h3,p{margin-top:0}
h1,h2,h3{line-height:1.2;letter-spacing:-.035em}
h2{font-size:clamp(30px,3.4vw,42px);font-weight:650;margin-bottom:22px}
h3{font-size:21px;font-weight:650}
p{margin-bottom:20px}
strong{font-weight:650}
.container{width:min(var(--width),calc(100% - 64px));margin-inline:auto}
.site-header{max-width:1280px;padding:27px 40px;margin:auto;display:flex;align-items:center;justify-content:space-between}
.wordmark{font-size:19px;color:var(--ink);font-weight:750;letter-spacing:-.055em;text-decoration:none;display:inline-flex;align-items:center;gap:1px}
.brand-x{color:var(--accent)}
.brand-dot{width:5px;height:5px;border-radius:50%;background:var(--accent);margin-left:3px;align-self:flex-end;margin-bottom:10px}
.site-header nav{display:flex;gap:30px}
.site-header nav a{font-size:13px;font-weight:550;text-decoration:none;color:var(--muted)}
.site-header nav a:hover{color:var(--accent)}
.hero{padding:46px 32px 0;text-align:center}
.hero-brand{font-size:clamp(44px,5.7vw,72px);font-weight:760;letter-spacing:-.065em;line-height:1.1;margin-bottom:21px}
.hero-brand span{color:var(--accent)}
h1{font-size:clamp(27px,3.8vw,47px);font-weight:650;max-width:1000px;margin:0 auto 27px;line-height:1.15;letter-spacing:-.04em}
h1>span{font-size:.77em;color:#536769;font-weight:450;letter-spacing:-.025em;display:inline-block;margin-top:9px}
.authors{display:flex;justify-content:center;gap:35px;font-size:17px;font-weight:550;margin-bottom:6px}
.affiliation{font-size:13px;color:var(--muted);margin-bottom:24px}
.affiliation-dot{padding:0 5px}
.mobile-break{display:none}
.resource-links{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}
.pill{display:inline-flex;justify-content:center;align-items:center;gap:9px;padding:10px 19px;border-radius:30px;border:1px solid var(--line);font-size:14px;font-weight:550;text-decoration:none;min-height:44px;transition:background .18s,transform .18s}
.pill svg,.copy-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.pill svg.github-icon{fill:currentColor;stroke:none}
.pill-primary{background:var(--ink);color:#fff;border-color:var(--ink)}
.pill-primary:hover{background:var(--accent-dark);border-color:var(--accent-dark);transform:translateY(-1px)}
.pill-disabled{background:#f8f9f8;color:#657373}
.coming-soon{border-left:1px solid #d4ddda;padding-left:9px;font-size:11px;font-weight:450}
.hero-takeaway{font-size:17px;color:var(--muted);margin:39px auto 25px;line-height:1.7}
.hero-takeaway strong{color:var(--ink);font-weight:500}
.hero-figure{max-width:var(--width);margin:auto}
.video-frame{background:#0d1518;border-radius:16px;overflow:hidden;border:1px solid #263235;box-shadow:0 12px 35px #142d2a0a}
.video-frame video{width:100%;aspect-ratio:1920/1088}
figcaption{color:var(--muted);font-size:13px;line-height:1.7;margin-top:17px}
.hero-figure figcaption{margin-top:14px}
.caption-label{font-weight:600;color:var(--ink);margin-right:5px}
.section{padding-block:94px}
.section-heading{max-width:840px}
.eyebrow{font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--accent);margin-bottom:15px}
.section-intro{font-size:18px;line-height:1.8;max-width:880px;color:#536567;margin-bottom:38px}
.section-intro strong{color:var(--ink)}
.paper-figure a{display:block;border-radius:5px}
.paper-figure img{width:100%}
.paper-figure figcaption strong{color:#405758}
.zoom-hint{white-space:nowrap;color:var(--accent);font-size:12px;margin-left:4px}
.abstract-block{border-top:1px solid var(--line);margin:46px auto 0;padding-top:30px;display:grid;grid-template-columns:155px 1fr;gap:35px}
.abstract-block h3{font-size:19px;margin-top:5px}
.abstract-block p{font-size:15px;color:#536567;line-height:1.9;margin:0}
.section-tinted{background:var(--tint);border-block:1px solid #eaf0ed}
.method-steps{list-style:none;padding:0;margin:0 0 44px;display:grid;grid-template-columns:repeat(3,1fr);gap:35px}
.method-steps li{border-top:1px solid #cbdcd6;padding-top:19px}
.step-number{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;color:var(--accent)}
.method-steps h3{font-size:20px;margin-top:12px;margin-bottom:12px}
.method-steps p{font-size:14px;color:#5b6c6e;line-height:1.8;margin:0}
.architecture{background:white;border:1px solid var(--line);border-radius:12px;padding:25px}
.architecture figcaption{margin-bottom:0}
.method-note{font-size:13px;color:var(--muted);border-left:2px solid #9bc6bd;padding-left:15px;margin:24px 0 0;max-width:900px}
.scene-switcher{display:flex;gap:10px;margin:0 0 28px}
.scene-button{border:1px solid var(--line);border-radius:9px;background:white;color:var(--ink);padding:11px 18px;min-height:48px;text-align:left;font-size:14px;font-weight:600;transition:background .18s,border-color .18s}
.scene-button span{display:block;font-size:11px;font-weight:450;color:var(--muted);margin-top:2px}
.scene-button[aria-pressed=true]{border-color:var(--accent);background:var(--soft);color:var(--accent-dark)}
.scene-button:hover{border-color:var(--accent)}
.scene-panel{margin-bottom:28px}
.scene-panel figcaption{max-width:950px}
.more-results{border-block:1px solid var(--line);margin-top:30px}
summary{cursor:pointer}
.more-results>summary{list-style:none;padding:19px 0;display:flex;align-items:center;gap:14px;font-size:14px;font-weight:550}
.more-results>summary::-webkit-details-marker{display:none}
.detail-count{font-size:11px;color:var(--muted);background:var(--tint);padding:2px 9px;border-radius:20px;font-weight:400}
.detail-plus{margin-left:auto;font-size:22px;font-weight:400;color:var(--accent);line-height:1}
.more-results[open] .detail-plus{transform:rotate(45deg)}
.extra-scenes{padding-block:12px 26px;display:grid;gap:30px}
.extra-scenes figcaption{font-size:12px;margin-top:10px}
.depth-section{padding-top:61px}
.subsection-heading{display:flex;align-items:center;gap:12px}
.subsection-heading h3{font-size:25px;margin-bottom:15px}
.small-rule{width:18px;height:2px;background:var(--accent);flex-shrink:0;margin-bottom:15px}
.depth-section>p{font-size:16px;color:#536567;max-width:800px;margin-bottom:30px}
.depth-figure{max-width:940px;margin-inline:auto}
.table-block{min-width:0}
.table-heading{display:flex;gap:15px;align-items:center;justify-content:space-between;margin-bottom:12px}
.table-heading h3{margin:0;font-size:22px}
.metric-direction{color:var(--accent-dark);font-size:11px;white-space:nowrap;border:1px solid #cfdfd9;padding:3px 9px;border-radius:20px}
.table-block>p{font-size:13px;color:var(--muted);margin-bottom:19px;line-height:1.75}
.table-scroll{overflow-x:auto;max-width:100%;border:1px solid var(--line);border-radius:9px;background:white;scrollbar-width:thin}
table{width:100%;border-collapse:collapse;text-align:right;font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}
th,td{padding:12px 13px;border-bottom:1px solid #edf1ef}
thead{background:#edf3f0}
thead th{font-weight:600;font-size:11px;color:#405d5b}
thead tr:first-child th[colspan]{text-align:center;border-bottom:1px solid #d9e4df}
th:first-child{text-align:left}
tbody th{font-weight:450}
tbody tr:last-child th,tbody tr:last-child td{border-bottom:0}
.group-start th,.group-start td{border-top:1px solid #d7e1dc}
tr.ours{background:#e7f1ed;color:var(--accent-dark)}
tr.ours th{font-weight:700}
tr.ours th span{font-weight:450;font-size:10px}
.table-block>p.table-note{font-size:12px;margin:14px 0 0;line-height:1.8}
.secondary-tables{display:grid;grid-template-columns:.88fr 1.12fr;gap:40px;margin-top:50px;align-items:start}
.secondary-tables table{font-size:11px}
.secondary-tables th,.secondary-tables td{padding:12px 10px}
.secondary-tables .table-heading{align-items:start}
.secondary-tables .table-heading h3{font-size:20px}
.secondary-tables .table-block>p:not(.table-note){min-height:46px}
.citation-section{max-width:960px}
.citation-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}
.citation-heading h2{margin:0}
.copy-button{display:inline-flex;align-items:center;gap:8px;background:white;border:1px solid var(--line);border-radius:8px;padding:8px 13px;font-size:12px;color:#405d5b;min-height:42px}
.copy-button:hover{background:var(--tint);border-color:#9bbfb4}
pre{margin:0;background:var(--tint);border:1px solid var(--line);border-radius:10px;padding:25px 28px;overflow-x:auto;font-size:12px;line-height:1.9;color:#3c5856;tab-size:2}
code{font-family:ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace}
.copy-status{min-height:20px;font-size:12px;color:var(--accent);margin:7px 0 0}
.site-footer{border-top:1px solid var(--line);padding:37px 0 45px;background:#fafbf9}
.footer-inner{max-width:960px}
.footer-credit{font-size:12px;color:var(--muted);margin:9px 0 17px}
.credits{font-size:11px;color:#657473;max-width:850px}
.credits summary{font-size:12px;width:fit-content}
.credits p{margin:13px 0 0;line-height:1.8}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:fixed;left:15px;top:12px;z-index:10;background:white;padding:10px 15px;border:1px solid var(--accent);border-radius:5px;transform:translateY(-150%)}
.skip-link:focus{transform:translateY(0)}
@media(min-width:1400px){.hero{padding-top:60px}}
@media(max-width:1050px){.secondary-tables{grid-template-columns:1fr;gap:35px}.secondary-tables .table-block>p:not(.table-note){min-height:0}.secondary-tables table{font-size:12px}.method-steps{gap:23px}}
@media(max-width:700px){
  .container{width:calc(100% - 36px)}
  .site-header{padding:20px 20px}
  .site-header nav{gap:20px}
  .site-header nav a{font-size:12px}
  .hero{padding:32px 18px 0}
  .hero-brand{margin-bottom:20px;font-size:49px}
  h1{font-size:31px;line-height:1.16;max-width:580px;margin-bottom:24px}
  h1>span{font-size:.76em;margin-top:11px}
  .desktop-break{display:none}
  .authors{gap:22px;font-size:14px}
  .affiliation{font-size:11px;line-height:1.8;margin-top:8px}
  .mobile-break{display:block}
  .affiliation-dot{display:none}
  .hero-takeaway{font-size:14px;margin-top:29px;margin-bottom:20px}
  .video-frame{border-radius:10px}
  .hero-figure figcaption{font-size:11px;max-width:420px;margin-inline:auto}
  .caption-label{display:block}
  .section{padding-block:60px}
  h2{font-size:30px;margin-bottom:18px}
  .eyebrow{font-size:10px;margin-bottom:12px}
  .section-intro{font-size:16px;line-height:1.8;margin-bottom:28px}
  figcaption{font-size:11px;line-height:1.8;margin-top:14px}
  .zoom-hint{display:block;margin-left:0;margin-top:6px;font-size:11px}
  .abstract-block{grid-template-columns:1fr;gap:0;margin-top:30px;padding-top:24px}
  .abstract-block h3{margin-bottom:13px}
  .abstract-block p{font-size:14px;line-height:1.85}
  .method-steps{grid-template-columns:1fr;gap:23px;margin-bottom:30px}
  .method-steps li{position:relative;padding-left:40px;padding-top:15px}
  .step-number{position:absolute;left:0;top:17px}
  .method-steps h3{margin-top:0;font-size:19px;margin-bottom:9px}
  .method-steps p{font-size:13px}
  .architecture{padding:12px;border-radius:8px}
  .method-note{font-size:12px}
  .scene-switcher{gap:8px;margin-bottom:21px}
  .scene-button{padding:10px 12px;font-size:12px;flex:1}
  .scene-button span{font-size:10px}
  .more-results>summary{font-size:12px;gap:8px}
  .detail-count{font-size:10px}
  .depth-section{padding-top:42px}
  .subsection-heading h3{font-size:22px}
  .depth-section>p{font-size:14px}
  .table-heading h3{font-size:19px}
  .metric-direction{font-size:10px;padding:2px 7px}
  .table-block>p{font-size:12px}
  .table-scroll{border-radius:7px}
  th,td{padding:11px 12px}
  .secondary-tables{margin-top:36px}
  .secondary-tables th,.secondary-tables td{padding:12px 10px}
  .secondary-tables .table-heading h3{font-size:19px}
  .table-block>p.table-note{font-size:11px}
  .citation-heading{gap:12px}
  .copy-button{font-size:11px;padding:7px 10px}
  pre{font-size:10px;padding:18px 16px}
  .site-footer{padding:28px 0 35px}
  .footer-credit{font-size:11px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
