body {
    font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    color: #1f1f1f;
    background-color: rgb(253, 249, 242);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  .publication-title {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    margin-bottom: 1.5rem !important;
    color: #1b1b1b;
  }

  .publication-title-lead {
    display: block;
    font-size: 64px;
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.05;
    color: #1b1b1b;
    -webkit-text-stroke: 1.25px #1b1b1b;
  }

  .publication-title-sub {
    display: block;
    margin-top: 4px;
    font-size: 40px;
    font-weight: 400 !important;
    letter-spacing: -0.2px;
    line-height: 1.25;
    font-style: normal;
    color: #1b1b1b;
  }

  .publication-authors {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1.05rem;
    margin-top: 0.5rem;
    margin-bottom: 0.25rem;
  }
  
  .publication-authors .author-block {
    display: inline-block;
    margin-right: 0.35rem;
  }
  
  .publication-authors a {
    color: #1a73e8;
    text-decoration: none;
  }
  
  .publication-authors a:hover {
    text-decoration: underline;
  }
  
  .publication-authors sup {
    color: #555;
    font-size: 0.75em;
  }
  
  .publication-links {
    margin-top: 0.75rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .publication-links .button.is-dark {
    background-color: #1f1f1f;
    color: #fff;
    border-radius: 9999px;
    padding: 0 1.25rem;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 500;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10), 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: background-color 0.2s ease, transform 0.25s ease, box-shadow 0.25s ease;
    will-change: transform;
  }

  .publication-links .button.is-dark:hover {
    background-color: #3a3a3a;
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16), 0 3px 8px rgba(0, 0, 0, 0.08);
  }
  
  section.hero:first-of-type .hero-body {
    padding-bottom: 1.5rem;
  }

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

  .hero.teaser .hero-body {
    padding-top: 0;
  }
  
  .hero.teaser video {
    width: 100%;
    height: auto;
    border-radius: 16px;
    background-color: #fff;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22), 0 6px 14px rgba(0, 0, 0, 0.10);
    display: block;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    will-change: transform;
    position: relative;
    z-index: 1;
  }

  .hero.teaser video:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 56px rgba(0, 0, 0, 0.28), 0 10px 20px rgba(0, 0, 0, 0.14);
  }
  
  .hero.teaser .subtitle {
    margin-top: 1.25rem;
    font-size: 1rem;
    font-weight: 400;
    color: #4a4a4a;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
  }

  #pipeline {
    padding-top: 0rem;
  }

  #embodied-results {
    padding-top: 2rem;
  }

  .columns.is-centered:not(:last-child) {
    margin-bottom: 0 !important;
  }

  .teaser-lede {
    max-width: 820px;
    margin: 0 auto 2rem;
    padding: 0 0.5rem;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1.15rem;
    line-height: 1.65;
    color: #2a2a2a;
    font-weight: 400;
  }

  .teaser-lede p {
    margin-bottom: 1rem;
  }

  .teaser-lede p:last-child {
    margin-bottom: 0;
  }

  .teaser-lede strong {
    font-weight: 600;
    color: #1a1a1a;
  }

  .teaser-lede em {
    font-style: italic;
    font-weight: 500;
    color: #1a1a1a;
  }

  .teaser-lede u {
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
    text-decoration-color: #1a1a1a;
    font-weight: 500;
    color: #1a1a1a;
  }

  .section-title {
    font-family: 'Fraunces', 'Source Serif 4', Georgia, serif;
    font-weight: 500;
    font-size: 2rem;
    letter-spacing: -0.01em;
    position: relative;
    display: inline-block;
    margin-bottom: 2rem !important;
    color: #1a1a1a;
    font-variation-settings: "opsz" 120, "SOFT" 30;
  }

  .keyword-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0rem;
    margin-bottom: 1.75rem;
  }

  .keyword-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.35s ease, background-color 0.2s ease, color 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
    line-height: 1.2;
  }

  .keyword-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16), 0 3px 8px rgba(0, 0, 0, 0.10);
  }

  .keyword-tag:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
  }

  .keyword-tag.tag-blue {
    background: #ffffff;
    color: #2c6cb0;
    border: 1.5px solid #2c6cb0;
  }
  .keyword-tag.tag-blue.is-active { background: #2c6cb0; color: #ffffff; }

  .keyword-tag.tag-green {
    background: #ffffff;
    color: #1f8a5a;
    border: 1.5px solid #1f8a5a;
  }
  .keyword-tag.tag-green.is-active { background: #1f8a5a; color: #ffffff; }

  .keyword-tag.tag-purple {
    background: #ffffff;
    color: #6a4fb6;
    border: 1.5px solid #6a4fb6;
  }
  .keyword-tag.tag-purple.is-active { background: #6a4fb6; color: #ffffff; }

  .keyword-tag.tag-yellow {
    background: #ffffff;
    color: #c97f1a;
    border: 1.5px solid #c97f1a;
  }
  .keyword-tag.tag-yellow.is-active { background: #c97f1a; color: #ffffff; }

  .panel-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12), 0 4px 10px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.35s ease, border-color 0.35s ease;
  }

  .panel-card:hover {
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.20), 0 6px 14px rgba(0, 0, 0, 0.10);
    border-color: rgba(0, 0, 0, 0.12);
  }

  .chart-wrapper {
    padding: 1.5rem;
    height: 480px;
  }

  /* Horizontal charts scroller (Planning & Reasoning row) */
  .charts-scroller-wrap {
    position: relative;
    margin: 0 -0.5rem;
  }

  .charts-scroller {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 1rem 3rem 1.25rem;
    scroll-padding-inline: 3rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.18) transparent;
    -webkit-overflow-scrolling: touch;
  }

  .charts-scroller::-webkit-scrollbar { height: 8px; }
  .charts-scroller::-webkit-scrollbar-track { background: transparent; }
  .charts-scroller::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 9999px;
  }
  .charts-scroller::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
  }

  .charts-slide {
    flex: 0 0 auto;
    width: min(540px, calc(100vw - 3rem));
    scroll-snap-align: start;
  }

  .charts-slide .chart-wrapper {
    height: 480px;
    position: relative;
    padding-bottom: 2.75rem;
  }

  .chart-chips {
    position: absolute;
    bottom: 0.6rem;
    right: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.35rem;
    z-index: 2;
    pointer-events: none;
  }

  .chart-chip {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    border-radius: 9999px;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #7a5a2c;
    background: rgba(217, 179, 128, 0.22);
    border: 1px solid rgba(168, 130, 80, 0.35);
    white-space: nowrap;
  }

  /* Trajectory "lower is better" callout */
  .traj-wrapper {
    position: relative;
    height: 400px;
  }

  .traj-hint {
    position: absolute;
    right: 1.25rem;
    bottom: 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.7rem;
    border-radius: 9999px;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #7a5a2c;
    background: rgba(217, 179, 128, 0.22);
    border: 1px solid rgba(168, 130, 80, 0.35);
    pointer-events: none;
    z-index: 2;
  }

  .traj-hint svg {
    flex-shrink: 0;
  }

  /* Fade hints at edges when overflowing */
  .charts-scroller-wrap::before,
  .charts-scroller-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 48px;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.25s ease;
  }
  .charts-scroller-wrap::before {
    left: 0;
    background: linear-gradient(to right, rgba(253, 249, 242, 0.95), rgba(253, 249, 242, 0));
  }
  .charts-scroller-wrap::after {
    right: 0;
    background: linear-gradient(to left, rgba(253, 249, 242, 0.95), rgba(253, 249, 242, 0));
  }
  .charts-scroller-wrap.has-overflow:not(.at-start)::before { opacity: 1; }
  .charts-scroller-wrap.has-overflow:not(.at-end)::after   { opacity: 1; }

  /* Arrow buttons (shared style with the video carousel) */
  .scroller-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.95);
    color: #1f1f1f;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.25s ease, background-color 0.2s ease, opacity 0.25s ease;
    z-index: 3;
    opacity: 0;
    pointer-events: none;
  }
  .scroller-arrow--prev { left: -8px; }
  .scroller-arrow--next { right: -8px; }
  .charts-scroller-wrap.has-overflow .scroller-arrow {
    opacity: 1;
    pointer-events: auto;
  }
  .charts-scroller-wrap.has-overflow.at-start .scroller-arrow--prev,
  .charts-scroller-wrap.has-overflow.at-end   .scroller-arrow--next {
    opacity: 0;
    pointer-events: none;
  }
  .scroller-arrow:hover {
    background-color: #ffffff;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18), 0 4px 8px rgba(0, 0, 0, 0.08);
  }

  @media screen and (max-width: 640px) {
    .scroller-arrow { display: none; }
    .charts-slide { width: calc(100vw - 2.5rem); }
    .charts-slide .chart-wrapper { height: 400px; }
  }

  .pipeline-figure {
    margin: 0 auto;
    max-width: 100%;
  }

  .pipeline-figure img {
    width: 100%;
    height: auto;
  }

  .pipeline-figure--trajectory {
    max-width: 115%;
    width: 115%;
    margin-left: -7.5%;
    margin-right: -7.5%;
  }

  @media screen and (max-width: 768px) {
    .pipeline-figure--trajectory {
      max-width: 100%;
      width: 100%;
      margin-left: 0;
      margin-right: 0;
    }
  }

  /* Real-World Rollouts carousel */
  .carousel {
    max-width: 960px;
    margin: 0 auto;
  }

  .carousel-frame {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .carousel-viewport {
    flex: 1 1 auto;
    overflow: hidden;
    border-radius: 16px;
    background-color: #fff;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22), 0 6px 14px rgba(0, 0, 0, 0.10);
    position: relative;
    z-index: 1;
  }

  .carousel-track {
    display: flex;
    width: 100%;
    will-change: transform;
  }

  .carousel-slide {
    flex: 0 0 100%;
    min-width: 0;
    display: block;
    position: relative;
    background-color: #fff;
    aspect-ratio: 16 / 9;
  }

  .carousel-video {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #fff;
  }

  .carousel-arrow {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    margin: 0 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.95);
    color: #1f1f1f;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.25s ease, background-color 0.2s ease;
    z-index: 2;
  }

  .carousel-arrow:hover {
    background-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18), 0 4px 8px rgba(0, 0, 0, 0.08);
  }

  .carousel-arrow:active {
    transform: translateY(0);
  }

  .carousel-arrow svg {
    width: 18px;
    height: 18px;
  }

  .carousel-caption {
    margin: 1.1rem auto 0;
    max-width: 820px;
    padding: 0 0.5rem;
    text-align: center;
    font-family: 'Source Sans 3', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #2a2a2a;
  }

  /* Citation block */
  .citation-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12), 0 4px 10px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.35s ease, border-color 0.35s ease;
    max-width: 820px;
    margin: 0 auto;
  }

  .citation-card:hover {
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.20), 0 6px 14px rgba(0, 0, 0, 0.10);
    border-color: rgba(0, 0, 0, 0.12);
  }

  .citation-block {
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.88rem;
    line-height: 1.6;
    color: #2a2a2a;
    white-space: pre;
    overflow-x: auto;
    tab-size: 4;
  }

  .citation-copy {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.95);
    color: #1f1f1f;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.25s ease, color 0.2s ease;
  }

  .citation-copy:hover {
    background-color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
  }

  .citation-copy.is-copied {
    background-color: #1f1f1f;
    color: #ffffff;
    border-color: #1f1f1f;
  }

  @media screen and (max-width: 640px) {
    .citation-card {
      padding: 1.25rem 1rem;
    }
    .citation-block {
      font-size: 0.78rem;
    }
    .citation-copy-label {
      display: none;
    }
    .citation-copy {
      padding: 0.4rem;
    }
  }

  .carousel-dots {
    margin-top: 0.9rem;
    display: flex;
    justify-content: center;
    gap: 0.55rem;
  }

  .carousel-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 9999px;
    background-color: rgba(0, 0, 0, 0.18);
    cursor: pointer;
    transition: width 0.35s ease, background-color 0.25s ease, transform 0.2s ease;
  }

  .carousel-dot:hover {
    background-color: rgba(0, 0, 0, 0.35);
    transform: scale(1.15);
  }

  .carousel-dot.is-active {
    width: 26px;
    background-color: #1f1f1f;
  }

  @media screen and (max-width: 640px) {
    .carousel-arrow {
      width: 36px;
      height: 36px;
      margin: 0 0.35rem;
    }
    .carousel-arrow svg {
      width: 14px;
      height: 14px;
    }
    .carousel-caption {
      font-size: 0.95rem;
    }
  }

  .results-caption {
    margin-top: 0.85rem;
    font-size: 0.9rem;
    color: #4a4a4a;
    line-height: 1.5;
    text-align: center;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
  }

  @media screen and (max-width: 768px) {
    .publication-title-lead {
      font-size: 40px;
      letter-spacing: -0.75px;
    }
    .publication-title-sub {
      font-size: 26px;
      padding: 0.1em 0.45em;
    }
    .publication-links {
      gap: 0.35rem;
    }
    .chart-wrapper {
      height: 380px;
    }
    .teaser-lede {
      font-size: 1.02rem;
      line-height: 1.6;
      margin-bottom: 1.5rem;
    }
    .section-title {
      font-size: 1.6rem;
    }
  }
  