:root {
  --ink: #251b1b;
  --muted: #665c5c;
  --red: #94070a;
  --line: #eadcdd;
  --tint: #fff8f8;
  color: var(--ink);
  font: 100%/1.6 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
body, figure, h1, h2, h3, p { margin: 0; }
a { color: var(--red); }
a:focus-visible, video:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
img, video { display: block; max-width: 100%; }
.wrap { width: min(1080px, calc(100% - 3rem)); margin-inline: auto; }
.hero {
  text-align: center;
  padding: clamp(2rem, 4vw, 4rem) 0 2.5rem;
  background: linear-gradient(180deg, #fff 25%, var(--tint));
}
.institution { display: inline-block; }
.institution img { width: 64px; height: 64px; }
h1 {
  max-width: 1040px;
  margin: 1rem auto 1.15rem;
  font-size: clamp(1.95rem, 3.65vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -.043em;
  text-wrap: balance;
}
h1 span, .authors sup { color: var(--red); }
.authors, .actions { display: flex; flex-wrap: wrap; justify-content: center; }
.authors { gap: .15rem 1.4rem; font-size: 1.1rem; font-weight: 650; }
.authors a { color: inherit; text-decoration: none; }
.authors a:hover, .authors a:active { color: var(--red); text-decoration: underline; }
.authors sup { font-size: .68em; }
.affiliation { margin-top: .4rem; }
.notes, figcaption { font-size: .875rem; color: var(--muted); }
.notes { margin: .25rem 0 1.25rem; }
.actions { gap: .6rem; }
.button {
  display: inline-flex;
  align-items: center;
  padding: .48rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: #fff;
  color: var(--red);
  font-size: .94rem;
  font-weight: 650;
  text-decoration: none;
}
.button.primary, a.button:hover { background: var(--red); border-color: var(--red); color: #fff; }
.button.pending { color: var(--muted); background: var(--tint); }
.demo { max-width: 800px; margin: 1.8rem auto 0; }
video { width: 100%; aspect-ratio: 16 / 9; background: #191616; border-radius: 8px; }
.demo video { box-shadow: 0 12px 36px #4a11111a; }
section { padding-block: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); }
h2 {
  font: 700 clamp(1.95rem, 3vw, 2.6rem)/1.2 Georgia, "Times New Roman", serif;
  text-align: center;
  letter-spacing: -.025em;
}
h3 { font-size: 1.15rem; line-height: 1.35; }
.lead { max-width: 780px; margin: .75rem auto 1.7rem; text-align: center; color: var(--muted); text-wrap: pretty; }
.paper-figure { margin-top: 1.5rem; }
.paper-figure img { width: 100%; border: 1px solid var(--line); border-radius: 6px; }
.pair, .navigation-clips { display: grid; gap: 1.25rem; }
.pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.experiments { background: var(--tint); }
.motion + .motion { margin-top: 2.25rem; }
.motion h3 { margin-bottom: .75rem; }
.clip figcaption { margin-top: .5rem; text-align: center; }
.navigation-clips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.citation {
  max-width: 850px;
  margin: 1.25rem auto 0;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--tint);
  font-size: .9rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 2rem); }
  .authors { gap: .25rem 1rem; }
  .pair, .navigation-clips { grid-template-columns: 1fr; }
  .institution img { width: 52px; height: 52px; }
}
