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

.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-method img {
    display: block;
    width: 100%;
    height: auto;
}

.method-caption {
    margin-top: 0.75rem;
    color: #4a4a4a;
    font-size: 1rem;
    line-height: 1.5;
    text-align: left;
}

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

.generation-video-grid {
  margin-bottom: 2rem;
}

.generation-input-image {
  display: block;
  width: 68%;
  height: auto;
  margin: 0 auto 0.75rem;
}

.generation-video {
  display: block;
  width: 100%;
  height: auto;
}

.generation-prompt {
  margin-top: 0.65rem;
  color: #363636;
  font-size: 0.95rem;
  line-height: 1.4;
  text-align: center;
}

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

/* DiTex4D visual system */
:root {
  --ditex-ink: #172033;
  --ditex-copy: #475569;
  --ditex-muted: #64748b;
  --ditex-line: #dbe4f0;
  --ditex-surface: #ffffff;
  --ditex-soft: #f4f7fb;
  --ditex-blue: #2563eb;
  --ditex-violet: #6d5ce7;
  --ditex-shadow: 0 18px 45px rgba(43, 67, 110, 0.09);
}

html {
  background: var(--ditex-soft);
  scroll-behavior: smooth;
}

body {
  background: var(--ditex-surface);
  color: var(--ditex-copy);
  font-size: 16px;
  line-height: 1.7;
}

::selection {
  background: rgba(87, 108, 229, 0.2);
  color: var(--ditex-ink);
}

.publication-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  background:
    radial-gradient(circle at 12% 15%, rgba(37, 99, 235, 0.13), transparent 29rem),
    radial-gradient(circle at 88% 5%, rgba(109, 92, 231, 0.14), transparent 28rem),
    linear-gradient(180deg, #fbfdff 0%, #f7f9ff 100%);
}

.publication-hero::before {
  position: absolute;
  right: 12%;
  bottom: -11rem;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  background: rgba(96, 165, 250, 0.13);
  content: "";
  filter: blur(70px);
  pointer-events: none;
}

.publication-hero .hero-body {
  position: relative;
  z-index: 1;
  padding: 4.75rem 1.5rem 4rem;
}

.publication-hero .container.is-max-desktop,
.overview-section .container.is-max-desktop {
  max-width: 1080px !important;
}

.publication-title {
  max-width: 1050px;
  margin: 0 auto 1.8rem !important;
  color: var(--ditex-ink);
  font-size: clamp(2.1rem, 4vw, 3.15rem) !important;
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.08;
  text-wrap: balance;
}

.publication-title-line {
  display: block;
  white-space: nowrap;
}

.publication-title::after {
  display: block;
  width: 5.5rem;
  height: 0.28rem;
  margin: 1.3rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ditex-blue), var(--ditex-violet));
  content: "";
}

.publication-authors {
  color: #344258;
  line-height: 1.9;
}

.publication-authors + .publication-authors {
  max-width: 920px;
  margin: 0.35rem auto 0;
  color: var(--ditex-muted);
  font-size: 1rem !important;
  line-height: 1.65;
}

.publication-authors a {
  color: var(--ditex-blue) !important;
  font-weight: 600;
  text-underline-offset: 0.2em;
}

.publication-authors sup {
  color: #52617a;
  font-weight: 600;
}

.publication-links {
  margin-top: 1.45rem;
}

.publication-links .button {
  min-width: 7.4rem;
  border: 0;
  background: linear-gradient(135deg, var(--ditex-blue), var(--ditex-violet));
  box-shadow: 0 10px 24px rgba(72, 76, 201, 0.22);
  color: #fff;
  font-weight: 650;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.publication-links a[href]:hover {
  box-shadow: 0 14px 30px rgba(72, 76, 201, 0.3);
  color: #fff;
  transform: translateY(-2px);
}

.publication-links a[aria-disabled="true"] {
  background: #e8edf5;
  box-shadow: none;
  color: #718096;
  cursor: default;
}

.showcase-hero {
  border-bottom: 1px solid var(--ditex-line);
  background: linear-gradient(180deg, #eef4ff 0%, #f7f9fd 100%);
}

.showcase-hero .hero-body {
  padding: 2.4rem 1.5rem 2.7rem;
}

.showcase-hero .container {
  max-width: 1280px;
}

.results-carousel {
  padding: 0.25rem;
}

.results-carousel .item {
  margin: 0.65rem;
  padding: 0.55rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 30px rgba(51, 65, 85, 0.1);
}

.results-carousel video {
  display: block;
  width: 100%;
  height: auto;
}

.slider-navigation-previous,
.slider-navigation-next {
  border: 1px solid rgba(148, 163, 184, 0.32) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 8px 20px rgba(51, 65, 85, 0.14);
  color: var(--ditex-blue) !important;
  backdrop-filter: blur(10px);
}

.overview-section {
  padding: 5.2rem 1.5rem;
  background: var(--ditex-surface);
}

.title {
  color: var(--ditex-ink);
  font-family: "Google Sans", "Noto Sans", sans-serif;
  letter-spacing: -0.025em;
}

.title.is-3 {
  margin-bottom: 1.8rem;
  font-size: clamp(1.9rem, 3.5vw, 2.35rem);
}

.abstract-column {
  margin-bottom: 3.75rem;
  padding: 2.2rem 2.4rem;
  border: 1px solid var(--ditex-line);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  box-shadow: var(--ditex-shadow);
}

.abstract-column .content {
  color: var(--ditex-copy);
  font-size: 1.045rem;
  line-height: 1.82;
}

.abstract-column .content p:last-child {
  margin-bottom: 0;
}

.publication-method {
  padding: 1.15rem;
  border: 1px solid var(--ditex-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--ditex-shadow);
}

.publication-method img {
  border-radius: 12px;
}

.method-caption {
  margin: 1rem 0.35rem 0.2rem;
  color: var(--ditex-copy);
  font-size: 1rem;
  line-height: 1.65;
}

.method-caption strong {
  color: var(--ditex-ink);
}

.results-section {
  padding: 5.2rem 1.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  background:
    radial-gradient(circle at 100% 0%, rgba(109, 92, 231, 0.08), transparent 28rem),
    var(--ditex-soft);
}

.results-section .container.is-max-desktop {
  max-width: 1180px !important;
}

.results-section .title.is-3 {
  margin-bottom: 2.8rem;
}

.results-section .title.is-4 {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 3.3rem 0 1.25rem;
  color: #25324a;
  font-size: 1.45rem;
}

.results-section .title.is-4::before {
  display: block;
  width: 0.3rem;
  height: 1.35em;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--ditex-blue), var(--ditex-violet));
  content: "";
}

.results-section .title.is-3 + .title.is-4 {
  margin-top: 0;
}

.generation-video-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 3rem !important;
}

.generation-video-grid > .column {
  display: flex;
  width: auto !important;
  min-width: 0;
  flex: none !important;
  flex-direction: column;
  padding: 0.85rem !important;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(51, 65, 85, 0.07);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.generation-video-grid > .column:hover {
  border-color: rgba(99, 102, 241, 0.32);
  box-shadow: 0 14px 32px rgba(51, 65, 85, 0.12);
  transform: translateY(-3px);
}

.generation-video {
  border: 1px solid #e7ebf2;
  background: #fff;
}

.generation-input-image {
  width: 62%;
  max-width: 155px;
  filter: drop-shadow(0 8px 14px rgba(51, 65, 85, 0.1));
}

.generation-prompt {
  display: flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: center;
  margin: 0.8rem 0 0;
  color: #4b5870;
  font-size: 0.91rem;
  line-height: 1.45;
  text-wrap: balance;
}

.generation-prompt strong {
  margin-right: 0.25rem;
  color: var(--ditex-blue);
}

.bibtex-section {
  padding: 4.8rem 1.5rem;
  background: #fff;
}

.bibtex-section .container {
  max-width: 980px !important;
}

.bibtex-section .title {
  margin-bottom: 1.5rem;
  text-align: center;
}

.bibtex-section pre {
  padding: 1.5rem 1.7rem;
  border: 1px solid #1e2b42;
  border-radius: 16px;
  background: #121a2a;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.16);
  color: #d9e4f5;
  font-size: 0.92rem;
  line-height: 1.65;
}

.bibtex-section pre code {
  color: inherit;
}

@media screen and (max-width: 900px) {
  .generation-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .publication-title-line {
    white-space: normal;
  }

  .publication-hero .hero-body {
    padding: 3.8rem 1.25rem 3.25rem;
  }

  .abstract-column {
    padding: 1.75rem;
  }
}

@media screen and (max-width: 560px) {
  .publication-title {
    font-size: 2.2rem !important;
  }

  .publication-hero .hero-body,
  .overview-section,
  .results-section,
  .bibtex-section {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .publication-authors {
    font-size: 1.05rem !important;
  }

  .publication-authors + .publication-authors {
    font-size: 0.92rem !important;
  }

  .generation-video-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .generation-prompt {
    min-height: 0;
  }

  .abstract-column,
  .publication-method {
    padding: 1rem;
    border-radius: 16px;
  }

  .results-section .title.is-4 {
    font-size: 1.25rem;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .publication-links .button,
  .generation-video-grid > .column {
    transition: none;
  }

  .publication-links a[href]:hover,
  .generation-video-grid > .column:hover {
    transform: none;
  }
}

/* Physical Intelligence-inspired editorial theme */
:root {
  --pi-ink: #111111;
  --pi-paper: #f7f6f2;
  --pi-sand: #ecebe6;
  --pi-taupe: #d1d0ca;
  --pi-peach: #e8e7e2;
  --pi-olive: #b9b8b2;
  --pi-aqua: #f0f0ed;
  --pi-yellow: #f3f2ee;
  --pi-bright-yellow: #deded9;
}

html {
  background: var(--pi-paper);
}

body {
  background: var(--pi-paper);
  color: var(--pi-ink);
  font-family: "Source Sans 3", "Noto Sans", sans-serif;
  font-size: 17px;
  line-height: 1.62;
}

::selection {
  background: var(--pi-yellow);
  color: var(--pi-ink);
}

.title,
.publication-title {
  color: var(--pi-ink);
  font-family: "Castoro", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.publication-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid #d0cfca;
  background-color: var(--pi-paper);
  background-image:
    linear-gradient(rgba(17, 17, 17, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
}

.publication-hero::before,
.publication-hero::after {
  display: none;
  content: none;
}

.publication-hero .hero-body {
  padding: 4.2rem 1.5rem 3.7rem;
}

.publication-kicker {
  display: flex;
  width: fit-content;
  margin: 0 auto 1.7rem;
  overflow: hidden;
  border: 1px solid #bbb9b3;
  border-radius: 12px;
  background: var(--pi-bright-yellow);
  color: var(--pi-ink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.publication-kicker span {
  padding: 0.58rem 0.72rem;
}

.publication-kicker span + span {
  border-left: 1px solid #bbb9b3;
  background: var(--pi-paper);
}

.publication-title {
  max-width: 1100px;
  margin-bottom: 1.9rem !important;
  font-size: clamp(2.2rem, 4.2vw, 3.2rem) !important;
  font-weight: 400;
  line-height: 1.13;
  text-wrap: balance;
}

.publication-title::after {
  display: none;
}

.publication-authors {
  color: var(--pi-ink);
  font-family: "Source Sans 3", "Noto Sans", sans-serif;
}

.publication-authors + .publication-authors {
  color: #403e37;
}

.publication-authors a {
  color: #1f4e9a !important;
  font-weight: 600;
  text-decoration-color: var(--pi-peach);
  text-decoration-thickness: 0.14em;
  text-underline-offset: 0.18em;
}

.publication-authors a:hover {
  text-decoration-color: var(--pi-bright-yellow);
}

.publication-authors sup {
  color: #403e37;
}

.publication-links {
  margin-top: 1.6rem;
}

.publication-links .button {
  min-width: 7.6rem;
  border: 1px solid var(--pi-ink);
  border-radius: 999px !important;
  background: var(--pi-ink);
  box-shadow: 0 7px 18px rgba(17, 17, 17, 0.14);
  color: var(--pi-paper);
  font-family: "Source Sans 3", "Noto Sans", sans-serif;
  font-weight: 700;
  transition: box-shadow 140ms ease, transform 140ms ease;
}

.publication-links a[href]:hover {
  background: var(--pi-ink);
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.2);
  color: #fff;
  transform: translate(-2px, -2px);
}

.publication-links a[aria-disabled="true"] {
  border-style: dashed;
  background: var(--pi-sand);
  box-shadow: none;
  color: #716d61;
}

.showcase-hero {
  border-bottom: 1px solid #cdccc6;
  background: var(--pi-peach);
}

.showcase-hero .hero-body {
  padding: 2.5rem 1.5rem 2.8rem;
}

.results-carousel {
  padding: 0.35rem;
}

.results-carousel .item {
  margin: 0.7rem;
  padding: 0.5rem;
  border: 1px solid #c8c7c1;
  border-radius: 16px;
  background: var(--pi-paper);
  box-shadow: 0 12px 30px rgba(17, 17, 17, 0.1);
}

.results-carousel video {
  border: 1px solid #d4d3ce;
  border-radius: 11px;
}

.slider-navigation-previous,
.slider-navigation-next {
  border: 1px solid #bbb9b3 !important;
  border-radius: 50% !important;
  background: #fff !important;
  box-shadow: 0 5px 14px rgba(17, 17, 17, 0.13);
  color: var(--pi-ink) !important;
  backdrop-filter: none;
}

.overview-section {
  padding: 5.4rem 1.5rem;
  background: var(--pi-paper);
}

.title.is-3 {
  margin-bottom: 1.8rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.abstract-column {
  margin-bottom: 4.5rem;
  padding: 2.1rem 0;
  border: 0;
  border-top: 1px solid #c9c8c2;
  border-bottom: 1px solid #c9c8c2;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.abstract-column .content {
  color: #292824;
  font-family: "Source Sans 3", "Noto Sans", sans-serif;
  font-size: 1.08rem;
  line-height: 1.75;
  text-align: left;
}

.abstract-column .content p:first-child::first-letter {
  float: left;
  margin: 0.08em 0.1em 0 0;
  color: var(--pi-ink);
  font-family: "Castoro", Georgia, serif;
  font-size: 3.5em;
  line-height: 0.82;
}

.publication-method {
  padding: 1.15rem;
  border: 1px solid #c8c7c1;
  border-radius: 18px;
  background: var(--pi-yellow);
  box-shadow: 0 16px 38px rgba(17, 17, 17, 0.1);
}

.publication-method img {
  border: 1px solid #d2d1cc;
  border-radius: 12px;
  background: #fff;
}

.method-caption {
  margin: 1rem 0.35rem 0.25rem;
  color: var(--pi-ink);
  font-family: "Source Sans 3", "Noto Sans", sans-serif;
  font-size: 1rem;
  line-height: 1.58;
}

.method-caption strong {
  font-family: "Castoro", Georgia, serif;
  font-weight: 400;
}

.results-section {
  padding: 5.4rem 1.5rem;
  border-top: 1px solid #cdccc7;
  border-bottom: 1px solid #cdccc7;
  background: var(--pi-aqua);
}

.results-section .title.is-3 {
  margin-bottom: 3rem;
}

.results-section .title.is-4 {
  display: inline-flex;
  width: fit-content;
  gap: 0;
  margin: 3.5rem 0 1.2rem;
  padding: 0.5rem 0.8rem;
  border: 1px solid #bcbab4;
  border-radius: 999px;
  background: var(--pi-bright-yellow);
  color: var(--pi-ink);
  font-family: "Source Sans 3", "Noto Sans", sans-serif;
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.results-section .title.is-4::before {
  display: none;
}

.generation-video-grid {
  gap: 1rem;
  margin-bottom: 3.2rem !important;
}

.generation-video-grid > .column {
  padding: 0.78rem !important;
  border: 1px solid #cbc9c3;
  border-radius: 15px;
  background: var(--pi-paper);
  box-shadow: 0 6px 18px rgba(17, 17, 17, 0.06);
  transition: box-shadow 140ms ease, transform 140ms ease;
}

.generation-video-grid > .column:hover {
  border-color: #aeaca6;
  box-shadow: 0 13px 28px rgba(17, 17, 17, 0.11);
  transform: translateY(-3px);
}

.generation-video {
  border: 1px solid #d2d1cc;
  border-radius: 10px;
  background: #fff;
}

.generation-input-image {
  width: 60%;
  max-width: 150px;
  border: 1px solid #d2d1cc;
  border-radius: 10px;
  background: #fff;
  filter: none;
}

.generation-prompt {
  min-height: 3.7rem;
  margin-top: 0.7rem;
  color: #292824;
  font-family: "Source Sans 3", "Noto Sans", sans-serif;
  font-size: 0.91rem;
  line-height: 1.4;
}

.generation-prompt strong {
  margin-right: 0.32rem;
  padding: 0.02rem 0.3rem;
  background: var(--pi-ink);
  color: var(--pi-paper);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bibtex-section {
  padding: 5rem 1.5rem 5.5rem;
  border-bottom: 1px solid #cdccc7;
  background: var(--pi-sand);
}

.bibtex-section .title {
  margin-bottom: 1.6rem;
  color: var(--pi-ink);
}

.bibtex-section pre {
  padding: 1.45rem 1.6rem;
  border: 1px solid #292929;
  border-radius: 14px;
  background: var(--pi-ink);
  box-shadow: 0 14px 32px rgba(17, 17, 17, 0.15);
  color: var(--pi-paper);
  font-size: 0.9rem;
  line-height: 1.6;
}

@media screen and (max-width: 900px) {
  .publication-hero::before {
    right: -12rem;
  }

  .publication-hero::after {
    left: -9rem;
  }

  .publication-title-line {
    white-space: normal;
  }

  .abstract-column {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }
}

@media screen and (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .publication-hero .hero-body {
    padding-top: 3.1rem;
  }

  .publication-kicker {
    margin-bottom: 1.4rem;
  }

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

  .publication-hero::before {
    right: -16rem;
    bottom: -17rem;
  }

  .publication-hero::after {
    display: none;
  }

  .results-carousel .item,
  .publication-method,
  .bibtex-section pre {
    box-shadow: 0 9px 22px rgba(17, 17, 17, 0.11);
  }

  .results-section .title.is-4 {
    font-size: 1.08rem;
  }
}

/* More breathing room for the method overview */
.overview-section .container.is-max-desktop {
  max-width: 1180px !important;
}

.overview-section .columns:last-child .title.is-3 {
  margin-bottom: 2.35rem;
}

.publication-method {
  padding: 1.55rem;
}

.method-caption {
  max-width: 1060px;
  margin: 1.3rem auto 0.35rem;
  padding: 0 0.35rem;
}

@media screen and (max-width: 900px) {
  .publication-method {
    padding: 1.15rem;
  }

  .overview-section .columns:last-child .title.is-3 {
    margin-bottom: 1.8rem;
  }
}

@media screen and (max-width: 560px) {
  .publication-method {
    padding: 0.85rem;
  }

  .method-caption {
    margin-top: 1rem;
    padding: 0 0.2rem;
  }
}

/* Balance the whitespace around the Method artwork. */
.method-image-frame {
  overflow: hidden;
  padding-top: 14px;
  background: #fff;
  border: 1px solid #d2d1cc;
  border-radius: 12px;
}

.publication-method .method-image-frame img {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 0;
}

@media screen and (max-width: 560px) {
  .method-image-frame {
    padding-top: 8px;
  }
}
