*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: var(--pine); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; margin: 0; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.15rem, 4.5vw, 3.7rem); line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 2.9vw, 2.35rem); line-height: 1.15; letter-spacing: -0.012em; }
h3 { font-size: 1.28rem; line-height: 1.28; }
h4 { font-size: 1.05rem; line-height: 1.3; }
p { margin: 0; }
p + p { margin-top: 0.9em; }
button { font: inherit; color: inherit; cursor: pointer; }
code, .mono { font-family: var(--mono); font-size: 0.88em; font-variant-numeric: tabular-nums; }
.num { font-variant-numeric: tabular-nums; }
sup.ref { font: 600 0.62em/1 var(--sans); color: var(--pine); margin-left: 1px; }
sup.ref a { text-decoration: none; }
:focus-visible { outline: 2px solid var(--pine-2); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--pine-soft); }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { top: 12px; }

main { display: block; outline: none; min-height: 60vh; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(52px, 7vw, 92px); }
.section-s { padding-block: clamp(30px, 4vw, 52px); }
.band { background: var(--wash); border-block: 1px solid var(--line); }
.kicker { font: 600 0.82rem/1.3 var(--sans); letter-spacing: 0.09em; text-transform: uppercase; color: var(--pine); }
.kicker.brass { color: var(--brass-ink); }
.lede { font-size: clamp(1.08rem, 1.45vw, 1.24rem); line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.prose { max-width: 66ch; color: var(--ink-2); }
.prose h3 { margin-top: 1.6em; margin-bottom: 0.4em; }
.sub { color: var(--sub); }
.faint { color: var(--faint); }
.small { font-size: 0.875rem; line-height: 1.5; }
.tiny { font-size: 0.8rem; line-height: 1.45; }
.stack { display: flex; flex-direction: column; gap: var(--gap, 16px); }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--gap, 12px); }
.between { justify-content: space-between; }
.grid { display: grid; gap: var(--gap, 22px); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.cols-even { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.cols-aside { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: clamp(24px, 4vw, 56px); align-items: start; }
.cols > *, .cols-even > *, .cols-aside > *, .grid > * { min-width: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

@media (max-width: 940px) {
  .cols, .cols-even, .cols-aside { grid-template-columns: minmax(0, 1fr); }
  .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .g2, .g3 { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
}
