@font-face {
  font-family: "Source Sans 3";
  src: url("../assets/fonts/SourceSans3.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --bg: oklch(98.4% .003 165);
  --surface: oklch(100% 0 0);
  --ink: oklch(24% .025 165);
  --muted: oklch(46% .024 165);
  --accent: oklch(39% .067 165);
  --deep: oklch(30% .052 165);
  --lime: oklch(92% .13 120);
  --line: oklch(87% .014 165);
  --band: oklch(95% .014 165);
  --best: oklch(85% .074 165);
  --second: oklch(94% .036 165);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Source Sans 3", "Segoe UI", sans-serif; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
h1, h2, h3 { line-height: 1.15; text-wrap: balance; }
p { text-wrap: pretty; }
.wrap { max-width: 1120px; padding-inline: 28px; margin-inline: auto; }
.wide { width: min(1440px, 90%); margin-inline: auto; }
.hero-shell { background: var(--deep); color: white; }
.nav { min-height: 92px; display: flex; justify-content: space-between; align-items: center; gap: 24px; border-bottom: 1px solid oklch(100% 0 0 / .18); }
.wordmark { display: inline-flex; align-items: center; gap: 0; font-size: 23px; font-weight: 700; letter-spacing: -.025em; }
.wordmark img { margin-right: 12px; }
.nav .wordmark span { color: var(--lime); }
.nav>div { display: flex; align-items: center; gap: 34px; font-size: 16px; }
.nav>div a:last-child { color: var(--lime); }
.nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.hero { text-align: center; padding-block: 64px 60px; }
.hero-copy { margin-inline: auto; }
.hero h1 { font-size: clamp(54px, 6.5vw, 90px); letter-spacing: -.035em; font-weight: 700; margin: 0 0 24px; }
.hero-logo { display: inline-block; vertical-align: middle; height: 1.28em; width: auto; margin-right: .1em; position: relative; top: -.15em; }
.tagline { font-size: clamp(22px, 2.2vw, 31px); line-height: 1.25; font-weight: 550; margin: 0 auto 22px; text-wrap: balance; }
.hero-description { color: oklch(85% .027 165); font-size: 18px; max-width: 900px; margin: 0 auto; line-height: 1.6; font-style: italic; }
.authors { margin: 26px 0 0; font-size: 19px; font-weight: 550; line-height: 1.75; }
.authors a { text-decoration: underline; text-decoration-color: oklch(100% 0 0 / .4); text-underline-offset: 3px; }
.authors a:hover { text-decoration-color: currentColor; }
.authors sup { font-size: .62em; font-weight: 400; }
.affiliations { margin: 6px 0 0; font-size: 15px; color: oklch(85% .027 165); line-height: 1.75; }
.affiliations sup { font-size: .72em; }
.links { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-block: 46px 30px; }
/* Paper / Code / Dataset pills, above the hero buttons. */
.hero-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.hero-links a { display: inline-flex; align-items: center; gap: 9px; padding: 9px 20px 9px 17px; border-radius: 999px; background: oklch(100% 0 0 / .1); border: 1px solid oklch(100% 0 0 / .28); color: white; font-size: 15px; font-weight: 600; }
.hero-links a:hover { background: oklch(100% 0 0 / .2); border-color: oklch(100% 0 0 / .55); }
.hero-links svg { width: 17px; height: 17px; flex: none; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 11px 21px; font-size: 16px; font-weight: 600; background: var(--surface); border: 1px solid var(--line); border-radius: 7px; color: var(--ink); }
.button:hover { border-color: var(--accent); background: var(--band); }
.hero .button { background: transparent; color: white; border-color: oklch(100% 0 0 / .35); }
.hero .button.primary { background: var(--lime); border-color: var(--lime); color: var(--deep); }
.hero .button:hover { background: oklch(100% 0 0 / .1); }
.hero .button.primary:hover { background: oklch(97% .09 120); }
.hero-shell :focus-visible { outline-color: var(--lime); }
.small { padding: 8px 15px; font-size: 14px; white-space: nowrap; }
.section { padding-block: 64px 70px; }
.band { width: min(1440px, 90%); margin: 0 auto 24px; }
.band h2 { margin: 0; font-size: clamp(30px, 3vw, 42px); letter-spacing: -.025em; font-weight: 650; }
.video-wall { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 22px 16px; }
.media-card { margin: 0; min-width: 0; border: 1px solid var(--line); background: var(--surface); border-radius: 9px; overflow: hidden; }
.media-card video,.media-card img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: contain; background: oklch(18% .015 165); }
.video-wall .media-card { border: 0; background: none; border-radius: 0; }
.video-wall video { border-radius: 7px; }
.caption { padding: 12px 14px 14px; }
.video-wall .caption { padding: 10px 1px 0; }
.caption a,.caption strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.35; }
.caption a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.meta { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--muted); margin-top: 6px; }
/* Task name with its provenance link, e.g. in the video wall. */
.title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.title-row>a,.title-row>strong { flex: 1 1 auto; min-width: 0; }
.title-row .source-link { display: inline-block; flex: none; font-size: 12px; font-weight: 600; line-height: 1.7; color: var(--muted); border: 1px solid var(--line); border-radius: 5px; padding: 0 7px; background: var(--surface); white-space: nowrap; }
.caption a.source-link:hover,.title-row .source-link:hover { color: var(--accent); border-color: var(--accent); text-decoration: none; }
/* The reference card links "Source procedure" to the original recording. Links and
   popup buttons share one look, so drop the button chrome the UA stylesheet adds. */
.meta .source-link { display: block; padding: 0; border: 0; background: none; color: inherit; text-align: left; font-size: 15px; font-weight: 600; line-height: 1.35; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.meta .source-link:hover { color: var(--accent); text-decoration-color: currentColor; }
.footnote { color: var(--muted); font-size: 14px; margin: 20px 0 0; }
.footnote a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
#examples { padding-bottom: 60px; }
#overview { border-top: 1px solid var(--line); background: var(--surface); }
#overview>.band { max-width: 1064px; margin-bottom: 30px; }
.abstract { max-width: 850px; margin: 0 auto 34px; font-size: 19px; line-height: 1.85; }
#paper-abstract { max-width: none; text-align: justify; text-wrap: wrap; }
.protocol { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 22px; padding: 30px 0 34px; margin-top: 38px; border-block: 1px solid var(--line); }
.step { color: var(--accent); font-size: 15px; font-weight: 650; }
.protocol h3 { font-size: 21px; margin: 10px 0 12px; }
.protocol p,.dataset p { font-size: 17px; color: var(--muted); margin: 0; line-height: 1.6; }
.arrow { color: var(--accent); margin-top: 36px; font-size: 25px; }
.dataset { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding-top: 40px; }
.dataset h3 { font-size: 28px; margin: 0 0 16px; letter-spacing: -.02em; }
.level-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.level-tags span { background: var(--band); padding: 7px 14px; border-radius: 5px; color: var(--accent); font-size: 15px; font-weight: 600; }
.bar-row { display: grid; grid-template-columns: 135px 1fr 30px; align-items: center; gap: 12px; font-size: 15px; margin-bottom: 14px; }
.bar-track { height: 9px; background: var(--band); border-radius: 2px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--accent); border-radius: 2px; }
.bar-row b { font-weight: 550; text-align: right; }
.section-description { color: var(--muted); font-size: 18px; margin: 0 0 28px; }
#leaderboard { background: var(--band); border-block: 1px solid var(--line); }
.leaderboard-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 20px; }
.leaderboard-toolbar p { color: var(--muted); font-size: 14px; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: var(--surface); color: var(--muted); border-radius: 6px; padding: 9px 16px; font-size: 15px; line-height: 1.5; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip[aria-pressed=true] { background: var(--accent); border-color: var(--accent); color: white; font-weight: 600; }
.table-scroll { overflow: auto; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.grid-table,.breakdown-table { border-collapse: separate; border-spacing: 0; width: 100%; font-size: 18px; font-variant-numeric: lining-nums tabular-nums; }
.grid-table { white-space: nowrap; }
.grid-table th,.grid-table td,.breakdown-table th,.breakdown-table td { padding: 14px 10px; text-align: center; border-bottom: 1px solid var(--line); }
.grid-table thead th,.breakdown-table thead th { background: oklch(91% .025 165); font-size: 21px; font-weight: 650; }
.grid-table tbody th,.breakdown-table tbody th { position: sticky; left: 0; z-index: 1; background: var(--surface); text-align: left; font-size: 19px; font-weight: 600; }
.grid-table tbody td,.breakdown-table tbody td { font-size: 19px; font-weight: 500; line-height: 1.5; }
.grid-table tbody tr:last-child>*,.breakdown-table tbody tr:last-child>* { border-bottom: 0; }
.grid-table .model-col { text-align: left; min-width: 150px; }
.grid-table button,.breakdown-table button { border: 0; padding: 2px; background: none; color: inherit; font: inherit; line-height: 1.5; }
.grid-table button { white-space: nowrap; }
.grid-table button:hover,.breakdown-table button:hover { color: var(--accent); }
.grid-table .tier { width: 58px; font-weight: 600; letter-spacing: .01em; }
.grid-table .mean-rank { font-weight: 600; }
.grid-table .tier-start>* { border-top: 1px solid var(--line); }
.grid-table .sorted { background: oklch(97% .017 165); }
.grid-table .best,.breakdown-table .best { background: var(--best); color: var(--ink); font-weight: 750; }
.grid-table .second,.breakdown-table .second { background: var(--second); color: var(--ink); }
.grid-table .level-start,.grid-table .level-group { border-left: 1px solid var(--line); }
.table-title { margin: 26px 0 10px; font-size: 19px; font-weight: 650; color: var(--accent); }
.tier-note { font-size: 16px; color: var(--muted); line-height: 1.75; margin: 18px 0 0; }
.notice-text { font-size: 17px; line-height: 1.85; color: var(--muted); text-align: justify; margin: 0; }
.notice-text+.notice-text { margin-top: 18px; }
.notice-text a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.bibtex { margin: 0; padding: 24px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 9px; overflow-x: auto; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 15px; line-height: 1.8; color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; }
.score-notes { max-width: 1000px; font-size: 16px; color: var(--muted); margin-top: 22px; }
.score-notes summary { color: var(--accent); font-weight: 600; cursor: pointer; }
.score-notes p { line-height: 1.75; }
.breakdown-section { margin-top: 48px; border-top: 1px solid var(--line); padding-top: 34px; }
.breakdown-section h3 { font-size: 29px; letter-spacing: -.02em; margin: 0 0 14px; }
.breakdown-table thead th { min-width: 112px; }
.breakdown-table th:first-child { min-width: 190px; text-align: left; }
.model-label { display: inline-flex; align-items: center; gap: 9px; text-align: left; white-space: nowrap; }
.company-logo { width: 22px; height: 22px; object-fit: contain; flex: none; }
#explore { background: var(--surface); }
.filters { border: 1px solid var(--line); background: var(--bg); border-radius: 9px; padding: 10px 22px; }
.filter-row { display: flex; align-items: center; gap: 20px; padding-block: 12px; }
.filter-row+.filter-row { border-top: 1px solid var(--line); }
.filter-label { min-width: 86px; font-size: 16px; font-weight: 600; }
.task-filter { align-items: flex-start; }.task-filter .filter-label { padding-top: 8px; }
#task-controls .chip { text-align: left; font-size: 14px; }
.task-heading { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin: 32px 0 20px; }
.task-heading h3 { font-size: 27px; letter-spacing: -.015em; margin: 0; }
.task-context { position: relative; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,3fr); gap: 18px; align-items: start; margin-bottom: 24px; }
.instruction { border: 1px solid var(--line); background: var(--bg); border-radius: 9px; padding: 20px 24px; }
.task-context .instruction { position: absolute; inset: 0 0 0 calc((100% - 18px)/4 + 18px); min-width: 0; margin: 0; overflow: auto; }
.instruction summary { color: var(--accent); font-size: 16px; font-weight: 600; cursor: pointer; }
.instruction p { font-size: 17px; line-height: 1.75; margin: 14px 0 4px; max-width: none; text-wrap: wrap; }
#reference-video { min-width: 0; grid-column: 1; }
.task-context .reference { border-color: var(--accent); }
.task-context .reference .caption { background: var(--second); }
.compare-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px 18px; }
.media-error { padding: 12px; font-size: 14px; color: var(--muted); }
#evaluation { background: var(--deep); color: white; }
#evaluation>.band { max-width: 1064px; margin-bottom: 28px; }
.evaluation .abstract { max-width: none; color: oklch(87% .025 165); }
.evaluation .teaser { margin: 0 0 34px; }
.evaluation .teaser img { display: block; width: 100%; height: auto; background: white; border-radius: 9px; }
.evaluation .teaser figcaption { color: oklch(82% .02 165); font-size: 15px; line-height: 1.6; margin-top: 14px; text-align: center; }
.evaluation dl { margin: 0; }
.evaluation dl>div { display: grid; grid-template-columns: 220px 1fr; gap: 26px; border-top: 1px solid oklch(100% 0 0 / .2); padding-block: 24px; }
.evaluation dt { color: var(--lime); font-size: 18px; font-weight: 600; }
.evaluation dd { color: oklch(87% .025 165); margin: 0; font-size: 17px; }
footer.wrap { max-width: none; width: 90%; padding: 28px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer .wordmark span { color: var(--accent); }
footer p,footer>a:last-child { font-size: 14px; color: var(--muted); }
.skip { position: fixed; z-index: 10; top: 10px; left: 10px; padding: 10px 20px; background: white; transform: translateY(-200%); }.skip:focus { transform: none; }
/* Dataset sources have no single video page, so they open this popup instead. */
.source-dialog { width: calc(100% - 40px); max-width: 560px; margin: auto; padding: 26px 30px 26px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); box-shadow: 0 24px 60px oklch(24% .025 165 / .3); }
.source-dialog::backdrop { background: oklch(24% .025 165 / .55); }
.source-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.source-dialog h2 { margin: 0; font-size: 25px; letter-spacing: -.02em; text-align: left; }
.source-dialog-x { flex: none; border: 0; background: none; color: var(--muted); font-size: 26px; line-height: 1; padding: 0 2px; }
.source-dialog-x:hover { color: var(--accent); }
.source-dialog-lead { margin: 16px 0 0; font-size: 16px; color: var(--muted); }
.source-dialog-note { margin: 12px 0 0; padding: 10px 12px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; line-height: 1.5; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; overflow-wrap: anywhere; }
.source-dialog-note:empty { display: none; }
.source-dialog-actions { margin: 20px 0 0; }
.source-dialog-actions:empty { display: none; }
.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; }
@media (max-width:1100px) {
  .hero h1 { font-size: 65px; }.nav>div { gap: 22px; }
  .dataset { gap: 36px; }.video-wall { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width:760px) {
  .wide,.band { width: 92%; }.wrap { padding-inline: 4%; }
  .nav { min-height: 78px; }.nav>div { gap: 14px; font-size: 14px; }.nav>div a:last-child,.nav .nav-optional { display: none; }
  .hero { padding-block: 40px; }.hero h1 { font-size: clamp(52px,10vw,75px); }.hero .tagline { max-width: 570px; }
  .section { padding-block: 44px; }.band { margin-bottom: 22px; }
  .video-wall,.compare-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .abstract { font-size: 18px; }.protocol { grid-template-columns: 1fr; gap: 25px; }.arrow { display: none; }
  .dataset { grid-template-columns: 1fr; gap: 30px; }.bar-row { font-size: 14px; }
  .leaderboard-toolbar { flex-direction: column; align-items: flex-start; gap: 16px; }
  .grid-table th,.grid-table td { padding: 12px 9px; }.breakdown-section h3 { font-size: 26px; }
  .filters { padding: 6px 15px; }.filter-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .task-filter .filter-label { padding: 0; }.task-heading h3 { font-size: 24px; }
  .task-context { grid-template-columns: 1fr; }.task-context .instruction { position: static; }.instruction { padding: 18px; }#reference-video { grid-column: auto; }
  #level-controls .chip { text-align: left; }.evaluation dl>div { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width:440px) {
  .wordmark { font-size: 21px; }.nav>div { gap: 10px; }.nav .wordmark img { width: 24px; height: 22px; margin-right: 8px; }
  .links { gap: 9px; }.hero .button { padding: 11px 15px; font-size: 15px; }
  .video-wall { gap: 18px 12px; }.caption { padding: 10px; }.caption a { font-size: 14px; }.meta { font-size: 12px; flex-wrap: wrap; }
  /* Too narrow to sit beside the task name without squeezing it. */
  .title-row { flex-wrap: wrap; row-gap: 4px; }
  .compare-grid { grid-template-columns: 1fr; }.task-heading { align-items: flex-start; flex-direction: column; }
  .chip { padding: 8px 12px; }footer p { margin: 0; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } }

/* Center every section heading and its introduction, retaining justified abstract text. */
h1,h2,h3{text-align:center}
.section-description{margin-inline:auto;text-align:center}
.protocol{text-align:center}
.dataset>div:first-child>p,.evaluation>.abstract{text-align:center}
.level-tags{justify-content:center}
/* A centered section heading with an action button pinned to the right edge and
   vertically centered against it. */
.band-heading{position:relative;padding-inline:160px}
.band-heading .button{position:absolute;right:0;top:50%;transform:translateY(-50%)}
.task-heading{position:relative;display:block;text-align:center;min-height:44px;padding-inline:160px}
.task-heading h3{padding-block:6px}
.task-heading .button{position:absolute;right:0;top:50%;transform:translateY(-50%)}
@media(max-width:760px){
 .task-heading{padding-inline:0}
 .task-heading .button,.band-heading .button{position:static;transform:none;margin-top:16px}
 .band-heading{padding-inline:0;text-align:center}
}
