@font-face {
  font-family: Manrope;
  src: url(/assets/fonts/manrope-latin-wght-normal.woff2);
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url(/assets/fonts/manrope-cyrillic-wght-normal.woff2);
  font-weight: 200 800;
  unicode-range: U+0400-052F;
  font-display: swap;
}
@font-face {
  font-family: Playfair;
  src: url(/assets/fonts/playfair-display-latin-wght-normal.woff2);
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: Playfair;
  src: url(/assets/fonts/playfair-display-cyrillic-wght-normal.woff2);
  font-weight: 400 900;
  unicode-range: U+0400-052F;
  font-display: swap;
}
:root {
  --paper: #faf7ef;
  --ink: #252d29;
  --muted: #586057;
  --line: #d7d9ca;
  --fir: #263f35;
  --clay: #a64729;
  --map: #e9e9da;
  font-family: Manrope, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 15px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
}
button,
select,
input {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  color: inherit;
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: default;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible,
#stage:focus-visible {
  outline: 3px solid #ad4126;
  outline-offset: 3px;
}
#stage:focus-visible {
  outline-offset: -4px;
}
.skip {
  position: fixed;
  left: 10px;
  top: -100px;
  background: white;
  padding: 10px;
  z-index: 20;
}
.skip:focus {
  top: 5px;
}
header {
  height: 70px;
  display: flex;
  align-items: center;
  background: var(--paper);
  padding-inline: clamp(20px, 3.5vw, 50px);
  gap: 22px;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 4;
}
.wordmark {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
  color: var(--fir);
}
.wordmark strong {
  font:
    650 25px/1 Playfair,
    Georgia,
    serif;
  letter-spacing: -1px;
}
.wordmark svg {
  width: 39px;
  height: 39px;
}
.section-name {
  padding-left: 22px;
  border-left: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 3px;
}
nav a {
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  display: grid;
  place-items: center;
  min-width: 34px;
  min-height: 40px;
}
nav a[aria-current] {
  text-decoration: underline;
  text-underline-offset: 6px;
  color: var(--clay);
}
main {
  height: calc(100vh - 70px);
  height: calc(100dvh - 70px);
  display: grid;
  grid-template-columns: clamp(310px, 32vw, 465px) minmax(0, 1fr);
}
aside {
  grid-column: 1;
  grid-row: 1;
  min-height: 0;
  overflow: auto;
  padding: clamp(23px, 3.4vw, 52px);
  scrollbar-width: thin;
}
#stage {
  grid-column: 2;
  grid-row: 1;
  background: var(--map);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  touch-action: none;
  user-select: none;
  border-left: 1px solid var(--line);
  cursor: grab;
}
#stage.dragging {
  cursor: grabbing;
}
#map,
#markers {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
#markers {
  pointer-events: none;
}
h1,
h2,
p,
figure {
  margin: 0;
}
h1 {
  font:
    500 clamp(35px, 4.7vw, 72px) / 1.03 Playfair,
    Georgia,
    serif;
  letter-spacing: -0.05em;
  color: var(--fir);
  overflow-wrap: anywhere;
  margin: 10px 0 18px;
}
h2,
h1.place-title {
  font:
    500 clamp(29px, 3.2vw, 49px) / 1.05 Playfair,
    Georgia,
    serif;
  letter-spacing: -0.045em;
  color: var(--fir);
  margin: 10px 0 16px;
}
.intro,
.body-copy {
  font-size: 15px;
  line-height: 1.62;
  color: var(--muted);
}
.kicker,
.file-year {
  color: var(--clay);
  font-weight: 720;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.kicker i,
.map-title i {
  display: inline-block;
  width: 22px;
  height: 2px;
  background: var(--clay);
  margin-right: 9px;
  vertical-align: middle;
}
.list-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 30px 0 5px;
  font-size: 13px;
  font-weight: 650;
}
.list-head span {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}
.place-row {
  display: grid;
  grid-template-columns: 70px 1fr 15px;
  align-items: center;
  gap: 13px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}
.place-row:first-child {
  border-top: 0;
}
.place-row:last-child {
  border-bottom: 1px solid var(--line);
}
.place-row img {
  width: 70px;
  height: 58px;
  border: 1px solid #0002;
  object-fit: cover;
}
.place-row strong {
  font:
    550 19px/1.2 Playfair,
    Georgia,
    serif;
  display: block;
}
.place-row small {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.place-row:hover strong {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.place-row .arrow {
  color: var(--clay);
  font-size: 19px;
}
.map-title,
.maptools,
.north,
.map-base {
  position: absolute;
  z-index: 3;
  pointer-events: none;
}
.map-title {
  top: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 9px 12px;
  font-weight: 600;
  font-size: 12px;
}
.map-title i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fir);
  margin-right: 7px;
}
.north {
  display: grid;
  place-items: center;
  top: 18px;
  right: 20px;
  font-size: 10px;
  letter-spacing: 0.1em;
}
.north svg {
  width: 18px;
  height: 30px;
}
.maptools {
  bottom: 48px;
  right: 18px;
  display: flex;
  flex-direction: column;
  border: 1px solid #bdc2b2;
  box-shadow: 0 2px 7px #38483725;
  border-radius: 4px;
  overflow: hidden;
}
.maptools button {
  background: var(--paper);
  border: 0;
  width: 44px;
  height: 42px;
  font-size: 22px;
  pointer-events: auto;
  line-height: 1;
}
.maptools button + button {
  border-top: 1px solid var(--line);
}
.map-base {
  bottom: 0;
  width: 100%;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 13px;
  background: #faf7efe8;
  font-size: 10px;
  color: #344139;
}
.map-base a {
  pointer-events: auto;
}
.scale {
  display: grid;
  justify-items: center;
  font-size: 9px;
  white-space: nowrap;
}
.scale i {
  height: 4px;
  border: 1px solid #4c574d;
  border-top: 0;
}
.scale b {
  font-weight: 500;
}
.marker {
  pointer-events: auto;
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translate(-50%, -100%);
  text-decoration: none;
  z-index: 2;
  outline-offset: 4px;
}
.marker:hover,
.marker.on {
  z-index: 3;
}
.back,
.textlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  text-decoration: none;
  padding: 9px 0;
  color: var(--fir);
  font-size: 13px;
  font-weight: 650;
}
.back {
  margin-bottom: 13px;
}
.meta {
  font-size: 12px;
  font-weight: 650;
  color: var(--clay);
  letter-spacing: 0.04em;
}
.hero-photo,
.comparison {
  position: relative;
  aspect-ratio: 1.6;
  background: #ddd8cc;
  overflow: hidden;
  isolation: isolate;
  margin-bottom: 13px;
}
.hero-photo img,
.comparison img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-photo figcaption,
.compare-label {
  position: absolute;
  left: 9px;
  bottom: 9px;
  padding: 3px 7px;
  background: #fcfaf0eb;
  color: var(--ink);
  font-size: 10px;
}
.button {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 14px;
  text-align: center;
  background: var(--fir);
  color: #fff;
  border: 1px solid var(--fir);
  border-radius: 3px;
  font-weight: 650;
  text-decoration: none;
  font-size: 14px;
}
.button:hover {
  filter: brightness(1.13);
}
.button.secondary {
  background: transparent;
  color: var(--fir);
  border-color: #92a18d;
}
.actions {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}
.fine {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 15px;
  margin: 12px 0;
}
.links a {
  font-size: 12px;
  text-underline-offset: 3px;
}
.credit {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.65;
}
.credit summary,
details summary {
  cursor: pointer;
  font-weight: 650;
}
.credit p {
  margin: 6px 0;
}
.credit a,
.inline {
  overflow-wrap: anywhere;
  text-underline-offset: 3px;
}
.comparison {
  --split: 50%;
  aspect-ratio: 1.26;
}
.comparison img {
  position: absolute;
  inset: 0;
  object-fit: contain;
  background: #d7d5c8;
}
.comparison img + img {
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
}
.compare-line {
  position: absolute;
  left: var(--split);
  height: 100%;
  border-left: 2px solid white;
  filter: drop-shadow(0 1px 2px #222);
  pointer-events: none;
}
.compare-label.right {
  left: auto;
  right: 7px;
}
.range {
  width: 100%;
  accent-color: var(--clay);
  min-height: 40px;
}
.geo-info {
  padding: 16px 0;
  margin-top: 10px;
  border-block: 1px solid var(--line);
}
.geo-info strong {
  color: var(--fir);
  display: block;
  font-size: 14px;
}
.geo-info small {
  display: block;
  font-size: 12px;
  margin-top: 5px;
}
.coordinates {
  font: 600 13px/1.4 monospace;
  letter-spacing: 0.03em;
}
.audio {
  margin: 10px 0;
}
.audio audio {
  width: 100%;
  margin: 8px 0;
}
.preview-layer-switch {
  cursor: pointer;
}
@media (max-width: 760px) {
  header {
    height: 53px;
    padding: 0 16px;
    gap: 11px;
  }
  .wordmark svg {
    height: 28px;
    width: 28px;
  }
  .wordmark strong {
    font-size: 20px;
  }
  .section-name {
    font-size: 11px;
    padding-left: 11px;
  }
  .wordmark {
    gap: 6px;
  }
  nav {
    gap: 0;
  }
  nav a {
    min-width: 31px;
  }
  main {
    height: auto;
    min-height: calc(100dvh - 53px);
    display: flex;
    flex-direction: column;
  }
  #stage {
    order: 0;
    border: 0;
    border-bottom: 1px solid #a7b19e;
    flex: none;
    height: clamp(315px, 52dvh, 490px);
  }
  aside {
    order: 1;
    overflow: visible;
    padding: 23px 20px 42px;
    position: relative;
    background: var(--paper);
  }
  .has-place #stage {
    height: clamp(205px, 33dvh, 330px);
  }
  h1 {
    font-size: clamp(35px, 8.4vw, 47px);
    margin: 6px 0 12px;
  }
  h2,
  h1.place-title {
    font-size: 32px;
    margin: 6px 0 12px;
  }
  .intro {
    font-size: 14px;
    line-height: 1.5;
  }
  .list-head {
    margin-top: 20px;
  }
  .place-row {
    padding: 11px 0;
  }
  .maptools {
    bottom: 30px;
    right: 10px;
  }
  .maptools button {
    width: 38px;
    height: 36px;
  }
  .map-title {
    top: 10px;
    left: 10px;
    padding: 6px 8px;
    font-size: 10px;
  }
  .north {
    top: 10px;
    right: 12px;
  }
  .north svg {
    width: 14px;
    height: 24px;
  }
  .map-base {
    font-size: 9px;
    padding: 3px 9px;
  }
  .back {
    margin: 0 0 7px;
    padding: 4px 0 9px;
  }
  .hero-photo,
  .comparison {
    max-height: 340px;
  }
  .has-place aside:before {
    content: '';
    position: absolute;
    top: 6px;
    width: 32px;
    height: 3px;
    background: #cbcabe;
    border-radius: 2px;
    left: calc(50% - 16px);
  }
}
@media (max-width: 370px) {
  .section-name {
    display: none;
  }
  .maptools button {
    width: 32px;
    height: 32px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
.photo-options {
  display: flex;
  gap: 4px;
  margin: 0 0 12px;
}
.photo-options a {
  min-height: 35px;
  padding: 7px 13px;
  font:
    650 12px/20px Manrope,
    sans-serif;
  border: 1px solid var(--line);
  text-decoration: none;
}
.photo-options a[aria-current] {
  background: #e3e7d9;
  border-color: #788b75;
}
.tile-button {
  position: absolute;
  top: 55px;
  left: 18px;
  z-index: 3;
  border: 1px solid #a8b29e;
  background: #faf7eff5;
  border-radius: 3px;
  padding: 7px 11px;
  font-size: 11px;
  min-height: 35px;
  color: var(--fir);
}
.tile-base {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.tile-base img {
  position: absolute;
  max-width: none;
  display: block;
  opacity: 0.85;
}
.map-note {
  position: absolute;
  left: 12px;
  bottom: 29px;
  background: #fff9e9;
  padding: 5px 9px;
  font-size: 11px;
  z-index: 3;
  max-width: 75%;
}
.inset-map {
  position: absolute;
  pointer-events: none;
  bottom: 42px;
  left: 16px;
  width: 75px;
  height: 83px;
  opacity: 0.95;
}
.maptools {
  background: #faf7ef;
}
.place-row .arrow {
  font-size: 0;
  position: relative;
  width: 15px;
  height: 15px;
}
.arrow:before {
  content: '';
  position: absolute;
  left: 2px;
  top: 7px;
  width: 12px;
  height: 1.5px;
  background: #8f492c;
  transform: rotate(-45deg);
}
.arrow:after {
  content: '';
  position: absolute;
  right: 0;
  top: 1px;
  border-right: 1.5px solid #8f492c;
  border-top: 1.5px solid #8f492c;
  width: 7px;
  height: 7px;
}
.qr {
  margin-top: 15px;
  font-size: 12px;
}
.qr canvas {
  display: block;
  margin: 8px 0;
}
.qr a {
  word-break: break-all;
}
.noscript-places a {
  min-height: 44px;
  display: inline-block;
  padding: 6px;
}
@media (max-width: 760px) {
  .tile-button {
    top: 45px;
    left: 10px;
    min-height: 32px;
    padding: 5px 8px;
  }
  .inset-map {
    width: 47px;
    height: 55px;
    bottom: 29px;
    left: 8px;
  }
}
#stage {
  background-color: #e8e9dc;
  background-image:
    radial-gradient(ellipse at 85% 95%, #f7f2df88 0, transparent 53%),
    radial-gradient(ellipse at 10% 18%, #bfcdb73b 0, transparent 57%);
}
@media (min-width: 900px) {
  .place-row {
    grid-template-columns: 84px 1fr 15px;
  }
  .place-row img {
    width: 84px;
    height: 67px;
  }
}

.home-link {
  margin-inline-start: auto;
  color: var(--fir);
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  text-decoration: none;
}
.home-link:hover {
  text-decoration: underline;
}
.home-link + nav {
  margin-inline-start: 0;
}
.language-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}
.static-place {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.static-place h3 {
  margin: 4px 0;
}
.static-place p {
  margin: 6px 0;
}
.static-place a {
  text-underline-offset: 3px;
}
html:not(.atlas-ready) #stage {
  display: none;
}
html:not(.atlas-ready) main {
  display: block;
  max-width: 900px;
  margin: auto;
  height: auto;
}
html:not(.atlas-ready) #panel {
  overflow: visible;
}
@media (max-width: 760px) {
  header {
    padding-inline: 12px;
    gap: 10px;
  }
  .home-link {
    font-size: 12px;
  }
  .section-name {
    display: none;
  }
}
.static-photo {
  display: inline-block;
  width: min(100%, 390px);
  margin: 18px 12px 18px 0;
  vertical-align: top;
}
.static-photo img {
  display: block;
  max-width: 100%;
  height: 200px;
  object-fit: contain;
}
.static-photo figcaption {
  margin-top: 7px;
  font-size: 12px;
}
.language-note {
  margin: 0;
  padding: 5px 16px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
body:has(.language-note) main {
  height: calc(100dvh - 98px);
}
@media (max-width: 760px) {
  body:has(.language-note) main {
    height: auto;
  }
}

/* Illustrated city map. Leaders connect the paper labels with their geographic coordinates. */
:root {
  --atlas-ink: #173e47;
  --atlas-water: #287b93;
  --atlas-green: #126d5f;
  --atlas-paper: #fffaf0;
  --atlas-rule: #d6d0b8;
}
#atlas-sidebar {
  padding: 0;
  background: var(--atlas-paper);
}
#city-welcome,
#panel,
#station-walk-controls {
  padding-inline: clamp(21px, 2.7vw, 43px);
}
#city-welcome {
  padding-block: 32px 23px;
  background: #f7efdb;
  border-bottom: 1px solid var(--atlas-rule);
}
#city-welcome[hidden],
#station-walk-controls[hidden] {
  display: none;
}
#city-welcome h1 {
  font-size: clamp(37px, 4.3vw, 66px);
  color: var(--atlas-ink);
  margin: 0.16em 0 0.2em;
}
#city-welcome p {
  font-size: 15px;
  line-height: 1.53;
  color: #425651;
}
.welcome-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #805018;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.welcome-kicker i {
  width: 22px;
  height: 3px;
  background: #c88227;
}
#panel {
  padding-block: 18px 32px;
}
#panel .list-head {
  margin-top: 0;
}
#atlas-sidebar:has(.place-title) #panel {
  padding-top: 24px;
}
.place-row {
  grid-template-columns: 54px minmax(0, 1fr) 18px;
}
.place-row .row-art {
  display: grid;
  place-items: center;
  width: 52px;
  height: 44px;
  border-radius: 6px;
  background: #edf2e4;
  color: var(--atlas-green);
}
.place-row[data-layer='landmarks'] .row-art {
  background: #e4f1ed;
  color: #235974;
}
.place-row[data-layer='archive'] .row-art {
  background: #f9ebd6;
  color: #99452b;
}
.place-row .row-art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border: none;
}
#stage {
  background:
    radial-gradient(ellipse at 18% 22%, #cde8d96e, transparent 50%),
    radial-gradient(ellipse at 75% 78%, #f8dea873, transparent 55%), #f3f0d9;
}
#city-leaders {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
#markers {
  z-index: 2;
}
.city-pin,
.city-cluster {
  box-sizing: border-box;
  margin: 0;
  pointer-events: auto;
  border: 0;
  padding: 0;
  position: absolute;
  cursor: pointer;
}
.marker.city-pin {
  color: #1c454c;
  transform: none;
  border-radius: 7px;
  justify-content: flex-end;
  gap: 0;
}
.city-art {
  flex: 1;
  min-height: 0;
  display: grid;
  place-items: end center;
  width: 100%;
  overflow: visible;
}
.city-art > * {
  grid-area: 1/1;
}
.city-art > svg {
  align-self: center;
  width: 36px;
  height: 36px;
  color: currentColor;
  border-radius: 10px;
  padding: 5px;
  box-sizing: border-box;
  background: #fff7e0;
  border: 1px solid currentColor;
}
.city-art.has-image > svg {
  visibility: hidden;
}
.city-art > img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 1px 1px #394a482a);
}
.city-art.photographic > img {
  width: 76%;
  height: 86%;
  align-self: end;
  object-fit: cover;
  border: 3px solid #fffae9;
  box-shadow: 0 1px 4px #3548404d;
  border-radius: 3px;
}
.city-name {
  position: relative;
  max-width: 100%;
  border: 1px solid #4f756a;
  border-radius: 5px;
  padding: 2px 5px;
  color: #123c39;
  background: #fffaf0f5;
  box-shadow: 0 1px 2px #514c3526;
  text-align: center;
  font:
    700 11px/1.15 Manrope,
    sans-serif;
  overflow-wrap: break-word;
}
.city-pin[data-layer='archive'] .city-name {
  color: #793820;
  border-color: #ad6841;
}
.city-pin[data-layer='landmarks'] .city-name {
  color: #1a4866;
  border-color: #538093;
}
.city-pin:hover .city-name,
.city-pin:focus-visible .city-name,
.city-pin.on .city-name {
  background: var(--atlas-ink);
  border-color: var(--atlas-ink);
  color: #fffaf0;
}
.station-flag {
  position: absolute;
  top: -1px;
  right: 1px;
  z-index: 1;
  padding: 1px 5px;
  border: 1px solid #366351;
  border-radius: 9px;
  background: #ffe09a;
  color: #423713;
  font:
    800 9px/1.4 Manrope,
    sans-serif;
}
.city-cluster {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #126557;
  color: #fff;
  box-shadow:
    0 0 0 3px #fff9de,
    0 0 0 5px #47917c;
  font:
    800 19px/1 Manrope,
    sans-serif;
}
.map-title,
.north,
.maptools,
.map-base,
.tile-button,
.map-note,
.layer-toolbar {
  z-index: 6;
}
.map-title {
  top: 15px;
  left: 15px;
  color: var(--atlas-ink);
  padding: 7px 11px;
  background: #fff9e9;
  border-color: #92aaa1;
  border-radius: 6px;
}
.map-title i {
  background: var(--atlas-green);
}
.tile-button {
  top: 57px;
  left: 15px;
  background: #fffaf0;
  color: var(--atlas-ink);
  border: 1px solid #819990;
  border-radius: 6px;
  min-height: 42px;
}
.maptools {
  bottom: 49px;
  right: 14px;
  border: 1px solid #8ca398;
  border-radius: 7px;
}
.maptools button {
  color: var(--atlas-ink);
  height: 44px;
  background: var(--atlas-paper);
}
.map-base {
  min-height: 22px;
  background: #fffbeadf;
  font-size: 9px;
  align-items: center;
}
.layer-toolbar {
  position: absolute;
  left: 50%;
  bottom: 35px;
  transform: translateX(-50%);
  margin: 0;
  border: 1px solid #91a497;
  padding: 3px;
  display: flex;
  align-items: center;
  gap: 3px;
  max-width: calc(100% - 18px);
  background: var(--atlas-paper);
  border-radius: 9px;
  box-shadow: 0 2px 6px #2c484927;
}
.layer-toolbar legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.layer-toolbar button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 44px;
  min-height: 39px;
  padding: 5px 9px;
  border: 1px solid transparent;
  background: transparent;
  color: #344139;
  font:
    750 12px/1.17 Manrope,
    sans-serif;
  border-radius: 5px;
  cursor: pointer;
}
.layer-toolbar button[aria-pressed='true'] {
  background: #f6dfc6;
  color: #783817;
}
.layer-toolbar button[data-layer='culture'][aria-pressed='true'] {
  background: #d9ecdd;
  color: #16574a;
}
.layer-toolbar button[data-layer='landmarks'][aria-pressed='true'] {
  background: #dbebed;
  color: #214d67;
}
.layer-toolbar i {
  width: 9px;
  height: 9px;
  display: inline-block;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  flex-shrink: 0;
}
.layer-toolbar [aria-pressed='true'] i {
  background: currentColor;
}
.map-note {
  bottom: 90px;
  left: 16px;
}
.city-illustration {
  display: grid;
  justify-items: center;
  padding: 12px;
  background: #f5efdb;
  border-radius: 6px;
  margin: 12px 0;
}
.city-illustration img {
  height: 139px;
  width: 100%;
  object-fit: contain;
}
.city-illustration figcaption {
  margin-top: 5px;
  color: #5f6356;
  font-size: 11px;
}
@media (max-width: 760px) {
  #stage {
    height: clamp(425px, 58dvh, 565px);
  }
  .has-place #stage {
    height: clamp(245px, 36dvh, 380px);
  }
  #city-welcome {
    padding-block: 19px 15px;
  }
  #city-welcome h1 {
    font-size: clamp(34px, 8vw, 46px);
  }
  #city-welcome p {
    font-size: 14px;
  }
  #panel {
    padding-block: 15px 27px;
  }
  .map-title {
    top: 8px;
    left: 8px;
  }
  .tile-button {
    top: 8px;
    left: auto;
    right: 8px;
    min-height: 37px;
  }
  .north {
    display: none;
  }
  .inset-map {
    display: none;
  }
  .maptools {
    top: 57px;
    right: 8px;
    bottom: auto;
  }
  .maptools button {
    width: 36px;
    height: 37px;
  }
  .layer-toolbar {
    bottom: 29px;
    width: max-content;
    max-width: calc(100% - 10px);
  }
  .layer-toolbar button {
    padding: 4px 6px;
    min-height: 35px;
    font-size: 11px;
  }
  .map-base {
    padding: 2px 6px;
  }
  .map-base .scale {
    font-size: 8px;
  }
  .city-name {
    font-size: 10px;
    padding: 1px 4px;
  }
  .map-note {
    left: 8px;
    top: 46px;
    bottom: auto;
    max-width: 64%;
  }
  .has-place .layer-toolbar {
    display: none;
  }
  .has-place .city-pin:not(.on),
  .has-place .city-cluster {
    opacity: 0.8;
  }
}
.area-geography {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.area-geography path {
  stroke-linecap: round;
  stroke-linejoin: round;
}
.area-geography .base-park {
  fill: #b8dca5;
  stroke: #9fc58f;
  stroke-width: 0.8;
}
.area-geography .base-water {
  fill: #a6d8df;
  stroke: #77b9c7;
  stroke-width: 2;
}
.area-geography .base-building {
  fill: #e6d0ad;
  stroke: #cbb596;
  stroke-width: 0.55;
}
.area-geography .base-street {
  fill: #f9f4d9;
  stroke: #fffdf6;
  stroke-width: 3.5;
}
.area-geography .base-major-street {
  fill: #fff3c4;
  stroke: #faf0c5;
  stroke-width: 5;
}
.area-geography .base-rail {
  fill: none;
  stroke: #938f86;
  stroke-width: 1;
  stroke-dasharray: 4 2;
}
.area-geography .base-path {
  fill: none;
  stroke: #b8ac88;
  stroke-width: 1;
  stroke-dasharray: 2 2;
}
.area-geography .base-line {
  fill: none;
}
.city-art {
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
}
@media (max-width: 760px) {
  #stage {
    height: clamp(435px, 54dvh, 560px);
  }
  #city-welcome {
    padding-block: 14px 11px;
  }
  #city-welcome h1 {
    margin-block: 3px 4px;
  }
  .layer-toolbar button {
    min-height: 40px;
  }
}
.district-view {
  border-block: 1px solid var(--atlas-rule);
  margin-block: 15px;
  padding-block: 7px;
}
.district-view summary {
  min-height: 42px;
  padding-block: 9px;
  cursor: pointer;
  font-weight: 700;
}
.district-view figure {
  margin: 0 0 9px;
}
.district-view img {
  width: 100%;
  max-height: 420px;
  display: block;
  object-fit: contain;
  border-radius: 5px;
  background: #f7efd9;
}
.district-view figcaption {
  margin-top: 5px;
  font-size: 11px;
  color: var(--muted);
}
.street-labels text {
  text-anchor: middle;
  dominant-baseline: central;
  fill: #4c5249;
  stroke: #fff9e7;
  stroke-width: 2.4px;
  stroke-linejoin: round;
  paint-order: stroke;
  font:
    600 9px Manrope,
    sans-serif;
}

/* Fixed destinations sit outside the draggable map, including at phone widths. */
#atlas-explore {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 14px;
  background: var(--atlas-paper);
  border-block-end: 1px solid var(--atlas-rule);
  border-inline-start: 1px solid var(--atlas-rule);
}
main {
  grid-template-rows: auto minmax(0, 1fr);
}
#stage {
  grid-row: 2;
}
#atlas-sidebar {
  grid-row: 1 / span 2;
}
.scope-buttons {
  display: flex;
  align-items: stretch;
  gap: 3px;
}
.scope-buttons a,
.zoo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 5px 13px;
  border-radius: 7px;
  color: var(--atlas-ink);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.15;
  font-weight: 750;
}
.scope-buttons a[aria-current='true'] {
  background: #1f5352;
  color: #fffdf4;
}
.scope-buttons a:hover:not([aria-current]) {
  background: #efe9d9;
}
.zoo-link {
  border: 1px solid #b48249;
  color: #774714;
  background: #fff0cf;
  white-space: nowrap;
}
.zoo-link:hover {
  background: #ffe1a6;
}
.layer-switch {
  display: none;
}
.territory-key {
  position: absolute;
  z-index: 6;
  bottom: 35px;
  left: 12px;
  padding: 5px 8px;
  border-radius: 5px;
  color: #225e58;
  background: #fff9ecf5;
  font-size: 10px;
  pointer-events: none;
}
.territory-key:before {
  content: '';
  display: inline-block;
  width: 21px;
  margin-right: 5px;
  border-top: 2px dashed #247c69;
  vertical-align: middle;
}
.territory-key[hidden] {
  display: none;
}
#map .outside-city {
  fill: #d9d8d2;
  fill-opacity: 0.44;
}
#map .city-boundary {
  stroke: #226955;
  stroke-width: 2.3;
  stroke-dasharray: 7 4;
}
.area-geography .base-forest {
  fill: #9ec38b;
  stroke: #8bb27b;
  stroke-width: 0.55;
}
.area-geography .base-garden {
  fill: #c8dfaf;
  stroke: #86a875;
  stroke-width: 0.8;
}
.area-geography .base-zoo {
  fill: #d2e2a9;
  stroke: #76934b;
  stroke-width: 1.4;
}
.area-geography .base-miniature {
  fill: none;
  stroke: #826854;
  stroke-width: 1.4;
  stroke-dasharray: 4 2;
}
.place-search {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 10px 0 7px;
  padding: 0 0.7rem;
  border: 1px solid #8b9b88;
  border-radius: 7px;
  color: #41605b;
  background: #fffdf5;
}
.place-search svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.place-search input {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  border: 0;
  background: none;
  color: var(--atlas-ink);
  font: inherit;
  font-size: 14px;
}
.walk-advice {
  padding: 12px 15px;
  border-inline-start: 3px solid #55966d;
  background: #edf3e5;
  font-size: 14px;
}
.layer-toolbar button[data-layer='family'][aria-pressed='true'],
.city-pin[data-layer='family'] .city-name {
  background: #fbedce;
  color: #774714;
}
.layer-toolbar button[data-layer='nature'][aria-pressed='true'],
.city-pin[data-layer='nature'] .city-name {
  background: #e2efd9;
  color: #315936;
}
.layer-toolbar button[data-layer='surroundings'][aria-pressed='true'],
.city-pin[data-layer='surroundings'] .city-name {
  background: #eee6f3;
  color: #654573;
}
.city-pin.on .city-name {
  background: var(--atlas-ink);
  color: var(--atlas-paper);
}
#stage .map-title .territory-line {
  display: none;
}
@media (min-width: 761px) {
  .territory-key {
    top: 100px;
    bottom: auto;
  }
  .layer-toolbar {
    left: 14px;
    bottom: 30px;
    transform: none;
    max-width: calc(100% - 81px);
    flex-wrap: wrap;
  }
  .layer-toolbar button {
    min-height: 37px;
    padding: 3px 7px;
  }
}
@media (max-width: 760px) {
  #atlas-explore {
    order: -1;
    padding: 4px 8px;
    border-inline-start: 0;
  }
  .scope-buttons a,
  .zoo-link {
    min-height: 40px;
    padding: 5px 8px;
    font-size: 12px;
  }
  .territory-key {
    top: 49px;
    bottom: auto;
    left: 8px;
  }
  .layer-switch {
    display: flex;
    position: absolute;
    z-index: 6;
    left: 8px;
    bottom: 28px;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    min-height: 38px;
    border: 1px solid #81998b;
    border-radius: 8px;
    background: #fffaf0;
    color: var(--atlas-ink);
    font:
      700 12px/1.1 Manrope,
      sans-serif;
  }
  .layer-toolbar {
    display: none;
    left: 8px;
    bottom: 71px;
    transform: none;
    max-width: calc(100% - 16px);
    width: min(315px, 90%);
  }
  .layers-open .layer-toolbar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .layer-switch[aria-expanded='true'] span {
    transform: rotate(180deg);
  }
  .layer-toolbar button {
    min-width: 0;
    font-size: 11px;
  }
  .has-place .layer-switch,
  .has-place .layer-toolbar {
    display: none;
  }
}
@media (max-width: 351px) {
  #atlas-explore {
    gap: 3px;
    padding-inline: 4px;
  }
  .scope-buttons {
    gap: 0;
  }
  .scope-buttons a,
  .zoo-link {
    font-size: 11px;
    padding-inline: 6px;
  }
  .zoo-link svg {
    width: 16px;
  }
}
html:not(.atlas-ready) #atlas-explore .scope-buttons {
  display: none;
}
html:not(.atlas-ready) #atlas-explore {
  justify-content: flex-end;
}

.town-name {
  display: block;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 800;
}

#map .park-walk-halo,
#map .park-walk-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.park-walk-halo {
  stroke: #fffbed;
  stroke-width: 7px;
}
.park-walk-line {
  stroke: #177452;
  stroke-width: 3.8px;
}
.park-waypoint {
  fill: #197455;
  stroke: #fff8e9;
  stroke-width: 2px;
}
.park-waypoint.end {
  fill: #994a27;
}
.park-waypoint-label {
  font:
    800 11px Manrope,
    sans-serif;
  paint-order: stroke;
  stroke: #fff8e9;
  stroke-width: 3px;
  fill: #193f31;
}
.walk-ends {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 0.6rem 0.9rem;
}
.walk-ends dt {
  font-weight: bold;
  color: #346452;
}
.walk-ends dd {
  margin: 0;
}

.city-cluster.central-cluster {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  border: 0;
  box-shadow: none;
  background: transparent;
}
.central-cluster img {
  height: calc(100% - 18px);
  width: 100%;
  object-fit: contain;
}
.central-cluster span {
  padding: 2px 6px;
  border-radius: 5px;
  border: 1px solid #305e51;
  color: #fff9e7;
  background: #20574c;
  font:
    750 11px/1.2 Manrope,
    sans-serif;
}
.central-cluster b {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  place-items: center;
  min-width: 23px;
  height: 23px;
  padding-inline: 3px;
  border: 2px solid #fffaf0;
  border-radius: 14px;
  color: white;
  background: #195e50;
  font:
    800 11px/1 Manrope,
    sans-serif;
}

#map .neighbour-boundary {
  fill: none;
  stroke: #8b8497;
  stroke-width: 1.1px;
  stroke-dasharray: 3 3;
}

.regional-picks {
  margin: 0 0 1.4rem;
}
.regional-picks h2 {
  margin: 0 0 6px;
  color: var(--atlas-ink);
  font:
    600 clamp(21px, 2vw, 30px) / 1.15 Georgia,
    serif;
}
.regional-picks a {
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 51px;
  border-bottom: 1px solid var(--atlas-rule);
  color: var(--atlas-ink);
  text-decoration: none;
  font-size: 14px;
}
.regional-picks a:hover strong {
  text-decoration: underline;
}
.regional-picks a > span {
  display: grid;
  place-items: center;
  height: 41px;
  color: #427850;
}
.regional-picks img {
  max-width: 45px;
  height: 38px;
  object-fit: contain;
}
.regional-picks i {
  font-style: normal;
}

#stage:not([data-area='centre']) .journey-tracks,
#stage:not([data-area='centre']) .journey-beacon {
  display: none;
}

@media (max-width: 351px) {
  header {
    padding-inline: 7px;
    gap: 6px;
  }
}
.city-illustration figcaption {
  text-align: center;
}

/* Area views use the same shapes with narrower strokes for their smaller map scale. */
#stage[data-detail='district'] .base-street {
  stroke-width: 2px;
}
#stage[data-detail='district'] .base-major-street {
  stroke-width: 3px;
}
#stage[data-detail='district'] .base-building {
  stroke-width: 0.35px;
}
#stage[data-detail='regional'] .base-building {
  fill-opacity: 0.55;
  stroke: none;
}
#stage[data-detail='regional'] .base-path {
  display: none;
}
#stage[data-detail='regional'] .base-street {
  stroke: #fbf6df;
  stroke-width: 0.75px;
}
#stage[data-detail='regional'] .base-major-street {
  stroke: #dbb579;
  stroke-width: 1.6px;
}
#stage[data-detail='regional'] .base-rail {
  stroke-width: 0.65px;
  stroke-dasharray: 2 2;
}
#stage[data-detail='regional'] .base-water {
  stroke-width: 1.35px;
}
