:root {
  --bg: #10110f;
  --surface: #151614;
  --surface-2: #191a17;
  --text: #eeece6;
  --muted: #aaa79f;
  --faint: #77756f;
  --line: #2b2c28;
  --accent: #c9a267;
  --paper: #f5f3ee;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--bg); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3, p, figure { margin-top: 0; }
.container { width: min(1040px, calc(100% - 40px)); margin-inline: auto; }

.site-header { border-bottom: 1px solid var(--line); }
.nav { min-height: 68px; display: flex; align-items: center; justify-content: space-between; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .16em; }
.wordmark span { width: 7px; height: 12px; display: inline-block; border-radius: 70% 30% 65% 35%; transform: rotate(36deg); background: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 25px; color: var(--muted); font-size: 12px; }
.nav-links a:hover { color: var(--text); }
.paper-link { padding: 8px 12px; border: 1px solid #45453f; border-radius: 5px; color: var(--text); }
.muted-link { color: var(--faint); cursor: default; }

.hero { max-width: 860px; padding-block: 94px 68px; text-align: center; }
.venue, .section-label { color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.hero h1 { margin: 15px 0 12px; font: 500 clamp(58px, 8vw, 82px)/1 Georgia, 'Times New Roman', serif; letter-spacing: -.045em; }
.paper-title { max-width: 720px; margin: 0 auto; font: 400 clamp(21px, 3vw, 29px)/1.35 Georgia, 'Times New Roman', serif; }
.hero-summary { max-width: 660px; margin: 25px auto 13px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.authors { margin-bottom: 28px; color: var(--faint); font-size: 12px; }
.hero-actions { display: flex; justify-content: center; gap: 9px; }
.button { min-height: 42px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: space-between; gap: 26px; border: 1px solid var(--accent); border-radius: 5px; background: var(--accent); color: #1a1712; font-size: 12px; font-weight: 700; transition: opacity .2s ease; }
.button.secondary { border-color: #45453f; background: transparent; color: var(--text); font-weight: 400; }
.button:hover { opacity: .8; }
.status-button { color: var(--muted); cursor: default; }
.status-button:hover { opacity: 1; }

.teaser { padding-bottom: 98px; }
.figure { margin-bottom: 0; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.figure img { width: 100%; display: block; }
.figure figcaption { padding: 13px 3px 0; color: #6d6b65; font-size: 11px; line-height: 1.55; }
.section { padding-block: 96px; }
.two-column, .section-intro { display: grid; grid-template-columns: 170px 1fr; gap: 40px; }
.prose { color: var(--muted); font: 400 17px/1.85 Georgia, 'Times New Roman', serif; }
.prose p:last-child { margin-bottom: 0; }
.abstract-copy p:first-child { color: var(--text); }

.contributions { padding: 0 0 100px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.contributions article { padding-top: 20px; border-top: 1px solid var(--line); }
.contributions article > span { color: var(--accent); font-size: 10px; }
.contributions h2 { margin: 18px 0 9px; font: 400 21px Georgia, serif; }
.contributions p { margin-bottom: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.soft-section { border-block: 1px solid var(--line); background: var(--surface); }
.section-intro { margin-bottom: 45px; }
.section-intro h2 { margin: -7px 0 14px; font: 400 clamp(34px, 5vw, 46px)/1.15 Georgia, serif; letter-spacing: -.025em; }
.section-intro > div:last-child > p { max-width: 730px; margin-bottom: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.equation-row { margin-bottom: 45px; padding: 22px 26px; display: grid; grid-template-columns: 1fr auto 1.2fr auto .7fr; align-items: center; gap: 20px; border: 1px solid var(--line); border-radius: 7px; background: var(--bg); }
.equation-row > div { display: flex; flex-direction: column; gap: 8px; }
.equation-row span { color: var(--accent); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.equation-row strong { font: 400 19px Georgia, serif; }
.equation-row p { margin: 0; color: var(--faint); font-size: 10px; }
.equation-row b { color: var(--faint); font: 400 21px Georgia, serif; }
.method-figure { padding: 24px; }

.dataset-stats { margin-top: 28px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.dataset-stats > div { padding: 24px 20px 0 0; display: flex; flex-direction: column; gap: 7px; }
.dataset-stats strong { font: 400 25px Georgia, serif; }
.dataset-stats span { color: var(--muted); font-size: 11px; }

.results-heading { margin-bottom: 20px; }
.experiments { border-top: 1px solid var(--line); }
.experiment { padding-block: 62px; border-bottom: 1px solid var(--line); }
.experiment-heading { margin-bottom: 28px; display: grid; grid-template-columns: 50px 1fr auto; gap: 20px; align-items: start; }
.experiment-heading > span { padding-top: 5px; color: var(--accent); font-size: 10px; }
.experiment h3 { margin-bottom: 10px; font: 400 25px Georgia, serif; }
.experiment-heading p { max-width: 620px; margin-bottom: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.result-metrics { display: flex; gap: 22px; text-align: right; }
.result-metrics div { min-width: 95px; display: flex; flex-direction: column; gap: 5px; }
.result-metrics strong { font: 400 20px Georgia, serif; }
.result-metrics small { color: var(--faint); font-size: 9px; white-space: nowrap; }
.experiment .figure { padding: 13px; }

.ablation { padding-bottom: 112px; }
.availability { margin-bottom: 96px; padding: 36px; display: grid; grid-template-columns: 1.25fr .75fr; gap: 60px; border: 1px solid #3b3b35; border-radius: 8px; background: var(--surface-2); }
.availability h2 { margin: 10px 0 8px; font: 400 28px Georgia, serif; }
.availability-copy p:last-child { max-width: 580px; margin-bottom: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.availability-list { border-top: 1px solid var(--line); }
.availability-list > div { padding: 14px 0; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); font-size: 11px; }
.availability-list span { color: var(--faint); }
.availability-list strong { font-weight: 400; }
.footer { min-height: 104px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-top: 1px solid var(--line); color: var(--faint); font-size: 10px; }
.footer .wordmark { color: var(--text); }
.footer p { margin: 0; }
.footer > a:last-child { justify-self: end; }

@media (max-width: 760px) {
  .container { width: min(100% - 28px, 1040px); }
  .nav { min-height: 60px; }
  .nav-links a:not(.paper-link) { display: none; }
  .hero { padding-block: 72px 54px; }
  .hero h1 { font-size: 57px; }
  .paper-title { font-size: 21px; }
  .hero-summary { font-size: 14px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .teaser { padding-bottom: 72px; }
  .figure { padding: 9px; }
  .section { padding-block: 72px; }
  .two-column, .section-intro { grid-template-columns: 1fr; gap: 20px; }
  .prose { font-size: 15px; }
  .contributions { grid-template-columns: 1fr; gap: 28px; padding-bottom: 76px; }
  .equation-row { grid-template-columns: 1fr; }
  .equation-row b { transform: rotate(90deg); justify-self: center; }
  .dataset-stats { grid-template-columns: 1fr 1fr; }
  .experiment-heading { grid-template-columns: 30px 1fr; }
  .result-metrics { grid-column: 2; text-align: left; flex-wrap: wrap; }
  .availability { padding: 26px; grid-template-columns: 1fr; gap: 30px; }
  .footer { grid-template-columns: 1fr auto; }
  .footer p { display: none; }
}

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