/* Adapted from Jon Barron's academic website template. */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('assets/fonts/source-sans-3-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('assets/fonts/source-sans-3-italic.woff2') format('woff2');
}
:root { color-scheme: light; --ink: #252525; --muted: #656565; --link: #2768b2; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: #fff; color: var(--ink); font: 16px/1.5 'Source Sans 3', 'Lato', Verdana, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--link); text-decoration: none; }
a:hover { color: #a95b13; text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--link); outline-offset: 4px; border-radius: 2px; }
p { margin: 0 0 14px; }
strong { font-weight: 600; }
h1, h2, h3 { line-height: 1.22; }
h1 { margin: 0 0 18px; font-size: 40px; font-weight: 600; letter-spacing: -.6px; }
h2 { margin: 0 0 22px; font-size: 34px; font-weight: 300; letter-spacing: -.5px; }
h3 { margin: 0; font-size: 18px; font-weight: 600; }
.page { max-width: 800px; margin: 0 auto; padding: 53px 22px 24px; }
.skip-link { position: absolute; left: 16px; top: -100px; padding: 8px 12px; background: white; z-index: 2; }
.skip-link:focus { top: 8px; }
.profile { display: grid; grid-template-columns: minmax(0, 1fr) 174px; align-items: center; gap: 31px; }
.profile h1 { text-align: center; }
.portrait { display: block; width: 174px; height: 174px; object-fit: cover; object-position: center 44%; border-radius: 50%; }
.social-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; margin: 19px 0 0; padding: 0; list-style: none; font-size: 15px; }
.social-links li + li::before { content: '|'; padding: 0 7px; color: #a3a3a3; }
.section-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 29px 0 39px; padding: 13px 0; border-top: 1px solid #ededed; border-bottom: 1px solid #ededed; font-size: 14px; }
section { margin: 0 0 43px; }
.section-intro { margin: -13px 0 24px; font-size: 14px; color: var(--muted); }
.publication { margin: 0 0 26px; }
.publication h3 { font-size: 21px; font-weight: 400; line-height: 1.28; margin: 0 0 7px; }
.publication h3 a { color: var(--ink); }
.publication h3 a:hover { color: var(--link); }
.pub-description { margin-left: 10px; }
.authors { margin: 0 0 5px; font-size: 15px; }
.authors a { color: inherit; }
.venue-line { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 5px; font-size: 14px; }
.badge { display: inline-block; border-radius: 4px; padding: 2px 7px; font-size: 11px; line-height: 1.5; font-weight: 600; letter-spacing: .2px; text-decoration: none; white-space: nowrap; background: #edf2fa; color: #294c7a; }
.badge:hover { color: inherit; text-decoration: none; filter: brightness(.96); }
.badge-neurips { color: #65418a; background: #f1eafa; }
.badge-ral { color: #005a9c; background: #e7f1f9; }
.badge-arxiv { color: #8a1c1c; background: #faeded; }
.badge-icdl { color: #006570; background: #e7f4f4; }
.pub-links { margin: 0; font-size: 14px; }
.pub-links > * + *::before { content: ' / '; color: #999; padding: 0 4px; }
.pub-links a { white-space: nowrap; }
.citation { margin-top: 6px; font-size: 13px; color: var(--muted); }
.citation summary { cursor: pointer; width: fit-content; color: var(--link); }
pre { padding: 14px; background: #f6f7f8; border-radius: 4px; overflow: auto; font: 12px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; tab-size: 2; }
.entry { margin: 0 0 23px; padding-left: 10px; }
.entry-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 20px; }
.entry-heading h3 a { color: inherit; }
.date { flex: 0 0 auto; font-size: 14px; color: var(--muted); }
.entry-subtitle { margin: 3px 0 4px; }
.location { color: var(--muted); }
.entry ul { margin: 5px 0 0; padding-left: 19px; }
.entry li { padding-left: 1px; margin: 2px 0; }
footer { border-top: 1px solid #ededed; padding-top: 17px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--muted); }
footer p { margin: 0; }
.project-page { max-width: 1000px; padding-top: 35px; }
.back-link { font-size: 14px; }
.project-header { text-align: center; margin: 48px auto 39px; }
.project-header h1 { max-width: 790px; margin: 0 auto 22px; font-size: 39px; }
.project-header .authors { font-size: 18px; line-height: 1.8; }
.project-header .venue-line { justify-content: center; margin: 15px 0 19px; }
.project-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; }
.project-links a { padding: 6px 15px; border: 1px solid #d8e2ed; border-radius: 5px; font-size: 15px; }
.project-body { max-width: 860px; margin: auto; }
.project-body section { margin-bottom: 42px; }
.project-body h2 { font-size: 28px; margin-bottom: 15px; }
.project-authors span { white-space: nowrap; }
.project-authors sup { font-size: 11px; margin-left: 2px; }
.affiliations { padding: 0; margin: 14px 0 9px; list-style: none; font-size: 14px; line-height: 1.7; }
.paper-contact { font-size: 14px; margin-bottom: 15px; }
.paper-figure { margin: 24px 0 0; }
.paper-figure img { display: block; width: 100%; height: auto; }
.paper-figure > a { display: block; }
.paper-figure figcaption { margin: 12px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.rollout-figure { max-width: 650px; margin-left: auto; margin-right: auto; }
.method-stages { padding-left: 23px; }
.method-stages li { margin-bottom: 12px; padding-left: 4px; }
.supplementary-figures { border-top: 1px solid #ededed; padding: 13px 0; }
.supplementary-figures summary { cursor: pointer; color: var(--link); }
.supplementary-figures .paper-figure { margin-bottom: 10px; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.media-grid figure { margin: 0; }
.media-grid img, .media-grid video { width: 100%; height: auto; display: block; }
.media-grid figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.acknowledgments p { font-size: 14px; color: var(--muted); }
#experience .entry { margin-bottom: 18px; }
.document-page { min-height: calc(100vh - 100px); }
.document-page h1 { margin-top: 35px; }
.pdf-viewer { width: 100%; height: 75vh; min-height: 400px; border: 1px solid #e5e5e5; margin: 16px 0 30px; }
@media (max-width: 620px) {
  .page { padding: 30px 21px 22px; }
  .profile { grid-template-columns: 1fr; gap: 22px; }
  .portrait { grid-row: 1; width: 142px; height: 142px; margin: 0 auto; }
  h1 { font-size: 36px; margin-bottom: 17px; }
  h2 { font-size: 31px; }
  .social-links { font-size: 14px; }
  .social-links li + li::before { padding: 0 6px; }
  .section-nav { gap: 7px 18px; margin: 25px 0 30px; }
  .entry-heading { flex-direction: column; gap: 3px; }
  .entry, .pub-description { margin-left: 0; padding-left: 0; }
  .publication h3 { font-size: 20px; }
  .project-header { margin-top: 35px; }
  .project-header h1 { font-size: 32px; }
  .project-header .authors { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .page { max-width: none; padding: 0; }
  .section-nav, .skip-link, footer, .citation { display: none; }
  .publication, .entry { break-inside: avoid; }
  a { color: inherit; }
}
