@font-face { font-family: Lato; src: url("assets/fonts/lato-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Lato; src: url("assets/fonts/lato-bold.woff2") format("woff2"); font-weight: 700 900; font-display: swap; }
:root { color-scheme: light; font-family: Lato, Arial, sans-serif; color: #25282b; background: white; --accent: #176caa; --line: #dfe2e5; --muted: #545b62; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 60px; }
body { margin: 0; font-size: 16px; line-height: 1.6; }
button { font: inherit; cursor: pointer; }
a { color: var(--accent); text-underline-offset: .18em; }
button, a { touch-action: manipulation; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.wrap { width: min(1060px, calc(100% - 48px)); margin-inline: auto; }
.publication { max-width: 1030px; padding: 50px 24px 0; margin-inline: auto; text-align: center; }
h1 { margin: 0; font-size: clamp(1.85rem, 3.45vw, 2.85rem); line-height: 1.15; font-weight: 700; letter-spacing: -.035em; text-wrap: balance; }
h1 strong { color: var(--accent); }
.venue { margin: 14px 0 16px; font-size: 1.12rem; font-weight: 700; }
.byline, .resources { display: flex; justify-content: center; flex-wrap: wrap; }
.byline { gap: 5px 20px; margin: 0; font-size: 1.15rem; }
.byline span { white-space: nowrap; }
.byline a { text-decoration: none; }
.byline a:hover { text-decoration: underline; }
.byline sup { font-size: .7em; margin-left: 2px; }
.affil { margin: 4px 0 0; color: #464b53; }
.author-note { font-size: .8rem; color: #62676c; margin: 1px 0 0; }
.resources { gap: 8px; margin-top: 17px; }
.resources a { border-radius: 24px; padding: 7px 16px; color: white; background: #32363a; text-decoration: none; font-size: .9rem; }
.resources a:hover { background: #155f93; }
.block { padding-block: 36px; }
.block + .block { border-top: 1px solid #eef0f2; }
h2 { font-size: clamp(1.5rem, 2.5vw, 1.95rem); line-height: 1.25; letter-spacing: -.025em; margin: 0 0 1rem; text-wrap: balance; }
h3 { font-size: 1.12rem; line-height: 1.35; margin: 0 0 .5rem; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
.sectionhead { max-width: 840px; margin: 0 auto 26px; text-align: center; }
.sectionhead h2 { margin-bottom: .65rem; }
.sectionhead > p { max-width: 78ch; margin: 0 auto; color: var(--muted); line-height: 1.55; text-wrap: pretty; }
.paper-text, .paper-text.prose, .section-body > .prose { max-width: 80ch; margin-inline: auto; }
.prose { line-height: 1.7; }
figure { margin: 0; min-width: 0; }
.figure img { display: block; width: 100%; height: auto; }
figcaption { margin-top: .65rem; font-size: 1rem; line-height: 1.6; color: #414953; text-align: left; }
.overview { padding-top: 36px; }
.teaser { max-width: 680px; margin-inline: auto; }
.hero-media-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 38px); align-items: center; }
.hero-media-grid > .teaser { width: 100%; max-width: none; margin: 0; }
.motion-preview { min-width: 0; margin: 0; }
.motion-labels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.37%; margin-bottom: .45rem; text-align: center; font-size: .9rem; color: #434e58; }
.motion-labels strong { color: var(--accent); }
.motion-preview video { width: 100%; border: 0; border-radius: 0; background: white; }
.motion-preview figcaption { margin-top: .75rem; }
.motion-actions { display: flex; justify-content: center; align-items: baseline; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: .8rem; font-size: .88rem; }
.motion-actions button { color: var(--accent); border: 0; padding: .15rem 0; background: transparent; text-decoration: underline; text-underline-offset: .2em; }
.motion-actions button[hidden] { display: none; }
.overview-summary { margin: 35px auto 0; }
.overview-summary h2 { text-align: center; }
.method-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(26px, 4vw, 56px); align-items: start; }
.label-figure { max-width: 460px; margin-inline: auto; }
.method-explanation h3:not(:first-child) { margin-top: 1.4rem; }
.method-note { margin-top: 1.25rem; padding-top: .9rem; border-top: 1px solid var(--line); color: #4e5860; font-size: .94rem; }
.dataset-demos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; margin-top: 36px; }
.dataset-demos .dataset-example { max-width: 470px; width: 100%; margin-inline: auto; }
.dataset-example { min-width: 0; }
.dataset-example > h3 { font-size: 1rem; margin-bottom: .65rem; }
.video-labels { display: grid; gap: 6px; margin-bottom: .35rem; text-align: center; font-size: .85rem; color: #434e58; line-height: 1.4; }
.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.video-labels span:last-child { color: var(--accent); font-weight: 700; }
video { display: block; width: 100%; height: auto; background: #f7f8f8; border: 1px solid var(--line); border-radius: 4px; }
.pipeline { max-width: 1020px; margin-inline: auto; }
.results-demos { display: grid; gap: 30px; max-width: 940px; margin-inline: auto; }
.quantitative { max-width: 940px; margin: 32px auto 0; }
.quantitative > h3 { font-size: 1.2rem; margin-bottom: 1rem; }
.table-scroll { width: 100%; overflow-x: auto; }
table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .95rem; line-height: 1.5; font-variant-numeric: tabular-nums; }
caption { padding-bottom: .7rem; text-align: left; font-weight: 700; }
th, td { text-align: center; padding: 11px 12px; }
thead { background: #f3f4f6; border-block: 1px solid var(--line); }
thead th { white-space: nowrap; }
th:first-child { text-align: left; }
th span { display: block; font-size: .8rem; font-weight: 400; color: var(--muted); }
tbody tr { border-bottom: 1px solid #e9ecee; }
tbody .ours { background: #ecf4fa; }
.ours th { color: var(--accent); }
.table-note { margin: .75rem 0 0; font-size: .9rem; color: var(--muted); line-height: 1.55; }
.supplement { max-width: 940px; margin: 25px auto 0; }
.supplement summary { width: fit-content; color: var(--accent); cursor: pointer; text-underline-offset: .2em; }
.supplement summary:hover { text-decoration: underline; }
.supplement .figure { margin: 20px auto 0; }
.seasonal-text { margin-bottom: 22px; }
#seasonal .video-figure { max-width: 940px; margin-inline: auto; }
.limitations { margin-top: 20px; font-size: .95rem; line-height: 1.65; color: #545d65; }
.seasonal-still { max-width: 620px; }
.citation-box { min-width: 0; }
.citation-actions { display: flex; gap: .85rem; justify-content: flex-end; align-items: baseline; flex-wrap: wrap; margin-bottom: .55rem; font-size: .9rem; }
.citation-actions button { background: white; color: var(--accent); border: 1px solid var(--line); border-radius: 4px; padding: .28rem .65rem; }
.copy-status { color: #52626e; }
.citation { margin: 0; padding: 1.1rem 1.4rem; background: #f5f5f5; color: #40444a; white-space: pre-wrap; overflow-wrap: anywhere; }
.citation code { font: .875rem/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
footer { border-top: 1px solid var(--line); padding-block: 24px; color: #62666b; font-size: .85rem; }
footer a { color: inherit; }

/* UFO green accent. */
.palette-green { --accent: #236c4b; }
.palette-green .resources a:hover { background: #19563a; }
.palette-green tbody .ours { background: #eef5ee; }

/* Section navigation, revealed once the header scrolls away. */
.section-nav { position: fixed; inset: 0 0 auto; z-index: 20; background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); box-shadow: 0 2px 10px rgba(20,30,40,.06); transform: translateY(-100%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; }
.section-nav.is-visible { transform: none; visibility: visible; transition: transform .25s ease; }
.section-nav .wrap { display: flex; align-items: center; gap: 1rem; min-height: 46px; }
.section-nav .nav-brand { font-weight: 900; color: var(--accent); text-decoration: none; letter-spacing: -.02em; }
.section-nav ul { display: flex; gap: .3rem; list-style: none; margin: 0 auto; padding: 0; overflow-x: auto; scrollbar-width: none; }
.section-nav ul::-webkit-scrollbar { display: none; }
.section-nav li a { display: block; padding: .38rem .75rem; border-radius: 999px; color: #4d565e; font-size: .92rem; text-decoration: none; white-space: nowrap; }
.section-nav li a:hover { color: #25282b; background: #f1f3f5; }
.section-nav li a[aria-current="true"] { color: var(--accent); background: #eef5ee; font-weight: 700; }
.section-nav .nav-spacer { width: 2.6rem; flex: none; }

@media (max-width: 760px) {
 .hero-media-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
 .hero-media-grid > .teaser, .motion-preview { max-width: 680px; width: 100%; margin-inline: auto; }
 .hero-media-grid > .motion-preview { order: -1; }
 .method-layout { grid-template-columns: minmax(0, 1fr); }
 .method-explanation { max-width: 74ch; margin-inline: auto; }
}
@media (pointer: coarse) { .motion-actions button, .motion-actions a { min-height: 44px; display: inline-flex; align-items: center; } }
@media (max-width: 600px) {
 .wrap { width: calc(100% - 28px); }
 .publication { padding: 28px 14px 0; }
 h1 { font-size: clamp(1.55rem, 6.7vw, 1.95rem); }
 .venue { font-size: .98rem; }
 .byline { gap: 4px 12px; font-size: 1.05rem; }
 .affil { font-size: .94rem; }
 .resources a { padding: 6px 11px; }
 .block { padding-block: 26px; }
 .overview-summary { margin-top: 28px; }
 .dataset-demos { grid-template-columns: minmax(0, 1fr); gap: 28px; }
 .video-labels { font-size: .72rem; gap: 4px; }
 .sectionhead { margin-bottom: 22px; }
 .citation { padding: 1rem; }
 .resources { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 310px; margin-inline: auto; }
 .resources a { text-align: center; }
 .resources a:last-child { grid-column: 1 / -1; }
 tbody th[scope="row"], thead th[rowspan] { position: sticky; left: 0; background: white; box-shadow: 1px 0 #e0e5e9; }
 thead th[rowspan] { background: #f3f4f6; }
 .ours th:first-child { background: #ecf4fa; }
}
@media (max-width: 600px) {
 .section-nav .wrap { gap: .4rem; }
 .section-nav .nav-brand, .section-nav .nav-spacer { display: none; }
 .section-nav li a { padding: .34rem .6rem; font-size: .86rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .section-nav, .section-nav.is-visible { transition: none; } }
footer { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
footer .visit-count { margin: 0; color: #8a8f94; font-size: 12px; font-variant-numeric: tabular-nums; }
footer .visit-count[hidden] { display: none; }
