html, body {
  font-family: 'Noto Sans', sans-serif;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

.hero-scene-graph {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(96, 165, 250, 0.65), transparent 55%),
    radial-gradient(circle at 78% 12%, rgba(52, 211, 153, 0.45), transparent 50%),
    linear-gradient(180deg, #fafdff 0%, #eff5ff 55%, #e4edff 100%);
}

.hero-scene-graph::before {
  content: "";
  position: absolute;
  inset: -25%;
  background-image:
    linear-gradient(120deg, rgba(59, 130, 246, 0.22) 1px, transparent 1px),
    linear-gradient(300deg, rgba(14, 165, 233, 0.18) 1px, transparent 1px);
  background-size: 140px 140px, 200px 200px;
  animation: sceneGridDrift 26s linear infinite;
  opacity: 0.6;
  pointer-events: none;
}

.hero-scene-graph::after {
  content: "";
  position: absolute;
  inset: -5%;
  background-image:
    radial-gradient(circle 5px, rgba(59, 130, 246, 0.9) 0, rgba(59, 130, 246, 0) 65%),
    radial-gradient(circle 4px, rgba(56, 189, 248, 0.75) 0, rgba(56, 189, 248, 0) 60%),
    radial-gradient(circle 3.5px, rgba(16, 185, 129, 0.7) 0, rgba(16, 185, 129, 0) 55%),
    radial-gradient(circle 3px, rgba(249, 115, 22, 0.65) 0, rgba(249, 115, 22, 0) 50%);
  background-size: 160px 160px, 190px 190px, 210px 210px, 240px 240px;
  background-position: 0 0, 60px 30px, 120px 110px, 30px 150px;
  animation: sceneNodesFloat 18s ease-in-out infinite alternate;
  opacity: 0.75;
  pointer-events: none;
}

.hero-scene-graph .hero-body {
  position: relative;
  z-index: 0;
}

.hero-scene-graph .hero-body::before {
  content: "";
  position: absolute;
  inset: 8% 6% 12% 6%;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(14, 165, 233, 0.04)),
    radial-gradient(circle at 25% 35%, rgba(59, 130, 246, 0.35), transparent 55%),
    radial-gradient(circle at 70% 60%, rgba(14, 165, 233, 0.25), transparent 50%),
    radial-gradient(circle at 40% 75%, rgba(16, 185, 129, 0.22), transparent 45%);
  box-shadow: 0 35px 65px rgba(15, 23, 42, 0.12);
  opacity: 0.9;
  z-index: -1;
  pointer-events: none;
}
.hero-logo {
  max-width: 90px;
  width: 17vw;
  height: auto;
  margin: 0.15rem auto 0.5rem auto;
}

.hero-scene-graph .publication-title {
  margin-top: 0;
}


.media-pair {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: nowrap;
}

.media-pair .media-graphic {
  flex: 1 1 320px;
  border-radius: 18px;
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.18);
  max-width: 100%;
}

.media-pair .media-gif {
  flex: 1.5 1 380px;
  max-width: 620px;
}

.media-pair .media-static {
  flex: 0.75 1 240px;
  max-width: 360px;
}

.figure-frame {
  max-width: min(940px, 100%);
  margin: 0 auto 1.5rem auto;
  padding: 1.5rem;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 35px 55px rgba(15, 23, 42, 0.12);
}

.figure-img {
  display: block;
  width: 100%;
  border-radius: 16px;
}

.carousel-graphic {
  width: min(720px, 90vw);
  border-radius: 18px;
  box-shadow: 0 25px 40px rgba(15, 23, 42, 0.12);
  margin: 0 auto;
  display: inline-block;
}

.method-summary {
  text-align: left;
  margin: 0 auto 1.5rem auto;
  max-width: 900px;
  font-size: 1.05rem;
}

.method-summary ul {
  list-style: disc;
  margin-left: 1.2rem;
}

.method-summary li {
  margin-bottom: 0.6rem;
}

.figure-frame.no-padding {
  padding: 0;
}

.figure-frame.mobile-flat {
  /* default padding, overridden on mobile */
}

pre {
  background: #f5f7fb;
  padding: 1.25rem;
  border-radius: 12px;
  overflow-x: auto;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

pre code {
  white-space: pre-wrap;
  word-break: break-word;
}

@keyframes sceneGridDrift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-180px, -220px, 0);
  }
}

@keyframes sceneNodesFloat {
  0% {
    background-position: 0 0, 80px 120px, 140px -60px;
  }
  50% {
    background-position: -120px -40px, 0px 60px, 60px -20px;
  }
  100% {
    background-position: -220px -120px, -60px 0px, -20px 40px;
  }
}

@media (max-width: 1024px) {
  .hero-scene-graph .hero-body::before {
    inset: 10% 4% 14% 4%;
    border-radius: 28px;
  }

  .publication-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
  }
}

@media (max-width: 768px) {
  .hero-body {
    padding: 0;
  }

  .columns.is-centered {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-logo {
    max-width: 72px;
    width: 22vw;
  }

  .hero-scene-graph .publication-title {
    font-size: 2rem;
    line-height: 1.25;
  }

  .publication-authors {
    font-size: 0.95rem;
  }

  .publication-authors .author-block {
    display: block;
    margin-bottom: 0.35rem;
  }

  .publication-links {
    flex-direction: column;
    align-items: stretch;
  }

  .publication-links .link-block,
  .publication-links .link-block a {
    width: 100%;
  }

  /* Make centered narrow columns full-width on mobile */
  #results .columns.is-centered .column.is-four-fifths { flex: 0 0 100%; max-width: 100%; }

  .teaser .title {
    font-size: 1.8rem;
  }

  section p {
    font-size: 1rem;
  }

  .media-pair {
    flex-wrap: wrap;
  }

  .media-pair .media-graphic {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.15);
  }

  .figure-img {
    width: 100%;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.12);
  }

  .carousel-graphic {
    width: 80vw;
    max-width: 80vw;
  }

  .figure-frame.mobile-flat {
    padding: 0;
  }

  .hero.teaser .container,
  .hero.teaser.is-light .container {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .container.is-max-desktop {
    padding-left: 1rem;
    padding-right: 1rem;
  }

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

  /* Prevent column gutters from causing horizontal overflow */
  #results .columns { margin-left: 0; margin-right: 0; }
  #results .columns.is-variable { --columnGap: 0.75rem; }

  /* Results section typography and wrapping */
  #results .title.is-2 {
    font-size: 1.6rem;
    line-height: 1.2;
    word-break: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
  }
  #results .title.is-5 {
    font-size: 1.05rem;
    line-height: 1.3;
    word-break: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
  }
  #results p,
  #results th,
  #results td {
    word-break: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  /* Disable sticky first column on mobile */
  #results table.results-table thead th:first-child,
  #results table.results-table tbody td:first-child { position: static; left: auto; z-index: auto; }
}

.footer .icon-link {
    font-size: 25px;
    color: #000;
}

.link-block a {
    margin-top: 5px;
    margin-bottom: 5px;
}

.dnerf {
  font-variant: small-caps;
}


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

.teaser {
  font-family: 'Google Sans', sans-serif;
}


.publication-title {
}

.publication-banner {
  max-height: parent;

}

.publication-banner video {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  object-fit: fit;
}

.publication-header .hero-body {
}

.publication-title {
    font-family: 'Google Sans', sans-serif;
}

.publication-authors {
    font-family: 'Google Sans', sans-serif;
    color: #0f172a;
}

.publication-venue {
    color: #555;
    width: fit-content;
    font-weight: bold;
}

.publication-awards {
    color: #ff3860;
    width: fit-content;
    font-weight: bolder;
}

.publication-authors {
}

.publication-authors a {
   color: #1d4ed8 !important;
}

.publication-authors a:hover {
    text-decoration: underline;
}

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

.publication-banner img {
}

.publication-authors {
  /*color: #4286f4;*/
}

.publication-video {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;

    overflow: hidden;
    border-radius: 10px !important;
}

.publication-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.publication-body img {
}

.results-carousel {
  overflow: hidden;
  max-width: 100%;
}

.results-carousel .item {
  margin: 5px;
  overflow: hidden;
  padding: 20px;
  font-size: 0;
  text-align: center;
}

.results-carousel .item img {
  display: inline-block;
  max-width: 100%;
  height: auto;
}

.results-carousel video {
  margin: 0;
}

/* Mobile tuning for results carousel */
@media (max-width: 768px) {
  .results-carousel .item { padding: 10px; }
}

.slider-pagination .slider-page {
  background: #000000;
}

.eql-cntrb { 
  font-size: smaller;
}
