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

:root {
  color-scheme: light;
  --ink: #17141e;
  --muted: #696571;
  --subtle: #8a8594;
  --violet: #7651c7;
  --violet-dark: #5c35aa;
  --violet-pale: #f2eef9;
  --line: #e5e1ea;
  --paper: #fff;
  --tint: #f7f6f9;
  --page: 1280px;
  --gutter: clamp(24px, 5.6vw, 88px);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.65; }
body.modal-open { overflow: hidden; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button, a, summary { touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button { color: inherit; }
button svg, a svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
button:disabled { cursor: default; }
button:focus-visible, a:focus-visible, summary:focus-visible, video:focus-visible {
  outline: 3px solid #b28aef;
  outline-offset: 5px;
}
::selection { color: #fff; background: var(--violet); }
[hidden] { display: none !important; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: 'Manrope', 'DM Sans', sans-serif; }
h2 { font-size: clamp(36px, 4.1vw, 58px); font-weight: 650; line-height: 1.15; letter-spacing: -.045em; }
h3 { font-size: 20px; line-height: 1.35; font-weight: 650; letter-spacing: -.025em; }
sup { position: relative; top: -.12em; font-size: .62em; line-height: 0; margin-left: 2px; }
.page-width { width: min(var(--page), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.section { padding-block: 112px; }
.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; }
.skip-link { position: fixed; top: 12px; left: 12px; transform: translateY(-160%); z-index: 100; padding: 10px 18px; border-radius: 6px; background: #fff; color: var(--ink); font-weight: 600; }
.skip-link:focus { transform: translateY(0); }
.eyebrow { margin-bottom: 20px; color: var(--violet-dark); font-size: 14px; font-weight: 650; line-height: 1.4; letter-spacing: .1em; text-transform: uppercase; }
.section-lead { color: var(--muted); font-size: 19px; line-height: 1.7; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 56px; margin-bottom: 48px; }
.section-heading > div { flex: 1 1 60%; }
.section-heading > p { flex: 0 1 365px; padding-bottom: 4px; color: var(--muted); font-size: 17px; line-height: 1.7; }

/* The video wall remains the visual identity of the first screen. */
.site-header { position: absolute; inset: 0 0 auto; z-index: 20; height: 78px; color: #fff; transition: background .25s, box-shadow .25s, color .25s; }
.site-header.is-scrolled { position: fixed; background: rgba(255, 255, 255, .94); color: var(--ink); box-shadow: 0 1px 0 rgba(34, 24, 46, .1); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.nav-shell { display: flex; height: 100%; align-items: center; gap: 40px; width: min(1440px, calc(100% - 72px)); margin-inline: auto; }
.nav-brand { display: inline-flex; align-items: center; gap: 5px; font-family: 'Manrope', sans-serif; font-size: 24px; letter-spacing: -.065em; font-weight: 800; }
.brand-accent { width: 5px; height: 5px; margin: 8px 0 0 3px; border-radius: 50%; background: #bca0f5; }
.nav-shell nav { display: flex; align-items: center; justify-content: center; gap: 30px; margin-inline: auto; }
.nav-shell nav a { padding-block: 10px; font-size: 14px; font-weight: 500; opacity: .82; transition: opacity .2s; }
.nav-shell nav a:hover, .nav-shell nav a[aria-current] { opacity: 1; }
.nav-paper { padding: 8px 16px; border: 1px solid rgba(255,255,255,.4); border-radius: 5px; font-size: 14px; font-weight: 550; transition: background .2s; }
.nav-paper:hover { background: rgba(255,255,255,.12); }
.is-scrolled .nav-paper { border-color: #dcd5e8; }
.is-scrolled .nav-paper:hover { background: var(--violet-pale); }
.menu-toggle { display: none; }
.cinema-hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: 940px; overflow: hidden; color: #fff; background: #0b0c12; }
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; filter: saturate(.62) brightness(.64); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,6,13,.42) 0%, rgba(5,6,13,.47) 30%, rgba(5,6,13,.55) 70%, rgba(5,6,13,.8) 100%), radial-gradient(ellipse at 50% 42%, transparent 0%, rgba(5,6,13,.2) 80%); }
.hero-content { display: flex; flex-direction: column; align-items: center; padding-block: 128px 112px; text-align: center; }
.hero-wordmark { width: min(650px, 65vw); height: auto; margin: 0 0 28px; filter: drop-shadow(0 5px 24px rgba(0,0,0,.18)); }
.cinema-hero h1 { max-width: 1160px; font-size: clamp(25px, 2.15vw, 31px); font-weight: 550; line-height: 1.35; letter-spacing: -.025em; text-wrap: balance; text-shadow: 0 2px 16px rgba(0,0,0,.2); }
.authors { display: grid; grid-template-columns: repeat(5, max-content); justify-content: center; column-gap: clamp(24px, 3vw, 48px); row-gap: 7px; margin-top: 29px; font-size: 18px; font-weight: 450; line-height: 1.55; }
.authors > span { white-space: nowrap; }
.authors a { text-decoration: underline dashed rgba(255,255,255,.55); text-underline-offset: 4px; text-decoration-thickness: 1px; transition: color .18s ease, text-decoration-color .18s ease; }
.authors a:hover, .authors a:focus-visible { color: #d8c5ff; text-decoration-color: currentColor; text-decoration-style: solid; }
.authors sup { opacity: .9; }
.author-notes { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 25px; margin-top: 18px; color: #ddd9e5; font-size: 14px; line-height: 1.5; }
.affiliations { display: flex; flex-direction: column; justify-content: center; gap: 3px; max-width: 1180px; margin-top: 14px; color: #e6e2eb; font-size: 14px; line-height: 1.65; }
.hero-institutions { display: flex; align-items: center; justify-content: center; gap: 49px; margin-top: 27px; }
.hero-institutions a, .hero-institutions > span { display: flex; align-items: center; }
.hero-institutions img { width: auto; height: 45px; max-width: 285px; object-fit: contain; }
.hero-institutions a:nth-child(2) img { height: 44px; max-width: 255px; }
.hero-institutions > span img { height: 44px; max-width: 172px; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 31px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 9px; padding: 12px 22px; border: 1px solid transparent; border-radius: 5px; font-size: 15px; font-weight: 600; line-height: 1.45; transition: background .2s, border-color .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-white { color: #19151f; background: #fff; box-shadow: 0 3px 12px rgba(0,0,0,.08); }
.button-white:hover { background: #f1edf8; }
.button-glass { color: #fff; border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.07); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); }
.button-glass:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.7); }
.button-glass svg { width: 15px; height: 15px; }
.button-dark { color: #fff; background: var(--ink); }
.button-dark:hover { background: var(--violet-dark); }
.resource-status { display: flex; gap: 24px; margin-top: 16px; color: #dfdbe6; font-size: 14px; }
.resource-status > span { display: inline-flex; align-items: center; gap: 8px; }
.resource-status em { color: #bdb6cc; font-size: 14px; font-style: normal; }
.background-toggle { position: absolute; left: 32px; bottom: 28px; display: inline-flex; min-height: 36px; align-items: center; gap: 8px; padding: 5px 9px; border: 0; border-radius: 4px; background: rgba(0,0,0,.16); color: #d4cfdf; font-size: 14px; transition: color .2s, background .2s; }
.background-toggle:hover { color: #fff; background: rgba(0,0,0,.4); }
.background-toggle svg { width: 15px; height: 15px; }
.hero-scroll { position: absolute; bottom: 30px; left: 50%; display: flex; align-items: center; gap: 13px; transform: translateX(-50%); color: #d4cfdf; font-size: 14px; }
.hero-scroll > span { width: 7px; height: 7px; margin-top: -4px; border-right: 1px solid; border-bottom: 1px solid; transform: rotate(45deg); }
.hero-scroll:hover { color: #fff; }

/* Overview */
.intro-section { padding-block: 108px 95px; }
.section-intro { text-align: center; max-width: 820px; margin-inline: auto; }
.section-intro .section-lead { max-width: 710px; margin: 25px auto 0; }
.condition-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 29px; margin-top: 35px; color: #655b74; font-size: 14px; }
.condition-line span { display: flex; align-items: center; gap: 8px; }
.condition-line span::before { content: ''; flex-shrink: 0; width: 5px; height: 5px; border-radius: 50%; background: #a27acb; }
.scale-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; margin-top: 65px; padding-top: 38px; border-top: 1px solid var(--line); }
.scale-strip > div { display: flex; flex-direction: column; align-items: center; padding: 0 12px; text-align: center; }
.scale-strip > div + div { border-left: 1px solid var(--line); }
.scale-strip strong { font-family: 'Manrope', sans-serif; font-size: clamp(33px, 3.3vw, 46px); font-weight: 650; line-height: 1.3; letter-spacing: -.055em; }
.number-unit { font-size: .65em; margin-left: 3px; }
.scale-strip > div > span { margin-top: 9px; color: var(--muted); font-size: 14px; }

/* Real-world demonstrations */
.demos-section { background: var(--tint); border-top: 1px solid #efecf3; border-bottom: 1px solid #efecf3; }
.demo-layout { display: grid; grid-template-columns: minmax(0, 3.4fr) minmax(245px, 1fr); gap: 30px; align-items: start; }
.demo-stage { min-width: 0; overflow: hidden; border: 1px solid #ded9e6; border-radius: 8px; background: #fff; box-shadow: 0 12px 40px rgba(44,29,70,.04); }
.demo-stage > video { width: 100%; aspect-ratio: 16 / 9; background: #141317; object-fit: contain; }
.demo-caption { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 23px 26px 26px; }
.caption-label { display: block; margin-bottom: 5px; color: var(--subtle); font-size: 14px; line-height: 1.45; }
.demo-caption h3 { font-size: 23px; }
.demo-caption p { max-width: 310px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.task-selector { display: flex; flex-direction: column; gap: 7px; padding-top: 1px; }
.task-tab { display: flex; width: 100%; min-height: 93px; align-items: center; gap: 12px; padding: 18px 14px; border: 1px solid transparent; border-radius: 6px; background: transparent; text-align: left; transition: background .2s, border-color .2s; }
.task-tab:hover { background: #eeebf3; }
.task-tab[aria-selected='true'] { background: #fff; border-color: #d8cbea; box-shadow: 0 4px 15px rgba(66,40,94,.04); }
.task-symbol { display: flex; width: 31px; height: 36px; align-items: center; justify-content: center; flex-shrink: 0; color: #91849f; font-size: 28px; font-weight: 400; line-height: 1; }
.task-tab[aria-selected='true'] .task-symbol { color: var(--violet); }
.task-tab strong { display: block; font-family: 'Manrope', sans-serif; font-size: 16px; font-weight: 650; line-height: 1.4; letter-spacing: -.025em; }
.task-tab small { display: block; margin-top: 5px; color: var(--muted); font-size: 14px; line-height: 1.4; }
.task-play { margin-left: auto; padding-left: 5px; color: var(--violet); font-size: 11px; opacity: 0; }
.task-tab[aria-selected='true'] .task-play { opacity: 1; }
.demo-footnote { padding: 20px 15px 0; color: var(--subtle); font-size: 14px; line-height: 1.65; }
.task-chapters { display: flex; align-items: center; gap: 8px; padding: 0 26px 23px; }
.task-chapters button { min-height: 36px; padding: 5px 15px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--muted); font-size: 14px; }
.task-chapters button[aria-pressed='true'] { background: var(--violet-pale); border-color: #bfa7e0; color: var(--violet-dark); }

/* Method: the original full-resolution figure remains the centrepiece. */
.method-media { overflow: hidden; border: 1px solid var(--line); border-radius: 7px; }
.media-toolbar { display: flex; min-height: 59px; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 22px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.text-button { display: inline-flex; min-height: 36px; flex-shrink: 0; align-items: center; gap: 12px; padding: 4px 0; border: 0; background: none; color: var(--violet-dark); font-size: 14px; font-weight: 600; }
.text-button:hover { color: var(--violet); }
.text-button > span { font-size: 20px; line-height: 1; }
.pipeline-image { display: block; width: 100%; padding: 22px 18px; border: 0; background: #fff; cursor: zoom-in; }
.pipeline-image img { width: 100%; height: auto; }
.walkthroughs { display: flex; flex-wrap: wrap; align-items: center; gap: 15px 30px; padding: 18px 24px; border-top: 1px solid var(--line); background: #faf9fc; font-size: 14px; }
.walkthroughs > span { margin-right: auto; color: var(--muted); }
.play-link { display: inline-flex; min-height: 30px; align-items: center; gap: 10px; padding: 0; border: 0; background: none; color: var(--violet-dark); font-size: 14px; font-weight: 550; }
.play-link > span { display: flex; width: 24px; height: 24px; align-items: center; justify-content: center; padding-left: 2px; border-radius: 50%; background: #eae1f6; font-size: 9px; }
.play-link small { margin-left: 1px; color: var(--subtle); font-size: 14px; font-weight: 400; }
.play-link:hover { color: var(--violet); }
.method-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 42px; }
.method-steps article { padding-top: 1px; }
.method-letter { display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; margin-bottom: 17px; border: 1px solid #d7c9e9; border-radius: 50%; background: #f8f5fc; color: var(--violet-dark); font-size: 14px; font-weight: 600; }
.method-steps h3 { margin-bottom: 13px; font-size: 18px; }
.method-steps p { color: var(--muted); font-size: 16px; line-height: 1.75; }
.deployment-note { margin-top: 36px; padding: 20px 23px; border-left: 2px solid #a87cd6; background: #f8f6fb; color: #70657c; font-size: 16px; line-height: 1.7; }
.deployment-note strong { color: #4c3b5b; font-weight: 600; }

/* Dataset */
.dataset-section { background: #f6f4f9; border-top: 1px solid #efebf3; border-bottom: 1px solid #efebf3; }
.dataset-visual { margin: 0; }
.dataset-visual > button { display: block; width: 100%; padding: 0; overflow: hidden; border: 1px solid #dfd9e8; border-radius: 7px; background: #fff; cursor: zoom-in; }
.dataset-visual img { width: 100%; height: auto; }
.dataset-visual figcaption { margin-top: 17px; color: var(--muted); font-size: 14px; text-align: center; }
.dataset-details { display: grid; grid-template-columns: 1fr 1.05fr; gap: 100px; margin-top: 57px; }
.dataset-details h3 { margin-bottom: 16px; font-size: 27px; font-weight: 600; }
.dataset-details p { max-width: 470px; color: var(--muted); font-size: 16px; }
.release-note { display: inline-flex; align-items: center; gap: 12px; margin-top: 24px; color: var(--muted); font-size: 14px; }
.release-note strong { padding: 3px 10px; border: 1px solid #ddd4e9; border-radius: 4px; color: #7a668f; font-size: 14px; font-weight: 500; }
.dataset-details ul { list-style: none; padding: 0; margin: 0; }
.dataset-details li { display: grid; grid-template-columns: 106px 1fr; gap: 23px; padding-block: 12px; border-bottom: 1px solid #e2dce9; color: var(--muted); font-size: 16px; line-height: 1.6; }
.dataset-details li:first-child { padding-top: 0; }
.dataset-details li > span { color: #4e405e; font-weight: 600; }

/* Results */
.result-highlights { display: grid; grid-template-columns: 1.6fr 1fr; gap: 50px; padding: 35px 0 43px; border-block: 1px solid var(--line); }
.result-label { display: block; color: var(--muted); font-size: 14px; line-height: 1.4; }
.mean-comparison { display: flex; align-items: center; gap: 29px; margin-top: 12px; }
.mean-comparison > div { display: flex; flex-direction: column; }
.mean-comparison strong { color: var(--violet); font-family: 'Manrope', sans-serif; font-size: 66px; font-weight: 650; line-height: 1.2; letter-spacing: -.055em; }
.mean-comparison > div:nth-last-child(1) strong { color: #8e8c98; }
.mean-comparison > div > span { margin-top: 5px; color: var(--muted); font-size: 14px; }
.versus { margin-top: -21px; color: #aba6b1; font-size: 17px; font-style: italic; }
.performance-highlight > p { margin-top: 22px; color: var(--muted); font-size: 16px; }
.efficiency-highlight { padding-left: 46px; border-left: 1px solid var(--line); }
.efficiency-highlight > strong { display: block; margin: 9px 0 6px; color: var(--violet); font-family: 'Manrope', sans-serif; font-size: 66px; font-weight: 650; line-height: 1.2; letter-spacing: -.055em; }
.efficiency-highlight > strong > span { margin-left: 4px; font-size: .7em; }
.efficiency-highlight p { max-width: 345px; margin-top: 13px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.chart-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 25px; margin-top: 44px; color: var(--muted); font-size: 14px; }
.chart-legend > span { display: flex; align-items: center; gap: 8px; }
.chart-legend i { width: 10px; height: 10px; border-radius: 2px; }
.legend-ours { background: #8963c9; }
.legend-teleop { background: #9c9dab; }
.legend-without { background: #d9d3e3; }
.chart-legend .chart-unit { margin-left: auto; color: var(--subtle); }
.task-charts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 35px; margin-top: 37px; }
.task-chart { min-width: 0; }
.task-chart h3 { margin-bottom: 32px; font-size: 16px; font-weight: 600; text-align: center; }
.chart-bars { position: relative; display: flex; height: 225px; justify-content: center; gap: 17px; border-bottom: 1px solid #cfc7db; background: repeating-linear-gradient(to top, #eeebf3 0, #eeebf3 1px, transparent 1px, transparent 25%); }
.chart-column { position: relative; flex: 0 1 46px; height: 100%; }
.chart-column i { position: absolute; inset: auto 0 0; height: calc(var(--score) * 1%); border-radius: 3px 3px 0 0; }
.chart-column span { position: absolute; left: 50%; bottom: calc(var(--score) * 1% + 9px); transform: translateX(-50%); color: #68606f; font-size: 14px; font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; }
.chart-column.ours i { background: #8963c9; }
.chart-column.ours span { color: #7450ae; font-weight: 650; }
.chart-column.teleop i { background: #9c9dab; }
.chart-column.without i { background: #d9d3e3; }
.score-details { margin-top: 37px; border-block: 1px solid var(--line); }
.score-details summary, .abstract summary { display: flex; min-height: 66px; align-items: center; justify-content: space-between; gap: 25px; list-style: none; cursor: pointer; font-size: 15px; font-weight: 550; }
.score-details summary::-webkit-details-marker, .abstract summary::-webkit-details-marker { display: none; }
.score-details summary > span, .abstract summary > span { color: var(--violet); font-size: 22px; font-weight: 400; transition: transform .2s; }
.score-details[open] summary > span, .abstract[open] summary > span { transform: rotate(45deg); }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: right; font-size: 14px; font-variant-numeric: tabular-nums; }
caption { padding-bottom: 16px; color: var(--muted); font-size: 14px; text-align: left; }
th, td { padding: 14px 18px; border-bottom: 1px solid var(--line); white-space: nowrap; }
thead th { background: #f7f5fa; color: var(--muted); font-weight: 500; }
th:first-child { text-align: left; }
tbody th { color: #514759; font-weight: 500; }
tbody td:nth-child(2) { color: var(--violet-dark); font-weight: 600; }
.table-mean { background: #faf8fd; }
.score-details > p { margin: 20px 0 26px; color: var(--muted); font-size: 14px; line-height: 1.75; }

/* Paper, citation and footer */
.paper-section { background: #f7f5fa; border-block: 1px solid #efebf4; }
.paper-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
.paper-grid .section-lead { max-width: 440px; margin-top: 23px; font-size: 17px; }
.paper-grid .button { margin-top: 28px; }
.abstract { border-block: 1px solid #dcd5e6; }
.abstract summary { min-height: 65px; font-family: 'Manrope', sans-serif; font-size: 20px; font-weight: 600; }
.abstract p { padding-bottom: 28px; color: var(--muted); font-size: 16px; line-height: 1.85; }
.abstract strong { color: #5f5070; font-weight: 600; }
.citation-section { padding-block: 85px 100px; }
.citation-section .section-heading { margin-bottom: 29px; }
.citation-section h2 { font-size: 43px; }
.citation-section pre { overflow-x: auto; margin: 0; padding: 29px 32px; border: 1px solid #e5dfec; border-radius: 6px; background: #faf9fc; color: #655772; font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace; font-size: 14px; line-height: 1.8; tab-size: 2; }
.site-footer { padding-block: 36px; color: #b6afc3; background: #15121b; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.footer-inner > a:first-child { flex-shrink: 0; }
.footer-inner img { width: 126px; height: auto; }
.footer-inner p { font-size: 14px; text-align: center; }
.footer-inner > a:last-child { flex-shrink: 0; color: #cfc8dc; font-size: 14px; }
.footer-inner > a:last-child:hover { color: #fff; }

/* Accessible media dialogs */
dialog { position: fixed; max-height: calc(100dvh - 56px); margin: auto; padding: 0; overflow: hidden; border: 1px solid #49414e; border-radius: 8px; background: #fff; box-shadow: 0 26px 100px rgba(0,0,0,.4); }
dialog::backdrop { background: rgba(9,7,15,.87); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); }
.video-dialog { width: min(1180px, calc(100vw - 64px)); background: #101014; color: #fff; }
.dialog-toolbar { display: flex; min-height: 62px; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 22px; border-bottom: 1px solid rgba(128,119,143,.22); }
.dialog-toolbar h2 { font-size: 17px; font-weight: 550; line-height: 1.4; letter-spacing: -.02em; }
.dialog-toolbar button { display: flex; min-height: 36px; align-items: center; gap: 12px; padding: 3px 5px 3px 12px; border: 0; background: none; color: inherit; font-size: 14px; }
.dialog-toolbar button > span { font-size: 27px; font-weight: 400; line-height: 1; }
.video-dialog video { width: 100%; max-height: calc(100dvh - 126px); background: #000; }
.figure-dialog { width: min(1600px, calc(100vw - 64px)); }
.dialog-image { max-height: calc(100dvh - 126px); overflow: auto; padding: 24px; }
.dialog-image img { width: 100%; height: auto; }
.js-reveal { transition: opacity .65s ease, transform .65s ease; }
.js-reveal:not(.is-visible) { opacity: 0; transform: translateY(18px); }
.js-reveal.is-visible { opacity: 1; transform: none; }

@media (min-width: 1600px) {
  .cinema-hero { min-height: 990px; }
  .hero-content { padding-block: 144px 126px; }
  .hero-wordmark { width: 700px; margin-bottom: 33px; }
  .cinema-hero h1 { font-size: 32px; }
  .authors { margin-top: 33px; row-gap: 8px; }
}

@media (max-width: 1180px) {
  :root { --gutter: 42px; }
  .nav-shell { width: calc(100% - 56px); gap: 25px; }
  .nav-shell nav { gap: 23px; }
  .cinema-hero { min-height: 930px; }
  .hero-content { padding-block: 124px 108px; }
  .hero-wordmark { width: 610px; }
  .cinema-hero h1 { font-size: 27px; }
  .authors { column-gap: 26px; font-size: 16px; row-gap: 9px; }
  .affiliations { max-width: 920px; font-size: 14px; }
  .hero-institutions { gap: 38px; }
  .hero-institutions img { height: 42px; }
  .hero-institutions a:nth-child(2) img { height: 40px; }
  .hero-institutions > span img { height: 40px; }
  .section { padding-block: 90px; }
  .section-heading { gap: 40px; }
  .section-heading > p { flex-basis: 310px; font-size: 16px; }
  .demo-layout { grid-template-columns: minmax(0, 2.7fr) minmax(240px, 1fr); gap: 23px; }
  .demo-caption { display: block; padding: 21px 23px; }
  .demo-caption p { max-width: none; margin-top: 9px; }
  .task-tab { min-height: 87px; gap: 8px; padding: 14px 10px; }
  .task-symbol { width: 25px; }
  .task-tab strong { font-size: 15px; }
  .task-tab small { font-size: 14px; }
  .demo-footnote { padding: 15px 11px 0; }
  .dataset-details, .paper-grid { gap: 60px; }
  .method-steps { gap: 23px; }
  .method-steps h3 { font-size: 17px; }
  .chart-legend { gap: 12px 20px; }
  .chart-legend .chart-unit { width: 100%; margin-left: 0; }
  .task-charts { gap: 24px; }
  .chart-bars { gap: 13px; height: 205px; }
  .chart-column { flex-basis: 41px; }
  .footer-inner { gap: 24px; }
  .footer-inner p { max-width: 450px; }
}

@media (max-width: 900px) {
  :root { --gutter: 32px; }
  html { scroll-padding-top: 82px; }
  .site-header { height: 70px; }
  .nav-shell { width: calc(100% - 48px); gap: 24px; }
  .nav-shell nav { gap: 21px; }
  .nav-brand { font-size: 22px; }
  .nav-paper { padding: 7px 12px; }
  .cinema-hero { min-height: 970px; }
  .hero-content { padding-block: 128px 112px; }
  .hero-wordmark { width: 560px; max-width: 82vw; margin-bottom: 28px; }
  .cinema-hero h1 { max-width: 760px; font-size: 26px; }
  .title-break { display: none; }
  .authors { grid-template-columns: repeat(3, max-content); column-gap: 36px; row-gap: 7px; margin-top: 25px; font-size: 17px; }
  .author-notes { gap: 8px 20px; margin-top: 20px; }
  .affiliations { max-width: 730px; gap: 5px 18px; margin-top: 15px; }
  .hero-institutions { gap: 25px; margin-top: 25px; }
  .hero-institutions img { height: 37px; max-width: 177px; }
  .hero-institutions a:nth-child(2) img { height: 36px; max-width: 197px; }
  .hero-institutions > span img { height: 36px; max-width: 124px; }
  .hero-actions { margin-top: 28px; }
  .background-toggle { left: 23px; bottom: 24px; }
  .background-toggle > span { display: none; }
  .hero-scroll { bottom: 28px; }
  .intro-section { padding-block: 83px 76px; }
  .section { padding-block: 78px; }
  .section-heading { gap: 28px; }
  .section-heading > p { flex-basis: 270px; font-size: 15px; }
  h2 { font-size: 42px; }
  .eyebrow { margin-bottom: 17px; }
  .section-lead { font-size: 18px; }
  .condition-line { gap: 12px 24px; }
  .scale-strip { gap: 15px; margin-top: 47px; }
  .scale-strip > div { padding-inline: 6px; }
  .scale-strip strong { font-size: 33px; }
  .demo-layout { grid-template-columns: minmax(0, 1fr); gap: 23px; }
  .demo-caption { display: flex; }
  .demo-caption p { max-width: 310px; margin-top: 0; }
  .task-selector { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; }
  .task-tab { min-height: 100px; align-items: flex-start; padding: 14px 12px; }
  .task-symbol { display: none; }
  .task-play { display: none; }
  .task-tab strong { font-size: 14px; }
  .task-tab small { font-size: 14px; line-height: 1.45; }
  .demo-footnote { grid-column: 1 / -1; padding: 8px 0 0; }
  .media-toolbar { gap: 15px; padding-inline: 17px; }
  .media-toolbar > span { max-width: 400px; }
  .pipeline-image { padding: 18px 10px; }
  .walkthroughs { gap: 13px 20px; padding-inline: 18px; }
  .walkthroughs > span { width: 100%; }
  .method-steps { grid-template-columns: repeat(2,1fr); gap: 30px; margin-top: 35px; }
  .method-steps h3 { font-size: 18px; }
  .method-letter { margin-bottom: 12px; }
  .dataset-details { gap: 35px; margin-top: 38px; }
  .dataset-details h3 { font-size: 24px; }
  .dataset-details li { grid-template-columns: 87px 1fr; gap: 12px; font-size: 16px; }
  .result-highlights { grid-template-columns: 1.4fr 1fr; gap: 25px; }
  .efficiency-highlight { padding-left: 25px; }
  .mean-comparison { gap: 20px; }
  .mean-comparison strong, .efficiency-highlight > strong { font-size: 57px; }
  .mean-comparison > div > span { max-width: 150px; }
  .task-charts { grid-template-columns: repeat(2,1fr); gap: 36px; }
  .chart-bars { height: 210px; gap: 23px; }
  .chart-column { flex-basis: 53px; }
  .task-chart h3 { margin-bottom: 28px; }
  .paper-grid { gap: 45px; }
  .paper-grid .section-lead { font-size: 16px; }
  .abstract p { font-size: 15px; }
  .footer-inner { flex-wrap: wrap; justify-content: space-between; }
  .footer-inner p { order: 3; width: 100%; max-width: none; text-align: left; }
}

@media (max-width: 700px) {
  :root { --gutter: 24px; }
  .site-header { height: 66px; }
  .nav-shell { position: relative; width: calc(100% - 40px); gap: 18px; }
  .nav-brand { font-size: 21px; margin-right: auto; }
  .nav-paper { margin-left: 0; padding: 7px 12px; font-size: 14px; }
  .menu-toggle { display: flex; width: 34px; min-height: 36px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 4px; border: 0; background: none; color: inherit; order: 3; }
  .menu-toggle span { width: 20px; height: 1px; background: currentColor; transition: transform .2s; }
  .menu-toggle[aria-expanded='true'] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded='true'] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav-shell nav { position: absolute; inset: 66px -20px auto; display: none; align-items: stretch; gap: 0; padding: 12px 24px 19px; border-bottom: 1px solid #e7dfef; background: #fff; color: var(--ink); box-shadow: 0 18px 30px rgba(15,10,22,.08); }
  .nav-shell nav.is-open, body.menu-open .nav-shell nav { display: flex; flex-direction: column; }
  .nav-shell nav a { padding: 10px 4px; font-size: 15px; opacity: 1; }
  .cinema-hero { min-height: 1010px; }
  .hero-content { width: calc(100% - 36px); padding-block: 112px 105px; }
  .hero-wordmark { width: 480px; max-width: 87vw; margin-bottom: 27px; }
  .cinema-hero h1 { max-width: 560px; font-size: clamp(23px, 4.2vw, 27px); line-height: 1.4; letter-spacing: -.035em; }
  .authors { grid-template-columns: repeat(3, max-content); column-gap: 21px; row-gap: 10px; font-size: 15px; line-height: 1.6; margin-top: 25px; }
  .author-notes { column-gap: 17px; row-gap: 5px; max-width: 430px; margin-top: 18px; font-size: 14px; }
  .affiliations { flex-direction: column; gap: 6px; max-width: 480px; margin-top: 17px; font-size: 14px; line-height: 1.55; }
  .hero-institutions { flex-wrap: wrap; gap: 20px; margin-top: 25px; }
  .hero-institutions img { height: 32px; max-width: 156px; }
  .hero-institutions a:nth-child(2) img { height: 31px; max-width: 162px; }
  .hero-institutions > span img { height: 31px; max-width: 106px; }
  .hero-actions { gap: 10px; margin-top: 27px; }
  .button { min-height: 46px; padding: 11px 17px; font-size: 14px; }
  .hero-actions svg { width: 16px; height: 16px; }
  .resource-status { gap: 20px; }
  .resource-status > span { gap: 6px; }
  .hero-media video { object-position: center; }
  .hero-shade { background: linear-gradient(180deg, rgba(5,6,13,.42), rgba(5,6,13,.56) 40%, rgba(5,6,13,.8)); }
  .hero-scroll { bottom: 26px; }
  .background-toggle { left: 15px; bottom: 18px; }
  .section { padding-block: 65px; }
  .intro-section { padding-block: 67px 62px; }
  h2 { font-size: clamp(34px, 6.8vw, 42px); letter-spacing: -.045em; }
  .eyebrow { margin-bottom: 16px; font-size: 14px; letter-spacing: .075em; }
  .section-lead { font-size: 17px; }
  .section-intro .section-lead { margin-top: 22px; }
  .condition-line { align-items: flex-start; gap: 11px; flex-direction: column; width: fit-content; margin: 28px auto 0; font-size: 14px; }
  .scale-strip { grid-template-columns: repeat(2,1fr); gap: 30px 20px; margin-top: 36px; padding-top: 30px; }
  .scale-strip > div:nth-child(3) { border-left: 0; }
  .scale-strip strong { font-size: 37px; }
  .scale-strip > div > span { max-width: 170px; margin-top: 6px; font-size: 14px; }
  .section-heading { display: block; margin-bottom: 32px; }
  .section-heading > p { max-width: 520px; margin-top: 22px; padding: 0; font-size: 16px; }
  .demo-layout { gap: 16px; }
  .demo-stage { border-radius: 6px; }
  .demo-caption { display: block; padding: 18px 19px 21px; }
  .demo-caption h3 { font-size: 23px; }
  .demo-caption p { max-width: none; margin-top: 9px; font-size: 16px; }
  .task-selector { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
  .task-tab { min-height: 91px; padding: 13px 12px; border-color: #e4deec; }
  .task-tab strong { font-size: 15px; }
  .task-tab small { margin-top: 5px; font-size: 14px; }
  .demo-footnote { padding-top: 9px; }
  .task-chapters { padding: 0 19px 19px; }
  .media-toolbar { align-items: flex-start; flex-direction: column; gap: 7px; padding: 13px 16px 10px; font-size: 14px; }
  .media-toolbar > span { max-width: none; }
  .media-toolbar .text-button { min-height: 28px; }
  .pipeline-image { padding: 13px 7px; }
  .walkthroughs { gap: 10px 20px; padding: 14px 16px; }
  .walkthroughs > span { margin-bottom: 2px; }
  .play-link { gap: 7px; font-size: 14px; }
  .play-link small { display: none; }
  .method-steps { gap: 27px 23px; margin-top: 30px; }
  .method-steps h3 { margin-bottom: 10px; font-size: 17px; }
  .method-steps p { font-size: 16px; line-height: 1.7; }
  .deployment-note { margin-top: 28px; padding: 16px 18px; font-size: 16px; }
  .dataset-visual > button { border-radius: 4px; }
  .dataset-visual figcaption { margin-top: 13px; font-size: 14px; text-align: left; }
  .dataset-details { grid-template-columns: 1fr; gap: 28px; margin-top: 34px; }
  .dataset-details h3 { margin-bottom: 12px; font-size: 24px; }
  .dataset-details p { font-size: 16px; }
  .release-note { margin-top: 18px; }
  .dataset-details li { grid-template-columns: 97px 1fr; gap: 16px; padding-block: 13px; font-size: 16px; }
  .result-highlights { grid-template-columns: 1fr; gap: 25px; padding: 26px 0 29px; }
  .performance-highlight > p { margin-top: 18px; }
  .efficiency-highlight { padding: 24px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .mean-comparison { justify-content: flex-start; gap: 29px; }
  .mean-comparison strong { font-size: 62px; }
  .mean-comparison > div > span { max-width: none; }
  .efficiency-highlight > strong { margin-top: 8px; font-size: 62px; }
  .efficiency-highlight p { max-width: 460px; margin-top: 10px; font-size: 16px; }
  .chart-legend { margin-top: 28px; gap: 9px 18px; font-size: 14px; }
  .task-charts { gap: 32px 23px; margin-top: 28px; }
  .task-chart h3 { font-size: 14px; margin-bottom: 28px; }
  .chart-bars { height: 185px; gap: 12px; }
  .chart-column { flex-basis: 40px; }
  .chart-column span { font-size: 14px; }
  .score-details { margin-top: 30px; }
  .score-details summary { min-height: 65px; font-size: 14px; }
  th, td { padding: 12px 14px; }
  .score-details > p { font-size: 14px; }
  .paper-grid { grid-template-columns: 1fr; gap: 35px; }
  .paper-grid .section-lead { max-width: 520px; margin-top: 20px; font-size: 17px; }
  .paper-grid .button { margin-top: 24px; }
  .abstract p { font-size: 16px; }
  .citation-section { padding-block: 64px; }
  .citation-section .section-heading { display: flex; align-items: flex-end; gap: 20px; margin-bottom: 24px; }
  .citation-section h2 { font-size: 36px; }
  .citation-section .eyebrow { max-width: 180px; margin-bottom: 12px; }
  .citation-section pre { padding: 21px 20px; font-size: 14px; line-height: 1.75; }
  .site-footer { padding-block: 31px; }
  .footer-inner { gap: 23px; }
  .footer-inner img { width: 120px; }
  .footer-inner p { line-height: 1.7; }
  dialog { max-height: calc(100dvh - 28px); border-radius: 5px; }
  .video-dialog, .figure-dialog { width: calc(100vw - 24px); }
  .dialog-toolbar { min-height: 58px; gap: 13px; padding: 10px 14px; }
  .dialog-toolbar h2 { font-size: 15px; }
  .dialog-toolbar button { gap: 9px; font-size: 14px; }
  .dialog-image { max-height: calc(100dvh - 95px); padding: 13px; }
  .video-dialog video { max-height: calc(100dvh - 95px); }
}

@media (max-width: 430px) {
  :root { --gutter: 21px; }
  .cinema-hero { min-height: 1150px; }
  .hero-content { padding-block: 110px 100px; }
  .hero-wordmark { margin-bottom: 27px; }
  .cinema-hero h1 { max-width: 370px; font-size: 23px; }
  .authors { grid-template-columns: repeat(2,max-content); column-gap: 26px; row-gap: 7px; margin-top: 25px; font-size: 16px; }
  .authors > span:last-child { grid-column: 1 / -1; }
  .author-notes { max-width: 350px; margin-top: 18px; gap: 5px 18px; }
  .hero-institutions { gap: 14px 20px; max-width: 350px; margin-top: 23px; }
  .hero-institutions img { height: 30px; max-width: 145px; }
  .hero-institutions a:nth-child(2) img { height: 30px; max-width: 151px; }
  .hero-institutions > span img { height: 30px; max-width: 105px; }
  .hero-actions { gap: 10px; margin-top: 25px; }
  .hero-actions .button { min-height: 45px; padding: 10px 13px; }
  .hero-actions svg { width: 14px; height: 14px; }
  .resource-status { gap: 19px; margin-top: 15px; }
  .resource-status > span { gap: 5px; }
  .background-toggle { left: 12px; }
  .method-steps { grid-template-columns: 1fr; gap: 26px; }
  .method-steps article { position: relative; padding-left: 40px; }
  .method-letter { position: absolute; left: 0; top: 0; }
  .method-steps h3 { font-size: 18px; }
  .chart-bars { height: 170px; gap: 10px; }
  .chart-column { flex-basis: 35px; }
  .mean-comparison { gap: 23px; }
  .mean-comparison strong { font-size: 57px; }
  .mean-comparison > div > span { max-width: 150px; font-size: 14px; }
  .citation-section .section-heading { gap: 10px; }
  .citation-section .text-button { font-size: 14px; }
}

/* Keep the title-card composition usable on shorter laptop displays. */
@media (min-width: 901px) and (max-height: 800px) {
  .cinema-hero { min-height: 0; }
  .hero-content { padding-block: 96px 90px; }
  .hero-wordmark { width: 590px; margin-bottom: 22px; }
  .cinema-hero h1 { font-size: 26px; }
  .authors { margin-top: 24px; font-size: 17px; row-gap: 5px; }
  .author-notes { margin-top: 14px; }
  .affiliations { margin-top: 12px; line-height: 1.5; }
  .hero-institutions { margin-top: 22px; }
  .hero-actions { margin-top: 24px; }
  .resource-status { margin-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js-reveal:not(.is-visible) { opacity: 1; transform: none; }
  .button:hover { transform: none; }
}
