/*
 * The site's one stylesheet: the shell (header, logo, footer) and the blocks
 * an authored page is made of.
 *
 * Colors come only from the theme's roles, which the server sets on the
 * document's root element as --color-<role> (render.go). Nothing here names a
 * palette or holds a color, except black and white in the print rules and the
 * visitor's system colors in the forced-colors rules (a guard in
 * internal/guard checks). Accent is a fill and a decoration; whatever must be
 * seen as a boundary or a state takes field or focus.
 *
 * Type: Barlow, served from the site, stands in for the brand's Bio Sans,
 * which the stack names first. A block's style, set in its page, decides how
 * it looks: a super heading (page and section titles: 700, uppercase, tight),
 * a standard heading (titles that are sentences, and smaller ones: 700), a
 * lede, or running text at 1.45. A heading's level only steps its size.
 * Every size of type is in rem, so it follows the size of text the visitor's
 * browser and system ask for (the pages opt in to the system's, the
 * text-scale meta); a size the stylesheet sets on the root would undo that,
 * so none is set there. Layout widths stay in px. The net sheet's grid keeps
 * its type in px (sheet.css says why).
 *
 * A url() names another file under assets/, relative to this one; the server
 * writes each as that file's hashed address (assets.go).
 */

@font-face {
	font-family: 'Barlow';
	src: url("/assets/fonts/barlow/Barlow-Regular-latin.bdca4cb18224.woff2") format('woff2');
	font-weight: 400;
	font-display: swap;
}
@font-face {
	font-family: 'Barlow';
	src: url("/assets/fonts/barlow/Barlow-SemiBold-latin.eaa7533f7f6a.woff2") format('woff2');
	font-weight: 600;
	font-display: swap;
}
@font-face {
	font-family: 'Barlow';
	src: url("/assets/fonts/barlow/Barlow-Bold-latin.b765b30c3028.woff2") format('woff2');
	font-weight: 700;
	font-display: swap;
}

:root {
	--font-sans: 'Bio Sans', 'bio-sans', 'Barlow', system-ui, sans-serif;
	--font-mono: Menlo, 'DejaVu Sans Mono', ui-monospace, monospace;

	/* Super headings are capitals, with no descenders, so they sit tight.
	   Standard headings wrap, and a descender in Barlow reaches 0.21em below
	   the baseline, so they keep room for it. */
	--super-leading: 0.75;
	--super-tracking: -0.02em;
	--standard-leading: 0.96;
	--standard-tracking: -0.01em;
	--text-leading: 1.45;
	--ui-leading: 1.2;

	/* Hairlines between rows: the ink a quarter of the way into the page. */
	--hairline: color-mix(in srgb, var(--color-ink) 24%, var(--color-page));

	-webkit-text-size-adjust: 100%;
	/* The whole canvas wears the page's color, overscroll included. */
	background: var(--color-page);
}

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

body {
	margin: 0;
}

/* Out of sight, and still read by assistive technology: a live region, or a
   control's name. */
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

/* ---- The shell -------------------------------------------------------------- */

.site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	color: var(--color-ink);
	font-family: var(--font-sans);
	font-size: 1rem;
	line-height: var(--text-leading);
	font-variant-numeric: tabular-nums;
}
.site > main {
	flex: 1 0 auto;
	width: 100%;
	padding-top: 32px;
}

.wrap {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 32px;
}

a {
	color: var(--color-ink);
	text-decoration-color: var(--color-accent);
	text-decoration-thickness: 1.5px;
	text-underline-offset: 3px;
}
a:hover {
	text-decoration-color: currentColor;
}
:focus-visible {
	outline: 2px solid var(--color-focus);
	outline-offset: 2px;
	border-radius: 2px;
}

/* A mark: a one-color picture painted through a mask in the color its place
   gives it. The hidden picture inside gives the box the file's own shape. */
.mark {
	display: block;
	background-color: var(--color-mark);
	-webkit-mask: var(--mark-image) center / 100% 100% no-repeat;
	mask: var(--mark-image) center / 100% 100% no-repeat;
}
.mark > img {
	display: block;
	width: 100%;
	height: auto;
	visibility: hidden;
}

/* In forced colors a background is painted in the page's own color, which
   would hide every mark: a mark keeps the visitor's text color instead, and
   the copies that rise behind the logo stand down. */
@media (forced-colors: active) {
	.mark {
		forced-color-adjust: none;
		background-color: CanvasText;
	}
	.flow {
		display: none;
	}
}

/* ---- Header: the mark, then the navigation -------------------------------- */

/* Where the links no longer fit beside the mark, as with a larger text size,
   they go under it rather than past the window's edge. */
.header-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	padding-top: 14px; /* above the room the logo keeps for its copies */
	padding-bottom: 18px;
}

.site-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.site-nav a {
	display: block;
	padding: 6px 12px;
	border-radius: 4px;
	font-size: 1rem;
	font-weight: 600;
	line-height: var(--ui-leading);
	text-decoration: none;
	white-space: nowrap;
}
.site-nav a:hover {
	box-shadow: inset 0 0 0 1px var(--color-field);
}
.site-nav a[aria-current='page'] {
	border-radius: 0;
	box-shadow: inset 0 -2px 0 var(--color-focus);
	color: var(--color-heading);
}

/* ---- The logo and its Flow ------------------------------------------------- */

.logo {
	display: block;
	flex: none;
	border-radius: 4px;
}
/* The stage keeps room for the copies, which rise up to 40.48% of the mark's
   height above it and 17.91% of its width to its right. The room comes from
   the mark itself, whatever its shape: the stage's tracks are flexible, and
   with nothing else to size them the 41fr row and the 18fr column are 41% of
   the mark's height and 18% of its width. The mark and its copies share the
   bottom-left cell. */
.logo-stage {
	display: grid;
	grid-template: 41fr 100fr / 100fr 18fr;
	isolation: isolate;
}
.logo-stage > * {
	grid-area: 2 / 1;
}
.logo-stage > .mark {
	position: relative;
	z-index: 100;
	width: 176px;
}

/* Eight copies of the mark's large letters, in the brand's Flow colors, rise
   up and to the right behind it and fade, one after another, for as long as
   the page is open; hovering or focusing the logo changes nothing. That is
   Carter's choice (2026-11-25), with no pause button, made knowing that
   motion which starts by itself and lasts more than five seconds is outside
   WCAG 2.2's success criterion 2.2.2 (docs/mockups/DECISION.md).

   Each copy rises in 4.8 s and starts again, without end. Copy n starts
   (n - 1) / 8 of the way into its rise (--flow-delay, negative), so from the
   first frame the copies are an eighth of a rise apart, and they stay so. A
   copy starts again where it cannot be seen: it has faded to nothing at the
   top of its rise and comes back behind the mark, so a cycle's end shows no
   jump.

   The newest copy is drawn in front, so a copy's layer (z-index) falls as it
   rises; with fixed layers, faded copies would cover brighter ones and the
   colors would wash out. The layer is an animation of its own, flow-layer,
   that steps down once an eighth of a rise (steps(8)). The copies are always
   an eighth of a rise apart, so the steps stack them in the same order a
   smooth fall would, and all eight step together, every 0.6 s; the one copy
   whose place in the stack changes then is the one starting again, unseen.
   A z-index animation runs on the main thread, and in the rise's own
   keyframes it would keep the rise there too, painting every frame; apart,
   the rise runs on the compositor.

   At rest the copies hold one moment of the flow, the one in which the first
   has just risen and gone: copy n a fraction (n - 1) / 8 of the way up,
   fainter as it goes, on the layer the steps give it. That is the still
   stack, and with reduced motion it is all there is. */
.flow {
	background-color: var(--flow-color);
	-webkit-mask: var(--flow-image) center / 100% 100% no-repeat;
	mask: var(--flow-image) center / 100% 100% no-repeat;
}
.flow:nth-child(1) {
	transform: translate(17.91%, -40.48%);
	opacity: 0;
	z-index: 1;
}
.flow:nth-child(2) {
	transform: translate(2.239%, -5.06%);
	opacity: 0.955;
	z-index: 8;
	--flow-delay: -0.6s;
}
.flow:nth-child(3) {
	transform: translate(4.478%, -10.12%);
	opacity: 0.909;
	z-index: 7;
	--flow-delay: -1.2s;
}
.flow:nth-child(4) {
	transform: translate(6.716%, -15.18%);
	opacity: 0.864;
	z-index: 6;
	--flow-delay: -1.8s;
}
.flow:nth-child(5) {
	transform: translate(8.955%, -20.24%);
	opacity: 0.818;
	z-index: 5;
	--flow-delay: -2.4s;
}
.flow:nth-child(6) {
	transform: translate(11.194%, -25.3%);
	opacity: 0.667;
	z-index: 4;
	--flow-delay: -3s;
}
.flow:nth-child(7) {
	transform: translate(13.433%, -30.36%);
	opacity: 0.444;
	z-index: 3;
	--flow-delay: -3.6s;
}
.flow:nth-child(8) {
	transform: translate(15.671%, -35.42%);
	opacity: 0.222;
	z-index: 2;
	--flow-delay: -4.2s;
}

/* One rise: from on the mark to its full height, fading. */
@keyframes flow-rise {
	from {
		transform: translate(0, 0);
		opacity: 1;
	}
	55% {
		opacity: 0.8;
	}
	to {
		transform: translate(17.91%, -40.48%);
		opacity: 0;
	}
}
/* A copy's layer over one rise: in steps(8), 8 in its first eighth, down to 1
   in its last. */
@keyframes flow-layer {
	from {
		z-index: 8;
	}
	to {
		z-index: 0;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.flow {
		animation-name: flow-rise, flow-layer;
		animation-duration: 4.8s;
		animation-timing-function: linear, steps(8);
		animation-delay: var(--flow-delay, 0s);
		animation-iteration-count: infinite;
	}
}

/* ---- Footer ---------------------------------------------------------------- */

.site-footer {
	margin-top: 72px;
	padding: 32px 0 36px;
	border-top: 1px solid var(--hairline);
	font-size: 0.9375rem;
	line-height: var(--ui-leading);
}
.footer-grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr;
	gap: 28px;
	align-items: start;
}
/* The contact details' two lists are the grid's second and third columns,
   in the footer's own size. */
.footer-grid .contact {
	display: contents;
}
.footer-grid .contact > ul {
	gap: 6px;
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 400;
}
.footer-brand {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.footer-brand .mark {
	width: 150px;
}
.site-name {
	font-weight: 600;
}
.footer-base {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 26px;
	align-items: center;
	margin-top: 28px;
	padding-top: 16px;
	border-top: 1px solid var(--hairline);
}
.footer-base p {
	margin: 0;
}
.brand-mark {
	width: 58px;
	margin-left: auto;
}

/* ---- Blocks ---------------------------------------------------------------- */

.blocks > * {
	margin: 0;
}
.blocks > * + * {
	margin-top: 16px;
}
.blocks > .heading,
.blocks > .text,
.blocks > .image,
.blocks > .video,
.blocks > .spreadsheet,
.blocks > .links,
.blocks > .contact {
	max-width: 760px;
}

/* Headings look as their style says: super (uppercase, tight) or standard.
   Their level steps the size within that style, and the room above them
   follows the page's sections. */
.heading {
	font-weight: 700;
	color: var(--color-heading);
}
.heading.super {
	line-height: var(--super-leading);
	letter-spacing: var(--super-tracking);
	text-transform: uppercase;
}
.heading.standard {
	line-height: var(--standard-leading);
	letter-spacing: var(--standard-tracking);
}
.super.heading-1 {
	font-size: 3.5rem;
}
.super.heading-2 {
	font-size: 2.25rem;
}
.super.heading-3 {
	font-size: 1.5rem;
}
.standard.heading-1 {
	font-size: 4rem;
}
.standard.heading-2 {
	font-size: 2rem;
}
.standard.heading-3 {
	font-size: 1.25rem;
}
.heading:is(.heading-4, .heading-5, .heading-6) {
	font-size: 1.125rem;
}
.blocks > .heading-1 + * {
	margin-top: 22px;
}
.blocks > * + .heading-2 {
	margin-top: 52px;
}
.blocks > .heading-2 + * {
	margin-top: 18px;
}
.blocks > * + .heading-3 {
	margin-top: 28px;
}
.blocks > .heading-3 + * {
	margin-top: 12px;
}

/* Running text, as the platform renders it from Markdown. */
.text {
	font-size: 1.09375rem;
}
.text > :first-child {
	margin-top: 0;
}
.text > :last-child {
	margin-bottom: 0;
}
.text p {
	margin: 0 0 12px;
}
.text ul,
.text ol {
	display: grid;
	gap: 8px;
	margin: 0 0 12px;
	padding-left: 18px;
}
.text strong {
	color: var(--color-heading);
}
.text a {
	overflow-wrap: anywhere;
}
.text :is(h1, h2, h3, h4, h5, h6) {
	margin: 24px 0 10px;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: var(--standard-leading);
	letter-spacing: var(--standard-tracking);
	color: var(--color-heading);
}
.text blockquote {
	margin: 0 0 12px;
	padding-left: 16px;
	border-left: 2px solid var(--hairline);
}
.text code {
	font-family: var(--font-mono);
	font-size: 0.9em;
}
.text hr {
	margin: 24px 0;
	border: 0;
	border-top: 1px solid var(--hairline);
}
/* A lede: running text set larger and narrower, where its page says. */
.text.lede {
	max-width: 40ch;
	font-size: 1.25rem;
}

/* Buttons: quiet, a hairline box that fills with the ink on hover. */
.buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.blocks > .text + .buttons {
	margin-top: 20px;
}
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 7px 14px;
	border: 1.5px solid var(--color-field);
	border-radius: 6px;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: var(--ui-leading);
	color: var(--color-ink);
	text-decoration: none;
	white-space: nowrap;
}
.button:hover {
	background: var(--color-ink);
	color: var(--color-page);
}

.links {
	display: grid;
	gap: 6px;
	padding-left: 18px;
	font-size: 1.09375rem;
}

.image img {
	display: block;
	width: 100%;
	height: auto;
}
.image figcaption {
	margin-top: 8px;
	font-size: 0.875rem;
	line-height: var(--ui-leading);
	color: var(--color-ink-soft);
}
.blocks > * + .image,
.blocks > .image + * {
	margin-top: 26px;
}

.video iframe {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 0;
}
.video p {
	margin: 8px 0 0;
	font-family: var(--font-mono);
	font-size: 0.8125rem;
	line-height: var(--ui-leading);
	overflow-wrap: anywhere;
}
.blocks > * + .video,
.blocks > .video + * {
	margin-top: 26px;
}

/* A spreadsheet's published view, in a frame of a fixed shape, so its room is
   kept before it loads and nothing below it moves: wider than tall here,
   taller than wide on a phone. The view scrolls inside it. */
.spreadsheet iframe {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	border: 1px solid var(--hairline);
}
.spreadsheet p {
	margin: 8px 0 0;
	font-size: 0.9375rem;
	line-height: var(--ui-leading);
}
.blocks > * + .spreadsheet,
.blocks > .spreadsheet + * {
	margin-top: 26px;
}

/* A card per tool the site has switched on: a row between hairlines. */
.tool-cards {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--hairline);
}
.blocks > * + .tool-cards {
	margin-top: 40px;
}
.blocks > .tool-cards + * {
	margin-top: 40px;
}
.tool-cards li {
	border-bottom: 1px solid var(--hairline);
}
.tool-cards a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 16px 0;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: var(--super-leading);
	letter-spacing: var(--super-tracking);
	text-transform: uppercase;
	color: var(--color-heading);
	text-decoration: none;
}
/* A chevron at the row's end, drawn, not written. */
.tool-cards a::after {
	content: '';
	flex: none;
	width: 10px;
	height: 10px;
	margin-right: 6px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: rotate(45deg);
}
.tool-cards a:hover {
	text-decoration: underline;
	text-decoration-color: var(--color-accent);
}

/* A list of pages, newest first: a picture, a title, a summary, a day. The
   title is the link; the whole row answers to it. */
.page-list {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--hairline);
}
.blocks > * + .page-list {
	margin-top: 40px;
}
.page-list li {
	position: relative;
	display: grid;
	grid-template-columns: 320px minmax(0, 1fr);
	gap: 28px;
	align-items: start;
	padding: 24px 0;
	border-bottom: 1px solid var(--hairline);
}
.page-list li > :only-child {
	grid-column: 1 / -1;
}
.page-list img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}
.page-title {
	margin: 4px 0 8px;
	font-size: 1.75rem;
	font-weight: 700;
	line-height: var(--standard-leading);
	letter-spacing: var(--standard-tracking);
	color: var(--color-heading);
}
.page-title a {
	color: inherit;
	text-decoration: none;
}
.page-title a::after {
	content: '';
	position: absolute;
	inset: 0;
}
.page-list li:hover .page-title a {
	text-decoration: underline;
	text-decoration-color: var(--color-accent);
}
.page-list p {
	max-width: 62ch;
	margin: 0 0 8px;
}
/* A page's day, in a list and under a post's title. */
.page-list time,
.page-date {
	display: block;
	font-family: var(--font-mono);
	font-size: 0.8125rem;
	line-height: var(--ui-leading);
	color: var(--color-ink-soft);
}

/* The site's contact details: ways to reach it, then where else it is. */
.contact ul {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.contact .contact-ways {
	font-size: 1.375rem;
	font-weight: 600;
	line-height: var(--ui-leading);
}
.contact .contact-social {
	font-size: 1.09375rem;
	line-height: var(--ui-leading);
}
.contact > ul + ul {
	margin-top: 20px;
}

/* ---- A form to send ---------------------------------------------------------- */

/* A site's form for visitors to send (templates/forms/), on the contact page,
   under the net sheet, and alone as the answer to a post. One box of cells,
   each a label above what is typed and, under it, a marker in the field role
   (3:1 against the page), as the net sheet's cells have; the cell shows
   focus. One column on a phone; on a wider screen name, email and phone side
   by side and the note under them. Then the box, the consent line, any
   message, and Send. A message is words in the warning's colors; a field
   with one has a heavier marker, never color alone. */
.blocks > .site-form {
	max-width: 760px;
}
/* The line above the form where a page shows it alone (a contact_form block),
   set as running text is. */
.blocks > .form-lead {
	max-width: 760px;
	font-size: 1.09375rem;
}
.form-fields {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	border: 1px solid var(--hairline);
	background: var(--color-surface);
}
.form-field {
	min-width: 0;
	padding: 8px 14px 10px;
	border-bottom: 1px solid var(--hairline);
}
.form-field:last-child {
	border-bottom: 0;
}
.form-field:focus-within {
	outline: 2px solid var(--color-focus);
	outline-offset: -2px;
}
.form-field > label {
	display: block;
	margin-bottom: 4px;
	font: 400 0.78125rem/1.2 var(--font-mono);
}
.form-input {
	display: block;
	width: 100%;
	margin: 0;
	padding: 2px 0 3px;
	border: 0;
	border-bottom: 1.5px solid var(--color-field);
	border-radius: 0;
	background: none;
	font: 600 1rem/1.35 var(--font-sans);
	color: var(--color-ink);
}
textarea.form-input {
	min-height: 4.5em;
	resize: vertical;
	font-weight: 400;
}
/* The cell around the field shows its focus. */
.form-input:focus {
	outline: none;
}
.form-input[aria-invalid='true'] {
	border-bottom-width: 3px;
}
.form-problem {
	margin: 6px 0 0;
	padding: 4px 8px;
	background: var(--color-warn-soft);
	color: var(--color-on-warn-soft);
	font-size: 0.875rem;
	line-height: 1.35;
}
.form-box {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-top: 14px;
	line-height: var(--ui-leading);
}
.form-box input {
	flex: none;
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--color-field);
}
/* The field a person never fills: out of sight, and out of reach. */
.form-trap {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.form-consent {
	max-width: 78ch;
	margin: 12px 0 0;
	font-size: 0.875rem;
	line-height: var(--text-leading);
	color: var(--color-ink-soft);
}
.form-consent a {
	color: inherit;
}
/* An answer's way back to the sheet posts the sheet's token, and reads as
   the link it stands for (forms/answer.tmpl). */
.form-back-button {
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	color: var(--color-ink);
	text-decoration: underline;
	text-decoration-color: var(--color-accent);
	text-decoration-thickness: 1.5px;
	text-underline-offset: 3px;
	cursor: pointer;
}
.form-back-button:hover {
	text-decoration-color: currentColor;
}
.form-message {
	margin-top: 12px;
	padding: 8px 12px;
	background: var(--color-warn-soft);
	color: var(--color-on-warn-soft);
	font-size: 0.9375rem;
	line-height: var(--text-leading);
}
.form-message p {
	margin: 0;
}
.form-message p + p {
	margin-top: 4px;
}
.form-message a {
	color: inherit;
	text-decoration-color: currentColor;
}
.form-send {
	margin-top: 14px;
}
.form-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 22px;
	border: 1.5px solid var(--color-accent);
	border-radius: 6px;
	background: var(--color-accent);
	font: 600 0.9375rem/var(--ui-leading) var(--font-sans);
	color: var(--color-on-accent);
	cursor: pointer;
}
.form-button:hover {
	border-color: var(--color-ink);
}
/* The confirmation, in place of the form. */
.form-sent {
	margin: 0;
	padding: 12px 14px;
	border-left: 3px solid var(--color-accent);
	background: var(--color-surface);
	font-weight: 600;
	line-height: var(--text-leading);
}

@media (min-width: 761px) {
	.form-fields {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.form-field:not(.form-note) + .form-field:not(.form-note) {
		border-left: 1px solid var(--hairline);
	}
	.form-note {
		grid-column: 1 / -1;
	}
}

/* ---- Phone ----------------------------------------------------------------- */

@media (max-width: 760px) {
	.wrap {
		padding: 0 16px;
	}
	.spreadsheet iframe {
		aspect-ratio: 4 / 5;
	}
	.site > main {
		padding-top: 20px;
	}

	/* Its padding again: the .wrap rule above resets it. */
	.header-inner {
		gap: 12px;
		padding-top: 14px;
		padding-bottom: 12px;
	}
	/* About 108 px wide; the stage keeps the copies' room beside it, so the
	   links stay clear of them. */
	.logo-stage > .mark {
		width: 108px;
	}
	.site-nav {
		gap: 0;
		margin-right: -4px;
	}
	.site-nav a {
		padding: 6px 4px;
		font-size: 0.875rem;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 22px;
	}
	.brand-mark {
		margin-left: 0;
	}

	.super.heading-1 {
		font-size: 2.75rem;
	}
	.super.heading-2 {
		font-size: 1.9375rem;
	}
	.super.heading-3 {
		font-size: 1.375rem;
	}
	.standard.heading-1 {
		font-size: 2.875rem;
	}
	.standard.heading-2 {
		font-size: 1.75rem;
	}
	.text {
		font-size: 1.0625rem;
	}
	.text.lede {
		font-size: 1.125rem;
	}

	.page-list li {
		grid-template-columns: 1fr;
		gap: 12px;
		padding: 18px 0;
	}
	.page-title {
		margin: 0 0 6px;
		font-size: 1.5rem;
	}
}

/* ---- Print: a white page with dark ink, whatever the theme ----------------- */

@media print {
	/* These win over the theme the server sets on the root element. */
	:root {
		--color-page: white !important;
		--color-surface: white !important;
		--color-accent: white !important;
		--color-warn: white !important;
		--color-warn-soft: white !important;
		--color-ink: black !important;
		--color-ink-soft: black !important;
		--color-heading: black !important;
		--color-on-accent: black !important;
		--color-rule: black !important;
		--color-field: black !important;
		--color-focus: black !important;
		--color-placeholder: black !important;
		--color-on-warn: black !important;
		--color-on-warn-soft: black !important;
		--color-mark: black !important;
	}
	body {
		background: white;
		color: black;
	}
	a {
		text-decoration-color: currentColor;
	}
	/* The plain mark, in ink: painted, so it prints without background
	   printing; no rising copies, no navigation. */
	.mark {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
	}
	.flow,
	.site-nav {
		display: none;
	}
}
