.studio-preview{--blue:#2179ad;--orange:#d99336;--ink:#152c3a;--line:#dce5e8;background:#f8faf9;color:var(--ink)}
.studio-preview .site-header{max-width:none;padding:0 max(32px,calc((100vw - 1392px)/2));height:76px;background:#f8faf9ed;backdrop-filter:blur(18px);z-index:30}.studio-preview .section-nav{font-size:12px;gap:26px}.studio-preview main{max-width:1456px;padding:0 40px}.studio-preview .intro{text-align:left;padding:64px 0 70px}.hero-layout{display:grid;grid-template-columns:1.05fr 1.15fr;gap:42px;align-items:center}.hero-kicker{display:flex;align-items:center;gap:9px;font-size:10px;font-weight:700;letter-spacing:2px;color:#637f8c;margin:0 0 25px}.hero-kicker span{height:7px;width:7px;background:#2186bc;border-radius:50%;box-shadow:0 0 0 5px #2186bc12}.studio-preview .intro h1{font-size:clamp(29px,3vw,44px);text-align:left;margin:0;line-height:1.13;letter-spacing:-.4px;max-width:630px}.hero-deck{font-size:18px;line-height:1.55;color:#687f8a;margin:24px 0}.hero-links{display:flex;gap:20px;align-items:center;flex-wrap:wrap;margin-top:30px;font-size:12px;font-weight:600}.hero-primary{background:#183847;color:white;border-radius:7px;padding:16px 20px;display:flex;gap:30px;transition:background .2s,transform .2s}.hero-primary:hover{background:#237da4;transform:translateY(-2px)}.hero-secondary{padding:14px 0;border-bottom:1px solid #9cb6bf}.hero-secondary span{margin-left:15px}.hero-stage{position:relative;background:#eaf1f2;border:1px solid #d2e0e4;border-radius:16px;overflow:hidden;box-shadow:0 25px 65px #1a445616}.hero-stage-top,.hero-stage-bottom{display:flex;justify-content:space-between;align-items:center;padding:20px 22px;font-size:9px;letter-spacing:1.2px;color:#46697b}.hero-stage-top span{display:flex;gap:8px;align-items:center}.hero-stage-top i{width:6px;height:6px;border-radius:50%;background:#348fb3}.hero-pause{border:0;background:none;color:inherit;font-size:10px;padding:6px}.hero-video{display:block;width:100%;aspect-ratio:1200/406;object-fit:cover;min-height:230px}.hero-stage-bottom{border-top:1px solid #d9e6e9;font-size:8px}.live-bars{font-size:20px;color:#3695b3;letter-spacing:5px}.ability-rail{display:grid;grid-template-columns:repeat(4,1fr);margin:46px 0 34px;border-block:1px solid var(--line)}.ability-rail a{display:flex;flex-direction:column;position:relative;padding:24px 22px;gap:9px;border-right:1px solid var(--line);transition:background .2s}.ability-rail a:first-child{padding-left:0}.ability-rail a:last-child{border-right:0}.ability-rail a:hover{background:#e9f2f5}.ability-rail span{font-size:10px;color:#708691}.ability-rail strong{font-size:15px;font-weight:550}.ability-rail b{position:absolute;right:18px;top:24px;font-weight:400;color:#73929f}.studio-preview .paper-authors{margin:32px 0 44px}.studio-preview .author-row{font-size:16px;gap:8px 22px}.studio-preview .author-affiliations{font-size:12px}.studio-preview .author-contributions{font-size:11px}.studio-preview .teaser-figure{border:1px solid var(--line);padding:12px;background:white;border-radius:12px}.teaser-figure figcaption{display:flex;justify-content:space-between;padding:7px 6px 16px;font-size:9px;letter-spacing:1.2px;color:#687e8a}.studio-preview .demo-video-section{padding:0 0 80px}.studio-preview .demo-video-section video{box-shadow:0 15px 50px #1a44560a}.studio-preview .task-section{padding:60px 0 85px;border-top:1px solid var(--line)}.studio-preview .task-heading{margin-bottom:26px}.studio-preview .task-heading h2,.studio-preview .benchmark-heading h2{font-family:PaperSerif,Georgia,serif;font-weight:400;font-size:42px;letter-spacing:-.8px}.studio-preview .task-heading p:last-child{font-size:13px;max-width:690px;line-height:1.7}.studio-preview .eyebrow{color:#78919c;letter-spacing:2px;font-size:9px}.studio-preview .section-chip{border:0;background:#e8eff0;color:#486975;font-size:10px;padding:9px 14px}.studio-preview .studio{border-radius:13px;border-color:#d6e2e6;box-shadow:0 18px 55px #233e4910}.studio-preview .studio-body{grid-template-columns:minmax(0,1fr) 300px}.studio-preview .stage{height:540px;min-height:500px;max-height:640px}.studio-preview .inspector{padding:24px;background:#fff;min-height:0}.studio-preview .prompt-card{font-family:PaperSerif,Georgia,serif;font-size:20px;line-height:1.5;color:#244b60;border-left:2px solid #4694ba;padding-left:16px}.studio-preview .description{font-size:12px;line-height:1.8}.studio-preview .case-nav{background:#f4f8f8;border-bottom:1px solid var(--line);padding:14px 18px}.studio-preview .case-controls select{min-width:70px;width:74px}.studio-preview .comparison-legend{font-size:12px}.sample-strip{display:flex;gap:5px;padding:10px 18px;border-bottom:1px solid var(--line);overflow:auto;scrollbar-width:thin}.sample-strip button{flex:none;background:none;border:1px solid transparent;border-radius:5px;width:34px;height:30px;font-size:11px;color:#637d88}.sample-strip button:hover{background:#eaf2f5}.sample-strip button[aria-pressed=true]{background:#203f50;color:white}.viewer-fullscreen{background:#fff;border:1px solid var(--line);border-radius:5px;color:#456474;font-size:11px;padding:5px 9px}.studio-preview .studio:fullscreen{background:#fff;width:100vw;height:100vh;border:0;border-radius:0;overflow:auto;display:flex;flex-direction:column}.studio-preview .studio:fullscreen .studio-body{flex:1}.studio-preview .studio:fullscreen .stage{max-height:none;height:calc(100vh - 260px)}.studio-preview .structural-task-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:0;padding:0;background:#f6f9fa}.studio-preview .structural-task-tabs button{border:0;border-right:1px solid var(--line);border-bottom:2px solid transparent;border-radius:0;display:flex;flex-direction:column;text-align:left;gap:8px;padding:17px;font-size:12px;background:none}.studio-preview .structural-task-tabs button[aria-pressed=true]{border-bottom-color:#2486b5;background:#eaf3f7;color:#185673}.protocol-diagram{width:100%;max-width:155px;height:12px;display:block}.protocol-hint{font-size:9px;font-weight:400;color:#728791}.studio-preview .benchmark-card{box-shadow:none}.studio-preview .benchmark-title h3{font-family:PaperSerif,Georgia,serif;font-size:29px;font-weight:400}.studio-preview .benchmark-table .ours>*{background:#eaf4f8}.studio-preview .benchmark-table .ours th{color:#216d96}.preview-badge{position:fixed;bottom:12px;left:16px;background:#193645ed;color:#d9e6eb;padding:9px 13px;border-radius:5px;font-size:8px;letter-spacing:1px;z-index:40;box-shadow:0 4px 18px #1233}.preview-badge a{margin-left:14px;color:white;text-decoration:underline;letter-spacing:0}.reveal-ready{opacity:0;transform:translateY(18px);transition:opacity .6s,transform .6s}.reveal-ready.is-revealed{opacity:1;transform:none}
@media(max-width:1050px){.hero-layout{gap:25px}.studio-preview main{padding:0 25px}.studio-preview .intro h1{font-size:34px}.studio-preview .studio-body{grid-template-columns:minmax(0,1fr) 260px}.ability-rail strong{font-size:13px}}
@media(max-width:760px){.studio-preview .site-header{height:auto;padding:14px 20px 0}.studio-preview .section-nav{gap:19px;font-size:11px}.studio-preview main{padding:0 18px}.studio-preview .intro{padding-top:35px}.hero-layout{grid-template-columns:1fr;gap:30px}.studio-preview .intro h1{font-size:35px}.hero-kicker{font-size:8px;margin-bottom:18px}.hero-deck{font-size:16px;margin:17px 0}.hero-links{margin-top:19px}.hero-video{min-height:160px}.ability-rail{grid-template-columns:1fr 1fr;margin-top:28px}.ability-rail a{padding:18px 12px!important}.ability-rail a:nth-child(2){border-right:0}.ability-rail a:nth-child(-n+2){border-bottom:1px solid var(--line)}.ability-rail strong{font-size:12px}.ability-rail b{right:10px;top:16px}.studio-preview .author-row{font-size:14px;gap:6px 13px}.studio-preview .teaser-figure{margin:0;padding:6px}.teaser-figure figcaption{font-size:7px;gap:10px;letter-spacing:.3px}.studio-preview .task-heading h2,.studio-preview .benchmark-heading h2{font-size:34px}.studio-preview .studio-body{grid-template-columns:1fr}.studio-preview .stage{height:360px;min-height:360px;max-height:360px}.studio-preview .structural-task-tabs{grid-template-columns:1fr 1fr}.studio-preview .structural-task-tabs button{padding:13px}.studio-preview .case-nav{padding:12px}.sample-strip{padding:9px 12px}.studio-preview .task-section{padding:40px 0 55px}.studio-preview .prompt-card{font-size:19px}.studio-preview .section-chip{margin-top:10px}.hero-stage-top,.hero-stage-bottom{padding:15px}.studio-preview .author-contributions{font-size:10px}.studio-preview .inspector{padding:20px}}
@media(prefers-reduced-motion:reduce){.reveal-ready{opacity:1;transform:none;transition:none}.hero-primary{transition:none}}
/* Give caption comparisons enough space without shrinking the source motion. */
.studio-preview [data-task=m2t] .studio-body{grid-template-columns:minmax(0,1fr) minmax(380px,.9fr)}
.studio-preview [data-task=m2t] .inspector{gap:16px}
.studio-preview [data-task=m2t] .caption-result+.caption-result{margin-top:4px}
.studio-preview .fixed-condition-caption{color:#00887f;border-left-color:#00887f}
.studio-preview .motiongpt-caption{color:#bd6429;border-left-color:#e9823f}
.studio-preview .reference-caption{color:#687383;border-left-color:#d8dee7}
.studio-preview .section-nav{font-size:13px}
.protocol-hint{font-size:11px}
.hero-stage-top{font-size:10px}
.hero-stage-bottom{font-size:9px}
.hero-video{aspect-ratio:1200/382}
@media(max-width:760px){.studio-preview [data-task=m2t] .studio-body{grid-template-columns:1fr}.studio-preview .section-nav{font-size:11px}.hero-stage-bottom{font-size:7px}.hero-links{gap:12px}.hero-primary{padding:14px 16px;gap:14px}.hero-secondary span{margin-left:6px}}
.studio-preview .pipeline-section .benchmark-heading{margin-bottom:24px}
.studio-preview .pipeline-figure{padding:18px;background:#fff;border:1px solid var(--line);border-radius:12px}
.studio-preview .pipeline-figure img{display:block;width:100%;height:auto}
.studio-preview .pipeline-figure figcaption{display:flex;align-items:baseline;justify-content:space-between;gap:30px;margin-top:20px;padding:18px 4px 2px;border-top:1px solid var(--line);font-size:13px;line-height:1.7;color:#637d88}
.studio-preview .pipeline-figure figcaption>span{max-width:900px}
.studio-preview .pipeline-figure figcaption>a{flex-shrink:0;color:#2179ad;text-decoration:underline;text-underline-offset:3px}
@media(max-width:760px){.studio-preview .pipeline-figure{padding:8px}.studio-preview .pipeline-figure figcaption{flex-direction:column;gap:10px;font-size:12px}}
/* Compact motion-to-text comparison: four aligned caption rows. */
.studio-preview [data-task=m2t] .studio-body{grid-template-columns:minmax(0,.82fr) minmax(0,1fr)}
.studio-preview [data-task=m2t] .stage{height:370px;min-height:370px;max-height:370px;flex:none}
.studio-preview [data-task=m2t] .inspector{display:grid;grid-auto-rows:minmax(min-content,1fr);gap:0;padding:0}
.studio-preview [data-task=m2t] .caption-result{display:flex;flex-direction:column;justify-content:center;padding:22px 28px;margin:0;border-bottom:1px solid var(--line)}
.studio-preview [data-task=m2t] .caption-result+.caption-result{margin-top:0}
.studio-preview [data-task=m2t] .caption-result:last-child{border-bottom:0}
.studio-preview [data-task=m2t] .motius-result{background:#f0f7fb}
.studio-preview [data-task=m2t] .fixed-condition-result{background:#f5faf9}
.studio-preview [data-task=m2t] .reference-result{background:#f7f8f9}
.studio-preview [data-task=m2t] .caption-result .eyebrow{font-size:12px;letter-spacing:1px;margin:0 0 10px;font-weight:700}
.studio-preview [data-task=m2t] .prompt-card{font-size:22px;line-height:1.45;padding-left:0;border-left:0}
.studio-preview [data-task=m2t].studio:fullscreen .stage{height:calc(100vh - 290px);max-height:none}
@media(max-width:1050px) and (min-width:761px){.studio-preview [data-task=m2t] .caption-result{padding:18px 20px}.studio-preview [data-task=m2t] .prompt-card{font-size:19px}.studio-preview [data-task=m2t] .stage-toolbar{flex-wrap:wrap}}
@media(max-width:760px){.studio-preview [data-task=m2t] .studio-body{grid-template-columns:1fr}.studio-preview [data-task=m2t] .stage{height:320px;min-height:320px;max-height:320px}.studio-preview [data-task=m2t] .inspector{grid-auto-rows:auto}.studio-preview [data-task=m2t] .caption-result{padding:20px}.studio-preview [data-task=m2t] .prompt-card{font-size:19px}}
/* Keep conditioning text and controls in a compact bar above the pair. */
.studio-preview [data-task=structure] .studio-body{grid-template-columns:minmax(0,1fr)}
.studio-preview [data-task=structure] .inspector{grid-row:1;display:grid;grid-template-columns:minmax(0,1.4fr) minmax(300px,1fr);gap:28px;padding:20px 24px;background:#f5f9fb;border-bottom:1px solid var(--line)}
.studio-preview [data-task=structure] .structure-caption{align-self:center}
.studio-preview [data-task=structure] .structure-caption .eyebrow{margin-bottom:8px}
.studio-preview [data-task=structure] .prompt-card{font-size:21px;line-height:1.4}
.studio-preview [data-task=structure] .structure-controls{display:flex;flex-direction:column;gap:10px;border-left:1px solid var(--line);padding-left:24px;justify-content:center}
.studio-preview [data-task=structure] .pair-legend{margin:0;gap:18px;font-size:12px}
.studio-preview [data-task=structure] .structure-controls .description{line-height:1.5}
.studio-preview [data-task=structure] .viewer-column{border-right:0}
.studio-preview [data-task=structure] .stage{height:380px;min-height:380px;max-height:380px;flex:none}
.studio-preview [data-task=structure].studio:fullscreen .stage{height:calc(100vh - 450px);max-height:none}
@media(max-width:760px){.studio-preview [data-task=structure] .inspector{grid-template-columns:1fr;gap:16px;padding:18px}.studio-preview [data-task=structure] .structure-controls{border-left:0;border-top:1px solid var(--line);padding:14px 0 0}.studio-preview [data-task=structure] .prompt-card{font-size:19px}.studio-preview [data-task=structure] .stage{height:320px;min-height:320px;max-height:320px}}

/* Explain the task before introducing comparisons and playback controls. */
.studio-preview .task-heading p:not(.eyebrow):not(.task-evaluation){font-size:16px;line-height:1.7;max-width:780px;color:#365565}
.studio-preview .task-heading .task-evaluation{font-size:12px;color:#70818d;max-width:780px;margin-top:12px}
.task-guide{padding:22px 24px;background:#edf4f7;border-bottom:1px solid var(--line)}
.task-guide h3{margin:0 0 14px;font-size:19px;font-weight:600;color:#244b60}
.task-guide-flow{display:grid;grid-template-columns:1fr 1.4fr;gap:28px}
.task-guide-flow p{margin:0;font-size:14px;line-height:1.65;color:#365565}
.task-guide-flow span{display:block;margin-bottom:5px;font-size:10px;font-weight:700;letter-spacing:1.2px;color:#627e8d}
.task-guide .task-guide-reading{margin:14px 0 0;padding-top:12px;border-top:1px solid #d6e2e6;font-size:13px;line-height:1.7;color:#365565}
@media(max-width:760px){.task-guide{padding:18px}.task-guide-flow{grid-template-columns:1fr;gap:14px}.task-guide h3{font-size:18px}}

.studio-preview [data-task=m2t] .motius-caption,
.studio-preview [data-task=m2t] .fixed-condition-caption{font-weight:700;font-synthesis:weight}
.studio-preview [data-task=t2m] .task-guide .prompt-card{margin:0}
.studio-preview .demo-video-section video{height:auto;aspect-ratio:16/9}

/* Paper-first opening: title, authors, then the full demo. */
.studio-preview .paper-intro{padding:48px 0 30px;text-align:center}
.studio-preview .paper-intro h1{max-width:1240px;margin:0 auto;text-align:center;font-size:clamp(30px,3.3vw,46px);line-height:1.2;letter-spacing:.01em}
.studio-preview .paper-intro .paper-authors{margin:26px 0 0}
.studio-preview .paper-intro+.demo-video-section{padding-top:0;padding-bottom:64px}
@media(max-width:760px){.studio-preview .paper-intro{padding:30px 0 24px}.studio-preview .paper-intro h1{font-size:clamp(27px,7vw,36px);line-height:1.2}.studio-preview .paper-intro .paper-authors{margin-top:22px}.studio-preview .paper-intro+.demo-video-section{padding-bottom:40px}}

/* Keep the home link visible even when the task navigation scrolls on mobile. */
.studio-preview .header-brand{display:flex;align-items:center;gap:24px;flex-shrink:0}
.studio-preview .header-home{display:inline-flex;align-items:center;gap:7px;padding:8px 12px;border:1px solid #c6d9de;border-radius:7px;color:#315666;background:#fff;font-size:12px;font-weight:600;line-height:1;white-space:nowrap;transition:background .2s,border-color .2s}
.studio-preview .header-home:hover{background:#edf5f6;border-color:#94b8c2}
.studio-preview .header-home:focus-visible{outline:2px solid #3987a7;outline-offset:3px}
@media(min-width:761px) and (max-width:1100px){.studio-preview .header-brand{gap:12px}.studio-preview .section-nav{gap:12px;font-size:11px}}
@media(max-width:760px){.studio-preview .header-brand{justify-content:space-between;width:100%}}

/* Paper and repository links below the paper authors. */
.paper-links{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:12px;margin-top:24px}
.paper-code-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:7px 18px;border:1px solid #cddce2;border-radius:999px;background:#fff;color:#1b3848;text-decoration:none;font-size:14px;font-weight:550;letter-spacing:.01em;line-height:1.2;box-shadow:0 1px 3px rgba(21,44,58,.06);transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease}
.paper-code-link svg{flex-shrink:0}
.paper-code-link.link-arxiv svg{color:#b31b1b}
.paper-code-link.link-pdf svg{color:#2179ad}
.paper-code-link.link-github svg{color:#1b3848}
.paper-code-link:hover{background:#f1f7f9;border-color:#8cb3c2;color:#122834;transform:translateY(-1px);box-shadow:0 4px 12px rgba(21,44,58,.1)}
.paper-code-link:focus-visible{outline:3px solid #3983a8;outline-offset:4px}
