@font-face {
  font-family: "PT Serif";
  src: url("/media/fonts/pt-serif-bold.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "STIX Two Text";
  src: url("/media/fonts/stix-two-text.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --paper: #f3f1e6;
  --white: #fffdf4;
  --ink: #1c302c;
  --muted: #465b53;
  --machine: #193c39;
  --lime: #dfef93;
  --line: #849188;
  --pale: #e5e9da;
  --rust: #873b29;
  --measure: 65ch;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { font-size: 16px; scroll-padding-top: 1.5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "STIX Two Text", Georgia, serif;
  font-size: 1.1875rem;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3, strong {
  font-family: "PT Serif", Georgia, serif;
  font-weight: 700;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; }
h1 { font-size: clamp(2.75rem, 5.2vw, 4.9rem); line-height: 1.06; letter-spacing: -.055em; }
h2 { font-size: clamp(1.55rem, 2.5vw, 2.15rem); line-height: 1.18; letter-spacing: -.035em; text-wrap: balance; }
h3 { font-size: 1.375rem; line-height: 1.25; letter-spacing: -.025em; }
p { max-width: var(--measure); }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button, select, input, summary { font: inherit; }
summary { cursor: pointer; }
summary::marker { color: transparent; font-size: 0; }
summary::-webkit-details-marker { display: none; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 4px; }
[tabindex="-1"]:focus { outline: none; }
::selection { color: var(--machine); background: var(--lime); }
.shell { width: min(calc(100% - 5rem), 78rem); margin-inline: auto; }
.u-measure { max-width: var(--measure); }
.u-stack > * + * { margin-top: 1rem; }
.field-label, .eyebrow { font-size: 1rem; line-height: 1.35; letter-spacing: .03em; }
.field-label { display: block; font-variant: small-caps; letter-spacing: .06em; }
.u-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 700px) {
  .shell { width: calc(100% - 2rem); }
  body { font-size: 1.125rem; }
  h1 { font-size: clamp(2.5rem, 10.7vw, 3.5rem); letter-spacing: -.05em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
