:root {
  color-scheme: light;
  --text: #4a4a4a;
  --heading: #363636;
  --blue: #3273dc;
  --blue-dark: #2159b4;
  --soft: #f5f5f5;
  --border: #dedede;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); text-decoration: underline; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 3px solid #286cce;
  outline-offset: 4px;
}
img, video { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3 { color: var(--heading); font-weight: 600; }
h1 { margin: 0; }
h2 { margin: 0 0 25px; text-align: center; font-size: 32px; line-height: 1.2; }
h3 { margin: 0 0 12px; font-size: 21px; line-height: 1.35; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
sup { font-size: .65em; vertical-align: super; line-height: 0; }
strong { font-weight: 600; }
[hidden] { display: none !important; }
.container { width: calc(100% - 48px); max-width: 960px; margin-inline: auto; }
.wide { max-width: 1152px; }
.text-container { max-width: 900px; }
.section { padding-block: 48px; }
.prose { font-size: 16px; line-height: 1.75; }
.centered, .section-description, .section-subtitle { text-align: center; }
.section-description, .section-subtitle { max-width: 800px; margin: -7px auto 26px; }
.small-note, .section-note { color: #707070; font-size: 13px; line-height: 1.6; }
.section-note { margin-top: 20px; text-align: center; }
.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;
  z-index: 100;
  left: 16px;
  top: 12px;
  padding: 10px 16px;
  background: #fff;
  color: var(--heading);
  border: 2px solid var(--blue);
  border-radius: 4px;
  transform: translateY(-170%);
}
.skip-link:focus { transform: translateY(0); }

.publication-header { padding: 48px 0 38px; text-align: center; }
.publication-header h1 {
  max-width: 1140px;
  margin: 0 auto 25px;
  font-size: 36.8px;
  line-height: 1.22;
  font-weight: 600;
  letter-spacing: -.6px;
}
.publication-header h1 sup { font-size: .6em; }
.authors { margin: 0 0 9px; font-size: 20px; line-height: 1.55; }
.authors > span { display: inline-block; margin-inline: 8px; }
.authors a { color: #209cee; }
.affiliations { margin: 0 0 6px; font-size: 16px; line-height: 1.65; }
.affiliations > span { display: inline-block; margin-inline: 9px; }
.author-note { margin: 0 0 10px; color: #707070; font-size: 14px; }
.venue { margin: 10px 0 17px; font-size: 18px; color: #4a4a4a; }
.publication-links { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.resource-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 39px;
  padding: 7px 20px;
  color: #fff;
  background: #363636;
  border: 1px solid #363636;
  border-radius: 999px;
  font-size: 16px;
  line-height: 1.45;
  transition: background-color .16s ease, border-color .16s ease;
}
.resource-button:hover { color: #fff; background: #222; border-color: #222; text-decoration: none; }
.resource-button svg { width: 18px; height: 18px; flex: 0 0 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.teaser { margin: 0 auto; }
.teaser img { width: 100%; }
.teaser-caption { max-width: 900px; margin: 22px auto 0; text-align: center; font-size: 17px; line-height: 1.65; }
.teaser-section { padding-top: 6px; padding-bottom: 43px; }
.figure-link { display: block; }
.figure-link:focus-visible { outline-offset: 6px; }
.figure-link img { width: 100%; }
.video-section { background: var(--soft); }
.video-section video { width: 100%; max-width: 880px; aspect-ratio: 1666 / 1080; margin-inline: auto; background: #151515; }
.video-section figcaption { margin: 14px auto 0; color: #686868; font-size: 14px; text-align: center; }
.abstract { text-align: justify; }
.method-figure { margin: 29px 0 25px; }
.method-figure img { width: 100%; }
.method-figure figcaption { margin-top: 16px; text-align: left; font-size: 15px; line-height: 1.7; }
.method-list { margin: 22px 0 0; padding-left: 24px; }
.method-list li { margin-bottom: 11px; padding-left: 4px; }
.method-list li:last-child { margin-bottom: 0; }

.comparisons-section { background: var(--soft); }
.comparison-filters { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 9px; }
.comparison-filters { margin: 24px auto 24px; }
.filter-button {
  border: 1px solid #cfcfcf;
  background: #fff;
  color: #4a4a4a;
  border-radius: 5px;
  padding: 7px 16px;
  min-height: 38px;
  font-size: 14px;
  line-height: 1.5;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
.filter-button:hover { border-color: #969696; background: #fafafa; }
.filter-button.is-active, .filter-button[aria-pressed="true"] { color: #fff; border-color: #363636; background: #363636; }
.comparison-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 24px; align-items: start; }
.comparison-card { min-width: 0; margin: 0; }
.comparison-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e6e6e6;
  --split: 50%;
  isolation: isolate;
}
.comparison-frame > img, .comparison-before > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.comparison-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.comparison-divider { position: absolute; top: 0; bottom: 0; left: var(--split); width: 2px; background: #fff; transform: translateX(-50%); pointer-events: none; box-shadow: 0 0 5px #0005; }
.comparison-divider > span { position: absolute; top: 50%; left: 50%; display: flex; align-items: center; justify-content: center; gap: 5px; width: 42px; height: 42px; color: #414141; background: #fff; border-radius: 50%; transform: translate(-50%, -50%); font-size: 23px; line-height: 1; box-shadow: 0 1px 5px #0003; }
.image-label { position: absolute; top: 15px; padding: 5px 11px; border-radius: 3px; color: #fff; background: #000a; font-size: 14px; line-height: 1.55; pointer-events: none; }
.label-left { left: 15px; }
.label-right { right: 15px; background: #205eafeb; }
.comparison-frame input { position: absolute; z-index: 4; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.comparison-frame:focus-within { outline: 3px solid var(--blue); outline-offset: 4px; }
.comparison-card figcaption { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 2px 12px; margin: 12px 0 0; font-size: 14px; }
.comparison-card figcaption > span { color: #777; font-size: 12px; }
@media (max-width: 520px) {
  .comparison-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

.table-scroll { width: 100%; margin: 25px 0 14px; overflow-x: auto; overscroll-behavior-inline: contain; }
.results-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 14px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.results-table th, .results-table td { padding: 10px 12px; text-align: center; vertical-align: middle; white-space: nowrap; }
.results-table th:first-child, .results-table td:first-child { text-align: left; }
.results-table thead { border-top: 2px solid #555; border-bottom: 1.5px solid #777; }
.results-table thead tr:first-child th { padding-top: 12px; padding-bottom: 7px; color: #363636; }
.results-table thead tr:last-child th { padding-top: 5px; padding-bottom: 10px; }
.results-table tbody { border-bottom: 2px solid #555; }
.results-table tbody tr:not(:last-child) { border-bottom: 1px solid #e7e7e7; }
.results-table tbody th { font-weight: 400; }
.results-table .dataset-start { border-left: 1px solid #d1d1d1; }
.results-table .ours { background: #edf4ff; color: #244c88; }
.results-table .ours th, .results-table .ours td { font-weight: 600; }


.export-section { background: var(--soft); }
.export-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; margin: 29px 0 24px; }
.export-columns h3 { font-size: 19px; }
.export-columns p { line-height: 1.75; }
.export-columns article + article { border-left: 1px solid #ddd; padding-left: 36px; }
.export-section .small-note { margin-top: 21px; }
.export-stats { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 17px; }
.export-stats strong { color: #363636; }

.citation-box { position: relative; margin-top: 24px; background: #f5f5f5; border-radius: 3px; }
.citation-box pre { margin: 0; padding: 53px 24px 24px; overflow-x: auto; color: #4a4a4a; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; line-height: 1.8; tab-size: 2; }
.citation-box code { font-family: inherit; }
.copy-button { position: absolute; top: 10px; right: 11px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 32px; padding: 4px 11px; border: 1px solid #cecece; border-radius: 4px; background: #fff; color: #4a4a4a; font-size: 12px; line-height: 1.5; }
.copy-button:hover { background: #ebebeb; border-color: #999; }
.copy-button svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.copy-status { min-height: 21px; margin: 9px 0 0; font-size: 13px; color: #315e9d; text-align: right; }
.footer { padding: 40px 24px 44px; background: #fafafa; color: #777; text-align: center; font-size: 14px; line-height: 1.75; }
.footer p + p { margin-top: 7px; }

@media (max-width: 800px) {
  .desktop-break { display: none; }
  .publication-header { padding-top: 38px; }
  .publication-header h1 { max-width: 700px; font-size: 31px; line-height: 1.25; }
  .authors { font-size: 19px; }
  .authors > span { margin-inline: 6px; }
  .affiliations > span { display: block; margin-inline: 0; }
  .section { padding-block: 40px; }
  .teaser-section { padding-top: 4px; }
  .abstract { text-align: left; }
  .export-columns { gap: 28px; }
  .export-columns article + article { padding-left: 25px; }
  .results-table th, .results-table td { padding-inline: 10px; }
}

@media (max-width: 520px) {
  body { font-size: 15px; }
  .container { width: calc(100% - 32px); }
  .publication-header { padding: 31px 0 29px; }
  .publication-header h1 { margin-bottom: 21px; font-size: 25px; line-height: 1.29; letter-spacing: -.3px; }
  .authors { margin-bottom: 12px; font-size: 17px; }
  .authors > span { margin: 0 5px 3px; }
  .affiliations { font-size: 14px; line-height: 1.65; }
  .author-note { font-size: 12px; }
  .venue { margin: 10px 0 16px; font-size: 16px; }
  .publication-links { gap: 7px; }
  .resource-button { gap: 6px; min-height: 36px; padding: 6px 14px; font-size: 14px; }
  .resource-button svg { width: 16px; height: 16px; flex-basis: 16px; }
  .section { padding-block: 34px; }
  h2 { margin-bottom: 22px; font-size: 27px; }
  h3 { font-size: 20px; }
  .prose { font-size: 15px; line-height: 1.75; }
  .teaser-section { padding-top: 3px; padding-bottom: 32px; }
  .teaser-caption { margin-top: 18px; font-size: 15px; line-height: 1.65; }
  .method-figure { margin-block: 22px; }
  .method-figure figcaption { font-size: 14px; }
  .method-list { padding-left: 20px; }
  .comparison-filters { gap: 7px; }
  .filter-button { padding: 6px 12px; font-size: 13px; }
  .image-label { top: 9px; padding: 4px 8px; font-size: 11px; }
  .label-left { left: 9px; }
  .label-right { right: 9px; }
  .comparison-divider > span { width: 34px; height: 34px; font-size: 20px; }
  .comparison-card figcaption { font-size: 13px; }
  .comparison-card figcaption > span { font-size: 11px; }
  .section-note, .small-note { font-size: 12px; }
  .results-table { font-size: 13px; min-width: 690px; }
  .export-columns { grid-template-columns: 1fr; gap: 24px; margin-top: 24px; }
  .export-columns article + article { border-left: 0; border-top: 1px solid #ddd; padding: 23px 0 0; }
  .citation-box pre { padding: 51px 16px 20px; font-size: 12px; line-height: 1.75; }
  .footer { padding: 32px 20px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Spacing for the final document structure and emphasis limited to best values. */
.teaser { padding-bottom: 40px; }
.comparisons-section .small-note { margin-top: 18px; }
.results-table .ours td { font-weight: 400; }
[tabindex]:focus-visible { outline: 3px solid #286cce; outline-offset: 4px; }
@media (max-width: 520px) {
  .teaser { padding-bottom: 32px; }
}

@media (max-width: 520px) {
  .publication-links { display: grid; grid-template-columns: repeat(2, 1fr); max-width: 290px; margin-inline: auto; }
}

/* Mesh rendering benchmark from the paper. */
.mesh-fps-scroll { max-width: 780px; margin: 30px auto 32px; }
.results-table.mesh-fps-table { min-width: 460px; }
.mesh-fps-table caption { padding-bottom: 12px; color: var(--heading); font-size: 16px; font-weight: 500; }
.mesh-fps-table abbr { color: #707070; text-decoration: underline dotted; text-underline-offset: 3px; cursor: help; }

/* Garden quality and mesh complexity benchmark. */
.mesh-budget-scroll { max-width: 860px; margin: 30px auto 32px; }
.results-table.mesh-budget-table { min-width: 520px; }
.mesh-budget-table caption { padding-bottom: 12px; color: var(--heading); font-size: 16px; font-weight: 500; }
