:root {
  color-scheme: light;
  --ink: #171717;
  --muted: #5f5f5f;
  --bg: #f4f1ec;
  --panel: #ffffff;
  --accent: #ff6a3d;
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

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

body {
  margin: 0;
   font-family: "Outfit", sans-serif;
  font-optical-sizing: auto;
  font-weight:400;
  font-style: normal;
  background: radial-gradient(circle at top, #fff4e4, #f4f1ec 55%, #e8e3dc);
  color: var(--ink);
}

.page {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 2.5rem;
}

.hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  letter-spacing: -0.02em;
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-style: normal;
}

.hero p {
  margin: 0;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 32rem;
}

#map {
  width: 100%;
  height: min(70vh, 620px);
  overflow: hidden;
}

.map-wrap {
  position: relative;
}

.map-hint {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #111827;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  pointer-events: none;
  backdrop-filter: blur(8px);
  transition: opacity 220ms ease, transform 220ms ease;
  opacity: 0;
  transform: translateY(6px);
}

.map-wrap:hover .map-hint,
.map-wrap:focus-within .map-hint {
  opacity: 1;
  transform: translateY(0);
}

.mapboxgl-popup.map-popup .mapboxgl-popup-content {
  background: #ffffff;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  max-width: 200px;
}

.mapboxgl-popup.map-popup .mapboxgl-popup-tip {
  border-top-color: #ffffff;
}

.map-popup__title {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
}

.map-popup__text {
  margin: 0;
  font-size: 0.9rem;
  color: #1f2937;
}

.map-popup__image {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 8px;
  border-radius: 6px;
}

.map-popup__link {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.85rem;
  color: #e11d48;
  text-decoration: none;
}

.map-popup__link:hover {
  text-decoration: underline;
}

@media (max-width: 720px) {
  #map {
    height: min(65vh, 520px);
  }

  .map-hint {
    bottom: 1rem;
    left: 1rem;
    font-size: 0.8rem;
  }
}
