:root {
  --bg: #050706;
  --raised: #0b0e0c;
  --text: #f3f4ef;
  --muted: #a8ada6;
  --line: rgba(243, 244, 239, .16);
  --lime: #b7ff22;
  --orange: #f0a33d;
  --purple: #bca0d2;
  --blue: #4a91cc;
  --green: #43b778;
  --max: clamp(940px, 72vw, 1480px);
  --serif: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: Inter, "Segoe UI", Arial, "Noto Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--sans);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
::selection { color: #fff; background: #666a67; }
::-moz-selection { color: #fff; background: #666a67; }
a { color: inherit; text-decoration: none; }
button, video { font: inherit; }
button { color: inherit; }
img { display: block; width: 100%; }
.shell { width: min(calc(100% - 24px), var(--max)); margin-inline: auto; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  border-bottom: 1px solid transparent;
  transition: background .25s, border-color .25s;
}
.site-header.scrolled {
  border-color: var(--line);
  background: rgba(5, 7, 6, .97);
  backdrop-filter: none;
}
.nav {
  width: 78.4%;
  max-width: none;
  min-height: 70px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.nav-brand { color: var(--lime); font: 700 22px/1 var(--serif); }
.nav-links { display: flex; align-items: center; justify-content: center; gap: 36px; color: #c7cbc4; font-size: 17px; }
.nav-section-link {
  position: relative;
  padding: 25px 0 20px;
  transition: color .2s;
}
.nav-section-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 15px;
  left: 0;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}
.nav-section-link:hover,
.nav-section-link.is-active { color: var(--lime); }
.nav-section-link.is-active::after { transform: scaleX(1); }
.nav-balance { min-width: 1px; }

.hero {
  position: relative;
  height: min(100svh, 56.25vw);
  min-height: 720px;
  overflow: hidden;
  background: #020403;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(2, 6, 7, 1) 0%,
    rgba(0, 4, 5, .1) 96%
  );
}
.hero-copy {
  position: relative;
  z-index: 2;
  width: 78.4%;
  max-width: none;
  padding-top: 10vw;
}
.project-name {
  margin: 0;
  color: var(--lime);
  font: 700 6vw/.96 var(--serif);
  letter-spacing: -.025em;
}
.paper-title {
  margin: 2.2vw 0 0;
  color: #f1f1ed;
  font: 700 3.4vw/1.35 var(--serif);
  letter-spacing: -.021em;
}
.paper-title span { display: block; white-space: nowrap; }
.author-block { width: 72vw; margin-top: 2.25vw; }
.authors { margin: 0; color: #eef0e9; font-size: 19px; line-height: 1.55; }
.author-entry { display: inline; white-space: nowrap; }
.author-link { text-underline-offset: .16em; }
.author-link:hover,
.author-link:focus-visible { color: #fff; outline: 0; text-decoration: underline; }
.authors sup { margin-left: 2px; font-size: .72em; line-height: 0; vertical-align: super; }
.author-notes {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  margin: 6px 0 0;
  color: #c7cbc4;
  font-size: 14px;
  line-height: 1.4;
  text-align: left;
}
.author-notes sup { font-size: .9em; }
.affiliations { margin: 9px 0 0; color: #a2a8a0; font-size: 15px; }
.affiliations span { display: block; }
.affiliations .affiliation-inline { display: inline-block; margin-right: 12px; }
.affiliations .affiliation-inline:last-child { margin-right: 0; }

.hero-resources { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.resource-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  color: #f3f4ef;
  border: 1px solid rgba(243, 244, 239, .2);
  border-radius: 999px;
  background: rgba(243, 244, 239, .14);
  font-size: 16px;
  font-weight: 600;
  transition: color .2s, border-color .2s, background .2s, transform .2s;
}
.resource-link:hover,
.resource-link:focus-visible {
  color: #fff;
  border-color: #666c68;
  background: #363a37;
  outline: 0;
  transform: translateY(-1px);
}
.resource-icon {
  width: 17px;
  min-width: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05em;
  line-height: 1;
}
.resource-icon .fas,
.resource-icon .fa { font-family: "Font Awesome 5 Free"; font-weight: 900; }
.resource-icon .fab { font-family: "Font Awesome 5 Brands"; font-weight: 400; }
.resource-icon svg { display: block; width: 1em; height: 1em; fill: currentColor; }

/* Keep the hero details in proportion with the fluid heading on large displays. */
@media (min-width: 1600px) {
  .authors { font-size: clamp(19px, 1.16vw, 30px); }
  .author-notes {
    gap: clamp(24px, 1.45vw, 38px);
    margin-top: clamp(6px, .4vw, 10px);
    font-size: clamp(14px, .82vw, 21px);
  }
  .affiliations {
    margin-top: clamp(9px, .55vw, 14px);
    font-size: clamp(15px, .88vw, 23px);
  }
  .affiliations .affiliation-inline { margin-right: clamp(12px, .75vw, 19px); }
  .hero-resources {
    gap: clamp(8px, .65vw, 17px);
    margin-top: clamp(22px, 1.1vw, 28px);
  }
  .resource-link {
    min-height: clamp(44px, 3.2vw, 72px);
    gap: clamp(8px, .55vw, 14px);
    padding-inline: clamp(18px, 1.3vw, 34px);
    font-size: clamp(16px, .92vw, 24px);
  }
  .resource-icon {
    width: clamp(17px, 1vw, 26px);
    min-width: clamp(17px, 1vw, 26px);
  }
}
.resource-link.is-pending { cursor: default; }

.section { padding: 75px 0; background: var(--bg); }
.section-alt { background: var(--raised); }
#experiments { background: var(--raised); }
.section-rule { padding-top: 30px; border-top: 1px solid var(--line); }
.section-label {
  display: block;
  margin-bottom: 20px;
  text-align: center;
  color: var(--lime);
  font-family: var(--sans);
  font-size: 22px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: .1em;
}
.section-title {
  width: 100%;
  max-width: none;
  margin: 0;
  font: 400 18px/1.55 var(--sans);
  letter-spacing: 0;
}
.section-intro { width: 100%; max-width: none; margin: 24px 0 0; color: #c8cbc5; font-size: 18px; }
.experiment-intro-term { font-style: italic; font-weight: 400; }
.experiment-intro-term.is-base { color: #70d69a; }
.experiment-intro-term.is-spatial { color: #f0cd59; }
.experiment-intro-term.is-cognitive { color: #bca0d2; }
.experiment-intro-term.is-temporal { color: #69b8e7; }
.experiment-intro-term.is-composability { color: #f4a04d; }
.experiment-intro-term.is-extensibility { color: #58c8cc; }

.video-heading {
  width: 100%;
  margin-bottom: 44px;
}
.video-note { width: 100%; max-width: none; margin: 24px 0 0; color: var(--muted); font-size: 16px; }
.video-frame { position: relative; overflow: hidden; border: 0; background: #000; }
.video-frame video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.video-frame iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; }
.video-frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; opacity: .7; }

/* Native fullscreen must preserve the complete source frame, even when a
   compact on-page video card intentionally uses object-fit: cover. */
video:fullscreen {
  width: 100vw !important;
  height: 100vh !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: #000 !important;
}
video:-webkit-full-screen {
  width: 100vw !important;
  height: 100vh !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: #000 !important;
}

.abstract-flow { display: block; }
.abstract-body {
  width: 100%;
  max-width: none;
  margin: 34px 0 0;
  color: #e2e4de;
  font: 400 18px/1.55 var(--sans);
}
.abstract-body + .abstract-body {
  margin-top: 22px;
  color: #bfc3bc;
  font-size: 18px;
}

.method-summary-figure {
  width: 100%;
  margin: 30px auto 0;
  overflow: hidden;
}

.method-summary-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.method-component-copy {
  width: 100%;
  margin: 30px 0 0;
  color: #c8cbc5;
  font-size: 18px;
  line-height: 1.58;
}
.method-component-copy p { margin: 0; }
.method-component-copy p + p { margin-top: 16px; }
.method-component-copy .method-term {
  font-style: italic;
  font-weight: 700;
}
.method-component-copy .method-term-interface { color: #d79a73; }
.method-component-copy .method-term-policy { color: #58c98b; }
.method-component-copy .method-term-priors {
  color: transparent;
  background: linear-gradient(90deg, #f0cd59 0%, #f0cd59 30%, #bca0d2 50%, #69b8e7 72%, #69b8e7 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.method-component-copy .method-prior-term {
  font-style: italic;
  font-weight: 400;
}
.method-component-copy .method-prior-term.is-spatial { color: #f0cd59; }
.method-component-copy .method-prior-term.is-cognitive { color: #bca0d2; }
.method-component-copy .method-prior-term.is-temporal { color: #69b8e7; }
.method-component-copy sub { font-size: .72em; }

.method-figure {
  width: 90%;
  aspect-ratio: 5953 / 3512;
  margin: 32px auto 0;
  overflow: hidden;
  border: 0;
  background: transparent;
}

.method-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.experiment-board-scroll {
  width: 100%;
  overflow: hidden;
}
.experiment-board {
  width: 100%;
  max-width: none;
  container-type: inline-size;
  margin: 15px auto 0;
  padding: 14px 0 22px;
  border: 0;
  background: var(--raised);
}
.experiment-group { width: 100%; min-width: 0; }
.experiment-group + .experiment-group { margin-top: clamp(12px, 1.73cqi, 18px); }
.group-label {
  width: max-content;
  max-width: 100%;
  margin: 0 0 clamp(6px, .77cqi, 8px);
  padding-bottom: clamp(3px, .38cqi, 4px);
  border-bottom: 3px solid currentColor;
  font: 700 clamp(14px, 1.73cqi, 18px)/1 var(--sans);
  letter-spacing: .07em;
  text-transform: uppercase;
}
.group-base .group-label { color: #70d69a; }
.group-priors .group-label {
  color: #f0cd59;
  border-image: linear-gradient(90deg, #f0cd59, #bca0d2, #69b8e7) 1;
}
.group-system .group-label {
  color: #f4a04d;
  border-image: linear-gradient(90deg, #f4a04d, #58c8cc) 1;
}
.experiment-grid { width: 100%; min-width: 0; display: grid; gap: clamp(7px, .96cqi, 10px); }
.experiment-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.experiment-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.experiment-tab {
  --accent: #70d69a;
  --tint: rgba(32, 105, 67, .32);
  min-width: 0;
  width: 100%;
  min-height: clamp(76px, 9.42cqi, 98px);
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.35cqi, 14px);
  padding: clamp(10px, 1.35cqi, 14px) clamp(12px, 1.73cqi, 18px);
  color: var(--text);
  text-align: left;
  border: 2px solid color-mix(in srgb, var(--accent) 82%, transparent);
  border-radius: clamp(12px, 1.73cqi, 18px);
  background: var(--tint);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.experiment-tab[data-experiment="q2"] { --accent: #f0cd59; --tint: rgba(116, 87, 27, .42); }
.experiment-tab[data-experiment="q3"] { --accent: #bca0d2; --tint: rgba(83, 65, 103, .48); }
.experiment-tab[data-experiment="q4"] { --accent: #69b8e7; --tint: rgba(40, 92, 120, .48); }
.experiment-tab[data-experiment="q5"] { --accent: #f4a04d; --tint: rgba(121, 67, 22, .48); }
.experiment-tab[data-experiment="q6"] { --accent: #58c8cc; --tint: rgba(24, 92, 95, .48); }
.experiment-tab:hover,
.experiment-tab:focus-visible {
  transform: translateY(-2px);
  outline: 0;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 24%, transparent);
}
.experiment-tab.is-active {
  background: color-mix(in srgb, var(--accent) 22%, #0b0e0c);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent);
}
.question-id {
  flex: 0 0 clamp(40px, 5cqi, 52px);
  width: clamp(40px, 5cqi, 52px);
  height: clamp(40px, 5cqi, 52px);
  display: grid;
  place-items: center;
  color: #06100a;
  border-radius: 50%;
  background: var(--accent);
  font: 700 clamp(18px, 2.12cqi, 22px)/1 var(--serif);
}
.question-copy { min-width: 0; display: block; overflow: hidden; }
.question-copy strong {
  display: block;
  color: var(--accent);
  font: 700 clamp(16px, 2.2cqi, 23px)/1.12 var(--sans);
  white-space: nowrap;
}
.question-copy small {
  display: block;
  margin-top: clamp(3px, .48cqi, 5px);
  color: #eef0e9;
  font: 400 clamp(11px, 1.44cqi, 15px)/1.4 var(--sans);
  overflow-wrap: anywhere;
}

@media (min-width: 1101px) {
  .experiment-group + .experiment-group { margin-top: 12px; }
  .group-label {
    margin-bottom: 6px;
    padding-bottom: 3px;
    border-bottom-width: 2px;
    font-size: 16px;
  }
  .experiment-tab {
    min-height: 82px;
    gap: 12px;
    padding: 9px 15px;
    border-radius: 16px;
  }
  .group-system .experiment-tab { min-height: 84px; }
  .question-id {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
    font-size: 20px;
  }
  .question-copy strong { font-size: 18px; }
  .question-copy small {
    margin-top: 3px;
    font-size: 13px;
    line-height: 1.35;
  }
}
.experiment-quicknav {
  position: sticky;
  top: 72px;
  z-index: 12;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(5px, .5vw, 8px);
  margin-top: 4px;
  padding: 5px 8px;
  border: 0;
  background: var(--raised);
}
.quick-tab {
  --accent: #70d69a;
  --tint: rgba(32, 105, 67, .32);
  min-width: 0;
  display: grid;
  place-items: center;
  min-height: 36px;
  padding: 4px 9px;
  color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 999px;
  background: var(--tint);
  box-shadow: none;
  cursor: pointer;
  transform: translateZ(0);
  transform-origin: center;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease, filter .2s ease;
}
.quick-tab[data-experiment="q2"] { --accent: #f0cd59; --tint: rgba(116, 87, 27, .42); }
.quick-tab[data-experiment="q3"] { --accent: #bca0d2; --tint: rgba(83, 65, 103, .48); }
.quick-tab[data-experiment="q4"] { --accent: #69b8e7; --tint: rgba(40, 92, 120, .48); }
.quick-tab[data-experiment="q5"] { --accent: #f4a04d; --tint: rgba(121, 67, 22, .48); }
.quick-tab[data-experiment="q6"] { --accent: #58c8cc; --tint: rgba(24, 92, 95, .48); }
.quick-tab b { color: inherit; font: 700 clamp(12px, .82vw, 16px)/1 var(--sans); letter-spacing: .08em; text-align: center; }
.quick-tab:hover,
.quick-tab:focus-visible {
  z-index: 2;
  border-color: var(--accent);
  outline: 0;
  filter: brightness(1.15) saturate(1.08);
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent), 0 8px 22px color-mix(in srgb, var(--accent) 26%, transparent);
}
.quick-tab.is-active {
  z-index: 2;
  border-color: var(--accent);
  filter: brightness(1.15) saturate(1.08);
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent), 0 8px 22px color-mix(in srgb, var(--accent) 26%, transparent);
}
.experiment-quicknav:has(.quick-tab:hover) .quick-tab.is-active:not(:hover),
.experiment-quicknav:has(.quick-tab:focus-visible) .quick-tab.is-active:not(:focus-visible) {
  z-index: 1;
  filter: none;
  transform: translateZ(0);
  box-shadow: none;
}
.experiment-results {
  scroll-margin-top: 138px;
  margin-top: 30px;
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

@media (min-width: 981px) and (max-width: 2150px) {
  .quick-tab { min-height: 36px; padding-block: 4px; }
}
.experiment-panel { scroll-margin-top: 138px; }
.experiment-panel + .experiment-panel {
  margin-top: 45px;
  padding-top: 45px;
  border-top: 1px solid var(--line);
}
.panel-copy { width: 100%; margin-bottom: 34px; }
.panel-copy > span {
  display: block;
  margin-bottom: 13px;
  color: var(--lime);
  font-size: 20px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: .06em;
}
.panel-copy h3 {
  margin: 0;
  font: 400 18px/1.55 var(--sans);
  letter-spacing: 0;
}
#panel-q3 .panel-copy h3 {
  color: #d8dbd5;
  font-weight: 700;
}
#panel-q5 .panel-copy h3 {
  margin-top: 26px;
  color: #d8dbd5;
  font-weight: 700;
}
.panel-copy .cognitive-evaluation-intro {
  margin: 18px 0 26px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}
.panel-copy p {
  width: 100%;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}
.experiment-panel figure { margin: 0; }
.experiment-panel figure + figure { margin-top: 64px; }
.experiment-panel figure img { width: 100%; border: 1px solid var(--line); background: white; }
.experiment-panel figcaption { margin-top: 10px; color: var(--muted); font-size: 12px; }
.q1-evidence-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1.6098fr 1.0985fr 1.0333fr;
  gap: clamp(18px, 1.8vw, 32px);
  align-items: stretch;
}
.q1-evidence-grid .q1-evidence-item {
  min-width: 0;
  display: grid;
  grid-template-rows: 1fr auto;
}
.q1-evidence-grid .q1-evidence-item + .q1-evidence-item { margin-top: 0; }
.q1-evidence-media {
  min-height: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.experiment-panel .q1-evidence-media img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  background: transparent;
}
.experiment-panel .q1-evidence-item figcaption {
  margin-top: 14px;
  color: var(--text);
  font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}
.q1-evidence-item figcaption strong { font: inherit; }
.experiment-panel .spatial-benchmark {
  width: 80%;
  margin: 48px auto 0;
}
.spatial-benchmark-intro {
  width: 100%;
  margin: 48px 0 44px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}
.spatial-benchmark-intro + .spatial-benchmark { margin-top: 0; }
.experiment-panel .spatial-benchmark figcaption {
  margin: 0 0 12px;
  color: var(--text);
  font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}
.spatial-benchmark-scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(240, 205, 89, .22);
  border-radius: 12px;
  background: rgba(255, 255, 255, .018);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .16);
}
.spatial-benchmark table {
  width: 100%;
  min-width: 680px;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--text);
  border: 0;
  background: transparent;
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(14px, .84vw, 17px);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.spatial-benchmark .method-column { width: 26%; }
.spatial-benchmark .hand-column { width: 24%; }
.spatial-benchmark .metric-column { width: 16.666%; }
.spatial-benchmark th,
.spatial-benchmark td {
  padding: 8px 10px;
  text-align: center;
  vertical-align: middle;
}
.spatial-benchmark thead {
  color: #f7e8b2;
  border-bottom: 0;
  background: rgba(116, 87, 27, .24);
}
.spatial-benchmark thead th {
  font-size: clamp(14px, .84vw, 17px);
  font-weight: 700;
}
.spatial-benchmark thead tr:first-child th[colspan] {
  border-bottom: 1px solid rgba(240, 205, 89, .24);
}
.spatial-benchmark thead tr:last-child th,
.spatial-benchmark thead tr:first-child th[rowspan] {
  border-bottom: 1px solid rgba(240, 205, 89, .28);
}
.spatial-benchmark thead tr:first-child > th:first-child,
.spatial-benchmark tbody th {
  text-align: left;
}
.spatial-benchmark tbody th {
  padding-left: 14px;
  font-size: clamp(14px, .84vw, 17px);
  font-weight: 400;
}
.spatial-benchmark tbody tr.method-group:not(:first-child) {
  border-top: 0;
}
.spatial-benchmark tbody tr.method-group:not(:first-child) > * {
  border-top: 1px solid rgba(243, 244, 239, .16);
}
.spatial-benchmark tbody tr:nth-child(n+4):nth-child(-n+6) {
  background: rgba(255, 255, 255, .018);
}
.spatial-benchmark tbody tr.is-ours,
.spatial-benchmark tbody tr.is-ours + tr,
.spatial-benchmark tbody tr.is-ours + tr + tr {
  background: rgba(116, 87, 27, .18);
}
.spatial-benchmark tbody tr.is-ours > th {
  color: #f7e8b2;
  border-left: 3px solid #f0cd59;
  font-weight: 700;
}
.spatial-benchmark .best-score {
  color: #f0cd59;
  font-weight: 700;
  text-decoration: none;
}
.spatial-benchmark-note {
  margin: 9px 0 0;
  color: var(--muted);
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(13px, .78vw, 16px);
  line-height: 1.2;
}

/* Experiment 3: cognitive-prior benchmark and interactive object cases. */
.cognitive-evidence {
  display: grid;
  grid-template-columns: minmax(390px, .82fr) minmax(0, 1.35fr);
  gap: clamp(20px, 2vw, 36px);
  align-items: stretch;
  margin-top: 34px;
}
#panel-q3 > h3 {
  margin-top: 56px;
  color: #d8dbd5;
}
#panel-q3 > h3 + p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}
.experiment-panel .cognitive-benchmark,
.experiment-panel .cognitive-viewer {
  min-width: 0;
  margin: 0;
  border: 1px solid rgba(188, 160, 210, .28);
  border-radius: 16px;
  background: rgba(75, 55, 91, .16);
  box-shadow: 0 16px 38px rgba(0, 0, 0, .18);
  overflow: hidden;
}
.experiment-panel .cognitive-benchmark {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.experiment-panel .cognitive-benchmark > figcaption {
  margin: 0 0 12px;
  color: var(--text);
  font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}
.cognitive-benchmark-scroll {
  flex: 1;
  display: flex;
  overflow-x: auto;
  border: 1px solid rgba(188, 160, 210, .18);
  border-radius: 10px;
}
.cognitive-benchmark table {
  width: 100%;
  height: 100%;
  min-width: 0;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--text);
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(14px, .84vw, 17px);
  line-height: 1.18;
  font-variant-numeric: tabular-nums;
}
.cognitive-benchmark th,
.cognitive-benchmark td {
  padding: 10px 8px;
  text-align: center;
  vertical-align: middle;
}
.cognitive-benchmark thead {
  color: #eadff2;
  background: rgba(105, 78, 127, .32);
  border-bottom: 0;
}
.cognitive-benchmark thead th { border-bottom: 1px solid rgba(188, 160, 210, .32); }
.cognitive-benchmark thead th:first-child,
.cognitive-benchmark tbody th { width: 43%; text-align: left; }
.cognitive-benchmark thead th:nth-child(2) { white-space: nowrap; }
.cognitive-benchmark tbody th { font-weight: 400; }
.cognitive-benchmark tbody tr + tr { border-top: 0; }
.cognitive-benchmark tbody tr + tr > * { border-top: 1px solid rgba(243, 244, 239, .09); }
.cognitive-benchmark tbody tr.is-ours {
  color: #f0e8f6;
  background: rgba(105, 78, 127, .3);
}
.cognitive-benchmark tbody tr.is-ours th {
  border-left: 3px solid var(--purple);
  font-weight: 700;
}
.cognitive-benchmark tbody tr.is-ours strong { color: var(--purple); }
.cognitive-benchmark-note {
  margin: 9px 0 0;
  padding-top: 0;
  color: var(--muted);
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(13px, .78vw, 16px);
  line-height: 1.3;
  text-align: center;
}
.cognitive-benchmark-note span { padding-inline: 5px; color: rgba(188, 160, 210, .62); }
.cognitive-video-evidence {
  width: 100%;
  margin-top: 34px;
}
.cognitive-video-switcher {
  display: grid;
  grid-template-columns: minmax(280px, 1.35fr) repeat(3, minmax(0, .85fr));
  align-items: stretch;
  margin: 0 0 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cognitive-video-label,
.cognitive-video-option {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 18px 12px;
  font: 700 18px/1.3 var(--sans);
  white-space: nowrap;
}
.cognitive-video-label {
  padding-inline: 20px;
  color: var(--text);
  text-align: center;
}
.cognitive-video-option {
  position: relative;
  color: var(--text);
  cursor: pointer;
  user-select: none;
  transition: color .16s, background .16s;
}
.cognitive-video-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.cognitive-video-indicator {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--purple);
  opacity: 0;
  transform: scaleX(.35);
  transition: opacity .16s, transform .16s;
}
.cognitive-video-option:has(input:checked) {
  color: #e3cff1;
  background: rgba(105, 78, 127, .34);
}
.cognitive-video-option input:checked ~ .cognitive-video-indicator {
  opacity: 1;
  transform: scaleX(1);
}
.cognitive-video-option input:checked ~ span:last-child { color: #cfafe5; }
.cognitive-video-option input:focus-visible ~ .cognitive-video-indicator {
  opacity: 1;
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--text);
}
.cognitive-video-panel[hidden] { display: none; }
.cognitive-video-panel video {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(72vh, 760px);
  margin: 0 auto;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: #000;
  object-fit: contain;
}
.experiment-panel .cognitive-target-benchmark {
  width: 100%;
  margin: 34px 0 0;
}
.experiment-panel .cognitive-target-benchmark > figcaption {
  margin: 0 0 12px;
  color: var(--text);
  font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}
.cognitive-target-benchmark-scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(188, 160, 210, .24);
  border-radius: 12px;
  background: rgba(75, 55, 91, .08);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .16);
}
.cognitive-target-benchmark table {
  width: 100%;
  min-width: 860px;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--text);
  background: transparent;
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(14px, .84vw, 17px);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.cognitive-target-benchmark .method-column { width: 24%; }
.cognitive-target-benchmark .metric-column { width: 12.666%; }
.cognitive-target-benchmark th,
.cognitive-target-benchmark td {
  padding: 7px 8px;
  text-align: center;
  vertical-align: middle;
}
.cognitive-target-benchmark thead {
  color: #eadff2;
  background: rgba(105, 78, 127, .3);
}
.cognitive-target-benchmark thead tr:first-child th[colspan] {
  border-bottom: 1px solid rgba(188, 160, 210, .3);
}
.cognitive-target-benchmark thead tr:nth-child(2) th {
  border-bottom: 1px solid rgba(188, 160, 210, .22);
  font-style: italic;
}
.cognitive-target-benchmark thead tr:last-child th,
.cognitive-target-benchmark thead tr:first-child th[rowspan] {
  border-bottom: 1px solid rgba(188, 160, 210, .34);
}
.cognitive-target-benchmark thead th {
  font-size: clamp(14px, .84vw, 17px);
  font-weight: 700;
}
.cognitive-target-benchmark thead tr:first-child th[rowspan],
.cognitive-target-benchmark tbody th {
  padding-left: 14px;
  text-align: left;
}
.cognitive-target-benchmark .dataset-separator {
  border-left: 1px solid rgba(188, 160, 210, .22);
}
.cognitive-target-benchmark tbody tr + tr > * {
  border-top: 1px solid rgba(243, 244, 239, .09);
}
.cognitive-target-benchmark tbody th {
  font-size: clamp(14px, .84vw, 17px);
  font-weight: 400;
}
.cognitive-target-benchmark .math-calligraphic {
  font-family: "Cambria Math", "STIX Two Math", "Times New Roman", serif;
  font-style: normal;
}
.cognitive-target-benchmark tbody tr.is-ours {
  color: #f0e8f6;
  background: rgba(105, 78, 127, .3);
}
.cognitive-target-benchmark tbody tr.is-ours th {
  border-left: 3px solid var(--purple);
  font-weight: 700;
}
.cognitive-target-benchmark tbody tr.is-ours strong {
  color: var(--purple);
  font-weight: 700;
}
.cognitive-target-benchmark-note {
  margin: 9px 0 0;
  color: var(--muted);
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(13px, .78vw, 16px);
  line-height: 1.3;
  text-align: left;
}
.experiment-panel .temporal-benchmark {
  width: 100%;
  margin: 34px 0 0;
}
.experiment-panel .temporal-benchmark > figcaption {
  margin: 0 0 12px;
  color: var(--text);
  font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}
.temporal-benchmark-scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(74, 145, 204, .28);
  border-radius: 12px;
  background: rgba(74, 145, 204, .04);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .16);
}
.temporal-benchmark table {
  width: 100%;
  min-width: 900px;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--text);
  background: transparent;
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(14px, .84vw, 17px);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.temporal-video-carousel {
  width: 100%;
  margin-top: 48px;
}
.temporal-tracking-copy {
  width: 100%;
  margin: 31px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}
.temporal-tracking-copy p { margin: 0; }
.temporal-tracking-copy p + p { margin-top: 18px; }
.temporal-tracking-copy + .temporal-video-carousel { margin-top: 26px; }
.temporal-carousel-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 10px;
  padding: 18px 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--text);
  text-align: center;
}
.temporal-carousel-heading strong {
  font: 700 18px/1.3 "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
}
.temporal-carousel-stage {
  position: relative;
  width: 100%;
}
.temporal-carousel-media {
  width: 100%;
  min-width: 0;
  aspect-ratio: 920 / 363;
  overflow: hidden;
  background: #000;
  contain: layout paint;
}
.temporal-carousel-media video {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 920 / 363;
  border: 0;
  border-radius: 0;
  background: #000;
  box-shadow: none;
  object-fit: contain;
}
.temporal-carousel-media video::-webkit-media-controls-enclosure {
  background: transparent;
}
.temporal-carousel-media video::-webkit-media-controls-panel {
  background-color: transparent;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .38));
}
.temporal-carousel-button {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 50%;
  color: #fff;
  background: rgba(5, 10, 14, .68);
  backdrop-filter: blur(4px);
  font-family: Arial, sans-serif;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
  transition: opacity .18s ease, border-color .18s ease, background-color .18s ease, transform .18s ease;
}
.temporal-carousel-button span,
.exp5-dynamic-button span {
  width: 13px;
  height: 13px;
  display: block;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  font-size: 0;
  line-height: 0;
}
.temporal-carousel-prev span,
.exp5-dynamic-prev span { transform: rotate(-135deg); }
.temporal-carousel-next span,
.exp5-dynamic-next span { transform: rotate(45deg); }
.temporal-carousel-prev { left: 18px; }
.temporal-carousel-next { right: 18px; }
.temporal-carousel-stage:hover .temporal-carousel-button,
.temporal-carousel-stage:focus-within .temporal-carousel-button {
  opacity: 1;
  pointer-events: auto;
}
.temporal-carousel-button:hover {
  border-color: rgba(255, 255, 255, .78);
  background: rgba(5, 10, 14, .86);
  transform: translateY(-50%) scale(1.05);
}
.temporal-carousel-button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}
.temporal-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
.temporal-carousel-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid rgba(101, 184, 232, .62);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.temporal-carousel-dots button.is-active { background: var(--blue); }
.temporal-carousel-dots button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.temporal-benchmark .method-column { width: 18%; }
.temporal-benchmark .metric-column { width: 9.111%; }
.temporal-benchmark th,
.temporal-benchmark td {
  padding: 8px 6px;
  text-align: center;
  vertical-align: middle;
}
.temporal-benchmark thead {
  color: #d9edfc;
  background: rgba(74, 145, 204, .24);
}
.temporal-benchmark thead tr:first-child th[colspan] {
  border-bottom: 1px solid rgba(101, 184, 232, .34);
}
.temporal-benchmark thead tr:last-child th,
.temporal-benchmark thead tr:first-child th[rowspan] {
  border-bottom: 1px solid rgba(101, 184, 232, .42);
}
.temporal-benchmark thead th {
  font-size: clamp(14px, .84vw, 17px);
  font-weight: 700;
}
.temporal-benchmark thead tr:first-child th[rowspan],
.temporal-benchmark tbody th {
  padding-left: 14px;
  text-align: left;
}
.temporal-benchmark tbody th {
  font-size: clamp(14px, .84vw, 17px);
  font-weight: 400;
}
.temporal-benchmark .scenario-separator {
  border-left: 1px solid rgba(101, 184, 232, .22);
}
.temporal-benchmark tbody tr + tr > * {
  border-top: 1px solid rgba(243, 244, 239, .09);
}
.temporal-benchmark tbody tr.is-ours {
  color: #e4f2fc;
  background: rgba(74, 145, 204, .22);
}
.temporal-benchmark tbody tr.is-ours th {
  border-left: 3px solid var(--blue);
  font-weight: 700;
}
.temporal-benchmark .best-score {
  color: #65b8e8;
  font-weight: 700;
}
.temporal-benchmark .math-metric {
  font-family: "Cambria Math", "STIX Two Math", "Times New Roman", serif;
  font-style: normal;
  white-space: nowrap;
}
.temporal-benchmark .math-metric i { font-style: italic; }
.temporal-benchmark .math-metric sub {
  font-size: .68em;
  vertical-align: -.28em;
}
.cognitive-viewer { display: flex; flex-direction: column; }
.cognitive-viewer-toolbar {
  display: grid;
  grid-template-columns: minmax(150px, 180px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 2vw, 34px);
  padding: 14px 16px;
  background: rgba(105, 78, 127, .24);
  border-bottom: 1px solid rgba(188, 160, 210, .22);
}
.cognitive-select-wrap { position: relative; }
.cognitive-select-wrap::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--purple);
  border-bottom: 2px solid var(--purple);
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
}
#cognitive-case-select {
  width: 100%;
  min-height: 42px;
  appearance: none;
  padding: 8px 42px 8px 14px;
  border: 1px solid rgba(188, 160, 210, .45);
  border-radius: 9px;
  color: var(--text);
  background: #17121c;
  font: 650 15px/1.2 var(--sans);
  cursor: pointer;
}
#cognitive-case-select:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
.cognitive-instruction {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
  padding: 0;
  color: var(--text);
  background: transparent;
  border: 0;
  font-family: var(--serif);
  font-size: clamp(16px, .95vw, 20px);
  font-style: italic;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
}
.cognitive-result-grid {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(160px, .72fr);
  gap: 1px;
  background: rgba(188, 160, 210, .2);
}
.experiment-panel .cognitive-result-card {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  margin: 0;
  border: 0;
  background: #090a09;
}
.cognitive-result-media { min-height: 0; display: grid; place-items: center; overflow: hidden; background: #050605; }
.experiment-panel .cognitive-result-media img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border: 0;
  background: #050605;
}
.experiment-panel .cognitive-result-card.is-grasp-type img { object-fit: contain; }
.experiment-panel .cognitive-result-card figcaption {
  display: flex;
  min-height: 52px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 9px 8px 10px;
  color: var(--text);
  background: rgba(40, 31, 48, .92);
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}
.experiment-panel .cognitive-result-card figcaption strong {
  position: absolute;
  z-index: 2;
  top: var(--image-top-gap, 5px);
  left: 0;
  width: 100%;
  max-width: none;
  padding: 4px 10px 5px;
  border: 0;
  border-radius: 0;
  color: #70428f;
  background: rgba(245, 245, 245, .74);
  box-shadow: none;
  font: italic 700 clamp(16px, 1vw, 21px)/1.15 var(--serif);
  text-align: center;
}
.spatial-hand-switcher {
  display: grid;
  grid-template-columns: minmax(250px, 1.35fr) repeat(3, minmax(0, .85fr));
  align-items: stretch;
  margin: 0 0 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.spatial-hand-label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 24px;
  color: var(--text);
  font: 700 18px/1.3 var(--sans);
  white-space: nowrap;
}
.spatial-hand-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 18px 12px;
  color: var(--text);
  font: 650 18px/1.3 var(--sans);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  transition: color .16s, background .16s;
}
.spatial-hand-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.spatial-hand-radio {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: #f0cd59;
  opacity: 0;
  transform: scaleX(.35);
  transition: opacity .16s, transform .16s;
}
.spatial-hand-option input:checked ~ .spatial-hand-radio {
  opacity: 1;
  transform: scaleX(1);
}
.spatial-hand-option:has(input:checked) { background: rgba(116, 87, 27, .42); }
.spatial-hand-option input:checked ~ span:last-child { color: #f0cd59; }
.spatial-hand-option input:focus-visible ~ .spatial-hand-radio {
  opacity: 1;
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--text);
}
.spatial-video-panel[hidden] { display: none; }
.spatial-video-grid {
  --video-caption-gap: clamp(6px, 0.6vw, 10px);
  width: 100%;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--video-caption-gap) clamp(10px, 1vw, 16px);
  overflow: visible;
}
.spatial-video-grid .spatial-video-card,
.spatial-video-grid .spatial-video-card + .spatial-video-card {
  position: relative;
  z-index: 0;
  margin-top: 0;
}
.spatial-video-grid .spatial-video-card:hover { z-index: 10; }
.spatial-video-card video {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #000;
  cursor: pointer;
  transform: scale(1);
  transform-origin: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.spatial-video-card:hover video {
  transform: scale(1.14);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .62);
}
.experiment-panel .spatial-video-card figcaption {
  margin-top: var(--video-caption-gap);
  color: var(--muted);
  font: 700 14px/1.3 "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  text-align: center;
}
/* Experiment 5: composability in freely arranged clutter. */
.exp5-composability-figure {
  width: 100%;
  aspect-ratio: 2.5 / 1;
  container-type: inline-size;
  display: grid;
  grid-template-columns: minmax(0, 3.22fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 1.05cqi;
  background: transparent;
}
.exp5-task-scenes,
.exp5-result-summary { min-width: 0; min-height: 0; }
.exp5-task-scenes { display: flex; align-items: stretch; }
.experiment-panel .exp5-task-scenes img {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  object-fit: contain;
}
.exp5-result-summary {
  display: grid;
  grid-template-rows: minmax(0, 34fr) minmax(0, 66fr);
  gap: .7cqi;
  align-self: stretch;
  overflow: hidden;
}
.exp5-summary-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: .9cqi .7cqi .75cqi;
  border: .28cqi solid #f15a5b;
  border-radius: 1.85cqi;
  background: #191823;
  color: #f4f1f4;
  font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}
.exp5-summary-card strong {
  color: #f15a5b;
  font-size: 3.6cqi;
  font-weight: 700;
}
.exp5-summary-card span {
  margin-top: .65cqi;
  color: #bebbc8;
  font-size: 1.7cqi;
}
.exp5-summary-card b {
  margin-top: .75cqi;
  font-size: 1.75cqi;
  font-weight: 700;
}
.exp5-summary-card b i { margin-inline: .55cqi; font-style: normal; }
.exp5-summary-card em {
  margin-top: .75cqi;
  color: #f15a5b;
  font-size: 1.6cqi;
  font-style: normal;
}
.experiment-panel .exp5-failure-chart {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  margin: 0;
  overflow: hidden;
}
.exp5-failure-chart-crop {
  width: 100%;
  aspect-ratio: 1;
  flex: 0 0 auto;
  border-radius: 50%;
  background: transparent;
  overflow: hidden;
}
.experiment-panel .exp5-failure-chart-crop img {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  object-fit: cover;
  object-position: center top;
}
.experiment-panel .exp5-failure-chart figcaption {
  margin: .55cqi 0 0;
  color: var(--text);
  font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  font-size: 1.8cqi;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}
.exp5-video-evidence {
  width: 100%;
  margin-top: 42px;
}
.exp5-video-switcher {
  display: grid;
  grid-template-columns: minmax(max-content, 1.15fr) minmax(max-content, 1.25fr) minmax(max-content, 1fr) minmax(max-content, 1.2fr);
  align-items: stretch;
  margin: 0 0 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(244, 160, 77, .72) rgba(255, 255, 255, .08);
}
.exp5-video-switcher::-webkit-scrollbar { height: 8px; }
.exp5-video-switcher::-webkit-scrollbar-track { background: rgba(255, 255, 255, .08); }
.exp5-video-switcher::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(244, 160, 77, .72);
}
.exp5-video-label,
.exp5-video-option {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 18px 12px;
  font: 700 16px/1.3 var(--sans);
  text-align: center;
  white-space: nowrap;
}
.exp5-video-label {
  flex-direction: column;
  gap: 5px;
  padding-inline: 20px;
  color: #fff;
}
.exp5-video-label small {
  display: block;
  color: rgba(255, 255, 255, .72);
  font: 400 14px/1.2 var(--sans);
}
.exp5-video-label small strong { font-weight: 700; }
.exp5-video-option {
  position: relative;
  color: var(--text);
  cursor: pointer;
  user-select: none;
  transition: color .16s, background .16s;
}
.exp5-video-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.exp5-video-indicator {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: #f4a04d;
  opacity: 0;
  transform: scaleX(.35);
  transition: opacity .16s, transform .16s;
}
.exp5-video-option:has(input:checked) {
  color: #ffd3a6;
  background: rgba(244, 160, 77, .24);
}
.exp5-video-option input:checked ~ .exp5-video-indicator {
  opacity: 1;
  transform: scaleX(1);
}
.exp5-video-option input:checked ~ span:last-child { color: #ffc27e; }
.exp5-video-option input:focus-visible ~ .exp5-video-indicator {
  opacity: 1;
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--text);
}
.exp5-video-panels {
  width: 100%;
  aspect-ratio: 934 / 413;
  border-radius: 0;
  background: #000;
  overflow: hidden;
}
.exp5-video-panel {
  width: 100%;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
}
.exp5-video-panel[hidden] { display: none; }
.exp5-video-panel video {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: #000;
  object-fit: cover;
}
.exp5-video-panel video::-webkit-media-controls-enclosure {
  background: transparent !important;
  opacity: .72;
}
.exp5-video-panel video::-webkit-media-controls-panel {
  background-color: transparent !important;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .38)) !important;
}
.exp5-dynamic-carousel {
  width: 100%;
  margin-top: 52px;
  outline: 0;
}
.exp5-inter-video-copy {
  margin: 56px 0 0;
}
#panel-q5 .exp5-inter-video-copy h3 { margin-top: 0; }
.exp5-inter-video-copy + .exp5-dynamic-carousel { margin-top: 34px; }
.exp5-dynamic-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 0 0 10px;
  padding: 18px 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--text);
  text-align: center;
}
.exp5-dynamic-heading strong {
  font: 700 18px/1.3 "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
}
.exp5-dynamic-heading small {
  display: block;
  color: rgba(255, 255, 255, .72);
  font: 400 14px/1.2 "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
}
.exp5-dynamic-stage {
  position: relative;
  width: 100%;
  contain: layout paint;
}
.exp5-dynamic-groups { width: 100%; }
.exp5-dynamic-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 16px;
  width: 100%;
}
.exp5-dynamic-group[hidden] { display: none; }
.experiment-panel .exp5-dynamic-card {
  min-width: 0;
  margin: 0;
}
.experiment-panel .exp5-dynamic-card figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2em;
  margin: 0;
  padding: 0 14px 3px;
  color: var(--text);
  font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  font-size: clamp(13px, 1vw, 16px);
  font-style: italic;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
}
.exp5-dynamic-card video {
  display: block;
  width: 100%;
  aspect-ratio: 32 / 9;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: #000;
  object-fit: contain;
}
.exp5-dynamic-card video::-webkit-media-controls-enclosure {
  background: transparent !important;
  opacity: .72;
}
.exp5-dynamic-card video::-webkit-media-controls-panel {
  background-color: transparent !important;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .38)) !important;
}
.exp5-disturbance-evidence {
  width: 100%;
  margin-top: 52px;
}
.exp5-disturbance-copy {
  margin: 56px 0 34px;
}
.exp5-disturbance-copy p {
  margin: 0;
  line-height: 1.65;
}
.exp5-disturbance-copy + .exp5-disturbance-evidence {
  margin-top: 0;
}
.exp5-disturbance-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 18px 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--text);
  text-align: center;
}
.exp5-disturbance-heading strong {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}
.exp5-disturbance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
  width: 100%;
}
.experiment-panel .exp5-disturbance-card {
  min-width: 0;
  margin: 0;
}
.experiment-panel .exp5-disturbance-card figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  min-height: 56px;
  margin: 0;
  padding: 0 8px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}
.exp5-disturbance-media {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.exp5-disturbance-instruction {
  position: absolute;
  top: -2px;
  left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 8px 14px;
  color: #000;
  background: rgba(255, 255, 255, .25);
  font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  font-size: 18px;
  font-style: italic;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  pointer-events: none;
}
.exp5-disturbance-card video {
  display: block;
  width: 100%;
  aspect-ratio: 25 / 12;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: #000;
  object-fit: contain;
}
.exp5-disturbance-card video::-webkit-media-controls-enclosure {
  background: transparent !important;
  opacity: .72;
}
.exp5-disturbance-card video::-webkit-media-controls-panel {
  background-color: transparent !important;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .38)) !important;
}
.exp5-dynamic-button {
  position: absolute;
  top: 55%;
  z-index: 2;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 194, 126, .62);
  border-radius: 50%;
  color: #fff;
  background: rgba(37, 21, 10, .68);
  backdrop-filter: blur(4px);
  font-family: Arial, sans-serif;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
  transition: opacity .18s ease, border-color .18s ease, background-color .18s ease, transform .18s ease;
}
.exp5-dynamic-prev { left: 18px; }
.exp5-dynamic-next { right: 18px; }
.exp5-dynamic-stage:hover .exp5-dynamic-button,
.exp5-dynamic-carousel:focus-within .exp5-dynamic-button {
  opacity: 1;
  pointer-events: auto;
}
.exp5-dynamic-button:hover {
  border-color: rgba(255, 211, 166, .92);
  background: rgba(37, 21, 10, .86);
  transform: translateY(-50%) scale(1.05);
}
.exp5-dynamic-button:focus-visible {
  outline: 2px solid #f4a04d;
  outline-offset: 4px;
}
.exp5-dynamic-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
.exp5-dynamic-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid rgba(244, 160, 77, .72);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.exp5-dynamic-dots button.is-active { background: #f4a04d; }
.exp5-dynamic-dots button:focus-visible {
  outline: 2px solid #f4a04d;
  outline-offset: 3px;
}
/* Keep typography consistent across every visible video region. */
.spatial-hand-label,
.spatial-hand-option,
.experiment-panel .spatial-video-card figcaption,
.cognitive-video-label,
.cognitive-video-option,
.temporal-carousel-button,
.temporal-carousel-heading strong,
.exp5-video-label,
.exp5-video-label small,
.exp5-video-option,
.exp5-dynamic-heading strong,
.exp5-dynamic-heading span,
.exp5-dynamic-heading small,
.experiment-panel .exp5-dynamic-card figcaption,
.exp5-disturbance-heading strong,
.experiment-panel .exp5-disturbance-card figcaption,
.exp5-dynamic-button,
.spatial-video-card video,
.cognitive-video-panel video,
.temporal-carousel-media video,
.exp5-video-panel video,
.exp5-dynamic-card video,
.exp5-disturbance-card video {
  font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
}
.panel-gallery { display: grid; gap: 64px; margin-top: 56px; }
.panel-gallery figure + figure { margin-top: 0; }
.experiment-panel .metric-line { margin-bottom: 0; }
.exp6-video-evidence {
  display: grid;
  grid-template-columns: minmax(0, 1.777778fr) minmax(0, 2.537641fr);
  align-items: start;
  gap: 22px;
  width: 100%;
  margin-top: 52px;
  font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
}
.exp6-video-card {
  min-width: 0;
  margin: 0;
}
.exp6-video-heading {
  display: flex;
  height: 86px;
  box-sizing: border-box;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 0 0 12px;
  padding: 18px 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--text);
  text-align: center;
}
.exp6-video-heading strong {
  font: 700 18px/1.3 "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
}
.exp6-video-heading small {
  display: block;
  color: rgba(255, 255, 255, .72);
  font: 400 14px/1.2 "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
}
.exp6-video-card video {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: #000;
  object-fit: contain;
}
.exp6-video-card > video {
  height: auto;
  aspect-ratio: 16 / 9;
}
.exp6-transparent-media {
  display: grid;
  grid-template-columns: minmax(0, 1.777778fr) minmax(0, .759863fr);
  width: 100%;
  aspect-ratio: 2.537641 / 1;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #000;
}
.exp6-transparent-media video {
  height: 100%;
}
.exp6-transparent-media img {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
  object-fit: contain;
}
.exp6-video-card video::-webkit-media-controls-enclosure {
  background: transparent !important;
  opacity: .72;
}
.exp6-video-card video::-webkit-media-controls-panel {
  background-color: transparent !important;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .38)) !important;
}

.citation-section { border-top: 1px solid var(--line); background: var(--raised); }
.citation-layout { display: block; }
.citation-layout > .section-label { margin-bottom: 20px; }
.bibtex-card { min-width: 0; border: 1px solid var(--line); background: #050706; }
.bibtex-head {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.copy-bibtex {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  color: #e7e9e4;
  border: 1px solid rgba(231, 233, 228, .24);
  border-radius: 999px;
  background: rgba(231, 233, 228, .07);
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .02em;
  text-transform: none;
  transition: color .2s, border-color .2s, background .2s, transform .2s;
}
.copy-bibtex:hover,
.copy-bibtex:focus-visible {
  color: #fff;
  border-color: rgba(255, 255, 255, .48);
  background: rgba(255, 255, 255, .14);
  outline: 0;
  transform: translateY(-1px);
}
.copy-bibtex[data-copied="true"] {
  color: #f3f4ef;
  border-color: rgba(243, 244, 239, .38);
  background: rgba(243, 244, 239, .12);
}
.copy-icon { font-size: 15px; line-height: 1; }
.bibtex-card pre {
  max-width: 100%;
  margin: 0;
  padding: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  color: #dfe3dc;
  font: 14px/1.65 Consolas, "SFMono-Regular", monospace;
  overflow-wrap: normal;
  white-space: pre;
  scrollbar-color: rgba(243, 244, 239, .32) transparent;
  scrollbar-width: thin;
}
.copy-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.scroll-study { position: relative; }
.study-sticky-head {
  position: static;
  z-index: 6;
  padding: 26px 0 30px;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 14, 12, .96);
  backdrop-filter: blur(14px);
}
.study-sticky-head .section-label { margin-bottom: 14px; }
.study-sticky-head .section-title { max-width: none; }
.study-sticky-head .section-intro { max-width: none; margin-top: 16px; }
.study-stack { display: grid; gap: 120px; padding-top: 76px; }
.study-chapter { scroll-margin-top: 310px; }
.chapter-copy {
  width: 100%;
  max-width: none;
  margin-bottom: 32px;
}
.chapter-copy > span {
  display: block;
  margin-bottom: 13px;
  color: var(--lime);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
}
.chapter-copy h3 {
  margin: 0;
  font: 700 clamp(32px, 3.2vw, 46px)/1.08 var(--sans);
  letter-spacing: -.02em;
}
.chapter-copy p {
  width: 100%;
  max-width: none;
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 16px;
}
.study-media { margin: 0; }
.study-media img { width: 100%; border: 1px solid var(--line); background: white; }
.study-media video { display: block; width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--line); background: #000; }
.study-media figcaption { margin-top: 11px; color: var(--muted); font-size: 12px; }

.system-story {
  display: block;
}
.system-copy { width: 100%; margin-bottom: 64px; }
.system-copy p { width: 100%; max-width: none; margin: 24px 0 32px; color: #c3c7c0; font-size: 17px; }
.metric-line { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.metric { padding: 20px 14px 20px 0; border-right: 1px solid var(--line); }
.metric + .metric { padding-left: 18px; }
.metric:last-child { border-right: 0; }
.metric b { display: block; color: var(--lime); font: 700 clamp(27px, 2.7vw, 39px)/1 var(--sans); }
.metric span { display: block; margin-top: 8px; color: var(--muted); font-size: 11px; }
.system-media { display: grid; gap: 72px; }
.system-media figure { margin: 0; }
.system-media img { width: 100%; border: 1px solid var(--line); }
.system-media video { display: block; width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--line); background: #000; }
.system-media figcaption { margin-top: 10px; color: var(--muted); font-size: 12px; }

.ext-grid {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 54px;
}
.ext-grid img { border: 1px solid var(--line); background: white; }
.ext-list { margin-top: 30px; border-top: 1px solid var(--line); }
.ext-item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.ext-item strong { display: block; font: 700 21px/1.2 var(--sans); }
.ext-item span { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; }

.closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 52px 0 72px;
  border-top: 1px solid var(--line);
}
.closing p { margin: 0; color: var(--muted); font-size: 13px; }
.closing-links { display: flex; gap: 12px; }
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  font-size: 13px;
}
.button.primary { color: var(--bg); border-color: var(--lime); background: var(--lime); font-weight: 700; }

@media (max-width: 980px) {
  .nav {
    width: min(calc(100% - 28px), var(--max));
    min-height: 62px;
  }
  .nav-brand { font-size: 22px; }
  .nav-links { gap: 18px; font-size: 13px; }
  .nav-section-link { padding: 21px 0 17px; }
  .nav-section-link::after { bottom: 12px; }
  .hero { height: auto; min-height: 760px; }
  .hero-copy {
    width: min(calc(100% - 56px), var(--max));
    padding-top: 220px;
  }
  .project-name { font-size: 70px; }
  .paper-title { font-size: 42px; }
  .paper-title span { display: block; white-space: normal; }
  .author-block { width: min(720px, 86vw); }
  .authors { font-size: 15px; }
  .author-notes { gap: 18px; font-size: 11px; }
  .affiliations { font-size: 12px; }
  .hero-resources { margin-top: 18px; }
  .resource-link { min-height: 36px; gap: 7px; padding: 0 14px; font-size: 13px; }
  .resource-icon { width: 15px; }
  .experiment-board-scroll {
    padding-top: 15px;
  }
  .experiment-board {
    width: 1040px;
    min-width: 1040px;
    margin: 0;
    padding: 22px 24px 36px;
    transform-origin: top left;
  }
  .experiment-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .experiment-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .experiment-tab { min-height: 98px; }
  /* Preserve the 6 x 3 scene matrix on narrower screens. */
  .spatial-video-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .cognitive-evidence { grid-template-columns: 1fr; }
  .cognitive-result-media { min-height: 220px; }
}

@media (max-width: 760px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .nav {
    width: 100%;
    display: block;
    padding: 0 14px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav-brand { display: none; }
  .nav-links {
    width: 100%;
    min-width: max-content;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
  }
  .nav-section-link {
    display: block;
    flex: 0 0 auto;
    padding: 21px 0 17px;
    white-space: nowrap;
  }
  .nav-balance { display: none; }
  .hero { min-height: 720px; }
  .hero-bg { object-position: 67% center; opacity: .62; }
  .hero-copy { width: min(calc(100% - 28px), var(--max)); padding-top: 174px; }
  .project-name { font-size: 48px; }
  .paper-title { max-width: 96%; margin-top: 30px; font-size: 36px; line-height: 1.08; }
  .paper-title span { display: block; white-space: normal; }
  .author-block { width: 100%; margin-top: 28px; }
  .authors { font-size: 12px; }
  .author-notes { flex-wrap: wrap; gap: 4px 14px; font-size: 10px; }
  .affiliations { font-size: 10px; }
  .section { padding: 78px 0; }
  .video-note { margin-top: 18px; }
  .experiment-board { margin: 0; padding: 22px 24px 36px; }
  .group-label { font-size: 18px; }
  .experiment-tab {
    min-height: 98px;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 18px;
  }
  .question-id { flex-basis: 52px; width: 52px; height: 52px; font-size: 22px; }
  .question-copy strong { font-size: 23px; white-space: nowrap; }
  .question-copy small { font-size: 15px; }
  .experiment-quicknav {
    position: sticky;
    top: 66px;
    z-index: 12;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    container-type: inline-size;
    gap: min(3px, .8vw);
    margin-top: 4px;
    padding: min(6px, .6vw) 0;
    background: var(--raised);
  }
  .quick-tab {
    width: 100%;
    min-height: 0;
    aspect-ratio: 5 / 1;
    padding: .3cqi .45cqi;
    border-width: .15cqi;
  }
  .quick-tab:first-child { transform-origin: left center; }
  .quick-tab:last-child { transform-origin: right center; }
  .quick-tab b {
    font-size: 1.6cqi;
    line-height: 1;
    letter-spacing: .02em;
    white-space: nowrap;
  }
  .experiment-results { scroll-margin-top: 126px; margin-top: 24px; padding-top: 32px; }
  .experiment-panel { scroll-margin-top: 126px; }
  .experiment-panel + .experiment-panel { margin-top: 72px; padding-top: 48px; }
  .spatial-hand-switcher {
    grid-template-columns: minmax(250px, 1.35fr) repeat(3, minmax(104px, .85fr));
    overflow-x: auto;
  }
  .spatial-hand-label { padding-inline: 14px 24px; font-size: 18px; }
  .spatial-hand-option { padding-inline: 8px; font-size: 18px; }
  .experiment-panel .spatial-benchmark { width: 100%; }
  .spatial-benchmark table { min-width: 560px; }
  .spatial-benchmark .method-column { width: 30%; }
  .spatial-benchmark .hand-column { width: 16%; }
  .spatial-benchmark .metric-column { width: 18%; }
  .spatial-benchmark th,
  .spatial-benchmark td { padding: 7px 6px; }
  .spatial-benchmark tbody th { padding-left: 8px; }
  .spatial-video-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(4px, 1.1vw, 8px) clamp(4px, 1.4vw, 10px);
  }
  .experiment-panel .spatial-video-card figcaption {
    font-size: clamp(8px, 2.2vw, 12px);
    white-space: nowrap;
  }
  .cognitive-video-switcher {
    grid-template-columns: minmax(280px, 1.35fr) repeat(3, minmax(104px, .85fr));
    overflow-x: auto;
  }
  .cognitive-video-label,
  .cognitive-video-option { padding-inline: 10px; font-size: 18px; }
  .exp5-video-label,
  .exp5-video-option { padding-inline: 10px; font-size: 16px; }
  .exp5-dynamic-heading {
    align-items: center;
    padding: 12px 6px;
    text-align: center;
  }
  .exp5-dynamic-heading strong { font-size: 18px; }
  .exp5-dynamic-heading small { font-size: 14px; }
  .exp5-dynamic-group { gap: 5px 8px; }
  .experiment-panel .exp5-dynamic-card figcaption {
    height: 3.4em;
    padding: 0 5px 3px;
    font-size: clamp(10px, 2.8vw, 12px);
  }
  .exp5-dynamic-button {
    width: 38px;
    height: 38px;
  }
  .exp5-dynamic-prev { left: 8px; }
  .exp5-dynamic-next { right: 8px; }
  .exp6-video-evidence { gap: 8px; margin-top: 34px; }
  .exp6-video-heading {
    height: 68px;
    gap: 3px;
    margin-bottom: 8px;
    padding: 12px 5px;
  }
  .exp6-video-heading strong { font-size: 18px; }
  .exp6-video-heading small { font-size: 14px; }
  .cognitive-viewer-toolbar { grid-template-columns: 1fr; gap: 7px; }
  /* Input, functional-part, and grasp-type results always stay in one row. */
  .cognitive-result-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(92px, .72fr);
  }
  .cognitive-result-media { min-height: 0; }
  .temporal-video-carousel { margin-top: 34px; }
  .temporal-carousel-heading { padding: 12px 6px; }
  .temporal-carousel-heading strong { font-size: 18px; }
  .temporal-carousel-button {
    width: 38px;
    height: 38px;
  }
  .temporal-carousel-button span,
  .exp5-dynamic-button span {
    width: 10px;
    height: 10px;
    border-width: 2px 2px 0 0;
  }
  .temporal-carousel-prev { left: 8px; }
  .temporal-carousel-next { right: 8px; }
  .bibtex-card pre { font-size: 10px; }
  .study-sticky-head {
    position: static;
    padding-top: 0;
    background: transparent;
    backdrop-filter: none;
  }
  .study-stack { gap: 76px; padding-top: 52px; }
  .metric-line { grid-template-columns: 1fr; }
  /* The three base-policy figures must never stack. */
  .q1-evidence-grid {
    grid-template-columns: 1.6098fr 1.0985fr 1.0333fr;
    gap: clamp(6px, 2vw, 14px);
  }
  .experiment-panel .q1-evidence-item figcaption {
    margin-top: 8px;
    font-size: clamp(7px, 1.55vw, 13px);
    line-height: 1.25;
    white-space: nowrap;
  }
  .metric, .metric + .metric { padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .metric:last-child { border-bottom: 0; }
  .closing { display: block; }
  .closing-links { margin-top: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Anonymous release: hero content keeps its original left alignment and is vertically centered. */
.anonymous-site .hero-copy {
  width: 78.4%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0;
  text-align: left;
}

@media (max-width: 980px) {
  .anonymous-site .hero { height: 760px; min-height: 760px; }
  .anonymous-site .hero-copy {
    width: min(calc(100% - 56px), var(--max));
    height: 100%;
    padding-top: 0;
  }
}

@media (max-width: 760px) {
  .anonymous-site .hero { height: 720px; min-height: 720px; }
  .anonymous-site .hero-copy {
    width: min(calc(100% - 28px), var(--max));
    height: 100%;
    padding-top: 0;
  }
}

/* Preserve the complete 1672 x 941 hero composition on narrow screens. */
@media (max-width: 980px) {
  .hero,
  .anonymous-site .hero {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1672 / 941;
  }
  .hero-bg {
    height: 100%;
    object-fit: contain;
    object-position: center;
    opacity: 1;
  }
  .hero-copy {
    width: 78.4%;
    padding-top: 10vw;
  }
  .anonymous-site .hero-copy {
    width: 78.4%;
    height: 100%;
    padding-top: 0;
  }
  .project-name { font-size: 6vw; }
  .paper-title {
    max-width: none;
    margin: 2.2vw 0 0;
    font-size: 3.4vw;
    line-height: 1.35;
  }
  .paper-title span {
    display: block;
    white-space: nowrap;
  }
  .author-block { width: 72vw; margin-top: 2.25vw; }
  .authors { font-size: .99vw; line-height: 1.55; }
  .author-notes { gap: 1.25vw; margin-top: .31vw; font-size: .73vw; }
  .affiliations { margin-top: .47vw; font-size: .78vw; }
  .hero-resources { gap: .42vw; margin-top: 1.15vw; }
  .resource-link {
    min-height: 2.29vw;
    gap: .42vw;
    padding: 0 .94vw;
    font-size: .78vw;
  }
  .resource-icon { width: .94vw; }
}

/* Scale disturbance instructions with their two-column video cards. */
@media (max-width: 980px) {
  .exp5-disturbance-instruction {
    min-height: clamp(18px, 3.3vw, 44px);
    padding: clamp(3px, .6vw, 8px) clamp(6px, 1vw, 14px);
    font-size: clamp(9px, 1.6vw, 18px);
    line-height: 1.1;
    white-space: nowrap;
  }
}

/* Keep long-form content compact and readable on phones. Components that
   already scale proportionally with clamp(), vw, cqi, or transforms are left
   unchanged. */
@media (max-width: 760px) {
  .section-label {
    font-size: 17px;
    letter-spacing: .08em;
  }

  .panel-copy > span {
    font-size: 16px;
    letter-spacing: .04em;
  }

  .panel-copy h3 {
    font-size: 15px;
    line-height: 1.55;
  }

  .abstract-body,
  .section-intro,
  .method-component-copy,
  .panel-copy p,
  .panel-copy .cognitive-evaluation-intro,
  .spatial-benchmark-intro,
  #panel-q3 > h3 + p,
  .temporal-tracking-copy {
    font-size: 15px;
    line-height: 1.65;
  }

  .experiment-panel .spatial-benchmark figcaption,
  .experiment-panel .cognitive-benchmark > figcaption,
  .experiment-panel .cognitive-target-benchmark > figcaption,
  .experiment-panel .temporal-benchmark > figcaption {
    font-size: 15px;
    line-height: 1.35;
  }

  .exp5-disturbance-heading strong,
  .experiment-panel .exp5-disturbance-card figcaption,
  .exp6-video-heading strong,
  .temporal-carousel-heading strong {
    font-size: 15px;
  }
}
