* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: transparent;
  color: #26352e;
}
article {
  padding: 68px 24px 88px;
}
.prose {
  max-width: 720px;
  margin: 0 auto;
  font:
    19px/1.75 Georgia,
    "Times New Roman",
    serif;
}
.prose h1 {
  font:
    550 32px/1.2 system-ui,
    sans-serif;
  letter-spacing: -0.035em;
  margin: 12px 0 24px;
}
.prose p {
  margin: 0 0 24px;
}
.kicker {
  font:
    11px/1.5 system-ui,
    sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #778579;
}
.interactive {
  max-width: 918px;
  margin: 36px auto 40px;
  font:
    13px/1.45 system-ui,
    sans-serif;
  color: #293d31;
}
.figure-controls {
  border-top: 1px solid #dce3dc;
  padding-top: 12px;
}
.tabs {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  border-bottom: 1px solid #e4e9e3;
}
button {
  font: inherit;
  cursor: pointer;
  color: inherit;
}
.tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  padding: 10px 0;
  color: #738076;
}
.tabs button.active {
  border-color: #344d3c;
  color: #263d2d;
  font-weight: 600;
}
.simulator-row {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  padding: 14px 0;
}
.control-label {
  font-size: 12px;
  color: #788378;
}
.simulator-options {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.simulator-options button {
  border: 1px solid transparent;
  background: none;
  border-radius: 4px;
  padding: 6px 11px;
  color: #718074;
  font-size: 12px;
}
.simulator-options button.active {
  background: #eef2eb;
  border-color: #dce5d7;
  color: #2e4a35;
  font-weight: 550;
}
.point-key {
  margin-left: auto;
  display: flex;
  gap: 15px;
  color: #68766b;
  font-size: 11px;
}
.point-key span {
  display: flex;
  gap: 5px;
  align-items: center;
}
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #225c9e;
}
.dot.sim {
  background: #bf5926;
}
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  border-top: 1px solid #e7ebe5;
  border-bottom: 1px solid #e7ebe5;
}
.mapbox {
  position: relative;
  height: 460px;
  min-width: 0;
  overflow: hidden;
}
canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: pan-y;
  cursor: crosshair;
}
.hint {
  position: absolute;
  left: 12px;
  bottom: 11px;
  pointer-events: none;
  color: #8b958c;
  font-size: 10px;
}
.zoom {
  position: absolute;
  right: 10px;
  bottom: 8px;
  display: flex;
  gap: 2px;
}
.zoom button {
  border: 0;
  border-radius: 3px;
  background: #fafbfaea;
  width: 28px;
  height: 28px;
  font-size: 16px;
  color: #64776a;
}
.zoom button:hover {
  background: #eef2eb;
}
.sidebar {
  height: 460px;
  border-left: 1px solid #e7ebe5;
  overflow: auto;
  padding: 20px 0 20px 22px;
  scrollbar-width: thin;
  scrollbar-color: #c7d1c7 transparent;
}
.sidebar h2 {
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.02em;
  font-weight: 550;
  margin: 7px 0 10px;
  padding-right: 10px;
}
.sidebar p {
  font-size: 12px;
  line-height: 1.6;
  color: #6c7a6d;
  margin: 8px 0 14px;
}
.detail-label {
  font-size: 10px;
  color: #8a968a;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.stats {
  display: flex;
  gap: 25px;
  margin: 16px 0;
}
.stats strong {
  display: block;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.stats span {
  display: block;
  font-size: 10px;
  color: #899487;
  margin-top: 2px;
}
.stats .real strong {
  color: #225c9e;
}
.stats .sim strong {
  color: #bf5926;
}
.ratio {
  font-size: 11px;
  color: #74816f;
}
.clear {
  float: right;
  border: 0;
  background: none;
  font-size: 11px;
  color: #6c7c6c;
  text-decoration: underline;
  margin-right: 8px;
}
.excerpt-label {
  margin-top: 20px;
  font-size: 10px;
  color: #839180;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
blockquote {
  border-left: 2px solid #dbe3d5;
  margin: 10px 12px 5px 0;
  padding: 0 0 0 13px;
  color: #4e6252;
  font:
    italic 15px/1.65 Georgia,
    "Times New Roman",
    serif;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
blockquote:before {
  content: "“";
}
blockquote:after {
  content: "”";
}
.excerpt-note {
  font:
    10px/1.5 system-ui,
    sans-serif !important;
  color: #939b8f !important;
  margin: 9px 12px 0 15px !important;
}
.legend {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  margin: 13px 0 10px;
  color: #71806f;
  font-size: 11px;
}
.scale {
  display: flex;
  align-items: center;
  gap: 9px;
}
.gradient {
  height: 7px;
  width: 130px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    #225c9e,
    #a8c5d8,
    #eff1e8,
    #f1bb87,
    #bf5926
  );
}
.caption {
  font-size: 12px;
  line-height: 1.65;
  color: #778374;
  margin: 12px 0 0;
  max-width: 980px;
}
.caption strong {
  color: #526650;
  font-weight: 550;
}
.about {
  display: inline;
  font-size: 11px;
}
.about summary {
  display: inline;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: #728170;
}
.about[open] {
  display: block;
  margin-top: 12px;
  max-width: 950px;
  font-size: 12px;
  color: #778374;
  line-height: 1.65;
}
.about[open] summary {
  display: block;
  margin-bottom: 8px;
}
.about p {
  margin: 8px 0;
}
.afterfigure {
  margin-top: 0;
}
#tooltip {
  display: none;
  position: fixed;
  z-index: 10;
  pointer-events: none;
  background: #304638;
  color: #fff;
  padding: 8px 11px;
  border-radius: 4px;
  max-width: 275px;
  font:
    11px/1.5 system-ui,
    sans-serif;
}
button:focus-visible {
  outline: 2px solid #6c8971;
  outline-offset: 3px;
}
@media (max-width: 760px) {
  article {
    padding: 36px 20px 55px;
  }
  .prose {
    font-size: 18px;
  }
  .prose h1 {
    font-size: 28px;
  }
  .interactive {
    margin: 28px -4px 30px;
  }
  .layout {
    grid-template-columns: 1fr;
  }
  .mapbox {
    height: 360px;
  }
  .sidebar {
    height: auto;
    max-height: none;
    border-left: 0;
    border-top: 1px solid #e7ebe5;
    padding: 18px 10px;
  }
  .tabs {
    gap: 18px;
    font-size: 12px;
  }
  .simulator-row {
    gap: 8px;
  }
  .point-key {
    width: 100%;
    margin-left: 0;
    padding-top: 5px;
  }
  .legend {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
  .hint {
    max-width: 220px;
    font-size: 9px;
  }
  .sidebar h2 {
    font-size: 18px;
  }
  .stats {
    margin: 12px 0;
  }
  .excerpt-label {
    margin-top: 15px;
  }
}

.interactive {
  margin: 0 auto;
  padding: 0;
}
.sidebar {
  overscroll-behavior: contain;
}
.mapbox[aria-busy="true"] {
  opacity: 0.4;
  pointer-events: none;
}
#status {
  font: 12px system-ui;
  color: #68766b;
}
#status:empty {
  display: none;
}
@media (max-width: 760px) {
  .interactive {
    margin: 0 auto;
  }
  .mapbox {
    height: 340px;
  }
}
