.geography { scroll-margin-top: var(--header-h); }
.geography__head { margin-bottom: clamp(20px, 4vw, 28px); }
.geography__head h2 {
  margin-bottom: 12px;
  font-size: clamp(27px, 5vw, 40px);
  letter-spacing: -.027em;
}
.geography__head p {
  max-width: 59ch;
  margin: 0;
  font-size: clamp(14px, 2.5vw, 17px);
  line-height: 1.55;
}
.geography__figure { margin: 0; }
.geography__stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 940 / 404;
  background: var(--c-black-soft);
  border: 1px solid var(--c-line-dark);
  border-radius: var(--radius);
  container-type: inline-size;
}
.geography__basemap,
.geography__routes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.geography__arrowhead {
  fill: none;
  stroke: var(--c-orange);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.geography__route {
  fill: none;
  stroke: var(--c-orange);
  stroke-width: 1.7;
  stroke-linecap: round;
  marker-end: url(#geography-arrow);
  vector-effect: non-scaling-stroke;
}
.geography__route--international { stroke-dasharray: 4 4; }
.geography__route.is-muted { opacity: .16; }
.geography__route.is-active { stroke-width: 2.2; }
.geography__label,
.geography__hub {
  position: absolute;
  z-index: 1;
  left: var(--point-x);
  top: var(--point-y);
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
}
.geography__label {
  padding: 2px 6px 3px;
  border-radius: 4px;
  color: #f4eadb;
  background: #25221ef2;
  font-size: clamp(11px, 1.95cqw, 15px);
  font-weight: 600;
  line-height: 1.2;
}
.geography__label--country {
  color: #cec4b6;
  background: transparent;
  font-size: clamp(12px, 2.4cqw, 18px);
  letter-spacing: .20em;
  text-transform: uppercase;
}
.geography__label.is-muted { opacity: .35; }
.geography__hub {
  --point-x: 30.819%;
  --point-y: 51.881%;
  z-index: 2;
  width: 11px;
  height: 11px;
  border: 2px solid #fff5e5;
  border-radius: 50%;
  background: var(--c-orange);
  outline: 4px solid #fca92535;
}
.geography__hub span {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  padding: 4px 9px 5px;
  border-radius: 5px;
  background: var(--c-orange);
  color: var(--c-ink);
  font-size: clamp(11px, 2cqw, 14px);
  font-weight: 800;
  line-height: 1.2;
}
.geography__legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  margin-top: 14px;
}
.geography__legend[hidden] { display: none; }
.geography__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  min-height: 44px;
  padding: 5px 13px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: var(--c-white);
  color: var(--c-ink);
  font: 600 13px/1.2 var(--font);
  cursor: pointer;
}
.geography__button:hover { border-color: var(--c-ink); }
.geography__button:focus-visible {
  outline: 2px solid var(--c-ink);
  outline-offset: 3px;
}
.geography__button[aria-pressed="true"] {
  border-color: var(--c-orange);
  background: var(--c-orange);
}
.geography__sample {
  width: 15px;
  border-top: 2px solid #82520f;
}
.geography__sample--dashed { border-top-style: dashed; }
.geography__caption {
  margin-top: 12px;
  color: var(--c-text-muted);
  font-size: 12px;
  line-height: 1.45;
}
@container (max-width: 490px) {
  .geography__label { display: none; }
  .geography__hub { width: 8px; height: 8px; outline-width: 2px; }
  .geography__hub span { bottom: calc(100% + 5px); padding: 3px 6px; }
}
@media (max-width: 450px) {
  .geography__legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .geography__button { gap: 6px; padding-inline: 8px; font-size: 12px; }
}
@media (prefers-reduced-motion: no-preference) {
  .geography__route, .geography__label { transition: opacity 150ms ease-out; }
}
