@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 750;
  font-display: swap;
  src: url("fonts/source-sans-3-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/source-serif-4-latin.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --page: #f7f8fa;
  --paper: #ffffff;
  --paper-muted: #f2f4f7;
  --ink: #171c27;
  --ink-soft: #354052;
  --muted: #5d6879;
  --line: #d9dee7;
  --line-strong: #c5ccd7;
  --accent: #2456a6;
  --accent-dark: #173f7d;
  --human: #167f8e;
  --robot: #3f4fa8;
  --shell: 1120px;
  --shell-wide: 1280px;
  --reading: 1000px;
  --font-serif: "Source Serif 4", Charter, "Iowan Old Style", "Palatino Linotype", serif;
  --font-sans: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

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

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.dialog-open {
  overflow: hidden;
}

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

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-underline-offset: 3px;
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::selection {
  background: #d8e5f8;
  color: #102b55;
}

.shell,
.shell-wide {
  width: min(var(--shell), calc(100% - 48px));
  margin-inline: auto;
}

.shell-wide {
  width: min(var(--shell-wide), calc(100% - 48px));
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: -70px;
  left: 16px;
  padding: 9px 14px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}

.skip-link:focus {
  top: 14px;
}

/* Navigation */
.site-header {
  position: sticky;
  z-index: 80;
  top: 0;
  border-bottom: 1px solid rgba(197, 204, 215, 0.76);
  background: rgba(246, 247, 249, 0.92);
  backdrop-filter: blur(16px) saturate(130%);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 9px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand-mark {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(23, 28, 39, 0.12);
}

.brand-word {
  color: var(--ink);
}

.brand-word > span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  position: relative;
  padding: 18px 0 16px;
  color: #5d6676;
  font-size: 15.5px;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.nav-links a::after {
  position: absolute;
  right: 50%;
  bottom: -1px;
  left: 50%;
  height: 2px;
  background: var(--accent);
  content: "";
  transition: right 160ms ease, left 160ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="true"] {
  color: var(--ink);
}

.nav-links a:hover::after,
.nav-links a[aria-current="true"]::after {
  right: 0;
  left: 0;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  margin: 5px auto;
  background: var(--ink);
}

/* Hero */
.hero {
  padding-top: clamp(38px, 4.5vw, 58px);
  padding-bottom: 36px;
  text-align: center;
}

.hero h1 {
  max-width: 1100px;
  margin: 0 auto;
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: -0.026em;
  line-height: 1.08;
  text-wrap: balance;
}

.project-name {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: clamp(60px, 7.4vw, 88px);
  font-weight: 700;
  letter-spacing: -0.055em;
}

.paper-title {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.14;
}

.authors {
  display: grid;
  gap: 2px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 18px;
}

.authors strong {
  color: var(--ink);
  font-weight: 650;
}

.resource-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-top: 20px;
}

.resource-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  gap: 8px;
  padding: 9px 17px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.72);
  color: #364154;
  font-size: 16px;
  font-weight: 650;
  text-decoration: none;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}

.resource-link:hover {
  border-color: #9cabc0;
  background: #fff;
  color: var(--accent-dark);
}

.resource-link.primary {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.resource-link.primary:hover {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  color: #fff;
}

.resource-link svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.teaser-figure {
  width: min(1080px, 100%);
  margin: 32px auto 0;
  text-align: left;
}

.teaser-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #e8ebef;
  box-shadow: 0 8px 24px rgba(29, 39, 58, 0.07);
}

.teaser-media video {
  display: block;
  width: 100%;
  height: 100%;
  background: #e8ebef;
  object-fit: contain;
}

.teaser-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  padding: 0;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(24, 38, 63, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(21, 34, 56, 0.22);
  cursor: pointer;
  z-index: 2;
  transition: opacity 180ms ease, transform 180ms ease, background-color 180ms ease;
  backdrop-filter: blur(10px);
}

.teaser-play::after {
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid var(--accent);
  content: "";
}

.teaser-play:hover {
  transform: translate(-50%, -50%) scale(1.05);
  background: #fff;
}

.teaser-play:focus-visible {
  outline: 3px solid rgba(36, 93, 184, 0.36);
  outline-offset: 4px;
}

.teaser-media.is-playing .teaser-play {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.92);
  pointer-events: none;
}

.teaser-media.is-unavailable .teaser-play {
  opacity: 0;
  pointer-events: none;
}

/* Shared academic section headings */
.section {
  padding: 36px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(42px, 1fr) auto minmax(42px, 1fr);
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto 22px;
  text-align: center;
}

.section-heading::before,
.section-heading::after {
  height: 1px;
  background: var(--line-strong);
  content: "";
}

.section-heading h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(40px, 4vw, 52px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
}

/* Abstract */
.abstract-section {
  padding-top: 38px;
  padding-bottom: 42px;
}

.abstract-section .section-heading {
  margin-bottom: 22px;
}

.abstract-body {
  max-width: var(--reading);
  margin-inline: auto;
}

.abstract-body p {
  margin: 0;
  color: #2d3747;
  font-family: var(--font-serif);
  font-size: 20.5px;
  line-height: 1.6;
  text-align: justify;
  text-wrap: pretty;
}

.abstract-body strong {
  color: var(--ink);
  font-weight: 700;
}

/* Figures */
.paper-figure {
  margin: 0;
}

.figure-button {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  cursor: zoom-in;
}

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

/* Transfer matrix */
.transfer-section {
  border-block: 1px solid var(--line);
  background: var(--paper-muted);
}

.transfer-tabs {
  display: flex;
  justify-content: center;
  max-width: 960px;
  margin: 0 auto 18px;
  border-bottom: 1px solid var(--line-strong);
}

.transfer-tab {
  position: relative;
  min-width: 112px;
  min-height: 46px;
  padding: 10px 18px 11px;
  border: 0;
  background: transparent;
  color: #5e687a;
  font-size: 17px;
  font-weight: 650;
  cursor: pointer;
}

.transfer-tab::after {
  position: absolute;
  right: 24%;
  bottom: -1px;
  left: 24%;
  height: 2px;
  transform: scaleX(0);
  background: var(--accent);
  content: "";
  transition: transform 150ms ease;
}

.transfer-tab:hover,
.transfer-tab.active {
  color: var(--accent-dark);
}

.transfer-tab.active::after {
  transform: scaleX(1);
}

.transfer-context {
  max-width: 1260px;
  margin: 0 auto 12px;
}

.transfer-context h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.transfer-board {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
}

.transfer-scroll {
  overflow-x: auto;
  padding: 2px 2px 9px;
  scrollbar-color: #aeb8c7 transparent;
  scrollbar-width: thin;
}

.transfer-grid {
  display: grid;
  grid-template-columns: 138px repeat(var(--frame-count, 8), minmax(124px, 1fr));
  align-items: center;
  gap: 11px 9px;
  min-width: var(--grid-min-width, 1190px);
  --frame-aspect: 1.7667;
}

.transfer-corner,
.transfer-frame-number {
  min-height: 18px;
}

.transfer-frame-number {
  color: #657084;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

.transfer-row-label {
  position: sticky;
  z-index: 3;
  left: 0;
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px 8px 0;
  background: var(--paper);
  color: var(--robot);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.28;
}

.transfer-row-label.human {
  color: var(--human);
}

.transfer-frame-button {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  aspect-ratio: var(--frame-aspect);
  border: 1px solid #d3d9e2;
  background: #eef1f4;
  cursor: zoom-in;
}

.transfer-frame-button:hover {
  border-color: #9ca9bb;
}

.transfer-frame-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dataset */
.dataset-section {
  padding-bottom: 38px;
}

.dataset-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  align-items: stretch;
  gap: 24px;
}

.dataset-figure {
  display: flex;
  min-width: 0;
}

.dataset-figure .figure-button {
  display: grid;
  height: 100%;
  border-radius: 6px;
  place-items: center;
}

.dataset-ledger {
  display: grid;
  grid-template-rows: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.dataset-ledger article {
  --dataset-color: #94acd0;
  display: flex;
  min-height: 0;
  padding: 12px 16px 13px;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  border-left: 4px solid var(--dataset-color);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.74);
}

.dataset-ledger article:nth-child(1) {
  --dataset-color: #14958c;
}

.dataset-ledger article:nth-child(2) {
  --dataset-color: #8b6bc1;
}

.dataset-ledger article:nth-child(3) {
  --dataset-color: #3a8fd7;
}

.dataset-ledger article:nth-child(4) {
  --dataset-color: #f58332;
}

.dataset-ledger article:nth-child(5) {
  --dataset-color: #efad2f;
}

.dataset-ledger article > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}

.dataset-ledger strong {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 650;
}

.dataset-ledger strong::before {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--dataset-color);
  content: "";
}

.dataset-ledger span {
  color: var(--accent-dark);
  font-size: 15.5px;
  font-weight: 700;
  white-space: nowrap;
}

.dataset-ledger p {
  margin: 4px 0 0 17px;
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.35;
}

.coverage-figure {
  max-width: 1120px;
  margin: 30px auto 0;
}

/* Embodiments */
.embodiment-section,
.qualitative-section {
  border-block: 1px solid var(--line);
  background: var(--paper-muted);
}

.control-row {
  display: flex;
  justify-content: center;
  margin: 0 0 18px;
}

.control-tab {
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.72);
  color: #586476;
  font-size: 16px;
  font-weight: 650;
  cursor: pointer;
}

.control-tab + .control-tab {
  margin-left: -1px;
}

.control-tab:hover,
.control-tab.active {
  position: relative;
  z-index: 1;
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  color: #fff;
}

.control-tab span {
  margin-left: 4px;
  opacity: 0.72;
}

.embodiment-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.embodiment-card {
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--paper);
}

.embodiment-card button {
  display: block;
  width: 100%;
  padding: 10px 10px 2px;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.embodiment-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.embodiment-card strong {
  display: block;
  overflow: hidden;
  padding: 8px 9px 10px;
  border-top: 1px solid #e7eaf0;
  color: #3d4758;
  font-size: 15.5px;
  font-weight: 650;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Results */
.results-section {
  padding-top: 38px;
}

.table-frame {
  overflow-x: auto;
  max-width: 1280px;
  margin: 0 auto;
  border: 1px solid var(--line-strong);
  background: #fff;
  scrollbar-color: #adb8c7 transparent;
  scrollbar-width: thin;
}

table {
  width: 100%;
  min-width: 1010px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

th,
td {
  padding: 12px 13px;
  border-bottom: 1px solid #e5e8ed;
  font-size: 15.5px;
  text-align: right;
  white-space: nowrap;
}

th {
  background: #f3f5f8;
  color: #5a6678;
  font-size: 14.5px;
  font-weight: 750;
  letter-spacing: 0.02em;
}

th:first-child,
td:first-child {
  position: sticky;
  z-index: 2;
  left: 0;
  min-width: 180px;
  background: inherit;
  color: var(--ink);
  font-weight: 650;
  text-align: left;
}

thead th:first-child {
  z-index: 3;
  background: #f3f5f8;
}

tbody tr:nth-child(even) {
  background: #fafbfc;
}

tbody tr:hover {
  background: #f4f7fb;
}

tbody tr:last-child td {
  border-bottom: 0;
}

td.best {
  background: #eaf1fb;
  color: var(--accent-dark);
  font-weight: 750;
}

td.second {
  text-decoration: underline;
  text-decoration-color: #8ea3c2;
  text-underline-offset: 3px;
}

.access-badge {
  display: inline-block;
  min-width: 41px;
  padding: 2px 6px;
  border: 1px solid #c9d1dd;
  color: #536174;
  font-size: 13.5px;
  font-weight: 700;
  text-align: center;
}

.access-badge.api {
  border-color: #a9bfdc;
  color: #285a99;
}

.radar-figure {
  max-width: 1120px;
  margin: 30px auto 0;
}

.findings-block {
  max-width: 1120px;
  margin: 34px auto 0;
}

.findings-block > h3 {
  margin: 0 0 20px;
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  text-align: center;
}

.finding-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.finding-list article {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  background: var(--paper);
}

.finding-list article > span {
  color: var(--accent-dark);
  font-size: 15px;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.finding-list h4 {
  margin: 10px 0 0;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 650;
  line-height: 1.25;
}

/* Qualitative, release, citation */
.comparison-figure {
  max-width: 1260px;
  margin: 0 auto;
}

.release-section {
  padding-block: 38px;
}

.release-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding-block: 24px;
  border-block: 1px solid var(--line-strong);
}

.release-card h2,
.citation-layout h2 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.text-link {
  flex: 0 0 auto;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  color: var(--accent-dark);
  font-size: 16.5px;
  font-weight: 700;
  text-decoration: none;
}

.citation-section {
  padding: 40px 0;
  border-top: 1px solid var(--line-strong);
  background: #eceff3;
}

.citation-layout {
  display: block;
  max-width: 960px;
}

.citation-layout h2 {
  margin-bottom: 16px;
}

.citation-box {
  overflow: hidden;
  border: 1px solid #c8ced8;
  background: #f9fafb;
}

.citation-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  padding: 7px 12px;
  border-bottom: 1px solid #d6dbe3;
  background: #f0f2f5;
  color: #596477;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.citation-toolbar button {
  padding: 4px 9px;
  border: 1px solid #bcc5d1;
  background: #fff;
  color: #364154;
  font-size: 14px;
  cursor: pointer;
}

.citation-box pre {
  overflow-x: auto;
  margin: 0;
  padding: 20px;
  color: #263244;
  font-family: var(--font-mono);
  font-size: 14.5px;
  line-height: 1.6;
  white-space: pre;
}

.footer {
  border-top: 1px solid #d5dae2;
  background: #eceff3;
}

.footer > div {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 62px;
  gap: 24px;
  color: #6a7485;
  font-size: 15px;
}

/* Lightbox */
.lightbox {
  width: min(1500px, calc(100vw - 36px));
  max-width: none;
  max-height: calc(100vh - 36px);
  padding: 44px 18px 18px;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(14, 18, 26, 0.96);
  color: #fff;
}

.lightbox::backdrop {
  background: rgba(10, 14, 20, 0.78);
  backdrop-filter: blur(4px);
}

.lightbox img {
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 104px);
  margin: 0 auto;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

/* Responsive layout */
@media (max-width: 1080px) {
  .embodiment-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

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

  .dataset-ledger {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: 1fr;
    gap: 9px;
  }

  .dataset-ledger article:last-child {
    grid-column: 1 / -1;
  }

  .transfer-context {
    align-items: flex-start;
  }
}

@media (max-width: 820px) {
  .shell,
  .shell-wide {
    width: min(100% - 32px, var(--shell));
  }

  .site-header {
    background: rgba(247, 248, 250, 0.97);
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 58px;
    right: 0;
    left: 0;
    display: none;
    padding: 7px 16px 13px;
    border-bottom: 1px solid var(--line-strong);
    background: var(--page);
  }

  .nav-links.open {
    display: grid;
  }

  .nav-links a {
    min-height: 44px;
    padding: 12px 6px;
    border-bottom: 1px solid #e3e6eb;
  }

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

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

  .hero {
    padding-top: 38px;
    padding-bottom: 30px;
  }

  .teaser-figure {
    margin-top: 28px;
  }

  .section {
    padding: 30px 0;
  }

  .section-heading {
    grid-template-columns: minmax(24px, 1fr) auto minmax(24px, 1fr);
    gap: 15px;
    margin-bottom: 20px;
  }

  .section-heading h2 {
    font-size: clamp(36px, 6.4vw, 46px);
  }

  .abstract-body p {
    font-size: 20px;
    text-align: left;
  }

  .transfer-tabs {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .transfer-tab {
    min-width: 96px;
  }

  .transfer-board {
    padding: 10px;
  }

  .embodiment-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .citation-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .release-card {
    display: block;
  }

  .release-card .text-link {
    display: inline-block;
    margin-top: 22px;
  }

  .finding-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .shell,
  .shell-wide {
    width: min(100% - 24px, var(--shell));
  }

  .project-name {
    font-size: 52px;
  }

  .paper-title {
    font-size: 30px;
  }

  .resource-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resource-link {
    min-height: 46px;
  }

  .teaser-media {
    aspect-ratio: 16 / 9;
  }

  .teaser-play {
    width: 62px;
    height: 62px;
  }

  .teaser-play::after {
    border-top-width: 9px;
    border-bottom-width: 9px;
    border-left-width: 14px;
  }

  .section-heading {
    grid-template-columns: 22px minmax(0, 1fr) 22px;
    gap: 10px;
  }

  .section-heading h2 {
    font-size: 34px;
  }

  .abstract-section {
    padding-top: 30px;
    padding-bottom: 32px;
  }

  .abstract-body p {
    font-size: 19px;
    line-height: 1.58;
  }

  .transfer-board {
    padding: 13px;
  }

  .transfer-tabs {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    scrollbar-color: #aeb8c7 transparent;
    scrollbar-width: thin;
  }

  .transfer-tab {
    min-width: 92px;
    padding-inline: 7px;
    font-size: 15px;
  }

  .transfer-grid {
    grid-template-columns: 112px repeat(var(--frame-count, 8), 118px);
    min-width: var(--grid-min-width-mobile, 1135px);
    gap: 11px 8px;
  }

  .transfer-row-label {
    font-size: 15px;
  }

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

  .dataset-ledger article:last-child {
    grid-column: auto;
  }

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

  .control-tab {
    min-height: 46px;
  }

  .findings-block > h3 {
    font-size: 32px;
  }

  .finding-list h4 {
    font-size: 23px;
  }

  .release-card h2,
  .citation-layout h2 {
    font-size: 36px;
  }

  .citation-box pre {
    padding: 15px;
    font-size: 13.5px;
  }

  .footer > div {
    display: grid;
    justify-content: start;
    gap: 2px;
    padding-block: 14px;
  }
}

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

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

@media (forced-colors: active) {
  .resource-link.primary,
  .control-tab.active {
    border: 2px solid ButtonText;
  }
}
