/*
 * 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;
}

/* ---- What every pressable thing does ------------------------------------------ */

/* A press is taken at once: no wait to see whether it is the first of a
   double tap, which would zoom. */
a,
button,
summary,
label,
input,
select,
textarea {
	touch-action: manipulation;
}

/* Press feedback, Carter's default on his other sites (2026-12-02: "the
   thing that makes buttons feel more tactile"): every pressable thing lifts
   a pixel under a pointer that can rest on it and presses to 97% of its size
   when pressed, in fast (45ms: a phone's tap holds a thing pressed only about
   80ms) and out slow (160ms). The buttons have it from their element; the
   links drawn as buttons, pills or cards and the menu button are named. The
   sheet's disclosures (More costs, an ⓘ) are left out, as on his other
   sites, where only buttons have it: a thing that is still moving a moment
   after the pointer leaves it is pressed a moment late, and the sheet
   redraws under a resting pointer. Only the lift and the press move over time: a
   color changes at once, so words are never, for a moment, a color between
   two that cannot be read. The rules weigh nothing (:where), so a thing's
   own rules still win; they use translate and scale by themselves, so a
   transform on the same thing is untouched. Not for a visitor who asks for
   less motion. */
@media (prefers-reduced-motion: no-preference) {
	:where(button, .button, .menu-button, .site-nav a, .tool-cards a):not(:disabled) {
		transition-property: translate, scale;
		transition-duration: 160ms;
		transition-timing-function: ease-out;
	}
	:where(button, .button, .menu-button, .site-nav a):not(:disabled):active {
		scale: 0.97;
		transition-duration: 45ms;
	}
	/* A card as wide as the page moves less, or its ends would jump. */
	:where(.tool-cards a):active {
		scale: 0.99;
		transition-duration: 45ms;
	}
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
	:where(button, .button, .menu-button):not(:disabled):hover {
		translate: 0 -1px;
	}
}

/* Under a finger a button is tall enough to press, whatever its type's size
   makes it (the sheet's buttons too, sheet.css). */
@media (pointer: coarse) {
	.button,
	.btn,
	.form-button {
		min-height: 44px;
	}
}

/* The first stop for the keyboard on every page: a link past the header to
   the page's own part. Out of sight until it is in focus. */
.skip-link {
	position: absolute;
	top: -100px;
	left: 16px;
	z-index: 50;
	padding: 10px 16px;
	border-radius: 6px;
	background: var(--color-page);
	box-shadow: inset 0 0 0 1.5px var(--color-field);
	font-weight: 600;
	line-height: var(--ui-leading);
	text-decoration: none;
}
.skip-link:focus-visible {
	top: 12px;
}
/* The page's own part takes focus from that link, and shows no ring: it is
   not a control. */
.site > main:focus-visible {
	outline: none;
}

/* The mark of the service a link goes to, before the link's words, in their
   color. */
.link-icon {
	flex: none;
	width: 1.05em;
	height: 1.05em;
	fill: currentColor;
}

/* 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: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.site-nav a {
	display: block;
	padding: 8px 18px;
	border-radius: 999px;
	font-size: 1.375rem;
	font-weight: 600;
	line-height: var(--ui-leading);
	text-decoration: none;
	white-space: nowrap;
}
/* The page a visitor is on is a pill, lighter than the page, with a line of
   light along its top edge, as a piece of glass has (Carter, 2026-12-02: "I
   like your Liquid Glass active nav item", in place of the line that ran
   under it); a link under the pointer is a fainter one. Each tint is the
   ink mixed into the page's color. */
.site-nav a:hover {
	background: color-mix(in srgb, var(--color-ink) 9%, var(--color-page));
}
.site-nav a[aria-current='page'] {
	background: color-mix(in srgb, var(--color-ink) 18%, var(--color-page));
	box-shadow: inset 0 1px 0 color-mix(in srgb, var(--color-ink) 44%, var(--color-page));
	color: var(--color-heading);
}

/* The menu button and the box it is the label of are a phone's (the Phone
   rules below): where the links sit in the row there is no menu to open, so
   neither is drawn, and the keyboard has no stop for them. */
.menu-toggle,
.menu-button {
	display: none;
}

/* ---- 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);
	/* A heading of two lines has two of about one length, not a word left
	   by itself on the second. */
	text-wrap: balance;
}
.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;
	gap: 0.5em;
	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;
}
.contact-social a {
	display: inline-flex;
	align-items: center;
	gap: 0.55em;
}
/* Under a finger each of the site's contact and footer links is a row tall
   enough to press, and the lists' own gaps close up to make the room. */
@media (pointer: coarse) {
	.contact ul {
		gap: 0;
	}
	.contact a,
	.footer-base a {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
	}
}

/* ---- 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);
}
/* A field is a cell, as a spreadsheet's is and as the net sheet's entries
   are (Carter, 2026-12-02, of a line under each field inside the cell's own
   lines: "these double underlines near each other is hard to look at. I
   think just remove the double line and have it look and feel more like a
   Google sheets cell"): the grid's lines around it and no line of its own.
   The field fills its cell, under the label, which lets a press through to
   it, so a press anywhere in the cell puts the cursor in the field, with no
   script. The pointer over a cell lightens it; in focus it wears a ring. */
.form-field {
	position: relative;
	min-width: 0;
	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;
}
@media (hover: hover) {
	.form-field:hover {
		background: color-mix(in srgb, var(--color-ink) 7%, var(--color-surface));
	}
}
.form-field > label {
	position: absolute;
	top: 8px;
	left: 14px;
	right: 14px;
	font: 400 0.78125rem/1.2 var(--font-mono);
	pointer-events: none;
}
.form-input {
	display: block;
	width: 100%;
	margin: 0;
	padding: calc(12px + 0.9375rem) 14px 10px;
	border: 0;
	border-radius: 0;
	background: none;
	font: 600 1rem/1.35 var(--font-sans);
	color: var(--color-ink);
	cursor: text;
}
textarea.form-input {
	min-height: calc(4.5em + 22px + 0.9375rem);
	resize: vertical;
	font-weight: 400;
}
/* The cell around the field shows its focus. */
.form-input:focus {
	outline: none;
}
/* A field with a problem: a bar in the warning's color at its cell's edge,
   as on the net sheet, and its words under it, never color alone. */
.form-field:has(.form-input[aria-invalid='true']) {
	box-shadow: inset 4px 0 0 var(--color-warn);
}
.form-problem {
	margin: 0 14px 10px;
	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);
}
/* While the form is on its way, Send says so: it dims and the pointer waits
   (htmx marks the form, htmx-request, from the press to the answer). */
.site-form.htmx-request .form-button {
	opacity: 0.6;
	cursor: progress;
}
/* 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);
}

/* A group of choices, one to pick (the work with me form's question): a cell
   of the box as the fields are, its question where a field's label is, and
   its radio buttons drawn as one segmented control in the field role, as the
   buttons are, the one picked filled with the accent. Each radio button lies
   unseen over its segment, so a press anywhere on the segment picks it, and
   the arrow keys move between them as between any radio buttons; the segment
   the keyboard is on wears a ring inside the cell's. */
.form-choice {
	min-inline-size: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-bottom: 1px solid var(--hairline);
}
/* Floated, the question leaves the fieldset's edge, where a legend sits,
   and stands at the cell's top as a label does. */
.form-choice > legend {
	float: left;
	width: 100%;
	padding: 8px 14px 0;
	font: 400 0.78125rem/1.2 var(--font-mono);
}
.form-options {
	clear: both;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 8px 14px 12px;
	border: 1.5px solid var(--color-field);
	border-radius: 6px;
	overflow: hidden;
}
.form-option {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 6px 8px;
	font-weight: 600;
	line-height: var(--ui-leading);
	text-align: center;
	cursor: pointer;
}
.form-option + .form-option {
	border-left: 1.5px solid var(--color-field);
}
.form-option input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}
.form-option:has(input:checked) {
	background: var(--color-accent);
	color: var(--color-on-accent);
}
.form-option:has(input:focus-visible) {
	outline: 2px solid var(--color-focus);
	outline-offset: -5px;
}
@media (hover: hover) {
	.form-option:not(:has(input:checked)):hover {
		background: color-mix(in srgb, var(--color-ink) 14%, var(--color-surface));
	}
}
/* A group with a problem wears the field's bar, on the group's own mark. */
.form-choice[aria-invalid='true'] {
	box-shadow: inset 4px 0 0 var(--color-warn);
}
.form-choice > .form-problem {
	margin-top: -2px;
}
/* With the visitor's own colors the fill would not show: the one picked
   wears the system's highlight. */
@media (forced-colors: active) {
	.form-option:has(input:checked) {
		forced-color-adjust: none;
		background: Highlight;
		color: HighlightText;
	}
}

@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;
	}
	/* A field that takes a row of its own, as the question and the license
	   number do, has no line at its left, nor the field after it. */
	.form-wide {
		grid-column: 1 / -1;
	}
	.form-field:not(.form-note) + .form-field.form-wide,
	.form-field.form-wide + .form-field:not(.form-note) {
		border-left: 0;
	}
	/* A dialog is narrower than the page: its fields stand in one column. */
	.form-dialog .form-fields {
		grid-template-columns: minmax(0, 1fr);
	}
	.form-dialog .form-field:not(.form-note) + .form-field:not(.form-note) {
		border-left: 0;
	}
}

/* ---- A form in a dialog --------------------------------------------------- */

/* A form a button opens (templates/forms/dialog.tmpl): a panel in the page's
   color, edged in the field role and rounded, at most 560px wide and, on a
   phone, the screen's width less 16px each side; the page shows through
   behind it, faded to its own color. On a short screen its body scrolls
   inside it, and a scroll that reaches the body's end stays there rather
   than moving the page behind. */
.form-dialog {
	width: min(560px, 100% - 32px);
	max-width: none;
	max-height: calc(100dvh - 32px);
	margin: auto;
	padding: 0;
	overflow: hidden;
	border: 1.5px solid var(--color-field);
	border-radius: 12px;
	background: var(--color-page);
	color: var(--color-ink);
}
.form-dialog::backdrop {
	background: color-mix(in srgb, var(--color-page) 70%, transparent);
}
.form-dialog-body {
	max-height: calc(100dvh - 32px - 3px);
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 20px 24px 24px;
}
.form-dialog-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
}
.form-dialog-title {
	margin: 0;
	padding-top: 6px;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: var(--standard-leading);
	letter-spacing: var(--standard-tracking);
	color: var(--color-heading);
}
/* The cross that closes it: as large as a fingertip, its corner on the
   panel's padding. */
.form-dialog-close {
	flex: none;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin: -6px -10px 0 0;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: none;
	color: var(--color-ink);
	cursor: pointer;
}
.form-dialog-close svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
}
@media (hover: hover) {
	.form-dialog-close:hover {
		box-shadow: inset 0 0 0 1.5px var(--color-field);
	}
}

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

@media (max-width: 760px) {
	.wrap {
		padding: 0 16px;
	}
	.form-dialog-body {
		padding: 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;
	}

	/* The menu: the links fold behind a button at the header's right, and
	   open as a screen of their own in the page's color, large and centered,
	   the mark and the button still above them. There is no script: the
	   button is the label of a checkbox that is out of sight, and the links
	   follow that box, so its state opens them. */
	.menu-toggle {
		display: block;
	}
	.menu-button {
		position: relative;
		z-index: 31;
		display: grid;
		place-items: center;
		width: 44px;
		height: 44px;
		/* The icon's right edge on the page's edge; its middle on the mark's. */
		margin: 0 -8px 4px 0;
		border-radius: 4px;
		cursor: pointer;
		touch-action: manipulation;
	}
	.menu-button svg {
		width: 28px;
		height: 28px;
		fill: none;
		stroke: currentColor;
		stroke-width: 2.25;
		stroke-linecap: round;
	}
	/* The box is out of sight, so its button shows where the keyboard is. */
	.menu-toggle:focus-visible ~ .menu-button {
		outline: 2px solid var(--color-focus);
		outline-offset: 2px;
	}
	.menu-close,
	.menu-toggle:checked ~ .menu-button .menu-open {
		display: none;
	}
	.menu-toggle:checked ~ .menu-button .menu-close {
		display: block;
	}

	/* Closed, the links are hidden and not only unseen, so neither a tap nor
	   Tab reaches them. The room above and below keeps them clear of the
	   mark on a short screen, where they scroll: room for a mark as tall as
	   4:3 with its copies, and the same below, so the links stay in the
	   middle of a taller one. */
	.site-menu {
		position: fixed;
		inset: 0;
		z-index: 30;
		display: flex;
		visibility: hidden;
		overflow-y: auto;
		overscroll-behavior: contain;
		padding: 136px 16px;
		background: var(--color-page);
		opacity: 0;
	}
	.menu-toggle:checked ~ .site-menu {
		visibility: visible;
		opacity: 1;
	}
	.logo {
		position: relative;
		z-index: 31;
	}
	.site-nav {
		flex-direction: column;
		flex-wrap: nowrap;
		align-items: center;
		gap: 2.5vh;
		margin: auto;
	}
	.site-nav a {
		padding: 10px 32px;
		font-size: clamp(2rem, 6vh, 4rem);
		font-weight: 700;
		line-height: 1.1;
	}
	/* While the menu is open the page under it neither scrolls nor takes Tab. */
	:root:has(.menu-toggle:checked) {
		overflow: hidden;
	}
	.site:has(.menu-toggle:checked) > :is(main, .site-footer) {
		visibility: hidden;
	}

	.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-menu,
	.menu-button {
		display: none;
	}
}

/* A pointer that can rest on the button, and not a finger's tap, which would
   leave the ring on it. */
@media (max-width: 760px) and (hover: hover) {
	.menu-button:hover {
		box-shadow: inset 0 0 0 1px var(--color-field);
	}
}

/* The menu comes in with a short fade, for a visitor who has not asked for
   less motion. Only its opening has one, so nothing fades when a window is
   made narrower past the point where the links fold. */
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
	.menu-toggle:checked ~ .site-menu {
		transition: opacity 0.15s ease-out;
	}
}

/* ---- Glass --------------------------------------------------------------------- */

/* Carter, 2026-12-01: "maybe some Apple style liquid glass polish on top of the
   minimalism would be super cool"; of a first, faint try, "it looks pretty
   boring"; and, shown this one, he chose the whole of it for the live site
   (2026-12-02).

   Two things. The glow: the brand's own colors, the ones that rise behind
   its mark, let out behind the page as slow liquid. And glass: the things
   that float over the page (the navigation, buttons, a card, the net sheet's
   heads and its net) are see-through, blur and brighten what is behind them,
   and carry light along their edges, so the glow and the page show in them.

   Every tint is a theme role mixed with nothing (color-mix with transparent),
   so the glass follows the theme; the glow's colors are the brand's, which
   the page's own style gives (--glow-1 and on, render.go). A site whose brand
   has none has glass and no glow. */
:root {
	--glass: color-mix(in srgb, var(--color-ink) 10%, transparent);
	--glass-more: color-mix(in srgb, var(--color-ink) 22%, transparent);
	/* A rim of light all round, brightest along the top, and light pooling
	   inside the top and bottom edges, as it does in a thick piece of glass. */
	--glass-edge:
		inset 0 1px 0.5px color-mix(in srgb, var(--color-ink) 62%, transparent),
		inset 0 -1px 0.5px color-mix(in srgb, var(--color-ink) 22%, transparent),
		inset 0 0 0 1px color-mix(in srgb, var(--color-ink) 18%, transparent),
		inset 0 12px 18px -12px color-mix(in srgb, var(--color-ink) 42%, transparent),
		inset 0 -14px 20px -14px color-mix(in srgb, var(--color-ink) 24%, transparent);
	--glass-blur: blur(16px) saturate(2.2) brightness(1.08);
	/* Where a patch of the glow ends: the page's color, with none of it there. */
	--glow-end: color-mix(in srgb, var(--color-page) 0%, transparent);
}

/* The glow. Two sheets of the brand's colors, fixed to the window's top and
   bottom edges, where the glass floats, behind everything the page holds.
   Each drifts and turns slowly at its own pace, so the colors under the
   glass keep changing; they are still for a visitor who asks for less
   motion. They take no press and are not printed. */
.site {
	position: relative;
	z-index: 1;
}
body::before,
body::after {
	content: '';
	position: fixed;
	z-index: 0;
	left: -15vw;
	width: 130vw;
	height: 78vh;
	filter: blur(58px) saturate(1.5);
	mix-blend-mode: screen;
	pointer-events: none;
}
body::before {
	top: -30vh;
	background:
		radial-gradient(closest-side, var(--glow-4), var(--glow-end)) 4% 62% / 44vw 56vh no-repeat,
		radial-gradient(closest-side, var(--glow-3), var(--glow-end)) 26% 30% / 40vw 52vh no-repeat,
		radial-gradient(closest-side, var(--glow-2), var(--glow-end)) 50% 58% / 42vw 50vh no-repeat,
		radial-gradient(closest-side, var(--glow-1), var(--glow-end)) 76% 28% / 46vw 58vh no-repeat,
		radial-gradient(closest-side, var(--glow-5), var(--glow-end)) 98% 64% / 40vw 52vh no-repeat;
	opacity: 0.5;
}
body::after {
	bottom: -46vh;
	background:
		radial-gradient(closest-side, var(--glow-1), var(--glow-end)) 6% 40% / 46vw 54vh no-repeat,
		radial-gradient(closest-side, var(--glow-2), var(--glow-end)) 34% 56% / 40vw 48vh no-repeat,
		radial-gradient(closest-side, var(--glow-4), var(--glow-end)) 62% 38% / 44vw 54vh no-repeat,
		radial-gradient(closest-side, var(--glow-3), var(--glow-end)) 92% 58% / 42vw 50vh no-repeat;
	opacity: 0.4;
}
@media (prefers-reduced-motion: no-preference) {
	body::before {
		animation: glow-top 26s ease-in-out infinite alternate;
	}
	body::after {
		animation: glow-bottom 34s ease-in-out infinite alternate;
	}
}
@keyframes glow-top {
	0% {
		transform: translate3d(-6vw, 0, 0) rotate(-3deg) scale(1);
	}
	50% {
		transform: translate3d(5vw, 5vh, 0) rotate(2deg) scale(1.12);
	}
	100% {
		transform: translate3d(-2vw, -3vh, 0) rotate(5deg) scale(1.04);
	}
}
@keyframes glow-bottom {
	0% {
		transform: translate3d(6vw, 0, 0) rotate(4deg) scale(1.05);
	}
	50% {
		transform: translate3d(-6vw, -5vh, 0) rotate(-2deg) scale(1.15);
	}
	100% {
		transform: translate3d(3vw, 2vh, 0) rotate(-5deg) scale(1);
	}
}

/* The navigation: a capsule of glass. On a page that is read it floats at
   the window's top as the page scrolls under it; on a tool's page, which has
   glass of its own that stays at the top (the net sheet's heads), it stays
   in the header. */
.site-header {
	position: relative;
	z-index: 25;
}
@media (min-width: 761px) {
	.site-menu {
		padding: 6px;
		border-radius: 999px;
		background: var(--glass);
		-webkit-backdrop-filter: var(--glass-blur);
		backdrop-filter: var(--glass-blur);
		box-shadow: var(--glass-edge);
	}
	.site:not(:has(.sheet-page)) .site-menu {
		position: fixed;
		top: 18px;
		right: max(32px, calc((100% - 1280px) / 2 + 32px));
		z-index: 40;
	}
	.site-nav {
		gap: 2px;
	}
	.site-nav a {
		padding: 9px 20px;
		font-size: 1.25rem;
	}
	.site-nav a:hover {
		background: color-mix(in srgb, var(--color-ink) 5%, transparent);
	}
	/* The pill is glass on glass, so it is a faint one: its words must stay
	   readable on the two tints together, and its rim of light marks it. */
	.site-nav a[aria-current='page'] {
		background: color-mix(in srgb, var(--color-ink) 8%, transparent);
		box-shadow:
			inset 0 1px 0 color-mix(in srgb, var(--color-ink) 62%, transparent),
			inset 0 0 0 1px color-mix(in srgb, var(--color-ink) 22%, transparent);
	}
}
@media (max-width: 760px) {
	.menu-button {
		width: 50px;
		height: 50px;
		margin: 0 0 4px;
		border-radius: 50%;
		background: var(--glass);
		-webkit-backdrop-filter: var(--glass-blur);
		backdrop-filter: var(--glass-blur);
		box-shadow: var(--glass-edge);
	}
	.menu-button svg {
		width: 24px;
		height: 24px;
	}
	.site:not(:has(.sheet-page)) .menu-button {
		position: fixed;
		top: 26px;
		right: 16px;
		z-index: 41;
		margin: 0;
	}
	.site-nav a:hover {
		background: var(--glass);
	}
	.site-nav a[aria-current='page'] {
		background: var(--glass-more);
		box-shadow: var(--glass-edge);
	}
}
/* The open menu is a sheet of glass, the page showing through it, blurred,
   where a browser can keep the keyboard out of what shows through (inert).
   Anywhere else the page under the menu stays hidden, as it was, and the
   menu is the page's color over the glow. */
@supports (interactivity: inert) {
	@media (max-width: 760px) {
		.site-menu {
			background: color-mix(in srgb, var(--color-page) 58%, transparent);
			-webkit-backdrop-filter: blur(26px) saturate(1.7);
			backdrop-filter: blur(26px) saturate(1.7);
		}
		.site:has(.menu-toggle:checked) > :is(main, .site-footer) {
			visibility: visible;
			interactivity: inert;
		}
	}
}

/* The page's top edge, once it has been scrolled: what passes under the
   floating navigation softens and dims, so the words in the capsule are never
   read against the words of the page. Where a browser can tie a look to how
   far a page has scrolled, and for a visitor who has not asked for less
   motion; elsewhere the capsule's own blur does the work. */
@supports (animation-timeline: scroll()) {
	@media (prefers-reduced-motion: no-preference) {
	.site:not(:has(.sheet-page))::after {
		content: '';
		position: fixed;
		inset: 0 0 auto 0;
		z-index: 20;
		height: 104px;
		background: linear-gradient(color-mix(in srgb, var(--color-page) 86%, transparent), var(--glow-end));
		-webkit-backdrop-filter: blur(7px);
		backdrop-filter: blur(7px);
		-webkit-mask-image: linear-gradient(var(--color-page) 45%, var(--glow-end));
		mask-image: linear-gradient(var(--color-page) 45%, var(--glow-end));
		pointer-events: none;
		opacity: 0;
		animation: top-edge linear both;
		animation-timeline: scroll(root);
		animation-range: 0 180px;
	}
	}
}
@keyframes top-edge {
	to {
		opacity: 1;
	}
}

/* Buttons: capsules of glass, a finger tall. Send keeps the accent, with
   light along its top. */
.button {
	min-height: 44px;
	padding: 10px 20px;
	border: 0;
	border-radius: 999px;
	background: var(--glass);
	box-shadow: var(--glass-edge);
	font-size: 1rem;
}
.button:hover {
	background: var(--glass-more);
	color: var(--color-heading);
}
.form-button {
	min-height: 46px;
	padding: 11px 28px;
	border: 0;
	border-radius: 999px;
	box-shadow:
		inset 0 1px 0 color-mix(in srgb, var(--color-ink) 70%, transparent),
		inset 0 -1px 0 color-mix(in srgb, var(--color-page) 30%, transparent);
	font-size: 1rem;
}
.form-button:hover {
	box-shadow:
		inset 0 1px 0 color-mix(in srgb, var(--color-ink) 90%, transparent),
		inset 0 0 0 1.5px var(--color-ink);
}

/* The home page's tool: a card of glass, not a ruled row. */
.tool-cards {
	display: grid;
	gap: 12px;
	max-width: 560px;
	border-top: 0;
}
.tool-cards li {
	border-bottom: 0;
}
.tool-cards a {
	padding: 24px 26px;
	border-radius: 24px;
	background: var(--glass);
	box-shadow: var(--glass-edge);
}
.tool-cards a:hover {
	background: var(--glass-more);
	text-decoration: none;
}

/* Pictures have a card's corners, and a form is a pane of glass. */
.image img,
.page-list img {
	border-radius: 20px;
}
.form-fields {
	border: 0;
	border-radius: 22px;
	background: var(--glass);
	box-shadow: var(--glass-edge);
	overflow: hidden;
}

/* A visitor who asks for less to see through, or for more contrast, and one
   whose own colors are forced, gets no glow, and solid things where the
   glass was: each tint mixed into the page's color, with nothing behind it
   to blur. Nothing of the glow is printed. */
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more), (forced-colors: active), print {
	:root {
		--glass: color-mix(in srgb, var(--color-ink) 10%, var(--color-page));
		--glass-more: color-mix(in srgb, var(--color-ink) 22%, var(--color-page));
		--glass-blur: none;
	}
	body::before,
	body::after,
	.site:not(:has(.sheet-page))::after {
		display: none;
	}
	.site-menu {
		background: var(--color-page);
	}
}
