:root {
  --ink: #202124;
  --muted-ink: #626b73;
  --paper: #faf9f5;
  --surface: #ffffff;
  --surface-strong: #f1f6f3;
  --line: #d9e2dc;
  --line-dark: rgba(255, 255, 255, 0.18);
  --teal: #00736e;
  --teal-deep: #004f4b;
  --amber: #c56b28;
  --clay: #a34d3f;
  --blue: #496f9e;
  --paper-lang: #efe0b8;
  --paper-ego: #f4c078;
  --paper-hierarchy: #c68c7b;
  --paper-edith: #afd1e8;
  --paper-edith-deep: #0f6592;
  --charcoal: #202826;
  --shadow: 0 22px 54px rgba(32, 33, 36, 0.15);
  --radius: 8px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: inherit;
}

button,
video {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 0 32px;
  border-bottom: 1px solid rgba(217, 226, 220, 0.9);
  background: rgba(250, 249, 245, 0.92);
  backdrop-filter: blur(16px);
}

.brand,
.site-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 850;
  text-decoration: none;
}

.brand-mark {
  width: 18px;
  height: 18px;
  border: 3px solid var(--teal);
  border-right-color: var(--amber);
  border-radius: 50%;
}

.site-nav {
  gap: 22px;
  color: var(--muted-ink);
  font-size: 14px;
  font-weight: 750;
}

.site-nav a {
  position: relative;
  text-decoration: none;
}

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

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink);
}

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

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
  gap: 42px;
  align-items: center;
  min-height: min(780px, 78svh);
  padding: 76px 32px 92px;
  color: #ffffff;
  background: var(--charcoal);
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("assets/hero-edith.png");
  background-position: center;
  background-size: cover;
  filter: saturate(0.92);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(14, 20, 19, 0.78), rgba(14, 20, 19, 0.38)),
    rgba(14, 20, 19, 0.18);
}

.hero-content,
.hero-player {
  width: min(100%, 560px);
}

.hero-content {
  justify-self: end;
}

.hero-player {
  position: relative;
  aspect-ratio: 3 / 2;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: #101614;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-player video,
.comparison-panel video,
.demo-card video,
.video-shell video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-player-overlay {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  color: #ffffff;
  background: rgba(15, 22, 21, 0.72);
  backdrop-filter: blur(10px);
}

.hero-player-overlay span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 800;
}

.hero-player-overlay strong {
  font-size: 13px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd495;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 10ch;
  margin-bottom: 18px;
  font-size: 86px;
  line-height: 0.95;
  letter-spacing: 0;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

h2 {
  margin-bottom: 18px;
  font-size: 40px;
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 620px;
  margin-bottom: 30px;
  font-size: 23px;
  line-height: 1.35;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 850;
  text-decoration: none;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #ffffff;
  background: var(--teal);
}

.button.primary:hover {
  background: var(--teal-deep);
}

.button.secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.section,
.summary-band {
  padding: 88px 32px;
}

section[id] {
  scroll-margin-top: 82px;
}

.summary-band,
.resource-section {
  background: var(--surface);
}

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

.method-section {
  background: #ffffff;
}

.result-section {
  background: var(--surface);
}

.citation-section {
  background: #fff2db;
}

.section-inner {
  width: min(var(--content), 100%);
  margin: 0 auto;
}

.summary-grid,
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 64px;
  align-items: start;
}

.summary-grid {
  align-items: center;
}

.intro-video-block {
  margin-bottom: 44px;
}

.intro-video-block video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1280 / 820;
  border-radius: var(--radius);
  background: #000000;
  object-fit: contain;
}

.approach-overview {
  grid-column: 1 / -1;
  margin-top: 10px;
}

.approach-overview figure {
  margin: 20px 0 0;
  border: 0;
  background: #ffffff;
  box-shadow: none;
}

.overview-figure-frame img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  outline: 0;
  box-shadow: none;
}

.overview-caption-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 34px;
  margin: 18px 0 0;
}

.overview-caption-grid .section-lede {
  margin: 0;
}

.section-heading {
  width: min(780px, 100%);
  margin-bottom: 34px;
}

.section-heading.wide {
  width: min(920px, 100%);
}

.section-lede {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.45;
}

.summary-grid p,
.section-heading p,
.demo-caption p,
.method-copy p,
.method-copy li,
.method-node p,
.result-card p,
.citation-section p {
  color: var(--muted-ink);
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.quick-facts div {
  min-height: 118px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.quick-facts dt {
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.quick-facts dd {
  margin: 0;
  font-weight: 760;
}

.contribution-grid,
.task-grid,
.result-summary-grid,
.results-layout,
.analysis-grid,
.workload-grid {
  display: grid;
  gap: 18px;
}

.contribution-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
}

.contribution-grid article,
.task-card,
.result-panel,
.analysis-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(32, 33, 36, 0.04);
}

.contribution-grid article,
.analysis-grid article {
  padding: 24px;
}

.contribution-grid span,
.analysis-grid span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.contribution-grid p,
.task-card p,
.result-panel p,
.analysis-grid p {
  color: var(--muted-ink);
}

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

.demo-section .task-grid {
  width: min(1000px, 100%);
  margin: 0 auto 38px;
}

.task-scroll-cue,
.result-scroll-cue {
  display: none;
}

.demo-section .task-card {
  align-content: start;
  gap: 12px;
}

.task-card {
  display: grid;
  align-content: space-between;
  min-height: 280px;
  padding: 26px;
}

.task-card-figure {
  margin: 0 0 18px;
}

.task-card-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  background: #ffffff;
  object-fit: contain;
}

.task-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.task-meta span {
  padding: 6px 10px;
  border: 1px solid rgba(0, 115, 110, 0.22);
  border-radius: 999px;
  color: var(--teal-deep);
  background: var(--surface-strong);
  font-size: 13px;
  font-weight: 850;
}

.demo-viewer {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 18px;
  margin-bottom: 22px;
}

.demo-rail {
  display: grid;
  gap: 10px;
  align-content: start;
}

.demo-tab,
.method-tab {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--ink);
  background: var(--surface);
  text-align: left;
}

.demo-tab {
  min-height: 92px;
  padding: 18px;
}

.demo-tab span,
.demo-card span,
.method-node span,
.metric-label {
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.demo-tab strong {
  display: block;
  margin-top: 8px;
  font-size: 18px;
}

.demo-tab.is-active,
.method-tab.is-active {
  border-color: var(--teal);
  background: var(--surface-strong);
  box-shadow: 0 0 0 1px var(--teal);
}

.demo-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(290px, 0.8fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(32, 33, 36, 0.04);
  overflow: hidden;
}

.video-shell {
  position: relative;
  min-height: 430px;
  background: #101614;
}

.video-shell video {
  aspect-ratio: 16 / 10;
}

.video-progress {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.24);
}

.video-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--amber);
}

.demo-caption {
  padding: 32px;
}

.trace-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  counter-reset: trace;
  list-style: none;
}

.trace-list li {
  position: relative;
  padding: 14px 14px 14px 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted-ink);
  background: var(--paper);
}

.trace-list li::before {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--teal);
  content: counter(trace);
  counter-increment: trace;
  font-size: 12px;
  font-weight: 900;
  line-height: 22px;
  text-align: center;
}

.demo-grid,
.resource-list {
  display: grid;
  gap: 18px;
}

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

.demo-card {
  position: relative;
  min-height: 310px;
  border-radius: var(--radius);
  cursor: pointer;
  background: #101614;
  overflow: hidden;
  isolation: isolate;
}

.demo-card.portrait video {
  object-position: center 20%;
}

.demo-card::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(180deg, rgba(15, 22, 21, 0.05), rgba(15, 22, 21, 0.82));
}

.demo-card div {
  position: absolute;
  right: 20px;
  bottom: 18px;
  left: 20px;
  z-index: 2;
  color: #ffffff;
}

.demo-card span {
  color: #ffd495;
}

.demo-card h3 {
  margin: 6px 0 0;
}

.task-carousel {
  overflow: visible;
}

.task-carousel-heading {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
  text-align: center;
}

.task-carousel-heading > div {
  display: grid;
  justify-items: center;
}

.task-carousel-heading h3 {
  margin: 4px 0 0;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.08;
}

.task-audio-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-top: 12px;
  padding: 0 14px;
  border: 1px solid #cfcfcf;
  border-radius: 999px;
  color: #333333;
  background: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.task-audio-toggle:hover,
.task-audio-toggle:focus-visible,
.task-audio-toggle.is-on {
  border-color: #111111;
  color: #ffffff;
  background: #111111;
}

.task-carousel-heading p:last-child {
  width: min(440px, 100%);
  margin: 0;
  color: var(--muted-ink);
  text-align: right;
}

.task-carousel-viewport {
  width: 100vw;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  padding: 6px 0 28px;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.task-carousel-viewport:active {
  cursor: grabbing;
}

.task-slide-track {
  display: flex;
  gap: clamp(18px, 2vw, 30px);
  align-items: stretch;
  padding-inline: max(24px, calc((100vw - 1180px) / 2));
  transition: transform 520ms cubic-bezier(0.2, 0.82, 0.2, 1);
  will-change: transform;
}

.task-slide-track.is-dragging {
  transition: none;
}

.task-slide {
  flex: 0 0 min(1180px, calc(100vw - 96px));
  min-width: 0;
  padding: 18px;
  border: 0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow:
    0 2px 11px rgba(32, 33, 36, 0.09),
    0 1px 2px rgba(32, 33, 36, 0.06);
  opacity: 0.9;
  transform: none;
  transform-origin: center;
  transition:
    box-shadow 260ms ease,
    opacity 260ms ease,
    transform 260ms ease;
}

.task-slide.is-active {
  box-shadow:
    0 8px 24px rgba(32, 33, 36, 0.12),
    0 1px 3px rgba(32, 33, 36, 0.08);
  opacity: 1;
  transform: none;
}

.comparison-videos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.comparison-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
  opacity: 1;
  filter: none;
  transform: none;
  transform-origin: center;
  transition:
    filter 180ms ease,
    opacity 180ms ease;
}

.comparison-panel.is-playing {
  opacity: 1;
  filter: none;
  transform: none;
  box-shadow: none;
}

.comparison-panel.is-complete {
  opacity: 1;
  filter: none;
  transform: none;
}

.comparison-label {
  display: grid;
  align-content: end;
  justify-items: start;
  gap: 4px;
  min-height: 76px;
  padding: 8px 10px 12px;
  border-bottom: 0;
  color: var(--ink);
  background: transparent;
}

.comparison-panel.is-playing .comparison-label {
  background: transparent;
}

.comparison-label > span {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 8px;
  row-gap: 2px;
  min-width: 0;
  color: #4f5964;
  font-size: clamp(18px, 1.4vw, 24px);
  font-weight: 900;
  line-height: 1.05;
  text-transform: none;
}

.comparison-label .method-symbol {
  display: inline-flex;
  align-items: baseline;
  color: inherit;
  font: inherit;
  line-height: 1;
}

.comparison-label .method-symbol sub {
  font-size: 0.62em;
  line-height: 0;
  transform: translateY(0.12em);
}

.comparison-label small {
  display: inline;
  margin-top: 0;
  color: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.comparison-label strong {
  min-width: 0;
  color: var(--muted-ink);
  font-size: clamp(14px, 1vw, 16px);
  font-weight: 500;
  line-height: 1.25;
  text-align: left;
}

.edith-panel .comparison-label > span {
  color: var(--paper-edith-deep);
}

.comparison-media {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 7px;
  background: #101614;
  box-shadow: none;
  overflow: hidden;
}

.comparison-panel.is-playing .comparison-media {
  box-shadow: none;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 40px;
}

.task-carousel-cue {
  display: flex;
  justify-content: center;
  margin: 0 0 22px;
}

.task-carousel-cue span {
  position: relative;
  display: block;
  width: 78px;
  height: 4px;
  border-radius: 999px;
  background: #d8d8d8;
  overflow: hidden;
}

.task-carousel-cue span::after {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--task-carousel-thumb-width, 26px);
  height: 100%;
  border-radius: inherit;
  background: #111111;
  content: "";
  transform: translateX(var(--task-carousel-thumb-x, 0));
  transition: transform 220ms ease;
}

.carousel-arrow {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: #777777;
  cursor: pointer;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.carousel-arrow.next {
  background: #000000;
}

.carousel-arrow:hover {
  transform: translateY(-1px);
}

.carousel-arrow:disabled {
  background: #8a8a8a;
  cursor: default;
  opacity: 0.55;
}

.carousel-arrow:disabled:hover {
  transform: none;
}

.carousel-arrow span {
  display: block;
  margin-top: -2px;
  font-size: 42px;
  font-weight: 400;
  line-height: 1;
}

.task-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.task-dots button {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-ink);
  background: var(--surface);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.task-dots button.is-active {
  color: #ffffff;
  border-color: var(--ink);
  background: var(--ink);
}

.architecture-scroll {
  margin: 0 0 28px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
}

.architecture-canvas {
  position: relative;
  width: 1073px;
  height: 427px;
  margin: 0 auto;
  overflow: hidden;
  color: #111111;
  background: #ffffff;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  isolation: isolate;
}

.arch-arrows {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.arch-divider {
  stroke: #999999;
  stroke-width: 1;
}

.arch-block-arrow {
  stroke: none;
}

.arch-block-arrow.black {
  fill: #111111;
}

.arch-block-arrow.soft {
  fill: #a4c2f4;
}

.arch-block-arrow.pale {
  fill: #eeeeee;
}

.arch-user,
.arch-speech,
.arch-language,
.arch-context-title,
.arch-context-strip,
.arch-policy,
.arch-subtasks,
.arch-caption,
.arch-queue-title,
.arch-task-queue,
.arch-robot-observations,
.arch-output {
  position: absolute;
  z-index: 10;
}

.arch-user {
  top: 32px;
  left: 21px;
  width: 186px;
  height: 181px;
  object-fit: contain;
  object-position: left top;
}

.arch-gaze-cone {
  position: absolute;
  top: 43px;
  left: 92px;
  z-index: 1;
  width: 96px;
  height: 78px;
  background: #c9daf8;
  clip-path: polygon(0 75%, 100% 0, 100% 100%);
  opacity: 0.55;
}

.arch-speech {
  top: 178px;
  left: 20px;
  width: 205px;
  padding: 12px 16px;
  border-radius: 8px;
  background: #eeeeee;
  font-size: 13px;
  font-weight: 760;
  line-height: 1.32;
  text-align: center;
}

.arch-language {
  top: 250px;
  left: 80px;
  color: #111111;
  font-size: 15px;
  font-weight: 720;
}

.arch-language span,
.arch-context-title span,
.arch-robot-title span,
.arch-queue-title span {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 500;
}

.arch-label {
  color: #111111;
  font-size: 15px;
  font-weight: 720;
}

.arch-context-title {
  top: 9px;
  left: 248px;
}

.arch-context-strip {
  top: 40px;
  left: 189px;
  display: grid;
  width: 374px;
  height: 80px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 3px solid #111111;
  background: #ffffff;
  cursor: pointer;
}

.arch-frame {
  position: relative;
  min-width: 0;
  border-left: 1px solid #111111;
  background: #ffffff;
  overflow: hidden;
}

.arch-frame:first-child {
  border-left: 0;
}

.arch-frame.is-selected {
  z-index: 1;
  outline: 3px solid #0000ff;
  outline-offset: -3px;
}

.arch-frame img,
.arch-robot-grid img,
.arch-subtask-card img,
.arch-queue-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gaze-dot {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 8px;
  height: 8px;
  border: 3px solid #00ff00;
  border-radius: 50%;
  background: #ffffff;
}

.arch-policy {
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: #6d9eeb;
  color: #111111;
  cursor: pointer;
  font: inherit;
  text-align: center;
}

.arch-policy span {
  font-size: 17px;
  line-height: 1.15;
}

.arch-policy strong {
  display: block;
  margin-top: 2px;
  font-size: 16px;
}

.arch-policy.is-active,
.arch-context-strip.is-active,
.arch-subtasks.is-active,
.arch-robot-observations.is-active {
  box-shadow: 0 0 0 4px rgba(0, 0, 255, 0.14);
}

.arch-policy-high {
  top: 163px;
  left: 244px;
  width: 267px;
  height: 79px;
}

.arch-subtasks {
  top: 278px;
  left: 236px;
  display: grid;
  width: 267px;
  height: 112px;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  padding: 7px;
  border: 3px solid #111111;
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
}

.arch-subtasks::before {
  position: absolute;
  top: -11px;
  right: -8px;
  bottom: 8px;
  left: 8px;
  z-index: -1;
  border: 2px solid #111111;
  border-radius: 8px;
  content: "";
}

.arch-subtask-card {
  position: relative;
  border: 1px solid #a4c2f4;
  border-radius: 4px;
  background: #ffffff;
  overflow: hidden;
}

.arch-keyframe-head {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  padding: 3px 8px;
  background: #0000ff;
  color: #ffffff;
  font-size: 13px;
  font-weight: 760;
}

.arch-subtask-card.task-text {
  padding: 14px 12px;
  text-align: center;
}

.arch-subtask-card.task-text strong {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
}

.arch-subtask-card.task-text p {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.subtasks-caption {
  top: 391px;
  left: 357px;
  font-size: 14px;
  font-weight: 720;
}

.arch-queue-title {
  top: 139px;
  left: 535px;
  width: 230px;
  font-size: 20px;
  font-weight: 740;
  text-align: center;
}

.arch-queue-title span {
  font-size: 28px;
}

.arch-task-queue {
  top: 178px;
  left: 536px;
  display: grid;
  width: 205px;
  min-height: 178px;
  gap: 8px;
  padding: 10px;
  border-radius: 8px;
  background: #eeeeee;
}

.arch-queue-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 9px;
  align-items: center;
  min-height: 62px;
  padding: 6px;
  border: 3px solid #111111;
  border-radius: 6px;
  background: #ffffff;
}

.arch-queue-item img {
  height: 48px;
  border-radius: 3px;
}

.arch-queue-item p {
  margin: 0;
  font-size: 10px;
  font-weight: 760;
  line-height: 1.2;
  text-align: center;
}

.arch-queue-dots {
  height: 20px;
  font-size: 22px;
  font-weight: 800;
  line-height: 12px;
  text-align: center;
}

.arch-robot-observations {
  top: 33px;
  left: 755px;
  width: 278px;
  min-height: 91px;
  padding: 8px;
  border: 3px solid #111111;
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
}

.arch-robot-title {
  margin-bottom: 4px;
  font-size: 16px;
  line-height: 1.1;
  text-align: center;
}

.arch-robot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 0.88fr;
  gap: 5px;
}

.arch-robot-grid img,
.arch-robot-grid div {
  height: 48px;
  border: 1px solid #111111;
  border-radius: 4px;
  background: #ffffff;
}

.arch-robot-grid div {
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 720;
  line-height: 1.15;
  text-align: center;
}

.arch-policy-low {
  top: 164px;
  left: 759px;
  width: 278px;
  height: 79px;
  background: #a4c2f4;
}

.arch-output {
  top: 304px;
  display: grid;
  place-items: center;
  height: 73px;
  background: #b7b7b7;
  color: #111111;
  text-align: center;
}

.arch-output span,
.arch-output strong {
  display: block;
}

.arch-output span {
  margin-bottom: 6px;
  font-size: 15px;
}

.arch-output strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-weight: 500;
}

.arch-completion {
  left: 760px;
  width: 128px;
}

.arch-action {
  left: 897px;
  width: 138px;
}

@media (max-width: 900px) {
  .architecture-canvas {
    min-width: 960px;
  }
}

.method-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.method-map {
  position: relative;
  display: grid;
  gap: 12px;
}

.method-node {
  position: relative;
  min-height: 132px;
  padding: 24px;
  border: 1px solid rgba(0, 115, 110, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.method-node.is-active {
  border-color: var(--teal);
  background: var(--surface);
  transform: translateX(8px);
}

.method-node strong {
  display: block;
  margin: 10px 0 6px;
  font-size: 22px;
}

.method-connector {
  width: 2px;
  height: 38px;
  margin-left: 30px;
  background: var(--teal);
  opacity: 0.45;
}

.method-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(32, 33, 36, 0.04);
  overflow: hidden;
}

.method-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-bottom: 1px solid var(--line);
}

.method-tab {
  min-height: 58px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  font-weight: 850;
  text-align: center;
}

.method-tab:last-child {
  border-right: 0;
}

.method-copy {
  padding: 32px;
}

.method-copy ul {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding-left: 20px;
}

.method-section-stack {
  display: grid;
  gap: 44px;
}

.method-subsection {
  display: grid;
  gap: 18px;
}

.method-subsection-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.method-subsection-heading h3 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
}

.method-subsection-copy {
  width: min(820px, 100%);
  margin: 0;
  color: #333333;
  font-size: 17px;
  line-height: 1.55;
}

.hardware-system-block > .method-subsection-heading,
.hardware-system-block > .method-subsection-copy,
.policy-design-block > .method-subsection-heading,
.policy-design-block > .method-subsection-copy {
  padding-left: clamp(20px, 3vw, 32px);
}

.hardware-system-block .method-subsection-copy,
.policy-design-block .method-subsection-copy {
  width: min(1120px, 100%);
}

@media (max-width: 760px) {
  .hardware-system-block > .method-subsection-heading,
  .hardware-system-block > .method-subsection-copy,
  .policy-design-block > .method-subsection-heading,
  .policy-design-block > .method-subsection-copy {
    padding-left: 0;
  }
}

.text-nowrap {
  white-space: nowrap;
}

.method-inline-step-link {
  display: inline;
  padding: 0;
  border: 0;
  color: #111111;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.method-inline-step-link:hover,
.method-inline-step-link:focus-visible {
  color: #4f6f96;
}

.noisy-help-button {
  display: inline-grid;
  width: 18px;
  height: 18px;
  margin: 0 3px;
  padding: 0;
  place-items: center;
  border: 1px solid #b9b9b9;
  border-radius: 50%;
  color: #333333;
  background: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  vertical-align: 0.12em;
}

.noisy-help-button:hover,
.noisy-help-button:focus-visible {
  border-color: #111111;
  color: #ffffff;
  background: #111111;
}

.noisy-modal {
  width: min(760px, calc(100vw - 32px));
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
}

.noisy-modal::backdrop {
  background: rgba(0, 0, 0, 0.48);
}

.noisy-modal-panel {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid #d9d9d9;
  background: #ffffff;
}

.noisy-modal-panel h3 {
  margin: 0;
  padding-right: 40px;
  color: #111111;
  font-size: 24px;
}

.noisy-modal-panel p {
  margin: 0;
  color: #333333;
  font-size: 16px;
  line-height: 1.55;
}

.noisy-modal-video {
  display: block;
  width: min(420px, 100%);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border-radius: 4px;
  background: #000000;
  object-fit: cover;
}

.noisy-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  place-items: center;
  border: 1px solid #d0d0d0;
  border-radius: 50%;
  color: #111111;
  background: #ffffff;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.noisy-modal-close:hover,
.noisy-modal-close:focus-visible {
  color: #ffffff;
  background: #111111;
}

.detail-results-modal {
  width: min(1120px, calc(100vw - 32px));
  max-height: min(88vh, 920px);
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
}

.detail-results-modal::backdrop {
  background: rgba(0, 0, 0, 0.48);
}

.detail-results-modal-panel {
  position: relative;
  display: grid;
  gap: 16px;
  max-height: min(88vh, 920px);
  padding: 22px;
  border: 1px solid #d9d9d9;
  background: #ffffff;
  overflow: auto;
}

.detail-results-modal-panel h3 {
  margin: 0;
  padding-right: 42px;
  color: #111111;
  font-size: 24px;
  line-height: 1.15;
}

.detail-results-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  place-items: center;
  border: 1px solid #d0d0d0;
  border-radius: 50%;
  color: #111111;
  background: #ffffff;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.detail-results-modal-close:hover,
.detail-results-modal-close:focus-visible {
  color: #ffffff;
  background: #111111;
}

.detail-results-modal-body .chart-panel {
  padding: 0;
  border: 0;
  box-shadow: none;
}

.detail-results-modal-body .chart-header {
  padding-right: 42px;
}

.user-study-detail-summary {
  display: grid;
  gap: 24px;
  max-width: 980px;
}

.user-study-detail-summary section {
  display: grid;
  gap: 10px;
}

.user-study-detail-summary h4 {
  margin: 0;
  color: #111111;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.2;
}

.user-study-detail-summary p,
.user-study-detail-summary li {
  color: #333333;
  font-size: 15px;
  line-height: 1.55;
}

.user-study-detail-summary p {
  margin: 0;
}

.user-study-detail-summary ol {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 22px;
}

.user-study-procedure-figure {
  margin: 2px 0 4px;
}

.user-study-procedure-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #dddddd;
}

.fully-specified-detail-copy {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: none;
  margin-bottom: 8px;
}

.fully-specified-detail-chart .chart-header {
  padding-right: 0;
}

.fully-specified-detail-copy p {
  margin: 0;
  color: #333333;
  font-size: 15px;
  line-height: 1.55;
}

.hardware-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(760px, 100%);
  margin: 0 auto;
}

.hardware-video-card {
  display: grid;
  gap: 12px;
  margin: 0;
  min-width: 0;
}

.hardware-video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  background: #000000;
  object-fit: cover;
}

.hardware-video-card figcaption {
  color: #333333;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.4;
  text-align: center;
}

.hardware-signal-note {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 18px 20px;
  border: 1px solid #d9d9d9;
  background: #ffffff;
}

.hardware-signal-note p {
  margin: 0;
  color: #333333;
  font-size: 16px;
  line-height: 1.58;
}

.hardware-signal-note p + p {
  margin-top: 8px;
}

.hardware-signal-note strong {
  color: #111111;
}

.hardware-signal-note a {
  color: #111111;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-noisy-block {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 4px 0 10px;
}

.policy-noisy-kicker {
  margin: 0;
  color: #111111;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
}

.policy-noisy-video-frame {
  width: min(560px, 100%);
  margin: 0;
}

.policy-noisy-video {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  background: #000000;
  object-fit: cover;
}

.policy-noisy-summary {
  text-align: center;
}

.method-figure-viewer {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.method-figure-stage {
  margin: 0;
  background: #ffffff;
}

.method-figure-stage img,
.method-figure-stage video {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  outline: 0;
  background: #ffffff;
  box-shadow: none;
  transition: opacity 180ms ease;
}

.method-figure-stage [hidden] {
  display: none !important;
}

.method-figure-stage video {
  object-fit: contain;
}

.method-figure-stage.is-changing img,
.method-figure-stage.is-changing video {
  opacity: 0;
}

.method-figure-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.method-figure-tab {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid #cfcfcf;
  border-radius: 999px;
  color: #333333;
  background: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}

.method-figure-tab.is-active {
  border-color: #111111;
  color: #ffffff;
  background: #111111;
}

.method-figure-note {
  width: min(920px, 100%);
  margin: 18px auto 0;
  padding: 18px 20px;
  border: 1px solid #d9d9d9;
  background: #ffffff;
}

.method-figure-note p {
  margin: 0;
  color: #333333;
  font-size: 16px;
  line-height: 1.58;
}

.method-figure-note-body {
  display: grid;
  gap: 14px;
}

.method-figure-note .method-figure-note-title {
  color: #111111;
  font-weight: 800;
}

.method-figure-note p + p {
  margin-top: 8px;
}

.method-signal-demo {
  width: min(180px, 60%);
  margin: 0 auto;
}

/* Human Signals fusion: egocentric context + speech -> captioned video */
.signal-fusion {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) 54px minmax(150px, 1.05fr);
  grid-template-rows: auto auto;
  align-items: center;
  gap: 14px 8px;
  width: min(560px, 100%);
  margin: 6px auto 0;
}

.signal-ego { grid-column: 1; grid-row: 1; }
.signal-speech { grid-column: 1; grid-row: 2; }
.signal-merge-arrow-top { grid-column: 2; grid-row: 1; }
.signal-merge-arrow-bottom { grid-column: 2; grid-row: 2; }
.signal-result { grid-column: 3; grid-row: 1 / span 2; }

.signal-merge-arrow {
  justify-self: center;
}

.signal-input,
.signal-result {
  display: grid;
  gap: 6px;
  margin: 0;
  min-width: 0;
}

.signal-input figcaption,
.signal-result figcaption {
  color: #333333;
  font-size: 12.5px;
  font-weight: 750;
  line-height: 1.3;
  text-align: center;
}

/* egocentric context = video with the top speech-caption strip cropped off */
.signal-ego-crop {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 0.87;
  overflow: hidden;
  border-radius: 6px;
  background: #000000;
}

.signal-ego-crop video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  transform: translateY(-13%);
}

/* human speech bubble with intermittently revealed text */
.signal-speech {
  align-self: center;
}

.signal-speech-bubble {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: start;
  padding: 11px 12px;
  border-radius: 12px;
  background: #eef3f9;
  border: 1px solid #d6e0ec;
}

.signal-speech-icon {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex: 0 0 auto;
}

.signal-speech-text {
  margin: 0;
  color: #25303f;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.55;
}

.signal-speech-text > * {
  opacity: 0;
  animation: spStep 8s ease-in-out infinite;
}

.signal-speech-text > *:nth-child(1) { animation-delay: 0s; }
.signal-speech-text > *:nth-child(2) { animation-delay: 1.4s; }
.signal-speech-text > *:nth-child(3) { animation-delay: 1.9s; }
.signal-speech-text > *:nth-child(4) { animation-delay: 2.4s; }

.sp-vad {
  display: inline-block;
  margin: 0 1px;
  padding: 0 6px;
  border-radius: 999px;
  background: #cdd9ea;
  color: #44587a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  vertical-align: 1px;
}

@keyframes spStep {
  0% { opacity: 0; }
  6% { opacity: 1; }
  82% { opacity: 1; }
  90%, 100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .signal-speech-text > * {
    opacity: 1;
    animation: none;
  }
}

@media (max-width: 760px) {
  .signal-fusion {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, auto);
    justify-items: center;
  }

  .signal-ego { grid-row: 1; }
  .signal-merge-arrow-top { grid-column: 1; grid-row: 2; transform: rotate(90deg); }
  .signal-speech { grid-column: 1; grid-row: 3; }
  .signal-merge-arrow-bottom { grid-column: 1; grid-row: 4; transform: rotate(90deg); }
  .signal-result { grid-column: 1; grid-row: 5; }

  .signal-input,
  .signal-result {
    width: min(240px, 82%);
  }
}

.method-note-video,
.high-level-input-video video {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  background: #000000;
  object-fit: cover;
}

.low-level-policy-demo {
  display: grid;
  gap: 16px;
  width: min(900px, 100%);
  margin: 2px auto 0;
  background: #ffffff;
}

.low-level-vla-input,
.low-level-vla-output {
  display: grid;
  gap: 8px;
}

.low-level-vla-input h4,
.low-level-vla-output h4 {
  margin: 0;
  color: #111111;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.15;
}

.low-level-input-row {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(320px, 1fr);
  gap: 18px;
  align-items: start;
}

.low-level-center-demo {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  border: 1px solid #cfd6df;
  border-radius: 4px;
  overflow: hidden;
  background: #000000;
}

.low-level-center-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1080 / 600;
  background: #000000;
  object-fit: cover;
}

/* thick black bar overlaid on the top of the observation video */
.low-level-center-demo figcaption {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 16px 10px;
  color: #ffffff;
  background: rgba(17, 17, 17, 0.9);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.15;
  text-align: center;
}

.low-level-subtask-card {
  width: 100%;
  grid-template-columns: minmax(120px, 0.96fr) minmax(140px, 1.04fr);
  align-self: start;
}

.subtask-card.low-level-subtask-card.is-complete {
  border-color: #1f9d55;
  box-shadow:
    0 0 0 3px rgba(31, 157, 85, 0.28),
    0 0 18px rgba(31, 157, 85, 0.34);
}

.low-level-subtask-keyframe,
.low-level-subtask-task {
  display: grid;
  grid-template-rows: auto 1fr;
}

.low-level-subtask-keyframe img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.low-level-subtask-keyframe .gaze-marker {
  width: 30px;
  height: 30px;
}

.low-level-subtask-task p {
  font-size: 14px;
}

.low-level-output-box {
  padding: 12px 14px;
  border: 1px solid #cfd6df;
  border-radius: 6px;
  background: #fbfcfe;
}

.low-level-output-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.low-level-output-item {
  display: inline-grid;
  grid-template-columns: auto minmax(0, max-content);
  gap: 8px;
  align-items: baseline;
  justify-content: start;
  min-width: 0;
  background: #ffffff;
}

.low-level-action-stream {
  grid-template-columns: auto minmax(0, max-content);
}

.low-level-action-stream p,
.low-level-completion-stream p {
  margin: 0;
  color: #111111;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
}

.low-level-action-stream small {
  grid-column: 1 / -1;
  grid-row: 2;
  color: #555555;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.low-level-action-stream pre {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  padding: 0;
  border: 0;
  color: #151515;
  background: #ffffff;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  line-height: 1.32;
  white-space: nowrap;
}

.low-level-completion-stream output {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 20px;
  border-radius: 3px;
  color: #151515;
  background: #ffffff;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  transition:
    background-color 140ms ease,
    color 140ms ease,
    box-shadow 140ms ease;
}

.low-level-completion-stream.is-active output {
  color: #ffffff;
  background: #2f6f4e;
  box-shadow: 0 0 0 3px rgba(47, 111, 78, 0.18);
}

.high-level-keyframe-demo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.high-level-input-video {
  flex: 0 0 auto;
  width: 132px;
  display: grid;
  gap: 6px;
  margin: 0;
}

.high-level-keyframe-demo .subtask-board {
  flex: 1 1 300px;
  min-width: 0;
}

/* keyframe images shown at ~half size inside the high-level demo */
.high-level-keyframe-demo .subtask-card {
  grid-template-columns: minmax(64px, 0.5fr) minmax(0, 1fr);
}

.high-level-keyframe-demo .gaze-marker {
  width: 22px;
  height: 22px;
}

/* pastel-blue "High-level policy (VLM)" box between the video and subtasks */
.hl-vlm-box {
  flex: 0 0 auto;
  display: grid;
  gap: 2px;
  place-items: center;
  width: 128px;
  padding: 14px 12px;
  border-radius: 14px;
  background: #dbe9fb;
  border: 1px solid #b9d3f2;
  color: #1f3a5f;
  text-align: center;
  box-shadow: 0 2px 8px rgba(79, 111, 150, 0.14);
  animation: hlVlmPulse 2s ease-in-out infinite;
}

.hl-vlm-box strong {
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
}

.hl-vlm-box small {
  font-size: 12px;
  font-weight: 700;
  color: #3a5a82;
}

@keyframes hlVlmPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(106, 160, 224, 0); }
  50% { box-shadow: 0 0 0 7px rgba(106, 160, 224, 0.14); }
}

/* animated flow arrows */
.hl-flow-arrow {
  flex: 0 0 auto;
  position: relative;
  width: 40px;
  height: 14px;
}

.hl-flow-arrow span {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: calc(100% - 7px);
  height: 3px;
  background-image: repeating-linear-gradient(90deg, #6aa0e0 0 6px, transparent 6px 11px);
  background-size: 11px 3px;
  animation: hlFlow 0.7s linear infinite;
}

.hl-flow-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border-left: 8px solid #6aa0e0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

@keyframes hlFlow {
  from { background-position: 0 0; }
  to { background-position: 11px 0; }
}

/* low-level vertical flow: input -> VLA box -> output */
.ll-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.ll-vla-box {
  width: auto;
  min-width: 150px;
  padding: 12px 18px;
}

.ll-flow-arrow-v {
  position: relative;
  width: 14px;
  height: 30px;
}

.ll-flow-arrow-v span {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: calc(100% - 7px);
  background-image: repeating-linear-gradient(180deg, #6aa0e0 0 6px, transparent 6px 11px);
  background-size: 3px 11px;
  animation: hlFlowV 0.7s linear infinite;
}

.ll-flow-arrow-v::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-top: 8px solid #6aa0e0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
}

@keyframes hlFlowV {
  from { background-position: 0 0; }
  to { background-position: 0 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .hl-vlm-box,
  .hl-flow-arrow span,
  .ll-flow-arrow-v span {
    animation: none;
  }
}

.high-level-input-video figcaption {
  color: #333333;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.3;
  text-align: center;
}

.subtask-board {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  background: #ffffff;
}

.subtask-board h4 {
  margin: 0;
  color: #111111;
  font-size: 20px;
  font-weight: 850;
  line-height: 1.1;
}

.subtask-card {
  display: grid;
  grid-template-columns: minmax(110px, 0.92fr) minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
  min-width: 0;
  padding: 8px;
  border: 1px solid #cfd6df;
  border-radius: 4px;
  opacity: 0.16;
  filter: grayscale(1);
  transform: translateY(8px);
  transition:
    opacity 260ms ease,
    filter 260ms ease,
    transform 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease;
}

.subtask-card.is-generated {
  border-color: #4f6f96;
  box-shadow: 0 0 0 2px rgba(79, 111, 150, 0.18);
  opacity: 1;
  filter: none;
  transform: translateY(0);
}

.subtask-keyframe,
.subtask-task {
  min-width: 0;
  border: 1px solid #d9d9d9;
  border-radius: 3px;
  overflow: hidden;
  background: #f8f9fb;
}

.subtask-keyframe > span,
.subtask-task > span {
  display: block;
  padding: 5px 7px;
  color: #111111;
  background: #e9eef5;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.1;
  text-align: center;
}

.subtask-keyframe img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.keyframe-image {
  position: relative;
  line-height: 0;
}

.gaze-marker {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  transform: translate(-50%, -50%);
  pointer-events: none;
  line-height: 0;
}

.gaze-marker svg {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 2px rgba(57, 255, 20, 0.85));
}

.subtask-task {
  display: grid;
  grid-template-rows: auto 1fr;
}

.subtask-task p {
  display: grid;
  place-items: center;
  min-height: 100%;
  padding: 10px;
  color: #111111;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
}

.task-queue-demo {
  display: grid;
  justify-items: center;
}

.queue-flow-stage {
  --queue-row-height: 104px;
  --queue-row-step: 116px;
  --queue-card-shift-x: calc(100% + 56px);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  width: min(960px, 100%);
  min-height: 470px;
  margin: 0 auto;
}

.queue-target-panel {
  position: relative;
  grid-column: 2;
  min-height: 430px;
  padding: 16px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  background: #ffffff;
  overflow: hidden;
}

.queue-panel-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.queue-panel-header span {
  color: #111111;
  font-size: 20px;
  font-weight: 850;
  line-height: 1.1;
}

.queue-panel-header strong {
  color: #626b73;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-align: right;
}

.queue-stack {
  display: grid;
  gap: 12px;
}

.queue-stack span {
  display: block;
  height: var(--queue-row-height);
  border: 1px dashed #d4d9df;
  border-radius: 4px;
  background:
    linear-gradient(90deg, rgba(244, 246, 248, 0.92), rgba(250, 250, 250, 0.95));
}

.queue-existing-task {
  position: absolute;
  top: 59px;
  right: 16px;
  left: 16px;
  z-index: 2;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  box-sizing: border-box;
  height: var(--queue-row-height);
  min-height: 0;
  padding: 8px;
  border: 1px solid #cfd6df;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(32, 33, 36, 0.08);
  animation: queue-existing-task 10s ease-in-out infinite;
}

.queue-thumb-placeholder,
.queue-task-text {
  min-width: 0;
  border: 1px solid #d9d9d9;
  border-radius: 3px;
  overflow: hidden;
  background: #f8f9fb;
}

.queue-thumb-placeholder {
  position: relative;
  background:
    linear-gradient(135deg, #eceff3, #f8f9fb);
}

.queue-thumb-placeholder::before {
  content: "";
  position: absolute;
  inset: 28px 18px;
  border-radius: 3px;
  background: #c6ccd3;
  transform: rotate(-14deg);
}

.queue-task-text {
  display: grid;
  grid-template-rows: auto 1fr;
}

.queue-task-text span {
  display: block;
  padding: 5px 7px;
  color: #111111;
  background: #e9eef5;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.1;
  text-align: center;
}

.queue-task-text p {
  display: grid;
  place-items: center;
  min-height: 100%;
  padding: 10px;
  color: #111111;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
}

.queue-source-subtasks {
  position: absolute;
  top: 127px;
  left: 0;
  display: grid;
  gap: 10px;
  width: calc((100% - 24px) / 2);
  box-sizing: border-box;
  padding: 16px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  background: #ffffff;
  animation: queue-source-subtasks 10s ease-in-out infinite;
  transform-origin: top left;
  will-change: border-color, box-shadow, transform;
}

.queue-source-subtasks h4 {
  margin: 0;
  color: #111111;
  font-size: 20px;
  font-weight: 850;
  line-height: 1.1;
  animation: queue-source-title 10s ease-in-out infinite;
}

.queue-source-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
  box-sizing: border-box;
  height: var(--queue-row-height);
  padding: 8px;
  border: 1px solid #cfd6df;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(79, 111, 150, 0.18);
  animation-duration: 10s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  will-change: transform, opacity;
}

.queue-source-card-one {
  animation-name: queue-card-one;
}

.queue-source-card-two {
  animation-name: queue-card-two;
}

.queue-source-keyframe,
.queue-source-task {
  min-width: 0;
  border: 1px solid #d9d9d9;
  border-radius: 3px;
  overflow: hidden;
  background: #f8f9fb;
}

.queue-source-keyframe span,
.queue-source-task span {
  display: block;
  padding: 4px 6px;
  color: #111111;
  background: #e9eef5;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.08;
  text-align: center;
}

.queue-source-keyframe img {
  display: block;
  width: 100%;
  height: 54px;
  object-fit: cover;
}

.queue-source-task {
  display: grid;
  grid-template-rows: auto 1fr;
}

.queue-source-task p {
  display: grid;
  place-items: center;
  min-height: 100%;
  padding: 8px;
  color: #111111;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.22;
  text-align: center;
}

.task-queue-demo + p {
  margin-top: 14px;
}

@keyframes queue-source-subtasks {
  0%,
  18% {
    border-color: #d9d9d9;
    box-shadow: none;
    background: #ffffff;
  }
  30%,
  100% {
    border-color: transparent;
    box-shadow: none;
    background: transparent;
  }
}

@keyframes queue-card-one {
  0%,
  34% {
    opacity: 1;
    transform: translate(0, 0);
  }
  50%,
  70% {
    opacity: 1;
    transform: translate(var(--queue-card-shift-x), 0);
  }
  88%,
  100% {
    opacity: 1;
    transform: translate(var(--queue-card-shift-x), calc(-1 * var(--queue-row-step)));
  }
}

@keyframes queue-card-two {
  0%,
  42% {
    opacity: 1;
    transform: translate(0, 0);
  }
  58%,
  70% {
    opacity: 1;
    transform: translate(var(--queue-card-shift-x), 0);
  }
  88%,
  100% {
    opacity: 1;
    transform: translate(var(--queue-card-shift-x), calc(-1 * var(--queue-row-step)));
  }
}

@keyframes queue-source-title {
  0%,
  18% {
    opacity: 1;
  }
  30%,
  100% {
    opacity: 0;
  }
}

@keyframes queue-existing-task {
  0%,
  70% {
    opacity: 1;
    transform: translateX(0);
  }
  82%,
  100% {
    opacity: 0;
    transform: translateX(118%);
  }
}

@keyframes queue-card-mobile-one {
  0%,
  34% {
    opacity: 1;
    transform: translateY(0);
  }
  52%,
  100% {
    opacity: 1;
    transform: translateY(var(--queue-mobile-shift-y));
  }
}

@keyframes queue-card-mobile-two {
  0%,
  42% {
    opacity: 1;
    transform: translateY(0);
  }
  60%,
  100% {
    opacity: 1;
    transform: translateY(var(--queue-mobile-shift-y));
  }
}

@keyframes queue-mobile-source-title {
  0%,
  20% {
    opacity: 1;
  }
  34%,
  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .queue-existing-task {
    display: none;
  }

  .queue-source-subtasks,
  .queue-source-subtasks h4,
  .queue-source-card {
    animation: none;
  }

  .queue-source-subtasks {
    border-color: transparent;
    box-shadow: none;
    background: transparent;
  }

  .queue-source-subtasks h4 {
    opacity: 0;
  }

  .queue-source-card-one {
    transform: translate(var(--queue-card-shift-x), calc(-1 * var(--queue-row-step)));
  }

  .queue-source-card-two {
    transform: translate(var(--queue-card-shift-x), calc(-1 * var(--queue-row-step)));
  }
}

@media (max-width: 760px) {
  .high-level-keyframe-demo {
    flex-direction: column;
  }

  .high-level-input-video {
    width: min(200px, 60%);
  }

  .high-level-keyframe-demo .hl-flow-arrow {
    transform: rotate(90deg);
  }

  .high-level-keyframe-demo .subtask-board {
    flex: 1 1 auto;
    width: min(420px, 100%);
  }

  .low-level-input-row {
    grid-template-columns: 1fr;
  }

  .low-level-output-row {
    grid-template-columns: 1fr;
  }

  .low-level-center-demo,
  .low-level-subtask-card {
    height: auto;
    width: min(420px, 100%);
    justify-self: center;
  }

  .low-level-center-video {
    height: auto;
    aspect-ratio: 1080 / 600;
  }

  .low-level-subtask-keyframe img {
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .subtask-card {
    grid-template-columns: minmax(96px, 0.82fr) minmax(0, 1fr);
  }

  .queue-flow-stage {
    --queue-mobile-shift-y: -416px;
    display: block;
    min-height: auto;
  }

  .queue-target-panel {
    min-height: auto;
  }

  .queue-stack span {
    height: var(--queue-row-height);
  }

  .queue-source-subtasks {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    margin-top: 16px;
    border-color: transparent;
    box-shadow: none;
    background: transparent;
    animation: none;
    transform: none;
  }

  .queue-source-subtasks h4 {
    opacity: 1;
    animation: queue-mobile-source-title 10s ease-in-out infinite;
  }

  .queue-existing-task {
    display: none;
  }

  .queue-source-card {
    grid-template-columns: minmax(96px, 0.82fr) minmax(0, 1fr);
  }

  .queue-source-card-one {
    animation-name: queue-card-mobile-one;
  }

  .queue-source-card-two {
    animation-name: queue-card-mobile-two;
  }
}

.result-summary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.result-card {
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(32, 33, 36, 0.04);
}

.metric-label {
  margin-bottom: 8px;
}

.metric-value {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.animated-results,
.secondary-charts {
  display: grid;
  gap: 18px;
}

.animated-results {
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.75fr);
}

.animated-results > .performance-chart {
  grid-column: 1 / -1;
}

.secondary-charts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.analysis-subsection-heading {
  grid-column: 1 / -1;
  order: 2;
  margin-top: 18px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.analysis-subsection-heading h3 {
  margin: 0;
  color: #111111;
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0;
}

.analysis-subsection-heading p {
  max-width: none;
  margin: 10px 0 0;
  color: #333333;
  font-size: 17px;
  line-height: 1.55;
}

.js-enabled [data-animate] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.js-enabled [data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.chart-panel,
.result-narrative {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(32, 33, 36, 0.04);
}

.chart-panel {
  min-width: 0;
  padding: 26px;
  overflow: hidden;
}

.result-narrative {
  display: grid;
  align-content: space-between;
  gap: 22px;
  padding: 28px;
  color: #ffffff;
  background:
    linear-gradient(150deg, rgba(15, 101, 146, 0.94), rgba(32, 40, 38, 0.96)),
    var(--paper-edith-deep);
}

.result-narrative > span,
.chart-header > div:not(.chart-legend) > span {
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.result-narrative > span {
  color: #ffd495;
}

.result-narrative h3 {
  margin-bottom: 14px;
  font-size: 28px;
}

.result-narrative p {
  color: rgba(255, 255, 255, 0.78);
}

.result-narrative-main-copy {
  display: grid;
  gap: 12px;
}

.result-inline-detail {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: inherit;
  font: inherit;
  font-weight: 700;
  white-space: nowrap;
}

.result-poorly-detail-button {
  display: inline-grid;
  width: 21px;
  height: 21px;
  min-height: 21px;
  padding: 0;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
  font-size: 15px;
  font-weight: 750;
  line-height: 1;
  vertical-align: middle;
}

.result-poorly-detail-button:hover,
.result-poorly-detail-button:focus-visible {
  color: #111111;
  background: #ffffff;
}

.result-narrative dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.result-narrative dl div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.result-narrative dt {
  font-size: 34px;
  font-weight: 920;
  line-height: 1;
}

.result-narrative dd {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.chart-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.chart-header h3 {
  margin: 6px 0 0;
}

.workload-chart .chart-header {
  margin-bottom: 10px;
}

.result-section .chart-header > div:not(.chart-legend) > span,
.result-section .user-study-title-row > span {
  display: block;
  color: #111111;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0;
  text-transform: none;
}

.user-study-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.detail-inline-button {
  width: 28px;
  height: 28px;
  min-height: 28px;
  padding: 0;
  border: 1px solid #cccccc;
  border-radius: 50%;
  color: #111111;
  background: #ffffff;
  font-size: 20px;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
}

.detail-inline-button:hover,
.detail-inline-button:focus-visible {
  color: #111111;
  border-color: #111111;
  background: #f4f4f4;
}

.result-section .performance-chart .chart-header > div:not(.chart-legend) > span {
  font-size: clamp(30px, 3vw, 38px);
}

.result-section .analysis-chart .chart-header > div:not(.chart-legend) > span {
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.18;
}

.analysis-chart .chart-header > div:not(.chart-legend) {
  width: 100%;
}

.result-section .chart-header h3 {
  margin-top: 6px;
  color: #333333;
  font-size: 16px;
  font-weight: 550;
  line-height: 1.35;
}

.result-section .performance-chart .chart-header h3 {
  font-size: 18px;
}

.performance-chart .chart-header {
  margin-bottom: 8px;
}

.main-results-claim {
  max-width: 980px;
  margin: 0 0 18px;
  color: #333333;
  font-size: 17px;
  font-weight: 550;
  line-height: 1.45;
}

.baseline-definitions {
  margin: 0 0 28px;
  padding: 20px 22px;
  border: 1px solid #dddddd;
  background: #fafafa;
}

.baseline-definitions h3 {
  margin: 0 0 14px;
  color: #1a1a1a;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.baseline-definitions dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.baseline-item {
  display: grid;
  grid-template-columns: minmax(120px, max-content) 1fr;
  gap: 8px 20px;
  align-items: baseline;
}

.baseline-item dt {
  margin: 0;
  color: #1a1a1a;
  font-weight: 700;
}

.baseline-item dd {
  margin: 0;
  color: #444444;
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 620px) {
  .baseline-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.main-results-analysis-copy {
  display: grid;
  gap: 14px;
  max-width: 1120px;
  margin-top: 24px;
}

.main-results-analysis-copy p {
  margin: 0;
  color: #333333;
  font-size: 16px;
  line-height: 1.6;
}

.analysis-answer {
  max-width: none;
  margin: 10px 0 0;
  color: #333333;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

.analysis-answer-label {
  display: inline-block;
  margin-right: 8px;
  color: #111111;
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 800;
  line-height: 1;
  vertical-align: baseline;
}

.chart-header strong {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--teal-deep);
  background: var(--surface-strong);
  font-size: 14px;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: none;
  margin: 16px auto 0;
  text-align: center;
}

.chart-legend span {
  position: relative;
  padding-left: 18px;
  color: var(--muted-ink);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.2;
  text-transform: none;
  white-space: nowrap;
}

.chart-legend span::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}

.chart-footnote {
  margin: 12px 0 0;
  color: var(--muted-ink);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.2;
  text-align: center;
}

.legend-lang::before {
  background: var(--paper-lang);
}

.legend-ego::before {
  background: var(--paper-ego);
}

.legend-hierarchy::before {
  background: var(--paper-hierarchy);
}

.legend-edith::before {
  background: var(--paper-edith);
}

.legend-ablation::before {
  background: var(--paper-ego);
}

.legend-edith-distract::before {
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.72) 0,
      rgba(255, 255, 255, 0.72) 4px,
      transparent 4px,
      transparent 8px
    ),
    var(--paper-edith);
}

.legend-ablation-distract::before {
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.72) 0,
      rgba(255, 255, 255, 0.72) 4px,
      transparent 4px,
      transparent 8px
    ),
    var(--paper-ego);
}

.bar-chart {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  overflow: visible;
  padding-bottom: 4px;
}

.chart-scale {
  display: grid;
  grid-template-rows: repeat(5, 1fr);
  height: 342px;
  padding: 0 0 58px;
  color: var(--muted-ink);
  font-size: 12px;
  font-weight: 800;
  text-align: right;
}

.chart-plot {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 46px;
  min-width: 0;
  min-height: 342px;
}

.chart-grid-lines {
  position: absolute;
  inset: 0 0 58px;
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  pointer-events: none;
}

.chart-grid-lines span {
  border-top: 1px solid rgba(217, 226, 220, 0.92);
}

.bar-group,
.metric-group {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: 284px 44px;
  gap: 14px;
  min-width: 0;
}

.bar-pair,
.metric-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 15px;
  min-height: 284px;
}

.chart-bar {
  position: relative;
  display: block;
  width: min(48px, 18%);
  min-height: 5px;
  height: calc(var(--value) * 1%);
  border-radius: 8px 8px 0 0;
  transform-origin: bottom;
}

.js-enabled .chart-bar {
  transform: scaleY(0);
  transition:
    transform 820ms cubic-bezier(0.2, 0.82, 0.2, 1),
    box-shadow 300ms ease;
  transition-delay: calc(var(--i) * 120ms);
}

.js-enabled .is-visible .chart-bar {
  transform: scaleY(1);
}

.chart-bar.method-lang {
  background: linear-gradient(180deg, #f7edcf, var(--paper-lang));
}

.chart-bar.method-ego {
  background: linear-gradient(180deg, #ffd18c, var(--paper-ego));
}

.chart-bar.method-hierarchy {
  background: linear-gradient(180deg, #d99e91, var(--paper-hierarchy));
}

.chart-bar.method-edith {
  background: linear-gradient(180deg, #c3ddf0, var(--paper-edith));
  box-shadow: 0 14px 26px rgba(15, 101, 146, 0.18);
}

.chart-bar b {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  transform: translateX(-50%);
}

.paper-result-chart {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  overflow-x: auto;
  padding: 4px 0 12px;
}

.paper-result-scale {
  display: grid;
  grid-template-rows: repeat(6, 1fr);
  height: 230px;
  padding: 26px 0 45px;
  color: var(--muted-ink);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-align: right;
}

.paper-task-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(188px, 1fr));
  gap: 10px;
  min-width: 820px;
}

.paper-three-panel .paper-task-grid {
  grid-template-columns: repeat(3, minmax(188px, 1fr));
  min-width: 640px;
}

.paper-task-panel {
  min-width: 0;
}

.paper-task-panel h4 {
  margin: 0 0 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.15;
  text-align: center;
}

.paper-panel-plot {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  height: 230px;
  padding: 26px 7px 25px;
  border-left: 1px solid rgba(0, 0, 0, 0.42);
}

.paper-panel-plot::after {
  position: absolute;
  right: 0;
  bottom: 45px;
  left: 0;
  height: 1px;
  background: rgba(0, 0, 0, 0.42);
  content: "";
}

.paper-average-panel .paper-panel-plot {
  background: rgba(244, 192, 120, 0.08);
}

.paper-grid-lines {
  position: absolute;
  inset: 26px 0 45px;
  display: grid;
  grid-template-rows: repeat(5, 1fr);
  pointer-events: none;
}

.paper-grid-lines span {
  border-top: 1px solid rgba(0, 0, 0, 0.09);
}

.paper-metric {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: 159px 14px;
  gap: 6px;
  min-width: 0;
}

.paper-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  height: 159px;
  min-height: 0;
}

.paper-result-chart .chart-bar {
  --i: 0;
  width: 13px;
  min-height: 3px;
  border-radius: 0;
  box-shadow: none;
}

.paper-result-chart .chart-bar.method-lang {
  background: var(--paper-lang);
}

.paper-result-chart .chart-bar.method-ego {
  background: var(--paper-ego);
}

.paper-result-chart .chart-bar.method-hierarchy {
  background: var(--paper-hierarchy);
}

.paper-result-chart .chart-bar.method-edith {
  background: var(--paper-edith);
  box-shadow: none;
}

.paper-result-chart .chart-bar.method-ablation {
  background: var(--paper-ego);
}

.paper-two-method .paper-bars {
  gap: 8px;
}

.paper-two-method .paper-result-chart .chart-bar,
.paper-two-method .chart-bar {
  width: 21px;
}

.paper-result-chart .chart-bar b {
  bottom: calc(100% + 4px);
  font-size: 9px;
  font-weight: 800;
}

.paper-metric strong {
  display: block;
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.robustness-paper-chart {
  display: grid;
  grid-template-columns: repeat(2, minmax(300px, 1fr));
  gap: 28px;
  overflow-x: auto;
  padding: 4px 0 2px;
}

.robustness-demo-video {
  display: grid;
  gap: 10px;
  margin: 28px 0 22px;
}

.robustness-demo-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  background: #000000;
  object-fit: cover;
}

.robustness-demo-video figcaption {
  color: #333333;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.robustness-metric {
  min-width: 300px;
}

.robustness-metric h4 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.robustness-bars {
  display: grid;
  gap: 7px;
}

.robust-row {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.robust-row > span {
  color: var(--muted-ink);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
  text-align: right;
}

.robust-track {
  position: relative;
  height: 23px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.42);
  border-left: 1px solid rgba(0, 0, 0, 0.42);
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent calc(25% - 1px),
      rgba(0, 0, 0, 0.08) calc(25% - 1px),
      rgba(0, 0, 0, 0.08) 25%
    );
}

.robust-track i {
  position: absolute;
  top: 4px;
  left: 0;
  display: block;
  width: calc(var(--value) * 1%);
  min-width: 3px;
  height: 15px;
  transform-origin: left;
}

.robust-row.edith .robust-track i {
  background: var(--paper-edith);
}

.robust-row.ablation .robust-track i {
  background: var(--paper-ego);
}

.robust-row.distract .robust-track i {
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.72) 0,
      rgba(255, 255, 255, 0.72) 4px,
      transparent 4px,
      transparent 8px
    ),
    currentColor;
}

.robust-row.edith.distract {
  color: var(--paper-edith);
}

.robust-row.ablation.distract {
  color: var(--paper-ego);
}

.robust-track b {
  position: absolute;
  top: 50%;
  left: calc(100% + 5px);
  color: var(--ink);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
  transform: translateY(-50%);
}

.robust-axis {
  display: flex;
  justify-content: space-between;
  margin: 4px 0 0 126px;
  color: var(--ink);
  font-size: 10px;
  line-height: 1;
}

.likert-distribution-chart {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  min-width: 0;
  max-width: 100%;
}

.likert-task {
  min-width: 0;
  max-width: 100%;
}

.likert-task h4 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
  text-align: center;
}

.likert-header,
.likert-question {
  display: grid;
  grid-template-columns: 148px minmax(420px, 1fr) 112px 38px;
  column-gap: 10px;
  align-items: center;
}

.likert-header {
  margin-bottom: 7px;
  color: var(--muted-ink);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.likert-header span:nth-child(2) {
  grid-column: 2;
}

.likert-header span:nth-child(3) {
  grid-column: 3;
}

.likert-question {
  row-gap: 4px;
  margin-bottom: 13px;
}

.likert-question h5 {
  grid-column: 2;
  margin: 0 0 1px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.18;
  text-align: center;
}

.likert-method {
  grid-column: 1;
  color: var(--muted-ink);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-align: right;
  white-space: nowrap;
}

.likert-stack {
  grid-column: 2;
  display: flex;
  min-width: 0;
  height: 24px;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.32);
  border-left: 1px solid rgba(0, 0, 0, 0.32);
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent calc(25% - 1px),
      rgba(0, 0, 0, 0.08) calc(25% - 1px),
      rgba(0, 0, 0, 0.08) 25%
    );
}

.likert-stack i {
  display: grid;
  flex: 0 0 var(--w);
  width: var(--w);
  min-width: 0;
  place-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  overflow: hidden;
  transform-origin: left center;
}

.likert-stack i:last-child {
  border-right: 0;
}

.likert-1 {
  background: #3f78b5;
  color: #fff;
}

.likert-2 {
  background: #77abd6;
}

.likert-3 {
  background: #bed9ea;
}

.likert-4 {
  background: #e6e6e6;
}

.likert-5 {
  background: #f2cf94;
}

.likert-6 {
  background: #f2a75b;
}

.likert-7 {
  background: #df6a35;
  color: #fff;
}

.likert-mean {
  grid-column: 3;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.likert-sig {
  grid-column: 4;
  grid-row: 2 / span 2;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.likert-significance-note {
  margin: 8px 0 16px;
  color: #333333;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
  text-align: right;
}

.likert-count-axis {
  display: flex;
  justify-content: space-between;
  margin: -3px 160px 0 158px;
  color: var(--ink);
  font-size: 10px;
  line-height: 1;
}

.likert-count-axis-title {
  margin: 5px 160px 0 158px;
  color: var(--muted-ink);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
}

.likert-legend {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  justify-content: center;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted-ink);
  font-size: 11px;
  font-weight: 700;
}

.likert-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.likert-legend i {
  width: 14px;
  height: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.js-enabled .robust-track i,
.js-enabled .likert-stack i {
  transform: scaleX(0);
  transition: transform 760ms cubic-bezier(0.2, 0.82, 0.2, 1);
}

.js-enabled .is-visible .robust-track i,
.js-enabled .is-visible .likert-stack i {
  transform: scaleX(1);
}

.bar-group p,
.metric-group p {
  display: grid;
  place-items: start center;
  gap: 3px;
  min-width: 0;
  margin: 0;
  color: var(--muted-ink);
  line-height: 1.2;
  text-align: center;
}

.bar-group p strong,
.metric-group p strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.bar-group p span,
.metric-group p span {
  color: var(--muted-ink);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.bar-group.edith p {
  color: var(--teal-deep);
  font-weight: 950;
}

.bar-group.edith p strong {
  color: var(--teal-deep);
}

.metric-group p strong {
  font-size: 15px;
}

.slope-chart {
  overflow-x: auto;
}

.slope-labels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  min-width: 500px;
  margin-bottom: 8px;
  color: var(--muted-ink);
  font-size: 13px;
  font-weight: 850;
}

.slope-labels span:last-child {
  text-align: right;
}

.slope-chart svg {
  display: block;
  width: 100%;
  min-width: 500px;
  height: auto;
}

.slope-axis {
  stroke: var(--line);
  stroke-width: 2;
}

.slope-line {
  fill: none;
  stroke-width: 5;
  stroke-linecap: round;
}

.slope-line.muffin,
.slope-line.tool {
  stroke: url(#workload-gradient);
}

.slope-line.tool {
  opacity: 0.78;
}

.slope-point.baseline {
  fill: var(--paper-ego);
  stroke: #ffffff;
  stroke-width: 2;
}

.slope-point.edith {
  fill: var(--paper-edith);
  stroke: var(--paper-edith-deep);
  stroke-width: 2;
}

.js-enabled .slope-line {
  stroke-dasharray: 340;
  stroke-dashoffset: 340;
  transition: stroke-dashoffset 900ms cubic-bezier(0.2, 0.82, 0.2, 1);
}

.js-enabled .is-visible .slope-line {
  stroke-dashoffset: 0;
}

.slope-point {
  stroke-width: 0;
}

.js-enabled .slope-point {
  opacity: 0;
  transform: scale(0.5);
  transform-box: fill-box;
  transform-origin: center;
  transition:
    opacity 360ms ease 520ms,
    transform 360ms ease 520ms;
}

.js-enabled .is-visible .slope-point {
  opacity: 1;
  transform: scale(1);
}

.slope-chart text {
  fill: var(--ink);
  font-size: 16px;
  font-weight: 900;
}

.slope-chart .slope-name {
  fill: var(--muted-ink);
  font-size: 14px;
  font-weight: 850;
}

.workload-chart {
  overflow: visible;
}

.secondary-charts > .workload-chart {
  order: 0;
}

.secondary-charts > .user-study-detail-chart {
  grid-column: 1 / -1;
  order: 1;
}

.secondary-charts > .analysis-subsection-heading {
  order: 2;
}

.secondary-charts > .ablation-chart {
  order: 3;
}

.secondary-charts > .robustness-chart {
  order: 4;
}

.secondary-charts > .appendix-chart {
  order: 5;
}

.workload-bar-chart {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 34px;
  padding: 8px 8px 2px;
}

.workload-task {
  min-width: 0;
}

.workload-task h4 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  text-align: center;
}

.workload-bars {
  display: grid;
  gap: 8px;
}

.workload-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: 30px;
}

.workload-track {
  position: relative;
  height: 28px;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  border-left: 1px solid rgba(0, 0, 0, 0.32);
  overflow: visible;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent calc(16.666% - 1px),
      rgba(0, 0, 0, 0.08) calc(16.666% - 1px),
      rgba(0, 0, 0, 0.08) 16.666%
    );
}

.workload-track::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: rgba(0, 0, 0, 0.36);
  content: "";
}

.workload-bar {
  position: absolute;
  top: 5px;
  left: 0;
  z-index: 1;
  width: var(--bar);
  height: 18px;
  border-radius: 0;
  transform-origin: left;
}

.workload-row.baseline .workload-bar {
  background: var(--paper-ego);
}

.workload-row.edith .workload-bar {
  background: var(--paper-edith);
}

.workload-value {
  position: absolute;
  top: 50%;
  z-index: 3;
  left: var(--value-left);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  transform: translate(7px, -50%);
}

.workload-track i {
  position: absolute;
  top: 50%;
  left: var(--bar);
  z-index: 2;
  width: var(--err-width);
  height: 1.5px;
  background: #111111;
  transform: translate(-50%, -50%);
}

.workload-track i::before,
.workload-track i::after {
  position: absolute;
  top: 50%;
  width: 1px;
  height: 7px;
  background: #111111;
  content: "";
  transform: translateY(-50%);
}

.workload-track i::before {
  left: 0;
}

.workload-track i::after {
  right: 0;
}

.workload-task-axis {
  display: flex;
  justify-content: space-between;
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 12px;
  line-height: 1;
}

.workload-axis-title {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 760;
  line-height: 1.25;
  text-align: center;
}

.workload-axis-title span {
  font-weight: 650;
}

.workload-legend {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  margin-top: 4px;
  color: var(--muted-ink);
  font-size: 13px;
  font-weight: 750;
}

.workload-legend span {
  position: relative;
  padding-left: 22px;
}

.workload-legend span::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 14px;
  height: 10px;
  content: "";
  transform: translateY(-50%);
}

.workload-legend .baseline::before {
  background: var(--paper-ego);
}

.workload-legend .edith::before {
  background: var(--paper-edith);
}

.workload-results-copy {
  display: grid;
  gap: 12px;
  max-width: 1080px;
  margin: 18px 8px 0;
}

.workload-results-copy p {
  margin: 0;
  color: #333333;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.58;
}

.user-study-participants {
  display: grid;
  gap: 14px;
  margin: 4px 0 28px;
}

.user-study-participants-copy {
  text-align: left;
}

.user-study-participants-copy strong {
  color: #111111;
  font-size: 17px;
  font-weight: 850;
  line-height: 1.2;
}

.user-study-participants-copy span {
  display: block;
  color: #333333;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

.user-study-carousel-viewport {
  --participant-gap: 14px;
  overflow: hidden;
}

.user-study-carousel-track {
  display: flex;
  gap: var(--participant-gap);
  will-change: transform;
}

.user-study-participant {
  flex: 0 0 calc((100% - (var(--participant-gap) * 3)) / 4);
  min-width: 0;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eeeeee;
}

.user-study-participant img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.workload-detail-actions {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.detail-toggle-button {
  min-height: 40px;
  padding: 0 18px;
}

.js-enabled .workload-bar {
  transform: scaleX(0);
  transition: transform 760ms cubic-bezier(0.2, 0.82, 0.2, 1);
}

.js-enabled .workload-row.edith .workload-bar {
  transition-delay: 160ms;
}

.js-enabled .is-visible .workload-bar {
  transform: scaleX(1);
}

.js-enabled .workload-track i,
.js-enabled .workload-value {
  opacity: 0;
  transition: opacity 360ms ease 520ms;
}

.js-enabled .is-visible .workload-track i,
.js-enabled .is-visible .workload-value {
  opacity: 1;
}

.mini-chart-list {
  display: grid;
  gap: 16px;
}

.mini-chart-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.85fr) minmax(160px, 1fr) 58px;
  gap: 14px;
  align-items: center;
}

.mini-chart-row strong,
.mini-chart-row span,
.mini-chart-row b {
  display: block;
}

.mini-chart-row strong {
  color: var(--ink);
  line-height: 1.2;
}

.mini-chart-row span {
  color: var(--muted-ink);
  font-size: 13px;
  font-weight: 760;
}

.mini-chart-row b {
  color: var(--ink);
  font-size: 16px;
  text-align: right;
}

.mini-bar {
  height: 20px;
  border-radius: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent calc(20% - 1px),
      rgba(0, 0, 0, 0.08) calc(20% - 1px),
      rgba(0, 0, 0, 0.08) 20%
    ),
    #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.34);
  overflow: hidden;
}

.mini-bar span {
  width: calc(var(--value) * 1%);
  min-width: 6px;
  height: 100%;
  border-radius: 0;
  background: linear-gradient(90deg, var(--paper-ego), #ffd18c);
}

.mini-chart-row.calm .mini-bar span {
  background: linear-gradient(90deg, var(--paper-edith), #d6e8f4);
}

.mini-chart-row.baseline .mini-bar span {
  background: linear-gradient(90deg, var(--paper-ego), #ffd18c);
}

.js-enabled .mini-bar span {
  width: 0;
  transition: width 760ms cubic-bezier(0.2, 0.82, 0.2, 1);
  transition-delay: 180ms;
}

.js-enabled .is-visible .mini-bar span {
  width: calc(var(--value) * 1%);
}

.results-layout {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  margin-top: 18px;
}

.result-panel {
  padding: 26px;
}

.results-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 15px;
}

.results-table th,
.results-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: right;
}

.results-table th:first-child,
.results-table td:first-child {
  text-align: left;
}

.results-table th {
  color: var(--muted-ink);
  background: var(--paper);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.results-table tr:last-child td {
  border-bottom: 0;
}

.results-table .is-highlighted td {
  color: var(--teal-deep);
  background: var(--surface-strong);
  font-weight: 900;
}

.workload-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 18px 0;
}

.workload-item {
  min-height: 128px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.workload-item span,
.workload-item strong {
  display: block;
}

.workload-item span {
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.workload-item strong {
  margin: 10px 0 6px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.1;
}

.workload-item p {
  margin: 0;
  font-size: 14px;
}

.analysis-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

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

.resource-section .resource-list {
  grid-template-columns: minmax(220px, 320px);
  justify-content: center;
}

.resource-list a {
  min-height: 132px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  text-decoration: none;
}

.resource-list span,
.resource-list strong {
  display: block;
}

.resource-list span {
  margin-bottom: 28px;
  color: var(--muted-ink);
  font-size: 14px;
  font-weight: 750;
}

.resource-list strong {
  color: var(--teal);
  font-size: 18px;
}

.citation-box {
  min-width: 0;
}

pre {
  overflow: auto;
  margin: 0 0 14px;
  padding: 22px;
  border: 1px solid rgba(32, 33, 36, 0.12);
  border-radius: var(--radius);
  background: #202124;
  color: #f8faf7;
  font-size: 14px;
  line-height: 1.6;
}

.copy-button {
  color: #ffffff;
  background: var(--ink);
}

.copy-button:hover {
  background: var(--teal-deep);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 32px;
  border-top: 1px solid var(--line);
  color: var(--muted-ink);
  background: var(--surface);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer .footer-credit {
  flex-basis: 100%;
  color: #777777;
  font-size: 12px;
  text-align: right;
}

.site-footer .footer-credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 980px) {
  .hero,
  .demo-stage,
  .method-layout,
  .animated-results,
  .secondary-charts,
  .likert-distribution-chart,
  .results-layout {
    grid-template-columns: 1fr;
  }

  .hero-content,
  .hero-player {
    justify-self: start;
    width: min(100%, 720px);
  }

  .hero-player {
    aspect-ratio: 16 / 9;
  }

  .demo-viewer {
    grid-template-columns: 1fr;
  }

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

  .demo-tab {
    min-height: 80px;
  }
}

@media (max-width: 860px) {
  .site-header {
    min-height: 64px;
    padding: 16px 20px;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 56px 22px 70px;
  }

  h1 {
    font-size: 58px;
  }

  h2 {
    font-size: 30px;
  }

  .overview-caption-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .section,
  .summary-band {
    padding: 64px 22px;
  }

  .summary-grid,
  .split,
  .quick-facts,
  .contribution-grid,
  .task-grid,
  .result-summary-grid,
  .analysis-grid,
  .workload-grid,
  .comparison-videos,
  .demo-grid,
  .resource-list {
    grid-template-columns: 1fr;
  }

  .summary-grid,
  .split {
    gap: 30px;
  }

  .video-shell {
    min-height: 280px;
  }

  .demo-card {
    min-height: 260px;
  }

  .method-node.is-active {
    transform: none;
  }

  .chart-panel,
  .result-narrative {
    padding: 22px;
  }

  .chart-header {
    display: grid;
  }

  .user-study-participant {
    flex-basis: calc((100% - var(--participant-gap)) / 2);
  }

  .task-carousel-heading {
    display: grid;
  }

  .task-carousel-heading p:last-child {
    width: 100%;
    text-align: left;
  }

  .task-carousel-viewport {
    width: 100vw;
    max-width: none;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    padding: 6px 0 24px;
    overflow: hidden;
  }

  .task-slide-track {
    display: flex;
    width: auto;
    max-width: none;
    padding-inline: 22px;
  }

  .task-slide {
    flex-basis: calc(100vw - 44px);
    width: auto;
    max-width: 100%;
    padding: 12px;
    opacity: 1;
    transform: none;
  }

  .comparison-label {
    display: grid;
    min-height: auto;
  }

  .comparison-label strong {
    text-align: left;
  }

  .likert-task {
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .likert-header,
  .likert-question {
    min-width: 748px;
  }
}

@media (max-width: 560px) {
  .hero-actions,
  .demo-rail,
  .method-controls {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .carousel-controls {
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 36px;
  }

  .carousel-arrow {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
  }

  .carousel-arrow span {
    font-size: 36px;
  }

  .task-dots {
    order: -1;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .task-dots button {
    width: 100%;
    min-width: 0;
    min-height: 34px;
    padding: 0 6px;
    font-size: 0;
    white-space: nowrap;
  }

  .task-dots button::after {
    content: attr(data-short);
    font-size: 13px;
    font-weight: 850;
    line-height: 1;
  }

  .hero-player-overlay {
    display: grid;
  }

  .bar-chart {
    grid-template-columns: 34px minmax(620px, 1fr);
    overflow-x: auto;
  }

  .chart-plot {
    min-width: 620px;
  }

  .likert-distribution-chart {
    grid-template-columns: minmax(0, 1fr);
  }

  .likert-header,
  .likert-question {
    min-width: 748px;
  }

  .likert-legend {
    justify-content: flex-start;
  }

  .mini-chart-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .mini-chart-row b {
    text-align: left;
  }

  .demo-caption,
  .method-copy {
    padding: 22px;
  }

  h1 {
    font-size: 46px;
  }
}

/* Classic research project page treatment inspired by RT-2-style pages. */
.classic-project-page {
  --paper: #ffffff;
  --surface: #ffffff;
  --surface-strong: #f7f7f7;
  --line: #d8d8d8;
  --muted-ink: #555555;
  --teal: #0b6a77;
  --teal-deep: #174554;
  background: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
}

.classic-project-page main {
  display: flex;
  flex-direction: column;
}

.classic-project-page .hero {
  order: 0;
}

.classic-project-page #overview {
  order: 1;
}

.classic-project-page #method {
  order: 2;
}

.classic-project-page #demos {
  order: 3;
}

.classic-project-page #results {
  order: 4;
}

.classic-project-page #resources {
  order: 5;
}

.classic-project-page #citation {
  order: 6;
}

.classic-project-page .site-header {
  position: sticky;
  min-height: 54px;
  padding: 0 28px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: none;
}

.classic-project-page .brand {
  font-size: 15px;
  letter-spacing: 0;
}

.classic-project-page .brand-mark {
  width: 14px;
  height: 14px;
  border-width: 2px;
}

.classic-project-page .site-nav {
  gap: 18px;
  font-size: 13px;
  font-weight: 700;
}

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

.classic-project-page .hero {
  display: block;
  min-height: 100svh;
  padding: 0;
  background: #000000;
}

.classic-project-page .hero-bg {
  display: none;
}

.classic-project-page .hero::before {
  z-index: 1;
  background: rgba(0, 0, 0, 0.24);
}

.classic-project-page .hero-player {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  border: 0;
  border-radius: 0;
  background: #000000;
  box-shadow: none;
}

.classic-project-page .hero-player video {
  object-fit: cover;
  object-position: center bottom;
}

.classic-project-page .hero-player-overlay {
  display: none;
}

.classic-project-page .hero-content {
  position: absolute;
  right: 0;
  bottom: clamp(130px, 15vh, 190px);
  left: auto;
  z-index: 2;
  width: 65vw;
  max-width: none;
  padding: 24px clamp(34px, 4vw, 58px) 26px 34px;
  background: rgba(0, 0, 0, 0.46);
}

.classic-project-page .hero-content p,
.classic-project-page .hero-subtitle {
  color: rgba(255, 255, 255, 0.92);
}

.classic-project-page .hero .eyebrow {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  text-transform: none;
}

.classic-project-page .hero h1 {
  max-width: none;
  margin: 0 0 4px;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.02;
  text-shadow: none;
}

.classic-project-page .hero-subtitle {
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(17px, 1.8vw, 23px);
  line-height: 1.35;
  text-shadow: none;
}

.classic-project-page .hero-actions {
  display: none;
}

.classic-project-page .button {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 700;
}

.classic-project-page .button.primary,
.classic-project-page .button.secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.08);
}

.classic-project-page .button:hover {
  transform: none;
  background: rgba(255, 255, 255, 0.18);
}

.classic-project-page .section,
.classic-project-page .summary-band {
  padding: 58px 24px;
}

.classic-project-page .section-inner {
  width: min(960px, 100%);
}

.classic-project-page #method .section-inner,
.classic-project-page #results .section-inner {
  width: min(1040px, 100%);
}

.classic-project-page #demos .section-inner {
  width: min(1360px, 100%);
}

.classic-project-page .paper-title-block {
  padding: 18px 0 46px;
  text-align: center;
}

.classic-project-page .paper-title-block h1 {
  max-width: none;
  margin: 0 auto 8px;
  color: #111111;
  font-size: clamp(54px, 8vw, 92px);
  line-height: 1;
  text-shadow: none;
}

.classic-project-page .paper-title-block h2 {
  width: min(920px, 100%);
  margin: 0 auto 18px;
  color: #222222;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 500;
  line-height: 1.22;
}

.classic-project-page .paper-authors,
.classic-project-page .paper-contribution-note,
.classic-project-page .paper-affiliations,
.classic-project-page .paper-venue {
  margin: 0;
  color: #333333;
  font-size: 17px;
  line-height: 1.45;
}

.classic-project-page .paper-authors a {
  color: #111111;
  text-decoration: none;
}

.classic-project-page .paper-authors a:hover {
  text-decoration: underline;
}

.classic-project-page .paper-authors sup,
.classic-project-page .paper-affiliations sup {
  margin-left: 1px;
  font-size: 0.68em;
  line-height: 0;
}

.classic-project-page .paper-contribution-note {
  margin-top: 3px;
  color: #555555;
  font-size: 14px;
}

.classic-project-page .paper-affiliations {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  margin-top: 6px;
  color: #555555;
  font-size: 15px;
}

.classic-project-page .paper-venue {
  margin-top: 8px;
  color: var(--muted-ink);
  font-style: italic;
}

.classic-project-page .paper-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}

.classic-project-page .paper-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 92px;
  padding: 10px 14px;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  color: #222222;
  background: #f8f8f8;
  font-weight: 700;
  text-decoration: none;
}

.classic-project-page .paper-links a:hover {
  background: #eeeeee;
}

.classic-project-page .paper-links a .gh-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.classic-project-page .paper-links a.is-disabled {
  color: #8a8a8a;
  background: #f2f2f2;
  cursor: not-allowed;
  pointer-events: none;
}

.classic-project-page .paper-links a.is-disabled .link-soon {
  font-weight: 600;
  font-size: 0.82em;
  color: #9a9a9a;
}

.classic-project-page .summary-grid,
.classic-project-page .split {
  grid-template-columns: 1fr;
  gap: 24px;
}

.classic-project-page .intro-video-block,
.classic-project-page .summary-grid {
  width: min(1040px, 100%);
}

.classic-project-page .intro-video-block {
  margin-bottom: 44px;
}

.classic-project-page .intro-video-block video {
  border-radius: 4px;
  box-shadow: none;
}

.classic-project-page .approach-overview {
  margin-top: 20px;
  padding-top: 24px;
  border-top: 1px solid #dddddd;
}

.classic-project-page .approach-overview figure {
  margin-top: 22px;
  border: 0;
  box-shadow: none;
  overflow-x: auto;
}

.classic-project-page .overview-figure-frame img {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: #ffffff;
  box-shadow: none;
}

.classic-project-page .section-heading {
  width: min(820px, 100%);
  margin: 0 auto 26px;
  text-align: center;
}

.classic-project-page .section-heading.wide {
  width: min(920px, 100%);
}

.classic-project-page .method-section .section-heading {
  width: min(1040px, 100%);
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}

.classic-project-page .demo-section .section-heading {
  width: min(1040px, 100%);
  margin-right: auto;
  margin-left: auto;
  text-align: left;
}

.classic-project-page .demo-section .task-carousel-heading {
  width: min(1040px, 100%);
  margin-right: auto;
  margin-left: auto;
  justify-content: center;
  text-align: center;
}

.classic-project-page .result-section .section-heading {
  width: min(1040px, 100%);
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}

.classic-project-page .section-kicker,
.classic-project-page .eyebrow {
  color: #444444;
  font-size: 14px;
  font-weight: 700;
  text-transform: none;
}

.classic-project-page h2 {
  color: #111111;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.2;
}

.classic-project-page .section-lede {
  color: #333333;
  font-size: 18px;
  font-weight: 500;
}

.classic-project-page h3 {
  color: #111111;
}

.classic-project-page p {
  color: #222222;
}

.classic-project-page .summary-grid article p,
.classic-project-page .section-heading p,
.classic-project-page .method-copy p,
.classic-project-page .method-copy li,
.classic-project-page .task-card p,
.classic-project-page .chart-panel p,
.classic-project-page .demo-caption p,
.classic-project-page .citation-section p {
  color: #333333;
}

.classic-project-page .quick-facts,
.classic-project-page .contribution-grid,
.classic-project-page .task-grid,
.classic-project-page .resource-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.classic-project-page .quick-facts {
  margin-top: 26px;
}

.classic-project-page .quick-facts div,
.classic-project-page .contribution-grid article,
.classic-project-page .task-card,
.classic-project-page .chart-panel,
.classic-project-page .result-narrative,
.classic-project-page .result-panel,
.classic-project-page .analysis-grid article,
.classic-project-page .resource-list a,
.classic-project-page .demo-stage,
.classic-project-page .method-panel {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.classic-project-page .quick-facts div,
.classic-project-page .contribution-grid article,
.classic-project-page .task-card {
  padding: 0 18px;
  border-left: 1px solid #dddddd;
}

.classic-project-page .quick-facts div:first-child,
.classic-project-page .contribution-grid article:first-child,
.classic-project-page .task-card:first-child {
  border-left: 0;
}

.classic-project-page .quick-facts dt,
.classic-project-page .contribution-grid span,
.classic-project-page .metric-label,
.classic-project-page .task-meta span {
  color: #333333;
}

.classic-project-page .contribution-grid {
  margin-top: 38px;
}

.classic-project-page .method-section,
.classic-project-page .result-section,
.classic-project-page .resource-section {
  background: #ffffff;
}

.classic-project-page .demo-section {
  background: #ffffff;
}

.classic-project-page .architecture-scroll {
  margin: 10px auto 28px;
  padding: 12px 0;
  border-top: 1px solid #dddddd;
  border-bottom: 1px solid #dddddd;
  height: 405px;
  overflow: hidden;
}

.classic-project-page .architecture-canvas {
  left: 50%;
  transform: translateX(-50%) scale(0.88);
  transform-origin: top center;
  margin: 0;
}

.classic-project-page .method-panel {
  border-top: 1px solid #dddddd;
  border-bottom: 1px solid #dddddd;
}

.classic-project-page .method-tab {
  background: #ffffff;
}

.classic-project-page .method-tab.is-active {
  border-color: #cccccc;
  background: #f1f1f1;
  box-shadow: none;
}

.classic-project-page .task-card {
  min-height: auto;
}

.classic-project-page .task-card-figure {
  margin-bottom: 20px;
}

.classic-project-page .task-card-figure img {
  border-radius: 0;
}

.classic-project-page .task-meta span {
  border: 1px solid #cccccc;
  border-radius: 4px;
  background: #ffffff;
}

.classic-project-page .animated-results,
.classic-project-page .secondary-charts {
  grid-template-columns: 1fr;
  gap: 28px;
}

.classic-project-page .result-narrative {
  display: grid;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid #dddddd;
  color: #111111;
  background: transparent;
}

.classic-project-page .result-narrative > span {
  color: #111111;
  font-size: clamp(30px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.12;
  text-transform: none;
}

.classic-project-page .result-narrative h3 {
  margin: 0;
  color: #333333;
  font-size: 18px;
  font-weight: 550;
  line-height: 1.35;
}

.classic-project-page .result-narrative p {
  color: #333333;
  font-size: 16px;
  line-height: 1.6;
}

.classic-project-page .result-narrative dl {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.classic-project-page .result-narrative dl div {
  padding: 0;
  border: 0;
  background: transparent;
}

.classic-project-page .result-narrative dt {
  color: #111111;
  font-size: 30px;
}

.classic-project-page .result-narrative dd {
  color: #555555;
}

.classic-project-page .chart-panel {
  padding: 22px 0;
  border-top: 1px solid #dddddd;
}

.classic-project-page .chart-header {
  align-items: flex-start;
}

.classic-project-page .result-section .chart-header > div:not(.chart-legend) > span,
.classic-project-page .result-section .user-study-title-row > span {
  color: #111111;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 800;
  line-height: 1.12;
  text-transform: none;
}

.classic-project-page .result-section .performance-chart .chart-header > div:not(.chart-legend) > span {
  font-size: clamp(30px, 3vw, 38px);
}

.classic-project-page .result-section .analysis-chart .chart-header > div:not(.chart-legend) > span {
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.18;
}

.classic-project-page .chart-header h3 {
  color: #333333;
  font-size: 16px;
  font-weight: 550;
  line-height: 1.35;
}

.classic-project-page .result-section .performance-chart .chart-header h3 {
  font-size: 18px;
}

.classic-project-page .bar-chart {
  grid-template-columns: 42px minmax(0, 1fr);
}

.classic-project-page .chart-plot {
  min-height: 320px;
}

.classic-project-page .demo-viewer {
  grid-template-columns: 1fr;
}

.classic-project-page .demo-rail {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.classic-project-page .demo-tab {
  min-height: 76px;
  border-radius: 0;
}

.classic-project-page .demo-tab.is-active {
  border-color: #999999;
  background: #eeeeee;
  box-shadow: none;
}

.classic-project-page .video-shell {
  min-height: 0;
}

.classic-project-page .demo-stage {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  border: 1px solid #dddddd;
  background: #ffffff;
}

.classic-project-page .demo-card {
  border-radius: 0;
}

.classic-project-page .resource-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.classic-project-page .resource-section .resource-list {
  grid-template-columns: minmax(220px, 320px);
  justify-content: center;
}

.classic-project-page .resource-list a {
  min-height: 92px;
  padding: 16px;
  border: 1px solid #dddddd;
  text-align: center;
}

.classic-project-page .resource-list span {
  margin-bottom: 12px;
}

.classic-project-page .citation-section {
  background: #ffffff;
}

@media (max-width: 1280px) {
  .classic-project-page .hero {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: auto;
    overflow: visible;
  }

  .classic-project-page .hero::before {
    display: none;
  }

  .classic-project-page .hero-player {
    position: relative;
    inset: auto;
    order: 1;
    aspect-ratio: 16 / 9;
    height: auto;
    overflow: hidden;
  }

  .classic-project-page .hero-player video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
  }

  .classic-project-page .hero-content {
    display: none;
    position: relative;
    order: 2;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    padding: 24px clamp(24px, 4vw, 42px) 30px;
    background: #000000;
  }
}

@media (max-width: 980px) {
  .classic-project-page .architecture-canvas {
    left: auto;
    transform: none;
    margin: 0 auto;
  }

  .classic-project-page .architecture-scroll {
    height: auto;
    overflow-x: auto;
  }

  .classic-project-page .demo-stage {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  html,
  body.classic-project-page {
    max-width: 100%;
    overflow-x: hidden;
  }

  .classic-project-page .site-nav {
    display: none;
  }

  .classic-project-page .hero {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: auto;
    overflow: visible;
  }

  .classic-project-page .hero::before {
    display: none;
  }

  .classic-project-page .hero-player {
    position: relative;
    inset: auto;
    order: 1;
    aspect-ratio: 16 / 9;
    height: auto;
    overflow: hidden;
  }

  .classic-project-page .hero-player video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
  }

  .classic-project-page .hero-content {
    position: relative;
    order: 2;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    padding: 22px 24px 28px;
  }

  .classic-project-page #overview {
    padding-top: 0;
  }

  .classic-project-page .paper-title-block {
    width: 100vw;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    padding: 38px 22px 42px;
    background: #ffffff;
  }

  .classic-project-page .paper-title-block h1 {
    font-size: clamp(40px, 12vw, 62px);
  }

  .classic-project-page .paper-title-block h2 {
    font-size: clamp(18px, 5vw, 24px);
  }

  .classic-project-page .paper-authors {
    font-size: 14px;
  }

  .classic-project-page .quick-facts,
  .classic-project-page .contribution-grid,
  .classic-project-page .task-grid,
  .classic-project-page .resource-list,
  .classic-project-page .demo-rail {
    grid-template-columns: 1fr;
  }

  .classic-project-page .demo-section .task-grid {
    display: flex;
    gap: 16px;
    width: 100%;
    padding: 0 0 10px;
    overflow-x: auto;
    scroll-padding-inline: 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .classic-project-page .demo-section .task-grid::-webkit-scrollbar {
    display: none;
  }

  .classic-project-page .demo-section .task-card {
    flex: 0 0 min(72vw, 276px);
    padding: 0;
    border-top: 0;
    border-left: 0;
    scroll-snap-align: center;
  }

  .classic-project-page .demo-section .task-card-figure {
    margin-bottom: 14px;
  }

  .classic-project-page .demo-section .task-card-figure img {
    aspect-ratio: 4 / 3;
  }

  .classic-project-page .demo-section .task-scroll-cue {
    display: flex;
    justify-content: center;
    margin: -2px 0 26px;
  }

  .classic-project-page .demo-section .task-scroll-cue.is-hidden {
    display: none;
  }

  .classic-project-page .demo-section .task-scroll-cue span {
    position: relative;
    display: block;
    width: 78px;
    height: 4px;
    border-radius: 999px;
    background: #d8d8d8;
    overflow: hidden;
  }

  .classic-project-page .demo-section .task-scroll-cue span::after {
    position: absolute;
    top: 0;
    left: 0;
    width: var(--task-scroll-thumb-width, 30px);
    height: 100%;
    border-radius: inherit;
    background: #111111;
    content: "";
    transform: translateX(var(--task-scroll-thumb-x, 0));
  }

  .classic-project-page #results .result-scroll-surface,
  .classic-project-page .detail-results-modal-body .result-scroll-surface {
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
  }

  .classic-project-page #results .result-scroll-surface::-webkit-scrollbar,
  .classic-project-page .detail-results-modal-body .result-scroll-surface::-webkit-scrollbar {
    display: none;
  }

  .classic-project-page #results .result-scroll-cue,
  .classic-project-page .detail-results-modal-body .result-scroll-cue {
    display: flex;
    justify-content: center;
    margin: 10px 0 24px;
  }

  .classic-project-page #results .result-scroll-cue.is-hidden,
  .classic-project-page .detail-results-modal-body .result-scroll-cue.is-hidden {
    display: none;
  }

  .classic-project-page #results .result-scroll-cue span,
  .classic-project-page .detail-results-modal-body .result-scroll-cue span {
    position: relative;
    display: block;
    width: 78px;
    height: 4px;
    border-radius: 999px;
    background: #d8d8d8;
    overflow: hidden;
  }

  .classic-project-page #results .result-scroll-cue span::after,
  .classic-project-page .detail-results-modal-body .result-scroll-cue span::after {
    position: absolute;
    top: 0;
    left: 0;
    width: var(--result-scroll-thumb-width, 30px);
    height: 100%;
    border-radius: inherit;
    background: #111111;
    content: "";
    transform: translateX(var(--result-scroll-thumb-x, 0));
  }

  .classic-project-page .workload-bar-chart {
    grid-template-columns: 1fr;
    gap: 24px;
    overflow-x: auto;
  }

  .classic-project-page .workload-task {
    min-width: 420px;
  }

  .classic-project-page .quick-facts div,
  .classic-project-page .contribution-grid article,
  .classic-project-page .task-card {
    padding: 18px 0;
    border-top: 1px solid #dddddd;
    border-left: 0;
  }

  .classic-project-page .quick-facts div:first-child,
  .classic-project-page .contribution-grid article:first-child,
  .classic-project-page .task-card:first-child {
    border-top: 0;
  }
}
