body {
  font-family: "Noto Sans", sans-serif;
  color: #1f2933;
}

html {
  scroll-behavior: smooth;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 12px rgba(22, 37, 54, 0.08);
}

.navbar-item:hover {
  color: #2c6e7f !important;
}

.section[id] {
  scroll-margin-top: 70px;
}

.publication-title,
.publication-authors {
  font-family: "Google Sans", "Noto Sans", sans-serif;
}

.publication-title {
  letter-spacing: 0;
  line-height: 1.08;
}

.publication-authors a {
  color: #2575a8 !important;
}

.author-block {
  display: inline-block;
}

.link-block a {
  margin: 0.25rem;
}

.button.is-dark {
  background: #22313f;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button.is-dark:hover {
  background: #2c6e7f !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(44, 110, 127, 0.25);
}

.hero {
  background:
    radial-gradient(circle at top left, rgba(44, 110, 127, 0.14), transparent 32rem),
    linear-gradient(180deg, #f7fbfc 0%, #ffffff 78%);
}

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

.tagline {
  max-width: 900px;
  margin: 1rem auto 0;
  color: #52606d;
}

.teaser .hero-body {
  padding-top: 0;
}

.intro-teaser {
  padding-top: 1.5rem;
}

.intro-media-grid {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: stretch;
  max-width: 1180px;
  margin: 0 auto;
}

.intro-media-grid > .figure-card {
  min-width: 0;
}

.intro-figure-card {
  flex: 0 1 60%;
}

.intro-figure-card img {
  width: 100%;
  height: 420px;
  object-fit: contain;
  background: #fbfcfd;
}

.intro-video-card {
  flex: 0 1 40%;
  padding: 0.75rem;
}

.intro-video-card video {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: contain;
  border-radius: 6px;
  background: #0f172a;
}

.intro-caption {
  max-width: 920px;
  margin: 1rem auto 0;
  color: #3f5364;
  line-height: 1.45;
}

.contribution-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.contribution-card {
  padding: 1rem;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f7fbfc);
  border: 1px solid #dce8eb;
  box-shadow: 0 8px 20px rgba(22, 37, 54, 0.07);
}

.contribution-card h3 {
  margin-bottom: 0.45rem;
  color: #2c6e7f;
  font-size: 1.1rem;
  font-weight: 800;
}

.contribution-card p {
  margin: 0;
  color: #52606d;
  font-size: 0.94rem;
  line-height: 1.45;
}

.figure-card,
.metric-card,
.pipeline-card {
  border: 1px solid #e1e8ed;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(22, 37, 54, 0.08);
}

.figure-card {
  padding: 1rem;
}

.figure-card img,
figure.image img {
  border-radius: 6px;
}

.paper-figure {
  width: 100%;
  display: block;
}

figcaption {
  color: #52606d;
  font-size: 0.95rem;
  padding-top: 0.6rem;
}

.title.is-3 {
  color: #2c6e7f;
  font-weight: 650;
}

.accent {
  color: #b46b2a;
  font-weight: 700;
}

.spvtp-pill {
  display: inline-block;
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  margin: 0.15rem;
  background: #e7f3f5;
  color: #245766;
  font-weight: 700;
  font-size: 0.9rem;
}

.stats-card {
  height: 100%;
  padding: 1.25rem;
  text-align: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #eef8f9, #f9fbfd);
  border: 1px solid #d6e8ec;
}

.highlight-number {
  display: block;
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 800;
  color: #2c6e7f;
}

.pipeline-card {
  height: 100%;
  padding: 1.25rem;
}

.pipeline-card .icon {
  color: #2c6e7f;
  margin-right: 0.4rem;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.result-panel {
  padding: 1rem;
}

.result-panel img {
  width: 100%;
  border-radius: 6px;
}

.vis-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.vis-grid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fbfcfd;
  border-radius: 6px;
}

.more-scenes-lead {
  max-width: 560px;
  margin: 0 auto;
}

.compact-figure-card {
  padding: 0.85rem;
}

.more-scenes-lead img {
  display: block;
  width: 100%;
  max-height: 760px;
  object-fit: contain;
  background: #fbfcfd;
  border-radius: 6px;
}

.scene-vis-grid {
  align-items: start;
}

.scene-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.scene-card img {
  max-height: 650px;
}

.demo-scene {
  margin-top: 2rem;
}

.demo-scene .title {
  color: #22313f;
  margin-bottom: 0.85rem;
}

.video-demo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.processed-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.video-card {
  padding: 0.75rem;
  border: 1px solid #e1e8ed;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(22, 37, 54, 0.08);
}

.video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  background: #0f172a;
}

.processed-video-card video {
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.video-card p {
  margin-top: 0.55rem;
  margin-bottom: 0;
  color: #52606d;
  font-size: 0.92rem;
  text-align: center;
}

.footer {
  background: #f7fafb;
  padding: 2.5rem 1.5rem;
}

pre {
  white-space: pre-wrap;
  background: #f5f7f9;
  border: 1px solid #dbe3ea;
  border-radius: 8px;
  padding: 1rem;
}

@media screen and (max-width: 900px) {
  .contribution-grid,
  .results-grid,
  .vis-grid,
  .video-demo-grid,
  .processed-video-grid {
    grid-template-columns: 1fr;
  }

  .publication-title {
    font-size: 2rem !important;
  }
}

@media screen and (max-width: 700px) {
  .intro-media-grid {
    flex-direction: column;
  }

  .intro-figure-card img,
  .intro-video-card video {
    height: auto;
    max-height: 420px;
  }
}
