body {
  font-family: 'Noto Sans', sans-serif;
}


.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;
}

.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: hsl(204, 86%, 53%) !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;
}

.results-carousel .item {
  margin: 5px;
  overflow: hidden;
  border: 1px solid #bbb;
  border-radius: 10px;
  padding: 0;
  font-size: 0;
}

.results-carousel video {
  margin: 0;
}


.interpolation-panel {
  background: #f5f5f5;
  border-radius: 10px;
}

.interpolation-panel .interpolation-image {
  width: 100%;
  border-radius: 5px;
}

.interpolation-video-column {
}

.interpolation-panel .slider {
  margin: 0 !important;
}

.interpolation-panel .slider {
  margin: 0 !important;
}

#interpolation-image-wrapper {
  width: 100%;
}
#interpolation-image-wrapper img {
  border-radius: 5px;
}

.chapter-hero {
  background:
    radial-gradient(circle at top left, rgba(121, 167, 255, 0.16), transparent 35%),
    linear-gradient(180deg, #f5f8fc 0%, #ffffff 100%);
}

.eyebrow {
  margin-bottom: 0.75rem;
  color: #2f6fdb;
  font-family: 'Google Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-subtitle,
.teaser-copy {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.publication-lineage {
  margin: 0.35rem 0 1rem;
  color: #365b91;
  font-family: 'Google Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

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

#teaser {
  max-width: 1100px;
}

.teaser-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  max-width: 980px;
  margin: 1.25rem auto 0;
}

.teaser-stage {
  padding: 0.85rem 1rem;
  background: #f5f9ff;
  border: 1px solid #d7e3f2;
  border-radius: 16px;
  color: #163b73;
  font-family: 'Google Sans', sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  text-align: center;
}

.teaser-flow-arrow {
  color: #214f98;
  font-size: 1.5rem;
  font-weight: 700;
}

.teaser-explainer {
  max-width: 920px;
  margin: 1rem auto 0;
  color: #4f6175;
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
}

.chapter-section {
  margin-bottom: 1.5rem;
}

.problem-card,
.media-card,
.image-card {
  background: #fff;
  border: 1px solid #d9e3f0;
  border-radius: 18px;
  box-shadow: 0 14px 35px rgba(34, 56, 86, 0.08);
  overflow: hidden;
}

.problem-card {
  height: 100%;
  padding: 1.5rem;
}

.problem-card h3 {
  margin-bottom: 0.75rem;
}

.media-card video,
.image-card img,
.figure-frame img {
  display: block;
  width: 100%;
}

.image-card img,
.figure-frame img,
.principle-card img {
  height: auto;
  object-fit: contain;
  box-sizing: border-box;
}

.image-card img,
.principle-card img {
  padding: 0.75rem;
  background: #f7faff;
}

.media-card p,
.image-card p {
  margin: 0;
  padding: 0.9rem 1rem 1rem;
  font-size: 0.95rem;
}

.media-card.large p {
  font-size: 1rem;
}

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

.motivation-bridge {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.motivation-bridge video {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.motivation-copy {
  max-width: 900px;
  margin: 1rem auto 0;
}

.section-note {
  color: #516171;
  margin-top: 0.75rem;
}

.abstract-copy {
  max-width: 920px;
}

.challenge-contrast {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
  margin: 2rem 0 1.25rem;
}

.challenge-side {
  padding: 1.25rem;
  background: #fff;
  border: 1px solid #d9e3f0;
  border-radius: 20px;
  box-shadow: 0 14px 35px rgba(34, 56, 86, 0.08);
  text-align: center;
}

.challenge-side h3 {
  margin-bottom: 0.5rem;
}

.challenge-side p {
  margin: 0.25rem 0;
}

.challenge-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #214f98;
  font-size: 2rem;
  font-weight: 700;
}

.challenge-question {
  margin: 0 auto 1.5rem;
  max-width: 760px;
  padding: 1rem 1.25rem;
  background: #0d2545;
  border-radius: 999px;
  color: #fff;
  font-family: 'Google Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
}

.principle-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.principle-copy {
  max-width: 860px;
  margin: 0 auto 1.5rem;
}

.figure-frame {
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem;
  background: #fff;
  border: 1px solid #d8e2ee;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(24, 39, 61, 0.08);
}

.principle-example {
  margin-top: 1.5rem;
}

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

.principle-grid-three {
  align-items: start;
}

.principle-card {
  background: #fff;
  border: 1px solid #d8e2ee;
  border-radius: 20px;
  box-shadow: 0 14px 35px rgba(24, 39, 61, 0.08);
  overflow: hidden;
  text-align: left;
}

.principle-card-wide {
  grid-column: 1 / -1;
}

.principle-card img {
  display: block;
  width: 100%;
  max-width: 100%;
  background: linear-gradient(180deg, #f3f6fb 0%, #e9eef7 100%);
}

.principle-card-copy {
  padding: 1rem 1.1rem 1.15rem;
}

.principle-card-copy h3 {
  margin-bottom: 0.6rem;
}

.principle-card-copy p {
  margin: 0;
}

.principle-grid-three .principle-card img {
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.principle-flow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.principle-flow span {
  padding: 0.7rem 1rem;
  background: #edf4ff;
  border-radius: 999px;
  color: #214f98;
  font-weight: 600;
}

.contribution-block,
.result-group {
  margin-top: 2.5rem;
  padding: 1.75rem;
  background: #ffffff;
  border: 1px solid #dde5ef;
  border-radius: 24px;
}

.contribution-index {
  margin-bottom: 0.35rem;
  color: #2f6fdb;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contribution-line {
  color: #173e7a;
  font-weight: 700;
}

.research-question {
  color: #214f98;
  font-family: 'Google Sans', sans-serif;
  font-weight: 600;
}

.design-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.design-card {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.design-transition {
  margin-top: auto;
  color: #516171;
  font-style: italic;
}

.progression-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr) 40px minmax(0, 1fr);
  gap: 0.75rem;
  margin-top: 2rem;
}

.progression-strip-top {
  margin-top: 1rem;
}

.progression-label {
  padding: 1rem;
  background: #0d2545;
  border-radius: 18px;
  color: #fff;
  font-family: 'Google Sans', sans-serif;
  font-weight: 600;
  text-align: center;
}

.progression-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #214f98;
  font-size: 1.8rem;
  font-weight: 700;
}

.two-up {
  align-items: stretch;
}

.results-carousel {
  overflow: hidden;
}

.results-carousel .item {
  background: #fff;
  border: 1px solid #cfd9e4;
  border-radius: 16px;
}

.results-section > .container {
  /* Keep the flex child within the viewport before carousel widths are measured. */
  width: 100%;
  min-width: 0;
}

.results-carousel-large {
  width: 100%;
  max-width: 760px;
  margin: 1rem auto 0;
}

.results-carousel-large video {
  width: 100%;
  height: clamp(160px, 24vw, 260px);
  object-fit: contain;
  background: #f7faff;
}

.result-copy {
  max-width: 880px;
  margin-bottom: 0.5rem;
}

.paper-video {
  margin: 0.75rem auto 1rem;
  width: 70%;
  border: 1px solid #d9e3f0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(34, 56, 86, 0.08);
}

.paper-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

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

@media screen and (max-width: 768px) {
  .teaser-flow,
  .media-pair,
  .motivation-bridge,
  .progression-strip,
  .principle-grid,
  .design-grid {
    grid-template-columns: 1fr;
  }

  .teaser-flow-arrow {
    transform: rotate(90deg);
    justify-self: center;
  }

  .challenge-contrast {
    grid-template-columns: 1fr;
  }

  .challenge-arrow {
    transform: rotate(90deg);
  }

  .progression-arrow {
    transform: rotate(90deg);
    justify-self: center;
  }

  .contribution-block,
  .result-group {
    padding: 1rem;
  }

  .results-carousel-large video {
    height: min(56vw, 220px);
  }

  .principle-flow span {
    width: 100%;
    text-align: center;
  }

  .principle-card-wide {
    grid-column: auto;
  }
}
