:root {
  color-scheme: dark;
  --ink: #111820;
  --ink-soft: #53606d;
  --paper: #f5f3ee;
  --paper-bright: #fbfaf7;
  --dark: #0b0e12;
  --dark-raised: #131820;
  --dark-line: rgba(255, 255, 255, 0.12);
  --white: #f7f9fb;
  --muted: #9aa5b2;
  --cyan: #55d6e8;
  --cyan-soft: rgba(85, 214, 232, 0.12);
  --orange: #ff9655;
  --orange-strong: #ff7a28;
  --orange-soft: rgba(255, 150, 85, 0.12);
  --rank-first: #ffb2b3;
  --rank-second: #ffd9b6;
  --rank-third: #ffffb9;
  --shadow-lg: 0 28px 80px rgba(0, 0, 0, 0.24);
  --radius-lg: 28px;
  --radius-md: 18px;
  --section-space: clamp(5rem, 9vw, 8.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--dark);
  color: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

::selection {
  background: var(--orange);
  color: var(--dark);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--dark);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.section-shell--wide {
  width: min(1420px, calc(100% - 2.5rem));
}

.section-light,
.section-paper,
.section-dark {
  position: relative;
  padding-block: var(--section-space);
}

.section-light {
  background: var(--paper);
  color: var(--ink);
}

.section-paper {
  background: var(--paper-bright);
  color: var(--ink);
}

.section-dark {
  background: var(--dark);
  color: var(--white);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  transition: background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.site-header.is-scrolled,
.site-header.is-menu-open {
  border-color: var(--dark-line);
  background: rgba(11, 14, 18, 0.88);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  width: min(1280px, calc(100% - 2.5rem));
  min-height: 74px;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  color: var(--white);
  font-size: 1rem;
  font-weight: 780;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.15rem, 2.5vw, 2rem);
}

.site-nav a {
  position: relative;
  color: rgba(247, 249, 251, 0.72);
  font-size: 0.86rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  transition: color 160ms ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.42rem;
  left: 0;
  height: 1px;
  background: var(--orange);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--dark-line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 17px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: clamp(8.5rem, 14vw, 11rem) 0 clamp(5rem, 9vw, 8rem);
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    var(--dark);
  background-size: 54px 54px;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 240px;
  background: linear-gradient(transparent, var(--dark));
  content: "";
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(12px);
  opacity: 0.8;
  pointer-events: none;
}

.hero-glow--one {
  top: -18rem;
  left: -12rem;
  width: 46rem;
  height: 46rem;
  background: radial-gradient(circle, rgba(85, 214, 232, 0.17), transparent 66%);
}

.hero-glow--two {
  top: 2rem;
  right: -20rem;
  width: 50rem;
  height: 50rem;
  background: radial-gradient(circle, rgba(255, 122, 40, 0.18), transparent 66%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.eyebrow,
.section-kicker,
.result-label {
  margin: 0 0 1rem;
  color: var(--orange);
  font-size: clamp(0.98rem, 1.35vw, 1.12rem);
  font-weight: 800;
  letter-spacing: 0.06em;
}

.eyebrow {
  color: var(--muted);
}

.eyebrow span {
  display: inline-block;
  padding: 0.36rem 0.78rem;
  border: 1px solid rgba(85, 214, 232, 0.36);
  border-radius: 999px;
  background: var(--cyan-soft);
  color: var(--cyan);
}

.hero h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(4.4rem, 12vw, 9.5rem);
  font-weight: 820;
  letter-spacing: -0.075em;
  line-height: 0.87;
}

.paper-title {
  width: min(930px, 100%);
  margin: 1.55rem auto 0;
  color: rgba(247, 249, 251, 0.9);
  font-size: clamp(1.15rem, 2.5vw, 1.8rem);
  font-weight: 550;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.hero-statement {
  margin: 1.45rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.hero-statement strong {
  color: var(--cyan);
  font-weight: 650;
}

.authors {
  display: flex;
  max-width: 980px;
  margin: 2.2rem auto 0;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.25rem;
  color: rgba(247, 249, 251, 0.86);
  font-size: 0.98rem;
}

.authors span:not(:last-child)::after {
  margin-left: 1.25rem;
  color: rgba(255, 255, 255, 0.22);
  content: "·";
}

.affiliation {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-actions {
  display: flex;
  margin-top: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 730;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--orange);
  color: #17120f;
}

.button--primary:hover,
.button--primary:focus-visible {
  background: #ffab76;
}

.button--secondary {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
}

.button--ghost {
  border-color: rgba(85, 214, 232, 0.32);
  color: var(--cyan);
}

.button.is-disabled {
  cursor: default;
  opacity: 0.62;
}

.button.is-disabled:hover {
  transform: none;
}

.button-note {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 650;
}

.teaser-card {
  position: relative;
  z-index: 2;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow-lg);
}

.teaser-card img {
  width: 100%;
  height: auto;
}

.teaser-block {
  position: relative;
  z-index: 2;
  margin: clamp(3.5rem, 7vw, 6rem) auto 0;
}

.teaser-block figcaption {
  max-width: 1160px;
  margin: 1.35rem auto 0;
  padding: 0 0.5rem;
  color: rgba(247, 249, 251, 0.72);
  font-size: 0.98rem;
  line-height: 1.75;
  text-align: center;
}

.caption-line {
  display: block;
}

.caption-line:not(:last-child)::after {
  content: " ";
}

.method-figure figcaption {
  padding: 1rem 1.3rem;
  border-top: 1px solid #e4e7ea;
  background: #fff;
  color: #5e6873;
  line-height: 1.65;
  font-size: 0.86rem;
  text-align: center;
}

.section-heading {
  margin-bottom: clamp(2.4rem, 5vw, 4.5rem);
}

.section-heading h2 {
  margin: 0;
  max-width: 800px;
  color: var(--ink);
  font-size: clamp(2.15rem, 5vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.052em;
  line-height: 1.04;
}

.section-heading > p,
.section-heading--split > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.6vw, 1.08rem);
  line-height: 1.8;
}

.section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: end;
  gap: clamp(2rem, 7vw, 7rem);
}

.section-heading--center {
  max-width: 860px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading--center h2 {
  margin-inline: auto;
}

.section-heading--center > p {
  max-width: 700px;
  margin: 1.2rem auto 0;
}

.section-heading--on-dark h2 {
  color: var(--white);
}

.section-heading--on-dark > p {
  color: var(--muted);
}

.section-heading .section-kicker {
  margin: 0 0 1.2rem;
  color: var(--orange);
  font-size: clamp(1.6rem, 2.65vw, 2.05rem);
  letter-spacing: 0.035em;
  line-height: 1.15;
}

.section-heading--center > .section-kicker {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0 auto 1.35rem;
  text-align: center;
}

.result-label {
  font-size: clamp(1.28rem, 2vw, 1.55rem);
  letter-spacing: 0.035em;
}

#quantitative-title {
  max-width: none;
  font-size: clamp(1.8rem, 2.65vw, 2.55rem);
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.contribution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.contribution-card {
  min-height: 248px;
  padding: 1.6rem;
  border: 1px solid rgba(17, 24, 32, 0.1);
  border-radius: var(--radius-md);
  background: var(--paper-bright);
}

.contribution-index {
  display: inline-flex;
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--orange-soft);
  color: var(--orange-strong);
  font-size: 1rem;
  font-weight: 820;
}

.contribution-card:nth-child(1) .contribution-index {
  background: var(--cyan-soft);
  color: #087e8c;
}

.contribution-card h3,
.stage-card h3 {
  margin: 2.25rem 0 0.65rem;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.contribution-card p,
.stage-card p {
  margin: 0;
  color: var(--ink-soft);
}

.results-section {
  background:
    radial-gradient(circle at 15% 20%, rgba(85, 214, 232, 0.07), transparent 30%),
    radial-gradient(circle at 85% 65%, rgba(255, 122, 40, 0.07), transparent 30%),
    var(--dark);
}

.result-module {
  padding: clamp(2rem, 4vw, 3.4rem);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.025);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.15);
}

.result-module + .result-module {
  margin-top: 1.5rem;
}

#reconstruction-results {
  width: min(1420px, calc(100vw - 2.5rem));
  margin-left: 50%;
  transform: translateX(-50%);
}

.result-copy {
  display: grid;
  max-width: 900px;
  margin-bottom: 2rem;
  grid-template-columns: auto 1fr;
  gap: 1.4rem;
}

.result-copy--expanded {
  max-width: 980px;
}

.result-number {
  display: inline-flex;
  width: 4.2rem;
  height: 4.2rem;
  border: 1px solid rgba(85, 214, 232, 0.28);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--cyan-soft);
  color: var(--cyan);
  font-size: 1.1rem;
  font-weight: 800;
}

.result-label {
  margin-bottom: 0.35rem;
}

.result-copy h3 {
  margin: 0;
  font-size: clamp(1.65rem, 3.5vw, 2.75rem);
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.result-copy p:last-child {
  max-width: 700px;
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.result-copy p.result-description--wide {
  max-width: 920px;
}

.result-description-line {
  display: block;
}

.result-stage {
  position: relative;
  display: grid;
  min-height: clamp(300px, 42vw, 500px);
  overflow: hidden;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  place-items: center;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    rgba(255, 255, 255, 0.015);
  background-size: 36px 36px;
  color: rgba(255, 255, 255, 0.33);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.06em;
}

.result-stage::before {
  position: absolute;
  width: 11rem;
  height: 11rem;
  border: 1px solid rgba(85, 214, 232, 0.12);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 80px rgba(85, 214, 232, 0.08);
}

.result-stage > span,
.comparison-empty-row {
  position: relative;
  z-index: 1;
}

.result-stage--comparison {
  display: block;
  min-height: 0;
  padding: 1.1rem;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.12);
  background: #080b0f;
  color: var(--white);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
}

.result-stage--comparison::before {
  display: none;
}

.comparison-guide {
  display: flex;
  min-height: 48px;
  margin-bottom: 0.9rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 13px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.025);
}

.comparison-guide p {
  display: flex;
  margin: 0;
  align-items: center;
  gap: 0.58rem;
  color: rgba(247, 249, 251, 0.68);
  font-size: 0.9rem;
}

.comparison-guide p > span {
  display: inline-block;
  width: 1.7rem;
  height: 0.34rem;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--orange) 0 42%, var(--white) 42% 58%, var(--cyan) 58%);
  box-shadow: 0 0 14px rgba(85, 214, 232, 0.15);
}

.comparison-guide-legend {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.9rem;
  color: rgba(247, 249, 251, 0.68);
  font-size: 0.84rem;
  font-weight: 700;
}

.comparison-guide-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}

.comparison-key {
  display: inline-block;
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 50%;
}

.comparison-key--baseline {
  background: var(--orange);
}

.comparison-key--ours {
  background: var(--cyan);
}

.comparison-view-control {
  display: flex;
  margin-bottom: 0.9rem;
  padding: 0.72rem 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 13px;
  align-items: center;
  gap: 0.8rem;
  background: rgba(255, 255, 255, 0.025);
}

.comparison-view-label {
  color: rgba(247, 249, 251, 0.72);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.035em;
}

.comparison-view-buttons {
  display: inline-flex;
  padding: 0.2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  gap: 0.2rem;
  background: #0c1117;
}

.comparison-view-buttons button {
  min-height: 34px;
  padding: 0.42rem 0.8rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(247, 249, 251, 0.62);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.comparison-view-buttons button:hover {
  color: var(--white);
}

.comparison-view-buttons button.is-active {
  background: var(--orange);
  color: #12171d;
  box-shadow: 0 5px 14px rgba(255, 122, 40, 0.22);
}

.comparison-view-buttons button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.comparison-view-control p {
  margin: 0 0 0 auto;
  color: rgba(247, 249, 251, 0.5);
  font-size: 0.8rem;
}

.comparison-scroll-hint {
  display: none;
  margin: 0 0 0.65rem;
  color: rgba(247, 249, 251, 0.5);
  font-size: 0.76rem;
  text-align: right;
}

.comparison-matrix-scroll {
  overflow-x: auto;
  padding-bottom: 0.55rem;
  overscroll-behavior-inline: contain;
  scrollbar-color: rgba(85, 214, 232, 0.36) rgba(255, 255, 255, 0.05);
  scrollbar-width: thin;
}

.comparison-matrix-scroll::-webkit-scrollbar {
  height: 8px;
}

.comparison-matrix-scroll::-webkit-scrollbar-track {
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.05);
}

.comparison-matrix-scroll::-webkit-scrollbar-thumb {
  border-radius: 99px;
  background: rgba(85, 214, 232, 0.36);
}

.comparison-matrix-scroll:focus-visible {
  outline: 2px solid rgba(85, 214, 232, 0.64);
  outline-offset: 5px;
}

.comparison-matrix {
  display: grid;
  min-width: 1256px;
  grid-template-columns: 124px repeat(4, minmax(270px, 1fr));
  gap: 0.8rem;
}

.comparison-corner,
.comparison-method-heading,
.comparison-row-heading {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 13px;
  background: #0c1117;
}

.comparison-corner {
  position: sticky;
  z-index: 10;
  left: 0;
  display: flex;
  min-height: 58px;
  padding: 0.68rem;
  align-items: flex-end;
  justify-content: space-between;
  color: rgba(247, 249, 251, 0.36);
  font-size: 0.62rem;
  font-weight: 760;
  letter-spacing: 0.04em;
  box-shadow: 8px 0 18px rgba(8, 11, 15, 0.52);
}

.comparison-method-heading {
  display: grid;
  min-height: 58px;
  padding: 0.68rem 0.8rem;
  align-content: center;
  gap: 0.12rem;
  text-align: center;
}

.comparison-method-heading span,
.comparison-row-heading span {
  color: var(--orange);
  font-size: 0.67rem;
  font-weight: 820;
  letter-spacing: 0.04em;
}

.comparison-row-heading span {
  letter-spacing: 0.04em;
  text-transform: none;
}

.comparison-method-heading strong {
  font-size: 1.04rem;
  letter-spacing: -0.01em;
}

.comparison-row-heading {
  position: sticky;
  z-index: 9;
  left: 0;
  display: grid;
  min-height: 270px;
  padding: 0.8rem 0.7rem;
  align-content: center;
  gap: 0.24rem;
  box-shadow: 8px 0 18px rgba(8, 11, 15, 0.52);
}

.comparison-row-heading strong {
  color: var(--white);
  font-size: 1.14rem;
}

.comparison-row-heading strong::after {
  display: block;
  width: 1.7rem;
  height: 2px;
  margin-top: 0.55rem;
  border-radius: 99px;
  background: var(--cyan);
  content: "";
}

.comparison-matrix > :nth-child(n + 16):nth-child(-n + 20) {
  margin-top: 0.5rem;
}

.video-comparison {
  position: relative;
  min-width: 0;
  min-height: 270px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 13px;
  background: #f3f4f5;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.comparison-media {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 270px;
  overflow: hidden;
  aspect-ratio: 1;
  background: #fff;
}

.comparison-video,
.comparison-ours-layer {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.comparison-video {
  object-fit: contain;
  background: #fff;
}

.comparison-ours-layer {
  z-index: 1;
  overflow: hidden;
  clip-path: inset(0 0 0 var(--comparison-split));
  will-change: clip-path;
}

.comparison-labels {
  position: absolute;
  z-index: 4;
  top: 0.55rem;
  right: 0.55rem;
  left: 0.55rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  pointer-events: none;
}

.comparison-labels span {
  padding: 0.34rem 0.48rem;
  border: 1px solid rgba(12, 17, 23, 0.12);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.88);
  color: #151b22;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.03em;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.09);
  backdrop-filter: blur(6px);
}

.comparison-labels span:first-child {
  border-color: rgba(255, 122, 40, 0.34);
}

.comparison-labels span:last-child {
  border-color: rgba(8, 126, 140, 0.34);
}

.comparison-divider {
  position: absolute;
  z-index: 5;
  top: 0;
  bottom: 0;
  left: var(--comparison-split);
  width: 2px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 0 0 1px rgba(12, 17, 23, 0.16), 0 0 14px rgba(0, 0, 0, 0.22);
  transform: translateX(-1px);
  pointer-events: none;
}

.comparison-divider i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  border: 2px solid #fff;
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 0 33%, rgba(21, 27, 34, 0.7) 33% 39%, transparent 39% 61%, rgba(21, 27, 34, 0.7) 61% 67%, transparent 67%),
    rgba(255, 255, 255, 0.92);
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.24);
  transform: translate(-50%, -50%);
}

.comparison-range {
  position: absolute;
  z-index: 6;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  touch-action: pan-y;
}

.video-comparison:focus-within {
  border-color: rgba(85, 214, 232, 0.78);
  box-shadow: 0 0 0 2px rgba(85, 214, 232, 0.22), 0 12px 28px rgba(0, 0, 0, 0.18);
}

.comparison-loading {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: #0c1117;
  color: rgba(247, 249, 251, 0.62);
  font-size: 0.78rem;
  font-weight: 720;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.comparison-loading > span {
  width: 0.9rem;
  height: 0.9rem;
  border: 2px solid rgba(85, 214, 232, 0.2);
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: tracker-spin 900ms linear infinite;
}

.video-comparison.is-ready .comparison-loading {
  visibility: hidden;
  opacity: 0;
}

.video-comparison.is-error .comparison-loading {
  padding: 1rem;
  color: rgba(247, 249, 251, 0.62);
  line-height: 1.5;
  text-align: center;
}

.video-comparison.is-error .comparison-loading > span {
  display: none;
}

.video-comparison--unavailable,
.video-comparison--reserved {
  display: grid;
  min-height: 210px;
  padding: 1rem;
  border-style: dashed;
  border-color: rgba(255, 122, 40, 0.25);
  place-content: center;
  justify-items: center;
  background:
    linear-gradient(135deg, rgba(255, 122, 40, 0.035), rgba(255, 255, 255, 0.015)),
    #0c1117;
  color: var(--white);
  text-align: center;
}

.video-comparison--unavailable strong,
.video-comparison--reserved strong {
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

.video-comparison--unavailable p,
.video-comparison--reserved p {
  max-width: 150px;
  margin: 0.3rem 0 0;
  color: rgba(247, 249, 251, 0.47);
  font-size: 0.73rem;
  line-height: 1.5;
}

.comparison-unavailable-mark {
  position: relative;
  width: 44px;
  height: 35px;
}

.comparison-unavailable-mark span {
  position: absolute;
  width: 28px;
  height: 24px;
  border: 1px solid rgba(255, 122, 40, 0.46);
  border-radius: 4px;
  background: #111820;
}

.comparison-unavailable-mark span:nth-child(1) {
  top: 0;
  left: 0;
}

.comparison-unavailable-mark span:nth-child(2) {
  top: 5px;
  left: 8px;
}

.comparison-unavailable-mark span:nth-child(3) {
  top: 10px;
  left: 16px;
  background: repeating-linear-gradient(135deg, rgba(255, 122, 40, 0.16) 0 3px, transparent 3px 6px), #111820;
}

.result-stage--tracker {
  display: block;
  min-height: 0;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.12);
  background: #080b0f;
  color: var(--white);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
}

.result-stage--tracker::before {
  display: none;
}

.tracker-viewport {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 54% 46%, rgba(85, 214, 232, 0.07), transparent 34%),
    #080b0f;
}

.tracker-viewport canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: crosshair;
  outline: none;
  touch-action: none;
}

.tracker-viewport canvas:active {
  cursor: grabbing;
}

.tracker-viewport canvas:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(85, 214, 232, 0.72);
}

.tracker-loading {
  position: absolute;
  z-index: 6;
  inset: 0;
  display: flex;
  padding: 2rem;
  align-items: center;
  justify-content: center;
  background: rgba(8, 11, 15, 0.94);
  flex-direction: column;
  text-align: center;
  transition: opacity 240ms ease, visibility 240ms ease;
}

.tracker-loading.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.tracker-loading strong {
  margin-top: 1rem;
  font-size: 1.28rem;
}

.tracker-loading > span:last-child {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.tracker-loading-ring {
  width: 2.3rem;
  height: 2.3rem;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: tracker-spin 900ms linear infinite;
}

.tracker-loading.is-error .tracker-loading-ring {
  border-color: rgba(255, 122, 40, 0.35);
  border-top-color: var(--orange);
  animation: none;
}

@keyframes tracker-spin {
  to {
    transform: rotate(360deg);
  }
}

.tracker-overlay,
.tracker-legend,
.tracker-gesture-hint {
  position: absolute;
  z-index: 3;
  pointer-events: none;
}

.tracker-overlay {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 13px;
  background: rgba(8, 11, 15, 0.76);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.tracker-overlay--instruction {
  bottom: 1.3rem;
  left: 50%;
  display: flex;
  padding: 0.72rem 1rem;
  align-items: center;
  gap: 0.75rem;
  transform: translateX(-50%);
  transition: opacity 180ms ease, transform 180ms ease;
}

.tracker-overlay--instruction.is-hidden {
  opacity: 0;
  transform: translate(-50%, 8px);
}

.tracker-overlay--instruction strong {
  color: var(--orange);
  font-size: 0.98rem;
  white-space: nowrap;
}

.tracker-overlay--instruction span {
  color: rgba(247, 249, 251, 0.68);
  font-size: 0.88rem;
  white-space: nowrap;
}

.tracker-overlay--selection {
  top: 1rem;
  left: 1rem;
  display: grid;
  min-width: 180px;
  padding: 0.85rem 1rem;
  grid-template-columns: auto auto;
  align-items: baseline;
  gap: 0.2rem 0.8rem;
}

.tracker-overlay--selection > span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.tracker-overlay--selection > strong {
  color: var(--orange);
  font-size: 1.26rem;
  font-variant-numeric: tabular-nums;
}

.tracker-overlay--selection > small {
  grid-column: 1 / -1;
  color: rgba(247, 249, 251, 0.67);
  font-size: 0.82rem;
}

.tracker-legend {
  top: 1rem;
  right: 1rem;
  display: flex;
  padding: 0.68rem 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(8, 11, 15, 0.68);
  gap: 0.85rem;
  backdrop-filter: blur(10px);
}

.tracker-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(247, 249, 251, 0.7);
  font-size: 0.78rem;
  white-space: nowrap;
}

.tracker-dot {
  display: inline-block;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
}

.tracker-dot--vertex {
  background: var(--orange);
  box-shadow: 0 0 8px rgba(255, 122, 40, 0.65);
}

.tracker-dot--patch {
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(85, 214, 232, 0.55);
}

.tracker-line-swatch {
  display: inline-block;
  width: 1rem;
  height: 2px;
  background: #ff9a5c;
}

.tracker-gesture-hint {
  right: 1rem;
  bottom: 1rem;
  display: flex;
  margin: 0;
  align-items: center;
  gap: 0.48rem;
  color: rgba(247, 249, 251, 0.4);
  font-size: 0.76rem;
}

.tracker-gesture-hint i {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(247, 249, 251, 0.35);
}

.tracker-controls {
  display: grid;
  min-height: 76px;
  padding: 0.75rem 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  align-items: center;
  grid-template-columns: auto minmax(160px, 1fr) auto auto auto;
  gap: 0.8rem;
  background: #0d1116;
}

.tracker-button {
  display: inline-flex;
  min-height: 40px;
  padding: 0.58rem 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 750;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.tracker-button:hover:not(:disabled),
.tracker-button:focus-visible {
  border-color: rgba(85, 214, 232, 0.5);
  background: rgba(85, 214, 232, 0.1);
}

.tracker-button:disabled {
  cursor: wait;
  opacity: 0.42;
}

.tracker-play {
  min-width: 100px;
  border-color: rgba(255, 122, 40, 0.38);
}

.tracker-play-icon {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid var(--orange);
}

.is-playing .tracker-play-icon {
  width: 8px;
  height: 10px;
  border: 0;
  border-right: 3px solid var(--orange);
  border-left: 3px solid var(--orange);
}

.tracker-timeline {
  display: flex;
  align-items: center;
}

.tracker-timeline input {
  width: 100%;
  height: 18px;
  margin: 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

.tracker-timeline input::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--orange) 0 var(--timeline-progress, 0%),
    rgba(255, 255, 255, 0.14) var(--timeline-progress, 0%) 100%
  );
}

.tracker-timeline input::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.tracker-timeline input::-moz-range-progress {
  height: 4px;
  border-radius: 999px;
  background: var(--orange);
}

.tracker-timeline input::-webkit-slider-thumb {
  width: 15px;
  height: 15px;
  margin-top: -5.5px;
  border: 2px solid #0d1116;
  border-radius: 50%;
  appearance: none;
  background: var(--orange);
  box-shadow: 0 0 0 2px rgba(255, 122, 40, 0.25);
}

.tracker-timeline input::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border: 2px solid #0d1116;
  border-radius: 50%;
  background: var(--orange);
}

.tracker-timeline input:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.tracker-frame {
  min-width: 124px;
  color: rgba(247, 249, 251, 0.72);
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.tracker-toggle {
  display: inline-flex;
  min-height: 40px;
  padding: 0 0.2rem;
  align-items: center;
  gap: 0.48rem;
  color: rgba(247, 249, 251, 0.68);
  cursor: pointer;
  font-size: 0.82rem;
}

.tracker-toggle input {
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: var(--cyan);
}

.tracker-button--quiet {
  color: rgba(247, 249, 251, 0.68);
}

.result-stage--uv-editor {
  display: block;
  min-height: 0;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.12);
  background: #080b0f;
  color: var(--white);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
}

.result-stage--uv-editor::before {
  display: none;
}

.uv-editor-viewport {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #080b0f;
}

.uv-editor-viewport::after {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.22) 18%, rgba(255, 255, 255, 0.22) 82%, transparent);
  content: "";
  pointer-events: none;
}

.uv-render-canvas {
  display: block;
  width: 100%;
  height: 100%;
  outline: none;
  touch-action: none;
}

.uv-render-canvas.is-painting {
  cursor: crosshair;
}

.uv-render-canvas.is-rotating {
  cursor: grab;
}

.uv-render-canvas.is-rotating:active {
  cursor: grabbing;
}

.uv-render-canvas:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(85, 214, 232, 0.72);
}

.uv-panel-label {
  position: absolute;
  z-index: 3;
  top: 1rem;
  display: flex;
  padding: 0.68rem 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 13px;
  align-items: center;
  gap: 0.65rem;
  background: rgba(8, 11, 15, 0.76);
  pointer-events: none;
  backdrop-filter: blur(12px);
}

.uv-panel-label--paint {
  left: 1rem;
}

.uv-panel-label--motion {
  left: calc(50% + 1rem);
}

.uv-panel-label div {
  display: grid;
  gap: 0.08rem;
}

.uv-panel-label strong {
  font-size: 0.92rem;
}

.uv-panel-label small {
  color: rgba(247, 249, 251, 0.58);
  font-size: 0.72rem;
}

.uv-atlas-card {
  position: absolute;
  z-index: 4;
  bottom: 1rem;
  left: 50%;
  overflow: hidden;
  width: 156px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(8, 11, 15, 0.84);
  box-shadow: 0 15px 34px rgba(0, 0, 0, 0.3);
  transform: translateX(-50%);
  pointer-events: none;
  backdrop-filter: blur(10px);
}

.uv-atlas-card canvas {
  display: block;
  width: 156px;
  height: 156px;
  background:
    linear-gradient(45deg, rgba(255, 255, 255, 0.055) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.055) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.055) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.055) 75%);
  background-position: 0 0, 0 6px, 6px -6px, -6px 0;
  background-size: 12px 12px;
}

.uv-atlas-card figcaption {
  padding: 0.5rem 0.35rem 0.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(247, 249, 251, 0.58);
  font-size: 0.78rem;
  font-weight: 720;
  text-align: center;
}

.uv-editor-hint {
  position: absolute;
  z-index: 3;
  bottom: 1rem;
  left: 1rem;
  display: grid;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(255, 122, 40, 0.24);
  border-radius: 12px;
  background: rgba(8, 11, 15, 0.76);
  gap: 0.12rem;
  pointer-events: none;
  backdrop-filter: blur(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.uv-editor-hint.is-hidden {
  opacity: 0;
  transform: translateY(8px);
}

.uv-editor-hint strong {
  color: var(--orange);
  font-size: 0.9rem;
}

.uv-editor-hint span {
  color: rgba(247, 249, 251, 0.64);
  font-size: 0.76rem;
}

.uv-editor-toolbar {
  display: flex;
  min-height: 72px;
  padding: 0.75rem 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  align-items: center;
  gap: 0.72rem;
  background: #0d1116;
}

.uv-tool-group {
  display: inline-flex;
  align-items: center;
}

.uv-mode-control {
  display: grid;
  flex: 0 0 auto;
  justify-items: center;
  gap: 0.32rem;
}

.uv-mode-guide {
  display: grid;
  max-width: 190px;
  margin: 0;
  gap: 0.04rem;
  text-align: center;
}

.uv-mode-guide strong {
  color: var(--cyan);
  font-size: 0.9rem;
  font-weight: 800;
}

.uv-mode-switch {
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.uv-tool-button {
  min-height: 38px;
  padding: 0.5rem 0.76rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(247, 249, 251, 0.72);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 750;
  white-space: nowrap;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.uv-mode-switch .uv-tool-button {
  min-height: 32px;
  padding: 0.4rem 0.72rem;
  border: 0;
  background: transparent;
}

.uv-tool-button:hover:not(:disabled),
.uv-tool-button:focus-visible,
.uv-tool-button.is-active {
  border-color: rgba(85, 214, 232, 0.42);
  background: rgba(85, 214, 232, 0.12);
  color: var(--white);
}

.uv-mode-switch .uv-tool-button.is-active {
  background: var(--orange);
  color: #17120f;
}

.uv-tool-button:disabled {
  cursor: wait;
  opacity: 0.42;
}

.uv-tool-button--quiet {
  margin-left: auto;
}

.uv-tool-button--quiet + .uv-tool-button--quiet {
  margin-left: 0;
}

.uv-colors {
  gap: 0.38rem;
}

.uv-color {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 2px solid #0d1116;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.uv-color:hover,
.uv-color:focus-visible,
.uv-color.is-active {
  box-shadow: 0 0 0 2px var(--white);
  transform: scale(1.06);
}

.uv-color--orange {
  background: #ff7a28;
}

.uv-color--cyan {
  background: #55d6e8;
}

.uv-color--white {
  background: #f7f9fb;
}

.uv-color--ink {
  background: #111820;
}

.uv-brush-size {
  display: grid;
  min-width: 130px;
  color: rgba(247, 249, 251, 0.68);
  gap: 0.18rem;
  font-size: 0.7rem;
}

.uv-brush-size span {
  display: flex;
  justify-content: space-between;
}

.uv-brush-size output {
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.uv-brush-size input {
  width: 100%;
  height: 14px;
  margin: 0;
  accent-color: var(--orange);
  cursor: pointer;
}

.uv-playback {
  display: grid;
  min-height: 68px;
  padding: 0.72rem 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  align-items: center;
  grid-template-columns: auto minmax(180px, 1fr) auto minmax(220px, auto);
  gap: 0.8rem;
  background: #0a0e13;
}

.uv-status {
  margin: 0;
  color: rgba(247, 249, 251, 0.58);
  font-size: 0.76rem;
  text-align: right;
}

.uv-editor-loading {
  background: rgba(8, 11, 15, 0.96);
}

.stage-grid {
  display: grid;
  margin-bottom: 1.3rem;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stage-card {
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border: 1px solid rgba(17, 24, 32, 0.1);
  border-radius: var(--radius-md);
  background: var(--paper-bright);
}

.stage-card > span {
  display: inline-block;
  padding: 0.45rem 0.78rem;
  border-radius: 999px;
  background: var(--orange-soft);
  color: #ba4f0e;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.stage-card:first-child > span {
  background: var(--cyan-soft);
  color: #087e8c;
}

.stage-card h3 {
  margin-top: 1.2rem;
}

.method-figure {
  overflow: hidden;
  margin: 1.3rem 0 0;
  border: 1px solid rgba(17, 24, 32, 0.12);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 20px 60px rgba(17, 24, 32, 0.1);
}

.method-figure a {
  display: block;
}

.method-figure img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 260ms ease;
}

.method-figure a:hover img,
.method-figure a:focus-visible img {
  transform: scale(1.008);
}

.quantitative {
  border-top: 1px solid rgba(17, 24, 32, 0.08);
}

.quantitative .section-heading--center {
  max-width: 1200px;
}

.quantitative .section-heading--center > p {
  max-width: 940px;
}

.ranking-legend {
  display: flex;
  margin: 0 0 1rem;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.ranking-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.rank-swatch {
  display: inline-block;
  width: 0.8rem;
  height: 0.8rem;
  border: 1px solid rgba(17, 24, 32, 0.1);
  border-radius: 3px;
}

.rank-swatch--first,
.rank-first {
  background: var(--rank-first);
}

.rank-swatch--second,
.rank-second {
  background: var(--rank-second);
}

.rank-swatch--third,
.rank-third {
  background: var(--rank-third);
}

.table-frame {
  overflow: auto;
  border: 1px solid rgba(17, 24, 32, 0.13);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(17, 24, 32, 0.08);
}

.table-frame:focus-visible {
  outline: 3px solid rgba(85, 214, 232, 0.55);
  outline-offset: 3px;
}

.results-table {
  width: 100%;
  min-width: 1320px;
  border-collapse: collapse;
  color: #202934;
  font-size: 0.86rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.35;
  text-align: center;
}

.results-table th,
.results-table td {
  min-width: 69px;
  padding: 0.78rem 0.68rem;
  border-right: 1px solid #edf0f2;
  border-bottom: 1px solid #e7eaed;
  white-space: nowrap;
}

.results-table thead th {
  background: #18202a;
  color: #f6f8fa;
  font-weight: 730;
}

.results-table thead tr:first-child th {
  padding-top: 0.85rem;
  padding-bottom: 0.55rem;
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

.results-table thead tr:nth-child(2) th {
  padding-top: 0.5rem;
  padding-bottom: 0.78rem;
  color: #c7ced6;
  font-size: 0.78rem;
}

.results-table tbody th[scope="row"] {
  min-width: 132px;
  background: #fff;
  font-weight: 680;
  text-align: left;
}

.method-type {
  min-width: 105px;
  background: #f3f5f6;
  color: #66717d;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.results-table .group-start > * {
  border-top: 2px solid #cfd5da;
}

.results-table .ours-row th[scope="row"],
.results-table .ours-row td {
  font-weight: 820;
}

.results-table .ours-row th[scope="row"] {
  box-shadow: inset 4px 0 0 var(--orange);
}

.correspondence {
  font-size: 1rem;
  font-weight: 900;
}

.correspondence--yes {
  color: #16875d;
}

.correspondence--no {
  color: #d24b4b;
}

.table-note {
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.65;
  text-align: right;
}

.table-note strong {
  color: var(--ink);
  font-weight: 780;
}

.video-section {
  background:
    radial-gradient(circle at 50% 0, rgba(85, 214, 232, 0.08), transparent 42%),
    var(--dark);
}

.video-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 9;
  background: #030405;
  box-shadow: var(--shadow-lg);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.citation-section {
  border-top: 1px solid rgba(17, 24, 32, 0.08);
}

.citation-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 32, 0.13);
  border-radius: var(--radius-md);
  background: #111820;
  box-shadow: 0 20px 60px rgba(17, 24, 32, 0.1);
}

.citation-card pre {
  margin: 0;
  overflow: auto;
  padding: 2rem;
  color: #e7edf2;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(0.78rem, 1.4vw, 0.94rem);
  line-height: 1.75;
  white-space: pre;
}

.citation-copy {
  position: absolute;
  z-index: 2;
  top: 1rem;
  right: 1rem;
  min-height: 42px;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 750;
  transition: background-color 160ms ease, transform 160ms ease;
}

.citation-copy:hover,
.citation-copy:focus-visible {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.site-footer {
  padding: 2.8rem 0;
  border-top: 1px solid var(--dark-line);
  background: #07090c;
}

.footer-grid {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.brand--footer {
  display: inline-block;
  margin-bottom: 0.55rem;
}

.footer-grid p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1.2rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.footer-links a {
  color: var(--white);
}

@media (max-width: 900px) {
  #quantitative-title {
    white-space: normal;
  }

  .section-heading--split {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.5rem;
  }

  .section-heading--split > p {
    max-width: 700px;
  }

  .contribution-grid {
    grid-template-columns: 1fr;
  }

  .contribution-card {
    min-height: 0;
  }

  .stage-grid {
    grid-template-columns: 1fr;
  }

  .tracker-controls {
    grid-template-columns: auto minmax(120px, 1fr) auto;
  }

  .tracker-toggle {
    grid-column: 2;
  }

  .tracker-button--quiet {
    grid-column: 3;
  }

  .uv-editor-toolbar {
    flex-wrap: wrap;
  }

  .uv-tool-button--quiet {
    margin-left: 0;
  }

  .uv-brush-size {
    flex: 1;
  }

  .uv-playback {
    grid-template-columns: auto minmax(120px, 1fr) auto;
  }

  .uv-status {
    grid-column: 1 / -1;
    text-align: left;
  }
}

@media (max-width: 1100px) {
  .caption-line {
    display: inline;
  }

  .result-description-line {
    display: inline;
  }

  .comparison-scroll-hint {
    display: block;
  }
}

@media (max-width: 720px) {
  #reconstruction-results {
    width: calc(100vw - 1.35rem);
  }

  .section-shell,
  .section-shell--wide,
  .nav-shell {
    width: min(100% - 1.35rem, 1180px);
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    padding: 0.65rem 1rem 1.2rem;
    border-bottom: 1px solid var(--dark-line);
    background: rgba(11, 14, 18, 0.97);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.8rem 0.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .site-nav a::after {
    display: none;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }

  .hero {
    min-height: auto;
    padding-top: 7.5rem;
  }

  .hero h1 {
    font-size: clamp(3.8rem, 22vw, 6rem);
  }

  .authors {
    gap: 0.25rem 0.9rem;
    font-size: 0.85rem;
  }

  .authors span:not(:last-child)::after {
    margin-left: 0.9rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .teaser-card {
    border-radius: 16px;
  }

  .teaser-block figcaption,
  .method-figure figcaption {
    font-size: 0.78rem;
  }

  .teaser-block figcaption {
    margin-top: 1rem;
    padding: 0 0.35rem;
    line-height: 1.65;
  }

  .method-figure figcaption {
    padding: 0.8rem;
  }

  .result-module {
    padding: 1rem;
    border-radius: 20px;
  }

  .result-copy {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .result-stage {
    min-height: 250px;
  }

  .result-stage--tracker {
    min-height: 0;
  }

  .result-stage--uv-editor {
    min-height: 0;
  }

  .tracker-viewport {
    min-height: 360px;
    aspect-ratio: 4 / 3;
  }

  .tracker-overlay--selection {
    top: 0.7rem;
    left: 0.7rem;
    min-width: 158px;
    padding: 0.68rem 0.78rem;
  }

  .tracker-legend {
    top: 0.7rem;
    right: 0.7rem;
    padding: 0.55rem 0.66rem;
    flex-direction: column;
    gap: 0.3rem;
    border-radius: 11px;
  }

  .tracker-overlay--instruction {
    right: 0.7rem;
    bottom: 0.7rem;
    left: 0.7rem;
    justify-content: center;
    flex-direction: column;
    gap: 0.18rem;
    text-align: center;
    transform: none;
  }

  .tracker-overlay--instruction.is-hidden {
    transform: translateY(8px);
  }

  .tracker-overlay--instruction span {
    white-space: normal;
  }

  .tracker-gesture-hint {
    display: none;
  }

  .tracker-controls {
    grid-template-columns: auto 1fr auto;
    gap: 0.6rem;
  }

  .tracker-frame {
    min-width: 92px;
  }

  .tracker-toggle {
    grid-column: 1 / 3;
  }

  .tracker-button--quiet {
    grid-column: 3;
  }

  .uv-editor-viewport {
    min-height: 720px;
    aspect-ratio: auto;
  }

  .uv-editor-viewport::after {
    top: 50%;
    right: 0;
    bottom: auto;
    left: 0;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22) 18%, rgba(255, 255, 255, 0.22) 82%, transparent);
  }

  .uv-panel-label {
    left: 0.7rem;
    padding: 0.58rem 0.68rem;
  }

  .uv-panel-label--paint {
    top: 0.7rem;
  }

  .uv-panel-label--motion {
    top: calc(50% + 0.7rem);
  }

  .uv-panel-label strong {
    font-size: 0.82rem;
  }

  .uv-panel-label small {
    font-size: 0.66rem;
  }

  .uv-atlas-card {
    top: calc(50% - 172px);
    right: 0.7rem;
    bottom: auto;
    left: auto;
    width: 128px;
    transform: none;
  }

  .uv-atlas-card canvas {
    width: 128px;
    height: 128px;
  }

  .uv-editor-hint {
    bottom: calc(50% + 0.7rem);
    left: 0.7rem;
  }

  .uv-editor-toolbar {
    padding: 0.7rem;
    gap: 0.58rem;
  }

  .uv-mode-control {
    order: 1;
  }

  .uv-colors {
    order: 2;
  }

  .uv-brush-size {
    min-width: 150px;
    order: 3;
  }

  .uv-editor-toolbar > [data-uv-eraser] {
    order: 4;
  }

  .uv-editor-toolbar > [data-uv-clear] {
    order: 5;
  }

  .uv-editor-toolbar > [data-uv-reset] {
    order: 6;
  }

  .uv-playback {
    grid-template-columns: auto 1fr;
    gap: 0.62rem;
  }

  .uv-frame {
    min-width: 0;
    text-align: left;
  }

  .uv-status {
    grid-column: 1 / -1;
  }

  .result-stage--comparison {
    min-height: 0;
    padding: 0.7rem;
    border-radius: 16px;
  }

  .comparison-guide {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.55rem;
  }

  .comparison-guide p {
    align-items: flex-start;
    line-height: 1.5;
  }

  .comparison-guide p > span {
    flex: 0 0 auto;
    margin-top: 0.4rem;
  }

  .comparison-view-control {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .comparison-view-control p {
    width: 100%;
    margin-left: 0;
  }

  .comparison-matrix {
    min-width: 1190px;
    grid-template-columns: 110px repeat(4, 258px);
  }

  .comparison-row-heading,
  .video-comparison,
  .comparison-media {
    min-height: 258px;
  }

  .comparison-corner,
  .comparison-row-heading {
    box-shadow: 7px 0 15px rgba(8, 11, 15, 0.62);
  }

  .method-figure,
  .video-frame,
  .table-frame {
    border-radius: 16px;
  }

  .citation-card {
    border-radius: 16px;
  }

  .citation-card pre {
    padding: 4.6rem 1rem 1.2rem;
  }

  .ranking-legend {
    justify-content: flex-start;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .tracker-loading-ring {
    animation: none;
  }

  .comparison-loading > span {
    animation: none;
  }
}
