:root {
  --paper: #f6f6ef; --text: #2c2b2b; --muted: #65635f; --line: #deded6;
  --accent: #7854aa; --base: #a8b1bc; --nw: #d6a54a; --success: #28734e; --failure: #a54d39;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--paper); color: var(--text); font: 18px/1.75 Inter, "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
main { overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
button { cursor: pointer; }
button, a, select { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid #8462c5; outline-offset: 5px; }
button:disabled { cursor: wait; }
img, video { display: block; max-width: 100%; }
img { height: auto; }
sup { font-size: .65em; vertical-align: super; line-height: 0; margin-left: 2px; }
sub { line-height: 0; font-size: .7em; }
strong { font-weight: 650; }
::selection { background: #e3d9ef; }
.container { width: min(1120px, calc(100% - 88px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 30; background: #222; color: #fff; padding: 10px 16px; border-radius: 6px; }
.skip-link:focus { top: 12px; }

/* A quiet navigation bar and a thin marker for reading progress. */
.site-header { position: sticky; top: 0; z-index: 10; height: 64px; border-bottom: 1px solid var(--line); background: rgba(246,246,239,.96); backdrop-filter: blur(12px); }
nav { height: 100%; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 0 20px; }
nav a { font-size: 15px; color: #5d5a56; line-height: 1; padding: 11px 14px; border-radius: 7px; white-space: nowrap; transition: background .2s, color .2s; }
nav a:hover { background: #e9e7e1; color: #262424; }
nav a.active { background: #343131; color: #fff; }
.reading-progress { position: fixed; left: 0; top: 64px; width: 100%; height: 3px; z-index: 12; pointer-events: none; }
#reading-progress-fill { display: block; width: 100%; height: 100%; background: var(--accent); transform: scaleX(var(--progress,0)); transform-origin: left center; }

/* The four task clips share one hero and an unobtrusive timeline. */
.paper-header { min-height: min(760px,calc(100svh - 64px)); position: relative; display: grid; place-items: center; isolation: isolate; background: #191b1b; color: #fff; overflow: hidden; }
.hero-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; z-index: -3; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg,rgba(0,0,0,.49),rgba(0,0,0,.64) 48%,rgba(0,0,0,.59)); z-index: -2; }
.paper-heading { width: min(1140px,calc(100% - 72px)); text-align: center; padding: 76px 0 146px; text-shadow: 0 1px 9px #0005; }
h1 { font-size: clamp(32px,3.12vw,44px); line-height: 1.24; font-weight: 720; letter-spacing: -1.1px; margin: 0 auto 30px; }
.authors { font-size: 17px; font-weight: 450; line-height: 1.95; margin-bottom: 17px; }
.authors p { display: flex; justify-content: center; flex-wrap: wrap; column-gap: 25px; row-gap: 0; margin: 2px 0; }
.authors span { white-space: nowrap; }
.authors sup { color: #f0f0f0; margin-left: 3px; }
.affiliations { font-size: 14px; line-height: 1.8; color: #f0f0f0; }
.affiliations p { margin: 3px 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 2px 22px; }
.affiliations span { display: inline-block; }
.contribution { font-size: 13px; color: #eee; margin: 12px 0 27px; }
.paper-links { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; }
.paper-link { border: 1px solid #e3e0dc; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; min-width: 128px; padding: 11px 23px; font-size: 15px; line-height: 1.5; font-weight: 600; background: #1717173d; backdrop-filter: blur(4px); text-shadow: none; transition: background .2s,border-color .2s,transform .2s; }
.paper-link:hover { background: #ffffff24; border-color: #fff; transform: translateY(-2px); }
.paper-link.primary { background: #f8f7f0; color: #2d2b29; border-color: #f8f7f0; }
.paper-link.primary:hover { background: #fff; }
.paper-link svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hero-timeline { position: absolute; bottom: 81px; left: max(32px,calc((100% - 1120px)/2)); right: max(32px,calc((100% - 1120px)/2)); display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.hero-segment { position: relative; display: block; min-width: 0; padding-top: 13px; font-size: 12px; line-height: 1.45; color: #d4d2cf; }
.hero-segment::before,.hero-segment i { content: ""; position: absolute; left: 0; right: 0; top: 0; display: block; height: 2px; border-radius: 2px; }
.hero-segment::before { background: #ffffff38; }
.hero-segment i { background: #fff; transform: scaleX(var(--progress,0)); transform-origin: left center; }
.hero-segment.active,.hero-segment.completed { color: #fff; }
.hero-segment.active>span { font-weight: 600; }
.background-controls { position: absolute; bottom: 23px; left: max(32px,calc((100% - 1120px)/2)); right: max(32px,calc((100% - 1120px)/2)); display: flex; justify-content: flex-end; align-items: center; gap: 18px; font-size: 12px; color: #f4f4f4; }
.background-controls button { background: #1116; border: 1px solid #ffffff80; color: #fff; padding: 7px 14px; min-height: 36px; border-radius: 7px; font-size: 12px; line-height: 1.6; backdrop-filter: blur(3px); }
.background-controls button:hover { background: #111a; }

/* Generous academic sections, on warm paper with subtle background bands. */
.section { position: relative; isolation: isolate; padding-block: 78px; border-bottom: 1px solid var(--line); }
.section::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); z-index: -1; pointer-events: none; }
#method::before,#analysis::before { background: #f0eef3; }
#videos::before { background: #efefe6; }
.section-label { font-size: 26px; line-height: 1.3; letter-spacing: -.5px; text-transform: none; font-weight: 650; color: var(--accent); margin: 0 0 18px; }
h2 { font-size: 39px; line-height: 1.25; font-weight: 680; letter-spacing: -1px; margin: 0 0 22px; text-wrap: balance; }
h3 { font-size: 24px; line-height: 1.4; letter-spacing: -.4px; font-weight: 650; margin: 0 0 14px; }
.centered-title { text-align: center; }
.section-intro { font-size: 18px; line-height: 1.85; margin: 0 0 34px; color: #55514f; max-width: 1060px; }
.abstract-section { padding-top: 69px; padding-bottom: 74px; }
.abstract-text { max-width: 970px; margin: 28px auto 0; font-size: 18px; line-height: 1.9; color: #4a4745; text-align: left; }
.abstract-text p { margin: 0; }
.abstract-text strong { color: #302e2b; }
.paper-figure { margin: 38px 0; }
.paper-figure>a { display: block; padding: 17px; background: #fff; border: 1px solid #e3e0e4; border-radius: 9px; }
.paper-figure img { width: 100%; }
.paper-figure figcaption { font-size: 15px; line-height: 1.8; color: #625c59; margin-top: 18px; }
.paper-figure figcaption strong { color: #3f3937; }
.insight-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; margin-top: 37px; }
.insight-columns>div:last-child { border-left: 1px solid var(--line); padding-left: 38px; }
.insight-columns h3 { font-size: 23px; }
.insight-columns p { font-size: 17px; line-height: 1.85; margin: 0; color: #57514e; }
.method-explanation { margin-top: 42px; display: grid; grid-template-columns: 1fr; gap: 31px; }
.method-explanation article { display: grid; grid-template-columns: 310px 1fr; column-gap: 38px; border-top: 1px solid #dcd7e2; padding-top: 29px; }
.method-explanation article h3 { font-size: 22px; line-height: 1.45; letter-spacing: -.3px; }
.method-explanation h3 span { color: var(--accent); margin-right: 5px; }
.method-explanation p,.method-explanation ul { font-size: 17px; line-height: 1.85; color: #57514f; margin: 0; }
.method-explanation ul { grid-column: 2; margin-top: 14px; padding-left: 21px; }
.method-explanation li { margin-bottom: 8px; }
.method-explanation strong { color: #353032; }

/* Bars are always visible and animate only when requested by JavaScript. */
.results-block { margin-top: 40px; padding: 30px 28px 27px; background: #ffffff8c; border: 1px solid #deded5; border-radius: 10px; }
.chart-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.chart-toolbar h3 { font-size: 23px; margin-bottom: 8px; }
.chart-toolbar p { font-size: 14px; color: var(--muted); margin: 0; }
.segmented { display: flex; align-items: center; padding: 4px; border: 1px solid #dcd9d4; background: #f3f2ec; border-radius: 9px; flex-shrink: 0; }
.segmented button { border: 0; background: transparent; font-size: 14px; font-weight: 600; border-radius: 6px; padding: 9px 16px; min-height: 40px; color: #635e5a; }
.segmented button.active { background: #353131; color: #fff; }
.chart-legend { display: flex; justify-content: center; flex-wrap: wrap; gap: 26px; margin: 34px 0 19px; font-size: 14px; color: #5c5652; }
.chart-legend span { display: inline-flex; align-items: center; gap: 8px; }
.chart-legend i { width: 11px; height: 11px; display: block; border-radius: 2px; }
.base-color { background: var(--base); }
.nw-color { background: var(--nw); }
.witac-color { background: var(--accent); }
.results-chart { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); column-gap: 27px; padding: 26px 12px 0; }
.task-chart { min-width: 0; }
.bar-group { height: 225px; display: flex; align-items: end; justify-content: center; gap: 8px; border-bottom: 1px solid #bdb9b2; background: repeating-linear-gradient(to top,transparent 0,transparent calc(25% - 1px),#e9e7e0 calc(25% - 1px),#e9e7e0 25%); }
.bar-column { height: 100%; flex: 1; max-width: 45px; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; position: relative; }
.bar-track { height: 100%; position: relative; display: flex; align-items: flex-end; }
.bar-fill { width: 100%; height: calc(var(--value)*1%); border-radius: 4px 4px 0 0; position: relative; min-height: 1px; transform-origin: center bottom; }
.bar-fill.animate-in { animation: bar-grow .8s cubic-bezier(.2,.7,.2,1) both; }
.bar-column:nth-child(2) .bar-fill.animate-in { animation-delay: .07s; }
.bar-column:nth-child(3) .bar-fill.animate-in { animation-delay: .14s; }
@keyframes bar-grow { from { transform: scaleY(.05); } to { transform: scaleY(1); } }
.bar-value { position: absolute; bottom: calc(var(--value)*1% + 6px); left: 50%; transform: translateX(-50%); font-size: 13px; font-variant-numeric: tabular-nums; color: #3c3734; white-space: nowrap; line-height: 1; }
.task-chart h4 { font-size: 13px; font-weight: 550; margin: 13px 0 0; text-align: center; line-height: 1.5; min-height: 39px; }
.task-chart:last-child h4 { font-weight: 700; }
.figure-note { font-size: 14px; line-height: 1.8; color: #67615b; margin: 25px 0 0; }
.full-results { margin-top: 29px; padding: 20px 0; border-block: 1px solid var(--line); font-size: 16px; }
.full-results summary { cursor: pointer; font-weight: 550; line-height: 1.6; }
.table-scroll { overflow-x: auto; margin-top: 24px; }
table { border-collapse: collapse; width: 100%; min-width: 800px; font-size: 14px; }
caption { text-align: left; font-size: 13px; color: #67615b; margin-bottom: 12px; }
th,td { text-align: right; padding: 12px; border-bottom: 1px solid #deded6; font-variant-numeric: tabular-nums; }
th:first-child { text-align: left; }
thead { border-block: 1.5px solid #888078; }
tbody th { font-weight: 450; }
.group-start { border-top: 1px solid #a6a099; }
.ours { background: #ece5f3; color: #56377a; font-weight: 650; }
.ours th { font-weight: 650; }
.experiment-subsection { margin-top: 52px; }
.experiment-subsection>p { font-size: 17px; color: #57514e; margin: 0 0 28px; }
.reconstruction-figure { max-width: 970px; margin-inline: auto; }

/* Native disclosures keep each finding readable with or without JavaScript. */
.analysis-list { margin-top: 38px; border-top: 1px solid #dcd7e2; }
.analysis-item { border-bottom: 1px solid #dcd7e2; }
.analysis-summary { display: grid; grid-template-columns: 54px minmax(0,1fr) 24px; align-items: center; gap: 27px; padding-block: 28px; cursor: pointer; list-style: none; border-radius: 6px; }
.analysis-summary::-webkit-details-marker { display: none; }
.analysis-summary::marker { content: ""; }
.analysis-summary:hover h3 { color: var(--accent); }
.analysis-summary h3 { margin: 0; font-size: 24px; line-height: 1.45; }
.analysis-toggle { display: grid; place-items: center; color: var(--accent); font-size: 27px; font-weight: 400; line-height: 1; }
.analysis-toggle::before { content: "+"; }
.analysis-item[open] .analysis-toggle::before { content: "−"; }
.analysis-item:last-child { border-bottom: 0; padding-bottom: 0; }
.analysis-number { font-size: 27px; font-weight: 550; line-height: 1.5; color: #967ead; font-variant-numeric: tabular-nums; }
.analysis-copy { min-width: 0; padding: 0 0 32px 81px; }
.analysis-copy p { margin: 0; font-size: 17px; line-height: 1.85; color: #57514f; }
.analysis-copy p+p { margin-top: 14px; }
.analysis-copy .analysis-metric { display: inline-block; margin-top: 17px; padding: 8px 13px; border-left: 3px solid #a88cbe; background: #e9e2ef; color: #654583; font-size: 16px; line-height: 1.7; }
.analysis-figure { margin: 25px 0 0; }
.analysis-figure img { width: 100%; padding: 14px; border: 1px solid #e0dae5; border-radius: 8px; background: #fff; }
.analysis-figure a { display: block; }
.analysis-figure figcaption { font-size: 14px; line-height: 1.8; color: #676068; margin-top: 12px; }

/* Synchronized reconstructions and the complete real-robot recordings. */
.reconstruction-controls { display: flex; flex-wrap: wrap; gap: 9px; margin: 26px 0 23px; }
.reconstruction-controls[hidden],.reconstruction-panel[hidden] { display: none; }
.reconstruction-controls button { border: 1px solid #d7d4ce; background: #fbfbf8; color: #5d5753; border-radius: 8px; padding: 10px 17px; font-size: 14px; min-height: 43px; }
.reconstruction-controls button.active { background: #353131; border-color: #353131; color: #fff; }
.reconstruction-controls button:hover:not(.active) { background: #eae7e2; }
.reconstruction-panel { margin: 0 0 27px; }
.reconstruction-panel video { width: 100%; aspect-ratio: 16/9; object-fit: contain; background: #f4f3f8; border: 1px solid var(--line); border-radius: 8px; }
.reconstruction-panel figcaption { padding-top: 17px; font-size: 15px; color: #655e59; }
.reconstruction-meta { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.reconstruction-meta strong { color: #35302d; font-size: 17px; }
.reconstruction-meta span { font-size: 13px; }
.reconstruction-panel figcaption p { margin: 7px 0 0; }
.reconstruction-showcase>p.figure-note { font-size: 14px; margin: 21px 0 0; }
.gallery-toolbar { margin: 34px 0 30px; }
.task-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.task-filters button { border: 1px solid #d4d2c9; background: #fafaf5; color: #5f5954; border-radius: 8px; padding: 9px 17px; font-size: 14px; line-height: 1.5; min-height: 42px; }
.task-filters button.active { background: #353131; border-color: #353131; color: #fff; }
.task-filters button:hover:not(.active) { background: #e6e5dc; }
.video-group { margin-bottom: 43px; }
.video-group:last-child { margin-bottom: 0; }
.video-group-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 17px; }
.video-group-heading h3 { font-size: 23px; letter-spacing: -.3px; margin: 0; }
.video-group-heading h3 span { font-size: 13px; color: #7c736b; letter-spacing: 1px; margin-right: 13px; }
.video-group-heading p { font-size: 14px; color: #706962; margin: 0; }
.video-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 27px; }
.video-card { min-width: 0; }
.video-card video { width: 100%; aspect-ratio: 16/9; object-fit: contain; background: #191817; border-radius: 8px; }
.video-info { padding: 15px 1px 0; }
.video-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.outcome-badge { font-size: 14px; font-weight: 650; }
.outcome-badge.success { color: var(--success); }
.outcome-badge.failure { color: var(--failure); }
.duration { font-size: 13px; color: #756d65; white-space: nowrap; }
.video-info p { font-size: 15px; line-height: 1.75; color: #676058; margin: 8px 0 0; }
.video-info p.video-policy,p.video-policy { font-size: 16px; font-weight: 650; color: #484047; margin: 8px 0 0; }
.citation-section { border-bottom: 0; padding-bottom: 80px; }
.citation-section p { font-size: 17px; color: #655e59; margin: 0 0 21px; }
.citation-section pre { margin: 0; background: #eeede5; border: 1px solid #dcd9d0; border-radius: 8px; padding: 28px; min-height: 115px; overflow: auto; }
.citation-section code { font: 15px/1.7 Consolas,monospace; color: #756d65; }
.site-footer { border-top: 1px solid var(--line); background: #eeeee5; padding: 31px 25px; text-align: center; font-size: 13px; color: #756d65; }
.site-footer p { margin: 0 0 8px; }
.site-footer a { color: #655b52; }
.site-footer a:hover { text-decoration: underline; }

@media (min-width:1500px) {
  .paper-header { min-height: 800px; }
  .paper-heading { padding-block: 94px 157px; }
}
@media (max-width:1000px) {
  .container { width: calc(100% - 64px); }
  .paper-heading { width: calc(100% - 56px); }
  .paper-header { min-height: 740px; }
  h1 { font-size: 36px; }
  .authors { font-size: 16px; }
  .authors p { column-gap: 21px; }
  .section { padding-block: 66px; }
  h2 { font-size: 36px; }
  .method-explanation article { grid-template-columns: 255px 1fr; column-gap: 28px; }
  .method-explanation article h3 { font-size: 21px; }
  .results-block { padding-inline: 22px; }
  .results-chart { column-gap: 19px; padding-inline: 0; }
  .bar-group { gap: 6px; height: 205px; }
  .bar-value { font-size: 12px; }
  .chart-toolbar { align-items: flex-start; }
  .chart-toolbar h3 { font-size: 22px; }
  .segmented button { padding-inline: 12px; }
  .insight-columns { gap: 30px; }
  .insight-columns>div:last-child { padding-left: 29px; }
}
@media (max-width:700px) {
  html { scroll-padding-top: 82px; }
  body { font-size: 17px; }
  .container { width: calc(100% - 40px); }
  .site-header { height: 60px; }
  .reading-progress { top: 60px; height: 2px; }
  nav { justify-content: flex-start; overflow-x: auto; gap: 2px; padding-inline: 12px; scrollbar-width: none; }
  nav::-webkit-scrollbar { display: none; }
  nav a { font-size: 13px; padding: 11px 10px; }
  .paper-header { min-height: 850px; }
  .paper-heading { width: calc(100% - 40px); padding: 54px 0 161px; }
  h1 { font-size: 31px; letter-spacing: -.7px; line-height: 1.3; margin-bottom: 27px; }
  h1 br { display: none; }
  h1 span::after { content: " "; }
  .authors { display: grid; grid-template-columns: repeat(2,max-content); justify-content: center; column-gap: 18px; font-size: 14px; line-height: 2.1; margin-bottom: 17px; }
  .authors p { display: contents; }
  .affiliations { font-size: 12px; line-height: 1.7; }
  .affiliations p { column-gap: 15px; margin: 5px 0; }
  .contribution { font-size: 12px; margin: 14px 0 24px; }
  .paper-links { gap: 11px; max-width: 370px; margin: auto; }
  .paper-link { font-size: 14px; min-width: 121px; min-height: 46px; padding: 10px 19px; gap: 8px; }
  .paper-link svg { width: 18px; height: 18px; }
  .hero-background { object-position: 57% center; }
  .hero-shade { background: rgba(0,0,0,.63); }
  .hero-timeline { left: 20px; right: 20px; bottom: 88px; gap: 10px; }
  .hero-segment { font-size: 11px; line-height: 1.35; padding-top: 12px; }
  .background-controls { left: 20px; right: 20px; bottom: 24px; gap: 12px; font-size: 10px; }
  .background-controls button { font-size: 11px; padding: 6px 10px; white-space: nowrap; }
  .section { padding-block: 52px; }
  .section-label { font-size: 24px; letter-spacing: -.4px; margin-bottom: 15px; }
  h2 { font-size: 31px; letter-spacing: -.65px; margin-bottom: 20px; }
  h3 { font-size: 22px; }
  .abstract-text { font-size: 17px; line-height: 1.85; margin-top: 25px; }
  .section-intro { font-size: 17px; line-height: 1.8; margin-bottom: 29px; }
  .paper-figure { margin-block: 28px; }
  .paper-figure>a { padding: 8px; border-radius: 7px; }
  .paper-figure figcaption { font-size: 14px; margin-top: 15px; line-height: 1.8; }
  .insight-columns { grid-template-columns: 1fr; gap: 28px; margin-top: 32px; }
  .insight-columns>div:last-child { border: 0; padding: 0; }
  .insight-columns h3 { font-size: 22px; }
  .insight-columns p { font-size: 16px; }
  .method-explanation { gap: 29px; margin-top: 31px; }
  .method-explanation article { display: block; padding-top: 25px; }
  .method-explanation article h3 { font-size: 22px; }
  .method-explanation p,.method-explanation ul { font-size: 16px; }
  .method-explanation ul { margin-top: 14px; }
  .results-block { margin-top: 33px; padding: 23px 14px; }
  .chart-toolbar { flex-direction: column; gap: 19px; }
  .chart-toolbar h3 { font-size: 22px; }
  .chart-toolbar p { font-size: 13px; }
  .segmented button { font-size: 13px; }
  .chart-legend { gap: 14px; margin-block: 28px 15px; font-size: 12px; }
  .chart-legend i { width: 9px; height: 9px; }
  .results-chart { gap: 12px; padding: 24px 0 0; }
  .bar-group { height: 175px; gap: 4px; }
  .bar-column { max-width: 30px; }
  .bar-value { font-size: 10px; }
  .task-chart h4 { font-size: 11px; min-height: 36px; margin-top: 11px; overflow-wrap: normal; }
  .task-chart:last-child { min-width: 0; }
  .figure-note { font-size: 13px; }
  .full-results { font-size: 15px; }
  .experiment-subsection { margin-top: 42px; }
  .experiment-subsection>p { font-size: 16px; }
  .analysis-list { margin-top: 31px; }
  .analysis-summary { grid-template-columns: 34px minmax(0,1fr) 20px; gap: 13px; padding-block: 24px; }
  .analysis-copy { padding: 0 0 27px 47px; }
  .analysis-number { font-size: 23px; }
  .analysis-summary h3 { font-size: 22px; }
  .analysis-copy p { font-size: 16px; }
  .analysis-copy .analysis-metric { font-size: 15px; padding: 8px 11px; }
  .analysis-figure { margin-top: 21px; }
  .analysis-figure img { padding: 7px; }
  .analysis-figure figcaption { font-size: 13px; }
  .reconstruction-controls { gap: 8px; }
  .reconstruction-controls button { font-size: 13px; padding: 8px 13px; }
  .reconstruction-meta { align-items: flex-start; flex-direction: column; gap: 4px; }
  .reconstruction-panel figcaption { font-size: 14px; }
  .reconstruction-showcase>p.figure-note { font-size: 13px; }
  .task-filters { gap: 7px; }
  .task-filters button { font-size: 13px; padding: 8px 13px; min-height: 40px; }
  .video-group-heading { display: block; }
  .video-group-heading h3 { margin-bottom: 6px; }
  .video-group-heading p { font-size: 13px; }
  .video-pair { grid-template-columns: 1fr; gap: 29px; }
  .video-group { margin-bottom: 38px; }
  .video-info p { font-size: 14px; }
  .video-info p.video-policy,p.video-policy { font-size: 15px; }
  .citation-section p { font-size: 16px; }
  .citation-section pre { min-height: 105px; padding: 23px; }
  .citation-section code { font-size: 14px; }
  .site-footer { font-size: 12px; padding-inline: 28px; }
}
@media (max-width:480px) {
  /* Keep labels legible instead of compressing all five plots onto one row. */
  .results-chart { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px 25px; padding-inline: 7px; }
  .task-chart:last-child { grid-column: 1/-1; width: calc(50% - 12px); justify-self: center; }
  .bar-group { height: 160px; gap: 8px; }
  .bar-column { max-width: 32px; }
  .bar-value { font-size: 12px; }
  .task-chart h4 { font-size: 12px; min-height: auto; }
  .chart-legend { column-gap: 15px; row-gap: 8px; }
}
@media (max-width:380px) {
  h1 { font-size: 28px; }
  .authors { font-size: 13px; column-gap: 14px; }
  .paper-heading { width: calc(100% - 34px); }
  .hero-segment { font-size: 10px; }
  h2 { font-size: 29px; }
  .section-label { font-size: 23px; }
  .analysis-summary { column-gap: 10px; grid-template-columns: 29px minmax(0,1fr) 18px; }
  .analysis-copy { padding-left: 39px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation: none!important; transition: none!important; }
  .paper-link:hover { transform: none; }
  .bar-fill { transform: none; }
}


/* Responsive plots are exported from the paper's numerical data. */
.analysis-chart { width: 100%; max-width: 780px; margin: 20px auto 0; padding: 16px; border: 1px solid #ded8e5; border-radius: 10px; background: #fcfbf8; }
.analysis-chart picture { display: block; }
.analysis-chart picture[hidden] { display: none; }
.analysis-chart img { display: block; width: 100%; height: auto; }
.analysis-plot-svg { display: block; width: 100%; height: auto; }
.analysis-plot-svg .is-revealing [data-motion="bar"] { transform-box: fill-box; transform-origin: left center; animation: analysis-bar-reveal .8s cubic-bezier(.2,.7,.2,1) var(--analysis-delay,0ms) both; }
.analysis-plot-svg .is-revealing [data-motion="point"] { animation: analysis-point-reveal .8s cubic-bezier(.2,.7,.2,1) var(--analysis-delay,0ms) both; }
.analysis-plot-svg .is-revealing [data-motion="value"] { animation: analysis-value-reveal .45s ease calc(var(--analysis-delay,0ms) + .3s) both; }
@keyframes analysis-bar-reveal { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes analysis-point-reveal { from { transform: translateX(var(--analysis-from-x)); } to { transform: translateX(0); } }
@keyframes analysis-value-reveal { from { opacity: 0; } to { opacity: 1; } }
.analysis-chart figcaption { margin-top: 16px; color: #68616b; font-size: 14px; line-height: 1.8; }
.analysis-tabs { display: inline-flex; flex-wrap: wrap; gap: 5px; padding: 4px; margin-top: 25px; background: #e7e0ed; border: 1px solid #d8cfe1; border-radius: 9px; }
.analysis-tabs[hidden], .joint-panel[hidden] { display: none; }
.analysis-tabs button { min-height: 43px; padding: 9px 20px; border: 0; border-radius: 6px; background: transparent; color: #62566d; font-size: 15px; font-weight: 600; }
.analysis-tabs button[aria-selected="true"] { background: #7653a7; color: #fff; box-shadow: 0 1px 3px #3a23452b; }
.analysis-tabs button:hover:not([aria-selected="true"]) { background: #ffffff80; }
.joint-panel h4 { margin: 24px 0 0; font-size: 19px; font-weight: 600; color: #4d3b60; }
.joint-panel .analysis-chart { margin-top: 14px; }
@media(max-width:700px) {
  .analysis-copy { padding-left: 0; }
  .analysis-chart { max-width: 288px; padding: 10px 8px 12px; margin-top: 16px; }
  .analysis-chart figcaption { padding-inline: 4px; font-size: 13px; margin-top: 12px; }
  .analysis-tabs { margin-top: 22px; }
  .analysis-tabs button { font-size: 14px; padding: 8px 17px; }
  .joint-panel h4 { font-size: 18px; }
}
