@font-face {
  font-family: "Geologica";
  src: url("assets/fonts/Geologica-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1rem; }
body { margin: 0; min-width: 20rem; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
button, a { font: inherit; }
a { color: inherit; text-underline-offset: .22em; }
button { cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  inset: .75rem auto auto .75rem;
  z-index: 1000;
  padding: .75rem 1rem;
  background: #fff;
  color: #111;
  transform: translateY(-180%);
}
.skip-link:focus { transform: none; }

:focus-visible {
  outline: 3px solid var(--focus, #ff5a36);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

@media (max-width: 950px) { html { scroll-padding-top: 5.25rem; } }
