:root {
  color-scheme: light;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --line-strong: #b8b8bd;
  --canvas: #ffffff;
  --surface: #ffffff;
  --surface-alt: #f5f5f7;
  --blue: #0066cc;
  --blue-soft: #e2eef6;
  --teal: #087b70;
  --teal-soft: #dff1ed;
  --orange: #b95f16;
  --orange-soft: #faeadb;
  --red: #a6342a;
  --red-soft: #f8e5e2;
  --green: #287344;
  --green-soft: #e3f0e7;
  --code: #152129;
  --code-line: #35434c;
  --header-h: 62px;
  --content: 1240px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.68;
  letter-spacing: 0;
}
button, input { font: inherit; letter-spacing: 0; }
a { color: var(--blue); }
img { display: block; max-width: 100%; }
code, pre { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 100;
  padding: 8px 12px;
  color: #fff;
  background: #000;
  border-radius: 4px;
}
.skip-link:focus { top: 10px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.header-inner {
  width: min(calc(100% - 32px), var(--content));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 780;
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark {
  min-width: 36px;
  padding: 0 7px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border-radius: 5px;
  font-size: 12px;
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.primary-nav a {
  padding: 7px 10px;
  color: #42505a;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}
.primary-nav a:hover,
.primary-nav a[aria-current="page"] { color: var(--ink); background: var(--surface-alt); }
.nav-toggle {
  display: none;
  margin-left: auto;
  padding: 7px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.release-strip {
  background: var(--ink);
  color: #dce3e7;
}
.release-strip-inner {
  width: min(calc(100% - 32px), var(--content));
  min-height: 38px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
  overflow-x: auto;
  font-size: 14px;
  white-space: nowrap;
  scrollbar-width: none;
}
.release-strip-inner::-webkit-scrollbar { display: none; }
.release-strip strong { color: #fff; }
.status-dot {
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-right: 6px;
  border-radius: 50%;
  background: #5ec994;
}
.status-dot.external { background: #f2ad59; }

.page {
  width: min(calc(100% - 32px), var(--content));
  margin: 0 auto;
}
.docs-shell {
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr);
  gap: 54px;
  align-items: start;
}
.sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 30px 0 50px;
}
.sidebar-label {
  margin: 0 0 9px 10px;
  color: #77828a;
  font-size: 13px;
  font-weight: 760;
  text-transform: uppercase;
}
.sidebar nav { display: grid; gap: 2px; }
.sidebar a {
  padding: 8px 10px;
  color: #53616a;
  border-left: 2px solid transparent;
  font-size: 14px;
  font-weight: 570;
  text-decoration: none;
}
.sidebar a:hover,
.sidebar a[aria-current="page"] {
  color: var(--ink);
  border-color: var(--blue);
  background: #e9eef0;
}
.sidebar-divider { height: 1px; margin: 18px 10px; background: var(--line); }

.doc-main {
  min-width: 0;
  max-width: 900px;
  padding: 58px 0 104px;
}
.doc-header {
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}
.kicker {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 770;
  text-transform: uppercase;
}
.doc-header h1,
.dashboard-title {
  margin: 0;
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: 0;
}
.doc-lead {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}
.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 22px;
  color: #69757d;
  font-size: 14px;
}

.section { padding: 46px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 86px; }
.section:last-child { border-bottom: 0; }
.section-head {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin-bottom: 22px;
}
.section-index {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--blue);
  border: 1px solid #a7c6da;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 760;
}
.section h2 { margin: 0; font-size: 30px; line-height: 1.22; }
.section h3 { margin: 31px 0 10px; font-size: 21px; line-height: 1.35; }
.section p { max-width: 820px; }
.section > p:first-child { margin-top: 0; }
.section ul, .section ol { padding-left: 23px; }
.section li + li { margin-top: 6px; }
.section code:not(pre code) {
  padding: 2px 5px;
  color: #174d70;
  background: #e5eef3;
  border-radius: 3px;
  font-size: 0.91em;
}
.doc-main p code,
.callout code {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.callout {
  margin: 22px 0;
  padding: 16px 18px;
  border-left: 4px solid var(--blue);
  background: var(--blue-soft);
}
.callout.warning { border-color: var(--orange); background: var(--orange-soft); }
.callout.danger { border-color: var(--red); background: var(--red-soft); }
.callout.success { border-color: var(--green); background: var(--green-soft); }
.callout strong { display: block; margin-bottom: 3px; }
.callout p { margin: 0; }

.code-block {
  margin: 20px 0;
  overflow: hidden;
  border-radius: 6px;
  background: var(--code);
  color: #eef4f7;
}
.code-toolbar {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 9px 7px 14px;
  color: #b9c8d0;
  border-bottom: 1px solid var(--code-line);
  font-size: 14px;
}
.copy-button {
  padding: 5px 9px;
  color: #e8f0f3;
  border: 1px solid #52636d;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
}
.copy-button:hover { border-color: #8da1ac; background: #23323b; }
pre {
  margin: 0;
  padding: 16px;
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.58;
}

.table-wrap {
  width: 100%;
  margin: 20px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { padding: 11px 13px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: #44515a; background: #edf1f3; font-size: 13px; text-transform: uppercase; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: #f8fafb; }
.table-wrap code { white-space: nowrap; }
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 7px;
  border: 1px solid #a9c5d6;
  border-radius: 3px;
  color: #17577d;
  background: #e6f0f5;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.tag.external { color: #84500d; border-color: #dec49e; background: #f9eddc; }
.tag.safety { color: #8c2d26; border-color: #d6aaa5; background: #f6e5e3; }

.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface);
}
.flow-step { min-width: 0; padding: 18px; border-right: 1px solid var(--line); }
.flow-step:last-child { border-right: 0; }
.flow-step span { color: var(--blue); font-size: 13px; font-weight: 780; }
.flow-step strong { display: block; margin-top: 5px; font-size: 17px; }
.flow-step p { margin: 6px 0 0; color: var(--muted); font-size: 15px; line-height: 1.5; }

.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 22px 0;
  border: 1px solid var(--line);
  background: var(--line);
}
.check-item { min-width: 0; padding: 16px; background: var(--surface); }
.check-item strong { display: block; }
.check-item p { margin: 5px 0 0; color: var(--muted); font-size: 15px; }

.figure {
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface);
}
.figure img { width: 100%; max-height: 610px; object-fit: contain; background: #fff; }
.figure figcaption { padding: 13px 16px; color: var(--muted); border-top: 1px solid var(--line); font-size: 14px; }

.poster-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}
.poster-item { min-width: 0; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; background: var(--surface); }
.poster-item img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.poster-item span { display: block; padding: 9px 11px; color: #4d5961; font-size: 14px; }

.dashboard {
  padding: 48px 0 90px;
}
.dashboard-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.75fr);
  gap: 54px;
  align-items: end;
  padding-bottom: 38px;
  border-bottom: 1px solid var(--line);
}
.dashboard-copy { max-width: 770px; margin: 16px 0 0; color: var(--muted); font-size: 18px; }
.dashboard-visual { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff; }
.dashboard-visual img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; object-position: center 45%; }
.dashboard-visual p { margin: 0; padding: 10px 12px; color: var(--muted); border-top: 1px solid var(--line); font-size: 11px; }
.dashboard-section { padding: 38px 0; border-bottom: 1px solid var(--line); }
.dashboard-section h2 { margin: 0; font-size: 25px; }
.dashboard-section > p { max-width: 740px; color: var(--muted); }
.path-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}
.path-card {
  min-width: 0;
  min-height: 188px;
  display: flex;
  flex-direction: column;
  padding: 18px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  text-decoration: none;
}
.path-card:hover { border-color: #8fa9b7; box-shadow: 0 8px 22px rgba(35, 56, 68, 0.08); }
.path-card span { color: var(--blue); font-size: 11px; font-weight: 780; }
.path-card strong { margin-top: 14px; font-size: 18px; }
.path-card p { margin: 7px 0 18px; color: var(--muted); font-size: 13px; }
.path-card small { margin-top: auto; color: #3e6f8c; font-weight: 650; }

.readiness-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 22px;
  border: 1px solid var(--line);
  background: var(--line);
}
.readiness-item { min-width: 0; padding: 17px; background: var(--surface); }
.readiness-item .state { color: var(--green); font-size: 11px; font-weight: 760; text-transform: uppercase; }
.readiness-item .state.external { color: var(--orange); }
.readiness-item strong { display: block; margin: 5px 0; }
.readiness-item p { margin: 0; color: var(--muted); font-size: 12px; }

.filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 12px;
}
.filter-bar label { font-size: 14px; font-weight: 700; }
.filter-bar input {
  width: min(100%, 360px);
  min-height: 38px;
  padding: 7px 10px;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--surface);
}

.joint-list {
  columns: 2;
  margin: 18px 0;
  padding: 15px 18px 15px 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
}
.joint-list li { break-inside: avoid; }

.next-prev {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-top: 38px;
}
.next-prev a {
  min-width: 0;
  padding: 15px 17px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  text-decoration: none;
}
.next-prev span { display: block; color: var(--muted); font-size: 13px; }
.next-prev strong { display: block; margin-top: 3px; }

.site-footer { border-top: 1px solid var(--line); background: #e9edef; }
.footer-inner {
  width: min(calc(100% - 32px), var(--content));
  min-height: 112px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #5f6a71;
  font-size: 14px;
}
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { color: #43515a; }
.system-cell { display: inline-flex; align-items: center; gap: 9px; min-width: 180px; }
.system-cell img { width: 22px; height: 22px; object-fit: contain; }
.support { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 680; }
.support::before { width: 8px; height: 8px; content: ""; border-radius: 50%; background: #8a969d; }
.support.yes::before { background: #31a66a; }
.support.conditional::before { background: #df922f; }
.support.no { color: #707b82; }
.support.no::before { background: #d0665d; }

.scene-pair-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0;
}
.scene-pair { min-width: 0; margin: 0; }
.scene-pair figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 9px; }
.scene-pair figcaption strong { font-size: 17px; }
.scene-pair figcaption span { color: var(--blue); font-size: 11px; font-weight: 760; text-transform: uppercase; }
.scene-pair > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; overflow: hidden; border-radius: 5px; background: var(--line); }
.scene-pair img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.scene-pair p { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 6px 0 0; color: var(--muted); font-size: 11px; text-align: center; }

.project-hero {
  position: relative;
  height: clamp(600px, calc(100svh - var(--header-h) - 48px), 760px);
  overflow: hidden;
  isolation: isolate;
  background: #f5f5f7;
}
.project-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(255, 255, 255, 0.18);
  pointer-events: none;
}
.project-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
  opacity: 0.78;
}
.project-hero-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), 1180px);
  margin: 0 auto;
  padding-top: clamp(54px, 7vh, 76px);
}
.project-eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}
.project-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: 88px;
  font-weight: 720;
  line-height: 0.96;
}
.project-title {
  max-width: 820px;
  margin: 20px 0 0;
  color: var(--ink);
  font-size: 38px;
  font-weight: 650;
  line-height: 1.16;
}
.project-summary {
  max-width: 720px;
  margin: 18px 0 0;
  color: #424245;
  font-size: 19px;
  line-height: 1.52;
}
.project-authors {
  max-width: 820px;
  margin: 24px 0 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 620;
}
.project-affiliation {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.project-actions {
  max-width: 850px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
}
.resource-button {
  height: 38px;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.16);
  font-size: 14px;
  font-weight: 620;
  line-height: 1;
  text-decoration: none;
  transition: box-shadow 160ms ease, opacity 160ms ease;
}
.resource-button:hover { opacity: 0.88; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16); }
.resource-button:focus-visible { outline: 3px solid rgba(0, 102, 204, 0.28); outline-offset: 2px; }
.resource-label,
.resource-value { height: 100%; display: inline-flex; align-items: center; padding: 0 10px; white-space: nowrap; }
.resource-label { gap: 7px; background: #5f6368; }
.resource-label img { width: 16px; height: 16px; object-fit: contain; }
.resource-button.paper .resource-label img,
.resource-button.models .resource-label img,
.resource-button.code .resource-label img { filter: invert(1); }
.resource-button.paper .resource-value { background: #b3261e; }
.resource-button.models .resource-value { background: #ffd166; color: #202124; }
.resource-button.code .resource-value { background: #161616; }
.resource-button.license .resource-value { background: #7a8288; }
.resource-button.reproduce .resource-value { background: #087b70; }
.project-band { padding: 104px 0; }
.project-inner { width: min(calc(100% - 48px), 1120px); margin: 0 auto; }
.split-intro {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(0, 1.14fr);
  gap: 96px;
  align-items: start;
}
.split-intro h2,
.section-heading h2,
.citation-layout h2 {
  margin: 0;
  color: var(--ink);
  font-size: 48px;
  font-weight: 680;
  line-height: 1.12;
}
.problem-copy p { margin: 0; color: #424245; font-size: 19px; line-height: 1.6; }
.problem-copy p + p { margin-top: 20px; }
.method-rail,
.result-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 64px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}
.method-rail div,
.result-rail div { min-width: 0; padding: 26px 24px; }
.method-rail div + div,
.result-rail div + div { border-left: 1px solid var(--line); }
.method-rail strong,
.result-rail strong { display: block; color: var(--ink); font-size: 32px; font-weight: 680; line-height: 1.08; }
.method-rail span,
.result-rail span { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; }

.project-method { background: #f5f5f7; }
.section-heading { max-width: 1120px; }
.section-heading > p:last-child {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}
.project-method-figure {
  width: min(calc(100% - 48px), 1120px);
  margin: 48px auto 0;
}
.project-method-figure img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.project-method-figure figcaption {
  max-width: 900px;
  margin: 15px auto 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}
.method-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 52px;
  border-top: 1px solid var(--line-strong);
}
.method-steps article {
  min-width: 0;
  padding: 28px 30px 0 0;
}
.method-steps article + article {
  padding-left: 30px;
  border-left: 1px solid var(--line);
}
.method-steps span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}
.method-steps h3 {
  margin: 10px 0 8px;
  font-size: 23px;
  font-weight: 650;
}
.method-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.project-results { background: #fff; }
.result-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 44px; background: #f5f5f7; }
.result-rail strong { font-size: 38px; }
.result-table { margin-top: 32px; border-radius: 8px; background: #fff; }
.result-table th, .result-table td { padding: 15px 18px; }
.result-table td:not(:first-child), .result-table th:not(:first-child) { text-align: right; }
.result-table small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
.result-note { margin-top: 20px; color: var(--muted); font-size: 15px; }

.project-demos { background: #f5f5f7; }
.demo-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 46px;
}
.demo-video { min-width: 0; margin: 0; }
.demo-video video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #000;
}
.demo-video figcaption { margin-top: 14px; }
.demo-video strong { display: block; color: var(--ink); font-size: 18px; font-weight: 650; }
.demo-video span { display: block; margin-top: 3px; color: var(--muted); font-size: 14px; }
.real-task-gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.real-task-gallery figure { min-width: 0; margin: 0; }
.real-task-gallery img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  background: #fff;
}
.real-task-gallery figcaption {
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.project-benchmarks { background: #fff; }
.benchmark-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 44px;
}
.benchmark-panel {
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}
.benchmark-panel img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.benchmark-panel span {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}
.benchmark-panel strong {
  display: block;
  margin-top: 2px;
  font-size: 20px;
}
.benchmark-panel p { margin: 5px 0 0; color: var(--muted); font-size: 14px; }
.benchmark-panel:hover strong { color: var(--blue); }

.project-reproduce { background: #f5f5f7; }
.reproduce-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 54px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.reproduce-links a {
  min-width: 0;
  min-height: 140px;
  padding: 24px 24px 20px 0;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.reproduce-links a:nth-child(3n+2),
.reproduce-links a:nth-child(3n+3) {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.reproduce-links a:nth-last-child(-n+2) { border-bottom: 0; }
.reproduce-links span { color: var(--muted); font-size: 12px; font-weight: 750; }
.reproduce-links strong { display: block; margin-top: 9px; font-size: 19px; font-weight: 650; }
.reproduce-links small { display: block; margin-top: 5px; color: var(--muted); font-size: 14px; }
.reproduce-links a:hover strong { color: var(--blue); }

.project-citation { background: #fff; }
.citation-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.62fr) minmax(0, 1.38fr);
  gap: 72px;
  align-items: start;
}
.citation-layout p:last-child { color: var(--muted); }
.citation-layout .code-block { margin: 0; border-radius: 8px; }

@media (max-width: 1050px) {
  .primary-nav { gap: 0; }
  .primary-nav a { padding-inline: 7px; font-size: 14px; }
  .path-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .poster-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-step:nth-child(2) { border-right: 0; }
  .flow-step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .project-hero-image { object-position: 60% 55%; }
  .split-intro { gap: 48px; }
  .benchmark-gallery { gap: 16px; }
}

@media (max-width: 820px) {
  .site-header { height: auto; min-height: var(--header-h); }
  .header-inner { min-height: var(--header-h); flex-wrap: wrap; padding: 10px 0; }
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 4px 0 8px;
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 10px; font-size: 15px; }
  .docs-shell { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .doc-main { padding-top: 36px; }
  .dashboard-head { grid-template-columns: 1fr; gap: 28px; }
  .readiness-grid { grid-template-columns: 1fr; }
  .poster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-hero { height: clamp(570px, calc(100svh - var(--header-h) - 36px), 680px); }
  .project-hero-image { object-position: 64% bottom; opacity: 0.62; }
  .project-hero h1 { font-size: 76px; }
  .project-title { font-size: 32px; }
  .split-intro, .citation-layout { grid-template-columns: 1fr; gap: 24px; }
  .method-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .method-rail div:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .method-rail div:nth-child(4) { border-top: 1px solid var(--line); }
  .method-steps { grid-template-columns: 1fr; }
  .method-steps article { padding: 22px 0; }
  .method-steps article + article { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .benchmark-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo-video:first-child { grid-column: 1 / -1; }
  .real-task-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .reproduce-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scene-pair-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reproduce-links a:nth-child(3n+2),
  .reproduce-links a:nth-child(3n+3) { padding-left: 0; border-left: 0; }
  .reproduce-links a:nth-child(even) { padding-left: 22px; border-left: 1px solid var(--line); }
  .reproduce-links a:nth-last-child(-n+2) { border-bottom: 0; }
  .reproduce-links a:nth-last-child(2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 580px) {
  .page, .header-inner, .release-strip-inner, .footer-inner { width: min(calc(100% - 24px), var(--content)); }
  .release-strip-inner { padding: 7px 0; flex-wrap: wrap; gap: 3px 12px; white-space: normal; overflow-x: visible; }
  .doc-main, .dashboard { padding-bottom: 64px; }
  .doc-header h1, .dashboard-title { font-size: 38px; }
  .doc-lead, .dashboard-copy { font-size: 18px; }
  .section { padding: 31px 0; }
  .section-head { grid-template-columns: 34px minmax(0, 1fr); gap: 10px; }
  .section h2 { font-size: 26px; }
  .flow, .path-grid, .checklist, .next-prev { grid-template-columns: 1fr; }
  .flow-step { border-right: 0; border-bottom: 1px solid var(--line); }
  .flow-step:last-child { border-bottom: 0; }
  .poster-grid { grid-template-columns: 1fr; }
  .scene-pair-grid { grid-template-columns: 1fr; }
  .joint-list { columns: 1; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding: 22px 0; }
  .filter-bar { align-items: stretch; flex-direction: column; }
  .filter-bar input { width: 100%; }
  .project-hero { height: min(570px, calc(100svh - var(--header-h) - 24px)); min-height: 520px; }
  .project-hero::after { background: rgba(255, 255, 255, 0.28); }
  .project-hero-image { object-position: 61% bottom; opacity: 0.48; }
  .project-hero-inner { width: calc(100% - 24px); padding-top: 28px; }
  .project-eyebrow { margin-bottom: 5px; font-size: 12px; }
  .project-hero h1 { font-size: 60px; }
  .project-title { margin-top: 12px; font-size: 25px; }
  .project-summary { margin-top: 11px; font-size: 15px; line-height: 1.45; }
  .project-authors { margin-top: 14px; font-size: 12.5px; line-height: 1.45; }
  .project-affiliation { display: none; }
  .project-actions { gap: 6px; margin-top: 18px; }
  .resource-button { height: 34px; font-size: 12px; }
  .resource-label, .resource-value { padding: 0 8px; }
  .resource-label { gap: 5px; }
  .resource-label img { width: 14px; height: 14px; }
  .project-band { padding: 68px 0; }
  .project-inner { width: calc(100% - 24px); }
  .split-intro h2, .section-heading h2, .citation-layout h2 { font-size: 31px; }
  .problem-copy p, .section-heading > p:last-child { font-size: 16px; }
  .method-rail { margin-top: 34px; }
  .method-rail div { padding: 17px 13px 16px 0; }
  .method-rail div + div { padding-left: 13px; }
  .method-rail div:nth-child(3) { padding-left: 0; }
  .method-rail strong { font-size: 24px; }
  .project-method-figure { width: 100%; margin-top: 30px; overflow-x: auto; }
  .project-method-figure img { min-width: 720px; }
  .project-method-figure figcaption { padding: 0 12px; text-align: left; }
  .result-rail div { padding: 17px 8px 16px 0; }
  .result-rail div + div { padding-left: 8px; }
  .result-rail strong { font-size: 24px; }
  .result-rail span { font-size: 12px; }
  .benchmark-gallery, .demo-video-grid, .reproduce-links { grid-template-columns: 1fr; }
  .demo-video:first-child { grid-column: auto; }
  .real-task-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reproduce-links a,
  .reproduce-links a:nth-child(even) { min-height: 0; padding: 17px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .reproduce-links a:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .reproduce-links a:last-child { border-bottom: 0; }
  .citation-layout .code-block { margin-top: 8px; }
}
