@import '/fonts/site-fonts.css';

:root {
  --font-body: 'Montserrat Variable', 'Montserrat', Arial, sans-serif;
  --color-surface: #fff;
  --color-ink: #161616;
  --color-muted: #747474;
  --color-line: #d9d9d9;
  --color-header-line: #e8e8e8;
  --color-accent: #ee8530;
  --color-accent-hover: #f39b55;
  --color-soft: #f5f5f3;
  --color-error: #ff5c5c;
  --color-inverse: #fff;
  --color-footer: #171717;
  --color-control: #222;
  --section-space: clamp(5rem, 8vw, 9.375rem);
  --page-gutter: 2.5rem;
  --header-height: 6.5rem;
  --site-width: 160rem;
  --content-width: 120rem;
  --motion-ease: cubic-bezier(.25, 1, .25, 1);
  --radius-media: 1.5rem;
  --radius-button: 999rem;
  --radius-small: .625rem;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-surface);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

* {
  box-sizing: border-box;
}
html {
  scrollbar-gutter: stable;
}
body {
  margin: 0;
}
.site-frame {
  width: 100%;
  max-width: var(--site-width);
  margin-inline: auto;
}
#main-content {
  padding-top: var(--header-height);
}
h1, h2, h3, p, ul, ol, figure {
  margin: 0;
}
button, input, textarea, select {
  font: inherit;
}
button, a {
  -webkit-tap-highlight-color: transparent;
}
button {
  padding: 0;
  border: 0;
  color: inherit;
  background: none;
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
a {
  color: inherit;
  text-decoration: none;
}
img, svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
button:focus-visible, input:focus-visible, textarea:focus-visible,
[tabindex]:not([tabindex="-1"]):focus-visible {
  outline: 1.5px solid var(--color-accent);
  outline-offset: 3px;
}
a:focus-visible {
  outline: none;
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: .3em;
}
main:focus {
  outline: none;
}
::selection {
  background: var(--color-accent);
  color: var(--color-ink);
}
[id] {
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

.content-container {
  width: 100%;
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}
.page-shell {
  padding-top: 6rem;
  padding-bottom: 9rem;
}
.section-space {
  margin-block: var(--section-space);
}
.section-title {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.3;
  text-transform: uppercase;
}
.text-body {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.4;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  padding: .75rem 1rem;
  color: #fff;
  background: #000;
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: translateY(0);
}

@media (max-width: 900px) {
  :root {
    --header-height: 4.75rem;
  }
  .page-shell {
    padding-top: 4.375rem;
  }
}
@media (max-width: 768px) {
  :root {
    --page-gutter: 1.25rem;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .text-body {
    font-size: 1rem;
  }
  .page-shell {
    padding-bottom: 7rem;
  }
}
@media (max-width: 450px) {
  :root {
    --page-gutter: .9375rem;
    --header-height: 4.75rem;
    --section-space: 4.5rem;
    --radius-media: 1rem;
  }
  .page-shell {
    padding-top: 3.125rem;
    padding-bottom: 5rem;
  }
  .section-title {
    font-size: 1.375rem;
  }
  .text-body {
    font-size: .875rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
