:root {
  --accent: #4a74a8;
  --text: #2b2b2b;
  --muted: #5f6368;
}

body {
  font-family: 'Noto Sans', sans-serif;
  color: var(--text);
  background: #fff;
}

.hero-body { padding-bottom: 1.5rem; }

.publication-title {
  font-family: 'Google Sans', 'Noto Sans', sans-serif;
  color: #363636;
  line-height: 1.2;
}

.publication-authors { font-family: 'Google Sans', 'Noto Sans', sans-serif; margin-top: 1rem; }
.publication-authors a { color: hsl(204, 86%, 53%) !important; }
.publication-authors a:hover { text-decoration: underline; }
.publication-affiliations { font-family: 'Google Sans', 'Noto Sans', sans-serif; color: #4a4a4a; font-size: 1.1rem !important; }
.author-block { display: inline-block; margin: 0 0.2rem; }

.publication-links {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.teaser-video {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
  background: #000;
}


.paper-figure { margin: 1.5rem auto 0; text-align: center; }
.paper-figure img { width: 100%; height: auto; }
.teaser-figure .columns { align-items: center; }
.paper-figure figcaption {
  max-width: 960px;
  margin: 0.75rem auto 0;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: justify;
}


pre { white-space: pre-wrap; font-size: 0.85rem; }

.footer { padding: 2rem 1.5rem; font-size: 0.85rem; color: var(--muted); }

@media (max-width: 768px) {
  .has-text-justified, .paper-figure figcaption { text-align: left !important; }
}

.subsection-title { margin-top: 3rem; margin-bottom: 1rem !important; }
.garment-tabs { margin-bottom: 0.75rem !important; }
.result-video { display: block; width: 100%; height: auto; background: #fff; }
.video-caption {
  max-width: 960px;
  margin: 0.75rem auto 0;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: justify;
}

.rollouts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.rollout .title { text-align: center; margin-bottom: 0.75rem; }
.rollout-grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.5rem;
  align-items: center;
}
.rollout-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
}
.rollout-cell { margin: 0; }
.rollout-cell video { display: block; width: 100%; aspect-ratio: 1 / 1; border-radius: 4px; background: #000; }
.rollout-cell figcaption { font-size: 0.75rem; color: var(--muted); text-align: center; margin-top: 0.25rem; line-height: 1.3; }

@media (max-width: 1023px) {
  .rollouts { grid-template-columns: minmax(0, 1fr); }
}
