*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --color-bg: #fafafa;
  --color-text: #1a1a1a;
  --color-muted: #6b7280;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  --max-width: 72rem;
  --space: clamp(1rem, 3vw, 2rem);
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-bg);
}

.site-header,
.site-footer {
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  max-width: var(--max-width);
  margin-inline: auto;
  padding: var(--space);
}

.site-nav a {
  color: inherit;
  text-decoration: none;
}

.site-nav a:hover {
  text-decoration: underline;
}

.site-nav a[aria-current="page"] {
  color: var(--color-muted);
  text-decoration: none;
  pointer-events: none;
}

.site-main {
  flex: 1;
  max-height: 100dvh;
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.map {
  width: 100%;
  height: min(70dvh, 28rem);
  border-radius: 0.375rem;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--color-text) 12%, transparent);
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0f0f0f;
    --color-text: #f5f5f5;
    --color-muted: #9ca3af;
  }
}

a {
  width: 100%;
  height: 100%;
  display: block;

  img {
    width: 100%;
    height: 100%;
    max-height: 100dvh;
    object-fit: contain;
  }
}