@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/fonts/barlow-condensed-semibold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #21382b;
  --text: #405046;
  --green: #387151;
  --mint: #e7f1e5;
  --line: #d4dfd3;
  --sans: "DM Sans", Arial, sans-serif;
  --title-size: clamp(20px,2.84vw,40px);
}
* {box-sizing: border-box}
[hidden] {display: none !important}
html {scroll-behavior: smooth}
body {margin: 0; background: #fff; color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased}
img {max-width: 100%; height: auto}
a {color: var(--green); text-underline-offset: 3px}
a:hover {text-decoration-thickness: 2px}
:focus-visible {outline: 3px solid var(--green); outline-offset: 4px}
p,h1,h2,h3,figure {margin: 0}
sup {font-size: .65em; line-height: 0; vertical-align: super}
.wrap {width: min(1220px,calc(100% - 88px)); margin-inline: auto}
.skip:not(:focus) {position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%)}
.skip:focus {position: absolute; top: 8px; left: 16px; z-index: 2; background: white; padding: 8px 15px}
.hero {background: var(--mint); text-align: center}
.hero-body {padding-block: clamp(38px,4.4vw,70px) clamp(30px,3.1vw,49px)}
.publication-title {max-width: 1110px; margin-inline: auto; color: #1e3428; font-size: var(--title-size); line-height: 1.09; font-weight: 630; letter-spacing: -.047em; text-wrap: balance}
.title-line {display: block}
.title-start {white-space: nowrap}
.title-start img {height: 1.06em; width: 1.06em; vertical-align: -.14em; border-radius: .23em; margin-right: .16em}
.publication-authors {max-width: 1000px; margin: 24px auto 0; font-size: clamp(17px,1.44vw,22px); font-weight: 530; line-height: 1.72}
.author-block {display: inline-block; margin-right: .14em}
.author-block a {color: #256646}
.author-block sup {margin-left: .1em}
.affiliations {display: flex; flex-wrap: wrap; justify-content: center; gap: 1px 19px; padding: 0; margin: 11px auto 0; list-style: none; font-size: clamp(14px,1.08vw,17px); color: #364c3d}
.affiliations sup {margin-right: .1em}
.mail {display: inline-block; margin-top: 7px; font-size: 14px}
.publication-links {margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 7px}
.resource {display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 18px; border: 1px solid transparent; border-radius: 22px; background: #2a342e; color: white; text-decoration: none; font: 550 15px/21px var(--sans)}
.resource img {width: 18px; height: 18px; filter: brightness(0) invert(1)}
.resource:disabled {background: #4c5750; color: white; cursor: not-allowed}
a.resource:hover {background: #24543a}
.teaser {font-size: var(--title-size); width: min(26.4em,calc(100% - 24px)); margin: clamp(20px,2.4vw,38px) auto 0}
.teaser video {width: 100%; height: auto; display: block; border-radius: 9px; background: #192d23}
.motion-control {display: grid; place-items: center; width: 36px; height: 36px; margin: 6px 0 0 auto; border: 1px solid #bed0bd; border-radius: 50%; padding: 0; color: #2f6044; background: white; cursor: pointer}
.motion-control svg {fill: currentColor}
.motion-control .play-mark,.motion-control.is-paused .pause-mark {display: none}
.motion-control.is-paused .play-mark {display: inline}
.motion-control:hover {background: #edf5ec}
h2 {font-size: clamp(30px,3.05vw,46px); letter-spacing: -.046em; font-weight: 640; line-height: 1.15; text-align: center}
h3 {font-size: clamp(21px,1.9vw,28px); font-weight: 610; letter-spacing: -.032em; line-height: 1.25}
.highlights {padding-block: clamp(10px,1.4vw,22px) clamp(38px,4vw,65px)}
.chart-grid {display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(12px,1.6vw,24px)}
.chart a {display: block; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: white}
.chart img {display: block; width: 100%; height: auto}
.chart figcaption {margin-top: 9px; text-align: center; font-size: clamp(15px,1.2vw,18px); font-weight: 560; line-height: 1.35}
.section {padding-block: clamp(42px,4.6vw,74px)}
.abstract {border-block: 1px solid var(--line); background: #f4f7f2}
.abstract-copy {max-width: 78ch; margin: 24px auto 0; color: var(--text); font-size: clamp(16px,1.2vw,18px); line-height: 1.76}
.abstract-copy p+p {margin-top: .9em}
.method-intro {display: grid; grid-template-columns: minmax(0,.7fr) minmax(0,1.3fr); align-items: center; gap: clamp(30px,5vw,75px); margin-top: 35px}
.method-copy p,.real-copy p {color: var(--text); font-size: clamp(16px,1.2vw,18px); line-height: 1.65}
.method-copy h3 {color: var(--green); margin-bottom: 6px}
.method-copy h3:not(:first-child) {margin-top: 23px}
.paper-figure {min-width: 0}
.paper-figure a {display: block; padding: clamp(8px,1.3vw,20px); background: white; border: 1px solid var(--line); border-radius: 8px}
.paper-figure img {display: block; width: auto; margin-inline: auto}
.paper-figure figcaption {margin-top: 10px; color: var(--text); font-size: 14px; line-height: 1.6}
.paper-figure figcaption strong {color: var(--ink); font-weight: 650}
#fig-architecture {margin: clamp(33px,3.9vw,60px) auto 0; max-width: 1020px}
.training-note {max-width: 78ch; margin: clamp(30px,3.4vw,49px) auto 0; border-left: 3px solid #91b99b; padding-left: clamp(17px,2vw,28px)}
.training-note p {margin-top: 10px; color: var(--text); font-size: clamp(16px,1.2vw,18px); line-height: 1.7}
.real-copy {text-align: justify}
.real-copy p+p {margin-top: .85em}
.experiment {background: #fafbf8; border-top: 1px solid var(--line)}
.experiment h3 {text-align: center}
.sim-demos {margin-top: clamp(27px,2.7vw,42px)}
.real-demos {margin-top: clamp(37px,4.2vw,63px); border-top: 1px solid var(--line); padding-top: clamp(32px,3.6vw,54px)}
.real-setup {display: grid; grid-template-columns: minmax(0,39fr) minmax(0,61fr); align-items: start; gap: clamp(24px,3.2vw,46px); max-width: 1150px; margin: 22px auto 30px}
.video-grid {display: grid; gap: 21px 14px}
.sim-grid {grid-template-columns: repeat(5,minmax(0,1fr)); margin-top: 22px}
.real-grid {grid-template-columns: repeat(4,minmax(0,1fr))}
.clip {min-width: 0}
.clip video {display: block; border-radius: 8px; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: #18291d}
.real-grid video {aspect-ratio: 4/3}
.clip-file {color: inherit; text-decoration-thickness: 1px; text-decoration-color: #9cb3a1}
.clip-file:hover {color: var(--green); text-decoration-color: currentColor}
.clip-status {display: block; margin-top: 6px; font-size: 13px; font-weight: 400}
.clip figcaption {margin-top: 8px; font-size: 15px; font-weight: 600; line-height: 1.4}
.clip figcaption small {display: block; margin-top: 4px; color: var(--text); font-size: 13px; font-weight: 400}
footer {display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 25px 32px}
.wordmark {display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-size: 22px; font-weight: 680; letter-spacing: -.055em}
.wordmark img {width: 30px; height: 30px; border-radius: 7px}
footer p {color: var(--text); font-size: 12px}
.code-page {min-height: 100svh; display: grid; place-items: center; padding: 24px; background: var(--mint)}
.code-card {width: min(100%,620px); border-block: 1px solid #bdccba; padding: 45px 0}
.code-card h1 {margin: 26px 0 13px; font: 650 clamp(43px,6vw,72px)/1.08 var(--sans); letter-spacing: -.05em}
.code-card em {font-style: normal; color: var(--green)}
.code-card p {margin-bottom: 25px; color: var(--text)}
@media(max-width: 960px) {
  .wrap {width: calc(100% - 48px)}
  .chart-grid,.sim-grid,.real-grid {grid-template-columns: repeat(2,minmax(0,1fr))}
  .real-setup {grid-template-columns: 1fr; max-width: 78ch; gap: 20px}
}
@media(max-width: 720px) {
  .wrap {width: calc(100% - 34px)}
  .hero-body {padding-block: 32px 27px}
  .publication-authors {margin-top: 17px; line-height: 1.6; font-size: 16px}
  .affiliations {display: block; line-height: 1.5}
  .mail {margin-top: 8px}
  .method-intro {grid-template-columns: 1fr; gap: 20px}
  .method-intro {margin-top: 24px}
  .real-setup {margin-top: 18px}
  .real-copy {text-align: start}
  .title-start img {width: 1.02em; height: 1.02em}
  .paper-figure figcaption {font-size: 13px}
  footer {display: block}
  footer p {margin-top: 8px}
}
@media(max-width: 600px) {
  .hero-body {width: calc(100% - 16px)}
  .publication-title {font-family: "Barlow Condensed", var(--sans); font-size: clamp(13px,4.7vw,28px); font-weight: 600; letter-spacing: -.015em; line-height: 1.17}
  .teaser {font-size: clamp(13px,4.7vw,28px); width: min(20.5em,calc(100% - 14px))}
}
@media(max-width: 480px) {
  .chart-grid {grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; gap: 19px}
  .resource {padding: 8px 14px}
  .video-grid {gap: 16px 10px}
  .clip figcaption {font-size: 14px}
}
@media(prefers-reduced-motion: reduce) {html {scroll-behavior: auto}}

.experiment-study {
  margin: clamp(34px, 4.1vw, 64px) auto 0;
  max-width: 1150px;
}
.experiment-study + .experiment-study,
.experiment-study + .sim-demos {
  border-top: 1px solid var(--line);
  padding-top: clamp(34px, 3.8vw, 58px);
  margin-top: clamp(38px, 4.2vw, 68px);
}
.study-copy {
  max-width: 80ch;
  margin: 17px auto 0;
  color: var(--text);
  font-size: clamp(16px, 1.16vw, 18px);
  line-height: 1.72;
}
.study-copy p + p {margin-top: .8em}
.study-copy strong {color: var(--ink); font-weight: 650}
.table-caption {
  margin: 26px 0 8px;
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.45;
  color: var(--ink);
}
.table-caption strong {font-weight: 700}
.experiment-table-scroll {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid #cddaca;
  border-radius: 8px;
  background: white;
  scrollbar-color: #819c85 #ebf1e9;
}
.experiment-table-scroll:focus-visible {outline-offset: 2px}
.results-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.34;
  font-variant-numeric: tabular-nums;
}
.results-table th, .results-table td {
  padding: 9px 13px;
  text-align: right;
  vertical-align: middle;
}
.results-table thead th {
  color: #243a2c;
  background: #edf3eb;
  font-weight: 650;
}
.results-table thead th[scope="colgroup"] {
  text-align: center;
  border-bottom: 1px solid #cddaca;
  border-inline-start: 1px solid #cddaca;
}
.results-table thead small {font-size: .88em; font-weight: 450}
.results-table tbody th {text-align: left; font-weight: 530}
.results-table tbody :is(th, td) {border-top: 1px solid #e3e9e0}
.results-table thead tr:first-child th:first-child {text-align: left}
.results-table .fofo-row :is(th, td) {
  background: #e6f2e4;
  border-top-color: #c3d8c4;
}
.results-table .fofo-row th {color: #225839; font-weight: 650}
.results-table td strong {font-weight: 740}
.benchmark-table {min-width: 710px}
.benchmark-table :is(tbody td:nth-child(2), thead th[rowspan]:nth-child(2)) {text-align: left}
.benchmark-table .policy-attribution {color: #4e6053; font-weight: 400}
.benchmark-table .result-gain {font-size: .89em; color: #275e43; white-space: nowrap}
.benchmark-table tbody td:not(:nth-child(2)) {white-space: nowrap}
.components-table {min-width: 990px}
.components-table :is(th, td) {padding: 10px 8px}
.components-table tbody th {min-width: 150px}
.components-table thead th[scope="col"] {vertical-align: bottom}
.components-table thead tr:nth-child(2) th:nth-child(-n + 3),
.components-table tbody td:is(:nth-child(2), :nth-child(3), :nth-child(4)) {text-align: center}
.table-note {
  margin-top: 9px;
  color: #4e6053;
  font-size: 13px;
  line-height: 1.55;
}
.table-swipe-hint {display: none; margin: 0 0 7px; color: #4e6053; font-size: 12px}
@media (max-width: 1077px) {
  .components-hint {display: block}
}
@media (max-width: 758px) {
  .benchmark-hint {display: block}
}
@media (max-width: 720px) {
  .results-table {font-size: 13px}
  .results-table th, .results-table td {padding: 8px 9px}
  .results-table tbody th,
  .results-table thead tr:first-child th:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    box-shadow: 1px 0 #cddaca;
  }
  .results-table tbody th {background: white}
  .results-table .fofo-row th {background: #e6f2e4}
  .benchmark-table tbody th, .components-table tbody th {min-width: 125px; max-width: 145px}
  .table-note {font-size: 12px}
}
.components-table thead tr:nth-child(2) th:nth-child(3) {min-width: 82px}
.components-table thead tr:nth-child(2) th:nth-last-child(-n + 4) {white-space: nowrap}
