@font-face {
  font-family: Manrope;
  src: url(fonts/manrope.ttf) format("truetype");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --paper: #f3f3ef;
  --ink: #17222b;
  --muted: #55626b;
  --line: #d6dbd8;
  --orange: #aa4323;
  --green: #baf078;
  --mono: "Cascadia Code", Consolas, monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    15px/1.6 Manrope,
    Arial,
    sans-serif;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select,
summary {
  touch-action: manipulation;
}
button,
summary {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #315cc8;
  outline-offset: 5px;
}
.wrap {
  max-width: 1440px;
  margin: auto;
  padding-left: 56px;
  padding-right: 56px;
}
.skip {
  position: absolute;
  left: 24px;
  top: -100px;
  z-index: 10;
  background: white;
  color: #17232a;
  padding: 14px;
}
.skip:focus {
  top: 12px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.eyebrow {
  font: 10px/1.7 var(--mono);
  letter-spacing: 1px;
  margin: 0;
  color: var(--muted);
}
.explorer-context {
  max-width: 860px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin: 22px 0 0;
}

.content {
  padding-top: 0;
}
.notice {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  margin: 0;
}
.notice strong {
  color: var(--ink);
  font-weight: 650;
}
.notice a {
  white-space: nowrap;
  margin-left: 8px;
}
.explorer {
  padding: 38px 0 16px;
  scroll-margin-top: 20px;
}
.section-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.section-bar h2 {
  font-size: 26px;
  line-height: 1.3;
  letter-spacing: -0.8px;
  font-weight: 550;
  margin: 8px 0 0;
}
.section-bar > a {
  font-size: 12px;
  color: #3d545d;
}
.scenarios {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border: 1px solid #c9d3d6;
  border-radius: 10px;
  overflow: hidden;
}
.scenarios button {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-start;
  text-align: left;
  min-height: 130px;
  padding: 17px 15px;
  border: 0;
  border-right: 1px solid #c9d3d6;
  background: #edf0ed;
  color: #263740;
}
.scenarios button:last-child {
  border: 0;
}
.scenarios button:hover {
  background: #e1e9dd;
}
.scenarios button[aria-pressed="true"] {
  background: #172c37;
  color: #f5f8f6;
  box-shadow: inset 0 4px #baf078;
}
.scenarios button > span {
  font: 11px var(--mono);
  color: #637c86;
}
.scenarios button[aria-pressed="true"] > span {
  color: #baf078;
}
.scenarios strong {
  font-size: 12px;
  font-weight: 650;
  line-height: 1.5;
}
.scenarios small {
  font-size: 11px;
  line-height: 1.7;
  color: #596c75;
}
.scenarios button[aria-pressed="true"] small {
  color: #b4c8d3;
}
.controls {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
}
.transport-controls {
  display: flex;
  gap: 5px;
}
.controls button {
  min-height: 44px;
  min-width: 44px;
  padding: 0 12px;
  border: 1px solid #778e99;
  border-radius: 5px;
  background: transparent;
  color: #233d47;
  font-size: 12px;
}
.controls #play {
  min-width: 106px;
  background: #e3ebdf;
}
.controls label {
  display: flex;
  gap: 15px;
  align-items: center;
  font: 11px var(--mono);
  color: #536a75;
  flex: 1;
}
.controls input {
  width: 100%;
  min-height: 30px;
  accent-color: #355f4c;
}
.controls output {
  font: 11px var(--mono);
  color: #526a74;
  white-space: nowrap;
}
.controls #back-to-scene {
  border: 0;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.timeline {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.timeline summary {
  padding: 18px 0;
  list-style-position: inside;
}
.timeline summary > span {
  float: right;
  font: 10px var(--mono);
  color: #627782;
  padding-top: 4px;
}
.timeline-scroll {
  max-height: 330px;
  overflow: auto;
  border-top: 1px solid var(--line);
  padding: 0 24px;
  background: #eef2ee;
  scrollbar-color: #82998a #eef2ee;
}
#events {
  list-style: none;
  padding: 0;
  margin: 0;
}
#events li {
  display: grid;
  grid-template-columns: 70px 95px 1fr;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #d3ddcf;
}
#events li > span {
  font: 11px/1.8 var(--mono);
  color: #536972;
}
#events strong {
  font: 11px/1.6 var(--mono);
  color: #28483b;
}
#events p {
  font-size: 12px;
  line-height: 1.8;
  margin: 5px 0;
  color: #435b60;
  overflow-wrap: anywhere;
}
#events li.fault strong {
  color: #9e4728;
}
#error {
  color: #9c291b;
}
.section-block {
  padding: 62px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 15px;
}
.section-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.section-number {
  display: flex;
  align-items: center;
  justify-content: center;
  font: 11px var(--mono);
  border: 1px solid #bdcbd1;
  border-radius: 50%;
  height: 34px;
  width: 34px;
  color: #5a737e;
}
.section-intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 90px;
  align-items: end;
  margin-bottom: 30px;
}
.section-intro h2,
.inspection h2 {
  font-size: 44px;
  line-height: 1.15;
  letter-spacing: -1.8px;
  font-weight: 550;
  margin: 0;
}
.section-intro p {
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
  color: var(--muted);
}
.micro {
  font: 11px/1.7 var(--mono);
  letter-spacing: 0.4px;
}
.boundary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #c2d2d4;
  border-radius: 12px;
  overflow: hidden;
}
.outcome {
  position: relative;
  padding: 26px 30px;
  background: #e9efec;
}
.outcome.after {
  background: #dbe8df;
  border-left: 1px solid #c2d2d4;
}
.outcome-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #425e63;
}
.outcome-symbol {
  font-size: 20px;
}
.pulse-count {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 18px;
}
.pulse-count strong {
  font-size: 100px;
  line-height: 1.2;
  font-weight: 450;
  letter-spacing: -6px;
  color: #274d3d;
}
.pulse-count span {
  font: 13px/1.6 var(--mono);
  color: #4d6b65;
}
.journal-slip {
  position: absolute;
  right: 30px;
  top: 84px;
  padding: 17px 20px;
  border: 1px solid #baccc3;
  background: #f8fbf7;
  transform: rotate(-3deg);
  box-shadow: 0 5px 10px #294d3210;
}
.after .journal-slip {
  transform: rotate(3deg);
}
.journal-slip .micro {
  display: block;
  font-size: 10px;
  color: #4c645e;
}
.journal-slip code {
  display: block;
  font: 18px var(--mono);
  color: #9e4427;
  margin: 9px 0;
}
.journal-slip > span {
  font: 11px var(--mono);
  color: #587067;
}
.outcome button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 48px;
  margin-top: 23px;
  border: 0;
  border-top: 1px solid #b6cac3;
  background: none;
  text-align: left;
  color: #26463d;
  font-size: 12px;
}
.outcome button span {
  font-size: 22px;
}
.boundary-decision {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  gap: 22px;
  align-items: start;
  margin-top: 30px;
}
.decision-icon {
  font-size: 42px;
  line-height: 1;
  color: #a34c2d;
}
.boundary-decision h3 {
  font-size: 23px;
  line-height: 1.3;
  font-weight: 550;
  margin: 0 0 8px;
}
.boundary-decision p {
  font-size: 14px;
  color: #53686d;
  line-height: 1.8;
  max-width: 730px;
  margin: 0;
}
.boundary-decision a {
  font-size: 12px;
  margin-top: 8px;
}
.small {
  font: 11px/1.9 var(--mono);
  color: #53696e;
  overflow-wrap: anywhere;
}
.boundary > .small {
  margin-top: 25px;
}
.workload-controls {
  display: flex;
  align-items: end;
  gap: 15px;
  flex-wrap: wrap;
  margin: 27px 0 20px;
}
.workload-controls label {
  font: 11px/1.8 var(--mono);
  color: #526c77;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
select {
  display: block;
  min-width: 102px;
  min-height: 46px;
  margin-top: 7px;
  border: 1px solid #778e99;
  border-radius: 6px;
  background: white;
  color: #253c47;
  padding: 0 32px 0 12px;
  font: 13px var(--mono);
}
.workload-controls > .micro {
  margin-left: auto;
  align-self: center;
  color: #586e78;
}
.plot-card {
  padding: 26px 30px 14px;
  border: 1px solid #bdcdd1;
  border-radius: 12px 12px 0 0;
  background: #fefffc;
}
.plot-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.plot-top h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}
.plot-legend {
  display: flex;
  gap: 22px;
  font: 11px var(--mono);
}
.plot-legend span:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 18px;
  height: 3px;
  margin-right: 7px;
  background: repeating-linear-gradient(
    to right,
    #a6421d 0 5px,
    transparent 5px 8px
  );
}
.plot-legend .four-workers:before {
  background: #35634e;
}
#workload-chart {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 20px;
}
#workload-chart text {
  font: 11px var(--mono);
  fill: #59684f;
}
.measurement-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #e5ede5;
  border: 1px solid #bdcdd1;
  border-top: 0;
  border-radius: 0 0 12px 12px;
}
.measurement-strip > div {
  padding: 22px 26px;
  border-right: 1px solid #bdcdd1;
}
.measurement-strip > div:last-child {
  border: 0;
}
.measurement-strip span {
  display: block;
  font: 10px/1.6 var(--mono);
  color: #4b665c;
}
.measurement-strip strong {
  display: block;
  font-size: 25px;
  font-weight: 550;
  letter-spacing: -0.8px;
  margin-top: 9px;
}
.measurement-strip small {
  font: 11px/1.8 var(--mono);
  color: #4b665c;
}
.result-note {
  display: flex;
  align-items: center;
  gap: 30px;
  border-left: 3px solid #ae542d;
  padding: 0 0 0 21px;
  margin-top: 30px;
}
.result-note p {
  flex: 1;
  max-width: 850px;
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}
.result-note strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}
.result-note button {
  background: transparent;
  border: 1px solid #a8bdc4;
  border-radius: 6px;
  min-height: 46px;
  padding: 10px 15px;
  color: #294651;
  font-size: 12px;
}
.research-links {
  display: flex;
  gap: 32px;
  margin-top: 24px;
  font-size: 12px;
  font-weight: 600;
}
.inspection {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
}
.inspection p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 430px;
}
.inspection h2 {
  margin-top: 25px;
}
.inspection-links a {
  display: flex;
  align-items: center;
  gap: 24px;
  text-decoration: none;
  border-bottom: 1px solid #bacad0;
  padding: 22px 0;
}
.inspection-links a > span {
  font: 11px var(--mono);
  color: #4c765a;
}
.inspection-links strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
}
.inspection-links small {
  font: 11px/1.8 var(--mono);
  color: var(--muted);
  display: block;
  margin-top: 5px;
}
.inspection-links b {
  margin-left: auto;
  font-size: 21px;
  font-weight: 400;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  padding: 44px 0;
  font-size: 12px;
  color: #52666f;
}
footer p {
  font: 11px/1.8 var(--mono);
  margin: 0;
  max-width: 560px;
}
.footer-name {
  font-size: 20px;
  font-weight: 600;
  color: #253d48;
  text-decoration: none;
}
.footer-name span {
  color: #3c7559;
  margin-left: 8px;
}
.provenance {
  font: 11px/1.8 var(--mono);
  color: #5b707a;
  margin-bottom: 26px;
}
.provenance summary {
  min-height: 44px;
}
@media (max-width: 1150px) {
  .section-intro {
    gap: 50px;
  }
  .section-intro h2,
  .inspection h2 {
    font-size: 38px;
  }
  .journal-slip {
    right: 20px;
    top: 94px;
    padding: 14px;
  }
  .pulse-count {
    gap: 14px;
  }
  .pulse-count strong {
    font-size: 82px;
  }
  .pulse-count span {
    font-size: 11px;
  }
  .journal-slip .micro {
    font-size: 9px;
  }
  .journal-slip code {
    font-size: 16px;
  }
  .journal-slip > span {
    font-size: 9px;
  }
  .scenarios {
    grid-template-columns: repeat(3, 1fr);
  }
  .scenarios button {
    min-height: 120px;
    border-bottom: 1px solid #c9d3d6;
  }
  .scenarios button:nth-child(3) {
    border-right: 0;
  }
  .scenarios button:nth-child(n + 4) {
    border-bottom: 0;
  }
  .controls {
    gap: 14px;
  }
  .controls #back-to-scene {
    display: none;
  }
  .measurement-strip strong {
    font-size: 22px;
  }
  .inspection {
    gap: 65px;
  }
}
@media (max-width: 850px) {
  .section-intro {
    gap: 30px;
  }
  .section-intro h2,
  .inspection h2 {
    font-size: 34px;
  }
  .section-intro p {
    font-size: 14px;
  }
  .outcome {
    padding: 22px;
  }
  .pulse-count {
    margin-top: 10px;
  }
  .pulse-count span {
    font-size: 12px;
  }
  .journal-slip {
    position: static;
    transform: none;
    margin: 15px 0;
    padding: 16px;
  }
  .after .journal-slip {
    transform: none;
  }
  .journal-slip .micro {
    font-size: 11px;
  }
  .journal-slip > span {
    font-size: 12px;
  }
  .outcome button {
    margin-top: 12px;
  }
  .boundary-decision {
    grid-template-columns: 25px 1fr;
    gap: 18px;
  }
  .boundary-decision a {
    grid-column: 2;
    justify-self: start;
  }
  .measurement-strip > div {
    padding: 18px;
  }
  .measurement-strip strong {
    font-size: 20px;
  }
  .inspection {
    gap: 38px;
  }
  footer {
    flex-wrap: wrap;
  }
  footer p {
    order: 3;
    flex-basis: 100%;
    max-width: none;
  }
}
@media (max-width: 600px) {
  .case-number {
    margin-left: 0;
  }
  .apparatus {
    margin: 0 -12px;
  }
  .notice {
    font-size: 12px;
    padding: 20px 0;
    line-height: 1.8;
  }
  .notice a {
    display: inline-block;
    white-space: normal;
    margin: 5px 0 0;
  }
  .explorer {
    padding-top: 32px;
  }
  .section-bar {
    display: block;
  }
  .section-bar h2 {
    font-size: 25px;
    margin-top: 10px;
  }
  .section-bar > a {
    display: inline-block;
    margin-top: 15px;
    padding: 7px 0;
  }
  .scenarios {
    grid-template-columns: 1fr 1fr;
  }
  .scenarios button {
    min-height: 138px;
    padding: 15px 12px;
    border-bottom: 1px solid #c9d3d6 !important;
    border-right: 1px solid #c9d3d6 !important;
  }
  .scenarios button:nth-child(even) {
    border-right: 0 !important;
  }
  .scenarios button:nth-child(n + 5) {
    border-bottom: 0 !important;
  }
  .scenarios strong {
    font-size: 13px;
  }
  .scenarios small {
    font-size: 12px;
  }
  .controls {
    flex-wrap: wrap;
    padding: 20px 0;
    gap: 15px;
  }
  .controls label {
    order: 3;
    flex-basis: 100%;
    font-size: 12px;
  }
  .controls output {
    margin-left: auto;
    font-size: 10px;
  }
  .timeline summary {
    font-size: 13px;
    line-height: 1.8;
  }
  .timeline summary > span {
    display: block;
    float: none;
    font-size: 10px;
    margin: 8px 0 0 18px;
  }
  .timeline-scroll {
    padding: 0 15px;
  }
  #events li {
    grid-template-columns: 65px 1fr;
    gap: 5px 10px;
  }
  #events li > div {
    grid-column: 1/-1;
  }
  #events li > span:nth-child(2) {
    text-align: right;
  }
  #events li > span,
  #events strong,
  #events p {
    font-size: 12px;
  }
  .section-block {
    padding: 43px 0;
  }
  .section-top {
    margin-bottom: 20px;
    gap: 15px;
  }
  .section-top .eyebrow {
    font-size: 10px;
    letter-spacing: 0.6px;
  }
  .section-number {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    font-size: 10px;
  }
  .section-intro {
    display: block;
    margin-bottom: 25px;
  }
  .section-intro h2,
  .inspection h2 {
    font-size: 34px;
    letter-spacing: -1.5px;
    line-height: 1.15;
  }
  .section-intro p {
    margin-top: 22px;
    font-size: 14px;
  }
  .boundary-grid {
    grid-template-columns: 1fr;
  }
  .outcome.after {
    border-left: 0;
    border-top: 1px solid #c2d2d4;
  }
  .outcome-heading {
    font-size: 12px;
  }
  .outcome-heading .micro {
    font-size: 11px;
  }
  .pulse-count {
    gap: 22px;
  }
  .pulse-count strong {
    font-size: 78px;
  }
  .pulse-count span {
    font-size: 12px;
  }
  .pulse-count br {
    display: none;
  }
  .journal-slip {
    padding: 15px;
  }
  .journal-slip code {
    font-size: 18px;
  }
  .journal-slip .micro,
  .journal-slip > span {
    font-size: 12px;
  }
  .outcome button {
    font-size: 13px;
  }
  .boundary-decision h3 {
    font-size: 22px;
  }
  .boundary-decision p {
    font-size: 14px;
  }
  .boundary-decision a {
    font-size: 12px;
  }
  .small {
    font-size: 12px;
    line-height: 1.9;
  }
  .workload-controls {
    gap: 12px;
  }
  .workload-controls label {
    font-size: 11px;
  }
  select {
    font-size: 12px;
    min-width: 74px;
    padding: 0 20px 0 10px;
  }
  .workload-controls > .micro {
    margin-left: 0;
    flex-basis: 100%;
    font-size: 10px;
  }
  .plot-card {
    padding: 20px 12px 10px;
  }
  .plot-top {
    display: block;
  }
  .plot-top h3 {
    font-size: 13px;
  }
  .plot-legend {
    margin-top: 14px;
    font-size: 11px;
  }
  .measurement-strip {
    grid-template-columns: 1fr;
  }
  .measurement-strip > div {
    border-right: 0;
    border-bottom: 1px solid #bdcdd1;
    padding: 19px;
  }
  .measurement-strip span {
    font-size: 11px;
  }
  .measurement-strip strong {
    font-size: 23px;
  }
  .measurement-strip small {
    font-size: 12px;
  }
  .result-note {
    display: block;
    padding-left: 16px;
    margin-top: 28px;
  }
  .result-note p {
    font-size: 14px;
  }
  .result-note strong {
    font-size: 16px;
  }
  .result-note button {
    margin-top: 18px;
    font-size: 12px;
  }
  .research-links {
    flex-direction: column;
    gap: 16px;
    font-size: 12px;
    align-items: flex-start;
  }
  .inspection {
    display: block;
  }
  .inspection h2 {
    margin-top: 20px;
  }
  .inspection p {
    font-size: 14px;
  }
  .inspection-links {
    margin-top: 22px;
  }
  .inspection-links a {
    gap: 18px;
  }
  .inspection-links strong {
    font-size: 15px;
  }
  .inspection-links small {
    font-size: 12px;
  }
  footer {
    gap: 20px;
    padding: 32px 0;
  }
  footer > a:last-child {
    font-size: 12px;
  }
  footer p {
    font-size: 11px;
  }
  .provenance {
    font-size: 11px;
  }
}
@media (max-width: 360px) {
  .controls {
    gap: 10px;
  }
  .controls button {
    padding: 0 9px;
  }
  .controls #play {
    min-width: 96px;
  }
  .section-intro h2,
  .inspection h2 {
    font-size: 31px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
