:root {
  --night: #0b1113;
  --night-soft: #121b1e;
  --paper: #f1eee7;
  --paper-strong: #faf8f3;
  --ink: #172023;
  --muted: #667174;
  --line: #c9c8c0;
  --line-dark: #344044;
  --observed: #2a9d8f;
  --predicted: #e45f3d;
  --spatial: #6f9fca;
  --white: #ffffff;
  --serif: Georgia, "Times New Roman", "Noto Serif CJK SC", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --shell: 1240px;
  --gutter: 32px;
  --header-height: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  overflow-x: clip;
  overflow-wrap: anywhere;
  text-rendering: optimizeLegibility;
}

body,
button,
a {
  -webkit-font-smoothing: antialiased;
}

img,
picture {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

button {
  color: inherit;
  font: inherit;
  letter-spacing: 0;
}

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

:focus-visible {
  outline: 3px solid var(--predicted);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 8px 12px;
  color: var(--night);
  background: var(--paper-strong);
  border-radius: 4px;
  transform: translateY(-180%);
}

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  color: var(--paper-strong);
  background: rgba(11, 17, 19, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.site-header__inner,
.section-shell,
.site-footer {
  width: min(calc(100% - (var(--gutter) * 2)), var(--shell));
  margin-inline: auto;
}

.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  height: 100%;
  gap: 28px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  width: max-content;
  gap: 10px;
  text-decoration: none;
}

.wordmark__mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--night);
  background: var(--observed);
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
}

.wordmark__text {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  position: relative;
  color: #d8dedc;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--observed);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.language-switcher {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 104px;
  height: 34px;
  padding: 3px;
  border: 1px solid #556165;
  border-radius: 6px;
}

.language-switcher button {
  min-width: 0;
  padding: 0 7px;
  color: #bdc7c5;
  background: transparent;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 10px;
}

.language-switcher button[aria-pressed="true"] {
  color: var(--night);
  background: var(--paper-strong);
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 8px;
  cursor: pointer;
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 92svh;
  padding: calc(var(--header-height) + 68px) var(--gutter) 88px;
  overflow: hidden;
  color: var(--paper-strong);
  background: var(--night);
}

.hero-media {
  position: absolute;
  inset: 0;
  background: var(--night);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media__poster {
  display: none;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 12, 0.7);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: min(100%, var(--shell));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--observed);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow--dark {
  color: #1b776e;
}

.hero h1 {
  max-width: 800px;
  margin: 0;
  font-family: var(--serif);
  font-size: 72px;
  font-weight: 500;
  line-height: 0.97;
  letter-spacing: 0;
}

.hero__dek {
  max-width: 600px;
  margin: 28px 0 0;
  color: #d5dcda;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.45;
}

.author-block {
  margin-top: 28px;
  padding-left: 16px;
  border-left: 3px solid var(--predicted);
}

.author-block p {
  margin: 0;
  color: #cad2d0;
  font-size: 12px;
}

.author-block strong {
  color: var(--paper-strong);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 112px;
  min-height: 42px;
  padding: 8px 13px;
  color: var(--paper-strong);
  background: rgba(11, 17, 19, 0.7);
  border: 1px solid #83908e;
  border-radius: 4px;
  cursor: not-allowed;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.hero__actions a:first-child {
  color: var(--night);
  background: var(--paper-strong);
  border-color: var(--paper-strong);
}

.hero__actions a[aria-disabled="true"] {
  opacity: 0.88;
}

.hero__caption {
  position: absolute;
  z-index: 2;
  right: var(--gutter);
  bottom: 30px;
  display: flex;
  color: #bdc6c4;
  font-family: var(--mono);
  font-size: 9px;
  gap: 20px;
  text-transform: uppercase;
}

.hero__continue {
  position: absolute;
  z-index: 2;
  bottom: 24px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #7b8785;
  border-radius: 8px;
  text-decoration: none;
  transform: translateX(-50%);
}

.paper-section {
  padding: 112px 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.paper-section--strong {
  background: var(--paper-strong);
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

.section-marker {
  grid-column: 1 / span 2;
  align-self: start;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--ink);
}

.section-marker span,
.section-marker p {
  margin: 0;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

.section-marker span {
  color: var(--predicted);
}

.section-marker--inline,
.section-marker--dark {
  grid-column: auto;
  width: 100%;
  max-width: 190px;
  margin-bottom: 34px;
}

.section-marker--dark {
  border-color: #788487;
}

.section-heading {
  grid-column: 4 / span 5;
}

.section-heading h2,
.section-intro h2,
.method h2,
.results h2,
.implementation h2,
.citation h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
}

.editorial-copy {
  grid-column: 9 / -1;
  color: #3e484a;
  font-size: 15px;
}

.editorial-copy p {
  margin: 0 0 24px;
}

.research-statement {
  grid-column: 4 / span 8;
  margin: 70px 0 0;
  padding: 36px 0 0;
  border-top: 4px solid var(--predicted);
}

.research-statement p {
  max-width: 900px;
  margin: 0;
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1.25;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(150px, 2fr) minmax(0, 8fr) 2fr;
  gap: 24px;
}

.section-intro > div:nth-child(2) {
  max-width: 840px;
}

.section-intro > div:nth-child(2) > p:last-child {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
}

.dataset-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 68px;
  border-block: 1px solid var(--line);
}

.dataset-stats > div {
  min-width: 0;
  padding: 24px 18px;
  border-right: 1px solid var(--line);
}

.dataset-stats > div:first-child {
  padding-left: 0;
}

.dataset-stats > div:last-child {
  border-right: 0;
}

.dataset-stats strong,
.dataset-stats span {
  display: block;
}

.dataset-stats strong {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.1;
}

.dataset-stats span {
  margin-top: 7px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.dataset-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 48px;
  gap: 16px;
}

.dataset-example {
  min-width: 0;
  margin: 0;
}

.dataset-example picture {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--night);
  border-radius: 8px;
}

.dataset-example img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dataset-example figcaption {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  gap: 12px;
  text-transform: uppercase;
}

.dataset-example figcaption span:first-child {
  color: var(--ink);
}

.dataset-timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 58px;
  border-top: 1px solid var(--ink);
}

.dataset-timeline > div {
  display: grid;
  grid-template-columns: 90px 1fr;
  padding: 22px 26px 0 0;
  gap: 20px;
}

.dataset-timeline > div:last-child {
  padding-left: 26px;
  border-left: 1px solid var(--line);
}

.dataset-timeline span {
  color: var(--predicted);
  font-family: var(--mono);
  font-size: 11px;
}

.dataset-timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.method {
  padding: 118px 0;
  color: var(--paper-strong);
  background: var(--night);
  border-top: 1px solid var(--line-dark);
}

.method__intro,
.results__intro {
  display: grid;
  grid-template-columns: minmax(150px, 2fr) minmax(0, 7fr) minmax(200px, 3fr);
  gap: 24px;
}

.method__intro > div:nth-child(2) {
  max-width: 800px;
}

.method__intro > div:nth-child(2) > p:last-child {
  max-width: 650px;
  margin: 24px 0 0;
  color: #aeb9b7;
}

.system-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 76px 0 0;
  padding: 0;
  border-block: 1px solid var(--line-dark);
  list-style: none;
}

.system-steps li {
  min-width: 0;
  min-height: 260px;
  padding: 26px 22px;
  border-right: 1px solid var(--line-dark);
}

.system-steps li:first-child {
  padding-left: 0;
}

.system-steps li:last-child {
  border-right: 0;
}

.system-steps__number {
  color: var(--predicted);
  font-family: var(--mono);
  font-size: 10px;
}

.system-steps h3 {
  margin: 72px 0 14px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.2;
}

.system-steps p {
  margin: 0;
  color: #a8b2b0;
  font-size: 12px;
  line-height: 1.6;
}

.editorial-grid--experiment .section-heading {
  grid-column: 4 / span 6;
}

.experiment-specs {
  grid-column: 4 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 72px 0 0;
  border-top: 1px solid var(--ink);
}

.experiment-specs > div {
  padding: 22px 20px 22px 0;
  border-bottom: 1px solid var(--line);
}

.experiment-specs dt {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.experiment-specs dd {
  margin: 9px 0 0;
  font-family: var(--serif);
  font-size: 20px;
}

.experiment-note {
  grid-column: 4 / span 6;
  margin-top: 34px;
  padding-left: 18px;
  border-left: 3px solid var(--spatial);
}

.experiment-note p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.results {
  padding: 118px 0 124px;
  color: var(--paper-strong);
  background: var(--night-soft);
  border-top: 1px solid var(--line-dark);
}

.results__intro > div:nth-child(2) {
  max-width: 760px;
}

.evidence-note {
  align-self: end;
  padding: 18px 0 4px 18px;
  border-left: 3px solid var(--predicted);
}

.evidence-note strong {
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.evidence-note p {
  margin: 8px 0 0;
  color: #aeb8b6;
  font-size: 11px;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 64px;
  border-block: 1px solid var(--line-dark);
}

.metric-strip > div {
  min-width: 0;
  padding: 24px;
  border-right: 1px solid var(--line-dark);
}

.metric-strip > div:first-child {
  padding-left: 0;
}

.metric-strip > div:last-child {
  border-right: 0;
}

.metric-strip strong,
.metric-strip span {
  display: block;
}

.metric-strip strong {
  color: var(--paper-strong);
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
}

.metric-strip span {
  margin-top: 8px;
  color: #9eaaa8;
  font-family: var(--mono);
  font-size: 9px;
}

.results-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 54px;
  gap: 52px 20px;
}

.result-figure {
  min-width: 0;
  margin: 0;
}

.result-figure--wide {
  grid-column: 1 / -1;
}

.result-figure a {
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 1.7 / 1;
  background: var(--white);
  border-radius: 8px;
}

.result-figure--wide a {
  aspect-ratio: 2.65 / 1;
}

.result-figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.result-figure figcaption {
  display: grid;
  grid-template-columns: 150px 1fr;
  margin-top: 14px;
  color: #9eaaa8;
  gap: 18px;
}

.result-figure figcaption span {
  color: var(--observed);
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.result-figure figcaption p {
  margin: 0;
  font-size: 11px;
}

.contribution-list {
  margin-top: 70px;
  border-top: 1px solid var(--ink);
}

.contribution-list article {
  display: grid;
  grid-template-columns: 80px 220px 1fr;
  align-items: baseline;
  min-height: 120px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  gap: 22px;
}

.contribution-list article > span {
  color: var(--predicted);
  font-family: var(--mono);
  font-size: 10px;
}

.contribution-list h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
}

.contribution-list p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.implementation {
  padding: 112px 0;
  color: var(--paper-strong);
  background: #182427;
  border-top: 1px solid var(--line-dark);
}

.implementation__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 84px;
}

.implementation__grid > div:first-child > p:last-child {
  max-width: 560px;
  margin: 24px 0 0;
  color: #abb6b4;
}

.code-window {
  min-width: 0;
  overflow: hidden;
  color: #e8efed;
  background: var(--night);
  border: 1px solid #4b585b;
  border-radius: 8px;
}

.code-window__bar {
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 14px;
  border-bottom: 1px solid #344144;
  gap: 7px;
}

.code-window__bar span {
  width: 8px;
  height: 8px;
  background: #697477;
  border-radius: 50%;
}

.code-window__bar span:first-child {
  background: var(--predicted);
}

.code-window__bar span:nth-child(2) {
  background: var(--spatial);
}

.code-window__bar span:nth-child(3) {
  background: var(--observed);
}

.code-window__bar p {
  margin: 0 0 0 auto;
  color: #929d9b;
  font-family: var(--mono);
  font-size: 9px;
}

.code-window pre {
  margin: 0;
  padding: 24px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.75;
  white-space: pre;
}

.citation {
  padding: 112px 0;
  color: var(--paper-strong);
  background: var(--night);
  border-top: 1px solid var(--line-dark);
}

.citation__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
  gap: 80px;
}

.citation__grid > div:first-child > p {
  max-width: 520px;
  color: #aab5b3;
}

.contact-line {
  display: flex;
  flex-direction: column;
  margin-top: 34px;
  color: #96a2a0;
  font-family: var(--mono);
  font-size: 10px;
  gap: 5px;
}

.citation-block {
  position: relative;
  min-width: 0;
}

.citation-block pre {
  margin: 0;
  padding: 28px 70px 28px 28px;
  overflow-x: auto;
  color: #dfe7e5;
  background: #141d20;
  border: 1px solid #3a474a;
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.75;
}

.copy-button {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  color: var(--paper-strong);
  border-color: #667275;
}

.copy-status {
  min-height: 24px;
  margin: 10px 0 0;
  color: var(--observed);
  font-size: 11px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100px;
  color: #8e9997;
  background: var(--night);
  font-family: var(--mono);
  font-size: 9px;
}

body:has(.site-footer) {
  background: var(--night);
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

[data-reveal].is-visible {
  animation: reveal-in 520ms ease both;
}

@keyframes reveal-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1040px) {
  .site-nav {
    gap: 16px;
  }

  .hero h1 {
    font-size: 62px;
  }

  .section-heading h2,
  .section-intro h2,
  .method h2,
  .results h2,
  .implementation h2,
  .citation h2 {
    font-size: 42px;
  }

  .editorial-copy {
    grid-column: 9 / -1;
  }

  .system-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .system-steps li:nth-child(3) {
    border-right: 0;
  }

  .system-steps li:nth-child(n + 4) {
    border-top: 1px solid var(--line-dark);
  }

  .system-steps li:nth-child(4) {
    padding-left: 0;
  }

  .contribution-list article {
    grid-template-columns: 60px 190px 1fr;
  }
}

@media (max-width: 800px) {
  :root {
    --gutter: 20px;
    --header-height: 64px;
  }

  .site-header__inner {
    gap: 10px;
  }

  .wordmark__text {
    display: none;
  }

  .menu-button {
    display: inline-grid;
  }

  .menu-icon,
  .menu-icon::before,
  .menu-icon::after {
    display: block;
    width: 17px;
    height: 1px;
    background: currentColor;
    content: "";
  }

  .menu-icon {
    position: relative;
  }

  .menu-icon::before {
    position: absolute;
    top: -5px;
  }

  .menu-icon::after {
    position: absolute;
    top: 5px;
  }

  .site-nav {
    position: absolute;
    top: calc(var(--header-height) - 1px);
    right: var(--gutter);
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: min(290px, calc(100vw - (var(--gutter) * 2)));
    padding: 8px;
    color: var(--paper-strong);
    background: var(--night-soft);
    border: 1px solid #586467;
    border-radius: 8px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    gap: 0;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    min-height: 44px;
    padding: 11px 12px;
    border-bottom: 1px solid #384548;
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    min-height: 92svh;
    padding-top: calc(var(--header-height) + 42px);
    padding-bottom: 76px;
  }

  .hero h1 {
    font-size: 50px;
  }

  .hero__dek {
    max-width: 520px;
    font-size: 19px;
  }

  .hero__caption {
    left: var(--gutter);
    right: auto;
  }

  .paper-section,
  .method,
  .results,
  .implementation,
  .citation {
    padding: 82px 0;
  }

  .editorial-grid,
  .section-intro,
  .method__intro,
  .results__intro,
  .implementation__grid,
  .citation__grid {
    display: block;
  }

  .section-marker,
  .section-marker--inline,
  .section-marker--dark {
    width: 150px;
    margin-bottom: 34px;
  }

  .section-heading h2,
  .section-intro h2,
  .method h2,
  .results h2,
  .implementation h2,
  .citation h2 {
    font-size: 38px;
  }

  .editorial-copy,
  .research-statement,
  .evidence-note,
  .implementation__grid > div + div,
  .citation__grid > div + div {
    margin-top: 42px;
  }

  .research-statement {
    padding-top: 28px;
  }

  .research-statement p {
    font-size: 31px;
  }

  .dataset-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dataset-stats > div:nth-child(3) {
    border-right: 0;
  }

  .dataset-stats > div:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }

  .dataset-stats > div:nth-child(4) {
    padding-left: 0;
  }

  .dataset-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dataset-example:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 8px);
  }

  .system-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .system-steps li:nth-child(2),
  .system-steps li:nth-child(4) {
    border-right: 0;
  }

  .system-steps li:nth-child(3) {
    border-right: 1px solid var(--line-dark);
  }

  .system-steps li:nth-child(n + 3) {
    border-top: 1px solid var(--line-dark);
  }

  .system-steps li:nth-child(3),
  .system-steps li:nth-child(5) {
    padding-left: 0;
  }

  .experiment-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 52px;
  }

  .experiment-note {
    margin-top: 32px;
  }

  .metric-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-strip > div:nth-child(2) {
    border-right: 0;
  }

  .metric-strip > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-dark);
  }

  .metric-strip > div:nth-child(3) {
    padding-left: 0;
  }

  .results-gallery {
    display: block;
  }

  .result-figure + .result-figure {
    margin-top: 44px;
  }

  .contribution-list article {
    grid-template-columns: 54px 180px 1fr;
  }
}

@media (max-width: 560px) {
  :root {
    --gutter: 16px;
  }

  .wordmark__mark {
    width: 32px;
    height: 32px;
  }

  .language-switcher {
    width: 96px;
    height: 32px;
  }

  .icon-button {
    width: 36px;
    height: 36px;
  }

  .hero {
    align-items: flex-start;
    min-height: 92svh;
    padding-top: calc(var(--header-height) + 30px);
  }

  .hero h1 {
    font-size: 42px;
    line-height: 1;
  }

  .hero__dek {
    margin-top: 20px;
    font-size: 17px;
  }

  .author-block {
    margin-top: 20px;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    margin-top: 22px;
  }

  .hero__actions a {
    width: auto;
    min-width: 0;
  }

  .hero__continue {
    display: none;
  }

  .hero__caption {
    bottom: 18px;
  }

  .paper-section,
  .method,
  .results,
  .implementation,
  .citation {
    padding: 68px 0;
  }

  .section-heading h2,
  .section-intro h2,
  .method h2,
  .results h2,
  .implementation h2,
  .citation h2 {
    font-size: 33px;
  }

  .research-statement p {
    font-size: 27px;
  }

  .dataset-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dataset-stats > div,
  .dataset-stats > div:nth-child(3) {
    padding: 18px 12px;
    border-right: 1px solid var(--line);
    border-top: 1px solid var(--line);
  }

  .dataset-stats > div:nth-child(odd) {
    padding-left: 0;
  }

  .dataset-stats > div:nth-child(even) {
    border-right: 0;
  }

  .dataset-stats > div:first-child,
  .dataset-stats > div:nth-child(2) {
    border-top: 0;
  }

  .dataset-stats strong {
    font-size: 24px;
  }

  .dataset-gallery {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .dataset-example:last-child {
    grid-column: auto;
    width: auto;
  }

  .dataset-timeline {
    grid-template-columns: 1fr;
  }

  .dataset-timeline > div,
  .dataset-timeline > div:last-child {
    grid-template-columns: 70px 1fr;
    padding: 20px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .system-steps {
    grid-template-columns: 1fr;
    margin-top: 54px;
  }

  .system-steps li,
  .system-steps li:nth-child(3),
  .system-steps li:nth-child(4),
  .system-steps li:nth-child(5) {
    min-height: 0;
    padding: 22px 0;
    border-top: 1px solid var(--line-dark);
    border-right: 0;
  }

  .system-steps li:first-child {
    border-top: 0;
  }

  .system-steps h3 {
    margin: 22px 0 8px;
  }

  .experiment-specs {
    grid-template-columns: 1fr;
  }

  .experiment-specs dd {
    font-size: 18px;
  }

  .metric-strip > div {
    padding: 18px 12px;
  }

  .metric-strip strong {
    font-size: 29px;
  }

  .result-figure a,
  .result-figure--wide a {
    aspect-ratio: 1.45 / 1;
  }

  .result-figure figcaption {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .contribution-list article {
    grid-template-columns: 40px 1fr;
    padding: 22px 0;
  }

  .contribution-list p {
    grid-column: 2;
  }

  .code-window pre {
    padding: 18px;
    font-size: 10px;
  }

  .citation-block pre {
    padding: 62px 18px 22px;
    font-size: 10px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .hero-media__motion {
    display: none;
  }

  .hero-media__poster {
    display: block;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
