@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root { color-scheme: light; --ink:#20231f; --muted:#727770; --paper:#f6f5f1; --accent:#f1b651; --reveal:0; --rise:0; --slide:0; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--paper); color:var(--ink); font-family:'DM Sans',Arial,sans-serif; }
a { color:inherit; }
.site-header { height:72px; padding:0 clamp(22px,4.4vw,82px); display:flex; align-items:center; justify-content:space-between; position:fixed; z-index:10; top:0; left:0; right:0; color:#fff; background:rgba(23,26,24,.92); }
body:not(.has-scrolled) .site-header,
body:not(.has-scrolled) .hero-caption { visibility:hidden; pointer-events:none; }
.wordmark { display:flex; align-items:center; gap:10px; font-family:Manrope,Arial,sans-serif; font-weight:800; font-size:19px; letter-spacing:-.055em; text-decoration:none; }
.mark { display:inline-flex; align-items:center; justify-content:center; width:27px; height:27px; border-radius:6px; background:var(--accent); color:#1d241d; font-size:20px; line-height:1; }
nav { display:flex; gap:29px; font-size:13px; font-weight:700; }
nav a { text-decoration:none; opacity:.88; } nav a:hover,nav a:focus-visible { opacity:1; text-decoration:underline; text-underline-offset:5px; }
.hero { height:140vh; }
.hero-sticky { position:sticky; top:0; height:100vh; min-height:580px; overflow:hidden; background:var(--paper); }
.video-frame { position:absolute; inset:0; transform:translateY(calc(var(--slide)*-100vh)); overflow:hidden; }
.video-frame:after { content:""; pointer-events:none; position:absolute; inset:0; background:linear-gradient(90deg,rgba(0,0,0,.57),transparent 72%),linear-gradient(180deg,rgba(0,0,0,.56),transparent 28%,transparent 48%,rgba(0,0,0,.52)); }
video { width:100%; height:100%; display:block; object-fit:cover; background:#1d201e; }
.play-prompt { position:absolute; z-index:2; left:50%; top:50%; transform:translate(-50%,-50%); border:1px solid rgba(255,255,255,.8); border-radius:999px; padding:15px 22px; background:rgba(25,29,25,.85); color:#fff; font:700 14px 'DM Sans',Arial,sans-serif; white-space:nowrap; cursor:pointer; }
.play-prompt[hidden] { display:none; }
.play-prompt span { margin-right:9px; }
.sound-controls { position:absolute; z-index:2; right:clamp(20px,4vw,70px); bottom:32px; display:flex; align-items:center; gap:12px; padding:9px 13px; border-radius:999px; background:rgba(23,26,24,.82); color:#fff; font-size:12px; }
.sound-controls button { border:0; padding:3px 5px; background:none; color:inherit; font:700 12px 'DM Sans',Arial,sans-serif; cursor:pointer; }
.sound-controls input { width:85px; accent-color:var(--accent); cursor:pointer; }
body.scrolled-away .sound-controls { visibility:hidden; pointer-events:none; }
.hero-caption { position:absolute; bottom:clamp(50px,9vh,110px); left:clamp(28px,8.6vw,160px); color:#fff; pointer-events:none; transform:translateY(calc(var(--rise)*-42vh - var(--slide)*100vh)); }
.hero-project-name { width:min(80vw,850px); }
.hero-project-title { display:block; font-family:Manrope,Arial,sans-serif; font-size:clamp(40px,4.5vw,72px); font-weight:800; line-height:1.08; letter-spacing:-.055em; }
.hero-project-subtitle { display:block; margin-top:12px; font-size:clamp(12px,1.2vw,18px); line-height:1.5; font-weight:500; }
.hero-reveal { position:absolute; top:calc(100% + 22px); left:0; width:min(80vw,850px); opacity:var(--reveal); transform:translateY(calc((1 - var(--reveal))*24px)); }
.eyebrow { display:block; font-size:12px; font-weight:700; letter-spacing:.19em; text-transform:uppercase; }
.hero-caption h1 { margin:17px 0 29px; max-width:800px; font-family:Manrope,Arial,sans-serif; font-size:clamp(48px,6.9vw,112px); line-height:1.03; letter-spacing:-.078em; font-weight:700; }
.scroll-cue { font-size:13px; font-weight:600; letter-spacing:.03em; }
.scroll-cue span { margin-left:12px; font-size:18px; }
.paper-section { padding:70px clamp(25px,8.6vw,160px) 135px; scroll-margin-top:72px; }
.section-label { display:flex; align-items:center; gap:16px; color:#7a7f77; text-transform:uppercase; font-size:11px; font-weight:700; letter-spacing:.18em; margin-bottom:55px; }
.label-line { width:27px; height:1px; background:#a6aaa2; }
.paper-grid { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); gap:clamp(50px,9vw,150px); }
.dark { color:#9c6729; }
.paper-heading h2 { max-width:740px; font-family:Manrope,Arial,sans-serif; font-size:clamp(42px,4.2vw,72px); line-height:1.12; letter-spacing:-.066em; font-weight:700; margin:23px 0 26px; }
.byline { color:var(--muted); font-size:14px; }
.byline p { margin:0 0 12px; line-height:1.7; }
.author-list { display:flex; flex-wrap:wrap; column-gap:18px; row-gap:6px; color:var(--ink); }
.author-list > span { white-space:nowrap; }
.byline sup { font-size:.72em; line-height:0; margin-left:2px; }
.affiliations, .author-notes { display:flex; flex-wrap:wrap; column-gap:18px; row-gap:4px; }
.affiliations sup, .author-notes sup { margin-left:0; margin-right:4px; }
.institution-logos { display:flex; align-items:center; gap:clamp(20px,3vw,36px); margin:26px 0 8px; }
.institution-logo { display:block; flex-shrink:0; }
.institution-logo img { display:block; max-width:100%; height:auto; }
.ecnu-logo { width:82px; }
.sjtu-logo { width:270px; max-width:calc(100% - 118px); }
.institution-logo:focus-visible { outline:2px solid var(--ink); outline-offset:6px; border-radius:4px; }
.project-links { display:flex; flex-wrap:wrap; gap:10px; margin:26px 0 0; }
.project-link { display:inline-flex; align-items:center; gap:8px; min-height:42px; padding:10px 16px; border:1px solid #292e28; border-radius:999px; background:#292e28; color:#fff; font-size:13px; font-weight:700; text-decoration:none; }
.project-link:not(.is-pending):hover { background:#484f45; }
.project-link:focus-visible { outline:2px solid #9c6729; outline-offset:3px; }
.project-link.is-pending { cursor:default; }
.project-link.resource-arxiv { border-color:#b31b1b; background:#b31b1b; color:#fff; }
.project-link.resource-code { border-color:#24292f; background:#24292f; color:#fff; }
.resource-icon { width:18px; height:18px; flex:none; }
.arxiv-icon { display:inline-flex; align-items:center; justify-content:center; width:20px; height:20px; font-family:Georgia,serif; font-size:18px; font-weight:700; line-height:1; letter-spacing:-.16em; padding-right:3px; }
.arxiv-icon span { font-size:19px; font-weight:400; }
.project-link small { font-size:10px; font-weight:500; }
.teaser { margin:38px 0 0; overflow:hidden; border-radius:12px; background:#fff; box-shadow:0 12px 35px rgba(33,38,32,.08); }
.teaser img { display:block; width:100%; height:auto; }
.abstract-copy { padding-top:4px; }
.abstract-copy h3 { margin:0 0 25px; font-size:16px; font-weight:700; }
.abstract-copy p { font-size:16px; line-height:1.85; color:#454b44; margin:0 0 18px; }
.video-note { border-top:1px solid #deded7; margin:0 clamp(25px,8.6vw,160px); padding:65px 0 95px; display:flex; justify-content:space-between; gap:25px; align-items:end; }
.video-note h2 { margin:14px 0 0; font-family:Manrope,Arial,sans-serif; font-size:clamp(30px,3.4vw,54px); letter-spacing:-.06em; line-height:1.15; }
.text-link { flex:none; font-size:14px; font-weight:700; text-decoration:none; border-bottom:1px solid currentColor; padding-bottom:6px; }
.text-link span { padding-left:17px; }
footer { background:#eaeae4; padding:27px clamp(25px,8.6vw,160px); display:flex; justify-content:space-between; gap:25px; }
.footer-brand { color:#666d63; font-size:12px; }
.footer-review-note { color:#eaeae4; font-size:12px; }
@media (max-width:800px) { .hero { height:140vh; } .hero-sticky { min-height:0; } video { object-fit:contain; } .sound-controls { right:16px; bottom:16px; } .hero-caption { bottom:45px; right:22px; transform:translateY(calc(var(--rise)*-48vh - var(--slide)*100vh)); } .hero-reveal { width:calc(100vw - 50px); } .hero-caption h1 { font-size:clamp(42px,10vw,70px); } .paper-section { padding-top:48px; padding-bottom:85px; } .paper-grid { grid-template-columns:1fr; gap:42px; } .video-note { align-items:start; flex-direction:column; } footer { flex-direction:column; } }
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } .hero-reveal { transform:none; } }
