:root {
  --ink: #121714;
  --pine: #14332c;
  --fjord: #1c4740;
  --copper: #c56a38;
  --copper-deep: #9d4e28;
  --sand: #d7b089;
  --bone: #f3ece3;
  --paper: #faf6f1;
  --mist: #e4ddd3;
  --line: color-mix(in srgb, var(--ink) 12%, transparent);
  --line-strong: color-mix(in srgb, var(--ink) 22%, transparent);
  --white: #fffdf9;
  --ok: #2f6b4f;
  --err: #9b2f2f;
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", serif;
  --font-body: "Sora", "Avenir Next", "Segoe UI", sans-serif;
  --space: clamp(1rem, 2vw, 2rem);
  --gutter: clamp(1.1rem, 4vw, 4.5rem);
  --max: 78rem;
  --header: 5.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 1.5rem 3rem color-mix(in srgb, var(--ink) 16%, transparent);
}

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

html {
  overflow-x: hidden;
  width: 100%;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: clamp(0.98rem, 0.92rem + 0.28vw, 1.08rem);
  line-height: 1.65;
  letter-spacing: -0.011em;
  text-rendering: optimizeLegibility;
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--copper-deep);
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 520;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 0.7em;
}

p {
  margin: 0 0 1em;
}

:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--ink);
  color: var(--bone);
  padding: 0.6rem 0.9rem;
}

.skip-link:focus {
  top: 0.8rem;
}

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

.container {
  width: min(100% - (var(--gutter) * 2), var(--max));
  max-width: calc(100vw - (var(--gutter) * 2));
  margin-inline: auto;
}

.lede {
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.25rem);
  color: color-mix(in srgb, var(--ink) 82%, white);
}

[hidden] {
  display: none !important;
}


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

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