@charset "UTF-8";

@font-face {
  font-family: "Inter";
  src: url("../fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root   {
  --ink: #202c40;
  --muted: #657084;
  --blue: #315ec5;
  --line: #e1e6ee;
  --paper: #fff;
  --wash: #f7f9fc;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Shared type scale and layout. */
*   { box-sizing: border-box; }
html   { scroll-behavior: smooth; scroll-padding-top: 96px; }
body   { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.75 var(--sans); -webkit-font-smoothing: antialiased; }
button, input, select   { font: inherit; }
button, a   { -webkit-tap-highlight-color: transparent; }
button   { color: inherit; cursor: pointer; }
a   { color: inherit; text-decoration: none; }
a, button   { transition: color .18s, background .18s, border-color .18s; }
img   { display: block; max-width: 100%; height: auto; }
video   { display: block; max-width: 100%; }
button:focus-visible, a:focus-visible, summary:focus-visible, select:focus-visible, video:focus-visible, [tabindex]:focus-visible   { outline: 3px solid #9bb5f5; outline-offset: 4px; }
::selection   { background: #e1eaff; }
h1, h2, h3, h4, p, figure   { margin: 0; }
h1, h2, h3, h4   { text-wrap: balance; }
h2   { font-size: clamp(28px, 2.8vw, 36px); font-weight: 600; line-height: 1.3; letter-spacing: -.035em; }
h2 em   { font: inherit; }
h3   { font-size: 21px; font-weight: 600; line-height: 1.4; letter-spacing: -.025em; }
h4   { font-size: 17px; font-weight: 550; line-height: 1.55; letter-spacing: -.015em; }
p   { color: var(--muted); }
strong   { font-weight: 600; }
p strong   { color: var(--ink); }
[hidden]   { display: none !important; }
.container   { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.section   { padding-block: 88px; }
.eyebrow   { display: block; margin-bottom: 15px; color: var(--blue); font-size: 11px; font-weight: 600; line-height: 1.5; letter-spacing: .12em; }
.small-dot   { display: inline-block; width: 5px; height: 5px; margin-right: 8px; vertical-align: middle; border-radius: 50%; background: var(--blue); }
.section-heading   { max-width: 760px; margin: 0 auto 42px; text-align: center; }
.section-heading > p   { max-width: 650px; margin: 17px auto 0; font-size: 16px; line-height: 1.75; }
.skip-link   { position: fixed; z-index: 100; top: -70px; left: 20px; padding: 12px 20px; border-radius: 6px; background: var(--blue); color: white; }
.skip-link:focus   { top: 12px; }

/* Navigation and paper header. */
.site-header   { position: sticky; top: 0; z-index: 20; height: 72px; border-bottom: 1px solid #edf0f5; background: #ffffffed; backdrop-filter: blur(16px); }
.nav-wrap   { width: min(1280px, calc(100% - 64px)); height: 100%; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.wordmark   { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 650; letter-spacing: -.025em; }
.site-header nav   { display: flex; gap: 30px; color: var(--muted); font-size: 13px; font-weight: 450; }
.site-header nav a:hover, .site-header nav a[aria-current="location"]   { color: var(--blue); }
.nav-code   { padding: 5px 13px; border: 1px solid var(--line); border-radius: 6px; font-size: 12px; font-weight: 500; }
.nav-code span   { margin-left: 10px; }
.hero   { padding-top: 58px; text-align: center; }
.hero .eyebrow   { font-size: 11px; margin-bottom: 18px; }
.project-name   { display: block; margin-bottom: 21px; color: var(--blue); font-size: clamp(56px, 6vw, 76px); font-weight: 650; line-height: 1.12; letter-spacing: -.055em; }
.project-subtitle   { display: block; max-width: 1000px; margin: auto; font-size: clamp(25px, 3vw, 37px); font-weight: 550; line-height: 1.35; letter-spacing: -.035em; }
.authors   { margin-top: 20px; font-size: 14px; }
.resource-links   { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 24px 0 40px; }
.button   { display: inline-flex; gap: 9px; align-items: center; justify-content: center; padding: 10px 17px; border: 1px solid var(--line); border-radius: 7px; background: white; font-size: 13px; font-weight: 500; }
.button:hover   { background: #f1f5fc; border-color: #c9d4e8; }
.button.primary   { background: var(--ink); color: white; border-color: var(--ink); }
.button.primary:hover   { background: #33425a; }
.text-button   { color: var(--blue); border-color: transparent; }

/* Key results and paper figures. */
.metrics   { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 8px; padding: 38px 0; border-bottom: 1px solid var(--line); }
.metrics > div   { display: flex; flex-direction: column; align-items: center; border-right: 1px solid var(--line); }
.metrics > div:last-child   { border: 0; }
.metric-label   { margin-bottom: 10px; color: var(--muted); font-size: 10px; font-weight: 550; letter-spacing: .06em; }
.metrics strong   { font-size: 40px; font-weight: 550; line-height: 1.2; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.metrics strong span   { padding-left: 2px; color: #7d8ca3; font-size: 23px; font-weight: 400; letter-spacing: -.02em; }
.metrics small   { margin-top: 9px; color: var(--muted); font-size: 12px; }
.inline-link   { display: inline-flex; gap: 12px; color: var(--blue); font-size: 13px; font-weight: 500; }
.method-section   { background: var(--wash); border-block: 1px solid #edf0f5; }
.architecture-figure   { padding: 28px 30px 20px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.figure-zoom   { position: relative; display: block; width: 100%; padding: 0; border: 0; background: white; text-align: left; cursor: zoom-in; }
.architecture-figure img   { width: 100%; }
.zoom-hint   { position: absolute; right: 0; bottom: 0; padding: 5px 9px; border: 1px solid var(--line); border-radius: 5px; background: #fffffff0; color: var(--blue); font-size: 11px; }
.architecture-figure figcaption   { margin-top: 20px; padding-top: 16px; border-top: 1px solid #edf0f5; color: var(--muted); font-size: 12px; line-height: 1.8; }
.architecture-figure figcaption strong   { color: var(--ink); }
.technical-details   { margin-top: 24px; border-bottom: 1px solid var(--line); }
.technical-details summary   { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; font-size: 14px; font-weight: 500; list-style: none; cursor: pointer; }
.technical-details summary::-webkit-details-marker   { display: none; }
.technical-details summary span   { color: var(--blue); font-size: 19px; font-weight: 400; }
.technical-details[open] summary span   { transform: rotate(45deg); }

/* Benchmark tables: consistent body text and numeric columns. */
.tabs   { display: flex; justify-content: center; gap: 34px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.tabs button   { margin-bottom: -1px; padding: 12px 5px 15px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--muted); font-size: 14px; font-weight: 450; }
.tabs button[aria-selected="true"]   { border-color: var(--blue); color: var(--blue); font-weight: 550; }
.result-overview   { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; margin: 32px 0; }
.result-copy h3   { margin-bottom: 14px; font-size: 22px; font-weight: 550; }
.result-copy p   { font-size: 14px; line-height: 1.8; }
.result-highlight   { display: flex; align-items: baseline; gap: 14px; margin-top: 21px; }
.result-highlight strong   { color: var(--blue); font-size: 36px; font-weight: 550; line-height: 1.2; letter-spacing: -.04em; }
.result-highlight span   { color: var(--muted); font-size: 12px; }
.chart-title   { margin-bottom: 15px; color: var(--muted); font-size: 12px; font-weight: 500; }
.bar-row   { display: grid; grid-template-columns: 115px 1fr 42px; align-items: center; gap: 10px; margin-bottom: 12px; color: var(--muted); font-size: 12px; }
.bar-track   { height: 20px; border-radius: 3px; background: #f1f4f8; overflow: hidden; }
.bar-fill   { height: 100%; border-radius: 3px; background: #b6c5e1; }
.bar-row.ours .bar-fill   { background: var(--blue); }
.bar-row.ours   { color: var(--blue); font-weight: 550; }
.bar-number   { text-align: right; font-variant-numeric: tabular-nums; }
.chart-axis   { display: flex; justify-content: space-between; margin-left: 125px; margin-right: 52px; padding-top: 3px; border-top: 1px solid var(--line); color: #8792a3; font-size: 10px; }
.table-scroll   { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; border: 1px solid var(--line); border-radius: 8px; }
table   { width: 100%; border-collapse: collapse; text-align: right; white-space: nowrap; font-size: 13px; font-variant-numeric: tabular-nums; }
caption   { padding: 14px 18px; border-bottom: 1px solid var(--line); background: #fafbfd; color: var(--muted); text-align: left; font-size: 12px; }
th, td   { padding: 13px 16px; border-bottom: 1px solid #edf0f5; }
thead th   { background: #fafbfd; color: var(--muted); font-size: 11px; font-weight: 500; }
th:first-child   { text-align: left; }
tbody th   { font-weight: 450; }
tbody tr:last-child > *   { border-bottom: 0; }
.ours th, .ours td   { background: #eef3ff; color: #2e55b1; font-weight: 600; }
td:last-child   { font-weight: 550; }
.source-note   { margin-top: 16px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.source-note a   { text-decoration: underline; text-underline-offset: 3px; }
.ablation-content   { display: grid; grid-template-columns: 1.1fr 1fr; align-items: start; gap: 40px; padding: 15px 0 30px; }
.ablation-content p   { margin-top: 13px; font-size: 14px; line-height: 1.8; }
.ablation-content .figure-zoom   { margin-top: 20px; }

/* Shared video cards and the three real-world tasks. */
.real-section   { border-block: 1px solid #edf0f5; background: var(--wash); }
.real-grid   { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.demo-card   { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: white; }
.video-frame   { position: relative; aspect-ratio: 4/3; background: #18212b; }
.video-frame video   { width: 100%; height: 100%; object-fit: contain; }
.video-speed   { position: absolute; top: 12px; right: 12px; padding: 3px 8px; border: 1px solid #ffffff25; border-radius: 4px; background: #142237b8; color: white; font-size: 10px; pointer-events: none; }
.demo-info   { padding: 21px 22px 23px; }
.demo-category   { display: block; margin-bottom: 10px; color: var(--blue); font-size: 10px; font-weight: 550; letter-spacing: .07em; }
.demo-info h3   { font-size: 17px; font-weight: 550; line-height: 1.5; }
.demo-info p   { margin-top: 9px; font-size: 12px; line-height: 1.7; }
.original-link   { display: inline-block; margin-top: 13px; color: var(--muted); font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
.media-note   { margin-top: 24px; color: var(--muted); font-size: 12px; line-height: 1.8; }

/* Independent benchmark galleries and compact-screen navigation. */
.benchmark-galleries   { margin-top: 48px; }
.benchmark-gallery   { min-width: 0; padding: 35px 0 38px; border-top: 1px solid var(--line); }
.benchmark-gallery:last-child   { padding-bottom: 0; }
.benchmark-heading   { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 24px; }
.benchmark-heading > div:first-child   { min-width: 0; }
.benchmark-heading p   { margin-top: 9px; max-width: 690px; font-size: 14px; line-height: 1.75; }
.carousel-controls   { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.carousel-counter   { min-width: 92px; margin-right: 9px; color: var(--muted); text-align: right; font-size: 12px; font-variant-numeric: tabular-nums; }
.carousel-controls button   { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0 0 2px; border: 1px solid #d5ddeb; border-radius: 50%; background: white; color: #36588c; font-size: 20px; line-height: 1; }
.carousel-controls button:hover:not(:disabled)   { border-color: #bdcfea; background: #eef3fc; }
.carousel-controls button:disabled   { opacity: .33; cursor: default; }
.site-footer   { display: flex; align-items: center; gap: 24px; padding-block: 32px; }
.footer-arrow   { color: var(--blue); font-weight: 400; }
.site-footer p   { font-size: 11px; }
.site-footer .credits   { margin-left: auto; font-size: 10px; }
.credits a   { text-decoration: underline; text-underline-offset: 3px; }
dialog   { position: fixed; width: min(1300px, 94vw); max-height: 90vh; padding: 50px 25px 20px; border: 0; border-radius: 12px; box-shadow: 0 20px 100px #0003; overflow: auto; }
dialog::backdrop   { background: #142237c9; backdrop-filter: blur(5px); }
dialog img   { width: 100%; }
dialog p   { margin-top: 15px; text-align: center; font-size: 13px; }
.dialog-close   { position: absolute; top: 6px; right: 15px; padding: 7px; border: 0; background: none; color: var(--muted); font-size: 30px; line-height: 1; }

@media (max-width: 1000px) {
  .container   { width: calc(100% - 48px); }
  .section   { padding-block: 72px; }
  .project-subtitle   { font-size: 32px; }
  .result-overview   { gap: 32px; }
  .real-grid   { gap: 16px; }
  .demo-info   { padding: 17px; }
  .demo-info h3   { font-size: 16px; }
  .benchmark-heading   { gap: 20px; }
  .benchmark-heading p   { max-width: 520px; font-size: 13px; }
  .carousel-counter   { min-width: 82px; margin-right: 3px; }
  .site-footer > p:not(.credits)   { display: none; }
}

@media (max-width: 720px) {
  html   { scroll-padding-top: 82px; }
  .container   { width: calc(100% - 36px); }
  .section   { padding-block: 56px; }
  .section-heading   { margin-bottom: 30px; }
  .section-heading > p   { margin-top: 15px; font-size: 14px; }
  h2   { font-size: 28px; line-height: 1.35; }
  .eyebrow   { font-size: 10px; }
  .site-header   { height: 64px; }
  .nav-wrap   { width: calc(100% - 32px); gap: 12px; }
  .wordmark   { font-size: 14px; }
  .nav-code   { display: none; }
  .site-header nav   { gap: 16px; font-size: 11px; }
  .hero   { padding-top: 38px; }
  .hero .eyebrow   { font-size: 10px; }
  .project-name   { font-size: 58px; margin-bottom: 19px; }
  .project-subtitle   { font-size: 26px; line-height: 1.4; font-weight: 550; }
  .desktop-break   { display: none; }
  .authors   { margin-top: 18px; font-size: 13px; }
  .resource-links   { gap: 8px; margin: 22px 0 30px; }
  .button   { padding: 9px 12px; font-size: 12px; gap: 7px; }
  .text-button   { display: none; }
  .metrics   { grid-template-columns: repeat(2, 1fr); gap: 28px 0; padding: 30px 0; }
  .metrics > div:nth-child(2)   { border: 0; }
  .metric-label   { font-size: 9px; margin-bottom: 8px; }
  .metrics strong   { font-size: 34px; }
  .metrics strong span   { font-size: 20px; }
  .metrics small   { font-size: 11px; }
  .architecture-figure   { padding: 15px 13px; }
  .architecture-figure figcaption   { font-size: 11px; margin-top: 15px; padding-top: 13px; }
  .zoom-hint   { font-size: 9px; padding: 4px 6px; }
  .technical-details summary   { font-size: 13px; }
  .tabs   { gap: 23px; margin-bottom: 22px; }
  .tabs button   { padding: 10px 0 13px; font-size: 12px; }
  .result-overview   { grid-template-columns: 1fr; gap: 27px; margin: 26px 0; }
  .result-copy h3   { font-size: 21px; }
  .result-highlight   { gap: 12px; }
  .result-highlight strong   { font-size: 32px; }
  .result-highlight span   { font-size: 11px; }
  .bar-row   { grid-template-columns: 107px 1fr 38px; gap: 8px; font-size: 11px; }
  .chart-axis   { margin-left: 115px; margin-right: 46px; }
  table   { font-size: 12px; }
  caption   { font-size: 11px; }
  th, td   { padding: 11px 13px; }
  .source-note   { font-size: 11px; }
  .ablation-content   { grid-template-columns: 1fr; gap: 25px; }
  .real-grid   { grid-template-columns: 1fr; gap: 24px; }
  .real-card .video-frame   { max-height: 430px; }
  .demo-info   { padding: 20px; }
  .demo-info h3   { font-size: 18px; }
  .media-note   { margin-top: 20px; font-size: 11px; }
  .benchmark-galleries   { margin-top: 34px; }
  .benchmark-gallery   { padding: 28px 0 30px; }
  .benchmark-heading   { display: block; margin-bottom: 17px; }
  .benchmark-heading p   { max-width: none; font-size: 13px; }
  .carousel-controls   { justify-content: flex-end; margin-top: 17px; gap: 9px; }
  .carousel-counter   { margin-right: auto; text-align: left; font-size: 12px; }
  .carousel-controls button   { width: 38px; height: 38px; }
  .site-footer   { flex-wrap: wrap; padding-block: 26px; gap: 14px; }
  .site-footer .credits   { font-size: 9px; }
  dialog   { width: 96vw; padding: 45px 12px 15px; }
  dialog p   { font-size: 12px; }
}

@media (max-width: 390px) {
  .site-header nav   { gap: 12px; font-size: 10px; }
  .project-name   { font-size: 54px; }
  .project-subtitle   { font-size: 24px; }
  .button   { padding: 8px 10px; font-size: 11px; }
  .tabs   { gap: 19px; }
  .result-highlight   { flex-wrap: wrap; gap: 5px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html   { scroll-behavior: auto; }
  *, *::before, *::after   { transition: none !important; animation: none !important; }
}

/* Paper-aligned long-form content and original scientific figures. */
.brand-logo   { display: flex; align-items: center; justify-content: center; width: 46px; height: 32px; flex-shrink: 0; overflow: hidden; }
.brand-logo img   { width: 46px; height: 46px; max-width: none; flex-shrink: 0; }

.result-copy p,
.ablation-content p, .recording-content p, .architecture-figure figcaption,
.paper-figure figcaption, .analysis-figure figcaption, #figure-caption,
.section-heading .section-intro, .source-note, .media-note   {
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
  -webkit-hyphens: auto;
  hyphenate-limit-chars: 8 4 4;
}
.paper-figure   { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.paper-figure img   { width: 100%; }
.paper-figure figcaption, .analysis-figure figcaption   { margin-top: 17px; padding-top: 14px; border-top: 1px solid #edf0f5; color: var(--muted); font-size: 12px; line-height: 1.8; }
.paper-figure figcaption strong, .analysis-figure figcaption strong   { color: var(--ink); }
.module-feature   { grid-template-columns: 1.12fr 1fr; margin: 40px 0 46px; }
.recording-content   { padding: 4px 0 24px; }
.recording-content > p   { max-width: 850px; font-size: 13px; line-height: 1.85; }
.recording-links   { display: flex; flex-wrap: wrap; gap: 12px 25px; margin-top: 17px; }
.recording-links a   { color: var(--blue); font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 1000px) {
  .paper-figure   { padding: 15px; }
}

@media (max-width: 720px) {
  .wordmark   { gap: 7px; }
  .brand-logo   { width: 32px; height: 27px; }
  .brand-logo img   { width: 36px; height: 36px; }
  .site-header nav   { gap: 13px; }
  .paper-figure figcaption, .analysis-figure figcaption   { font-size: 11px; }
  .module-feature   { margin-top: 28px; }
  .recording-links   { flex-direction: column; gap: 13px; }
}

@media (max-width: 360px) {
  .brand-logo   { width: 28px; }
  .site-header nav   { gap: 10px; }
  .wordmark   { font-size: 13px; }
}

/* Concise research-page hierarchy and complete desktop video rows. */
.hero  { padding-top: 46px; }
.project-name  { font-size: clamp(54px, 5.6vw, 72px); margin-bottom: 17px; }
.project-subtitle  { font-size: clamp(25px, 2.65vw, 35px); }
.authors  { margin-top: 20px; }
.resource-links  { margin: 22px 0 30px; }
.metrics  { margin-top: 4px; padding: 28px 0 31px; }
.metrics strong  { font-weight: 600; }
.metrics > div:not(:last-child) > strong  { color: var(--blue); }
.section  { padding-block: 68px; }
.section-heading  { margin-bottom: 30px; }
h2  { font-size: clamp(28px, 2.65vw, 34px); }
.section-heading .method-intro  { max-width: 760px; margin-top: 20px; font-size: 15px; text-align: justify; text-align-last: left; hyphens: auto; }
.key-term  { color: var(--blue); font-weight: 600; }
.method-details-grid  { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 26px; margin-top: 27px; }
.method-components  { display: grid; gap: 21px; }
.paper-figure  { padding: 18px; }
.architecture-figure  { padding: 23px 26px 18px; }
.architecture-figure figcaption  { margin-top: 16px; padding-top: 13px; }
.alignment-summary  { display: grid; gap: 17px; padding: 0 4px; }
.alignment-summary h3  { margin-bottom: 7px; color: var(--blue); font-size: 16px; font-weight: 600; line-height: 1.5; letter-spacing: -.02em; }
.alignment-summary p  { font-size: 14px; line-height: 1.8; text-align: justify; text-align-last: left; hyphens: auto; }
.method-footnote  { margin-top: 24px; color: var(--muted); font-size: 12px; text-align: center; line-height: 1.85; }
.method-footnote a  { margin-left: 5px; color: var(--blue); }
.implementation-details  { margin-top: 12px; }
.implementation-content  { max-width: 820px; padding: 0 0 22px; }
.implementation-content p  { margin-bottom: 12px; font-size: 14px; text-align: justify; hyphens: auto; }
.simulation-section  { width: min(1280px, calc(100% - 64px)); }
.benchmark-galleries  { margin-top: 32px; }
.benchmark-gallery  { padding: 25px 0 29px; }
.benchmark-heading  { margin-bottom: 18px; gap: 24px; }
.benchmark-heading > div:first-child  { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px 20px; }
.benchmark-heading h3  { font-size: 21px; font-weight: 600; line-height: 1.4; }
.benchmark-heading p  { margin: 0; max-width: none; font-size: 12px; }
.demo-row  { display: grid; grid-template-columns: repeat(var(--columns), minmax(0, 1fr)); align-items: stretch; gap: 16px; min-width: 0; width: 100%; }
.demo-row .demo-card  { border-radius: 8px; }
.demo-row .video-frame  { aspect-ratio: 1; }
.demo-row .demo-info  { min-height: 88px; padding: 13px 14px 15px; }
.demo-row .demo-category  { margin-bottom: 6px; font-size: 10px; letter-spacing: .055em; }
.demo-row h4  { font-size: 14px; font-weight: 500; line-height: 1.55; letter-spacing: -.015em; text-wrap: pretty; }
.video-expand  { position: absolute; top: 9px; right: 9px; display: flex; align-items: center; justify-content: center; width: 29px; height: 29px; padding: 0; border: 1px solid #ffffff70; border-radius: 5px; background: #142134b8; color: white; }
.video-expand:hover  { background: #23447dde; }
.media-note  { margin-top: 16px; font-size: 11px; }
.real-grid .demo-info  { padding: 17px 20px 19px; }
.recording-details  { margin-top: 18px; }
.recording-content > p  { max-width: 750px; }
.recording-content p  { font-size: 13px; }
.result-overview  { margin-top: 25px; gap: 45px; }
.result-copy h3  { font-size: 21px; }
.result-copy p  { font-size: 14px; }
.ablation-content h3  { font-size: 19px; }
.footer-resources  { display: flex; gap: 22px; margin-left: auto; font-size: 12px; color: var(--muted); }
.site-footer .credits  { margin-left: 18px; }
#video-dialog  { width: min(960px, 94vw); padding: 30px; }
#video-dialog-benchmark  { margin: 0 30px 7px 0; text-align: left; font-size: 11px; letter-spacing: .06em; color: var(--blue); }
#video-dialog-title  { max-width: 800px; margin: 0 30px 18px 0; font-size: 20px; font-weight: 550; line-height: 1.5; text-wrap: pretty; }
#expanded-video  { width: 100%; max-height: 67vh; background: #16202c; border-radius: 6px; }

@media (max-width: 1023px) {
  .simulation-section  { width: calc(100% - 48px); }
  .demo-row  { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 18px) / 2); gap: 18px; padding-bottom: 10px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #cbd6e9 #f1f4f9; }
  .demo-row > .demo-card  { scroll-snap-align: start; }
  .demo-row .video-frame  { aspect-ratio: 4/3; }
  .demo-row h4  { font-size: 16px; }
  .demo-row .demo-info  { min-height: 88px; padding: 16px 18px; }
  .benchmark-heading > div:first-child  { display: block; }
  .benchmark-heading p  { margin-top: 7px; }
  .method-details-grid  { gap: 20px; }
}

@media (max-width: 720px) {
  .hero  { padding-top: 34px; }
  .project-name  { font-size: 56px; }
  .project-subtitle  { font-size: 25px; }
  .section  { padding-block: 49px; }
  .section-heading  { margin-bottom: 26px; }
  .section-heading .method-intro  { font-size: 14px; margin-top: 17px; }
  .method-details-grid  { grid-template-columns: 1fr; gap: 23px; margin-top: 22px; }
  .method-components  { gap: 23px; }
  .alignment-summary  { padding: 0; gap: 19px; }
  .alignment-summary h3  { font-size: 16px; }
  .alignment-summary p  { font-size: 14px; }
  .architecture-figure  { padding: 15px 13px; }
  .paper-figure  { padding: 15px; }
  .method-footnote  { text-align: left; margin-top: 22px; font-size: 11px; }
  .simulation-section  { width: calc(100% - 36px); }
  .benchmark-galleries  { margin-top: 27px; }
  .benchmark-gallery  { padding: 23px 0 26px; }
  .benchmark-heading  { margin-bottom: 16px; }
  .benchmark-heading h3  { font-size: 22px; }
  .benchmark-heading p  { font-size: 12px; }
  .demo-row  { grid-auto-columns: 100%; gap: 16px; }
  .demo-row .video-frame  { aspect-ratio: 4/3; }
  .demo-row .demo-info  { min-height: 85px; padding: 16px 19px; }
  .video-expand  { width: 33px; height: 33px; }
  .metrics  { padding-block: 27px; }
  .real-grid .demo-info  { padding: 18px 20px; }
  .recording-details summary  { font-size: 12px; }
  .site-footer  { gap: 15px; }
  .site-footer .credits  { margin: 0; width: 100%; }
  .footer-resources  { gap: 18px; font-size: 11px; }
  #video-dialog  { width: 96vw; padding: 36px 13px 15px; }
  #video-dialog-title  { margin-right: 0; font-size: 16px; }
  #video-dialog-benchmark  { font-size: 10px; }
}

@media (max-width: 390px) {
  .project-name  { font-size: 52px; }
  .project-subtitle  { font-size: 23px; }
}

.hero-architecture { margin-top: 8px; text-align: left; }
.hero-architecture figcaption { font-size: 12px; font-weight: 400; }
.hero .metrics { margin-top: 15px; }
.method-details-grid { margin-top: 0; }
