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

html { scroll-behavior: smooth; }
html { opacity: 1; transition: opacity .18s ease; }
html.page-leaving { opacity: 0; }

body {
  min-width: 0;
  margin: 0;
  color: var(--ink-950);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

img {
  display: block;
  max-width: 100%;
  height: auto;
}
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }

h1, h2, h3, p, ul, ol, blockquote { margin-top: 0; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.025em;
}
h1 { font-size: var(--step-4); text-transform: uppercase; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
p { max-width: 68ch; }

:focus-visible {
  outline: 3px solid var(--orange-500);
  outline-offset: 4px;
}

::selection { color: var(--white); background: var(--green-700); }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--ink-950);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.container {
  width: min(calc(100% - (var(--gutter) * 2)), var(--container));
  margin-inline: auto;
}
.section { padding-block: var(--space-8); }
.section--dark { color: var(--white); background: var(--green-900); }
.section--ink { color: var(--white); background: var(--ink-950); }
.section--white { background: var(--white); }
.section--compact { padding-block: var(--space-7); }

.eyebrow { display: none; }

.display { max-width: 18ch; margin-bottom: 1.2rem; }
.lede { color: var(--ink-600); font-size: var(--step-1); line-height: 1.55; }
.section--dark .lede, .section--ink .lede { color: rgba(255,255,255,.72); }
.kicker { color: var(--orange-500); font-weight: 700; }
.muted { color: var(--ink-600); }
.meta { font-size: var(--step--1); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .72s ease, transform .72s ease; transition-delay: calc(var(--delay, 0) * 90ms); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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