@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");
:root {
  --bg: #fbf8ef;
  --paper: #fffdf7;
  --ink: #292637;
  --muted: #686573;
  --purple: #6050a0;
  --line: #d9d4d9;
  --type-caption: 12px;
  --type-small: 14px;
  --type-body: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font:
    var(--type-body)/1.65 Manrope,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
}
img {
  max-width: 100%;
  object-fit: contain;
}
h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  line-height: 1.15;
  letter-spacing: -0.035em;
}
em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
sup {
  font-size: 0.65em;
  vertical-align: super;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex="0"]:focus-visible {
  outline: 3px solid #9573ce;
  outline-offset: 4px;
  border-radius: 5px;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  top: 10px;
  opacity: 0;
  pointer-events: none;
  left: 20px;
  background: var(--ink);
  color: white;
  padding: 12px;
  z-index: 100;
}
.skip-link:focus {
  top: 10px;
  opacity: 1;
  pointer-events: auto;
}
.topbar {
  max-width: 1500px;
  margin: auto;
  padding: 20px 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  white-space: nowrap;
}
.brand img {
  flex: none;
}
.brand-sub {
  display: block;
  font-size: var(--type-small);
  letter-spacing: 0.02em;
  font-weight: 500;
  color: var(--muted);
  margin-top: 4px;
}
.topbar nav {
  display: flex;
  align-items: center;
  gap: 27px;
  font-size: var(--type-body);
  font-weight: 600;
}
.topbar nav a {
  position: relative;
  padding: 8px 0;
}
.topbar nav a:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--purple);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.topbar nav a:hover:after,
.topbar nav a[aria-current]:after {
  transform: scaleX(1);
}
.topbar nav .nav-papers {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border: 1px solid var(--purple);
  border-radius: 999px;
  background: var(--purple);
  color: var(--paper);
  box-shadow: 0 3px 0 #ded2b8;
  font-weight: 800;
}
.topbar nav .nav-papers:after {
  display: none;
}
.topbar nav .nav-papers:hover,
.topbar nav .nav-papers[aria-current="page"] {
  background: #4b3b85;
  border-color: #4b3b85;
}
.star {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--ink);
  border-radius: 30px;
  font-size: var(--type-small);
  font-weight: 700;
  padding: 10px 15px;
  white-space: nowrap;
  transition:
    background 0.25s,
    transform 0.35s var(--ease);
}
.star svg {
  width: 17px;
  height: 17px;
  transition: transform 0.65s var(--ease);
}
.star:hover {
  background: #f4e9bc;
}
.star:hover svg {
  transform: rotate(144deg) scale(1.2);
}
.page {
  max-width: 1320px;
  margin: auto;
  padding: 0 48px;
}
.eyebrow {
  text-transform: uppercase;
  font-size: var(--type-small);
  letter-spacing: 0.12em;
  font-weight: 800;
  color: var(--purple);
  line-height: 1.6;
}
.section {
  padding: 82px 0;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
  margin-bottom: 36px;
}
.section-heading h2 {
  font-size: clamp(32px, 3.4vw, 49px);
  font-weight: 600;
  margin-top: 12px;
  line-height: 1.1;
}
.section-heading h2 em {
  color: var(--purple);
}
.section-aside {
  max-width: 330px;
  font-size: var(--type-body);
  color: var(--muted);
  line-height: 1.85;
}
.section-aside .text-link {
  margin-top: 14px;
  display: inline-block;
}
.text-link {
  font-size: var(--type-small);
  font-weight: 700;
  color: var(--purple);
  padding: 0;
  border-bottom: 1px solid transparent;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.text-link:hover {
  border-color: currentColor;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  justify-content: space-between;
  padding: 13px 21px;
  border: 1px solid var(--ink);
  border-radius: 30px;
  font-size: var(--type-body);
  font-weight: 700;
  transition:
    background 0.25s,
    box-shadow 0.25s,
    transform 0.4s var(--ease);
}
.button.primary {
  background: var(--ink);
  color: var(--paper);
}
.button:hover {
  background: #eee4c9;
  box-shadow: 3px 4px 0 #d2c5df;
}
.button.primary:hover {
  background: var(--purple);
}
.actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 22px;
}
/* Editorial cover: two connected research axes, with one quiet moving seal. */
.hero {
  padding: 62px 0 48px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  position: relative;
}
.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.tiny-orbit {
  font-size: 22px;
  line-height: 1;
}
.hero h1 {
  font-size: clamp(40px, 4.25vw, 67px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.055em;
}
.hero h1 em {
  color: var(--purple);
  font-size: 1.12em;
}
.title-dot {
  color: var(--purple);
}
.hero-side {
  position: relative;
  padding-top: 82px;
}
.hero-side h2 {
  font-size: clamp(27px, 2.7vw, 39px);
  line-height: 1.1;
  font-weight: 600;
}
.hero-side h2 em {
  color: var(--purple);
}
.hero-side > p {
  font-size: var(--type-body);
  color: var(--muted);
  line-height: 1.85;
  margin-top: 19px;
  max-width: 340px;
}
.hero-index {
  display: flex;
  gap: 25px;
  margin-top: 32px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  width: max-content;
  max-width: 100%;
}
.hero-index a {
  font-size: var(--type-small);
  font-weight: 700;
  display: flex;
  gap: 12px;
  align-items: center;
}
.hero-index span {
  font:
    var(--type-caption) Consolas,
    monospace;
  color: var(--muted);
}
.hero-index b {
  transition: transform 0.4s;
}
.hero-index a:hover b {
  transform: translateY(5px);
}
.round-stamp {
  position: absolute;
  top: -5px;
  right: 0;
  width: 103px;
  height: 103px;
  border: 1px solid #c7ae5e;
  border-radius: 50%;
  background: #f0d77e;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  transform: rotate(12deg);
  box-shadow: 4px 5px 0 #eee4c9;
}
.round-stamp span {
  font-size: var(--type-caption);
  letter-spacing: 0.09em;
  font-weight: 800;
}
.round-stamp b {
  font: 48px/1 Georgia;
  animation: seal-spin 28s linear infinite;
}
.round-stamp:hover b {
  animation-duration: 5s;
}
@keyframes seal-spin {
  to {
    transform: rotate(360deg);
  }
}
/* Figures remain intact. The hotspots sit in the same normalized coordinate space. */
.research-map {
  padding-top: 20px;
  position: relative;
}
.anchor-alias {
  position: absolute;
  top: 0;
}
.map-wrap {
  position: relative;
  background: #fffefa;
  border: 1px solid #d5cbd9;
  border-radius: 28px 28px 10px 10px;
  padding: 29px 22px 0;
  box-shadow: 9px 10px 0 #e7dfcf;
}
.map-sticker {
  position: absolute;
  top: -22px;
  right: 48px;
  z-index: 2;
  background: #ecda99;
  color: #3b3444;
  font-size: var(--type-small);
  line-height: 1.4;
  padding: 14px 22px;
  transform: rotate(7deg);
  box-shadow: 3px 4px 0 #3a294812;
  border: 1px solid #d1b969;
}
.map-sticker em {
  font-size: 17px;
}
.map-sticker b {
  position: absolute;
  right: 6px;
  bottom: 4px;
}
.figure-scroll {
  overflow: visible;
}
.original-map {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: #fffefa;
}
.original-map > img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}
.figure-hotspots {
  position: absolute;
  inset: 0;
}
.figure-hotspot {
  position: absolute;
  border: 2px solid transparent;
  border-radius: 6px;
  transition:
    background 0.3s,
    box-shadow 0.35s,
    border-color 0.3s;
  cursor: pointer;
}
.figure-hotspot > span {
  position: absolute;
  top: -14px;
  right: -3px;
  white-space: nowrap;
  font-size: var(--type-small);
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 3px 9px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  opacity: 0;
  transform: translateY(5px);
  transition: 0.3s var(--ease);
  pointer-events: none;
}
.figure-hotspot:hover,
.figure-hotspot:focus-visible {
  border-color: #7860b4;
  background: #b6a0df1a;
  box-shadow:
    0 0 0 5px #9c80da22,
    0 8px 22px #5c3b8022;
  z-index: 2;
}
.figure-hotspot:hover > span,
.figure-hotspot:focus-visible > span {
  opacity: 1;
  transform: translateY(0);
}
.map-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-height: 52px;
  font-size: var(--type-small);
  border-top: 1px solid var(--line);
  margin-top: 15px;
  color: var(--muted);
}
.map-status > span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.map-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9882bb;
  flex: none;
}
.map-status a {
  font-weight: 700;
  color: var(--purple);
  white-space: nowrap;
}
.scope-ribbon {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 32px;
}
.scope-ribbon > a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 6px;
  font-size: var(--type-body);
  font-weight: 700;
  flex: 1;
  min-width: 0;
  border-bottom: 1px solid var(--line);
  transition: transform 0.35s var(--ease);
}
.scope-ribbon img {
  width: 50px;
  height: 50px;
  mix-blend-mode: multiply;
  transition: transform 0.45s var(--ease);
}
.scope-ribbon b {
  margin-left: auto;
  font-weight: 400;
}
.scope-ribbon a:hover img {
  transform: rotate(-9deg) translateY(-4px) scale(1.1);
}
.scope-ribbon a:hover {
  border-bottom-color: var(--scope-ink);
}
.artifacts {
  --scope-ink: #71509f;
  --scope-bg: #e9e0f6;
}
.processes {
  --scope-ink: #5c7c3d;
  --scope-bg: #e3ecd5;
}
.equipment {
  --scope-ink: #aa6238;
  --scope-bg: #f5e4d5;
}
.production {
  --scope-ink: #368197;
  --scope-bg: #dbedf0;
}
.fabs {
  --scope-ink: #536aa0;
  --scope-bg: #e3e8f5;
}
.team {
  padding: 20px 0 25px;
  border-top: 1px solid var(--line);
}
.team > .eyebrow {
  font-size: var(--type-caption);
}
.authors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: var(--type-body);
  font-weight: 600;
  margin: 18px 0 12px;
}
.authors a {
  border-bottom: 1px solid #c3b2d4;
  transition: color 0.2s;
}
.authors a:hover {
  color: var(--purple);
}
.affiliations {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-size: var(--type-small);
  color: var(--muted);
}
.corresponding {
  font-size: var(--type-caption);
  color: var(--muted);
  margin-top: 9px;
}
.news {
  display: flex;
  align-items: center;
  gap: 25px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  font-size: var(--type-small);
}
.news time {
  font-size: var(--type-caption);
  color: var(--muted);
}
.news p {
  flex: 1;
}
.news > a {
  font-size: 23px;
}
/* A panoramic original figure above a compact, playable process guide. */
.journey {
  border-top: 1px solid var(--line);
}
.journey-window {
  overflow: visible;
  padding-top: 24px;
}
.panorama {
  position: relative;
  min-width: 0;
  /* A fixed backdrop keeps multiply unchanged when an ancestor is animated. */
  isolation: isolate;
  background: var(--bg);
}
.panorama > img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}
.journey-tabs {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 0;
  margin-top: 25px;
  border-bottom: 1px solid var(--line);
}
.journey-tabs button {
  position: relative;
  text-align: left;
  min-height: 63px;
  padding: 8px;
  font-size: var(--type-small);
  line-height: 1.4;
  transition:
    background 0.3s,
    color 0.3s;
}
.journey-tabs small {
  display: block;
  color: var(--muted);
  font-size: var(--type-caption);
  margin-bottom: 5px;
}
.journey-tabs button:after {
  content: "";
  height: 3px;
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  background: var(--purple);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease);
}
.journey-tabs button[aria-selected="true"] {
  background: #e8def26b;
  color: var(--purple);
  font-weight: 800;
}
.journey-tabs button[aria-selected="true"]:after {
  transform: scaleX(1);
}
.journey-tabs button:hover {
  background: #e8def238;
}
.step-detail {
  display: grid;
  grid-template-columns: 100px 1fr 245px;
  gap: 25px;
  align-items: start;
  padding: 28px 15px 28px 0;
  min-height: 184px;
}
.step-number {
  font: italic 82px/0.95 Georgia;
  color: #c7b7d9;
  letter-spacing: -0.1em;
}
.step-copy h3 {
  font-size: 24px;
  margin: 8px 0 11px;
  font-weight: 600;
}
.step-copy p:last-child {
  font-size: var(--type-body);
  color: var(--muted);
  line-height: 1.8;
  max-width: 530px;
}
.step-tasks {
  padding-top: 5px;
  font-size: var(--type-small);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.step-tasks > span {
  color: var(--muted);
  font-size: var(--type-caption);
}
.step-tasks a {
  border-bottom: 1px solid var(--line);
  padding: 5px 0;
  color: var(--purple);
}
.step-tasks .related-more {
  width: 100%;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
}
.journey-note {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: var(--type-small);
  border-top: 1px solid var(--line);
  padding: 15px 0;
}
.journey-note > span {
  font-size: 30px;
  color: var(--purple);
}
.journey-note p {
  flex: 1;
  color: var(--muted);
}
.next-step {
  font-size: var(--type-small);
  font-weight: 700;
  white-space: nowrap;
}
.next-step span {
  margin-left: 10px;
}
.interlude {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 22px;
  padding: 26px 0;
  border-top: 1px solid #c4b991;
  border-bottom: 1px solid #c4b991;
  background: #eee2b3;
  font-size: clamp(18px, 2.1vw, 29px);
  font-weight: 500;
  transform: rotate(-1.5deg);
  margin: 0 -18px;
  white-space: nowrap;
  overflow: hidden;
}
.interlude b {
  font-weight: 400;
  color: #8b6b2d;
}
.interlude em {
  font-size: 1.2em;
}
/* One continuous stage illustration with a travelling spotlight. */
.hand-note {
  display: block;
  font: italic 19px Georgia;
  color: var(--purple);
  transform: rotate(-4deg);
  margin-top: 17px;
}
.stage-board {
  padding-top: 10px;
}
.stage-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-bottom: 1px solid var(--line);
}
.stage-tabs button {
  position: relative;
  text-align: left;
  padding: 16px 15px 19px;
  border-right: 1px solid var(--line);
  font-size: 16px;
  font-weight: 700;
  transition: color 0.3s;
}
.stage-tabs button:last-child {
  border: 0;
}
.stage-tabs small {
  display: block;
  font:
    var(--type-caption) Consolas,
    monospace;
  color: var(--muted);
  margin-bottom: 9px;
}
.stage-tabs button b {
  position: absolute;
  right: 17px;
  top: 15px;
  font-size: 20px;
  font-weight: 400;
  opacity: 0;
  transform: translate(-5px, -5px);
  transition: 0.4s var(--ease);
}
.stage-tabs button[aria-selected="true"] {
  color: var(--purple);
}
.stage-tabs button[aria-selected="true"] b {
  opacity: 1;
  transform: none;
}
.stage-tabs button:after {
  position: absolute;
  content: "";
  bottom: -2px;
  left: 10px;
  right: 10px;
  height: 3px;
  background: var(--purple);
  transform: scaleX(0);
  transition: transform 0.5s var(--ease);
}
.stage-tabs button[aria-selected="true"]:after {
  transform: scaleX(1);
}
.robot-scroll {
  overflow: visible;
  padding: 24px 0 12px;
}
.robot-strip {
  position: relative;
  min-width: 0;
  isolation: isolate;
  background: var(--bg);
  padding: 19px 0;
}
.stage-illustration {
  position: relative;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: multiply;
}
.stage-illustration > img {
  display: block;
  width: 100%;
  height: auto;
}
.robot-spotlight {
  position: absolute;
  top: 0;
  left: var(--stage-left);
  width: var(--stage-width);
  height: 100%;
  border: 1px solid #b99ccb;
  border-radius: 50% 50% 16px 16px;
  background: radial-gradient(ellipse at 50% 55%, #c4a5ef5c, transparent 72%);
  transition:
    left 0.75s var(--ease),
    width 0.75s var(--ease),
    border-radius 0.75s;
  z-index: 0;
}
.robot-hotspot {
  position: absolute;
  z-index: 2;
  top: 0;
  height: 100%;
  border-radius: 40% 40% 12px 12px;
  transition: box-shadow 0.3s;
}
.robot-hotspot:hover {
  box-shadow: inset 0 0 25px #9271cd25;
}
.stage-detail {
  display: grid;
  grid-template-columns: 110px 1fr 1fr;
  gap: 30px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 30px 14px 30px 0;
  min-height: 226px;
}
.stage-index {
  font: italic 93px/0.95 Georgia;
  color: #c4b5d6;
  letter-spacing: -0.08em;
}
.stage-copy h3 {
  font-size: 28px;
  line-height: 1.15;
  margin: 10px 0 13px;
  font-weight: 600;
  max-width: 370px;
}
.stage-copy > p:not(.eyebrow) {
  font-size: var(--type-body);
  line-height: 1.8;
  color: var(--muted);
  max-width: 385px;
}
.stage-example {
  border-left: 1px solid var(--line);
  padding-left: 35px;
}
.stage-example > span {
  font-size: var(--type-caption);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--purple);
}
.stage-example p {
  font-size: var(--type-body);
  line-height: 1.8;
  margin: 10px 0 16px;
}
.stage-library.button {
  margin-top: 4px;
  max-width: 100%;
  background: var(--purple);
  color: #fff;
  border-color: var(--purple);
  box-shadow: 4px 4px 0 #ded2b8;
}
.stage-library.button:hover {
  background: #4b3b85;
  box-shadow: 5px 6px 0 #d5c5e3;
}
.stage-foot {
  font-size: var(--type-small);
  color: var(--muted);
  margin-top: 16px;
}
.stage-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
/* A dark research observatory: circles show real, multi-label coverage. */
.coverage {
  background: #2c283b;
  color: #f8f2e5;
  margin: 20px -32px;
  padding: 58px 42px 28px;
  border-radius: 10px 46px 12px 46px;
  position: relative;
  box-shadow: 9px 11px 0 #e1d6ba;
}
.coverage:before {
  content: "✳";
  position: absolute;
  top: -35px;
  right: 30px;
  font: 80px/1 Georgia;
  color: #e6c960;
  transform: rotate(13deg);
  pointer-events: none;
}
.coverage .eyebrow {
  color: #c9b2e8;
}
.coverage .section-heading h2 {
  font-size: 40px;
}
.coverage .section-heading em {
  color: #d0b7f1;
}
.coverage .section-aside {
  color: #bfb8ce;
  max-width: 275px;
}
.coverage .text-link {
  color: #eee2b3;
}
.chart-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 36px 0 25px;
}
.chart-tabs {
  display: flex;
  gap: 25px;
}
.chart-tabs button {
  color: #a9a1bb;
  font-size: var(--type-body);
  padding: 10px 0;
  border-bottom: 2px solid transparent;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.chart-tabs button[aria-selected="true"] {
  color: white;
  border-color: #d5bbee;
}
.chart-unit {
  display: flex;
  padding: 4px;
  border: 1px solid #5a536d;
  border-radius: 30px;
  gap: 5px;
}
.chart-unit button {
  color: #bfb8ce;
  font-size: var(--type-small);
  padding: 7px 12px;
  border-radius: 20px;
  transition: background 0.3s;
}
.chart-unit button[aria-pressed="true"] {
  background: #e9deed;
  color: #322640;
}
.matrix-scroll {
  overflow: visible;
}
.coverage-matrix {
  display: grid;
  grid-template-columns: minmax(100px, 145px) repeat(5, minmax(0, 1fr));
  min-width: 0;
}
.matrix-heading {
  font-size: var(--type-small);
  font-weight: 600;
  text-align: center;
  padding: 8px 0 20px;
  color: #e7d8f6;
}
.matrix-heading small {
  display: block;
  font-size: var(--type-caption);
  letter-spacing: 0.15em;
  color: #aea2c0;
  margin-bottom: 7px;
}
.matrix-corner {
  display: flex;
  align-items: end;
  padding-bottom: 19px;
  font-size: var(--type-caption);
  color: #bfb8ce;
}
.matrix-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 92px;
  border-top: 1px solid #54496099;
  font-size: var(--type-body);
  font-weight: 600;
}
.matrix-row img {
  width: 35px;
  height: 39px;
  object-fit: contain;
}
.matrix-row small {
  display: block;
  color: #bfb8ce;
  font-size: var(--type-caption);
  font-weight: 400;
  margin-top: 4px;
}
.matrix-cell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  border-top: 1px solid #54496099;
  isolation: isolate;
}
.matrix-cell:before {
  content: "";
  position: absolute;
  width: max(5px, calc(var(--bubble-max, 72px) * var(--fraction)));
  height: max(5px, calc(var(--bubble-max, 72px) * var(--fraction)));
  border-radius: 50%;
  background: var(--bubble, #cfb4f1);
  opacity: 0.83;
  transition:
    width 0.65s var(--ease),
    height 0.65s var(--ease),
    transform 0.45s var(--ease),
    opacity 0.3s;
  z-index: -1;
}
.matrix-cell > span {
  font-size: var(--type-small);
  font-weight: 800;
  color: #292637;
  font-variant-numeric: tabular-nums;
}
.matrix-cell.small-value > span {
  color: #eee5f9;
  transform: translateY(23px);
  font-size: var(--type-caption);
}
.matrix-cell:hover:before,
.matrix-cell:focus-visible:before {
  transform: scale(1.15);
  opacity: 1;
  box-shadow: 0 0 28px #dac4ff22;
}
.matrix-cell:hover {
  background: #fff1;
}
.matrix-cell[data-count="0"]:before {
  background: transparent;
  border: 1px solid #746489;
  width: 6px;
  height: 6px;
}
.chart-readout {
  min-height: 63px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 0 8px;
  color: #e4d8f4;
  font-size: var(--type-small);
}
.chart-readout > p {
  max-width: 540px;
}
.size-key {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: var(--type-caption);
  color: #c2b8cf;
  white-space: nowrap;
}
.size-key i {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d2b7ec;
}
.size-key i:nth-child(2) {
  width: 10px;
  height: 10px;
}
.size-key i:nth-child(3) {
  width: 16px;
  height: 16px;
  margin-right: 4px;
}
.coverage-bottom {
  border-top: 1px solid #51465e;
  padding-top: 17px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: var(--type-caption);
  color: #bfb8ce;
}
.coverage-bottom a {
  white-space: nowrap;
  color: #eee2b3;
}
.timeline-chart {
  --chart-plot: 315px;
  height: 445px;
  display: flex;
  gap: 4px;
  align-items: stretch;
  padding-top: 25px;
  overflow: visible;
}
.year-bar {
  flex: 1;
  min-width: 17px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
  position: relative;
  font-size: var(--type-caption);
  gap: 9px;
  padding: 20px 0 27px;
}
.year-bar .year-value {
  opacity: 0;
  transition: opacity 0.3s;
  color: #eee2b3;
}
.year-bar .bar {
  display: block;
  width: 100%;
  height: calc(var(--share) * var(--chart-plot));
  flex-shrink: 0;
  min-height: 3px;
  background: linear-gradient(0deg, #9982ba, #d7beef);
  border-radius: 3px 3px 0 0;
  transition:
    filter 0.3s,
    transform 0.3s;
  transform-origin: bottom;
}
.year-bar:hover .year-value,
.year-bar:focus-visible .year-value {
  opacity: 1;
}
.year-bar:hover .bar {
  filter: brightness(1.2);
  transform: scaleX(1.1);
}
.year-bar .year-label {
  position: absolute;
  bottom: 1px;
  left: 50%;
  transform: translateX(-50%) rotate(-55deg);
  font-size: var(--type-caption);
  color: #c4b9d0;
  white-space: nowrap;
}
.timeline-note {
  color: #c2b8cf;
  font-size: var(--type-small);
  margin: 18px 0;
}
.fab-vision {
  padding-top: 100px;
}
.vision-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin: 40px 0 0;
}
.vision-principles > div {
  border-top: 1px solid var(--line);
  position: relative;
  padding: 17px 0 0 38px;
}
.vision-principles span {
  font: italic 21px Georgia;
  color: var(--purple);
  position: absolute;
  left: 0;
  top: 14px;
}
.vision-principles h3 {
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: 700;
}
.vision-principles p {
  font-size: var(--type-small);
  color: var(--muted);
  line-height: 1.8;
}
.citation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
  border-top: 1px solid var(--line);
}
.citation h2 {
  font-size: 36px;
  margin: 15px 0;
}
.citation > div > p:not(.eyebrow) {
  font-size: var(--type-body);
  color: var(--muted);
  max-width: 360px;
  line-height: 1.8;
  margin-top: 20px;
}
.cite-card {
  padding: 24px 26px;
  background: #fffdf8;
  border: 1px solid #cbc1d7;
  border-radius: 18px;
  box-shadow: 5px 6px 0 #ebe4d5;
  transform: rotate(1.3deg);
}
.cite-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-size: var(--type-small);
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 26px;
}
.copy-citation {
  padding: 7px 12px;
  border: 1px solid #d5cddd;
  border-radius: 20px;
  font-size: var(--type-small);
  background: #f2eaf7;
}
.cite-card h3 {
  font-family: Georgia, serif;
  font-size: 27px;
  font-weight: 400;
}
.cite-card > p {
  font-size: var(--type-body);
  line-height: 1.7;
  margin-top: 10px;
}
.cite-meta {
  display: block;
  color: var(--muted);
  font-size: var(--type-small);
  margin: 16px 0 22px;
}
.cite-card details {
  border-top: 1px solid var(--line);
}
.cite-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--type-small);
  font-weight: 700;
  padding-top: 14px;
  cursor: pointer;
  list-style: none;
}
.cite-card summary::-webkit-details-marker {
  display: none;
}
.cite-card summary span {
  font-size: 18px;
}
.cite-card pre {
  font:
    var(--type-small)/1.8 Consolas,
    monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin-bottom: 0;
}
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-top: 1px solid var(--line);
  padding: 28px 4%;
  max-width: 1500px;
  margin: auto;
}
.footer p {
  font-size: var(--type-small);
  color: var(--muted);
}
.footer > div {
  display: flex;
  gap: 20px;
  font-size: var(--type-small);
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 23px;
  border-radius: 30px;
  font-size: var(--type-body);
  z-index: 50;
  transition:
    opacity 0.3s,
    transform 0.4s var(--ease);
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.diagram-dialog {
  width: min(96vw, 1400px);
  max-height: none;
  overflow: visible;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  color: var(--ink);
}
.diagram-dialog::backdrop {
  background: #221b37b3;
  backdrop-filter: blur(6px);
}
.dialog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: var(--paper);
  z-index: 2;
}
.dialog-toolbar h2 {
  font-size: 14px;
  letter-spacing: 0;
}
.close-dialog {
  font-size: 28px;
  width: 40px;
  height: 40px;
}
.diagram-scroll {
  display: flex;
  justify-content: center;
  overflow: visible;
  padding: 15px;
}
.diagram-scroll img {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  max-height: calc(92dvh - 120px);
  height: auto;
  object-fit: contain;
}
/* The reading room: task and stage are independent, combinable filters. */
.library {
  max-width: 1440px;
  padding: 35px 4% 70px;
  margin: auto;
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  gap: 45px;
  align-items: start;
  min-height: 75vh;
}
.library-nav {
  position: static;
  max-height: none;
  overflow: visible;
  padding-right: 9px;
}
.library-nav-toggle {
  display: none;
}
.library-home {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--type-body);
  font-weight: 800;
  border-bottom: 1px solid var(--line);
  padding: 10px 9px 20px;
  margin-bottom: 14px;
}
.scope-nav {
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.scope-nav summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 7px;
  cursor: pointer;
  font-size: var(--type-body);
  font-weight: 800;
  list-style: none;
}
.scope-nav summary::-webkit-details-marker {
  display: none;
}
.scope-nav summary > span {
  margin-left: auto;
  font-weight: 400;
}
.scope-nav:not([open]) summary > span {
  font-size: 0;
}
.scope-nav:not([open]) summary > span:after {
  content: "+";
  font-size: 16px;
}
.scope-nav summary img {
  mix-blend-mode: multiply;
}
.scope-nav > div {
  padding: 0 0 8px;
}
.scope-nav a {
  display: flex;
  gap: 9px;
  padding: 9px 8px;
  font-size: var(--type-small);
  line-height: 1.5;
  border-radius: 7px;
  border: 1px solid transparent;
  transition: background 0.25s;
}
.scope-nav a b {
  color: var(--scope-ink);
  font-size: var(--type-caption);
  padding-top: 1px;
}
.scope-nav a:hover {
  background: #fff9;
}
.scope-nav a[aria-current] {
  background: var(--scope-bg);
  border-color: color-mix(in srgb, var(--scope-ink) 30%, transparent);
  font-weight: 700;
}
.library-heading {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  min-height: 196px;
  padding: 20px 0 32px;
}
.library-heading h1 {
  font-size: clamp(28px, 3vw, 41px);
  line-height: 1.17;
  max-width: 690px;
  margin: 13px 0 15px;
  font-weight: 600;
}
.library-heading h1 > span {
  color: var(--purple);
}
.library-heading > img {
  width: 110px;
  height: 110px;
  mix-blend-mode: multiply;
  flex: none;
}
.library-heading p:not(.eyebrow) {
  font-size: var(--type-body);
  color: var(--muted);
  max-width: 625px;
  line-height: 1.8;
}
.library-stages {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 0 22px;
}
.library-stages button {
  border: 1px solid #c9bcda;
  border-radius: 22px;
  padding: 7px 12px;
  font-size: var(--type-small);
  transition:
    background 0.3s,
    transform 0.4s var(--ease);
}
.library-stages button small {
  font: var(--type-caption) Consolas;
  color: var(--purple);
  margin-right: 2px;
}
.library-stages button[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}
.library-stages button[aria-pressed="true"] small {
  color: #ceb9ea;
}
.library-stages button:hover {
  transform: translateY(-2px);
}
.library-controls {
  display: grid;
  grid-template-columns: 1.6fr 1fr 0.7fr 0.85fr;
  gap: 12px;
  background: #f0ebdf;
  border: 1px solid #ded7c8;
  border-radius: 16px;
  padding: 18px;
}
.library-controls label > span {
  display: block;
  font-size: var(--type-caption);
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 8px;
}
.library-controls input,
.library-controls select {
  width: 100%;
  min-width: 0;
  height: 42px;
  border: 1px solid #d9d1c8;
  border-radius: 8px;
  background: var(--paper);
  font-size: var(--type-small);
  padding: 0 10px;
}
.search-field > div {
  position: relative;
}
.search-field input {
  padding-left: 31px;
}
.search-field svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.6;
  position: absolute;
  top: 14px;
  left: 10px;
}
.result-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 20px 0 15px;
  font-size: var(--type-small);
  color: var(--muted);
}
.result-bar .text-link {
  font-size: var(--type-small);
}
#active-filters {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}
#active-filters:empty {
  display: none;
}
#active-filters button {
  font-size: var(--type-small);
  border: 1px solid #b9a7cb;
  padding: 5px 10px;
  border-radius: 8px;
  background: #eae2f3;
}
.paper-card {
  border: 1px solid #ddd5df;
  background: var(--paper);
  padding: 23px 24px;
  border-radius: 14px;
  margin-bottom: 13px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 18px;
  transition:
    border-color 0.3s,
    box-shadow 0.35s;
}
.paper-card:hover {
  border-color: #9e8ab4;
  box-shadow: 0 5px 14px #28213b09;
}
.paper-year {
  font-size: var(--type-small);
  font-weight: 800;
  color: var(--purple);
  line-height: 1.5;
  padding-top: 2px;
}
.paper-card h2 {
  font-size: var(--type-body);
  line-height: 1.55;
  font-weight: 700;
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
}
.paper-meta {
  font-size: var(--type-small);
  color: var(--muted);
  margin: 8px 0 15px;
  line-height: 1.8;
}
.paper-bottom {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.task-chip,
.stage-chip,
.paper-resource,
.support-chip {
  border: 1px solid #c6b8d6;
  border-radius: 7px;
  padding: 4px 9px;
  font-size: var(--type-caption);
  font-weight: 600;
  color: var(--purple);
  line-height: 1.7;
}
.task-chip {
  color: var(--scope-ink);
  background: var(--scope-bg);
  border-color: color-mix(in srgb, var(--scope-ink) 20%, transparent);
}
.stage-chip {
  border-style: dashed;
  background: #f3edf9;
}
.support-chip {
  color: var(--muted);
  border-color: var(--line);
}
.paper-resource {
  background: #f6f1df;
  color: #5c503b;
  border-color: #d1c4a1;
}
.paper-resource:hover {
  background: #ece1bc;
}
.paper-version {
  color: #4c646c;
  background: #edf2f1;
  border-color: #bfcdca;
}
.paper-version:hover, .paper-version:focus-visible {
  color: #263f46;
  border-color: currentColor;
}
.paper-counting {
  color: #675c3f;
  background: #f5f0e3;
  border-style: dashed;
  border-color: #c6b995;
}
.stage-chip:hover {
  background: #e1d3f2;
}
.paper-tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 9px;
}
.load-more {
  padding-top: 20px;
  display: flex;
  justify-content: center;
}
.load-more .button {
  font-size: var(--type-small);
}
.no-results {
  padding: 50px 25px;
  text-align: center;
  border: 1px dashed #cbbfd7;
  border-radius: 20px;
  background: #f2edf5;
}
.no-results img {
  width: 75px;
  height: 75px;
  mix-blend-mode: multiply;
  margin-bottom: 15px;
}
.no-results h2 {
  font-size: 24px;
}
.no-results p {
  font-size: var(--type-body);
  color: var(--muted);
  margin-top: 12px;
}
@media (min-width: 1600px) {
  .hero h1 {
    font-size: 68px;
  }
}
@media (max-width: 1100px) {
  .page {
    padding: 0 32px;
  }
  .topbar {
    padding: 18px 3%;
  }
  .topbar nav {
    gap: 17px;
  }
  .hero {
    gap: 30px;
    grid-template-columns: 1.45fr 1fr;
  }
  .hero h1 {
    font-size: 49px;
  }
  .hero-index {
    gap: 17px;
  }
  .hero-index a {
    font-size: var(--type-caption);
    gap: 7px;
  }
  .section-heading h2 {
    font-size: 38px;
  }
  .scope-ribbon img {
    width: 38px;
  }
  .scope-ribbon > a {
    gap: 6px;
    font-size: var(--type-small);
  }
  .stage-tabs button {
    font-size: var(--type-body);
  }
  .stage-detail {
    grid-template-columns: 75px 1fr 1fr;
    gap: 20px;
  }
  .stage-index {
    font-size: 72px;
  }
  .stage-copy h3 {
    font-size: 25px;
  }
  .coverage {
    margin-left: -12px;
    margin-right: -12px;
    padding: 45px 30px 25px;
  }
  .coverage .section-heading h2 {
    font-size: 34px;
  }
  .step-detail {
    grid-template-columns: 70px 1fr 190px;
  }
  .step-number {
    font-size: 66px;
  }
  .library {
    gap: 24px;
    grid-template-columns: 210px minmax(0, 1fr);
  }
  .library-controls {
    grid-template-columns: 1.6fr 1fr;
  }
  .citation {
    gap: 35px;
  }
  .vision-principles {
    gap: 22px;
  }
}
@media (max-width: 800px) {
  .topbar {
    flex-wrap: wrap;
    padding: 16px 24px;
    gap: 15px;
  }
  .topbar nav {
    order: 3;
    flex: 1 0 100%;
    justify-content: center;
    gap: 30px;
    border-top: 1px solid var(--line);
    padding-top: 7px;
  }
  .brand {
    font-size: var(--type-body);
  }
  .brand-sub {
    font-size: var(--type-caption);
  }
  .star {
    font-size: var(--type-small);
    padding: 8px 12px;
  }
  .star svg {
    width: 14px;
  }
  .hero {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    padding: 45px 0 30px;
  }
  .hero h1 {
    font-size: 37px;
  }
  .hero .eyebrow {
    font-size: var(--type-caption);
  }
  .hero-index {
    display: none;
  }
  .hero-side {
    padding-top: 85px;
  }
  .hero-side h2 {
    font-size: 29px;
  }
  .hero-side > p {
    font-size: var(--type-small);
  }
  .hero-side .actions {
    gap: 13px;
  }
  .hero-side .button {
    font-size: var(--type-small);
    padding: 10px 15px;
  }
  .round-stamp {
    width: 80px;
    height: 80px;
    top: 0;
  }
  .round-stamp span {
    font-size: var(--type-caption);
  }
  .round-stamp b {
    font-size: 36px;
  }
  .section {
    padding: 60px 0;
  }
  .research-map {
    padding-top: 25px;
  }
  .section-heading {
    gap: 30px;
  }
  .section-heading h2 {
    font-size: 33px;
  }
  .section-aside {
    max-width: 260px;
    font-size: var(--type-small);
  }
  .map-wrap {
    padding: 22px 10px 0;
  }
  .map-sticker {
    right: 25px;
    font-size: var(--type-caption);
    padding: 8px 17px;
    top: -18px;
  }
  .map-sticker em {
    font-size: var(--type-body);
  }
  .scope-ribbon {
    flex-wrap: wrap;
    gap: 7px;
  }
  .scope-ribbon > a {
    flex: 1 0 25%;
    max-width: 33%;
    font-size: var(--type-small);
  }
  .scope-ribbon img {
    width: 38px;
    height: 38px;
  }
  .news {
    gap: 12px;
    flex-wrap: wrap;
  }
  .news p {
    flex-basis: 70%;
  }
  .journey-tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: visible;
  }
  .journey-tabs button {
    min-width: 0;
    flex: 1;
  }
  .step-detail {
    grid-template-columns: 60px 1fr;
    gap: 18px;
    min-height: 250px;
  }
  .step-tasks {
    grid-column: 2;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 18px;
    padding-top: 0;
  }
  .step-tasks > span {
    display: none;
  }
  .step-number {
    font-size: 60px;
  }
  .journey-note > span {
    display: none;
  }
  .stage-tabs button {
    font-size: var(--type-small);
    padding: 12px 8px;
  }
  .stage-tabs button b {
    right: 8px;
    font-size: 17px;
  }
  .stage-detail {
    grid-template-columns: 65px 1fr;
    gap: 18px;
  }
  .stage-example {
    grid-column: 2;
    border: 0;
    padding-left: 0;
  }
  .stage-copy h3 {
    font-size: 26px;
  }
  .stage-example p {
    font-size: var(--type-body);
    margin-top: 8px;
  }
  .stage-foot {
    font-size: var(--type-caption);
  }
  .coverage {
    padding: 45px 26px 24px;
    margin: 10px -12px;
  }
  .coverage .section-heading {
    display: block;
  }
  .coverage .section-aside {
    max-width: 520px;
    margin-top: 20px;
  }
  .coverage .section-heading h2 {
    font-size: 35px;
  }
  .chart-tabs {
    gap: 18px;
  }
  .chart-tabs button {
    font-size: var(--type-small);
  }
  .chart-unit button {
    font-size: var(--type-caption);
    padding: 6px 9px;
  }
  .chart-readout {
    display: block;
  }
  .size-key {
    margin-top: 10px;
  }
  .coverage-bottom {
    font-size: var(--type-caption);
  }
  .interlude {
    font-size: 21px;
    gap: 28px;
    justify-content: start;
    padding-left: 20px;
  }
  .fab-vision {
    padding-top: 75px;
  }
  .vision-principles {
    gap: 22px;
  }
  .vision-principles > div {
    padding-left: 0;
    padding-top: 40px;
  }
  .vision-principles h3 {
    font-size: 14px;
  }
  .vision-principles p {
    font-size: var(--type-small);
  }
  .citation {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .citation h2 {
    font-size: 32px;
  }
  .cite-card {
    max-width: 600px;
  }
  .footer {
    flex-wrap: wrap;
    padding: 25px 24px;
    gap: 15px;
  }
  .footer p {
    order: 3;
    flex: 1 0 100%;
  }
  .library {
    display: block;
    padding: 18px 24px 50px;
  }
  .library-nav {
    position: static;
    max-height: none;
    padding: 0;
    border-bottom: 1px solid var(--line);
  }
  .library-nav-toggle {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    font-size: var(--type-body);
    padding: 12px 0;
    font-weight: 700;
  }
  .library-nav:not(.expanded) #task-menu {
    display: none;
  }
  .library-nav-toggle span {
    font-size: 21px;
  }
  .library-heading {
    min-height: 150px;
  }
  .library-heading h1 {
    font-size: 30px;
  }
  .library-heading > img {
    width: 85px;
    height: 85px;
  }
  .library-controls {
    grid-template-columns: 1.5fr 1fr;
  }
  .library-body {
    scroll-margin-top: 15px;
  }
  .paper-card {
    padding: 21px 19px;
  }
  .library-stages {
    gap: 7px;
  }
  .library-stages button {
    font-size: var(--type-small);
  }
  .diagram-scroll {
    padding: 10px;
  }
  .diagram-dialog {
    border-radius: 10px;
  }
}
@media (max-width: 560px) {
  .stage-footer {
    display: block;
  }
  .page {
    padding: 0 20px;
  }
  .topbar {
    padding: 14px 20px;
  }
  .brand img {
    width: 33px;
    height: 33px;
  }
  .brand {
    gap: 8px;
    font-size: var(--type-small);
  }
  .brand-sub {
    font-size: var(--type-caption);
  }
  .star {
    gap: 5px;
    font-size: var(--type-caption);
    padding: 8px 9px;
  }
  .star > span:last-child {
    display: none;
  }
  .topbar nav {
    gap: 27px;
    font-size: var(--type-small);
  }
  .hero {
    display: block;
    padding: 34px 0 20px;
  }
  .hero h1 {
    font-size: clamp(35px, 8.1vw, 46px);
  }
  .hero .eyebrow {
    font-size: var(--type-caption);
    margin-bottom: 18px;
    letter-spacing: 0.08em;
  }
  .hero-side {
    padding: 28px 100px 0 0;
  }
  .hero-side h2 {
    font-size: 29px;
  }
  .round-stamp {
    top: 30px;
    right: 4px;
    width: 77px;
    height: 77px;
    transform: rotate(14deg);
  }
  .hero-side > p {
    width: calc(100% + 95px);
    max-width: none;
    margin-top: 15px;
    font-size: var(--type-body);
  }
  .hero-side .actions {
    width: calc(100% + 100px);
    margin-top: 18px;
  }
  .hero-side .button {
    font-size: var(--type-small);
    padding: 12px 16px;
  }
  .section-heading {
    display: block;
    margin-bottom: 30px;
  }
  .section-heading h2 {
    font-size: 34px;
  }
  .section-aside {
    max-width: none;
    margin-top: 19px;
    font-size: var(--type-body);
  }
  .map-wrap {
    padding: 25px 6px 0;
    border-radius: 15px 15px 8px 8px;
    box-shadow: 5px 6px 0 #e7dfcf;
  }
  .map-sticker {
    top: -12px;
    right: 25px;
    padding: 6px 13px;
  }
  .original-map {
    min-width: 0;
  }
  .map-status {
    font-size: var(--type-caption);
    margin-top: 8px;
    min-height: 48px;
    gap: 10px;
  }
  .map-status > span {
    max-width: 62%;
    gap: 5px;
  }
  .map-status a {
    font-size: var(--type-caption);
    white-space: normal;
    max-width: 86px;
  }
  .scope-ribbon {
    margin-top: 21px;
  }
  .scope-ribbon > a {
    max-width: none;
    flex: 1 0 40%;
    font-size: var(--type-body);
  }
  .scope-ribbon img {
    width: 41px;
    height: 41px;
  }
  .authors {
    font-size: var(--type-small);
    gap: 9px 17px;
  }
  .affiliations {
    font-size: var(--type-caption);
    gap: 7px;
  }
  .team > .eyebrow {
    font-size: var(--type-caption);
  }
  .news {
    padding: 13px 0;
    font-size: var(--type-small);
  }
  .news p {
    order: 3;
    flex-basis: 100%;
  }
  .news > a {
    margin-left: auto;
  }
  .panorama {
    min-width: 0;
  }
  .journey-window {
    padding-top: 15px;
  }
  .journey-tabs {
    margin-top: 16px;
  }
  .step-detail {
    grid-template-columns: 43px 1fr;
    gap: 17px;
    min-height: 285px;
    padding-right: 0;
  }
  .step-number {
    font-size: 44px;
  }
  .step-copy h3 {
    font-size: 24px;
  }
  .step-tasks {
    font-size: var(--type-caption);
  }
  .journey-note {
    font-size: var(--type-caption);
  }
  .journey-note p {
    max-width: 230px;
  }
  .next-step {
    font-size: var(--type-caption);
  }
  .next-step span {
    margin-left: 4px;
  }
  .interlude {
    margin: 0 -8px;
    font-size: 21px;
    padding: 19px 15px;
    gap: 25px;
  }
  .stage-tabs {
    overflow: visible;
    display: flex;
  }
  .stage-tabs button {
    min-width: 115px;
    flex: 1;
    font-size: var(--type-body);
    padding: 13px 11px;
  }
  .stage-tabs small {
    font-size: var(--type-caption);
  }
  .stage-detail {
    grid-template-columns: 40px 1fr;
    gap: 20px;
    padding: 23px 0;
  }
  .stage-index {
    font-size: 46px;
    align-self: start;
    padding-top: 27px;
  }
  .stage-copy h3 {
    font-size: 27px;
  }
  .stage-example {
    margin-top: 5px;
  }
  .robot-strip {
    min-width: 0;
  }
  .robot-scroll {
    padding-top: 18px;
  }
  .coverage {
    margin: 12px -9px;
    padding: 40px 18px 24px;
    border-radius: 10px 30px 10px 30px;
    box-shadow: 5px 7px 0 #e1d6ba;
  }
  .coverage:before {
    font-size: 60px;
    top: -25px;
    right: 15px;
  }
  .coverage .section-heading h2 {
    font-size: 33px;
  }
  .chart-toolbar {
    display: block;
    margin-top: 22px;
  }
  .chart-tabs {
    margin-bottom: 12px;
    gap: 26px;
  }
  .chart-tabs button {
    font-size: var(--type-body);
  }
  .chart-unit {
    width: max-content;
  }
  .coverage-bottom {
    display: block;
    font-size: var(--type-caption);
    line-height: 1.8;
  }
  .coverage-bottom a {
    display: inline-block;
    margin-top: 12px;
  }
  .coverage-matrix {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    min-width: 0;
  }
  .matrix-row {
    font-size: var(--type-small);
    gap: 6px;
  }
  .matrix-row img {
    width: 28px;
    height: 33px;
  }
  .matrix-row small {
    font-size: var(--type-caption);
  }
  .matrix-heading {
    font-size: var(--type-small);
  }
  .chart-readout {
    font-size: var(--type-small);
  }
  .timeline-chart {
    height: 340px;
    --chart-plot: 235px;
  }
  .timeline-note {
    font-size: var(--type-caption);
  }
  .vision-principles {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 30px;
  }
  .vision-principles > div {
    padding: 15px 0 0 38px;
  }
  .vision-principles h3 {
    font-size: 16px;
  }
  .vision-principles p {
    font-size: var(--type-small);
  }
  .citation {
    padding-top: 50px;
  }
  .citation h2 {
    font-size: 30px;
  }
  .cite-card {
    padding: 22px 19px;
    transform: rotate(0.5deg);
  }
  .cite-card h3 {
    font-size: 25px;
  }
  .footer {
    padding: 24px 20px;
  }
  .footer > div {
    gap: 16px;
  }
  .footer .brand {
    font-size: var(--type-small);
  }
  .footer p {
    font-size: var(--type-caption);
  }
  .library {
    padding: 15px 18px 40px;
  }
  .library-heading {
    gap: 10px;
    padding-top: 24px;
  }
  .library-heading h1 {
    font-size: 27px;
  }
  .library-heading > img {
    width: 65px;
    height: 65px;
  }
  .library-heading p:not(.eyebrow) {
    font-size: var(--type-small);
  }
  .library-heading .eyebrow {
    font-size: var(--type-caption);
  }
  .library-controls {
    grid-template-columns: 1fr 1fr;
    padding: 13px;
    gap: 11px;
  }
  .search-field {
    grid-column: 1/-1;
  }
  .library-controls label:last-child {
    grid-column: 1/-1;
  }
  .library-stages {
    gap: 6px;
  }
  .library-stages button {
    font-size: var(--type-caption);
    padding: 7px 10px;
  }
  .paper-card {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 19px 16px;
  }
  .paper-card h2 {
    font-size: 14px;
  }
  .paper-year {
    font-size: var(--type-small);
  }
  .paper-meta {
    font-size: var(--type-small);
  }
  .paper-bottom,
  .paper-tags {
    gap: 6px;
  }
  .task-chip,
  .stage-chip,
  .paper-resource,
  .support-chip {
    font-size: var(--type-caption);
    padding: 4px 7px;
  }
  .result-bar {
    font-size: var(--type-caption);
  }
  .result-bar .text-link {
    font-size: var(--type-caption);
  }
  .dialog-toolbar {
    padding: 10px 14px;
  }
  .dialog-toolbar h2 {
    font-size: var(--type-body);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .interlude,
  .cite-card {
    transform: none;
  }
}

/* Research-guide refinements: responsive seal, illustrated hotspots and stacked years. */
.paper-card {
  display: block;
}
.paper-card h2 {
  font-size: var(--type-body);
  line-height: 1.7;
}
.venue-chip {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  vertical-align: 2px;
  margin-left: 6px;
  padding: 1px 7px;
  border: 1px solid #cbb9df;
  background: #ece3f5;
  border-radius: 4px;
  color: #634b7b;
  font-size: var(--type-caption);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.9;
}
.paper-meta {
  font-size: var(--type-small);
  line-height: 1.85;
  margin: 7px 0 13px;
}
.authors-toggle {
  display: inline;
  color: #74588e;
  font-size: var(--type-caption);
  font-weight: 700;
  border-bottom: 1px dotted #ac97bf;
  margin-left: 8px;
  white-space: nowrap;
}
.paper-resource {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
}
.resource-icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
span.resource-icon {
  line-height: 1;
  font-size: var(--type-body);
}
.scope-chip {
  border: 1px solid color-mix(in srgb, var(--scope-ink) 24%, transparent);
  border-radius: 7px;
  padding: 4px 9px;
  font-size: var(--type-caption);
  font-weight: 600;
  line-height: 1.7;
  color: var(--scope-ink);
  background: var(--scope-bg);
}
.paper-tags {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #e7e0e7;
}
.scope-chip:hover,
.task-chip:hover {
  filter: brightness(0.94);
}
.round-stamp {
  padding: 0;
  overflow: hidden;
}
.round-stamp svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.round-stamp svg text {
  font:
    800 6.7px Manrope,
    sans-serif;
  letter-spacing: 0.45px;
  fill: currentColor;
}
.round-stamp b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 43px;
}
.news {
  grid-template-columns: 95px 1fr;
  align-items: start;
}
.news-records {
  min-width: 0;
}
.news-records p {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px;
  margin: 0;
  padding: 6px 0;
}
.news-records time {
  white-space: nowrap;
}
.figure-hotspot {
  transition:
    box-shadow 0.4s,
    border-color 0.25s;
}
.figure-hotspot > span {
  display: none;
}
.hotspot-art {
  position: absolute;
  inset: -1px;
  border-radius: 5px;
  background-image: var(--overview-image, none);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.98);
  transition:
    opacity 0.18s,
    transform 0.55s cubic-bezier(0.2, 1.65, 0.35, 1),
    box-shadow 0.3s;
}
.figure-hotspot:is(:hover, :focus-visible) {
  z-index: 6;
  background: transparent;
  border-color: #6a46a8;
  box-shadow: 0 0 0 4px #9c80da35;
}
.figure-hotspot:is(:hover, :focus-visible) .hotspot-art {
  opacity: 1;
  transform: translateY(-6px) rotate(-1.5deg) scale(1.055);
  box-shadow:
    5px 10px 0 #6050a033,
    0 14px 25px #3b25482b;
}
.figure-hotspot::after {
  content: "✳";
  position: absolute;
  right: -16px;
  top: -19px;
  font-size: 34px;
  line-height: 1;
  color: #daab3e;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.2) rotate(-120deg);
  transition:
    opacity 0.18s,
    transform 0.65s cubic-bezier(0.2, 1.6, 0.35, 1);
  text-shadow: 1px 1px 0 #fff;
}
.figure-hotspot:is(:hover, :focus-visible)::after {
  opacity: 1;
  transform: scale(1) rotate(20deg);
}
.pipe-hotspot {
  position: absolute;
  border-radius: 30px;
  border: 2px solid transparent;
  transition:
    box-shadow 0.35s,
    transform 0.5s cubic-bezier(0.2, 1.5, 0.35, 1),
    background 0.3s;
}
.pipe-hotspot span {
  position: absolute;
  bottom: calc(100% + 9px);
  left: 50%;
  transform: translate(-50%, 8px) rotate(-3deg);
  padding: 7px 11px;
  background: #34293f;
  color: #fff9e6;
  font-size: var(--type-small);
  border-radius: 7px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: 0.35s var(--ease);
}
.pipe-hotspot:is(:hover, :focus-visible) {
  border-color: #5b98c1;
  background: #84d9ff20;
  box-shadow:
    0 0 0 5px #88cced35,
    0 0 24px #46b8e85c;
  transform: translateY(-3px) scale(1.02);
  z-index: 6;
}
.pipe-hotspot:is(:hover, :focus-visible) span {
  opacity: 1;
  transform: translate(-50%, 0) rotate(-3deg);
}
.map-peek {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 13px;
  width: clamp(245px, 31%, 355px);
  padding: 17px 21px 17px 12px;
  background: #fff9e6;
  border: 1.5px solid #6a5580;
  border-radius: 14px 18px 14px 4px;
  box-shadow: 5px 6px 0 #5d45612d;
  pointer-events: none;
  opacity: 0;
  z-index: 8;
  transform: translateY(14px) rotate(2deg) scale(0.94);
  transition:
    opacity 0.18s,
    transform 0.45s cubic-bezier(0.2, 1.45, 0.35, 1);
}
.map-peek.visible {
  opacity: 1;
  transform: translateY(0) rotate(-1.5deg) scale(1);
}
.map-peek img {
  width: 61px;
  height: 69px;
  object-fit: contain;
  flex-shrink: 0;
  mix-blend-mode: multiply;
}
.map-peek small {
  display: block;
  font-size: var(--type-caption);
  color: #88734e;
  font-weight: 800;
  margin-bottom: 4px;
  letter-spacing: 0.1em;
}
.map-peek b {
  display: block;
  font-size: var(--type-body);
  line-height: 1.4;
}
.map-peek p {
  font-size: var(--type-small);
  line-height: 1.65;
  color: #6d5b70;
  margin: 7px 0 0;
}
.map-peek > span:last-child {
  position: absolute;
  right: 9px;
  top: 7px;
  font-size: 19px;
}
.map-peek-icons {
  position: relative;
  display: block;
  width: 61px;
  height: 69px;
  flex: 0 0 61px;
}
.map-peek-icons img {
  position: absolute;
  inset: 0;
}
.map-peek-icons img[hidden] {
  display: none;
}
.timeline-controls {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  padding: 20px 0 10px;
}
.timeline-controls > span {
  font-size: var(--type-small);
  color: #c7b9d7;
}
.timeline-modes {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.timeline-modes button {
  padding: 8px 12px;
  border: 1px solid #776388;
  border-radius: 7px;
  color: #dbcee6;
  font-size: var(--type-small);
  transition:
    background 0.25s,
    color 0.25s;
}
.timeline-modes button[aria-pressed="true"] {
  background: #e4d4ef;
  color: #35233f;
  border-color: #e4d4ef;
}
.timeline-legend {
  display: flex;
  gap: 17px;
  flex-wrap: wrap;
  min-height: 40px;
  align-items: center;
  font-size: var(--type-small);
  color: #d9cde4;
  padding: 8px 0;
}
.timeline-legend span {
  display: inline-flex;
  gap: 7px;
  align-items: center;
}
.timeline-legend i {
  width: 9px;
  height: 9px;
  background: var(--segment);
  border-radius: 2px;
}
.timeline-axis {
  display: flex;
  justify-content: space-between;
  color: #b6a5c6;
  font-size: var(--type-caption);
  margin-top: 12px;
}
.timeline-chart {
  --chart-plot: 270px;
  height: 330px;
  padding-top: 10px;
  background: repeating-linear-gradient(
    to top,
    transparent 0px,
    transparent 66px,
    #9584a619 67px,
    transparent 68px
  );
}
.year-bar {
  gap: 0;
  padding: 18px 0 29px;
}
.year-bar .bar-stack {
  display: flex;
  flex-direction: column-reverse;
  width: 100%;
  height: calc(var(--share) * var(--chart-plot));
  flex-shrink: 0;
  min-height: 0;
  border-radius: 3px 3px 0 0;
  overflow: hidden;
  transform-origin: bottom;
  transition:
    filter 0.25s,
    transform 0.35s;
}
.year-segment {
  display: block;
  width: 100%;
  min-height: 0;
  flex-shrink: 0;
  background: var(--segment);
  border-top: 1px solid #3a2c4a44;
  transition: filter 0.2s;
}
.year-segment:hover,
.year-segment:focus-visible {
  filter: brightness(1.3);
  outline: 2px solid #ffefc2;
  outline-offset: -2px;
}
.year-bar .year-value {
  position: absolute;
  bottom: calc(var(--share) * var(--chart-plot) + 33px);
}
.year-bar:focus-within .year-value {
  opacity: 1;
}
.year-bar:hover .bar-stack {
  transform: scaleX(1.1);
}
.year-bar.zero {
  pointer-events: none;
}
.timeline-readout {
  color: #eadff1;
  min-height: 24px;
  font-size: var(--type-small);
  margin: 18px 0 0;
}
.timeline-note {
  margin: 7px 0 16px;
  line-height: 1.8;
}
@media (max-width: 800px) {
  .round-stamp b {
    font-size: 34px;
  }
  .news {
    grid-template-columns: 80px 1fr;
  }
  .news-records p {
    gap: 10px;
  }
}
@media (max-width: 600px) {
  .news {
    display: block;
  }
  .news-records {
    margin-top: 10px;
  }
  .news-records p {
    display: block;
    padding: 8px 0;
  }
  .news-records time {
    display: block;
    margin-bottom: 4px;
  }
  .timeline-chart {
    --chart-plot: 230px;
    height: 295px;
  }
  .timeline-controls {
    gap: 10px;
  }
  .timeline-modes button {
    font-size: var(--type-caption);
    padding: 8px;
  }
  .map-peek {
    width: 250px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hotspot-art,
  .figure-hotspot::after,
  .map-peek,
  .pipe-hotspot,
  .pipe-hotspot span,
  .year-bar .bar-stack {
    transition: none !important;
    animation: none !important;
  }
}
/* Shared image coordinates keep stage titles and artwork aligned at every width. */
.stages > .section-heading {
  display: block;
  width: 100%;
  text-align: center;
}
.stages > .section-heading .section-aside {
  max-width: 620px;
  margin: 22px auto 0;
}
.stage-visual-scroll {
  overflow: visible;
  padding-bottom: 4px;
}
.stage-visual {
  min-width: 0;
}
.stage-tabs {
  display: grid;
  grid-template-columns: 20.1fr 20.5fr 15.8fr 20.1fr 23.5fr;
  overflow: visible;
}
.stage-tabs button {
  min-width: 0;
  text-align: center;
  padding: 16px 4px 19px;
}
.stage-tabs button b {
  display: none;
}
.robot-scroll {
  overflow: visible;
}
.robot-strip {
  min-width: 0;
}
.map-peek {
  width: min(355px, calc(100% - 40px));
}
.map-overlay {
  position: absolute;
  inset: 0;
  overflow: clip;
  pointer-events: none;
  z-index: 9;
  border-radius: inherit;
}
.pipe-hotspot {
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  transform: none;
}
.pipe-hotspot span {
  display: none;
}
.pipe-hotspot .hotspot-art {
  inset: 0;
  border-radius: 999px;
  transition:
    opacity 0.18s,
    transform 0.45s cubic-bezier(0.2, 1.5, 0.35, 1),
    box-shadow 0.3s;
}
.pipe-hotspot:is(:hover, :focus-visible) {
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}
.pipe-hotspot:is(:hover, :focus-visible) .hotspot-art {
  opacity: 1;
  transform: translateY(-3px) scale(1.045);
  box-shadow:
    0 0 0 2px #4388b6,
    0 7px 0 #4388b62b,
    0 10px 20px #286b9325;
}
.topbar nav {
  gap: clamp(12px, 1.65vw, 25px);
}
.topbar nav a {
  white-space: nowrap;
}
.vision-loops {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  margin-top: 42px;
}
.vision-loop {
  border-top: 2px solid #b1a0cc;
  padding: 24px 0 0;
}
.learning-loop {
  border-color: #7da6a2;
}
.learning-loop > .eyebrow {
  color: #466e6b;
}
.vision-loop h3 {
  font-size: clamp(25px, 2.5vw, 33px);
  margin: 15px 0 24px;
}
.vision-loop > p:not(.eyebrow) {
  font-size: var(--type-body);
  color: var(--muted);
  line-height: 1.85;
}
.vision-loop strong {
  color: var(--ink);
  font-weight: 700;
}
.loop-sequence {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 10px;
  padding: 0;
  margin: 0 0 20px;
  list-style: none;
  font-size: var(--type-small);
  font-weight: 700;
  color: #675487;
}
.loop-sequence li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.loop-sequence li:not(:last-child)::after {
  content: "→";
  color: #a191b8;
  font-weight: 400;
}
.learning-loop .loop-sequence {
  color: #466e6b;
}
.vision-loop .rsi-note {
  border-left: 2px solid #a0bdb3;
  padding-left: 15px;
  margin-top: 18px;
}
.fabxr-highlight {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin-top: 38px;
  padding: 26px 30px;
  color: #fffdf7;
  background:
    radial-gradient(ellipse at 100% 0, #70529255, transparent 60%),
    #30283f;
  border: 1px solid #51405f;
  border-radius: 16px 16px 30px 16px;
  box-shadow: 5px 5px 0 #e4d5a9;
  transition: background-color 220ms ease, box-shadow 220ms ease;
}
.fabxr-logo {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  box-shadow: 0 3px 14px #100d2340;
}
.fabxr-copy {
  display: grid;
  gap: 5px;
}
.fabxr-kicker {
  font-size: var(--type-small);
  font-weight: 600;
  color: #d6c6e2;
}
.fabxr-message {
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.5;
}
.fabxr-message strong {
  color: #ffe3a0;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: #e4b66580;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.fabxr-visit {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: var(--type-body);
  font-weight: 700;
  white-space: nowrap;
  color: #ffe3a0;
}
.fabxr-visit > span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #bba47a80;
  border-radius: 50%;
  font-size: 24px;
  transition: color 220ms ease, background-color 220ms ease;
}
.fabxr-highlight:is(:hover, :focus-visible) {
  background-color: #40304e;
  box-shadow: 5px 5px 0 #d0b76e;
}
.fabxr-highlight:is(:hover, :focus-visible) .fabxr-visit > span {
  color: #30283f;
  background: #ffe3a0;
}
@media (max-width: 800px) {
  .fabxr-highlight {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 16px 20px;
    padding: 24px;
  }
  .fabxr-logo {
    width: 56px;
    height: 56px;
  }
  .fabxr-visit {
    grid-column: 2;
    justify-content: space-between;
  }
}
@media (max-width: 420px) {
  .fabxr-highlight {
    padding: 22px 18px;
    column-gap: 14px;
  }
  .fabxr-visit {
    grid-column: 1 / -1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fabxr-highlight, .fabxr-visit > span {
    transition: none;
  }
}
@media (max-width: 1280px) {
  .topbar {
    flex-wrap: wrap;
  }
  .topbar nav {
    order: 3;
    flex-basis: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 26px;
    border-top: 1px solid var(--line);
    padding-top: 8px;
  }
}
@media (max-width: 600px) {
  .topbar nav {
    gap: 0 20px;
    font-size: var(--type-small);
  }
  .stages > .section-heading h2 {
    font-size: 32px;
  }
  .stage-tabs button {
    font-size: var(--type-body);
  }
  .vision-loops {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 32px;
  }
  .vision-loop > p:not(.eyebrow) {
    font-size: var(--type-body);
  }
  .vision-loop h3 {
    font-size: 27px;
  }
  .map-peek {
    padding: 12px;
    gap: 10px;
  }
  .map-peek img {
    width: 44px;
    height: 53px;
  }
  .map-peek b {
    font-size: var(--type-small);
  }
}
@media (prefers-reduced-motion: reduce) {
  .pipe-hotspot .hotspot-art {
    transition: none;
  }
}

/* Content fits its section; the document owns scrolling. */
.chart-toolbar, .chart-readout { flex-wrap: wrap; }
.timeline-chart {
  display: grid;
  grid-template-columns: repeat(var(--year-count, 1), minmax(0, 1fr));
  gap: clamp(1px, .3vw, 4px);
  height: auto;
  padding: 34px 8px 38px;
  overflow: visible;
}
.year-bar { min-width: 0; height: var(--chart-plot); padding: 0; }
.year-bar .year-value { bottom: calc(var(--share) * var(--chart-plot) + 6px); }
.year-bar .year-label { bottom: -24px; }
.year-segment { flex: var(--segment-share) 1 0; }
.map-peek-icons svg { width: 61px; height: 69px; mix-blend-mode: multiply; }
.map-peek-icons [hidden] { display: none; }

@media (max-width: 800px) {
  .journey-tabs button { padding: 14px 4px; font-size: var(--type-small); }
  .stage-tabs button { font-size: var(--type-small); padding: 13px 1px; }
  .stage-tabs small { font-size: var(--type-caption); }
}
@media (max-width: 640px) {
  .coverage-matrix {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    --bubble-max: clamp(34px, 12vw, 64px);
  }
  .matrix-corner { grid-column: 1 / -1; padding: 0 0 18px; }
  .matrix-heading { min-width: 0; font-size: var(--type-small); padding-bottom: 14px; }
  .matrix-row { grid-column: 1 / -1; min-height: 64px; font-size: var(--type-body); }
  .matrix-row small { display: inline; margin-left: 8px; font-size: var(--type-small); }
  .matrix-cell { min-height: 104px; border-top: 0; padding-bottom: 4px; }
  .matrix-cell::after { content: attr(data-stage); position: absolute; top: 4px; font-size: var(--type-caption); color: #bfb8ce; }
  .matrix-cell > span, .matrix-cell.small-value > span { color: #eee5f9; transform: translateY(38px); font-size: var(--type-small); }
  .chart-readout { gap: 8px; padding-bottom: 16px; }
  .timeline-chart { display: flex; flex-direction: column; gap: 8px; padding: 20px 0; background: none; }
  .year-bar { display: grid; grid-template-columns: 35px minmax(0, 1fr) 28px; align-items: center; gap: 10px; height: 22px; flex: none; }
  .year-bar .year-label { position: static; grid-column: 1; grid-row: 1; transform: none; font-size: var(--type-caption); }
  .year-bar .bar-stack { grid-column: 2; grid-row: 1; flex-direction: row; height: 18px; width: calc(var(--share) * 100%); border-radius: 0 3px 3px 0; transform-origin: left; }
  .year-bar .year-value { position: static; grid-column: 3; grid-row: 1; opacity: 1; text-align: right; font-size: var(--type-caption); }
  .year-segment { height: 100%; border-top: 0; border-right: 1px solid #3a2c4a44; }
  .year-bar:hover .bar-stack { transform: none; }
  .dialog-toolbar { padding: 10px 14px; gap: 10px; }
  .dialog-toolbar h2 { font-size: var(--type-body); }
  .close-dialog { flex-shrink: 0; }
}

/* Reading scale: body copy, supporting text and compact data labels. */
.hero-side > p, .section-aside, .step-copy > p:not(.eyebrow),
.stage-copy > p:not(.eyebrow), .stage-example p,
.vision-loop > p:not(.eyebrow), .citation > div > p:not(.eyebrow),
.library-heading p:not(.eyebrow) { font-size: var(--type-body); line-height: 1.75; }
.paper-card h2 { font-size: 18px; line-height: 1.6; }
.paper-meta { font-size: var(--type-small); line-height: 1.75; }
.paper-resource, .task-chip, .stage-chip, .scope-chip, .support-chip,
.venue-chip, .authors-toggle { font-size: var(--type-caption); }
.resource-icon { width: 15px; height: 15px; }
.eyebrow { letter-spacing: .09em; }
.news-records { row-gap: 18px; }
.map-peek { width: min(410px, calc(100% - 40px)); }
.map-peek p { font-size: var(--type-small); line-height: 1.65; }
.matrix-stage-key { display: contents; }
.matrix-heading { font-size: var(--type-small); }
.matrix-heading small { font-size: var(--type-caption); }
.chart-readout, .coverage-bottom, .timeline-readout, .timeline-note { line-height: 1.7; }
.year-bar .year-value { white-space: nowrap; }
.timeline-chart { padding-bottom: 48px; }
.year-bar .year-label { bottom: -31px; }
.journey-tabs button { overflow-wrap: normal; }
.cite-top, .result-bar { flex-wrap: wrap; }
.footer { flex-wrap: wrap; }
.library-controls input, .library-controls select { font-size: var(--type-body); }

@media (max-width: 800px) {
  .stage-tabs { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .stage-tabs button { grid-column: span 2; font-size: var(--type-small); padding: 15px 5px; }
  .stage-tabs button:nth-last-child(-n+2) { grid-column: span 3; }
  .stage-tabs button:nth-child(3) { border-right: 0; }
  .stage-tabs small { font-size: var(--type-caption); margin-bottom: 5px; }
  .journey-tabs { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .journey-tabs button { font-size: var(--type-small); }
}
@media (max-width: 640px) {
  .matrix-stage-key { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px 20px; padding-bottom: 20px; }
  .matrix-heading { display: flex; align-items: baseline; gap: 7px; padding: 0; }
  .matrix-heading small { margin: 0; letter-spacing: 0; }
  .matrix-cell::after, .matrix-cell > span, .matrix-cell.small-value > span { font-size: var(--type-caption); }
  .matrix-row { font-size: var(--type-small); }
  .matrix-row small { font-size: var(--type-caption); }
  .year-bar { grid-template-columns: 40px minmax(0, 1fr) 32px; height: 26px; }
  .year-bar .year-label, .year-bar .year-value { font-size: var(--type-caption); }
  .year-bar .year-label { position: static; }
  .timeline-chart { padding: 20px 0; }
  .timeline-legend { gap: 10px 15px; }
  .timeline-legend span { gap: 6px; }
  .journey-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .journey-tabs button { padding: 12px 8px; }
  .map-peek { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 12px; padding: 14px; }
  .map-peek > div { display: contents; }
  .map-peek-icons { grid-row: 1 / span 2; width: 44px; height: 53px; }
  .map-peek-icons img, .map-peek-icons svg { width: 44px; height: 53px; }
  .map-peek small, .map-peek b { grid-column: 2; padding-right: 15px; }
  .map-peek small { font-size: var(--type-caption); margin: 0; }
  .map-peek b { font-size: var(--type-body); }
  .map-peek p { grid-column: 1 / -1; margin: 5px 0 0; }
  .brand { white-space: normal; }
  .brand-sub { max-width: 190px; }
  .news { grid-template-columns: 1fr; }
  .news-records { grid-column: 1; }
  .journey-note { align-items: start; gap: 16px; flex-wrap: wrap; }
  .journey-note p { max-width: none; }
}
