:root {
  --ink: #242831; --paper: #f7f8fa; --white: #fff; --muted: #626b77;
  --line: #dfe3e8; --violet: #465d88; --violet-pale: #edf1f8;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --gutter: max(24px, calc((100% - 1120px) / 2));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font: 15px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
section[id] { scroll-margin-top: 84px; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
::selection { background: #dce5f4; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 4px; }
.skip-link { position: fixed; top: 0; left: 16px; z-index: 99; padding: 10px 16px; background: var(--ink); color: white; transform: translateY(-110%); }
.skip-link:focus { transform: none; }
.site-nav { position: fixed; inset: 0 0 auto; z-index: 50; height: 62px; padding: 0 var(--gutter); display: flex; align-items: center; gap: 24px; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.mark { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: var(--violet); color: white; font: italic 17px var(--serif); }
.nav-links { display: flex; gap: 24px; margin-left: auto; white-space: nowrap; }
.nav-links a { color: var(--muted); font-size: 13px; }
.nav-links a:hover { color: var(--violet); }
.button { min-height: 40px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; background: white; font-size: 13px; font-weight: 600; }
.button:hover { border-color: var(--violet); background: var(--violet-pale); }
.button:disabled { color: var(--muted); background: var(--paper); border-color: var(--line); cursor: default; }
.button-dark { background: var(--violet); border-color: var(--violet); color: white; }
.button-dark:hover { background: #354a70; color: white; }
.button-small { min-height: 34px; padding: 5px 12px; gap: 12px; }
h1, h2, h3, p { overflow-wrap: break-word; }
h2 { margin: 0; font: 600 30px/1.25 var(--sans); letter-spacing: -.025em; }
h3 { margin: 0; font: 600 18px/1.4 var(--sans); letter-spacing: -.01em; }
.hero { padding: 116px 24px 48px; text-align: center; }
.hero-inner { max-width: 900px; margin: auto; }
.hero h1 { margin: 0; font: 600 clamp(40px, 4.6vw, 58px)/1.15 var(--serif); letter-spacing: -.035em; color: var(--ink); }
.hero-subtitle { max-width: 830px; margin: 18px auto 0; font: 400 clamp(21px, 2.3vw, 28px)/1.4 var(--serif); }
.author-block { max-width: 800px; margin: 26px auto 0; }
.authors { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 0; padding: 0; list-style: none; color: var(--ink); font-size: 16px; line-height: 1.8; }
.authors li, .affiliations li { white-space: nowrap; }
.author-block sup { position: relative; top: -.4em; margin-left: 3px; color: var(--violet); font-size: .65em; line-height: 0; vertical-align: baseline; }
.affiliations { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px 22px; margin: 15px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.corresponding-authors { margin: 10px 0 0; color: var(--muted); font-size: 12px; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.overview-video { padding: 0 var(--gutter) 44px; }
.overview-video-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 14px; }
.overview-video-heading h2 { font-size: 21px; }
.overview-video-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.overview-video-player { margin: 0; }
.overview-video-player video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: white; border: 1px solid var(--line); border-radius: 4px; }
.overview-video-player figcaption { max-width: 860px; margin: 12px auto 0; text-align: center; }
.metrics-band { display: grid; grid-template-columns: 1.2fr repeat(4, 1fr); padding: 0 var(--gutter); background: var(--paper); border-block: 1px solid var(--line); }
.metrics-band > * { min-height: 96px; padding: 16px 22px; border-right: 1px solid var(--line); display: flex; flex-wrap: wrap; align-content: center; align-items: baseline; }
.metrics-band > *:last-child { border-right: 0; }
.metrics-label { flex-direction: column; justify-content: center; }
.metrics-label span, .metric-task, .metric-unit { color: var(--muted); font-size: 12px; }
.metrics-label strong { font-weight: 600; font-size: 16px; }
.metric-task { flex-basis: 100%; }
.metrics-band article { column-gap: 6px; }
.metrics-band article strong { font: 500 32px/1.35 var(--serif); }
.section-pad { padding: 56px var(--gutter); border-bottom: 1px solid var(--line); }
.section-kicker { margin-bottom: 8px; color: var(--violet); font-size: 11px; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; }
.section-heading, .tools-header { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 32px; margin-bottom: 28px; }
.section-intro, .tools-header > p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.paper-summary > h2 { text-align: center; }
.summary-grid { max-width: 860px; margin: 22px auto 32px; }
.abstract { font: 17px/1.75 var(--serif); color: #363d46; }
.abstract p { margin: 0 0 14px; }
.wide-figure, .method-figure { margin: 0; padding: 18px; background: white; border: 1px solid var(--line); border-radius: 4px; }
.wide-figure img, .method-figure img { width: 100%; }
.method-figure > a { display: block; cursor: zoom-in; }
figcaption { margin-top: 14px; color: var(--muted); font-size: 12px; line-height: 1.6; }
figcaption span { margin-right: 8px; color: var(--ink); font-weight: 600; }
figcaption a { color: var(--violet); text-decoration: underline; text-underline-offset: 3px; }
.method { background: var(--paper); }
.method-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.pillar { padding-top: 14px; border-top: 2px solid var(--line); }
.pillar-num { display: block; margin-bottom: 8px; color: var(--violet); font-size: 11px; }
.pillar h3 { font-size: 17px; margin-bottom: 10px; }
.pillar p { margin: 0; color: var(--muted); font-size: 14px; }
.tools { background: white; }
.tool-list { border-top: 1px solid var(--line); }
.tool-row { display: grid; grid-template-columns: 32px 1.05fr .7fr 1.5fr; gap: 16px; align-items: center; min-height: 49px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.tool-row > span { color: #7b8490; font-size: 11px; }
.tool-row strong { font: 500 13px ui-monospace, SFMono-Regular, Menlo, monospace; }
.tool-row em { color: var(--violet); font-size: 12px; font-style: normal; }
.tool-row p { margin: 0; color: var(--muted); font-size: 13px; }
.results { background: var(--paper); }
.benchmark-switch { display: flex; justify-self: end; padding: 3px; border: 1px solid var(--line); border-radius: 4px; background: white; }
.benchmark-switch button { min-height: 36px; padding: 7px 12px; border: 0; border-radius: 2px; background: transparent; color: var(--muted); font-size: 12px; }
.benchmark-switch button.active { background: var(--violet); color: white; }
.result-panel { display: grid; grid-template-columns: 175px minmax(0, 1fr); background: white; border: 1px solid var(--line); }
.result-panel[hidden] { display: none; }
.result-callout { padding: 24px; display: flex; flex-direction: column; justify-content: center; background: var(--violet-pale); }
.result-callout > span { font-size: 11px; color: var(--violet); }
.result-callout strong { margin: 10px 0 4px; font: 500 46px/1.2 var(--serif); }
.result-callout strong span { font-size: 18px; }
.result-callout p { margin: 0; color: var(--muted); font-size: 12px; }
.table-wrap { min-width: 0; overflow-x: auto; }
table { width: 100%; min-width: 660px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
th, td { padding: 11px 13px; text-align: right; border-bottom: 1px solid var(--line); font-size: 12px; }
th:first-child, td:first-child { text-align: left; }
thead th { background: #f6f7f9; font-weight: 600; }
thead tr:nth-child(2) th { font-size: 11px; color: var(--muted); }
tbody .ours { background: var(--violet-pale); }
tbody .ours td:first-child span { font-weight: 650; }
tbody .ours small { display: inline-block; margin-left: 5px; color: var(--violet); font-size: 10px; }
.table-note { margin: 10px 13px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.ablation { margin-top: 28px; padding: 28px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; background: white; border: 1px solid var(--line); }
.ablation h3 { margin: 0 0 10px; font-size: 20px; }
.ablation p { margin: 0; color: var(--muted); font-size: 14px; }
.bar-row { display: grid; grid-template-columns: 125px 1fr 36px; gap: 12px; align-items: center; margin: 12px 0; }
.bar-row span { font-size: 11px; color: var(--muted); }
.bar-row strong { font-size: 12px; }
.bar-row > div { height: 9px; background: #edf0f4; }
.bar-row i { display: block; width: var(--value); height: 100%; background: #9aabc4; }
.bar-row.accent i { background: var(--violet); }
.ablation-chart > small { display: block; margin-top: 18px; color: var(--muted); font-size: 10px; }
.simulation { background: white; }
.simulation-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 14px; }
.simulation-toolbar p { margin: 0; color: var(--muted); font-size: 12px; }
.carousel-controls { display: flex; gap: 8px; }
.carousel-controls button { width: 38px; height: 36px; border: 1px solid var(--line); border-radius: 4px; background: white; font-size: 18px; }
.carousel-controls button:hover:not(:disabled) { background: var(--violet-pale); border-color: var(--violet); }
.carousel-controls button:disabled { opacity: .35; cursor: default; }
.simulation-track { position: relative; display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; scrollbar-color: #aab5c7 #edf0f4; scrollbar-width: thin; }
.simulation-card { flex: 0 0 62%; min-width: 0; scroll-snap-align: start; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: white; }
.simulation-card-heading { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; gap: 12px; background: var(--paper); font-size: 12px; }
.simulation-card-heading span:first-child { font-weight: 650; color: var(--violet); }
.simulation-card-heading span:last-child { color: var(--muted); font-size: 11px; }
.simulation-card video { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: contain; background: #111; }
.simulation-card-body { padding: 16px; }
.simulation-card-body h3 { font-size: 16px; }
.simulation-card-body p { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.simulation-card-body .simulation-meta { margin-top: 12px; font-size: 11px; color: #596678; }
.simulation-note { margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.deployment { background: var(--paper); }
.video-stage { background: white; border: 1px solid var(--line); }
.video-stage video { width: 100%; max-height: 640px; display: block; aspect-ratio: 16/9; object-fit: contain; background: #111; }
.video-caption { padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.video-caption > div { display: flex; gap: 14px; align-items: center; }
.video-caption span { color: var(--violet); font-size: 11px; white-space: nowrap; }
.video-caption strong { font-size: 13px; }
.video-caption p { margin: 0; max-width: 540px; color: var(--muted); font-size: 12px; }
.video-selector { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.video-item { min-width: 0; padding: 14px; border: 1px solid var(--line); border-radius: 4px; background: white; text-align: left; }
.video-item.active { background: var(--violet-pale); border-color: #aab9d0; }
.video-item > span { display: grid; grid-template-columns: 22px 1fr; gap: 4px 8px; }
.video-item small { grid-row: 1/3; color: var(--violet); font-size: 11px; }
.video-item strong { font-size: 12px; }
.video-item em { color: var(--muted); font-size: 11px; font-style: normal; }
.citation { background: white; }
.citation-grid { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 32px; }
.citation pre { margin: 0 0 14px; padding: 20px; background: var(--paper); border: 1px solid var(--line); overflow-x: auto; white-space: pre-wrap; overflow-wrap: anywhere; font: 12px/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px var(--gutter); background: var(--paper); }
footer p, footer > a:last-child { color: var(--muted); font-size: 11px; }
.toast { position: fixed; z-index: 100; bottom: 24px; left: 50%; padding: 10px 18px; border-radius: 4px; background: var(--ink); color: white; font-size: 12px; opacity: 0; transform: translate(-50%,100px); transition: .2s; }
.toast.show { opacity: 1; transform: translate(-50%,0); }
@media (max-width: 950px) {
  .site-nav { gap: 18px; }.nav-links { gap: 16px; }
  .section-heading, .tools-header { grid-template-columns: 1fr; gap: 14px; }
  .results-heading { grid-template-columns: 1fr auto; align-items: center; }
  .result-panel { grid-template-columns: 1fr; }
  .result-callout { padding: 14px 20px; flex-direction: row; align-items: baseline; gap: 16px; }
  .result-callout strong { font-size: 32px; margin: 0; }
  .ablation { gap: 24px; }
  .video-caption { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (max-width: 700px) {
  :root { --gutter: 20px; }
  .site-nav { height: 58px; justify-content: space-between; }.nav-links { display: none; }
  section[id] { scroll-margin-top: 74px; }
  .hero { padding: 94px 20px 34px; }.hero h1 { font-size: 42px; }.hero-subtitle { font-size: 22px; }.hero-break { display: none; }
  .author-block { margin-top: 22px; }
  .authors { gap: 6px 16px; font-size: 14px; }
  .affiliations { gap: 4px 16px; font-size: 12px; }
  .corresponding-authors { font-size: 11px; }
  .metrics-band { grid-template-columns: repeat(4, minmax(0,1fr)); padding: 0 12px; }
  .metrics-band > * { padding: 12px 6px; min-height: 82px; }
  .metrics-band .metrics-label { grid-column: 1/-1; min-height: 0; flex-direction: row; justify-content: center; gap: 8px; padding: 10px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .metrics-label strong { font-size: 12px; }.metric-task { font-size: 10px; }.metric-unit { font-size: 9px; }.metrics-band article strong { font-size: 26px; }
  .section-pad { padding: 36px var(--gutter); }
  h2 { font-size: 26px; }.section-heading, .tools-header { margin-bottom: 22px; }.section-intro { font-size: 14px; }
  .summary-grid { margin-top: 18px; }.abstract { font-size: 16px; line-height: 1.75; }
  .wide-figure, .method-figure { padding: 10px; }figcaption { font-size: 11px; }
  .method-pillars { grid-template-columns: 1fr; gap: 16px; margin-top: 22px; }
  .pillar-num { float: left; margin: 3px 12px 0 0; }.pillar h3 { font-size: 16px; }
  .tool-row { grid-template-columns: 22px minmax(0,1fr) auto; gap: 8px; }.tool-row p { grid-column: 2/-1; font-size: 12px; }.tool-row strong { font-size: 12px; }.tool-row em { font-size: 10px; }
  .results-heading { grid-template-columns: 1fr; }.benchmark-switch { justify-self: start; max-width: 100%; }.benchmark-switch button { font-size: 11px; }
  .result-callout { flex-wrap: wrap; gap: 8px 14px; }.ablation { padding: 20px; grid-template-columns: 1fr; }.ablation h3 { font-size: 18px; }.bar-row { grid-template-columns: 110px 1fr 34px; gap: 8px; }
  .simulation-toolbar { align-items: flex-start; gap: 12px; }.simulation-toolbar p { max-width: 220px; font-size: 11px; }.simulation-track { gap: 14px; }.simulation-card { flex-basis: 92%; }
  .simulation-card-heading { padding: 9px 12px; }.simulation-card-body { padding: 12px; }.simulation-card-body h3 { font-size: 15px; }.simulation-card-body p { font-size: 12px; }.simulation-card-body .simulation-meta { font-size: 10px; }
  .video-caption { padding: 14px; }.video-selector { grid-template-columns: 1fr; }.video-item { padding: 10px 12px; }
  .citation-grid { grid-template-columns: 1fr; gap: 18px; }.citation pre { padding: 14px; font-size: 11px; }
  footer p { display: none; }footer { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
