body.exploring {
  display: block;
  isolation: isolate;
  background: #d8cfaa;
  --geo-edge: clamp(12px, 2.2vw, 36px);
  --map-paper: #fcf7e9;
  --map-line: #b5aa88;
  --map-shadow: 0 3px 20px #34291528;
}
.exploring main {
  position: absolute;
  inset: 0;
  max-width: none;
  margin: 0;
  padding: 0;
}
.exploring .colophon {
  display: none;
}
.exploring .mast {
  position: absolute;
  z-index: 3;
  inset: var(--geo-edge) var(--geo-edge) auto;
  pointer-events: none;
  background: none;
  border: 0;
}
.exploring .mast-inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
  max-width: none;
  min-height: 0;
  gap: 0;
  padding: 0;
  margin: 0;
  height: 49px;
}
.exploring .brand,
.exploring .primary-nav,
.exploring .search-trigger,
.geo-zoom,
.geo-layer-button,
.geo-readout,
.geo-legend,
.geo-drawer {
  background: var(--map-paper);
  border: 1px solid var(--map-line);
  box-shadow: var(--map-shadow);
}
.exploring .brand,
.exploring .primary-nav,
.exploring .search-trigger {
  order: initial;
  pointer-events: auto;
}
.exploring .brand {
  padding: 0 16px 0 12px;
  font-size: 23px;
  border-right: 0;
  gap: 9px;
  box-shadow: -4px 2px 12px #3429151c;
}
.exploring .primary-nav {
  align-self: stretch;
  flex: none;
  gap: 0;
  padding-inline: 5px;
  border-left: 0;
  box-shadow: 3px 2px 12px #3429151c;
}
.exploring .primary-nav a {
  font-size: 14px;
  padding: 0 12px;
  color: #4b5042;
}
.exploring .primary-nav a[aria-current="page"] {
  color: var(--red);
}
.exploring .primary-nav a[aria-current="page"]:after {
  left: 12px;
  right: 12px;
  height: 2px;
  bottom: 7px;
}
.exploring .search-trigger {
  padding: 0 15px;
  gap: 12px;
  margin-left: auto;
  font-size: 14px;
  color: #3f483c;
}
.exploring .skip {
  z-index: 5;
}
.geo-stage,
.geo-canvas {
  width: 100%;
  height: 100%;
  position: relative;
  min-height: 0;
}
.geo-stage {
  isolation: isolate;
  overflow: hidden;
}
.geo-canvas {
  position: absolute;
  inset: 0;
}
.geo-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(100%);
  white-space: nowrap;
  overflow: hidden;
}
.geo-legend-wrap,
.geo-readout {
  position: absolute;
  z-index: 2;
  bottom: max(var(--geo-edge), env(safe-area-inset-bottom));
}
.geo-legend-wrap {
  left: var(--geo-edge);
}
.geo-controls,
.geo-zoom,
.geo-layer-button,
.geo-readout {
  display: flex;
  align-items: center;
}
.geo-controls {
  gap: 8px;
}
.geo-tool,
.geo-layer-button,
.geo-dismiss,
.geo-tabs button,
.geo-pages button {
  color: #344338;
}
.geo-tool {
  width: 40px;
  height: 39px;
  display: grid;
  place-items: center;
  padding: 0;
}
.geo-tool + .geo-tool {
  border-left: 1px solid #cfc6ad;
}
.geo-layer-button {
  height: 41px;
  padding: 0 11px;
  gap: 6px;
  font-size: 13px;
}
.geo-tool:hover,
.geo-layer-button:hover,
.geo-dismiss:hover,
.geo-tabs button:hover {
  background: #eae7d6;
}
.geo-readout {
  right: var(--geo-edge);
  gap: 10px;
  padding: 5px 10px;
  font: 12px/1.3 var(--sans);
  color: #454c3e;
  pointer-events: none;
  background: #f9f3dfed;
}
.geo-readout output,
.geo-coords {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.055em;
}
.geo-north {
  font: 600 13px var(--serif);
  border-right: 1px solid #bcb395;
  padding-right: 8px;
}
.geo-legend {
  position: absolute;
  bottom: 52px;
  left: 0;
  width: 188px;
  padding: 12px 14px;
  color: #354339;
}
.geo-legend[hidden],
.geo-pages[hidden],
.geo-drawer[hidden] {
  display: none;
}
.geo-legend > strong {
  display: block;
  margin-bottom: 6px;
  font: 700 19px var(--serif);
}
.geo-legend label {
  display: flex;
  gap: 7px;
  align-items: center;
  height: 30px;
  cursor: pointer;
  font-size: 14px;
}
.geo-legend input {
  accent-color: var(--teal);
}
.geo-legend i {
  width: 11px;
  height: 9px;
  display: inline-block;
}
.legend-mountain {
  background: #486950;
  clip-path: polygon(0% 100%, 35% 25%, 45% 50%, 65% 0, 100% 100%);
}
.legend-water {
  background: #457c81;
  clip-path: polygon(
    0 60%,
    35% 17%,
    70% 45%,
    100% 3%,
    100% 42%,
    70% 82%,
    35% 54%,
    0 100%
  );
}
.legend-place {
  background: #944632;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.legend-route {
  border-bottom: 2px dashed #947047;
}
.geo-legend > a {
  display: block;
  border-top: 1px solid var(--hair);
  margin-top: 7px;
  padding-top: 8px;
  color: var(--teal);
  font-size: 13px;
}
.geo-drawer {
  position: absolute;
  z-index: 2;
  top: calc(var(--geo-edge) + 63px);
  right: var(--geo-edge);
  display: flex;
  flex-direction: column;
  width: clamp(315px, 28vw, 410px);
  height: min(510px, calc(100% - 155px));
  color: #28382e;
  border-top: 3px solid #814632;
  background: linear-gradient(130deg, #fff9ec 5%, #f5efdb 100%);
  box-shadow: 0 10px 35px #302d2445;
}
.geo-drawer-head {
  position: relative;
  padding: 18px 21px 12px;
}
.geo-kicker {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #645d49;
  font: 12px/1.4 var(--sans);
}
.geo-kicker i {
  display: inline-grid;
  place-items: center;
  background: #8b4534;
  color: #fff3d7;
  border: 1px solid #784130;
  font: 15px/1 var(--serif);
  width: 21px;
  height: 23px;
  font-style: normal;
}
.geo-drawer-head h2 {
  font: 700 clamp(28px, 3.1vw, 42px)/1.2 var(--serif);
  letter-spacing: 0.05em;
  margin: 8px 20px 4px 0;
  overflow-wrap: anywhere;
}
.geo-coords {
  font: 12px/1.4 var(--sans);
  color: #6b6a58;
}
.geo-dismiss {
  position: absolute;
  right: 9px;
  top: 10px;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
}
.geo-tabs {
  margin: 0 20px;
  border-bottom: 1px solid #c7bea4;
  display: flex;
  gap: 16px;
  flex: none;
}
.geo-tabs button {
  font: 600 14px/1.55 var(--sans);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.geo-tabs button[aria-pressed="true"] {
  color: var(--teal);
  border-color: var(--teal);
}
.geo-flow {
  flex: 1 1 0;
  min-width: 0;
  min-height: 0;
  column-count: 1;
  column-fill: auto;
  overflow: hidden;
  column-gap: 0;
  margin: 13px 20px 7px;
  line-height: 1.64;
  font-size: 15px;
  overflow-wrap: anywhere;
}
.geo-flow h3 {
  font: 700 16px/1.55 var(--serif);
  color: #445744;
  margin: 8px 0 4px;
}
.geo-flow > *:first-child {
  margin-top: 0;
}
.geo-flow p,
.geo-flow blockquote {
  margin: 0 0 8px;
  widows: 1;
  orphans: 1;
}
.geo-flow blockquote {
  font: 18px/1.65 var(--serif);
  border-inline-start: 2px solid #b1b093;
  padding-left: 9px;
}
.geo-flow .geo-summary {
  font: 17px/1.7 var(--serif);
}
.research-preview {
  border-top: 1px solid #c6bba1;
  margin: 10px 0;
  padding-top: 8px;
}
.research-picker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 7px 20px 0;
  color: #65634f;
  font: 12px/1.5 var(--sans);
}
.research-picker select {
  min-width: 0;
  max-width: 75%;
  padding: 3px 4px;
  color: #364a3b;
  border: 1px solid #c6bba1;
  border-radius: 2px;
  background: #fffbed;
  font: inherit;
}
.geo-flow .research-label,
.research-note .research-label {
  color: #80553d;
  font: 600 12px/1.5 var(--sans);
  margin: 0 0 3px;
}
.geo-flow .research-preview h3,
.geo-flow .research-note h3 {
  color: #354c42;
  font: 650 16px/1.45 var(--serif);
  margin: 2px 0 5px;
}
.research-more,
.research-source {
  color: var(--teal);
  font: 600 13px/1.65 var(--sans);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.research-more {
  cursor: pointer;
  padding: 0;
}
.research-source {
  display: block;
  width: fit-content;
  max-width: 100%;
  overflow-wrap: anywhere;
  margin: 0 0 4px;
}
.research-note {
  margin: 0 0 14px;
}
.research-sources {
  margin: 5px 0;
}
.opinion-link {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  width: 100%;
  gap: 10px;
  padding: 5px 1px;
  border-bottom: 1px dotted #c6bba1;
  color: #354c42;
  text-align: start;
  font: 600 15px/1.45 var(--serif);
  cursor: pointer;
  break-inside: avoid;
}
.opinion-link:hover span,
.opinion-link:focus-visible span {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.opinion-link small {
  flex: 0 1 auto;
  min-width: min-content;
  max-width: 40%;
  font: 12px/1.45 var(--sans);
  color: #685b4c;
}
.opinion-groups {
  display: flex;
  gap: 7px;
  align-items: baseline;
  padding: 0 0 6px;
  margin: 0 0 8px;
  border-bottom: 1px solid #c6bba1;
  break-inside: avoid;
  font: 12px/1.4 var(--sans);
  color: #645d49;
}
.research-fold {
  border-bottom: 1px dotted #c6bba1;
  padding-bottom: 3px;
}
.geo-flow .research-fold { margin-bottom: 5px; }
.research-fold summary {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding-block: 4px;
  color: #354c42;
  font: 600 16px/1.45 var(--serif);
  cursor: pointer;
  break-inside: avoid;
}
.research-fold summary::-webkit-details-marker { display: none; }
.research-fold summary::after { content: "＋"; margin-left: auto; color: #82634a; }
.research-fold[open] summary::after { content: "−"; }
.opinion-number { color: #82634a; font: 12px/1.5 var(--sans); }
.opinion-groups span { flex: 1; }
.opinion-groups button { padding: 2px; color: var(--teal); }
.opinion-groups button:disabled { opacity: .45; }
.geo-stream,
.geo-note,
.geo-citation p {
  color: #686858;
  font-size: 13px;
}
.geo-flow .text-action,
.geo-drawer footer .text-action {
  font-size: 13px;
}
.geo-citation {
  margin-bottom: 10px;
}
.geo-relation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  border-bottom: 1px dotted #c9c1a6;
}
.geo-relation small {
  color: #736d59;
}
.geo-relationship {
  break-inside: avoid;
}
.geo-flow .geo-relation-source {
  font-size: 13px;
  color: #625e4f;
  line-height: 1.5;
}
.geo-commodity {
  display: inline-block;
  max-width: 100%;
  padding: 2px 7px;
  margin: 2px 4px 2px 0;
  border: 1px solid #c8bf9e;
  background: #efe9d5;
  font: 15px/1.6 var(--serif);
}
.geo-commodity.water {
  color: #315c5b;
  border-color: #b0bfb0;
  background: #e6ecdf;
}
.geo-animal,
.geo-fauna-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #ccbea0;
  margin: 4px 0 7px;
  background: #f4e9d2;
  break-inside: avoid;
}
.geo-animal img {
  height: 44px;
  width: 65px;
  object-fit: cover;
}
.geo-animal small,
.geo-fauna-preview b {
  margin-left: auto;
  margin-right: 9px;
  font-size: 12px;
}
.geo-animal span {
  font: 700 17px var(--serif);
}
.geo-fauna-preview {
  margin-top: 13px;
  height: 65px;
}
.geo-fauna-preview img {
  width: 40%;
  height: 100%;
  object-fit: contain;
  background: #efe3c9;
}
.geo-fauna-preview span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.geo-fauna-preview small {
  font: 11px/1.3 var(--sans);
  color: #736c52;
}
.geo-fauna-preview strong {
  font: 700 20px var(--serif);
}
.geo-pages {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 10px;
  padding: 1px 19px 5px;
  font: 12px/1.5 var(--sans);
}
.geo-pages button {
  font-size: 12px;
  padding: 2px 4px;
}
.geo-drawer footer {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  min-height: 38px;
  padding: 5px 20px;
  border-top: 1px solid #cdc2a6;
  color: var(--teal);
}
@media (max-width: 690px) {
  .exploring .mast-inner {
    height: 43px;
  }
  .exploring .brand {
    padding: 0 8px;
    font-size: 18px;
    gap: 4px;
  }
  .exploring .primary-nav {
    padding: 0 2px;
  }
  .exploring .primary-nav a {
    padding: 0 5px;
    font-size: 12px;
  }
  .exploring .primary-nav a[aria-current="page"]:after {
    left: 5px;
    right: 5px;
    bottom: 5px;
  }
  .exploring .search-trigger {
    padding: 0 10px;
  }
  .exploring .search-trigger span,
  .exploring .search-trigger kbd {
    display: none;
  }
  .geo-readout {
    gap: 5px;
    font-size: 10px;
    padding: 4px 6px;
  }
  .geo-north {
    font-size: 11px;
  }
  .geo-tool {
    width: 33px;
    height: 35px;
  }
  .geo-layer-button {
    height: 37px;
    font-size: 12px;
    padding: 0 7px;
  }
  .geo-controls {
    gap: 4px;
  }
  .geo-drawer {
    top: auto;
    bottom: 64px;
    right: var(--geo-edge);
    width: clamp(210px, 72vw, 320px);
    height: min(51dvh, 450px);
  }
  .geo-drawer-head {
    padding: 11px 14px 7px;
  }
  .geo-drawer[data-section="research"] {
    height: min(71dvh, 570px);
  }
  .research-picker {
    margin-inline: 13px;
  }
  .geo-drawer-head h2 {
    font-size: 27px;
    margin: 4px 16px 2px 0;
  }
  .geo-flow {
    margin: 8px 13px 4px;
    font-size: 14px;
    line-height: 1.52;
  }
  .geo-tabs {
    margin: 0 13px;
    gap: 13px;
  }
  .geo-tabs button {
    font-size: 13px;
  }
  .geo-drawer footer {
    padding: 2px 13px;
    min-height: 33px;
  }
  .geo-flow .geo-summary {
    font-size: 16px;
  }
}
@media (max-width: 390px) {
  .geo-tabs {
    gap: 7px;
  }
  .geo-tabs button {
    white-space: nowrap;
  }
  body.exploring {
    --geo-edge: 8px;
  }
  .geo-north {
    display: none;
  }
  .geo-tool {
    width: 30px;
  }
  .geo-readout {
    gap: 4px;
  }
  .geo-drawer {
    width: min(76vw, 310px);
  }
}
@media (max-height: 540px) and (min-aspect-ratio: 1/1) {
  body.exploring {
    --geo-edge: 8px;
  }
  .exploring .mast-inner {
    height: 36px;
  }
  .geo-drawer {
    top: 50px;
    bottom: 38px;
    height: auto;
    width: min(330px, 43vw);
  }
  .geo-kicker {
    font-size: 10px;
  }
  .geo-kicker i {
    width: 16px;
    height: 17px;
    font-size: 12px;
  }
  .geo-drawer-head {
    padding: 6px 14px 4px;
  }
  .geo-drawer-head h2 {
    font-size: 21px;
    margin: 1px 25px 2px 0;
  }
  .geo-coords {
    font-size: 10px;
  }
  .geo-tabs {
    margin: 0 13px;
  }
  .geo-tabs button {
    font-size: 12px;
    padding: 2px 0;
  }
  .geo-flow {
    margin: 5px 13px 2px;
  }
  .geo-drawer footer {
    min-height: 26px;
    padding-block: 2px;
  }
}
.geo-gesture {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: max(var(--geo-edge), env(safe-area-inset-bottom));
  transform: translateX(-50%);
  font: 12px/1.5 var(--sans);
  color: #314336;
  background: #fcf7e7ee;
  padding: 4px 10px;
  pointer-events: none;
  white-space: nowrap;
  animation: geo-hint 7s forwards;
}
@keyframes geo-hint {
  0%,
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}
@media (max-width: 720px) {
  .geo-gesture {
    bottom: calc(var(--geo-edge) + 45px);
  }
}
@media (max-width: 350px) {
  .exploring .brand {
    font-size: 16px;
    padding: 0 5px;
  }
  .exploring .primary-nav a {
    padding: 0 3px;
  }
  .exploring .search-trigger {
    padding: 0 6px;
  }
  .geo-readout {
    font-size: 9px;
  }
}
