:root {
  --plum: #91416d;
  --ink: #29292d;
  --muted: #606068;
  --line: #e8e6eb;
  --soft-plum: #fbf3f8;
  --content-width: 60rem;
}
html { scroll-behavior: smooth; }
body {
  margin: 0; background: #fff; color: var(--ink);
  font-family: 'Noto Sans', sans-serif; font-size: 1rem; line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
a { color: var(--plum); }
a:hover { color: #6d2c50; text-decoration: underline; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--plum); outline-offset: 5px; border-radius: 3px; }
sup { font-size: .65em; margin-left: .12em; }
strong { color: inherit; font-weight: 700; }
.accent { color: var(--plum); }
/* One shared column aligns text, figures, captions, and tables. */
.container.content-container { width: 100%; max-width: var(--content-width); margin-inline: auto; }
.prose { width: 100%; margin-inline: auto; }
.section { padding: 2.5rem 1.5rem; }
.section-title {
  margin: 0 0 1.75rem; color: var(--ink);
  font-family: 'Google Sans', 'Noto Sans', sans-serif; font-size: 2rem;
  font-weight: 700; line-height: 1.25; text-align: center; text-wrap: balance;
}
.prose p + p, .abstract-text p + p { margin-top: 1rem; }
.prose, .abstract-text { font-size: 1.0625rem; line-height: 1.8; }
.skip-link { position: absolute; left: 1rem; top: .5rem; z-index: 5; padding: .5rem 1rem; background: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

/* Centered academic header, following the VGGT-Omega reference. */
.publication-header .hero-body { padding: 3.75rem 1.5rem 1.5rem; }
.publication-title { margin: 0; font-family: 'Google Sans', 'Noto Sans', sans-serif; font-size: clamp(2.75rem, 6vw, 4rem); font-weight: 700; letter-spacing: -.045em; line-height: 1.12; }
.publication-title span { color: var(--plum); }
.publication-subtitle { margin: .8rem auto 1.7rem; font-family: 'Google Sans', 'Noto Sans', sans-serif; font-size: clamp(1.2rem, 2.4vw, 1.8rem); font-weight: 400; line-height: 1.4; text-wrap: balance; }
.publication-authors { display: flex; flex-wrap: wrap; justify-content: center; column-gap: 1.25rem; row-gap: .2rem; font-family: 'Google Sans', 'Noto Sans', sans-serif; font-size: 1.2rem; }
.author-block { display: inline-block; white-space: nowrap; }
.publication-affiliations { display: flex; flex-wrap: wrap; justify-content: center; column-gap: 1.5rem; margin-top: .55rem; font-size: 1.0625rem; }
.contribution-note { margin-top: .55rem; color: var(--muted); font-size: .875rem; }
.publication-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.5rem; }
.button.resource-button { height: auto; min-height: 44px; padding: .65rem 1.15rem; border: 0; background: #37353a; color: #fff; font: inherit; font-size: .9375rem; line-height: 1.4; white-space: normal; }
.button.resource-button[disabled] { background: #37353a; color: #fff; opacity: 1; cursor: not-allowed; box-shadow: none; }
.resource-status { color: #ddd5dd; font-size: .875rem; }
.resource-button svg { width: 1.1rem; height: 1.1rem; flex: 0 0 auto; margin-right: .5rem; }

/* Original paper figures, with full-resolution links. */
.teaser-section { padding-top: 1.5rem; padding-bottom: 1.75rem; }
.paper-figure { margin: 2rem 0 0; }
.main-figure { margin-top: 0; }
.figure-link { display: block; color: inherit; }
.figure-link img { display: block; width: 100%; height: auto; }
.paper-figure figcaption { margin: 1rem 0 0; color: var(--muted); font-size: .9375rem; line-height: 1.7; }
.paper-figure + .prose { margin-top: 2.5rem; }
.takeaways-section { padding-bottom: 3rem; }
.takeaways-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.takeaway { display: flex; align-items: center; justify-content: center; min-height: 145px; padding: 1.4rem 1.5rem; background: #fbfcfe; border: 1px solid #e8edf4; border-radius: 8px; box-shadow: 0 8px 24px rgb(0 0 0 / 3.5%); text-align: center; font-size: 1.0625rem; line-height: 1.6; }
.takeaway strong { font-weight: 600; }
.research-section > .container { border-top: 1px solid var(--line); padding-top: 2.5rem; }
.subsection-title { margin: 0 0 .8rem; font-family: 'Google Sans', 'Noto Sans', sans-serif; font-size: 1.375rem; font-weight: 500; line-height: 1.4; }
.mode-list { margin: 1.25rem 0 0; padding-left: 1.35rem; }
.mode-list li { padding-left: .35rem; }
.mode-list li + li { margin-top: .65rem; }
.mode-list strong { color: var(--plum); }

/* Native HTML tables remain readable without JavaScript. */
.results-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.25rem; row-gap: 2rem; margin-top: 2rem; }
.benchmark { min-width: 0; }
.benchmark-title { margin: 0 0 .75rem; font-family: 'Google Sans', 'Noto Sans', sans-serif; font-size: 1.125rem; font-weight: 500; }
.table-scroll { max-width: 100%; overflow-x: auto; border-radius: 4px; }
.data-table { width: 100%; min-width: 390px; border-collapse: collapse; color: var(--ink); font-size: .875rem; font-variant-numeric: tabular-nums; line-height: 1.5; }
.data-table th, .data-table td { padding: .68rem .65rem; text-align: right; white-space: nowrap; vertical-align: middle; }
.data-table thead th { border-top: 1px solid #bcb7bf; border-bottom: 1px solid #bcb7bf; color: #55515a; font-weight: 600; }
.data-table tbody th { font-weight: 400; }
.data-table th:first-child { text-align: left; }
.data-table tbody tr { border-bottom: 1px solid #eeecf0; }
.data-table tbody tr:last-child { border-bottom-color: #bcb7bf; }
.data-table .ours { background: var(--soft-plum); }
.data-table .ours th { color: #713052; font-weight: 600; }
.table-note { margin: 1.25rem 0 0; font-size: .875rem; color: var(--muted); line-height: 1.7; }
.backbone-table-wrap { width: 100%; margin: 1.5rem 0 0; }
.backbone-table { min-width: 640px; }
.backbone-table thead tr:nth-child(2) th { text-align: right; }
.backbone-table .prime-value { background: var(--soft-plum); }
.scaling-copy { margin-top: 3rem; }
.scaling-highlights { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem 3rem; margin: 1.75rem 0 .75rem; text-align: center; }
.scaling-highlights div { flex: 0 1 210px; }
.scaling-highlights dt { font-size: .9375rem; color: var(--muted); }
.scaling-highlights dd { margin: 0; color: var(--plum); font-family: 'Google Sans', 'Noto Sans', sans-serif; font-size: 2.25rem; font-weight: 700; line-height: 1.4; }
.page-footer { margin-top: 3rem; padding: 2rem 1.5rem; border-top: 1px solid var(--line); color: var(--muted); text-align: center; font-size: .875rem; line-height: 1.8; }
.page-footer p + p { margin-top: .3rem; }

/* Selectable citation block, aligned with the shared content column. */
.citation-intro { margin-bottom: 1rem; color: var(--muted); }
.bibtex-block { width: 100%; max-width: 100%; padding: 1.5rem; background: #2b2b2b; color: #f8f8f2; border-radius: 8px; font-family: 'Courier New', monospace; font-size: .9rem; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; overflow-x: auto; }
.bibtex-block code { padding: 0; background: transparent; color: inherit; font: inherit; }

@media (max-width: 56rem) {
  .results-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 768px) {
  .section { padding: 2rem 1.25rem; }
  .publication-header .hero-body { padding: 2.5rem 1.25rem 1.25rem; }
  .publication-subtitle { margin-bottom: 1.3rem; }
  .desktop-break { display: none; }
  .publication-authors { column-gap: 1rem; font-size: 1.0625rem; }
  .publication-affiliations { font-size: 1rem; }
  .section-title { font-size: 1.75rem; margin-bottom: 1.35rem; }
  .takeaways-grid { grid-template-columns: minmax(0, 1fr); }
  .takeaway { min-height: 0; padding: 1.25rem; }
  .research-section > .container { padding-top: 2rem; }
  .prose, .abstract-text { font-size: 1rem; }
  .paper-figure figcaption { font-size: .875rem; }
  .scaling-highlights { gap: 1rem; }
  .scaling-highlights div { flex-basis: 135px; }
  .page-footer { padding-inline: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .skip-link, .publication-links { display: none; }
  .publication-header .hero-body { padding-top: 0; }
  .section { padding-block: 1rem; }
  .table-scroll { overflow: visible; }
  .results-grid { grid-template-columns: 1fr; }
  .paper-figure, .benchmark { break-inside: avoid; }
}
