@charset "UTF-8";

:root {
  --ink: #202831;
  --muted: #606874;
  --purple: #6952ae;
  --purple-light: #f0edf8;
  --teal: #26776d;
  --line: #e4e5e8;
  --paper: #faf9f6;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased
}

button, input {
  font: inherit
}

button, a {
  -webkit-tap-highlight-color: transparent
}

button {
  color: inherit;
  border: 0
}

a {
  color: inherit;
  text-decoration: none
}

button:not(:disabled), summary {
  cursor: pointer
}

button:disabled {
  cursor: not-allowed
}

img {
  display: block;
  width: 100%;
  height: auto
}

figure, h1, h2, h3, p {
  margin: 0
}

[hidden] {
  display: none !important
}

::selection {
  background: #e4dcfa;
  color: #242030
}

:focus-visible {
  outline: 3px solid #927acb;
  outline-offset: 5px;
  border-radius: 4px
}

.container {
  width: min(1100px, calc(100% - 64px));
  margin-inline: auto
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 16px;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-180%)
}

.skip-link:focus {
  transform: translateY(0)
}

/* Navigation */

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  background: #faf9f6f5;
  border-bottom: 1px solid #e8e6e1;
  backdrop-filter: blur(14px)
}

.header-inner {
  width: min(1240px, calc(100% - 64px));
  min-height: 72px;
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 760;
  letter-spacing: -.8px;
  white-space: nowrap
}

.wordmark-divider {
  color: #c5c5c5;
  margin: 0 6px;
  font-size: 22px;
  font-weight: 400
}

.wordmark-note {
  font-size: 12px;
  color: var(--muted);
  font-weight: 450;
  letter-spacing: .1px
}

.section-nav {
  display: flex;
  gap: 29px;
  align-items: center;
  font-size: 13px;
  font-weight: 550
}

.section-nav a {
  position: relative;
  color: var(--muted);
  padding: 24px 0;
  transition: color .18s
}

.section-nav a:hover, .section-nav a[aria-current] {
  color: var(--purple)
}

.section-nav a[aria-current]::after {
  content: "";
  position: absolute;
  height: 2px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--purple)
}

/* Publication header */

.publication-hero {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  padding: 49px 0;
  text-align: center;
  border-bottom: 1px solid var(--line)
}

.hero-grid {
  position: absolute;
  pointer-events: none;
  inset: 0;
  opacity: .38;
  background-image: linear-gradient(#d8d4e44d 1px, transparent 1px), linear-gradient(90deg, #d8d4e44d 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 15%, #000 0%, transparent 65%)
}

.hero-content {
  position: relative
}

h1 {
  margin-top: 0;
}

.paper-title {
  display: block;
  max-width: 1040px;
  margin: 0 auto;
  font-size: clamp(26px, 3.1vw, 38px);
  line-height: 1.28;
  font-weight: 660;
  letter-spacing: -1.25px;
  text-wrap: balance
}

.hero-tagline {
  margin-top: 18px;
  font-size: 16px;
  color: var(--muted);
  letter-spacing: .1px
}

.authors {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 19px;
  justify-content: center;
  margin: 25px auto 0;
  font-size: 14px;
  font-weight: 530;
  max-width: 920px
}

.authors span {
  white-space: nowrap
}

sup {
  font-size: .7em;
  vertical-align: super;
  line-height: 0;
  color: var(--purple);
  margin-left: 2px
}

.affiliation {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.author-notes {
  display: flex;
  gap: 21px;
  justify-content: center;
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px
}

.publication-links {
  margin-top: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center
}

.button {
  min-height: 44px;
  padding: 10px 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 580;
  line-height: 1.4;
  border: 1px solid transparent
}

.button-primary {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 2px 3px #2028310f;
  transition: background .18s, transform .18s
}

.button-primary:hover {
  background: #3b3451;
  transform: translateY(-2px)
}

.button-unavailable {
  color: #747780;
  background: #efefed;
  border-color: #e1e1de
}

.coming-soon {
  font-size: 10px;
  color: #757982;
  padding-left: 9px;
  border-left: 1px solid #d4d4d2;
  font-weight: 450
}

/* Paper sections and figures */

.section {
  padding-top: 86px;
  padding-bottom: 86px
}

.section-tinted {
  background: #f7f8fa;
  border-block: 1px solid #edf0f2
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 45px;
  margin-bottom: 36px
}

.eyebrow {
  display: block;
  font-size: 10px;
  letter-spacing: 1.65px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 13px
}

.eyebrow>span {
  display: inline-block;
  color: #92959e;
  padding-right: 10px;
  margin-right: 10px;
  border-right: 1px solid #d5d5db
}

h2 {
  font-size: clamp(27px, 3.1vw, 36px);
  font-weight: 650;
  line-height: 1.22;
  letter-spacing: -1.15px;
  text-wrap: balance
}

h3 {
  font-size: 21px;
  font-weight: 640;
  line-height: 1.35;
  letter-spacing: -.5px
}

.section-intro {
  max-width: 410px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8
}

.paper-figure {
  border: 1px solid #e0e3e7;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 6px #20283103
}

.paper-figure>a {
  position: relative;
  display: block;
  background: #fff;
  padding: 28px
}

.paper-figure img {
  margin-inline: auto
}

.overview-figure>a {
  padding: 32px 50px
}

.enlarge-hint {
  position: absolute;
  bottom: 13px;
  right: 16px;
  color: #646875;
  border: 1px solid #e3e3e6;
  background: #fffffff5;
  border-radius: 4px;
  font-size: 9px;
  letter-spacing: .15px;
  padding: 2px 8px;
  opacity: 0;
  transition: opacity .2s
}

.paper-figure a:hover .enlarge-hint, .paper-figure a:focus-visible .enlarge-hint {
  opacity: 1
}

figcaption {
  display: flex;
  gap: 17px;
  align-items: baseline;
  border-top: 1px solid #e8e9ed;
  padding: 17px 24px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  background: #fcfcfd
}

figcaption strong {
  color: #4a505a;
  font-weight: 600
}

.figure-number {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
  color: var(--purple);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: .3px
}

.abstract-block {
  display: grid;
  grid-template-columns: .8fr 2fr;
  gap: 55px;
  padding-top: 57px
}

.abstract-block h3 {
  font-size: 22px
}

.abstract-copy {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9
}

.abstract-copy p+p {
  margin-top: 18px
}

.abstract-copy strong {
  color: var(--ink);
  font-weight: 600
}

/* Analysis and citation */

.method-copy,
.results-summary {
  max-width: 900px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.results-summary strong {
  color: var(--ink);
  font-weight: 600;
}

.attention-figure>a {
  padding: 28px 56px
}

.citation-section {
  padding-bottom: 64px
}

.citation-box {
  border: 1px solid #dddfe5;
  background: #f8f9fb;
  border-radius: 9px;
  overflow: hidden
}

.citation-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 48px;
  padding: 10px 20px;
  border-bottom: 1px solid #e0e3e9;
  font-size: 11px;
  color: var(--muted)
}

.citation-toolbar button {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1px solid #dcdde4;
  border-radius: 5px;
  padding: 5px 10px;
  font-size: 10px;
  font-weight: 550;
  color: #525969
}

.citation-toolbar button:hover {
  color: var(--purple);
  border-color: #b8a9d4
}

.citation-box pre {
  margin: 0;
  padding: 25px;
  overflow-x: auto;
  font-size: 11px;
  line-height: 1.9;
  color: #53546c;
  tab-size: 2
}

.citation-box code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace
}

.copy-status {
  min-height: 22px;
  font-size: 11px;
  color: var(--teal);
  padding-top: 8px
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  background: var(--paper)
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px
}

.site-footer .wordmark {
  font-size: 19px
}

.site-footer p {
  font-size: 10px;
  color: #737984;
  line-height: 1.85
}

.site-footer .wordmark+p {
  margin-top: 9px
}

.site-footer p a {
  text-decoration: underline;
  text-decoration-color: #c3c3cd;
  text-underline-offset: 3px
}

.back-to-top {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap
}

/* Accessible full-size figure viewer */

#figure-dialog {
  border: 1px solid #dddfe5;
  border-radius: 12px;
  width: min(1400px, calc(100% - 40px));
  max-height: 93dvh;
  padding: 0;
  color: var(--ink);
  box-shadow: 0 24px 100px #0003
}

#figure-dialog::backdrop {
  background: #141421b8;
  backdrop-filter: blur(5px)
}

.dialog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
  border-bottom: 1px solid var(--line);
  gap: 15px
}

.dialog-toolbar p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4
}

#close-figure {
  background: #f1f1f5;
  border-radius: 5px;
  padding: 8px 12px;
  min-height: 34px;
  line-height: 1.4;
  font-size: 12px;
  flex-shrink: 0
}

#dialog-image {
  max-height: calc(90dvh - 125px);
  object-fit: contain;
  padding: 20px
}

.dialog-footer {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 13px 20px;
  font-size: 11px;
  color: var(--muted)
}

.dialog-footer a {
  color: var(--purple)
}

body:has(dialog[open]) {
  overflow: hidden
}

@media (min-width: 1500px) {
  .publication-hero {
    padding-top: 61px
  }
}

@media (max-width: 1000px) {
  .paper-title {
    font-size: 32px
  }

  .authors {
    max-width: 670px;
    gap: 5px 19px
  }

  .section-heading {
    gap: 30px
  }

  .section-intro {
    max-width: 350px
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 80px
  }

  .container, .header-inner {
    width: calc(100% - 40px)
  }

  .header-inner {
    min-height: 62px;
    gap: 14px
  }

  .wordmark-note, .wordmark-divider {
    display: none
  }

  .section-nav {
    gap: 18px;
    font-size: 11px
  }

  .section-nav a {
    padding: 20px 0
  }

  .publication-hero {
    padding-top: 38px
  }

  .paper-title {
    font-size: 29px;
    letter-spacing: -.85px;
  }

  .hero-tagline {
    font-size: 13px;
    margin-top: 16px
  }

  .authors {
    max-width: 540px;
    font-size: 12px;
    gap: 6px 16px;
    margin-top: 21px
  }

  .author-notes {
    font-size: 9px
  }

  .button {
    font-size: 11px;
    padding-inline: 12px;
    gap: 8px
  }

  .coming-soon {
    font-size: 9px;
    padding-left: 7px
  }

  .publication-links {
    gap: 8px;
    margin-top: 22px
  }

  .section {
    padding-top: 55px;
    padding-bottom: 55px
  }

  .section-heading {
    display: block;
    margin-bottom: 25px
  }

  .section-intro {
    max-width: 100%;
    margin-top: 18px;
    font-size: 13px
  }

  h2 {
    font-size: 31px
  }

  .paper-figure>a, .overview-figure>a, .method-copy,
.results-summary {
  max-width: 900px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.results-summary strong {
  color: var(--ink);
  font-weight: 600;
}

.attention-figure>a {
    padding: 18px
  }

  .enlarge-hint {
    opacity: 1;
    bottom: 5px;
    right: 7px;
    font-size: 8px
  }

  figcaption {
    padding: 14px 16px;
    gap: 12px;
    font-size: 11px
  }

  .figure-number {
    font-size: 8px
  }

  .abstract-block {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 36px
  }

  .abstract-block h3 br {
    display: none
  }

  .abstract-copy {
    font-size: 13px
  }

  .citation-box pre {
    padding: 18px;
    font-size: 10px
  }

  .citation-toolbar {
    padding-inline: 16px
  }

  .footer-inner {
    flex-wrap: wrap;
    gap: 25px
  }

  .back-to-top {
    margin-left: auto
  }
}

@media (max-width: 480px) {
  .container, .header-inner {
    width: calc(100% - 32px)
  }

  .section-nav {
    gap: 14px;
    font-size: 10px
  }

  .wordmark {
    font-size: 19px;
    gap: 7px
  }

  .paper-title {
    font-size: 26px;
    line-height: 1.3
  }

  .hero-tagline {
    font-size: 12px
  }

  .authors {
    font-size: 12px;
    gap: 5px 13px
  }

  .publication-links {
    gap: 8px;
    max-width: 345px;
    margin-inline: auto
  }

  .button-primary {
    flex-basis: 100%;
    max-width: 300px
  }

  .button-unavailable {
    flex: 1
  }

  h2 {
    font-size: 28px
  }

  .eyebrow {
    font-size: 9px
  }

  .paper-figure>a, .overview-figure>a, .method-copy,
.results-summary {
  max-width: 900px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.results-summary strong {
  color: var(--ink);
  font-weight: 600;
}

.attention-figure>a {
    padding: 12px 9px 20px
  }

  figcaption {
    flex-direction: column;
    gap: 4px
  }

  .footer-inner>p {
    order: 3;
    flex-basis: 100%
  }

  #figure-dialog {
    width: calc(100% - 20px)
  }

  #dialog-image {
    padding: 10px
  }

  .dialog-toolbar {
    padding: 12px
  }

  .dialog-toolbar p {
    font-size: 10px
  }

  .dialog-footer {
    font-size: 9px;
    padding: 12px
  }
}

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

  *, *::before, *::after {
    transition: none !important
  }
}

@media print {

.site-header, .publication-links, .enlarge-hint, .back-to-top, #copy-bibtex, .copy-status {
    display: none !important
  }

  .container {
    width: 100%
  }

  body {
    font-size: 11px
  }

  .publication-hero, .section {
    padding-block: 25px;
    background: #fff
  }

  .hero-grid {
    display: none
  }

  .paper-title {
    font-size: 25px
  }

  .section-heading {
    margin-bottom: 20px
  }

  h2 {
    font-size: 24px
  }

.paper-figure {
    break-inside: avoid
  }

  .citation-box pre {
    white-space: pre-wrap;
    overflow-wrap: anywhere
  }
}
