/* base: reset, typography, layout primitives. Values come from tokens.css. */
/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: var(--fs-body); line-height: 1.6; color: var(--ink); background: var(--cream); }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; line-height: 1.05; text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: 1; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.15; }
p { margin: 0 0 1em; max-width: 64ch; text-wrap: pretty; }
a { color: var(--laurel); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--laurel-deep); }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--laurel); outline-offset: 3px; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--cream); padding: .75rem 1rem; text-decoration: none; }
.skip:focus { top: 1rem; }

.wrap { width: min(100% - 2 * var(--edge), var(--max)); margin-inline: auto; }
.lead { font-size: var(--fs-lead); line-height: 1.5; }
.ph { color: var(--ink-soft); font-style: italic; }
.band { padding-block: var(--band); }
.caption { font-size: var(--fs-small); color: var(--ink-soft); margin: .6rem 0 0; }
.caps { font-family: var(--caps); letter-spacing: .18em; font-size: .95rem; }
.on-sage { background: var(--sage); color: var(--ink); }

