:root {
  color-scheme: dark;
  --bg: #07080b;
  --bg-elevated: #0d0f14;
  --bg-soft: #12151b;
  --line: rgba(224, 229, 239, 0.13);
  --line-strong: rgba(224, 229, 239, 0.24);
  --text: #f1f2f5;
  --text-soft: #b9bec9;
  --text-muted: #777e8d;
  --violet: #a78bfa;
  --violet-bright: #c4b5fd;
  --cyan: #67e8f9;
  --accent: #b8a0ff;
  --max: 1040px;
  --max-wide: 1140px;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  --header-height: 68px;
}

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

html {
  background: var(--bg);
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -8%, rgba(131, 94, 238, 0.15), transparent 34rem),
    linear-gradient(180deg, #090a0e 0%, var(--bg) 16%, #06070a 100%);
  color: var(--text);
  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;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 58%);
  content: "";
  pointer-events: none;
}

::selection {
  background: rgba(167, 139, 250, 0.34);
  color: #fff;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

img {
  height: auto;
}

h1,
h2,
h3,
p,
figure,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  transform: translateY(-150%);
  border-radius: 999px;
  background: white;
  color: #07080b;
  font-weight: 700;
  transition: transform 180ms ease;
}

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

.section-shell {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.section-wide {
  width: min(calc(100% - 48px), var(--max-wide));
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 8, 11, 0.76);
  backdrop-filter: blur(22px) saturate(130%);
}

.nav-shell {
  display: flex;
  width: min(calc(100% - 48px), var(--max));
  height: 100%;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.wordmark {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.wordmark-mark {
  position: relative;
  display: inline-block;
  width: 16px;
  height: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px 2px 8px 2px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.8), rgba(167, 139, 250, 0.5) 42%, rgba(103, 232, 249, 0.14));
  box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.18), 0 0 18px rgba(167, 139, 250, 0.22);
}

.wordmark-mark::after {
  position: absolute;
  top: -5px;
  left: 5px;
  width: 2px;
  height: 34px;
  transform: rotate(22deg);
  background: rgba(255, 255, 255, 0.68);
  content: "";
}

.nav-links {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  position: relative;
  padding: 8px 11px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.02em;
  transition: color 180ms ease;
}

.nav-links a::after {
  position: absolute;
  right: 11px;
  bottom: 3px;
  left: 11px;
  height: 1px;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  content: "";
  transition: transform 180ms ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--text);
}

.nav-links a.is-active::after {
  transform: scaleX(1);
}

.hero-stage {
  position: relative;
  display: grid;
  width: 100%;
  min-height: calc(100svh - var(--header-height));
  padding: clamp(36px, 6vw, 72px) 24px;
  overflow: hidden;
  place-items: center;
  isolation: isolate;
  background: #000;
}

.hero-background-video,
.hero-video-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-background-video {
  z-index: -2;
  object-fit: cover;
  opacity: 0.34;
}

.hero-video-scrim {
  z-index: -1;
  background: linear-gradient(180deg, rgba(3, 3, 6, 0.26), rgba(3, 3, 6, 0.48));
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(90%, 1100px);
  max-width: 1100px;
  padding: clamp(36px, 4vw, 56px) clamp(30px, 4.5vw, 58px) clamp(42px, 4.8vw, 64px);
  margin-inline: auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  background: rgba(8, 8, 12, 0.64);
  box-shadow: 0 28px 85px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(15px);
  text-align: center;
}

.eyebrow,
.section-kicker,
.case-number,
.method-index {
  color: var(--violet-bright);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  color: #f5f6f8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 7vw, 78px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.title-subtitle {
  display: block;
  margin-top: 21px;
  color: #eef0f7;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(18px, 2.5vw, 34px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.18;
  white-space: nowrap;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.88);
}

.title-mirror {
  display: block;
  padding-bottom: 6px;
  background: linear-gradient(100deg, #fff 6%, #b9bec8 30%, #d8cdfd 55%, #b9f2f7 75%, #fff 94%);
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 10px 42px rgba(167, 139, 250, 0.24));
}

.authors {
  display: flex;
  margin-top: 26px;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px 20px;
  color: var(--text-soft);
  font-size: 20px;
  font-weight: 600;
}

sup {
  position: relative;
  top: -0.15em;
  color: var(--violet-bright);
  font-size: 0.62em;
}

.affiliations {
  display: flex;
  margin-top: 5px;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px 20px;
  color: var(--text-muted);
  font-size: 16px;
}

.hero-actions {
  display: flex;
  margin-top: 28px;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.button {
  display: inline-flex;
  min-height: 39px;
  padding: 8px 19px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.055));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 8px 24px rgba(0, 0, 0, 0.28);
  color: var(--text-soft);
  font-size: 16px;
  font-weight: 700;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
  backdrop-filter: blur(16px) saturate(155%);
  -webkit-backdrop-filter: blur(16px) saturate(155%);
}

a.button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.36);
  color: white;
}

.button-primary {
  border-color: rgba(255, 255, 255, 0.45);
  background: linear-gradient(145deg, rgba(216, 205, 253, 0.28), rgba(255, 255, 255, 0.07));
  color: #f4f0ff;
}

.statement,
.results,
.showcase,
.method,
.benchmark,
.citation {
  padding-block: clamp(88px, 11vw, 150px);
}

.project-overview {
  position: relative;
  padding-block: clamp(88px, 10vw, 132px);
  border-top: 1px solid var(--line);
}

.project-overview::before {
  position: absolute;
  z-index: -1;
  inset: 0 calc(50% - 50vw);
  background: radial-gradient(circle at 72% 42%, rgba(167, 139, 250, .09), transparent 34rem);
  content: "";
}

.section-heading-centered {
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
}

.overview-heading {
  max-width: 640px;
}

.overview-columns {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  margin-top: clamp(36px, 5vw, 48px);
  align-items: start;
  gap: clamp(32px, 4vw, 48px);
}

.overview-abstract,
.overview-task {
  min-width: 0;
}

.overview-abstract h3,
.overview-task h3 {
  color: #eff1f5;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.overview-task h3 {
  margin-top: 8px;
}

.overview-task-copy {
  margin-top: 18px;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.65;
}

.section-heading-centered > p:last-child {
  max-width: 720px;
  margin: 22px auto 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
}

.generated-pairs,
.mirror-pairs {
  display: grid;
  margin-top: clamp(42px, 6vw, 72px);
  gap: clamp(38px, 6vw, 72px);
}

.generated-pair,
.mirror-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.paired-media {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #090b0f;
  box-shadow: var(--shadow);
}

.generated-media {
  border-color: rgba(183, 159, 255, 0.48);
  background: linear-gradient(150deg, rgba(167, 139, 250, 0.1), #090b0f 48%);
}

.paired-media video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #030406;
}

.media-label {
  padding: 12px 14px;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.task-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.task-video-card {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #030406;
  box-shadow: var(--shadow);
}

.task-video-card figcaption {
  display: block;
  min-height: 38px;
  padding: 9px 12px 8px;
  border-bottom: 1px solid var(--line);
  color: var(--text-main);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.07em;
  line-height: 1.3;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  text-wrap: nowrap;
  white-space: nowrap;
  text-transform: uppercase;
}

.task-video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: fill;
  background: #000;
}

.statement {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid var(--line);
  gap: 0;
}

.statement-number {
  display: none;
}

.statement-copy {
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
}

.statement h2,
.section-heading h2 {
  margin-top: 8px;
  color: #eff1f5;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.statement-copy > p:last-child {
  max-width: 760px;
  margin: 26px auto 0;
  color: var(--text-soft);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}

.paper-figure {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.paper-figure figcaption {
  padding: 13px 17px;
  border-top: 1px solid rgba(4, 6, 10, 0.12);
  background: #101218;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.5;
}

.teaser-figure {
  grid-column: 1;
  margin-top: 52px;
}

.teaser-figure figcaption {
  text-align: center;
}

.section-heading {
  max-width: 940px;
}

.abstract-copy {
  color: var(--text-soft);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.68;
}

.full-abstract {
  max-width: none;
  margin: 20px 0 0;
  font-size: 16px;
  text-align: left;
}

.abstract-copy mark {
  padding: 0 0.12em;
  border-radius: 0.2em;
  background: linear-gradient(180deg, transparent 55%, rgba(167, 139, 250, 0.24) 55%);
  color: #f4f0ff;
  font-weight: 600;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.fact-grid div {
  min-height: 130px;
  padding: 22px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.03), transparent 70%);
}

.fact-grid dt {
  color: #f2edff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-variant-numeric: tabular-nums;
}

.fact-grid dd {
  margin-top: 7px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.results,
.showcase {
  position: relative;
}

.results::before,
.showcase::before {
  position: absolute;
  z-index: -1;
  inset: 0 calc(50% - 50vw);
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.006));
  content: "";
}

.results-heading,
.method-heading,
.benchmark-heading,
.citation-heading {
  display: flex;
  max-width: none;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  text-align: center;
}

.results-heading > p,
.method-heading > p,
.benchmark-heading > p,
.citation-heading > p {
  max-width: 680px;
  padding-bottom: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.results-copy {
  display: grid;
  max-width: 740px;
  gap: 10px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
}

.results-copy p {
  margin: 0;
}

.comparison-board {
  margin-top: 64px;
  padding: clamp(16px, 2vw, 24px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(10, 12, 16, 0.74);
  box-shadow: var(--shadow);
}

.comparison-board-header {
  display: flex;
  margin-bottom: 20px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.comparison-board-header h3,
.table-intro h3 {
  margin-top: 2px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 500;
}

.video-toggle,
.copy-button {
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-soft);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.video-toggle:hover,
.copy-button:hover {
  border-color: rgba(196, 181, 253, 0.48);
  background: rgba(167, 139, 250, 0.08);
  color: white;
}

.toggle-icon {
  min-width: 12px;
  color: var(--violet-bright);
}

.comparison-table {
  width: min(100%, 1000px);
  margin-inline: auto;
  overflow-x: auto;
  padding-inline: 8px;
  padding-bottom: 6px;
  scrollbar-color: rgba(196, 181, 253, 0.38) transparent;
}

.comparison-method-row {
  display: grid;
  grid-template-columns: 156px repeat(2, minmax(0, 1fr)) 156px;
  gap: 12px;
  min-width: 700px;
  justify-content: center;
}

.comparison-method-label {
  display: flex;
  min-width: 0;
  position: relative;
  z-index: 1;
  padding: 8px 4px 8px 0;
  flex-direction: column;
  justify-content: center;
  overflow-wrap: anywhere;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 760;
  letter-spacing: 0.05em;
  line-height: 1.35;
  text-transform: uppercase;
}

.comparison-method-label small {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.03em;
  text-transform: none;
}

.comparison-method-label.ours-label {
  color: #eee8ff;
}

.comparison-method-label.ours-label small {
  color: var(--violet-bright);
}

.comparison-method-row {
  align-items: stretch;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.comparison-method-row:first-child {
  padding-top: 0;
  border-top: 0;
}

.comparison-method-row + .comparison-method-row {
  margin-top: 12px;
}

.comparison-card {
  min-width: 0;
  position: relative;
  z-index: 0;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0b0d11;
}

.video-frame {
  position: relative;
  overflow: hidden;
  background: #030406;
}

.video-frame::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.025);
  content: "";
  pointer-events: none;
}

.comparison-card video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.input-card {
  border-style: dashed;
}

.ours-card {
  border-width: 3px;
  border-color: rgba(183, 159, 255, 0.6);
  background: linear-gradient(160deg, rgba(167, 139, 250, 0.13), rgba(103, 232, 249, 0.03) 44%, #0b0d11);
  box-shadow: 0 0 30px rgba(140, 105, 239, 0.1);
}

.showcase {
  padding-top: clamp(110px, 13vw, 180px);
}

.showcase::before {
  border-block: 0;
  background: radial-gradient(circle at 75% 40%, rgba(72, 187, 203, 0.08), transparent 28rem);
}

.mirror-try {
  margin-top: clamp(108px, 14vw, 190px);
  padding-top: clamp(88px, 10vw, 130px);
  border-top: 1px solid var(--line);
}

.method,
.benchmark,
.citation {
  border-top: 1px solid var(--line);
}

.framework-figure {
  margin-top: 58px;
}

.method-cards {
  display: grid;
  margin-top: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.method-card {
  position: relative;
  min-height: 330px;
  padding: clamp(24px, 4vw, 46px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.034), rgba(255, 255, 255, 0.006));
}

.method-card::after {
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(196, 181, 253, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 70px rgba(167, 139, 250, 0.08);
  content: "";
}

.method-card:nth-child(2)::after {
  border-color: rgba(103, 232, 249, 0.13);
  box-shadow: 0 0 70px rgba(103, 232, 249, 0.06);
}

.method-card h3 {
  max-width: 440px;
  margin-top: 42px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.method-card > p:not(.method-index) {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin-top: 22px;
  color: var(--text-soft);
  font-size: 15px;
}

.method-tag {
  position: absolute;
  z-index: 1;
  bottom: 30px;
  left: clamp(24px, 4vw, 46px);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.benchmark-strip {
  display: grid;
  margin-top: 56px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.benchmark-strip div {
  display: flex;
  min-height: 150px;
  padding: 24px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.016);
}

.benchmark-strip strong {
  color: #eee9ff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.benchmark-strip span {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.table-card {
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
}

.table-intro {
  display: flex;
  padding: 26px;
  border-bottom: 1px solid var(--line);
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.table-intro > p {
  max-width: 420px;
  color: var(--text-muted);
  font-size: 13px;
}

.table-scroll {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

th,
td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  text-align: right;
}

thead th {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

tbody th,
tbody td {
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 500;
}

th:first-child,
td:first-child,
th:nth-child(2),
td:nth-child(2) {
  text-align: left;
}

tbody th {
  color: #e6e8ed;
  font-weight: 650;
}

tbody td:nth-child(2) {
  color: var(--text-muted);
  font-size: 12px;
  text-transform: uppercase;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

.ours-row {
  background: linear-gradient(90deg, rgba(167, 139, 250, 0.12), rgba(103, 232, 249, 0.025));
}

.ours-row th,
.ours-row td {
  color: #f1edff;
}

.ours-row th span {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 99px;
  background: rgba(167, 139, 250, 0.18);
  color: var(--violet-bright);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.qualitative-figure {
  margin-top: 40px;
}

.citation {
  padding-bottom: clamp(100px, 12vw, 170px);
}

.code-card {
  position: relative;
  margin-top: 44px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(140deg, rgba(167, 139, 250, 0.08), transparent 30%),
    #0b0d12;
  box-shadow: var(--shadow);
}

.code-card::before {
  display: block;
  height: 42px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at 22px 21px, #7b4854 0 3px, transparent 4px), radial-gradient(circle at 36px 21px, #877544 0 3px, transparent 4px), radial-gradient(circle at 50px 21px, #47745f 0 3px, transparent 4px);
  content: "";
}

.copy-button {
  position: absolute;
  z-index: 2;
  top: 7px;
  right: 10px;
  padding-block: 5px;
}

.code-card pre {
  margin: 0;
  padding: clamp(22px, 4vw, 42px);
  overflow-x: auto;
  color: #d8dbe4;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(12px, 1.3vw, 15px);
  line-height: 1.8;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #050609;
}

.footer-inner {
  display: grid;
  padding-block: 50px;
  grid-template-columns: 1.1fr 1fr auto;
  gap: 34px;
  align-items: end;
}

.footer-mark {
  font-size: 22px;
}

.footer-inner > div > p {
  max-width: 380px;
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 12px;
}

.footer-note {
  color: var(--text-muted);
  font-size: 12px;
}

.back-to-top {
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.js .reveal {
  transform: translateY(20px);
  opacity: 0;
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 820px) {
  :root {
    --header-height: 62px;
  }

  .nav-shell {
    width: min(calc(100% - 24px), var(--max));
    gap: 16px;
  }

  .nav-links {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    padding-inline: 8px;
    white-space: nowrap;
  }

  .section-shell,
  .section-wide {
    width: min(calc(100% - 24px), var(--max));
  }

  .hero-copy {
    width: min(92%, 780px);
  }

  .overview-columns {
    grid-template-columns: 1fr;
    gap: 64px;
  }

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

  .statement-number {
    display: none;
  }

  .teaser-figure {
    grid-column: 1;
  }

  .results-heading,
  .method-heading,
  .benchmark-heading,
  .citation-heading,
  .table-intro {
    align-items: center;
    flex-direction: column;
    gap: 18px;
    text-align: center;
  }

  .results-heading > p,
  .method-heading > p,
  .benchmark-heading > p,
  .citation-heading > p {
    max-width: 620px;
  }

  .method-cards {
    grid-template-columns: 1fr;
  }

  .benchmark-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
  }

  .footer-note {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 620px) {
  .wordmark {
    font-size: 0;
  }

  .wordmark-mark {
    width: 15px;
  }

  .footer-mark {
    font-size: 20px;
  }

  .hero-stage {
    min-height: calc(100svh - var(--header-height));
    padding: 36px 14px;
  }

  .hero-copy {
    width: 100%;
    padding: 30px 18px;
    border-radius: 20px;
  }

  .hero h1 {
    font-size: clamp(44px, 13vw, 64px);
  }

  .title-subtitle {
    margin-top: 18px;
    font-size: clamp(14px, 4vw, 18px);
    white-space: normal;
    max-inline-size: 38ch;
    margin-inline: auto;
  }

  .hero-actions {
    align-items: stretch;
    max-width: 240px;
    margin-inline: auto;
    gap: 14px;
  }

  .hero-actions .button {
    min-width: 100px;
    flex: 0 1 auto;
  }

  .authors {
    gap: 2px 12px;
    font-size: 16px;
  }

  .affiliations {
    display: block;
  }

  .affiliations span {
    display: block;
  }

  .project-overview,
  .statement,
  .results,
  .showcase,
  .method,
  .benchmark,
  .citation {
    padding-block: 84px;
  }

  .statement h2,
  .section-heading h2 {
    font-size: 40px;
  }

  .overview-heading {
    margin-inline: 0;
    text-align: left;
  }

  .overview-heading h2 {
    font-size: 40px;
  }

  .overview-columns {
    margin-top: 36px;
    gap: 54px;
  }

  .overview-task h3 {
    font-size: 36px;
  }

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

  .fact-grid div {
    min-height: 110px;
    padding: 17px;
  }

  .fact-grid dt {
    font-size: 25px;
  }

  .comparison-board {
    padding-inline: 12px;
  }

  .comparison-table {
    margin-right: -12px;
    margin-left: -12px;
    padding-inline: 12px;
    overflow-x: auto;
    scroll-padding-inline: 12px;
    scrollbar-width: thin;
  }

  .generated-pair,
  .mirror-pair {
    grid-template-columns: 1fr;
  }

  .full-abstract {
    font-size: 16px;
  }

  .task-video-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .task-video-card figcaption {
    font-size: 11px;
  }

  .method-card {
    min-height: 360px;
  }

  .benchmark-strip div {
    min-height: 124px;
    padding: 18px;
  }

  th,
  td {
    padding: 14px 16px;
  }

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

@media (max-width: 420px) {
  .nav-shell {
    gap: 4px;
  }

  .nav-links {
    flex: 1;
    justify-content: flex-end;
    gap: 0;
  }

  .nav-links a {
    padding-inline: 3px;
    font-size: 10px;
  }
}

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

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

  .js .reveal {
    transform: none;
    opacity: 1;
  }

  .hero-background-video {
    opacity: 0.28;
  }
}
