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

/* CMA project page --------------------------------------------------- */

:root {
  --ink: #1a1714;
  --ink-soft: rgba(12, 12, 12, 0.66);
  --muted: rgba(26, 23, 20, 0.62);
  --quiet: rgba(26, 23, 20, 0.46);
  --line: rgba(12, 12, 12, 0.16);
  --paper: #f6f6ef;
  --serif: "Source Serif 4", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: var(--serif);
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

body {
  color: var(--ink);
  background: var(--paper);
  font-family: var(--serif);
  font-weight: 400;
  text-rendering: optimizeLegibility;
}

.button,
.navbar,
.switcher button,
.cma-btn {
  font-family: var(--serif);
}

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

::selection {
  background: #e6dcc8;
  color: var(--ink);
}

a:focus-visible,
button:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 3px;
}

/* Masthead ----------------------------------------------------------- */

.navbar.cma-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 3.25rem;
  background: rgba(246, 246, 239, 0.9);
  backdrop-filter: saturate(1.15) blur(14px);
  border-bottom: 1px solid rgba(12, 12, 12, 0.1);
  font-family: var(--serif);
}

.cma-nav .navbar-brand,
.cma-nav .navbar-menu,
.cma-nav .navbar-start {
  align-items: center;
}

.cma-brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: var(--ink) !important;
}

.cma-nav .navbar-item {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 400;
  color: var(--ink-soft);
  background: transparent;
}

.cma-nav .navbar-item:hover,
.cma-nav .navbar-item:focus,
.cma-nav .navbar-link:hover {
  color: var(--ink);
  background: transparent;
}

.cma-nav .navbar-burger {
  color: var(--ink);
}

.cma-nav .navbar-burger:hover,
.cma-nav .navbar-burger.is-active {
  background: transparent;
}

.cma-nav .navbar-burger span {
  height: 1px;
  background: var(--ink);
}

.cma-nav .navbar-menu {
  background: rgba(246, 246, 239, 0.98);
  box-shadow: none;
}

@media screen and (min-width: 1024px) {
  .cma-nav .navbar-start {
    flex-grow: 1;
    justify-content: flex-end;
    margin-right: 0.4rem;
  }
}

/* Shell: outline + reading column ----------------------------------- */

.cma-wrap {
  width: min(100%, 62rem);
  margin-inline: auto;
  padding-inline: 1.2rem;
}

.cma-outline {
  display: none;
}

.cma-main {
  min-width: 0;
}

@media screen and (min-width: 1100px) {
  .cma-shell {
    display: grid;
    grid-template-columns: 184px minmax(0, 1fr);
    column-gap: 44px;
    align-items: start;
    width: min(1188px, calc(100% - 40px));
    margin-inline: auto;
  }

  .cma-outline {
    display: block;
    position: sticky;
    top: 4.6rem;
    align-self: start;
    min-width: 0;
    max-width: 100%;
    padding-left: 14px;
    border-left: 1px solid rgba(12, 12, 12, 0.16);
  }

  .cma-main .cma-wrap {
    width: auto;
    max-width: none;
    padding-inline: 0;
  }
}

.cma-outline nav {
  display: grid;
  gap: 0;
}

.cma-outline a {
  position: relative;
  display: block;
  padding: 9px 0;
  color: #0c0c0ca8;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.28;
  text-decoration: none;
  transition: color 0.16s;
}

.cma-outline a[data-level="2"] {
  padding: 5px 0 5px 12px;
  color: #0c0c0c70;
  font-size: 13px;
  font-weight: 400;
}

.cma-outline a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -15px;
  width: 1px;
  height: 0;
  background: #0c0c0cc2;
  transform: translateY(-50%);
  transition: height 0.16s;
}

.cma-outline a:hover,
.cma-outline a:focus-visible,
.cma-outline a[aria-current="true"] {
  color: #0c0c0cf0;
}

.cma-outline a:hover::before,
.cma-outline a:focus-visible::before,
.cma-outline a[aria-current="true"]::before {
  height: 20px;
}

.cma-section {
  padding-top: 3.15rem;
  padding-bottom: 0.4rem;
}

section[id],
#video {
  scroll-margin-top: 4.6rem;
}

/* Title block ------------------------------------------------------- */

.cma-kicker {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 0.98rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.hero {
  background: transparent;
}

.hero .hero-body {
  padding: 2.35rem 0 0.4rem;
}

.cma-titleblock {
  padding-bottom: 1.65rem;
  border-bottom: 1px solid var(--line);
}

.title.publication-title {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.25rem, 3.15vw, 3.05rem);
  letter-spacing: -0.018em;
  line-height: 1.08;
  text-wrap: pretty;
}

.title-colon {
  font-weight: 400;
}

.title-rest {
  display: block;
  margin-top: 0.62rem;
  color: #3f3933;
  font-size: 0.46em;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.32;
}

.publication-authors {
  margin-top: 1.2rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
}

.author-block {
  display: inline-block;
  margin: 0 1.45rem 0.45rem 0;
  text-align: left;
  vertical-align: top;
}

.publication-authors a {
  color: var(--ink) !important;
  font-weight: 500;
  text-decoration: none;
}

.publication-authors a:hover,
.publication-authors a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.author-email {
  display: block;
  margin-top: 0.12rem;
  color: var(--muted) !important;
  font-family: var(--serif);
  font-size: 0.78rem !important;
  font-weight: 400 !important;
  letter-spacing: 0;
  text-decoration: none;
}

.publication-meta {
  margin-top: 0.35rem;
  font-family: var(--serif);
  font-weight: 400;
  text-align: left;
}

.affiliation-line,
.contrib-note {
  color: #3f3933;
  font-family: var(--serif);
}

.affiliation-line {
  margin-top: 0.15rem;
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.45;
}

.affiliation-line .author-block {
  margin-right: 1.1rem;
}

.contrib-note {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.claim {
  max-width: none;
  margin: 1.15rem 0 0;
  color: #241f1b;
  font-family: var(--serif);
  font-size: clamp(1.22rem, 1.45vw, 1.38rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.48;
  text-wrap: pretty;
}

.publication-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-start;
  margin-top: 1.35rem;
}

.publication-links .link-block {
  display: inline-flex;
}

.cma-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 36px;
  margin: 0;
  padding: 0.42rem 0.85rem;
  border: 1px solid rgba(12, 12, 12, 0.28);
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: none;
  cursor: pointer;
  transition: background 0.16s, border-color 0.16s;
}

.cma-btn .icon {
  margin: 0;
  width: 1rem;
  height: 1rem;
  font-size: 0.85rem;
}

.cma-btn:hover,
.cma-btn:focus-visible {
  border-color: rgba(12, 12, 12, 0.62);
  background: rgba(12, 12, 12, 0.045);
  color: var(--ink);
}

.cma-btn--quiet,
.cma-btn--quiet:disabled {
  border-style: dashed;
  border-color: rgba(12, 12, 12, 0.22);
  color: var(--quiet);
  background: transparent;
  opacity: 1;
  cursor: not-allowed;
}

.cma-btn--quiet:hover,
.cma-btn--quiet:focus-visible {
  background: transparent;
  border-color: rgba(12, 12, 12, 0.22);
  color: var(--quiet);
}

.cma-btn--small {
  min-height: 32px;
  padding: 0.28rem 0.7rem;
  font-size: 14px;
}

/* Prose -------------------------------------------------------------- */

.title.cma-h2 {
  margin: 0 0 0.95rem;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.95rem, 2.4vw, 2.25rem);
  letter-spacing: 0;
  line-height: 1.12;
  text-align: left;
}

.cma-lead,
.abstract p,
#method .cma-wrap > p,
#experiments .cma-wrap > p,
.method-block p,
.figure-block figcaption,
.still-grid figcaption,
.clip-caption,
.video-note,
.teaser-caption,
.finding-card p:last-child,
.audit-steps p,
.subjects-note,
.bibtex-note,
.footer .content {
  font-family: var(--serif);
}

.cma-lead,
#method .cma-wrap > p,
#experiments .cma-wrap > p,
.method-block p {
  max-width: none;
  margin-bottom: 1rem;
  color: #241f1b;
  font-size: 1.1875rem;
  font-weight: 400;
  line-height: 1.62;
}

.abstract {
  max-width: none;
  margin: 0 0 2.6rem;
}

.abstract p {
  margin-bottom: 1rem;
  color: #241f1b;
  font-size: 1.1875rem;
  line-height: 1.62;
  text-align: justify;
  hyphens: auto;
  text-wrap: pretty;
}

#video {
  margin-top: 0.4rem;
}

#video .cma-h2 {
  margin-bottom: 0.7rem;
}

/* Figures and video -------------------------------------------------- */

.teaser {
  background: transparent;
  border: 0;
  font-family: var(--serif);
}

.teaser .hero-body {
  padding: 1.55rem 0 0.2rem;
}

.teaser img,
.figure-block img {
  display: block;
  width: 100%;
  height: auto;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.teaser-caption,
.figure-block figcaption,
.still-grid figcaption {
  max-width: none;
  margin: 0.8rem 0 0;
  color: rgba(12, 12, 12, 0.8);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.55;
  text-align: left;
}

.figure-block {
  margin: 1.05rem 0 0.35rem;
}

.figure-block a {
  display: block;
  background: transparent;
  line-height: 0;
}

.cma-player {
  margin-top: 1.15rem;
  background: #12110f;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: none;
}

.cma-player video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #0c0c0c;
  object-fit: contain;
}

.video-note {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.5;
}

.audit-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem 1.25rem;
  margin: 1.45rem 0 1.85rem;
  padding: 0;
  list-style: none;
}

.audit-steps li {
  margin: 0;
  padding: 0.8rem 0 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
}

.step-index {
  display: block;
  margin-bottom: 0.28rem;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.audit-steps strong {
  display: block;
  margin-bottom: 0.28rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
}

.audit-steps p {
  margin: 0;
  color: #3f3933;
  font-size: 0.98rem;
  line-height: 1.48;
}

.method-block {
  margin-top: 2.15rem;
}

.method-block h3 {
  margin: 0 0 0.4rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 1.6vw, 1.55rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.25;
}

.switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.15rem 0 0.15rem;
}

.switcher button {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(12, 12, 12, 0.22);
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
}

.switcher button:hover {
  border-color: rgba(12, 12, 12, 0.55);
  background: rgba(12, 12, 12, 0.035);
}

.switcher button.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.switch-time {
  color: var(--muted);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}

.switcher button.is-active .switch-time {
  color: rgba(246, 246, 239, 0.72);
}

.clip-caption {
  min-height: 0;
  margin-top: 0.85rem;
  color: #241f1b;
  font-size: 1.08rem;
  line-height: 1.55;
}

.still-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem 1.6rem;
  margin-top: 1.85rem;
  align-items: stretch;
}

.still-grid figure {
  display: flex;
  flex-direction: column;
  margin: 0;
  min-width: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.still-grid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1707 / 1280;
  object-fit: cover;
  object-position: center;
  flex: 0 0 auto;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.still-grid figcaption {
  padding: 0;
}

/* Findings and citation ---------------------------------------------- */

#findings {
  background: transparent;
}

.finding-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem 1.6rem;
  margin-top: 0.35rem;
}

.finding-card {
  height: 100%;
  margin: 0;
  padding: 0.85rem 0.1rem 0.15rem;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
}

.finding-kicker {
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.finding-card p:last-child {
  margin-bottom: 0;
  color: #241f1b;
  font-size: 1.06rem;
  line-height: 1.55;
}

.subjects-note {
  margin-top: 1.15rem;
  color: var(--muted);
  font-size: 1rem;
}

.bibtex-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.bibtex-head .cma-h2 {
  margin-bottom: 0;
}

.bibtex-wrap pre {
  margin: 0;
  padding: 1.15rem 1.25rem;
  background: #1a1714;
  color: #f6f6ef;
  border-radius: 8px;
  overflow-x: auto;
}

.bibtex-wrap code {
  color: inherit;
  background: transparent;
  font-family: var(--mono);
  font-size: 0.84rem;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.bibtex-note {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 1rem;
}

.bibtex-note a,
.footer a {
  color: var(--ink);
  text-underline-offset: 2px;
}

.footer {
  margin-top: 3.5rem;
  background: transparent;
  border-top: 1px solid var(--line);
  color: #3f3933;
  font-family: var(--serif);
}

.footer .icon-link {
  color: var(--ink);
}

.footer .content p {
  font-family: var(--serif);
  line-height: 1.55;
}

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

@media screen and (max-width: 760px) {
  .cma-section {
    padding-top: 2.4rem;
  }

  .hero .hero-body {
    padding-top: 1.6rem;
  }

  .title.publication-title {
    font-size: clamp(1.85rem, 8.4vw, 2.35rem);
    line-height: 1.12;
  }

  .audit-steps,
  .finding-grid,
  .still-grid {
    grid-template-columns: 1fr;
  }

  .abstract p {
    text-align: left;
    hyphens: manual;
  }

  .cma-lead,
  #method .cma-wrap > p,
  #experiments .cma-wrap > p,
  .method-block p,
  .abstract p {
    font-size: 1.0625rem;
    line-height: 1.58;
  }
}
