@layer norn.components {
		norn-icon {
			display: inline-flex;
			flex: none;
			vertical-align: -0.125em;

			& svg {
				inline-size: var(--norn-ui-icon-s, 1em);
				block-size: var(--norn-ui-icon-s, 1em);

				&[data-size="m"] {
					inline-size: var(--norn-ui-icon-m, 1.25rem);
					block-size: var(--norn-ui-icon-m, 1.25rem);
				}

				&:not([data-project]) {
					fill: none;
					stroke: currentcolor;
					stroke-linecap: round;
					stroke-linejoin: round;
					stroke-width: 2;
				}

				&[data-project] {
					fill: currentcolor;
				}
			}

			& > :not(svg) {
				position: absolute;
				inline-size: 1px;
				block-size: 1px;
				overflow: hidden;
				clip-path: inset(50%);
				white-space: nowrap;
			}

			& [data-fill] {
				fill: currentcolor;
				stroke: none;
			}

			&:dir(rtl) [data-mirror] {
				transform: scaleX(-1);
			}
		}
	}
@layer norn.components {
		norn-link-button {
			display: inline-flex;
			max-inline-size: 100%;

			& a[data-variant] {
				--_state: 0%;
				--_bg: transparent;
				--_border: transparent;
				box-sizing: border-box;
				display: inline-flex;
				align-items: center;
				gap: var(--norn-space-xs, 0.5rem);
				min-block-size: var(--norn-ui-control-height, 2.25rem);
				padding: var(--norn-space-2xs, 0.25rem) var(--norn-space-m, 1.25rem);
				border: 1px solid var(--_border);
				border-radius: var(--norn-ui-border-radius, 6px);
				background-color: color-mix(in oklab, currentcolor var(--_state), var(--_bg));
				color: var(--norn-text-accent, light-dark(oklch(from color-mix(in oklch, var(--norn-ui-accent, #2346d4) 82%, black) min(l, 0.5) c h), oklch(from color-mix(in oklch, var(--norn-ui-accent, #2346d4) 55%, white) max(l, 0.72) c h)));
				font-weight: 600;
				line-height: 1.3;
				overflow-wrap: anywhere;
				text-decoration: none;

				&:hover {
					--_state: var(--norn-ui-state-hover, 8%);
				}

				&:active {
					--_state: var(--norn-ui-state-press, 12%);
				}
			}

			/* The surrounding text color, for a secondary or quiet button. The primary rule below keeps its own. */
			& a[data-tone="current"] {
				color: inherit;
			}

			& a[data-variant="primary"] {
				--_bg: var(--norn-ui-accent, #2346d4);
				color: var(--norn-text-on-accent, color(from var(--norn-ui-accent, #2346d4) xyz-d65 calc(0.95047 * clamp(0, calc((0.1791 - y) * 1000000), 1)) clamp(0, calc((0.1791 - y) * 1000000), 1) calc(1.08883 * clamp(0, calc((0.1791 - y) * 1000000), 1))));
			}

			& a[data-variant="secondary"] {
				--_border: var(--norn-text-accent, light-dark(oklch(from color-mix(in oklch, var(--norn-ui-accent, #2346d4) 82%, black) min(l, 0.5) c h), oklch(from color-mix(in oklch, var(--norn-ui-accent, #2346d4) 55%, white) max(l, 0.72) c h)));
			}

			@media (pointer: coarse) {
				& a[data-variant] {
					min-block-size: 2.75rem;
				}
			}

			@media (prefers-reduced-motion: no-preference) {
				& a[data-variant] {
					transition: background-color var(--norn-ui-motion-duration, 150ms) var(--norn-ui-motion-easing, cubic-bezier(0.2, 0, 0, 1));
				}
			}

			/* The primary button stays filled, since the browser would turn its fill into the page color. */
			@media (forced-colors: active) {
				& a[data-variant="primary"] {
					border-color: LinkText;
					background-color: LinkText;
					color: Canvas;
					forced-color-adjust: none;

					&:focus-visible {
						outline-color: CanvasText;
					}
				}

				& a[data-variant="secondary"] {
					border-color: LinkText;
					color: LinkText;
				}

				/* A clear border would be drawn in the text color, so the quiet button's takes the page's. */
				& a[data-variant="quiet"] {
					border-color: Canvas;
					color: LinkText;
				}
			}
		}
	}
@layer norn.components {
		norn-fact-list {
			display: block;

			& ul {
				display: flex;
				flex-wrap: wrap;
				gap: var(--norn-space-xs, 0.5rem) var(--norn-space-m, 1.25rem);
				margin: 0;
				padding: 0;
				list-style: none;
				color: var(--norn-text-muted, light-dark(#4b5160, #a4abba));
				font-size: var(--norn-font-size-s, 0.875rem);

				&[data-gap="s"] {
					row-gap: var(--norn-space-s, 0.75rem);
				}

				&[data-gap="m"] {
					row-gap: var(--norn-space-m, 1.25rem);
				}

				&[data-gap="l"] {
					row-gap: var(--norn-space-l, 2rem);
				}
			}

			& li {
				display: inline-flex;
				align-items: center;
				gap: var(--norn-space-2xs, 0.25rem);
				max-inline-size: 100%;
				line-height: 1.5;
				overflow-wrap: anywhere;
			}

			& norn-icon {
				color: var(--norn-text-accent, light-dark(oklch(from color-mix(in oklch, var(--norn-ui-accent, #2346d4) 82%, black) min(l, 0.5) c h), oklch(from color-mix(in oklch, var(--norn-ui-accent, #2346d4) 55%, white) max(l, 0.72) c h)));
			}
		}
	}
@layer norn.components {
		norn-hero {
			display: block;

			& > header {
				--_width: var(--norn-layout-width, 64rem);
				display: grid;
				grid-auto-flow: row;
				align-content: start;
				gap: var(--norn-space-m, 1.25rem);
				inline-size: min(100% - 2 * var(--norn-space-m, 1.25rem), var(--_width));
				margin-inline: auto;
				padding-block: var(--norn-space-xl, 4rem) var(--norn-space-l, 2rem);
			}

			& > header[data-width="measure"] {
				--_width: var(--norn-text-measure, 40em);
			}

			& > header > h1 {
				display: flex;
				flex-direction: column;
				gap: var(--norn-space-xs, 0.5rem);
				margin: 0;
				font-family: var(--norn-font-heading, var(--norn-font-body, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif));
				font-size: clamp(2rem, 5vw, 3.25rem);
				line-height: 1.15;
				overflow-wrap: anywhere;
				text-wrap: balance;
			}

			& > header > h1 > :first-child {
				font-size: 1.15em;
			}

			& > header > h1 > :last-child:not(:first-child) {
				color: var(--norn-text-accent, light-dark(oklch(from color-mix(in oklch, var(--norn-ui-accent, #2346d4) 82%, black) min(l, 0.5) c h), oklch(from color-mix(in oklch, var(--norn-ui-accent, #2346d4) 55%, white) max(l, 0.72) c h)));
				font-size: 0.55em;
				font-weight: 400;
			}

			& > header > p {
				max-inline-size: var(--norn-text-measure, 40em);
				margin: 0;
				color: var(--norn-text-muted, light-dark(#4b5160, #a4abba));
				font-size: var(--norn-font-size-l, 1.25rem);
				text-wrap: pretty;
			}

			& > header > nav ul {
				display: flex;
				flex-wrap: wrap;
				gap: var(--norn-space-s, 0.75rem);
				margin: 0;
				padding: 0;
				list-style: none;
			}

			@media print {
				& > header > nav {
					display: none;
				}

				& > header {
					gap: var(--norn-space-s, 0.75rem);
					padding-block: var(--norn-space-m, 1.25rem);
				}
			}
		}
	}
@layer norn.components {
		norn-card {
			display: grid;
			grid-template-columns: minmax(0, 1fr);
			block-size: 100%;

			/* The article takes the rows the tag has. A norn-card-grid gives the tag three subgrid rows, one each for the heading, the body, and a footer, so they line up across a row. */
			& > article {
				--_state: 0%;
				--_accent: initial;
				box-sizing: border-box;
				position: relative;
				display: grid;
				grid-row: 1 / -1;
				grid-template-columns: minmax(0, 1fr);
				grid-template-rows: inherit;
				align-content: start;
				row-gap: 0;
				block-size: 100%;
				padding: var(--norn-space-m, 1.25rem);
				/* Without an accent the declaration is invalid, so there is no line and no space for one. */
				border-block-start: 2px solid var(--_accent);
				border-radius: var(--norn-ui-border-radius, 6px);
				background-color: color-mix(in oklab, currentcolor var(--_state), var(--norn-surface-raised, light-dark(hsl(40, 14%, 96%), #242932)));

				/* A fourth child has no row to take, so a card with more than a heading, a body, and a footer lays out on its own. */
				&:has(> :nth-child(4)) {
					grid-template-rows: none;
				}

				&[data-accent="accent"] {
					--_accent: var(--norn-ui-accent, #2346d4);
				}

				&[data-accent="info"] {
					--_accent: var(--norn-status-info, light-dark(#1b4fc4, #8fb0ff));
				}

				&[data-accent="success"] {
					--_accent: var(--norn-status-success, light-dark(#0b6b3a, #7ed6a1));
				}

				&[data-accent="warning"] {
					--_accent: var(--norn-status-warning, light-dark(#9a4a00, #ffb36b));
				}

				&[data-accent="danger"] {
					--_accent: var(--norn-status-danger, light-dark(#b42318, #ff8a80));
				}

				&:has(a:hover) {
					--_state: var(--norn-ui-state-hover, 8%);
				}

				&:has(a:active) {
					--_state: var(--norn-ui-state-press, 12%);
				}

				/* The ring goes around the card, not around the link text. */
				&:has(a:focus-visible) {
					outline: var(--norn-ui-focus-width, 2px) solid var(--norn-text-accent, light-dark(oklch(from color-mix(in oklch, var(--norn-ui-accent, #2346d4) 82%, black) min(l, 0.5) c h), oklch(from color-mix(in oklch, var(--norn-ui-accent, #2346d4) 55%, white) max(l, 0.72) c h)));
					outline-offset: var(--norn-ui-focus-offset, 2px);
				}
			}

			& > article > * {
				margin: 0;
			}

			& > article > :not(:last-child) {
				margin-block-end: var(--norn-space-s, 0.75rem);
			}

			& > article > :is(h2, h3, h4, h5, h6),
			& > article > norn-heading-anchor > :is(h2, h3, h4, h5, h6) {
				font-family: var(--norn-font-heading, var(--norn-font-body, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif));
				font-size: var(--norn-font-size-l, 1.25rem);
				line-height: 1.15;
				text-wrap: balance;
			}

			& > article > :is(h2, h3, h4, h5, h6) a,
			& > article > norn-heading-anchor > :is(h2, h3, h4, h5, h6) a {
				color: var(--norn-text-accent, light-dark(oklch(from color-mix(in oklch, var(--norn-ui-accent, #2346d4) 82%, black) min(l, 0.5) c h), oklch(from color-mix(in oklch, var(--norn-ui-accent, #2346d4) 55%, white) max(l, 0.72) c h)));
				text-decoration: none;
				overflow-wrap: anywhere;

				/* The link reaches over the whole card. */
				&::after {
					content: "";
					position: absolute;
					inset: 0;
				}

				&:hover {
					text-decoration: underline;
				}

				&:focus-visible {
					outline: none;
				}
			}

			& > article > p {
				color: var(--norn-text-muted, light-dark(#4b5160, #a4abba));
				text-wrap: pretty;
			}

			& > article[data-title-face="mono"] > :is(h2, h3, h4, h5, h6),
			& > article[data-title-face="mono"] > norn-heading-anchor > :is(h2, h3, h4, h5, h6) {
				font-family: var(--norn-font-mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace);
				font-size: var(--norn-font-size-m, 1rem);
				font-weight: 700;
			}

			@media (prefers-reduced-motion: no-preference) {
				& > article {
					transition: background-color var(--norn-ui-motion-duration, 150ms) var(--norn-ui-motion-easing, cubic-bezier(0.2, 0, 0, 1));
				}
			}

			@media (forced-colors: active) {
				& > article {
					border: 1px solid CanvasText;
				}
			}

			@media print {
				break-inside: avoid;
			}
		}
	}
@layer norn.components {
		norn-card-grid {
			display: block;

			& > ul {
				--_gap: var(--norn-space-m, 1.25rem);
				display: grid;
				grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--_min, 17rem)), 1fr));
				gap: var(--_gap);
				margin: 0;
				padding: 0;
				list-style: none;
			}

			& > ul[data-gap="s"] {
				--_gap: var(--norn-space-s, 0.75rem);
			}

			& > ul[data-gap="l"] {
				--_gap: var(--norn-space-l, 2rem);
			}
		}

		/* Each card spans three rows, and its heading, body, and footer take one each, so they line up across a row. The rows have no gap, so a card with no footer leaves no blank space; the space between cards is a margin on each, taken back from the end of the list. */
		@supports (grid-template-rows: subgrid) {
			norn-card-grid {
				& > ul {
					row-gap: 0;
					margin-block-end: calc(-1 * var(--_gap));
				}

				& > ul > li {
					display: grid;
					grid-row: span 3;
					grid-template-rows: subgrid;
					margin-block-end: var(--_gap);
				}

				& > ul > li > * {
					grid-row: 1 / -1;
				}

				/* A card lays its heading, body, and footer on the rows of its tag. */
				& > ul > li > norn-card {
					grid-template-rows: subgrid;
				}
			}
		}
	}
/* The fonts sit at assets/fonts: from the bundle, one level up. Each fallback matches its font's metrics. */
	@font-face {
		font-family: "PT Mono";
		src: url("../assets/fonts/pt-mono.woff2") format("woff2");
		font-weight: 400;
		font-display: swap;
	}

	@font-face {
		font-family: "PT Mono Fallback";
		src: local("Courier New"), local("CourierNewPSMT"), local("Liberation Mono"), local("Courier");
		size-adjust: 100%;
		ascent-override: 88.5%;
		descent-override: 23.5%;
		line-gap-override: 0%;
	}

	@font-face {
		font-family: "Instrument Sans";
		src: url("../assets/fonts/instrument-sans-var.woff2") format("woff2");
		font-weight: 400 700;
		font-display: swap;
	}

	@font-face {
		font-family: "Instrument Sans";
		src: url("../assets/fonts/instrument-sans-italic-var.woff2") format("woff2");
		font-style: italic;
		font-weight: 400 700;
		font-display: swap;
	}

	@font-face {
		font-family: "Instrument Sans Fallback";
		src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Helvetica");
		size-adjust: 102.6%;
		ascent-override: 94.54%;
		descent-override: 24.37%;
		line-gap-override: 0%;
	}

	@font-face {
		font-family: "Instrument Sans Fallback";
		src: local("Arial Italic"), local("Arial-ItalicMT"), local("Liberation Sans Italic"), local("Helvetica Oblique");
		font-style: italic;
		size-adjust: 102.52%;
		ascent-override: 94.61%;
		descent-override: 24.39%;
		line-gap-override: 0%;
	}

	@font-face {
		font-family: "Yellowtail";
		src: url("../assets/fonts/yellowtail.woff2") format("woff2");
		font-weight: 400;
		font-display: swap;
	}

	@font-face {
		font-family: "Yellowtail Fallback";
		src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Helvetica");
		size-adjust: 73.65%;
		ascent-override: 131.93%;
		descent-override: 40.91%;
		line-gap-override: 12.2%;
	}
@layer norn.components {
		norn-skip-link {
			display: block;

			& a {
				position: absolute;
				inset-block-start: -5rem;
				inset-inline-start: var(--norn-space-m, 1.25rem);
				z-index: 10;
				padding: var(--norn-space-xs, 0.5rem) var(--norn-space-s, 0.75rem);
				border-radius: var(--norn-ui-border-radius, 6px);
				background: var(--norn-surface-raised, light-dark(hsl(40, 14%, 96%), #242932));
				color: var(--norn-text-base, light-dark(#16181d, #eceef3));

				&:focus {
					inset-block-start: var(--norn-space-xs, 0.5rem);
				}
			}

			@media (forced-colors: active) {
				& a {
					border: 1px solid CanvasText;
				}
			}

			@media print {
				display: none;
			}
		}
	}
@layer norn.oss {
		oss-bar {
			--_navy: #33394e;
			--_link: #ffd36b;
			display: block;
			background: var(--_navy);

			& a {
				display: block;

				&:focus-visible {
					outline-color: var(--_link);
				}
			}

			& svg {
				display: block;
				inline-size: 100%;
				max-inline-size: 31.25rem;
				block-size: auto;
				margin-inline: auto;
			}
		}
	}
@layer norn.components {
		norn-header {
			display: block;
			container-type: inline-size;

			& > header {
				position: relative;
				display: flex;
				flex-wrap: wrap;
				align-items: center;
				justify-content: space-between;
				gap: var(--norn-space-xs, 0.5rem) var(--norn-space-m, 1.25rem);
				padding: var(--norn-space-s, 0.75rem) var(--norn-space-m, 1.25rem);
				background: var(--norn-surface-raised, light-dark(hsl(40, 14%, 96%), #242932));
			}

			& > header > a[rel="home"] {
				display: inline-flex;
				align-items: center;
				gap: var(--norn-space-xs, 0.5rem);
				color: var(--norn-text-base, light-dark(#16181d, #eceef3));
				font-family: var(--norn-font-heading, var(--norn-font-body, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif));
				font-size: var(--norn-font-size-l, 1.25rem);
				font-weight: 700;
				text-decoration: none;
			}

			& > header > [rel="home"] img {
				display: block;
				inline-size: auto;
				max-inline-size: 100%;
				block-size: var(--_logo, 2rem);
			}

			/* Wide, the details is only a wrapper: its summary is hidden, and the navigation sits in the row. */
			& > header > details {
				display: contents;

				&::details-content {
					content-visibility: visible;
					display: contents;
				}
			}

			& > header > details > summary {
				display: none;
			}

			& > header > details > nav {
				display: flex;
				flex-wrap: wrap;
				gap: var(--norn-space-2xs, 0.25rem) var(--norn-space-xs, 0.5rem);
				font-size: var(--norn-font-size-m, 1rem);
			}

			& > header > details > nav > [data-label] {
				position: absolute;
				inline-size: 1px;
				block-size: 1px;
				overflow: hidden;
				clip-path: inset(50%);
				white-space: nowrap;
			}

			& > header > details > nav > a {
				--_state: 0%;
				box-sizing: border-box;
				display: inline-flex;
				align-items: center;
				gap: var(--norn-space-2xs, 0.25rem);
				min-block-size: var(--norn-ui-control-height, 2.25rem);
				padding-inline: var(--norn-space-xs, 0.5rem);
				border-block-end: 2px solid transparent;
				border-radius: var(--norn-ui-radius-s, 4px);
				background-color: color-mix(in oklab, currentcolor var(--_state), transparent);
				color: var(--norn-text-muted, light-dark(#4b5160, #a4abba));
				text-decoration: none;

				&:hover {
					--_state: var(--norn-ui-state-hover, 8%);
					color: var(--norn-text-base, light-dark(#16181d, #eceef3));
				}

				&:active {
					--_state: var(--norn-ui-state-press, 12%);
				}

				&[aria-current] {
					border-block-end-color: var(--norn-text-accent, light-dark(oklch(from color-mix(in oklch, var(--norn-ui-accent, #2346d4) 82%, black) min(l, 0.5) c h), oklch(from color-mix(in oklch, var(--norn-ui-accent, #2346d4) 55%, white) max(l, 0.72) c h)));
					color: var(--norn-text-base, light-dark(#16181d, #eceef3));
				}
			}

			/* Narrow, the links fold into a control at the end of the brand's row. Open, they take the full width below it. */
			@container (max-width: 40rem) {
				& > header {
					row-gap: 0;
				}

				& > header > details:not([open])::details-content {
					content-visibility: hidden;
				}

				& > header > details::details-content {
					display: block;
					flex: 1 0 100%;
				}

				& > header > details > nav {
					flex-direction: column;
					padding-block-start: var(--norn-space-xs, 0.5rem);
					flex-wrap: nowrap;
					gap: 0;
				}

				& > header > details > nav > a {
					padding-inline: var(--norn-space-s, 0.75rem);
				}

				& > header > details > summary {
					--_state: 0%;
					box-sizing: border-box;
					display: flex;
					align-items: center;
					gap: var(--norn-space-s, 0.75rem);
					min-block-size: var(--norn-ui-control-height, 2.25rem);
					margin-inline-start: auto;
					padding-inline: var(--norn-space-s, 0.75rem);
					border-radius: var(--norn-ui-radius-s, 4px);
					background-color: color-mix(in oklab, currentcolor var(--_state), transparent);
					font-weight: 600;
					list-style: none;
					cursor: pointer;

					&::-webkit-details-marker {
						display: none;
					}

					&:hover {
						--_state: var(--norn-ui-state-hover, 8%);
					}

					&:active {
						--_state: var(--norn-ui-state-press, 12%);
					}

					&:focus-visible {
						outline-offset: calc(-1 * var(--norn-ui-focus-offset, 2px));
					}

					/* A chevron drawn with two borders, pointing down when closed and up when open. */
					&::after {
						box-sizing: border-box;
						content: "";
						flex: none;
						inline-size: 0.5em;
						block-size: 0.5em;
						border-block-end: 2px solid var(--norn-text-accent, light-dark(oklch(from color-mix(in oklch, var(--norn-ui-accent, #2346d4) 82%, black) min(l, 0.5) c h), oklch(from color-mix(in oklch, var(--norn-ui-accent, #2346d4) 55%, white) max(l, 0.72) c h)));
						border-inline-end: 2px solid var(--norn-text-accent, light-dark(oklch(from color-mix(in oklch, var(--norn-ui-accent, #2346d4) 82%, black) min(l, 0.5) c h), oklch(from color-mix(in oklch, var(--norn-ui-accent, #2346d4) 55%, white) max(l, 0.72) c h)));
						rotate: 45deg;
					}
				}

				& > header > details[open] > summary::after {
					rotate: 225deg;
				}
			}

			@media (pointer: coarse) {
				& > header > details > nav > a,
				& > header > details > summary {
					min-block-size: 2.75rem;
				}
			}

			@media (prefers-reduced-motion: no-preference) {
				& > header > details > nav > a,
				& > header > details > summary {
					transition: background-color var(--norn-ui-motion-duration, 150ms) var(--norn-ui-motion-easing, cubic-bezier(0.2, 0, 0, 1));
				}
			}

			/* A clear border would be drawn in the text color, so the links that aren't current take the page's. */
			@media (forced-colors: active) {
				& > header > details > nav > a {
					border-block-end-color: Canvas;
				}

				& > header > details > nav > a[aria-current] {
					border-block-end-color: Highlight;
				}

				& > header > details > summary::after {
					border-color: CanvasText;
				}
			}

			@media print {
				& > header > details {
					display: none;
				}
			}

			/* Last, so a header with no links drops the whole control. */
			& > header > details:not(:has(a)) {
				display: none;
			}
		}

		/* Without ::details-content a closed details can't show its links, so the control is always there. */
		@supports not selector(::details-content) {
			norn-header > header > details > summary {
				display: flex;
				align-items: center;
				min-block-size: var(--norn-ui-control-height, 2.25rem);
				margin-inline-start: auto;
				font-weight: 600;
				cursor: pointer;
			}
		}
	}
@layer norn.oss {
		oss-cta {
			--_navy: #33394e;
			--_ink: #ffffff;
			--_link: #ffd36b;
			--_signature: "Yellowtail", "Yellowtail Fallback", cursive;
			--norn-ui-accent: var(--_link);
			--norn-text-accent: var(--_link);
			--norn-text-on-accent: var(--_navy);
			display: block;
			container-type: inline-size;
			inline-size: min(100% - 2 * var(--norn-space-m, 1.25rem), 64rem);
			margin: var(--norn-space-xl, 4rem) auto 0;

			& section {
				display: grid;
				grid-template-columns: auto minmax(0, 1fr) auto;
				align-items: center;
				gap: var(--norn-space-m, 1.25rem) var(--norn-space-l, 2rem);
				padding: var(--norn-space-l, 2rem);
				border-radius: var(--norn-ui-border-radius, 6px);
				background: var(--_navy);
				color: var(--_ink);
			}

			& svg {
				inline-size: 4.5rem;
				block-size: auto;
			}

			& section > div {
				display: grid;
				gap: 0.4rem;
			}

			& p {
				margin: 0;
			}

			& section > div > p:first-child {
				font-weight: 600;
			}

			/* The Allons-y Studio name is signed. */
			& [data-signature] {
				font-family: var(--_signature);
				font-size: 1.3em;
				font-weight: 400;
				line-height: 1;
			}

			& section > div > p:first-child [data-signature] {
				font-size: 1.5em;
			}

			& section > div > :is(h2, h3, h4) {
				margin: 0;
				font-size: clamp(1.35rem, 3vw, 1.75rem);
			}

			& ul {
				display: flex;
				flex-direction: row;
				flex-wrap: wrap;
				gap: var(--norn-space-s, 0.75rem);
				margin: 0;
				padding: 0;
				list-style: none;
			}

			& :focus-visible {
				outline-color: var(--_link);
			}

			@container (max-width: 37.5rem) {
				& section {
					grid-template-columns: minmax(0, 1fr);
				}
			}

			@media print {
				display: none;
			}
		}
	}
@layer norn.oss {
		oss-credit {
			display: block;
			max-inline-size: min(100%, 20rem);

			& a {
				display: block;
				inline-size: fit-content;
				max-inline-size: 100%;
				margin-inline-start: auto;
			}

			& svg {
				display: block;
				max-inline-size: 100%;
				block-size: auto;
			}
		}

		/* As a footer column. */
		norn-footer oss-credit {
			max-inline-size: min(100%, 13.75rem);
		}
	}
@layer norn.components {
		norn-footer {
			display: block;
			container-type: inline-size;

			& > footer {
				display: grid;
				gap: var(--norn-space-l, 2rem);
				padding: var(--norn-space-l, 2rem) var(--norn-space-m, 1.25rem);
				border-block-start: 1px solid var(--norn-ui-border-color, light-dark(#d3d8e2, #2d323e));
				color: var(--norn-text-muted, light-dark(#4b5160, #a4abba));
				font-size: var(--norn-font-size-s, 0.875rem);
			}

			& > footer > div {
				inline-size: min(100%, var(--_width, var(--norn-layout-width, 64rem)));
				margin-inline: auto;

				/* A slot nobody filled leaves its wrapper empty: take it out of the grid. */
				&:not(:has(*)) {
					display: none;
				}

				&:first-child {
					display: grid;
					grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
					align-items: start;
					gap: var(--norn-space-l, 2rem);
				}

				&:first-child > :is(div, nav) {
					display: grid;
					align-content: start;
					gap: var(--norn-space-s, 0.75rem);
				}

				/* A nav of several link groups: one landmark, a column per group. */
				&:first-child > nav:has(> div) {
					display: flex;
					flex-wrap: wrap;
					gap: var(--norn-space-l, 2rem);
				}

				&:first-child > nav > div {
					display: grid;
					align-content: start;
					gap: var(--norn-space-s, 0.75rem);
				}
			}

			@container (min-width: 60rem) {
				& > footer > div:first-child {
					grid-template-columns: minmax(0, var(--_lead, 25rem));
					grid-auto-columns: minmax(min-content, max-content);
					grid-auto-flow: column;
					justify-content: space-between;
				}
			}

			& :where(p) {
				margin-block: 0;
			}

			& :where(strong) {
				color: var(--norn-text-base, light-dark(#16181d, #eceef3));
			}

			& :where(small) {
				font-size: var(--norn-font-size-s, 0.875rem);
			}

			& > footer > div:first-child > :is(div, nav) > ul,
			& > footer > div:first-child > nav > div > ul {
				display: flex;
				flex-direction: column;
				gap: var(--norn-space-xs, 0.5rem);
				margin: 0;
				padding: 0;
				list-style: none;
			}

			& :where(a) {
				color: inherit;
			}

			/* A link in the navigation is quiet until the pointer or focus is on it. A link in a sentence keeps its underline. */
			& :where(nav a) {
				text-decoration: none;
			}

			& :where(a:is(:hover, :focus-visible)) {
				color: var(--norn-text-accent, light-dark(oklch(from color-mix(in oklch, var(--norn-ui-accent, #2346d4) 82%, black) min(l, 0.5) c h), oklch(from color-mix(in oklch, var(--norn-ui-accent, #2346d4) 55%, white) max(l, 0.72) c h)));
				text-decoration: underline;
			}

			& :where(a:has(norn-icon)) {
				display: inline-flex;
				align-items: center;
				gap: var(--norn-space-2xs, 0.25rem);
			}

			@media print {
				& > footer {
					gap: var(--norn-space-s, 0.75rem);
				}
			}
		}
	}
/*
 * An optional reset, in the norn.reset layer. Norn's components and layouts look the same without it.
 * Copy or link it from `@allons-y/webc-patterns/css/reset.css`, or read its path from the plugin's `reset` export.
 */
@layer norn.reset {
	*,
	*::before,
	*::after {
		box-sizing: border-box;
	}

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

	body,
	h1,
	h2,
	h3,
	p,
	figure,
	pre,
	ul {
		margin: 0;
	}

	ul {
		padding: 0;
		list-style: none;
	}

	img,
	picture,
	svg {
		display: block;
		max-inline-size: 100%;
		block-size: auto;
	}

	button {
		font: inherit;
		color: inherit;
	}
}
:root {
	--color-text: light-dark(#33394E, #FBF9F3);
	--color-text-muted: light-dark(#414C75, #B6AFAB);
	--color-border: light-dark(#B6AFAB, #5A4A40);
	--color-accent-secondary: light-dark(#1F4E9C, #84B0F7);
	--color-code: var(--color-text);
	--color-code-surface: light-dark(#FFFDF8, #241C18);
	--color-code-text: var(--color-text);
	--color-code-keyword: light-dark(#824306, #E9A35C);
	--color-code-string: light-dark(#635200, #FFD36C);
	--color-code-function: light-dark(#195A6E, #7BD1E6);
	--color-code-number: light-dark(#992D15, #FF9F80);
	--color-code-comment: light-dark(#414C75, #B6AFAB);
	--color-code-edge-css: #7BD1E6;
	--color-code-edge-js: #FFC233;
	--color-code-edge-html: #B0651E;
	--color-code-edge-shell: #D6A86A;
	--color-code-edge-neutral: var(--color-border);
	--color-highlight-line: light-dark(color-mix(in oklab, var(--color-accent-secondary) 3%, var(--color-code-surface)), color-mix(in oklab, var(--color-accent-secondary) 6%, var(--color-code-surface)));
	--thin-border-width: 1px;
	--target-min: 44px;
	--sans-font: var(--norn-font-body, system-ui, sans-serif);
	--mono-font: var(--norn-font-mono, ui-monospace, monospace);
	--font-weight--semi-bold: 600;
}
/* ---- Code blocks ----
   A fenced sample (lib/markdown.js): a bar in the language's color inside the
   top border, a title bar (language, then file name, then the copy button
   added by /js/copy.js), and the lines. Line numbers are CSS counters, so
   selecting or copying never takes them. */
.code-block {
	--code-edge: var(--color-code-edge-neutral);
	--code-line-height: 1.2;

	position: relative;
	margin-block: 0 1rem;
	margin-inline: 0;
	max-inline-size: 100%;
	border: var(--thin-border-width) solid var(--color-border);
	border-radius: 3px;
	background-color: var(--color-code-surface);
	color: var(--color-code-text);
	overflow: hidden;

	&::before {
		content: "";
		display: block;
		block-size: 4px;
		background-color: var(--code-edge);
	}

	&[data-edge="css"] { --code-edge: var(--color-code-edge-css); }
	&[data-edge="js"] { --code-edge: var(--color-code-edge-js); }
	&[data-edge="html"] { --code-edge: var(--color-code-edge-html); }
	&[data-edge="shell"] { --code-edge: var(--color-code-edge-shell); }

	.code-block-head {
		display: flex;
		align-items: center;
		gap: 0.75em;
		min-block-size: var(--target-min);
		padding-inline: 1rem 3.25rem;
		border-block-end: var(--thin-border-width) solid var(--color-border);
		font-size: 0.875rem;
		max-inline-size: none;
	}

	.code-block-lang {
		font-family: var(--sans-font);
		font-weight: var(--font-weight--semi-bold);
		color: var(--color-text);
	}

	.code-block-file {
		font-family: var(--mono-font);
		color: var(--color-text-muted);
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.code-copy {
		position: absolute;
		inset-block-start: 4px;
		inset-inline-end: 0;
		display: grid;
		place-items: center;
		inline-size: var(--target-min);
		block-size: var(--target-min);
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: none;
		color: var(--color-code-keyword);
		cursor: pointer;

		svg { inline-size: 1.2em; block-size: 1.2em; }

		@media print { display: none; }
	}

	pre,
	code {
		line-height: var(--code-line-height);
	}

	/* The block sets its own padding and scrolling: a page whose reset clears
	   the base `pre` rule (the kit's own landing page) still gets them. */
	pre {
		margin: 0;
		border: 0;
		border-radius: 0;
		background: none;
		padding-block: 0.75rem;
		padding-inline: 0;
		overflow-x: auto;
	}

	code {
		display: block;
		min-inline-size: max-content;
		counter-reset: line;
	}

	br { display: none; }

	/* The text starts where the title bar's label does (1rem in from the border, the 3px edge counted), numbered or not. */
	.highlight-line {
		display: block;
		padding-inline: calc(1rem - 3px) 1rem;
		border-inline-start: 3px solid transparent;
	}

	/* The number column is as wide as the last line's number (`--line-digits`, set by lib/markdown.js), so the
	   numbers start at the same edge as an unnumbered block's text and the gap after them is the same on every line. */
	&[data-line-numbers] .highlight-line::before {
		counter-increment: line;
		content: counter(line);
		display: inline-block;
		inline-size: calc(var(--line-digits, 2) * 1ch);
		margin-inline: 0 1rem;
		text-align: end;
		color: var(--color-code-comment);
		user-select: none;
	}

	/* The 3px start edge carries the signal; the wash stays faint enough for every token to keep 7:1. */
	.highlight-line-active {
		background: var(--color-highlight-line);
		border-inline-start: 3px solid var(--color-accent-secondary);
	}

	.token:is(.keyword, .atrule, .rule, .important, .selector) { color: var(--color-code-keyword); }
	.token:is(.string, .attr-value, .char, .regex, .url) { color: var(--color-code-string); }
	.token:is(.function, .class-name, .tag, .property, .attr-name, .builtin) { color: var(--color-code-function); }
	.token:is(.number, .boolean, .constant, .unit) { color: var(--color-code-number); }
	.token:is(.comment, .prolog, .doctype) { color: var(--color-code-comment); font-style: italic; }
}
/*
 * The Allons-y Studio brand as Norn tokens, in the norn.oss layer: the OSS site plugin adds it to every page's bundle.
 * It sets only shared tokens from tokens.json; css/brand.css styles the components. A project's own unlayered tokens.css still wins over it.
 */
@layer norn.oss {
	:root {
		/* PT Mono, Allons-y Studio's locked monospace, which oss-head declares. */
		--norn-font-mono: "PT Mono", "PT Mono Fallback", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	}
}
/*
 * The Allons-y Studio brand on the Norn components, in the norn.oss layer: the OSS site plugin adds it to every page's bundle, after the brand tokens.
 * Each rule starts at a component's tag and reaches its markup by a child path. A project's own unlayered CSS still wins over it.
 */
@layer norn.oss {
	/* The four-color strip along the header bar. */
	norn-header > header {
		position: relative;

		&::after {
			content: "";
			position: absolute;
			inset: auto 0 0;
			block-size: 3px;
			background: linear-gradient(90deg, #d22d6f 0 25%, #ff944d 25% 50%, #ffd36b 50% 75%, #1f91ad 75%);
		}
	}

	/* The project name leads the footer: the lead column's first strong, in the accent color and the mono face. */
	norn-footer > footer > div:first-child > :first-child strong:first-of-type {
		color: var(--norn-text-accent, light-dark(oklch(from color-mix(in oklch, var(--norn-ui-accent, #2346d4) 82%, black) min(l, 0.5) c h), oklch(from color-mix(in oklch, var(--norn-ui-accent, #2346d4) 55%, white) max(l, 0.72) c h)));
		font-family: var(--norn-font-mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace);
		font-size: 1.2rem;
	}
}
/*
 * Base styles for the page, in the norn.base layer: color-scheme and base typography.
 * It defines no design tokens: every component carries each shared token as the fallback of its custom property, compiled from `tokens.json`.
 * Adds one utility class, `.visually-hidden`: text that is read but not shown, and shows while it or a child has focus.
 */
@layer norn.base {
	:root {
		color-scheme: light dark;
	}

	@media (prefers-reduced-motion: no-preference) {
		html {
			scroll-behavior: smooth;
		}
	}

	body {
		min-block-size: 100dvh;
		margin: 0;
		background: var(--norn-surface-base, light-dark(#ffffff, #101216));
		color: var(--norn-text-base, light-dark(#16181d, #eceef3));
		font-family: var(--norn-font-body, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);
		font-size: var(--norn-font-size-m, 1rem);
		line-height: 1.5;
	}

	h1,
	h2,
	h3,
	h4,
	h5,
	h6 {
		font-family: var(--norn-font-heading, var(--norn-font-body, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif));
		line-height: 1.15;
		text-wrap: balance;
	}

	p,
	li {
		text-wrap: pretty;
	}

	a {
		color: var(--norn-text-accent, light-dark(oklch(from color-mix(in oklch, var(--norn-ui-accent, #2346d4) 82%, black) min(l, 0.5) c h), oklch(from color-mix(in oklch, var(--norn-ui-accent, #2346d4) 55%, white) max(l, 0.72) c h)));
		text-decoration: underline dotted;
		text-decoration-color: currentcolor;
		text-decoration-thickness: 1px;
		text-underline-offset: 0.2em;
		overflow-wrap: break-word;

		&:is(:hover, :focus-visible) {
			text-decoration-style: solid;
		}
	}

	/* The one focus ring. A component that the ring would clip draws it inset, at the negative of the offset. */
	:focus-visible {
		outline: var(--norn-ui-focus-width, 2px) solid var(--norn-text-accent, light-dark(oklch(from color-mix(in oklch, var(--norn-ui-accent, #2346d4) 82%, black) min(l, 0.5) c h), oklch(from color-mix(in oklch, var(--norn-ui-accent, #2346d4) 55%, white) max(l, 0.72) c h)));
		outline-offset: var(--norn-ui-focus-offset, 2px);
	}

	main:focus {
		outline: none;
	}

	/* Off screen but still read. Shows while it, or a child, has focus. */
	.visually-hidden:not(:focus-within, :active) {
		position: absolute;
		inline-size: 1px;
		block-size: 1px;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}
}
/* Print rules for the page, in the norn.print layer. Each component keeps its own in its `@media print` block. */
@layer norn.print {
	@media print {
		html {
			font-size: 12px;
		}
	}
}
@layer norn.layout {
				/* A section directly in main is a centered column at the page width, its heading the second level. A section anywhere else is left alone. The :where() keeps the rule easy for a project to override. */
				:where(main) > section {
					display: grid;
					grid-template-columns: minmax(0, 1fr);
					align-content: start;
					gap: var(--norn-space-m, 1.25rem);
					inline-size: min(100% - 2 * var(--norn-space-m, 1.25rem), var(--norn-layout-width, 64rem));
					margin-inline: auto;
					padding-block: var(--norn-space-l, 2rem);
					scroll-margin-block-start: var(--norn-space-m, 1.25rem);
				}

				:where(main) > section > h2,
				:where(main) > section > norn-heading-anchor > h2 {
					margin: 0;
					font-family: var(--norn-font-heading, var(--norn-font-body, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif));
					font-size: var(--norn-font-size-xl, 1.5rem);
					line-height: 1.15;
					text-wrap: balance;
				}

				@media print {
					:where(main) > section {
						gap: var(--norn-space-s, 0.75rem);
						padding-block: var(--norn-space-m, 1.25rem);
					}
				}

				/* The page title and the body's line length in a page with a navigation column, for norn-docs and norn-workspace. The base styles set the title's face and wrapping. */
				norn-sidebar-layout {
					& > div > article > h1 {
						margin: 0;
						font-size: clamp(1.9rem, 4vw, 2.5rem);
						overflow-wrap: anywhere;
					}

					/* Prose holds to the measure, and code, tables, and callouts take the width. */
					& > div > article > norn-rich-text > :is(p, ul, ol, blockquote, h2, h3, h4, h5, h6, norn-heading-anchor) {
						max-inline-size: var(--norn-text-measure, 40em);
					}
				}

				/* The space above the footer is the page's, not the footer's. */
				norn-footer {
					margin-block-start: var(--norn-space-xl, 4rem);

					& [data-badges] {
						display: flex;
						flex-wrap: wrap;
						gap: var(--norn-space-xs, 0.5rem);
					}

					& [data-badges] img {
						display: block;
						inline-size: auto;
						block-size: 20px;
					}
				}
			}