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

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--color-bg);
	color: var(--color-ink);
	font-family: var(--font-body);
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	-webkit-font-smoothing: antialiased;
}

img, svg, video { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 700;
	line-height: var(--lh-tight);
	letter-spacing: var(--ls-heading);
	color: var(--color-ink);
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--color-ink); text-underline-offset: 3px; }
a:hover { color: var(--color-green); }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }

.screen-reader-text,
.visually-hidden {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}

.skip-link {
	position: absolute; left: 16px; top: -100px; z-index: 100;
	background: var(--color-ink); color: var(--color-white);
	padding: 12px 18px; border-radius: var(--radius-input);
	text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 16px; color: var(--color-white); }

.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--tight-top { padding-top: 0; }

.eyebrow {
	display: inline-block;
	font-size: var(--fs-sm);
	font-weight: 600;
	color: var(--color-green);
}

.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--color-muted); }
.muted { color: var(--color-muted); }
.subtle { color: var(--color-subtle); }

.img-placeholder { background: var(--color-placeholder); }

/* WordPress content */
.entry-content > * + * { margin-top: 1em; }
.entry-content h2 { font-size: var(--fs-h2-sm); margin-top: 1.6em; }
.entry-content h3 { font-size: 1.375rem; margin-top: 1.4em; }
.entry-content ul, .entry-content ol { padding-left: 1.25em; }
.entry-content img { border-radius: var(--radius-card); }
.alignwide { max-width: var(--container); }
.wp-caption-text, figcaption { font-size: var(--fs-sm); color: var(--color-subtle); }
