/* Minimal academic project-page layout. */
@font-face { font-family: Academicons; src: url("../webfonts/academicons.woff") format("woff"); font-style: normal; font-weight: 400; font-display: block; }
:root {
  --ink: #303030;
  --muted: #666;
  --link: #1768a5;
  --rule: #e2e8f0;
  --tint: #f8fafc;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--ink);
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; }
button:disabled { cursor: default; }
a, button, video { touch-action: manipulation; }
a:focus-visible, button:focus-visible, video:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 4px;
}
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.3; }
h2 { margin-bottom: 30px; font-size: 29px; font-weight: 600; text-align: center; }
h3 { margin-bottom: 20px; font-size: 24px; font-weight: 600; }
p + p { margin-top: 16px; }
img, video { display: block; max-width: 100%; }
sup { font-size: .65em; }
.container { width: min(1000px, calc(100% - 48px)); margin-inline: auto; }
.reading-width { max-width: 890px; }
.section { padding: 64px 0; }

.hero { padding: 96px 0 64px; text-align: center; }
#paper-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 980px;
  margin: 0 auto;
  font-size: 39px;
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.23;
}
#paper-title strong { font-size: 1.35em; font-weight: 700; line-height: 1; }
#paper-title .title-brand { display: inline-flex; flex-flow: row nowrap; align-items: baseline; justify-content: center; gap: 0; white-space: nowrap; }
.title-text { display: block; min-width: 0; }
/* Trim transparent vertical padding in layout while preserving the logo scale. */
.method-logo-frame { display: block; width: 3.6em; aspect-ratio: 1507 / 993; flex-shrink: 0; overflow: hidden; }
.method-logo { width: 100%; height: auto; transform: translateY(-1.82%); }
.authors { margin-top: 27px; font-size: 20px; line-height: 1.9; }
.authors sup, .affiliations sup { font-size: .8em; line-height: 0; }
.affiliations {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px 17px;
  max-width: 860px;
  margin: 12px auto 0;
  font-size: 18px;
  color: #555;
}
.publication-links { display: flex; flex-wrap: wrap; justify-content: center; margin-top: 18px; }
.link-block a { margin: 5px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.5em;
  padding: calc(.5em - 1px) 1em;
  border: 1px solid #dbdbdb;
  background: #fff;
  color: #363636;
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
}
.button.is-rounded { padding-inline: 1.25em; border-radius: 9999px; }
.button.is-dark { border-color: transparent; background: #363636; color: #fff; transition: background-color .18s ease; }
a.button.is-dark:hover { border-color: transparent; background: #1768a5; color: #fff; text-decoration: none; }
a.button.is-dark:active { background: #125384; }
.icon { display: inline-flex; align-items: center; justify-content: center; width: 1.5rem; height: 1.5rem; margin-right: .25em; }
.ai { display: inline-block; font-family: Academicons; font-size: 20px; font-style: normal; font-weight: 400; line-height: 1; text-rendering: auto; }
.ai-arxiv::before { content: "\e974"; }
.icon .svg-inline--fa { width: 20px; height: 20px; }
.huggingface-icon { display: block; width: 20px; height: 20px; object-fit: contain; }
.tbd { margin-left: .55em; color: rgba(255,255,255,.68); font-size: .72em; }
.tbd::before { content: "· "; }
[hidden] { display: none !important; }
.teaser-carousel { margin-top: 62px; }
.teaser-carousel-row { position: relative; padding-inline: 42px; }
.teaser-track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.teaser-track::-webkit-scrollbar { display: none; }
.teaser-track:focus-visible { outline: 2px solid var(--link); outline-offset: 4px; }
.teaser-slide { flex: 0 0 calc((100% - 18px) / 2); min-width: 0; scroll-snap-align: start; }
.teaser-slide video { width: 100%; aspect-ratio: 16 / 9; background: #fff; border-radius: 8px; }
.carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 44px; display: grid; place-items: center; padding: 0; border: 1px solid var(--rule); border-radius: 50%; background: #fff; color: var(--link); font-size: 34px; line-height: 1; cursor: pointer; }
.carousel-prev { left: 0; }
.carousel-next { right: 0; }
.carousel-arrow:hover:not(:disabled) { background: var(--link); color: #fff; }
.carousel-arrow:disabled { opacity: .3; cursor: default; }
@media (max-width: 640px) {
  .teaser-carousel-row { padding-inline: 32px; }
  .teaser-slide { flex-basis: 100%; }
  .carousel-arrow { width: 28px; height: 38px; font-size: 28px; }
}
.teaser-summary { max-width: 870px; margin: 16px auto 0; font-size: clamp(20px, 2.5vw, 26px); font-weight: 400; line-height: 1.45; text-align: center; }

.abstract-section, .overview-section, .results-section {
  background: var(--tint);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.overview-section { background: #fff; }
.section-placeholder { text-align: center; font-size: 20px; color: var(--muted); }
.abstract-section p { text-align: justify; }
.method-part + .method-part { margin-top: 52px; }
.result-feature,
.representation-analysis {
  margin-top: 52px;
  padding-top: 52px;
  border-top: 1px solid var(--rule);
}
.section h2, .section h3 { text-align: center; }
.method-part > h2 { text-align: center; }
.method-part > p { text-align: justify; }
.paper-figure { margin-top: 26px; }
.paper-figure img { width: 100%; height: auto; }
.paper-figure img[src="static/figures/DUET-DINO.svg"] { width: 90%; margin-inline: auto; }
.figure-description {
  max-width: 900px;
  margin: 16px auto 0;
  font-size: 15px;
  color: #505050;
}
h3.figure-description { font-size: 18px; }
.section-intro { max-width: 760px; margin: -12px auto 34px; text-align: center; color: var(--muted); }
.task-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.task-card { min-width: 0; }
.task-card video { width: 100%; aspect-ratio: 8 / 9; object-fit: contain; background: #111; }
.task-card p, .result-feature p { margin-top: 12px; font-size: 14px; line-height: 1.5; }
.result-feature { max-width: 620px; margin-inline: auto; }
.result-feature video { width: min(100%, 420px); margin-inline: auto; background: #111; }
.result-feature p { text-align: center; }
.hardware-feature { max-width: 800px; }
.hardware-feature video { width: 100%; aspect-ratio: 16 / 9; }
.representation-analysis h3 { text-align: center; font-size: 27px; }
.representation-analysis .paper-figure { max-width: 900px; margin: 34px auto 0; }
.representation-analysis .figure-description + .paper-figure { margin-top: 48px; }
footer { padding-block: 24px 32px; text-align: center; }
footer p { font-size: 12px; color: var(--muted); }
.skip-link { position: fixed; top: -100px; left: 15px; z-index: 20; background: white; padding: 8px; }
.skip-link:focus { top: 10px; }

@media (max-width: 760px) {
  #paper-title { font-size: 33px; }
  .hero { padding-top: 80px; }
  .authors { font-size: 18px; }
  .task-grid { grid-template-columns: 1fr; gap: 34px; }
  .task-card { width: min(100%, 430px); margin-inline: auto; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .section { padding: 46px 0; }
  #paper-title { font-size: 28px; line-height: 1.25; }
  .method-logo-frame { width: 2.3em; }
  .hero { padding-top: 68px; padding-bottom: 46px; }
  .authors { margin-top: 21px; font-size: 17px; }
  .desktop-break { display: none; }
  .affiliations { font-size: 16px; gap: 4px 12px; }
  .publication-links { margin-inline: -5px; }
  .button { font-size: 13px; }
  h2 { font-size: 26px; }
  h3 { font-size: 21px; }
  h3.figure-description { font-size: 17px; }
  .abstract-section p { text-align: left; }
  .method-part + .method-part { margin-top: 40px; }
  .result-feature,
  .representation-analysis { margin-top: 40px; padding-top: 40px; }
  .figure-description { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button.is-dark { transition: none; }
}
