@charset "UTF-8";
:root {
  --ink: #202b3e;
  --muted: #647087;
  --blue: #537fbc;
  --blue-dark: #365f96;
  --coral: #c96a72;
  --lilac: #8b7fae;
  --line: #dfe5ee;
  --pale: #f4f7fc;
  --radius: 15px;
  --shadow: 0 14px 44px #273b5910;
  font-family: Avenir, "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  font-synthesis: none;
  line-height: 1.55;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #fcfdff;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
button:disabled {
  cursor: default;
  opacity: 0.45;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
figure,
p,
h1,
h2,
h3 {
  margin: 0;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}
::selection {
  background: #dce8fa;
}
section[id] {
  scroll-margin-top: 85px;
}
.section-wrap {
  width: min(1280px, calc(100% - 80px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 20;
  background: white;
  padding: 12px;
}
.skip-link:focus {
  top: 10px;
}
.site-header {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: max(40px, calc((100vw - 1280px) / 2));
  border-bottom: 1px solid #e4e8f180;
  background: #fcfdfff2;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -1px;
}
.wordmark-dot {
  color: var(--coral);
  margin-left: -7px;
}
.site-header nav {
  display: flex;
  gap: 32px;
  font-size: 13px;
  font-weight: 600;
  color: #536079;
}
.site-header nav a:hover {
  color: var(--blue);
}
.hero {
  padding-top: 36px;
  text-align: center;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 2px;
  color: var(--blue-dark);
  margin-bottom: 13px;
}
.hero h1 {
  font-size: clamp(58px, 5.5vw, 78px);
  letter-spacing: -5px;
  line-height: 1.05;
  font-weight: 800;
}
.hero h1 span {
  color: var(--blue);
}
.hero-subtitle {
  font-size: clamp(26px, 2.9vw, 39px);
  line-height: 1.19;
  letter-spacing: -1.4px;
  font-weight: 550;
  margin: 18px auto 0;
  max-width: 1000px;
  text-wrap: balance;
}
.hero-subtitle > span {
  display: block;
}
@media (max-width: 600px) {
  .hero-subtitle > span {
    display: inline;
  }
}
.paper-title {
  font-size: 12px;
  color: var(--muted);
  margin-top: 13px;
}
.paper-authors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px 20px;
  max-width: 940px;
  margin: 21px auto 0;
  font-size: 16px;
  font-weight: 550;
}
.paper-authors > span,
.paper-affiliations > span {
  white-space: nowrap;
}
.paper-authors sup,
.paper-affiliations sup {
  font-size: 0.68em;
  color: var(--blue-dark);
  margin-left: 2px;
}
.paper-affiliations {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 24px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 14px;
}
.hero-description {
  font-size: 16px;
  margin: 14px 0 17px;
  color: #4d5c72;
}
.hero-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.button {
  border: 1px solid transparent;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 17px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.3;
  transition:
    background 0.18s,
    transform 0.18s;
}
.button:hover {
  transform: translateY(-1px);
}
.button-icon {
  width: 17px;
  height: 17px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.button.coming-soon {
  color: var(--muted);
  background: #f4f6fa;
  opacity: 1;
  cursor: default;
  transform: none;
}
.coming-soon-label {
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
}
.primary {
  background: var(--blue-dark);
  color: white;
}
.primary:hover {
  background: #284f83;
}
.secondary {
  background: white;
  border-color: var(--line);
  color: var(--ink);
}
.secondary:hover {
  background: #f0f4fa;
}
.button.small {
  font-size: 12px;
  padding: 9px 13px;
}
.text-button {
  background: none;
  border: 0;
  padding: 3px 0;
  color: var(--blue-dark);
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.icon-button {
  border: 1px solid var(--line);
  background: white;
  border-radius: 6px;
  height: 33px;
  width: 35px;
}
.icon-button:hover {
  background: #edf2fa;
}
.teaser {
  margin-top: 30px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.teaser-reconstruction {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.8fr);
  grid-template-areas: "input scene" "closeup scene";
  align-items: start;
  gap: 18px 28px;
  padding: 25px 25px 13px;
  background: linear-gradient(116deg, #fffafa 0%, white 43%, #f2f6ff 100%);
}
.input-panel {
  grid-area: input;
}
.closeup-panel {
  grid-area: closeup;
}
.scene-panel {
  grid-area: scene;
}
.step-title {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 16px;
}
.step-title small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 10px;
  margin-top: 4px;
}
.step-number {
  width: 25px;
  height: 25px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #e7edf8;
  color: var(--blue-dark);
  font-size: 10px;
  flex-shrink: 0;
}
.input-panel .step-number {
  background: #f9e7e9;
  color: #ab5560;
}
.input-image {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #c96a724d;
}
.input-image img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: contain;
  background: #f3f3f3;
}
.image-tag {
  position: absolute;
  top: 7px;
  left: 7px;
  border-radius: 4px;
  padding: 2px 7px;
  background: #fffefce6;
  font-size: 9px;
  font-weight: 650;
}
.closeup-panel .step-title {
  margin-bottom: 14px;
}
.detail-pair {
  display: flex;
  gap: 9px;
}
.detail-pair > div {
  min-width: 0;
  flex: 1;
}
.detail-pair img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 5px;
  background: #fff;
  border: 1px solid #dcdfe7;
}
.detail-pair > div:last-child img {
  border-color: #537fbc77;
}
.detail-pair span {
  display: block;
  text-align: center;
  font-size: 10px;
  font-weight: 650;
  margin-top: 5px;
}
.ours-text {
  color: var(--blue-dark);
}
.scene-panel .step-title {
  margin-bottom: 6px;
}
.clay-slider {
  isolation: isolate;
  position: relative;
  aspect-ratio: 1472/948;
  width: 100%;
  overflow: hidden;
  background: radial-gradient(
    ellipse at 50% 65%,
    #fff 0%,
    #f3f6fd 67%,
    #f0f4fc 100%
  );
  border-radius: 8px;
}
.clay-slider > img,
.clay-slider > video,
.texture-reveal,
.texture-reveal img,
.texture-reveal video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.texture-reveal {
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
}
.slider-labels {
  position: absolute;
  inset: 10px 12px auto;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  font-size: 10px;
  color: #5f6d84;
}
.slider-labels span {
  background: #ffffffcf;
  padding: 2px 6px;
  border-radius: 3px;
}
.slider-seam {
  position: absolute;
  inset: 7% auto 5% var(--split);
  width: 1px;
  background: #7990b5a8;
  pointer-events: none;
  filter: drop-shadow(0 1px 2px #fff);
}
.slider-seam > span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid #a2b2cc;
  border-radius: 50%;
  background: #fff;
  font-size: 18px;
  color: var(--blue-dark);
  letter-spacing: 1px;
}
.clay-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.clay-slider:focus-within {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}
.slider-caption {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  align-items: center;
  font-size: 9px;
  color: var(--muted);
  margin-top: 5px;
}
.teaser-applications {
  padding: 20px 25px 17px;
  border-top: 1px solid #e4e7f1;
  background: #fff;
}
.application-intro {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
}
.application-intro .step-title {
  margin-bottom: 18px;
}
.small-note {
  font-size: 11px;
  color: var(--muted);
  padding-top: 4px;
}
.hero-robotics-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
.hero-application {
  background: #f7f9fc;
  padding: 13px;
  border: 1px solid #e4e9f2;
  border-radius: 9px;
}
.hero-application:last-child {
  background: #f9f7fc;
  border-color: #e8e3f1;
}
.hero-application header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 9px;
  margin-bottom: 10px;
}
.hero-application h3 {
  font-size: 13px;
  line-height: 1.3;
}
.hero-application header p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}
.hero-play {
  background: white;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 10px;
  padding: 4px 9px;
  white-space: nowrap;
}
.hero-video-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.hero-video-row video {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: contain;
  background: #141924;
  border-radius: 5px;
}
.hero-video-row figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  padding-top: 7px;
  color: #49596f;
}
.video-outcome {
  font-size: 9px;
  background: #e8edf7;
  color: var(--blue-dark);
  padding: 1px 5px;
  border-radius: 3px;
}
.video-outcome.failure {
  background: #f7e9eb;
  color: #a14e59;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  align-items: end;
  margin-bottom: 29px;
}
.section-heading h2 {
  font-size: 38px;
  font-weight: 650;
  line-height: 1.19;
  letter-spacing: -1.2px;
}
.section-heading > p {
  max-width: 385px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  padding-bottom: 3px;
}
.results-section {
  padding-block: 64px 76px;
}
.experiment-description {
  max-width: 85ch;
  margin: -8px 0 26px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}
.scene-viewer-link { display: block; position: relative; }
.scene-viewer-badge {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 4px 8px;
  border: 1px solid #dfe5eee6;
  border-radius: 6px;
  background: #fffffff0;
  color: var(--blue-dark);
  font-size: 11px;
  line-height: 1.5;
  box-shadow: 0 2px 10px #202b3e0d;
}
.scene-viewer-link:hover .scene-viewer-badge { background: var(--blue-dark); color: white; }
.scene-viewer-link:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
.gallery-browser {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  overflow: hidden;
  box-shadow: 0 6px 30px #253a5710;
}
.gallery-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: #f7f9fc;
  border-bottom: 1px solid var(--line);
}
.segmented {
  display: inline-flex;
  background: #e9edf4;
  border-radius: 7px;
  padding: 3px;
  gap: 2px;
}
.segmented button {
  border: 0;
  background: none;
  padding: 8px 13px;
  font-size: 12px;
  border-radius: 5px;
  color: #5f6d82;
  white-space: nowrap;
}
.segmented button.active {
  background: white;
  color: var(--blue-dark);
  font-weight: 650;
  box-shadow: 0 1px 5px #1d305111;
}
.scene-controls {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 17px 20px;
}
.select-field {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  min-width: 0;
}
.select-field label {
  font-weight: 650;
  color: var(--muted);
  white-space: nowrap;
}
.select-field select {
  max-width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  color: #34435b;
  font-size: 12px;
  padding: 7px 28px 7px 9px;
  cursor: pointer;
}
.scene-pagination {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  padding: 0 20px;
}
.comparison-card {
  border: 1px solid #e4e7ee;
  border-radius: 7px;
  overflow: hidden;
  background: #fcfdff;
}
.comparison-card.ours {
  border: 1.5px solid #759acc;
  background: #f0f5fe;
}
.comparison-card.input {
  border-color: #d6a0a6;
}
.comparison-card .comparison-image {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: contain;
  background: white;
}
.comparison-card figcaption {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  padding: 8px 11px;
  font-size: 12px;
  font-weight: 600;
  border-top: 1px solid #e7ebf2;
}
.comparison-card figcaption small {
  font-size: 9px;
  font-weight: 400;
  color: var(--muted);
}
.comparison-card.ours figcaption {
  color: var(--blue-dark);
}
.protocol-note {
  font-size: 11px;
  line-height: 1.65;
  color: var(--muted);
  padding: 16px 20px;
}
.thumbnail-heading {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin: 1px 20px 10px;
  font-size: 11px;
  font-weight: 600;
}
.thumbnail-heading span:last-child {
  font-weight: 400;
  color: var(--muted);
}
.scene-thumbnails {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 9px;
  padding: 0 20px 20px;
}
.scene-thumb {
  display: block;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  text-align: left;
  min-width: 0;
  transition: border-color 0.2s;
}
.scene-thumb img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: contain;
  background: #f2f3f6;
  border-radius: 3px;
}
.scene-thumb span {
  display: block;
  font-size: 9px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 4px 3px 2px;
  color: #5a6578;
}
.scene-thumb.active {
  border: 2px solid var(--blue);
  padding: 2px;
  background: #eff5ff;
}
.scene-thumb:hover {
  border-color: #6c8fbe;
}
.metric-comparison-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.metric-comparison-toolbar h3 { font-size: 18px; font-weight: 650; }
.metric-baseline-control { display: flex; align-items: center; gap: 10px; }
.metric-baseline-control label { font-size: 13px; color: var(--blue-dark); font-weight: 600; }
.metric-baseline-control select {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 8px 30px 8px 12px;
  font-size: 13px;
  color: var(--ink);
  background: white;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 14px;
  gap: 18px;
}
.metric-card {
  padding: 22px 24px;
  background: #eef3fb;
  border: 1px solid #e1e9f5;
  border-radius: 10px;
}
.metric-card:nth-child(2) {
  background: #f3f0f8;
  border-color: #e9e3f2;
}
.metric-card:nth-child(3) {
  background: #fcf2f3;
  border-color: #f1e3e6;
}
.metric-label {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
}
.metric-label > span {
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
}
.metric-value {
  font-size: 39px;
  line-height: 1.15;
  font-weight: 700;
  color: #436994;
  letter-spacing: -1.4px;
  margin-top: 15px;
  white-space: nowrap;
}
.metric-card:nth-child(2) .metric-value {
  color: #7d6f9e;
}
.metric-card:nth-child(3) .metric-value {
  color: #b15c66;
}
.metric-value small {
  font-size: 15px;
  font-weight: 450;
  letter-spacing: -0.3px;
  color: var(--muted);
  margin-left: 8px;
}
.metric-value .unit {
  font-size: 22px;
  letter-spacing: -0.5px;
}
.metric-card p {
  font-size: 11px;
  margin-top: 8px;
  color: var(--muted);
}
.metric-note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 15px;
  max-width: 1040px;
}
.robotics-section {
  padding-block: 64px 68px;
  background: #f3f5fa;
  border-top: 1px solid #e5e9f1;
  border-bottom: 1px solid #e5e9f1;
}
.application-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 34px 0 30px;
}
.application-cards article {
  background: #fff;
  border: 1px solid #dfe5ee;
  border-radius: 10px;
  padding: 24px 27px;
}
.application-card-top {
  display: flex;
  gap: 10px;
  align-items: center;
}
.mini-number {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  background: #e9eff8;
  color: var(--blue-dark);
  border-radius: 50%;
  font-size: 11px;
}
.application-card-top h3 {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.4px;
}
.application-cards article > p {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
}
.score-comparison {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 22px;
}
.score-comparison > div {
  display: flex;
  flex-direction: column;
}
.score-comparison strong {
  font-size: 37px;
  letter-spacing: -1px;
  line-height: 1;
  color: var(--blue-dark);
}
.score-comparison strong span {
  font-size: 22px;
}
.score-comparison > div > span {
  font-size: 10px;
  color: var(--blue-dark);
  margin-top: 5px;
}
.score-comparison .versus {
  font-size: 11px;
  color: var(--muted);
}
.score-comparison .baseline-score strong {
  font-size: 30px;
  color: #a26570;
}
.score-comparison .baseline-score > span {
  color: #986572;
}
.score-comparison p {
  font-size: 11px;
  padding-left: 16px;
  border-left: 1px solid var(--line);
  margin-left: auto;
  line-height: 1.6;
  color: #4d5e75;
}
.score-comparison p span {
  font-size: 10px;
  color: var(--muted);
}
.application-metrics {
  width: 100%;
  border-collapse: collapse;
  margin-block: 14px 12px;
  text-align: left;
}
.application-metrics thead th {
  padding: 0 0 8px 14px;
  font-size: 12px;
  font-weight: 600;
}
.application-metrics tbody th {
  padding: 13px 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.application-metrics small {
  display: block;
  margin-top: 4px;
  max-width: 29ch;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}
.application-metrics tbody tr {
  border-top: 1px solid var(--line);
}
.application-metrics td:not(:first-child) {
  padding-left: 14px;
  font-size: 26px;
  font-weight: 650;
  letter-spacing: -0.6px;
  white-space: nowrap;
}
.application-metrics td span {
  font-size: 16px;
}
.application-metrics tr > :nth-child(2) { color: var(--blue-dark); }
.application-metrics tr > :nth-child(3) { color: #a26570; }
.application-cards article { display: flex; flex-direction: column; }
.application-card-top { flex-shrink: 0; }
.application-card-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 18px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.application-card-footer p {
  font-size: 12px;
  color: var(--muted);
}
.correlation-trigger {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
/* Compact paired bars share the method columns with the overall replay score. */
.replay-results-card .application-metrics { table-layout: fixed; }
.replay-results-card .application-metrics thead th:not(:first-child) { width: 26%; }
.replay-results-card .application-metrics .replay-task-column { padding-left: 0; color: var(--muted); }
.application-metrics .replay-task-rows tr { border: 0; }
.application-metrics .replay-task-rows th {
  padding-block: 5px;
  font-size: 12px;
  font-weight: 400;
}
.application-metrics .replay-task-rows .replay-all-tasks { border-top: 1px solid var(--line); }
.application-metrics .replay-all-tasks th {
  padding-block: 12px;
  font-size: 14px;
  font-weight: 650;
}
.application-metrics .replay-task-rows td {
  font-size: 12px;
  letter-spacing: 0;
  font-weight: 500;
}
.replay-task-value {
  display: flex;
  align-items: center;
  gap: 8px;
}
.application-metrics .replay-task-value span { font-size: 12px; }
.replay-task-value > span:last-child { flex: 0 0 38px; min-width: 0; text-align: right; }
.application-metrics .replay-all-tasks .replay-task-value > span:last-child { font-size: 18px; font-weight: 650; }
.application-metrics .replay-all-tasks .replay-unit { font-size: 12px; }
.replay-task-bar {
  flex: 1;
  height: 5px;
  min-width: 8px;
  background: #edf0f5;
  border-radius: 3px;
  overflow: hidden;
}
.replay-task-bar::before {
  content: "";
  display: block;
  width: var(--success);
  height: 100%;
  background: currentColor;
}
.replay-card-footer { gap: 4px; margin-top: 6px; }

.replay-card-footer p { flex-basis: 100%; }
.correlation-dialog {
  width: min(1100px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
}
.correlation-dialog::backdrop { background: #172338a6; }
body:has(.correlation-dialog[open]) { overflow: hidden; }
.correlation-dialog-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.correlation-dialog-heading h3 { font-size: clamp(18px, 2vw, 24px); }
.correlation-close {
  flex: 0 0 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--pale);
  font-size: 25px;
  line-height: 1;
}
.correlation-dialog figcaption {
  margin-top: 22px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}
@media (min-width: 801px) {
  .application-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  .application-cards { grid-template-columns: 1fr; }
  .replay-results-card .score-comparison { margin-top: 0; }
}
@media (max-width: 420px) {
  .application-metrics tbody th { font-size: 12px; }
  .application-metrics small { font-size: 11px; }
  .application-metrics thead th { font-size: 10px; padding-left: 8px; }
  .application-metrics td:not(:first-child) { font-size: 22px; padding-left: 8px; }
}
.robotics-browser {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.robot-toolbar {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: #f9fafe;
  border-bottom: 1px solid var(--line);
}
.episode-heading {
  padding: 21px 20px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.episode-heading h3 {
  font-size: 19px;
  letter-spacing: -0.3px;
}
.episode-heading p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
  max-width: 690px;
}
.playback-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.robot-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0 20px;
}
.robot-video-card {
  min-width: 0;
}
.robot-video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  background: #161c25;
  border-radius: 6px;
  object-fit: contain;
}
.robot-video-card figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 650;
  margin-top: 8px;
}
.robot-video-card > p {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 5px;
}
.robot-video-card.ours figcaption {
  color: var(--blue-dark);
}
.robot-video-card .video-outcome {
  font-size: 10px;
}
.episode-thumbnails {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 0 20px 20px;
}
.episode-thumb {
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px;
  text-align: left;
  overflow: hidden;
}
.episode-thumb img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: contain;
  border-radius: 3px;
  background: #10141c;
}
.episode-thumb span {
  display: block;
  font-size: 10px;
  line-height: 1.35;
  padding: 5px 4px 2px;
}
.episode-thumb small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  font-weight: 400;
  margin-top: 3px;
}
.episode-thumb.active {
  border: 2px solid var(--blue);
  padding: 3px;
  background: #f0f5ff;
}
.method-section {
  padding-block: 78px 60px;
}
.method-section .section-heading h2 {
  font-size: 34px;
}
.method-summary {
  max-width: 1030px;
  margin-top: -10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}
.method-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
}
.method-image {
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: white;
  margin-bottom: 17px;
}
.method-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.method-index {
  font-size: 9px;
  color: var(--blue);
  letter-spacing: 1.1px;
  text-transform: uppercase;
  font-weight: 650;
}
.method-flow h3 {
  font-size: 16px;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: -0.3px;
  margin-top: 8px;
}
.method-flow article > p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 8px;
}
.method-trace-link {
  display: inline-flex;
  gap: 7px;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 650;
  color: var(--blue-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pose-trace {
  margin-top: 35px;
  padding: 25px;
  border: 1px solid #d8e2f1;
  border-radius: 12px;
  background: linear-gradient(135deg, #f5f8fd, #f9f8fc);
}
.trace-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 20px;
}
.trace-heading .eyebrow {
  margin-bottom: 6px;
}
.trace-heading h3 {
  font-size: 23px;
  font-weight: 650;
  letter-spacing: -0.5px;
}
.trace-heading > p {
  max-width: 650px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
.trace-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 18px;
}
.trace-step {
  display: grid;
  grid-template-columns: 23px minmax(0, 1fr);
  column-gap: 8px;
  row-gap: 5px;
  padding: 11px;
  text-align: left;
  border: 1px solid #d8e0ed;
  border-radius: 7px;
  background: white;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.trace-step:hover {
  border-color: var(--blue);
}
.trace-step.active {
  border-color: var(--blue);
  background: #eaf1fc;
  box-shadow: inset 0 0 0 1px var(--blue);
}
.trace-step-number {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #e8edf6;
  color: #516984;
  font-size: 10px;
  font-weight: 650;
}
.trace-step.active .trace-step-number {
  background: var(--blue-dark);
  color: white;
}
.trace-step-label {
  align-self: center;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.4;
}
.trace-step code {
  grid-column: 1 / -1;
  font-size: 10px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.trace-detail {
  padding: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.trace-call-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.trace-call-heading h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 650;
}
.trace-call-heading h4 small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}
.trace-navigation button:disabled {
  opacity: 0.35;
  cursor: default;
}
.trace-navigation {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.trace-navigation span {
  font-size: 10px;
  color: var(--muted);
}
.trace-body {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.25fr);
  gap: 24px;
  align-items: start;
}
.trace-role {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--blue-dark);
  margin-bottom: 7px;
}
.trace-call-code {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 6px;
  background: #f2f5fa;
  border-left: 3px solid var(--blue);
  font-size: 11px;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.trace-response {
  margin: 0;
  padding: 10px 12px;
  border-radius: 6px;
  background: #f8f6fb;
  font-size: 10px;
  line-height: 1.75;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #566078;
}
.trace-summary {
  font-size: 12px;
  line-height: 1.75;
  margin: 0 0 13px;
  color: #52617a;
}
.trace-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.trace-images img {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: contain;
  border: 1px solid #dce3ee;
  border-radius: 7px;
  background: #f9fafc;
}
.trace-images figcaption {
  margin-top: 7px;
  font-size: 11px;
  font-weight: 600;
}
.trace-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 17px;
}
.trace-metric {
  padding: 11px 14px;
  border: 1px solid #dfe7f3;
  border-radius: 7px;
  background: #f1f5fc;
}
.trace-metric dt {
  font-size: 10px;
  color: #596c87;
}
.trace-metric dd {
  margin: 4px 0 0;
  font-size: 23px;
  font-weight: 600;
  color: var(--blue-dark);
  line-height: 1.35;
}
.trace-metric dd span {
  padding-inline: 7px;
  font-size: 16px;
  color: #8d9aad;
}
.trace-note {
  font-size: 11px;
  line-height: 1.75;
  color: var(--muted);
  margin-top: 13px;
}
.delivery-strip {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 19px 22px;
  border: 1px solid #e2e6f0;
  border-radius: 9px;
  background: #f3f5fa;
  margin-top: 33px;
}
.delivery-strip p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.75;
}
.delivery-strip strong {
  color: #3a4d6a;
}
.export-symbol {
  font-size: 32px;
  color: var(--blue);
}
.file-badge {
  font-family: monospace;
  font-size: 18px;
  margin-left: auto;
  color: #7b6b9c;
  background: #e9e5f2;
  padding: 6px 11px;
  border-radius: 5px;
}
footer {
  padding-block: 28px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
footer p,
footer > a:last-child {
  font-size: 11px;
  color: var(--muted);
}
footer .wordmark {
  font-size: 20px;
}
.loading {
  padding: 25px;
  color: var(--muted);
  font-size: 12px;
}
.error-message {
  color: #984e59;
  padding: 20px;
  font-size: 13px;
}
.noscript-notice {
  padding: 15px;
  text-align: center;
  background: #f6ebed;
}
@media (min-width: 1600px) {
  .hero {
    padding-top: 60px;
  }
  .hero h1 {
    font-size: 91px;
  }
}
@media (max-width: 1100px) {
  .section-wrap {
    width: calc(100% - 48px);
  }
  .site-header {
    padding-inline: 24px;
  }
  .teaser-reconstruction {
    gap: 17px;
    padding: 22px 20px 13px;
  }
  .step-title {
    font-size: 11px;
    gap: 6px;
  }
  .step-title small {
    font-size: 9px;
  }
  .slider-caption {
    flex-wrap: wrap;
    gap: 0;
  }
  .scene-controls {
    flex-wrap: wrap;
    gap: 10px;
  }
  .select-field select {
    font-size: 11px;
  }
  .metric-card {
    padding: 19px 18px;
  }
  .metric-label {
    font-size: 11px;
  }
  .metric-value {
    font-size: 34px;
  }
  .metric-value small {
    font-size: 13px;
  }
  .score-comparison {
    gap: 12px;
  }
  .score-comparison p {
    font-size: 10px;
    padding-left: 11px;
  }
  .application-cards article {
    padding: 21px;
  }
  .robot-toolbar {
    flex-wrap: wrap;
  }
  .section-heading > p {
    max-width: 330px;
  }
  .method-flow {
    gap: 15px;
  }
  .method-flow h3 {
    font-size: 14px;
  }
}
@media (max-width: 800px) {
  .method-summary {
    font-size: 12px;
  }
  .pose-trace {
    padding: 18px;
  }
  .trace-heading {
    display: block;
  }
  .trace-heading > p {
    margin-top: 9px;
  }
  .trace-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .trace-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .trace-evidence {
    grid-row: 1;
  }
  .section-wrap {
    width: calc(100% - 36px);
  }
  .site-header {
    height: 63px;
    padding-inline: 18px;
  }
  .site-header nav {
    gap: 18px;
    font-size: 11px;
  }
  .wordmark {
    font-size: 21px;
  }
  .hero {
    padding-top: 37px;
  }
  .hero h1 {
    font-size: 65px;
    letter-spacing: -3.5px;
  }
  .hero-subtitle {
    font-size: 34px;
  }
  .paper-title {
    font-size: 10px;
    max-width: 500px;
    margin-inline: auto;
  }
  .hero-description {
    font-size: 13px;
  }
  .teaser-reconstruction {
    gap: 16px;
    padding: 20px;
  }
  .scene-panel .step-title {
    font-size: 13px;
  }
  .scene-panel .step-title small {
    font-size: 10px;
  }
  .step-title {
    font-size: 13px;
  }
  .step-title small {
    font-size: 10px;
  }
  .teaser-applications {
    padding: 18px;
  }
  .application-intro .small-note {
    max-width: 160px;
    text-align: right;
  }
  .hero-robotics-grid {
    gap: 12px;
  }
  .hero-application {
    padding: 10px;
  }
  .hero-application h3 {
    font-size: 11px;
  }
  .hero-application header p {
    font-size: 10px;
  }
  .hero-video-row {
    gap: 8px;
  }
  .hero-video-row figcaption {
    font-size: 10px;
  }
  .video-outcome {
    font-size: 8px;
  }
  .section-heading {
    gap: 25px;
  }
  .section-heading h2 {
    font-size: 31px;
  }
  .section-heading > p {
    font-size: 12px;
    max-width: 270px;
  }
  .gallery-toolbar {
    padding: 14px;
  }
  .segmented button {
    font-size: 11px;
    padding: 7px 10px;
  }
  .scene-controls {
    padding: 14px;
  }
  .comparison-grid {
    padding-inline: 14px;
    gap: 10px;
  }
  .comparison-card figcaption {
    font-size: 10px;
    padding: 7px;
  }
  .comparison-card figcaption small {
    font-size: 8px;
  }
  .protocol-note {
    padding: 13px 14px;
    font-size: 10px;
  }
  .scene-thumbnails {
    padding-inline: 14px;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 7px;
  }
  .thumbnail-heading {
    margin-inline: 14px;
  }
  .metric-grid {
    gap: 10px;
  }
  .metric-card {
    padding: 16px 12px;
  }
  .metric-label {
    flex-direction: column;
    gap: 0;
  }
  .metric-value {
    font-size: 31px;
  }
  .metric-value small {
    display: block;
    font-size: 12px;
    margin: 5px 0;
  }
  .metric-card p {
    font-size: 10px;
  }
  .robotics-section {
    padding-block: 46px;
  }
  .application-cards {
    gap: 14px;
  }
  .application-card-top h3 {
    font-size: 15px;
  }
  .application-cards article > p {
    font-size: 11px;
  }
  .score-comparison {
    flex-wrap: wrap;
    gap: 14px;
  }
  .score-comparison p {
    flex-basis: 100%;
    margin-left: 0;
    padding-left: 0;
    border: 0;
  }
  .score-comparison strong {
    font-size: 34px;
  }
  .episode-heading h3 {
    font-size: 16px;
  }
  .episode-heading {
    padding: 17px 14px;
    gap: 12px;
  }
  .episode-heading p {
    font-size: 10px;
  }
  .robot-video-grid {
    gap: 9px;
    padding-inline: 14px;
  }
  .robot-video-card figcaption {
    font-size: 11px;
  }
  .robot-video-card .video-outcome {
    font-size: 8px;
  }
  .robot-video-card > p {
    font-size: 10px;
  }
  .episode-thumbnails {
    padding-inline: 14px;
    gap: 8px;
  }
  .episode-thumb span {
    font-size: 9px;
  }
  .episode-thumb small {
    font-size: 8px;
  }
  .method-section {
    padding-block: 53px 35px;
  }
  .method-section .section-heading h2 {
    font-size: 28px;
  }
  .method-flow {
    grid-template-columns: 1fr;
    gap: 28px 20px;
  }
  .method-flow h3 {
    font-size: 17px;
  }
  .method-flow article > p {
    font-size: 12px;
  }
  .method-image {
    aspect-ratio: 16/9;
  }
  .delivery-strip {
    gap: 12px;
  }
  .delivery-strip p {
    font-size: 11px;
  }
  footer {
    flex-wrap: wrap;
  }
  footer p {
    font-size: 10px;
  }
}
@media (max-width: 540px) {
  .pose-trace {
    margin-top: 27px;
    padding: 13px;
  }
  .trace-heading h3 {
    font-size: 20px;
  }
  .trace-heading > p {
    font-size: 11px;
  }
  .trace-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }
  .trace-step {
    padding: 9px;
  }
  .trace-step-label {
    font-size: 10px;
  }
  .trace-step code {
    font-size: 9px;
  }
  .trace-detail {
    padding: 12px;
  }
  .trace-call-heading {
    align-items: start;
    gap: 8px;
  }
  .trace-call-heading h4 {
    font-size: 13px;
  }
  .trace-navigation {
    gap: 5px;
  }
  .trace-images {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .trace-images figcaption {
    font-size: 10px;
  }
  .trace-summary {
    font-size: 11px;
  }
  .trace-metrics {
    grid-template-columns: minmax(0, 1fr);
  }
  .trace-metric {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px;
  }
  .trace-metric dd {
    margin: 0;
    font-size: 19px;
    white-space: nowrap;
  }
  .trace-metric dt {
    font-size: 9px;
  }
  .trace-note {
    font-size: 10px;
  }
  .section-wrap {
    width: calc(100% - 28px);
  }
  .site-header {
    padding-inline: 14px;
    height: 59px;
  }
  .site-header nav {
    gap: 13px;
    font-size: 10px;
  }
  .wordmark {
    font-size: 19px;
    gap: 5px;
  }
  .wordmark img {
    width: 23px;
    height: 23px;
  }
  .wordmark-dot {
    margin-left: -4px;
  }
  .hero {
    padding-top: 31px;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 1.5px;
  }
  .hero h1 {
    font-size: 61px;
  }
  .hero-subtitle {
    font-size: 28px;
    letter-spacing: -0.9px;
  }
  .hero-description {
    font-size: 12px;
    max-width: 290px;
    margin-inline: auto;
  }
  .paper-title {
    font-size: 9px;
    max-width: 310px;
  }
  .button {
    font-size: 11px;
    padding: 10px 12px;
    gap: 6px;
  }
  .hero-links {
    gap: 7px;
  }
  .teaser {
    margin-top: 28px;
  }
  .teaser-reconstruction {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "input" "closeup" "scene";
    padding: 14px;
    gap: 17px 12px;
  }
  .step-title {
    font-size: 11px;
    gap: 6px;
    margin-bottom: 11px;
  }
  .step-number {
    width: 21px;
    height: 21px;
    font-size: 8px;
  }
  .step-title small {
    font-size: 8px;
  }
  .detail-pair {
    width: 100%;
    gap: 5px;
  }
  .detail-pair span {
    font-size: 8px;
  }
  .scene-panel {
    border-top: 1px solid var(--line);
    padding-top: 15px;
  }
  .scene-panel .step-title {
    padding-top: 0;
    font-size: 12px;
  }
  .scene-panel .step-title small {
    max-width: none;
    font-size: 9px;
  }
  .scene-panel .slider-caption {
    display: flex;
    font-size: 9px;
  }
  .text-button {
    font-size: 10px;
  }
  .application-intro {
    display: block;
  }
  .application-intro .small-note {
    max-width: none;
    text-align: left;
    display: block;
    padding: 0;
    margin: -5px 0 12px;
    font-size: 9px;
  }
  .teaser-applications {
    padding: 14px;
  }
  .hero-robotics-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .hero-application header h3 {
    font-size: 12px;
  }
  .hero-application header p {
    font-size: 10px;
  }
  .hero-video-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 8px;
  }
  .hero-video-row figure:first-child {
    grid-column: 1 / -1;
  }
  .hero-video-row figcaption {
    font-size: 10px;
  }
  .section-heading {
    display: block;
    margin-bottom: 22px;
  }
  .section-heading h2 {
    font-size: 29px;
  }
  .section-heading > p {
    margin-top: 14px;
    max-width: none;
    font-size: 12px;
  }
  .gallery-toolbar {
    padding: 12px;
    gap: 8px;
    flex-wrap: wrap;
  }
  .segmented button {
    font-size: 10px;
    padding: 7px 10px;
  }
  .scene-controls {
    padding: 12px;
    gap: 9px;
  }
  .scene-controls .select-field:first-child {
    width: 100%;
  }
  .scene-controls .select-field:first-child select {
    flex: 1;
  }
  .select-field {
    gap: 6px;
    font-size: 10px;
  }
  .select-field select {
    font-size: 10px;
    padding: 7px;
  }
  .scene-pagination {
    gap: 5px;
    font-size: 9px;
  }
  .icon-button {
    width: 27px;
    height: 29px;
  }
  .comparison-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-inline: 12px;
    gap: 8px;
  }
  .comparison-card .comparison-image {
    aspect-ratio: 16/11;
  }
  .comparison-card figcaption {
    font-size: 10px;
    gap: 4px;
    padding: 7px;
  }
  .comparison-card figcaption small {
    display: none;
  }
  .scene-thumbnails {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding-inline: 12px;
    gap: 6px;
  }
  .scene-thumb span {
    font-size: 8px;
    padding: 3px 2px;
  }
  .thumbnail-heading {
    font-size: 10px;
    margin-inline: 12px;
  }
  .metric-grid {
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 20px;
  }
  .metric-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 16px;
  }
  .metric-label {
    font-size: 12px;
  }
  .metric-label > span {
    font-size: 10px;
  }
  .metric-value {
    margin: 0;
    font-size: 30px;
    text-align: right;
  }
  .metric-value small {
    display: inline;
    font-size: 12px;
    margin-left: 4px;
  }
  .metric-value .unit {
    font-size: 16px;
  }
  .metric-card p {
    grid-column: 1/-1;
    margin-top: 5px;
  }
  .metric-note {
    font-size: 10px;
  }
  .results-section {
    padding-block: 42px;
  }
  .robotics-section {
    padding-block: 39px;
  }
  .application-cards {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-block: 24px;
  }
  .application-cards article {
    padding: 19px;
  }
  .application-card-top h3 {
    font-size: 16px;
  }
  .application-cards article > p {
    font-size: 12px;
  }
  .score-comparison {
    flex-wrap: nowrap;
    padding-top: 18px;
    gap: 13px;
  }
  .score-comparison p {
    flex-basis: auto;
    margin-left: auto;
    padding-left: 11px;
    border-left: 1px solid var(--line);
    font-size: 9px;
  }
  .score-comparison p span {
    font-size: 8px;
  }
  .score-comparison strong {
    font-size: 31px;
  }
  .score-comparison .baseline-score strong {
    font-size: 26px;
  }
  .robot-toolbar {
    padding: 12px;
    gap: 12px;
  }
  .robot-toolbar .select-field {
    width: 100%;
  }
  .robot-toolbar .select-field select {
    flex: 1;
  }
  .episode-heading {
    display: block;
    padding: 15px 12px;
  }
  .episode-heading p {
    font-size: 10px;
  }
  .playback-actions {
    margin-top: 13px;
  }
  .robot-video-grid {
    grid-template-columns: 1fr;
    padding-inline: 12px;
    gap: 17px;
  }
  .robot-video-card figcaption {
    font-size: 12px;
  }
  .robot-video-card .video-outcome {
    font-size: 10px;
  }
  .robot-video-card > p {
    font-size: 11px;
  }
  .episode-thumbnails {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-inline: 12px;
    gap: 7px;
  }
  .episode-thumb span {
    font-size: 9px;
    padding: 4px 2px;
  }
  .episode-thumb small {
    font-size: 8px;
  }
  .method-section .section-heading h2 {
    font-size: 25px;
  }
  .method-flow {
    gap: 24px 13px;
  }
  .method-flow h3 {
    font-size: 14px;
  }
  .method-index {
    font-size: 8px;
  }
  .method-flow article > p {
    font-size: 11px;
    line-height: 1.7;
  }
  .method-image {
    margin-bottom: 12px;
  }
  .delivery-strip {
    padding: 14px;
    gap: 9px;
  }
  .export-symbol {
    font-size: 25px;
  }
  .file-badge {
    font-size: 13px;
    padding: 4px 7px;
  }
  .delivery-strip p {
    font-size: 10px;
  }
  footer {
    gap: 13px;
    padding-block: 22px 28px;
  }
  footer p {
    width: 100%;
    order: 3;
  }
  footer > a:last-child {
    font-size: 10px;
  }
}
@media (max-width: 360px) {
  .site-header nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    row-gap: 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Four-method comparisons retain equal panel sizes without an orphan row. */
.comparison-grid.four-panels {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Recorded physics shares one clock across the textured and clay views. */
.simulation-source { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 10px 0; font-size: 11px; color: var(--muted); }
.simulation-source select { min-width: 132px; max-width: 100%; padding: 5px 25px 5px 9px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--blue-dark); font: inherit; font-weight: 600; }
.gravity-label { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding: 4px 10px 4px 6px; border-radius: 8px; background: var(--blue-dark); color: #fff; font-size: 12px; font-weight: 700; line-height: 1; white-space: nowrap; box-shadow: 0 2px 7px #24477520; }
.gravity-icon { width: 28px; height: 28px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gravity-ground { opacity: .65; }
.gravity-label.is-playing .gravity-arrows { animation: gravity-fall 1.3s ease-in infinite; }
@keyframes gravity-fall {
  0% { transform: translateY(-2px); opacity: .35; }
  65% { transform: translateY(3px); opacity: 1; }
  100% { transform: translateY(5px); opacity: 0; }
}
.simulation-controls { display: flex; align-items: center; gap: 8px; margin-top: 10px; min-height: 30px; }
.simulation-controls button { display: grid; place-items: center; flex: 0 0 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--blue-dark); font-size: 14px; cursor: pointer; }
.simulation-controls button:hover { background: #edf2fa; }
.simulation-controls button:disabled { opacity: .45; cursor: default; }
.simulation-status { display: inline-flex; align-items: center; gap: 5px; min-width: 62px; color: var(--muted); font-size: 10px; }
.simulation-dot { width: 6px; height: 6px; border-radius: 50%; background: #a8b0c0; }
.simulation-status.playing .simulation-dot { background: #527bd0; animation: simulation-pulse 1.2s ease-in-out infinite; }
@keyframes simulation-pulse { 50% { box-shadow: 0 0 0 4px #527bd020; } }
#simulation-time { min-width: 25px; flex: 1; width: 100%; accent-color: #527bd0; cursor: pointer; }
#simulation-clock { flex: 0 0 auto; font-size: 10px; font-variant-numeric: tabular-nums; color: var(--muted); }
.simulation-note { margin: 6px 0 0; font-size: 10px; line-height: 1.5; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .simulation-status.playing .simulation-dot, .gravity-label.is-playing .gravity-arrows { animation: none; } }
@media (max-width: 430px) { .simulation-controls { gap: 5px; } .simulation-status { min-width: 52px; font-size: 9px; } }

.simulation-details { margin-right: auto; color: var(--muted); text-underline-offset: 3px; }

/* Keep the moving baseline visible alongside a stable reconstruction. */
.simulation-inset { position: absolute; z-index: 2; right: 12px; bottom: 12px; width: 34%; margin: 0; overflow: hidden; border: 2px solid #fff; border-radius: 7px; background: #222936; box-shadow: 0 3px 14px #17244240; pointer-events: none; }
.simulation-inset[hidden] { display: none; }
.simulation-inset video { display: block; width: 100%; height: auto; aspect-ratio: 1104 / 712; object-fit: contain; }
.simulation-inset-label { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 5px 8px; color: #fff; font-size: 10px; line-height: 1.2; }
.simulation-inset-label > span { color: #d5deed; }
@media (max-width: 600px) {
  .simulation-inset { right: 7px; bottom: 7px; width: 40%; border-radius: 5px; }
  .simulation-inset-label { padding: 4px 5px; gap: 3px; font-size: 8px; }
}

.simulation-inset-close { position: absolute; z-index: 1; top: 4px; right: 4px; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid #ffffff80; border-radius: 50%; background: #222936d9; color: #fff; font-size: 23px; line-height: 1; cursor: pointer; pointer-events: auto; }
.simulation-inset-close:hover { background: #111827; }
.simulation-inset-show { position: absolute; z-index: 2; right: 12px; bottom: 12px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 5px; background: #fffffff2; color: var(--blue-dark); font: inherit; font-size: 11px; cursor: pointer; box-shadow: 0 2px 8px #17244220; }
.simulation-inset-show[hidden] { display: none; }
.simulation-inset-show:hover { background: #edf2fa; }
.simulation-inset-close:focus-visible, .simulation-inset-show:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
@media (max-width: 600px) { .simulation-inset-show { right: 7px; bottom: 7px; font-size: 10px; } }

.hero-application header .hero-task { margin-top: 5px; color: var(--ink); font-size: 12px; font-weight: 600; }
