:root {
  --paper: #fdfdfd;
  --ink: #19446b;
  --muted: #587084;
  --accent: #079589;
  --line: #dce5eb;
  --map: #f1f5f8;
  --white: #fff;
  --serif: Georgia, "Times New Roman", serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button,
input {
  font: inherit;
}
button,
a,
summary {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
button:disabled {
  cursor: wait;
}
::selection {
  background: #d4f0eb;
}
.wrap {
  width: min(1320px, calc(100% - 100px));
  margin-inline: auto;
}
.header {
  min-height: 172px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 40px;
}
.brand {
  display: block;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 0;
}
.brand img {
  width: 229.5px;
  height: 151.5px;
  display: block;
}
.header-right {
  display: flex;
  gap: 45px;
  align-items: center;
}
.header nav {
  display: flex;
  gap: 30px;
  font-size: 12px;
}
.header nav a {
  text-decoration: none;
  padding-block: 12px;
}
.header nav a:hover {
  color: var(--accent);
}
.language-switch {
  display: flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
  font-size: 11px;
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: 25px;
}
.language-switch button {
  font-size: 11px;
  min-width: 35px;
  min-height: 44px;
  border: 0;
  background: none;
  font-weight: 500;
  color: var(--muted);
}
.language-switch button[aria-pressed="true"] {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 8px;
  text-decoration-thickness: 2px;
}
.hero {
  padding: 67px 0 65px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.9px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.6;
  margin: 0 0 18px;
}
.hero .eyebrow {
  display: flex;
  gap: 10px;
  align-items: center;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.hero h1 {
  font-size: clamp(37px, 4.85vw, 69px);
  font-weight: 400;
  letter-spacing: -2.8px;
  line-height: 1.13;
  margin: 30px 0 25px;
  max-width: 1150px;
}
.hero-accent {
  color: var(--accent);
}
.intro {
  font-size: 15px;
  line-height: 1.85;
  max-width: 590px;
  margin: 0;
  color: var(--muted);
}
.section-heading {
  border-top: 1px solid var(--line);
  padding-top: 30px;
  margin-bottom: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.section-heading .eyebrow {
  margin-bottom: 10px;
}
h2 {
  font-size: 35px;
  font-weight: 400;
  letter-spacing: -1.1px;
  line-height: 1.16;
  margin: 0;
}
.region-label {
  font-size: 11px;
  display: flex;
  gap: 8px;
  align-items: center;
  padding-bottom: 4px;
}
.atlas-shell {
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
}
.toolbar {
  height: 70px;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 0 24px;
  gap: 20px;
}
.search {
  display: flex;
  align-items: center;
  gap: 13px;
  flex: 1;
  max-width: 650px;
}
.search svg {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.5;
  width: 21px;
  height: 21px;
  flex-shrink: 0;
}
.search input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  padding: 12px 0;
}
.search input::placeholder {
  color: var(--muted);
}
.search kbd {
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 2px 6px;
  font: 12px Arial;
  color: var(--muted);
}
.toolbar button {
  font-size: 11px;
  border: 0;
  background: none;
  min-height: 44px;
  white-space: nowrap;
}
.toolbar button > span:last-child {
  margin-left: 15px;
}
.atlas-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(320px, 1fr);
}
.map-area {
  position: relative;
  min-width: 0;
  background: var(--map);
  height: 640px;
}
#map {
  width: 100%;
  height: 100%;
  background: var(--map);
  z-index: 1;
}
.map-caption {
  position: absolute;
  bottom: 24px;
  left: 26px;
  right: 26px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  z-index: 410;
  pointer-events: none;
}
.map-caption button {
  margin-left: auto;
  pointer-events: auto;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid #c1d3de;
  background: var(--paper);
  border-radius: 3px;
  font-size: 10px;
}
.map-marker {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
}
.leaflet-container {
  font-family: inherit;
}
.leaflet-control-zoom {
  border: 1px solid #c1d3de !important;
  border-radius: 3px !important;
  box-shadow: none !important;
  margin: 22px !important;
}
.leaflet-control-zoom a {
  background: var(--paper) !important;
  color: var(--ink) !important;
  font-size: 19px !important;
  font-weight: 400 !important;
}
.leaflet-control-attribution {
  display: none;
}
.leaflet-tooltip {
  box-shadow: 0 3px 15px #19446b10;
  border: 1px solid var(--line);
  font-family: inherit;
  font-size: 11px;
  padding: 8px 12px;
  border-radius: 3px;
}
.map-label {
  background: none;
  border: 0;
  box-shadow: none;
  pointer-events: none;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.3px;
}
.region-map-label {
  margin: 29px 25px !important;
  font-size: 8px;
  letter-spacing: 2px;
}
.map-message {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 43%;
  text-align: center;
  z-index: 420;
  font-size: 13px;
  pointer-events: none;
}
.map-message[hidden] {
  display: none;
}
.map-message p {
  background: #fdfdfdeb;
  padding: 15px;
  border-radius: 3px;
}
.map-message button {
  pointer-events: auto;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 10px;
  background: var(--paper);
  font-size: 12px;
}
.detail {
  background: var(--paper);
  border-left: 1px solid var(--line);
  padding: 34px 30px;
  overflow: auto;
  height: 640px;
  scrollbar-width: thin;
  scrollbar-color: #c2d1db transparent;
}
.detail .eyebrow {
  color: var(--muted);
  font-size: 9px;
}
.detail h3 {
  font-family: var(--serif);
  font-size: 41px;
  font-weight: 400;
  letter-spacing: -1.3px;
  line-height: 1.1;
  margin: 22px 0;
}
.detail-intro {
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 330px;
}
.empty-art {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-block: 1px solid var(--line);
  margin-top: 36px;
  padding: 23px 0;
}
.empty-art > span:first-child {
  font-size: 65px;
  line-height: 1;
  color: var(--accent);
  font-weight: 300;
}
.empty-art > span:last-child {
  font-family: var(--serif);
  font-size: 36px;
  line-height: 0.85;
  text-align: right;
}
.empty-art small {
  font-family: Arial, sans-serif;
  font-size: 8px;
  letter-spacing: 1.5px;
}
.detail-hint {
  font-size: 12px;
  line-height: 1.7;
  margin-top: 24px;
  max-width: 270px;
}
.detail-note {
  font-size: 10px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 32px;
}
.atlas-foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 20px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  font-size: 9px;
  line-height: 1.6;
  color: var(--muted);
}
.data-section,
.approach {
  border-top: 1px solid var(--line);
  margin-top: 75px;
  padding-top: 38px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
}
.data-section h2,
.approach h2 {
  font-family: var(--serif);
  font-size: 43px;
  letter-spacing: -1.5px;
  line-height: 1.12;
  max-width: 470px;
}
.section-intro {
  font-size: 14px;
  line-height: 1.9;
  max-width: 420px;
  color: var(--muted);
  margin-top: 25px;
}
.data-row {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
.data-row:first-child {
  padding-top: 0;
}
.data-number {
  font-size: 10px;
  color: var(--accent);
  padding-top: 6px;
  font-variant-numeric: tabular-nums;
}
.data-row h3 {
  font-weight: 400;
  font-size: 20px;
  letter-spacing: -0.4px;
  margin: 0 0 10px;
}
.data-row p {
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
  margin: 0 0 14px;
}
.data-status {
  font-size: 9px;
  letter-spacing: 0.2px;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.data-status:before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.data-status.growing {
  color: var(--muted);
}
.data-note {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 20px;
}
.approach-copy {
  font-size: 14px;
  line-height: 1.9;
}
.approach-copy > p {
  margin: 0 0 23px;
}
.approach details {
  border-top: 1px solid var(--line);
  margin-top: 29px;
}
.approach summary {
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
}
.approach summary::-webkit-details-marker {
  display: none;
}
.approach summary > span:last-child {
  font-size: 20px;
  line-height: 1;
}
.approach details[open] summary > span:last-child {
  transform: rotate(45deg);
}
.approach details p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.85;
}
.footer {
  border-top: 1px solid var(--line);
  margin-top: 75px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  min-height: 100px;
}
.footer > span {
  font-size: 11px;
  color: var(--muted);
}
.footer > div {
  display: flex;
  gap: 22px;
}
.footer button {
  border: 0;
  background: none;
  font-size: 11px;
  min-height: 44px;
  padding: 0;
}
.skip {
  position: fixed;
  left: 20px;
  top: -100px;
  z-index: 1000;
  background: var(--ink);
  color: white;
  padding: 14px;
}
.skip:focus {
  top: 20px;
}
.results {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(390px, 100%);
  z-index: 450;
  background: var(--paper);
  border-right: 1px solid var(--line);
  box-shadow: 8px 0 30px #19446b10;
  overflow: auto;
  padding: 22px;
}
.results[hidden] {
  display: none;
}
#result-list {
  display: flex;
  flex-direction: column;
}
#result-list button {
  background: none;
  border: 0;
  border-top: 1px solid var(--line);
  text-align: left;
  padding: 15px 3px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 13px;
}
#result-list button:hover {
  color: var(--accent);
}
#result-list small {
  color: var(--muted);
  font-size: 10px;
}
.detail .municipality-name {
  font-size: 35px;
  overflow-wrap: anywhere;
  line-height: 1.1;
  margin: 15px 0 10px;
}
.place-subtitle {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 22px;
}
.detail-block {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 20px;
}
.detail-block h4 {
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0 0 12px;
  color: var(--muted);
  font-weight: 600;
}
.detail-block p {
  font-size: 12px;
  line-height: 1.7;
  margin: 6px 0;
  overflow-wrap: anywhere;
}
.detail-block .minor {
  font-size: 10px;
  color: var(--muted);
}
.resource-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.resource-link:after {
  content: "↗";
  font-size: 16px;
  color: var(--accent);
}
.resource-link:hover {
  color: var(--accent);
}
.detail-source {
  font-size: 9px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 23px;
}
.detail-source a {
  display: inline-block;
  margin-right: 6px;
}
.back-button {
  border: 0;
  background: none;
  padding: 0;
  font-size: 10px;
  margin-bottom: 9px;
  min-height: 30px;
}
.detail button.retry {
  padding: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
}
dialog {
  width: min(600px, calc(100% - 36px));
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
  padding: 30px;
  color: var(--ink);
  max-height: 80vh;
}
dialog::backdrop {
  background: #19446b65;
  backdrop-filter: blur(3px);
}
.dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.dialog-top h2 {
  font-size: 27px;
}
.dialog-top button {
  border: 0;
  background: none;
  font-size: 28px;
  width: 40px;
  height: 40px;
}
#dialog-content {
  font-size: 13px;
  line-height: 1.8;
}
.operator-pending {
  color: var(--muted);
}
@media (max-width: 1050px) {
  .wrap {
    width: calc(100% - 56px);
  }
  .header {
    gap: 25px;
  }
  .header-right {
    gap: 25px;
  }
  .header nav {
    gap: 20px;
    font-size: 11px;
  }
  .language-switch {
    padding-left: 15px;
  }
  .hero {
    padding: 50px 0;
  }
  .hero h1 {
    letter-spacing: -1.8px;
  }
  .atlas-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr);
  }
  .detail {
    padding: 28px 23px;
  }
  .map-area,
  .detail {
    height: 620px;
  }
  .data-section,
  .approach {
    gap: 45px;
  }
  .data-section h2,
  .approach h2 {
    font-size: 38px;
  }
  .atlas-foot {
    font-size: 8px;
  }
}
@media (max-width: 730px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0;
    min-height: 138px;
    padding-bottom: 10px;
  }
  .brand img {
    width: 192px;
    height: auto;
  }
  .header-right {
    display: contents;
  }
  .header nav {
    grid-column: 1/-1;
    grid-row: 2;
    justify-content: space-between;
    gap: 10px;
    font-size: 10px;
  }
  .language-switch {
    grid-column: 2;
    grid-row: 1;
    border: 0;
    padding: 0;
    align-self: center;
  }
  .hero {
    padding: 38px 0 40px;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 1.25px;
  }
  .hero h1 {
    font-size: clamp(32px, 7.9vw, 55px);
    letter-spacing: -1.4px;
    line-height: 1.17;
    margin: 25px 0 20px;
  }
  .intro {
    font-size: 12px;
    line-height: 1.8;
  }
  .section-heading {
    padding-top: 24px;
  }
  .section-heading h2 {
    font-size: 29px;
  }
  .section-heading .eyebrow {
    font-size: 8px;
  }
  .region-label {
    font-size: 9px;
    gap: 5px;
  }
  .toolbar {
    padding: 0 12px;
    height: 64px;
    gap: 8px;
  }
  .search {
    gap: 8px;
  }
  .search input {
    font-size: 11px;
  }
  .search svg {
    width: 17px;
  }
  .search kbd {
    display: none;
  }
  .toolbar button {
    font-size: 10px;
    max-width: 100px;
    white-space: normal;
    line-height: 1.5;
    padding: 0 3px;
  }
  .toolbar button > span:last-child {
    display: none;
  }
  .atlas-grid {
    grid-template-columns: 1fr;
  }
  .map-area {
    height: 450px;
  }
  .map-caption {
    left: 14px;
    right: 14px;
    bottom: 17px;
    font-size: 9px;
    gap: 6px;
  }
  .map-caption button {
    font-size: 9px;
    padding: 0 9px;
  }
  .detail {
    height: auto;
    max-height: none;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 26px 23px;
    min-height: 280px;
  }
  .detail h3 {
    font-size: 35px;
    margin: 16px 0;
  }
  .detail-intro {
    max-width: none;
  }
  .empty-art {
    display: none;
  }
  .detail-hint {
    margin-top: 20px;
    max-width: none;
  }
  .detail-note {
    margin-top: 20px;
  }
  .detail .municipality-name {
    font-size: 34px;
  }
  .atlas-foot {
    display: block;
    padding: 12px 15px;
    font-size: 8px;
  }
  .atlas-foot > span {
    display: block;
  }
  .atlas-foot > span + span {
    margin-top: 3px;
  }
  .data-section,
  .approach {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 48px;
    padding-top: 28px;
  }
  .data-section h2,
  .approach h2 {
    font-size: 35px;
    letter-spacing: -1px;
    line-height: 1.15;
  }
  .section-intro {
    font-size: 13px;
    line-height: 1.85;
    margin-top: 20px;
    margin-bottom: 0;
  }
  .data-row {
    gap: 17px;
    padding: 22px 0;
  }
  .data-row h3 {
    font-size: 19px;
  }
  .data-row p {
    font-size: 12px;
  }
  .data-note {
    font-size: 10px;
  }
  .approach-copy {
    font-size: 13px;
    line-height: 1.85;
  }
  .footer {
    flex-wrap: wrap;
    gap: 2px 15px;
    padding: 20px 0;
    margin-top: 45px;
  }
  .footer > div {
    gap: 22px;
  }
  .footer > span,
  .footer button {
    font-size: 10px;
  }
  .results {
    width: 100%;
  }
  .data-section .eyebrow,
  .approach .eyebrow {
    font-size: 9px;
  }
  dialog {
    padding: 23px;
  }
  .detail-source {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

.collection-progress {
  grid-column: 1 / -1;
  padding: 32px 0 42px;
  border-bottom: 1px solid var(--line);
}
.progress-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  font-size: 14px;
}
.progress-heading strong {
  font-size: clamp(30px, 5vw, 58px);
  font-weight: 400;
  letter-spacing: -0.05em;
  color: #287e79;
}
.progress-track {
  height: 9px;
  margin: 24px 0;
  overflow: hidden;
  border-radius: 10px;
  background: #e3ebec;
}
.progress-track span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 10px;
  background: #589a94;
  transition: width 1.5s cubic-bezier(0.2, 0.65, 0.3, 1);
}
#progress-label {
  font-size: 17px;
  margin: 0 0 10px;
}
.progress-note,
.progress-date {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 700px;
}
.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 11px;
  padding: 15px 20px;
  color: #466069;
}
.map-legend > span {
  display: flex;
  gap: 8px;
  align-items: center;
}
.map-legend i {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: #dbe4e8;
  display: inline-block;
}
.map-legend i.collected {
  background: #589a94;
}
@media (prefers-reduced-motion: reduce) {
  .progress-track span {
    transition: none;
  }
}
.data-section {
  row-gap: 28px;
}
.data-section .section-copy {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 90px;
}
.data-section .section-copy .eyebrow {
  grid-column: 1 / -1;
}
.data-section .section-intro {
  margin-top: 0;
}
.data-list {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}
.data-row,
.data-row:first-child {
  border-bottom: 0;
  padding-top: 0;
}
.collection-progress {
  padding-top: 0;
  padding-bottom: 24px;
}
@media (max-width: 730px) {
  .data-section .section-copy,
  .data-list {
    display: block;
  }
  .data-section .section-intro {
    margin-top: 20px;
  }
  .data-row,
  .data-row:first-child {
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
  }
}
