/* ================= Minimal modern reset ================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  min-height: 100%;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
/* clip (not hidden) so position:sticky keeps working inside the page */
html, body { overflow-x: clip; }

/* Lenis smooth scroll (from lenis/dist/lenis.css) */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }
img, picture, video, canvas, svg { display: block; max-width: 100%; }
/* Every <picture> here wraps an `img { width:100%; height:100% }` cover
   photo inside a sized container. Without this, the img's height:100%
   has no box to resolve against (picture has no intrinsic height), so it
   falls back to auto and the photo stops filling its frame — the exact
   bug that left a blank gap under the locations photos. */
picture { width: 100%; height: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; }

:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
