*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--c-paper);
  color: var(--c-body);
  font-family: var(--f-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { color: var(--c-ink); margin: 0; line-height: var(--lh-head); letter-spacing: .01em; text-wrap: balance; font-family: var(--f-head); font-weight: 400; }
h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); letter-spacing: .005em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
.hero-title { font-size: var(--fs-h1); line-height: var(--lh-tight); letter-spacing: .005em; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: var(--c-red); text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--c-purple); }
strong { color: var(--c-ink); font-weight: 700; }
code { font-family: var(--f-mono); font-size: .9em; }
:focus-visible { outline: 2px solid var(--c-purple); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--c-ink); color: #fff; padding: 12px 18px; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; color: #fff; }
[id] { scroll-margin-top: 96px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(48px, 4vw, 72px); }
.section--cream { background: var(--c-cream); }
.section--sand { background: var(--c-sand); }

.eyebrow { font-family: var(--f-mono); font-size: var(--fs-eyebrow); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--c-red); margin: 0; }
.script { font-family: var(--f-script); font-size: var(--fs-script); color: var(--c-purple); line-height: 1.2; }
.hl { color: var(--c-red); }
.lead { font-size: .9375rem; line-height: var(--lh-body); color: var(--c-body); max-width: 60ch; }
.measure { max-width: 68ch; }
.stack { display: flex; flex-direction: column; }
.stack > * + * { margin-top: var(--s-4); }

/* Scroll reveal. The .js-reveal class is added by js/reveal.js, so content stays
   visible when JS is off, blocked, or the page is rendered in a hidden frame. */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js-reveal [data-reveal] { opacity: 1; transform: none; }
}
