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

html {
  min-width: 20rem;
  color-scheme: light;
  scroll-behavior: smooth;
}

html[data-ait-text-size="large"] {
  font-size: 112.5%;
}

html[data-ait-text-size="larger"] {
  font-size: 125%;
}

html[data-ait-contrast="enhanced"] {
  --ait-forest-950: #001a12;
  --ait-forest-900: #003524;
  --ait-forest-800: #08452f;
  --ait-botanical-600: #17683f;
  --ait-action-400: #8ae8ad;
  --ait-action-500: #2e9e58;
  --ait-mineral-50: #f8faf9;
  --ait-mineral-100: #f2f6f4;
  --ait-mineral-200: #dce6e0;
  --ait-mineral-500: #526057;
  --ait-ink: #07140f;
  --ait-border: #9dafa4;
}

body {
  min-width: 20rem;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--ait-white);
  color: var(--ait-ink);
  font-family: var(--ait-font-body);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-underline-offset: 0.22em;
}

html[data-ait-link-emphasis="underlined"] main a:not(.button),
html[data-ait-link-emphasis="underlined"] .site-footer address a {
  text-decoration: underline;
  text-decoration-thickness: 0.12em;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-block-start: 0;
}

h1,
h2,
h3 {
  color: var(--ait-forest-950);
  font-family: var(--ait-font-heading);
  font-weight: 850;
  line-height: 1;
}

h1,
h2 {
  text-transform: uppercase;
}

h1 {
  --ait-title-fit-min: 1.875rem;
  font-size: clamp(1.875rem, calc(5vw - 0.625rem), 3.875rem);
}

h2 {
  font-size: clamp(1.5rem, calc(3.5vw - 0.5rem), 2.75rem);
}

h3 {
  font-size: clamp(0.975rem, calc(2vw - 0.375rem), 1.375rem);
}

:focus-visible {
  outline: 3px solid var(--ait-forest-800);
  outline-offset: 3px;
  box-shadow: var(--ait-focus);
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: var(--ait-gutter);
  min-height: 2.75rem;
  padding: 0.6rem 0.9rem;
  transform: translateY(calc(-100% - 1.5rem));
  background: var(--ait-white);
  color: var(--ait-forest-950);
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.has-reveal-motion [data-reveal] {
  opacity: 0;
  transform: translateY(1.5rem);
  transition:
    opacity var(--ait-motion-reveal) ease,
    transform var(--ait-motion-reveal) ease;
}

.has-reveal-motion [data-reveal][data-revealed="true"] {
  opacity: 1;
  transform: translateY(0);
}

html[data-ait-motion="reduced"] {
  scroll-behavior: auto;
}

html[data-ait-motion="reduced"].has-reveal-motion [data-reveal] {
  opacity: 1;
  transform: none;
  transition: none;
}

html[data-ait-motion="reduced"] *,
html[data-ait-motion="reduced"] *::before,
html[data-ait-motion="reduced"] *::after {
  scroll-behavior: auto !important;
  transition-duration: 0.01ms !important;
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (forced-colors: active) {
  :focus-visible {
    outline: 3px solid Highlight;
    outline-offset: 3px;
    box-shadow: none;
  }

  a {
    text-decoration: underline;
  }

  button,
  input,
  select,
  textarea {
    border: 1px solid ButtonText;
  }
}
