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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* clip (not hidden) — hidden on html/body breaks position:sticky headers */
  overflow-x: clip;
}

html.js {
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-height: 100svh;
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--color-charcoal);
  background: var(--color-canvas);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font: inherit;
  color: inherit;
}

.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  z-index: 100;
  background: var(--color-paper);
  color: var(--color-ink);
  text-decoration: none;
}

.skip-link:focus,
.skip-link:focus-visible {
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  left: 1rem;
  top: 1rem;
  padding: 0.75rem 1rem;
  overflow: visible;
  white-space: normal;
}

:focus-visible {
  outline: 1px solid var(--color-bronze);
  outline-offset: 3px;
}
