:root {
  --ink: #18212b;
  --muted: #596776;
  --blue: #245f91;
  --line: #dbe3ea;
  --wash: #f4f7fa;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.65;
}
a { color: var(--blue); text-underline-offset: 3px; }
.container { width: min(1040px, calc(100% - 36px)); margin: 0 auto; }
.lab-nav { padding: 22px 0; border-bottom: 1px solid var(--line); font-family: Arial, sans-serif; font-size: .92rem; }
.hero { padding: 72px 0 36px; text-align: center; }
h1 { margin: 0 auto 24px; max-width: 920px; font-size: clamp(2.2rem, 5.4vw, 3.9rem); font-weight: 500; line-height: 1.16; letter-spacing: -.025em; }
h2 { margin: 54px 0 16px; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 500; }
h3 { margin: 0 0 10px; font-size: 1.28rem; font-weight: 600; line-height: 1.3; }
.authors { margin: 0 0 10px; color: #334354; font-family: Arial, sans-serif; font-size: 1.08rem; }
.affiliation { margin: 0; color: var(--muted); font-family: Arial, sans-serif; font-size: .94rem; }
.equal { margin: 8px 0 0; color: var(--muted); font-family: Arial, sans-serif; font-size: .86rem; }
.actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-block; padding: 10px 20px; border-radius: 999px; color: #fff; background: var(--blue); font-family: Arial, sans-serif; font-weight: 700; text-decoration: none; }
.button.secondary { background: #303b46; }
.button.disabled { opacity: .55; cursor: default; }
.abstract { font-size: 1.14rem; }
.method-lede { max-width: 900px; font-size: 1.12rem; }
.highlight-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 28px 0 12px; }
.highlight-card { padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--wash); }
.highlight-card p { margin: 0; }
.research-figure { margin: 36px 0 48px; }
.research-figure img,
.research-figure video {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.research-figure figcaption,
.video-card figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: .94rem;
  line-height: 1.55;
}
.research-figure figcaption strong { color: var(--ink); }
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0 8px;
}
.video-grid.cols-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.video-card { margin: 0; }
.video-card video {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #111;
}
.citation {
  position: relative;
  padding: 22px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--wash);
  font: .88rem/1.55 ui-monospace, SFMono-Regular, Menlo, monospace;
  white-space: pre;
}
.footer {
  margin-top: 64px;
  padding: 24px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: .88rem;
  text-align: center;
}
@media (max-width: 860px) {
  .video-grid.cols-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .hero { padding-top: 48px; }
  .abstract, .method-lede { font-size: 1.05rem; }
  .highlight-grid,
  .video-grid,
  .video-grid.cols-5 { grid-template-columns: 1fr; }
}
