:root {
  color-scheme: dark;
  --ink: #181916;
  --paper: #ede9da;
  --lime: #d9fa57;
  --muted: #c1bfb0;
  --line: #555749;
  --mono: "Courier New", monospace;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: Arial, sans-serif; }
.wrap { width: min(94%, 1440px); margin-inline: auto; }
button { cursor: pointer; font: inherit; }
:focus-visible { outline: 3px solid #256ac9; outline-offset: 3px; }
.selector :focus-visible, .pin:focus-visible { outline-color: #78b9ff; }
.skip { position: absolute; top: 8px; left: 12px; z-index: 3; padding: 10px; background: var(--lime); color: var(--ink); transform: translateY(-160%); }
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mast, footer {
  display: flex; justify-content: space-between; gap: 12px;
  font: bold .73rem/1.4 var(--mono); letter-spacing: .13em; text-transform: uppercase;
}
.mast { margin-top: 18px; padding: 7px 0; border-block: 1px solid var(--line); color: var(--muted); }
.mast span:first-child { color: var(--lime); }
.mast span:last-child, footer span:last-child { text-align: right; }
.intro { display: flex; align-items: end; justify-content: space-between; gap: 14px; padding-block: 15px 18px; }
h1, h2, h3, p { margin: 0; }
h1, .card h3, dialog h2 { font-family: "Arial Narrow", "Nimbus Sans Narrow", "Liberation Sans", Arial, sans-serif; font-weight: 900; }
h1 { font-size: clamp(3.25rem, 8.4vw, 8rem); line-height: .79; letter-spacing: -.085em; text-transform: uppercase; }
h1 em { font-style: normal; color: var(--lime); }
.slash { color: var(--lime); font-size: .75em; margin-left: .12em; }
.tagline { margin-bottom: 3px; padding-left: 10px; border-left: 2px solid var(--lime); font-size: 1rem; line-height: 1.24; }
.atlas { display: grid; grid-template-columns: minmax(0, 2.75fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.map {
  margin: 0; padding: 11px; border: 1px solid #b6b3a5; color: var(--ink);
  background: radial-gradient(#23231621 .65px, transparent .9px) 0 0 / 5px 5px, radial-gradient(ellipse, #f3efdf, #e5e0d0);
  min-width: 0;
}
.map-head, figcaption { display: flex; justify-content: space-between; align-items: center; gap: 8px; font: bold .75rem/1.3 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.map-head > span { white-space: nowrap; }
.filters, .city-list { display: flex; flex-wrap: wrap; gap: 5px; }
.filters button, .city-list button, .card button, dialog button {
  min-height: 34px; border: 1px solid currentColor; padding: 5px 9px; border-radius: 0;
  background: transparent; color: inherit; font: bold .83rem/1.15 var(--mono);
}
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--lime); border-color: var(--ink); }
.map-stage { display: grid; place-items: center; }
.map-body { position: relative; width: min(100%, 475px); aspect-ratio: 440 / 390; }
.map-body svg, .pins { position: absolute; inset: 0; width: 100%; height: 100%; }
.country { fill: #20211c; stroke: #171813; stroke-width: 2; }
.lines { fill: none; stroke: #cbccb0; opacity: .105; }
.route { stroke: #d9fa57; fill: none; stroke-width: 2; stroke-dasharray: 3 4; }
.country-label { fill: #d5d5c0; font: bold 13px var(--mono); letter-spacing: 6px; }
.compass { stroke: #57594e; fill: none; }
.compass text { font: bold 11px var(--mono); fill: #484a40; stroke: none; }
.pin {
  position: absolute; display: flex; align-items: center; gap: 4px; transform: translate(-9px,-50%);
  color: var(--ink); background: transparent; border: 0; min-height: 34px; padding: 0 2px 0 4px;
  font: bold clamp(.72rem, 1.2vw, .88rem)/1 var(--mono); text-align: left; white-space: nowrap;
}
.pin::before { content: ""; flex: 0 0 10px; height: 10px; background: var(--lime); border: 2px solid var(--ink); border-radius: 50%; }
.pin span { background: var(--paper); border: 1px solid var(--ink); padding: 3px 5px; }
.pin[aria-pressed="true"] span { background: var(--lime); }
.pin[data-city="sp"], .pin[data-city="rec"] { flex-direction: row-reverse; transform: translate(calc(-100% + 9px),-50%); }
figcaption { justify-content: start; padding-top: 7px; border-top: 1px solid #77786a; }
.legend-dot { flex: 0 0 9px; height: 9px; border: 1px solid var(--ink); background: var(--lime); border-radius: 50%; }
.map-note { margin-left: auto; text-align: right; }
.sidebar, .cards { display: grid; gap: 9px; }
.selector { border: 1px solid var(--line); padding: 11px; }
.kicker { font: bold .73rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.selector .kicker { color: var(--muted); }
.selector h2 { margin: 3px 0 8px; font-size: clamp(1.7rem, 3vw, 2.65rem); letter-spacing: -.06em; line-height: .95; }
.city-list button small { display: block; font-size: .72rem; font-weight: normal; }
.city-list button[aria-pressed="true"] { color: var(--lime); border-color: var(--lime); }
.card, .empty { border: 1px solid var(--line); padding: 11px; }
.card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 76px; gap: 7px 4px; align-items: start; }
.card .kicker { grid-column: 1/-1; border-bottom: 1px solid currentColor; padding-bottom: 5px; }
.card.feature { min-height: 223px; grid-template-columns: minmax(0, 1fr) 76px; background: var(--lime); color: var(--ink); align-content: start; }
.card h3 { font-size: 1.38rem; line-height: .95; letter-spacing: -.05em; }
.card.feature h3 { font-size: clamp(2.45rem, 4vw, 3.6rem); }
.card p:not(.kicker) { margin-block: 7px; line-height: 1.27; }
.card button { min-height: 36px; }
.art { display: grid; justify-items: center; gap: 3px; padding: 5px 2px; border: 1px dashed currentColor; text-align: center; font: bold .68rem/1 var(--mono); text-transform: uppercase; }
.art svg { width: 27px; }
.feature .art { align-self: end; transform: rotate(-9deg); margin: 0 4px 5px 0; }
footer { margin-block: 12px 20px; border-top: 1px solid var(--line); padding-top: 8px; color: var(--muted); }
dialog { width: min(90%, 520px); padding: 20px; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); }
dialog::backdrop { background: #111d; }
.dialog-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
dialog h2 { margin-block: 12px 6px; font-size: 2rem; }
dialog p { line-height: 1.45; }
@media (max-width: 720px) {
  .wrap { width: calc(100% - 24px); }
  .mast { margin-top: 10px; }
  .mast, footer { font-size: .68rem; letter-spacing: .04em; }
  .intro { display: block; padding-block: 14px 10px; }
  h1 { font-size: clamp(2.7rem, 14vw, 5.5rem); }
  .tagline { margin-top: 9px; font-size: .91rem; }
  .tagline br { display: none; }
  .atlas { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .map { padding: 7px; }
  .map-body { width: min(100%, 318px); }
  .filters button, .city-list button { min-height: 36px; padding-inline: 6px; }
  .pin { min-height: 38px; }
  .selector { padding: 8px; }
  .city-list { gap: 4px; }
  .card.feature { min-height: 168px; }
}
