/* ===========================================================================
 * theme.css - reset, elements, layout, components.
 *
 * Reads tokens.css. Sets no raw value of its own: every colour, size and
 * duration below is a var(). If you find yourself typing a hex code here,
 * the token is missing, not the rule.
 *
 * Specificity convention: one class per rule. No element qualifiers on
 * components (.entry__title, never h2.entry__title), no ids, no !important
 * except where a utility genuinely must win. That keeps this file, WordPress
 * global styles and plugin CSS from cancelling each other out.
 *
 * Order: reset -> elements -> layout -> components -> utilities.
 * ======================================================================== */

/* ---------------------------------------------------------------------------
 * 1. Reset
 * ------------------------------------------------------------------------ */

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	/* Anchored sections must not land under the sticky masthead. */
	scroll-padding-top: 6rem;
}

body {
	margin: 0;
	background-color: var(--bg-primary);
	color: var(--text-primary);
	font-family: var(--font-text);
	font-size: var(--t-base);
	line-height: var(--lh-body);
	font-weight: var(--weight-text);
	letter-spacing: var(--track-body);
	font-variation-settings: "wdth" var(--wdth-text);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
	margin: 0;
}

ul,
ol {
	margin: 0;
	padding: 0;
}

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

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

button {
	cursor: pointer;
}

table {
	border-collapse: collapse;
	width: 100%;
}

hr {
	border: 0;
	border-top: 1px solid var(--border);
	margin: var(--space-7) 0;
}

/* ---------------------------------------------------------------------------
 * 2. Elements
 * ------------------------------------------------------------------------ */

a {
	color: var(--link);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover {
	text-decoration-thickness: 2px;
}

:focus-visible {
	outline: 2px solid var(--focus);
	outline-offset: 3px;
	border-radius: 2px;
}

::selection {
	background-color: var(--primary);
	color: var(--primary-fg);
}

code,
kbd,
samp,
pre {
	font-family: ui-monospace, "SFMono-Regular", "Cascadia Mono", "Roboto Mono", monospace;
	font-size: 0.9em;
}

/* ---------------------------------------------------------------------------
 * 3. Layout primitives
 * ------------------------------------------------------------------------ */

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

.shell--wide {
	max-width: var(--w-wide);
}

.section {
	padding-block: var(--section-y);
	background-color: var(--bg-primary);
	color: var(--text-primary);
}

/* Rule 2: the one gradient recipe, and it is lighting, not fill.
 * Two large low-opacity radial washes over the ink ground. Hero and closing
 * call to action only - never a card, never a button, never a border. */
.section--wash {
	position: relative;
	isolation: isolate;
	background-image: var(--wash-cool), var(--wash-warm);
	background-repeat: no-repeat;
}

.section__head {
	max-width: 46ch;
	margin-bottom: var(--space-7);
}

.section__title {
	font-family: var(--font-display);
	font-size: var(--t-xl);
	font-weight: var(--weight-display);
	line-height: var(--lh-title);
	letter-spacing: var(--track-title);
	font-variation-settings: "wdth" var(--wdth-display);
	text-wrap: balance;
}

.section__lede {
	margin-top: var(--space-4);
	color: var(--text-secondary);
	font-size: var(--t-md);
	line-height: var(--lh-tight);
	max-width: 52ch;
}

.site-main {
	display: block;
}

.site-main:focus {
	outline: none;
}

/* ---------------------------------------------------------------------------
 * 4. Prose - long-form content from the editor
 * ------------------------------------------------------------------------ */

.prose {
	max-width: var(--w-prose);
}

.prose > * + * {
	margin-top: var(--space-5);
}

.prose h2,
.prose h3,
.prose h4 {
	font-family: var(--font-display);
	font-weight: var(--weight-strong);
	line-height: var(--lh-title);
	letter-spacing: var(--track-title);
	font-variation-settings: "wdth" var(--wdth-display);
	margin-top: var(--space-8);
	text-wrap: balance;
}

.prose h2 {
	font-size: var(--t-lg);
}

.prose h3 {
	font-size: var(--t-md);
}

.prose h4 {
	font-size: var(--t-base);
}

.prose ul,
.prose ol {
	padding-left: var(--space-5);
}

.prose li + li {
	margin-top: var(--space-2);
}

.prose blockquote {
	border-left: 2px solid var(--primary);
	padding-left: var(--space-5);
	color: var(--text-secondary);
	font-size: var(--t-md);
	line-height: var(--lh-tight);
}

.prose pre {
	background-color: var(--bg-secondary);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	padding: var(--space-4);
	overflow-x: auto;
}

.prose figure {
	margin-inline: 0;
}

.prose figcaption {
	margin-top: var(--space-3);
	color: var(--text-secondary);
	font-size: var(--t-sm);
}

/* ---------------------------------------------------------------------------
 * 5. Buttons
 * ------------------------------------------------------------------------ */

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-2);
	padding: 0.72em 1.35em;
	border: 1px solid transparent;
	border-radius: var(--radius-sm);
	font-family: var(--font-text);
	font-size: var(--t-sm);
	font-weight: var(--weight-strong);
	line-height: 1.2;
	letter-spacing: 0.005em;
	text-decoration: none;
	white-space: nowrap;
	transition:
		background-color var(--dur-fast) var(--ease-out),
		border-color var(--dur-fast) var(--ease-out),
		color var(--dur-fast) var(--ease-out);
}

.button--primary {
	background-color: var(--text-primary);
	color: var(--bg-primary);
}

.button--primary:hover {
	background-color: var(--text-secondary);
	color: var(--bg-primary);
}

/* Rule 3: the one glow on the site, and it lives here. */
.button--accent {
	background-color: var(--primary);
	color: var(--primary-fg);
	box-shadow: var(--glow-primary);
}

.button--accent:hover {
	background-color: var(--c-cyan-400);
	color: var(--c-ink-900);
}

.button--outline {
	border-color: var(--border-strong);
	color: var(--text-primary);
	background-color: transparent;
}

.button--outline:hover {
	border-color: var(--text-primary);
	background-color: var(--surface);
}

.button--ghost {
	color: var(--text-primary);
	background-color: transparent;
	border-color: transparent;
	text-decoration: underline;
	text-decoration-color: var(--border-strong);
	text-underline-offset: 0.3em;
}

.button--ghost:hover {
	text-decoration-color: var(--text-primary);
}

.button--sm {
	padding: 0.55em 1em;
	font-size: var(--t-xs);
}

.button--lg {
	padding: 0.9em 1.8em;
	font-size: var(--t-base);
}

.button--block {
	display: flex;
	width: 100%;
}

/* ---------------------------------------------------------------------------
 * 6. Badges and indicators
 * ------------------------------------------------------------------------ */

.badge {
	display: inline-block;
	padding: 0.15em 0.45em;
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-sm);
	font-size: 0.68em;
	font-weight: var(--weight-strong);
	line-height: 1.4;
	letter-spacing: 0.04em;
	color: var(--text-secondary);
	vertical-align: 0.15em;
}

/* The one place --live is allowed to appear. */
.dot {
	display: inline-block;
	width: 0.5em;
	height: 0.5em;
	border-radius: var(--radius-pill);
	background-color: var(--live);
	flex: none;
}

/* ---------------------------------------------------------------------------
 * 7. Masthead and navigation
 * ------------------------------------------------------------------------ */

.masthead {
	position: sticky;
	top: 0;
	z-index: var(--z-nav);
	background-color: var(--bg-primary);
	border-bottom: 1px solid var(--border);
}

.masthead__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-5);
	min-height: 4.25rem;
}

.branding {
	display: flex;
	align-items: center;
}

.branding__name {
	font-family: var(--font-display);
	font-size: var(--t-base);
	font-weight: var(--weight-display);
	letter-spacing: -0.015em;
	font-variation-settings: "wdth" var(--wdth-display);
}

.branding__link {
	color: var(--text-primary);
	text-decoration: none;
}

.custom-logo-link {
	display: block;
}

.nav {
	display: flex;
	align-items: center;
	gap: var(--space-5);
}

.nav__list {
	display: flex;
	align-items: center;
	gap: var(--space-1);
	list-style: none;
}

.nav__list .menu-item {
	position: relative;
}

.nav__list a {
	display: inline-block;
	padding: var(--space-2) var(--space-3);
	color: var(--text-primary);
	font-size: var(--t-sm);
	font-weight: var(--weight-medium);
	text-decoration: none;
	border-radius: var(--radius-sm);
}

.nav__list a:hover {
	color: var(--primary-text);
}

.nav__list .current-menu-item > a {
	color: var(--primary-text);
}

.nav__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height: 1.75rem;
	padding: 0;
	border: 0;
	background: none;
	border-radius: var(--radius-sm);
	color: var(--text-secondary);
	vertical-align: middle;
}

.nav__chevron {
	width: 0.45rem;
	height: 0.45rem;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-15%) rotate(45deg);
	transition: transform var(--dur-fast) var(--ease-out);
}

.nav__toggle[aria-expanded="true"] .nav__chevron {
	transform: translateY(15%) rotate(-135deg);
}

.nav__submenu {
	list-style: none;
	margin: 0;
	padding: var(--space-2);
	background-color: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	min-width: 13rem;
}

.nav__submenu a {
	display: block;
	white-space: nowrap;
}

.nav__actions {
	display: flex;
	align-items: center;
	gap: var(--space-3);
}

.nav__burger {
	display: none;
	width: 2.5rem;
	height: 2.5rem;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background-color: transparent;
	color: var(--text-primary);
}

.nav__burger-bars,
.nav__burger-bars::before,
.nav__burger-bars::after {
	display: block;
	width: 1.05rem;
	height: 1.5px;
	background-color: currentColor;
	transition: transform var(--dur) var(--ease-out), opacity var(--dur-fast) linear;
}

.nav__burger-bars::before,
.nav__burger-bars::after {
	content: "";
	position: absolute;
}

.nav__burger-bars::before {
	transform: translateY(-0.33rem);
}

.nav__burger-bars::after {
	transform: translateY(0.33rem);
}

.nav__burger[aria-expanded="true"] .nav__burger-bars {
	background-color: transparent;
}

.nav__burger[aria-expanded="true"] .nav__burger-bars::before {
	transform: rotate(45deg);
}

.nav__burger[aria-expanded="true"] .nav__burger-bars::after {
	transform: rotate(-45deg);
}

/* --- desktop ------------------------------------------------------------- */
@media (min-width: 62em) {
	.nav__submenu {
		position: absolute;
		top: calc(100% + var(--space-2));
		left: 0;
		z-index: var(--z-nav);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-0.25rem);
		transition:
			opacity var(--dur-fast) var(--ease-out),
			transform var(--dur-fast) var(--ease-out),
			visibility 0s linear var(--dur-fast);
	}

	.menu-item-has-children:focus-within > .nav__submenu,
	.nav__toggle[aria-expanded="true"] + .nav__submenu {
		opacity: 1;
		visibility: visible;
		transform: none;
		transition-delay: 0s;
	}
}

@media (hover: hover) and (min-width: 62em) {
	.menu-item-has-children:hover > .nav__submenu {
		opacity: 1;
		visibility: visible;
		transform: none;
		transition-delay: 0s;
	}
}

/* --- mobile -------------------------------------------------------------
 * The drawer only collapses where scripting is available to re-open it.
 * In a browser without (scripting:) support the menu simply stacks and
 * stays visible, which is degraded but never trapped.
 * ---------------------------------------------------------------------- */
@media (max-width: 61.99em) {
	.nav {
		flex-direction: column;
		align-items: stretch;
		gap: var(--space-4);
	}

	.nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.nav__list a {
		padding: var(--space-3) 0;
		font-size: var(--t-md);
	}

	.nav__list .menu-item + .menu-item {
		border-top: 1px solid var(--border);
	}

	.menu-item-has-children {
		display: grid;
		grid-template-columns: 1fr auto;
		align-items: center;
	}

	.nav__submenu {
		grid-column: 1 / -1;
		border: 0;
		border-radius: 0;
		background: none;
		padding: 0 0 var(--space-3) var(--space-4);
	}

	.nav__toggle[aria-expanded="false"] + .nav__submenu {
		display: none;
	}

	.nav__actions {
		padding-top: var(--space-2);
	}
}

@media (max-width: 61.99em) and (scripting: enabled) {
	.nav__burger {
		display: inline-flex;
		position: relative;
	}

	.nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		z-index: var(--z-nav);
		padding: var(--space-4) var(--gutter) var(--space-6);
		background-color: var(--bg-primary);
		border-bottom: 1px solid var(--border);
		max-height: calc(100dvh - 4.25rem);
		overflow-y: auto;
		visibility: hidden;
		opacity: 0;
		transform: translateY(-0.5rem);
		transition:
			opacity var(--dur) var(--ease-out),
			transform var(--dur) var(--ease-out),
			visibility 0s linear var(--dur);
	}

	.masthead.is-nav-open .nav {
		visibility: visible;
		opacity: 1;
		transform: none;
		transition-delay: 0s;
	}
}

/* ---------------------------------------------------------------------------
 * 8. Footer
 * ------------------------------------------------------------------------ */

.site-footer {
	background-color: var(--bg-secondary);
	border-top: 1px solid var(--border);
	padding-block: var(--space-8) var(--space-6);
	margin-top: var(--space-9);
}

/* Documents and landing pages end on their own padded surface; the margin
 * there showed as a band of body colour between that surface and the footer. */
.is-document .site-footer,
.is-landing .site-footer {
	margin-top: 0;
}

.site-footer__top {
	display: grid;
	gap: var(--space-7);
	padding-bottom: var(--space-7);
	border-bottom: 1px solid var(--border);
}

.site-footer__tagline {
	margin-top: var(--space-3);
	color: var(--text-secondary);
	font-size: var(--t-sm);
	max-width: 36ch;
}

.footer-menu,
.legal-menu {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3) var(--space-5);
}

.footer-menu {
	flex-direction: column;
	gap: var(--space-2);
}

.footer-menu a,
.legal-menu a {
	color: var(--text-secondary);
	font-size: var(--t-sm);
	text-decoration: none;
}

.footer-menu a:hover,
.legal-menu a:hover {
	color: var(--text-primary);
	text-decoration: underline;
}

.site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-4);
	padding-top: var(--space-5);
}

.site-footer__copyright {
	color: var(--text-secondary);
	font-size: var(--t-sm);
}

/* WordPress ships block widgets, whose headings carry their own markup and
 * never receive .widget__title. Without this they land in the footer at
 * article size, in the wrong family, and wreck the column. Styling the
 * container means an editor can drop any block in without breaking it. */
.site-footer__widgets :is(h1, h2, h3, h4, h5, h6) {
	font-family: var(--font-display);
	font-size: var(--t-sm);
	font-weight: var(--weight-strong);
	margin-bottom: var(--space-3);
}

.site-footer__widgets ul {
	list-style: none;
	display: grid;
	gap: var(--space-2);
}

.site-footer__widgets a {
	color: var(--text-secondary);
	font-size: var(--t-sm);
	text-decoration: none;
}

.site-footer__widgets a:hover {
	color: var(--text-primary);
	text-decoration: underline;
}

.widget__title {
	font-size: var(--t-sm);
	font-weight: var(--weight-strong);
	margin-bottom: var(--space-3);
}

@media (min-width: 48em) {
	/* Two columns by default. The third is reserved only when the widget area
	   actually holds something - a declared column that nothing fills reads as
	   a hole, not as breathing room. */
	.site-footer__top {
		grid-template-columns: 1.4fr 1fr;
		gap: var(--space-6);
	}

	.site-footer__top--with-widgets {
		grid-template-columns: 1.4fr 1fr 1fr;
	}

	/* Seven links in a single file build a tower beside the wordmark. Two short
	   columns sit level with the brand block instead. */
	.footer-menu {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: var(--space-2) var(--space-5);
	}
}

/* ---------------------------------------------------------------------------
 * 9. Page heads, entries, listings
 * ------------------------------------------------------------------------ */

.page-head {
	padding-block: var(--space-8) var(--space-7);
	border-bottom: 1px solid var(--border);
	margin-bottom: var(--space-7);
}

.page-head__title {
	font-family: var(--font-display);
	font-size: var(--t-xl);
	font-weight: var(--weight-display);
	line-height: var(--lh-title);
	letter-spacing: var(--track-title);
	font-variation-settings: "wdth" var(--wdth-display);
	text-wrap: balance;
}

.page-head__intro,
.page-head__count {
	margin-top: var(--space-4);
	color: var(--text-secondary);
}

.entry-grid {
	display: grid;
	gap: var(--space-6);
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
}

.entry--card {
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
}

.entry__media {
	display: block;
	overflow: hidden;
	border-radius: var(--radius-md);
	background-color: var(--bg-secondary);
	aspect-ratio: 3 / 2;
}

.entry__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.entry__title {
	font-family: var(--font-display);
	font-size: var(--t-md);
	font-weight: var(--weight-strong);
	line-height: var(--lh-title);
	letter-spacing: var(--track-title);
	font-variation-settings: "wdth" var(--wdth-display);
	text-wrap: balance;
}

.entry__link {
	color: var(--text-primary);
	text-decoration: none;
}

.entry__link:hover {
	text-decoration: underline;
	text-decoration-color: var(--primary);
	text-decoration-thickness: 2px;
}

.entry__meta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
	margin-top: var(--space-2);
	color: var(--text-secondary);
	font-size: var(--t-xs);
	font-variant-numeric: tabular-nums;
}

.entry__excerpt {
	margin-top: var(--space-3);
	color: var(--text-secondary);
	font-size: var(--t-sm);
}

/* --- long-form document -------------------------------------------------- */

.entry--document {
	padding-block: var(--space-8) var(--space-9);
}

.entry__title--document {
	font-size: var(--t-2xl);
	font-family: var(--font-display);
	font-weight: var(--weight-display);
	line-height: var(--lh-title);
	letter-spacing: var(--track-title);
	font-variation-settings: "wdth" var(--wdth-display);
	max-width: 20ch;
	text-wrap: balance;
}

.entry__header {
	margin-bottom: var(--space-7);
}

.entry__feature {
	margin-bottom: var(--space-8);
}

.entry__feature .entry__image {
	border-radius: var(--radius-md);
}

.entry__caption {
	margin-top: var(--space-3);
	color: var(--text-secondary);
	font-size: var(--t-sm);
}

.entry__footer {
	margin-top: var(--space-8);
	padding-top: var(--space-6);
	border-top: 1px solid var(--border);
	display: grid;
	gap: var(--space-6);
}

.entry__tags-title {
	font-size: var(--t-xs);
	font-weight: var(--weight-strong);
	color: var(--text-secondary);
	margin-bottom: var(--space-2);
}

.post-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: var(--space-4);
}

.pagination {
	margin-top: var(--space-8);
	padding-top: var(--space-6);
	border-top: 1px solid var(--border);
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	align-items: center;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.25rem;
	height: 2.25rem;
	padding-inline: var(--space-2);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	color: var(--text-primary);
	text-decoration: none;
	font-size: var(--t-sm);
	font-variant-numeric: tabular-nums;
}

.pagination .page-numbers.current {
	background-color: var(--text-primary);
	border-color: var(--text-primary);
	color: var(--bg-primary);
}

/* ---------------------------------------------------------------------------
 * 10. Forms
 * ------------------------------------------------------------------------ */

.search-form__label {
	display: block;
	font-size: var(--t-xs);
	font-weight: var(--weight-strong);
	color: var(--text-secondary);
	margin-bottom: var(--space-2);
}

.search-form__row {
	display: flex;
	gap: var(--space-2);
	flex-wrap: wrap;
}

.search-form__input,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	flex: 1 1 14rem;
	min-width: 0;
	padding: 0.7em 0.85em;
	background-color: var(--surface);
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-sm);
	color: var(--text-primary);
	font-size: var(--t-sm);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	display: block;
	width: 100%;
}

.comment-form label {
	display: block;
	font-size: var(--t-xs);
	font-weight: var(--weight-strong);
	color: var(--text-secondary);
	margin-bottom: var(--space-2);
}

.comment-form p {
	margin-bottom: var(--space-4);
}

.comment-form .submit {
	display: inline-flex;
	align-items: center;
	padding: 0.72em 1.35em;
	border: 1px solid transparent;
	border-radius: var(--radius-sm);
	background-color: var(--text-primary);
	color: var(--bg-primary);
	font-size: var(--t-sm);
	font-weight: var(--weight-strong);
}

/* ---------------------------------------------------------------------------
 * 11. Comments
 * ------------------------------------------------------------------------ */

.comments {
	padding-block: var(--space-8);
	border-top: 1px solid var(--border);
	max-width: var(--w-prose);
}

.comments__title,
.comments__form-title {
	font-family: var(--font-display);
	font-size: var(--t-lg);
	font-weight: var(--weight-strong);
	letter-spacing: var(--track-title);
	margin-bottom: var(--space-6);
}

.comments__list {
	list-style: none;
	display: grid;
	gap: var(--space-6);
	margin-bottom: var(--space-8);
}

.comments__list .children {
	list-style: none;
	padding-left: var(--space-5);
	margin-top: var(--space-5);
	border-left: 1px solid var(--border);
	display: grid;
	gap: var(--space-5);
}

.comments__closed {
	color: var(--text-secondary);
	font-size: var(--t-sm);
}

/* ---------------------------------------------------------------------------
 * 12. Notice page (404)
 * ------------------------------------------------------------------------ */

.notice-page {
	padding-block: var(--space-10);
	max-width: 48ch;
}

.notice-page__code {
	font-family: var(--font-display);
	font-size: var(--t-3xl);
	font-weight: var(--weight-display);
	line-height: 1;
	letter-spacing: -0.04em;
	font-variation-settings: "wdth" 125;
	color: var(--border-strong);
	font-variant-numeric: tabular-nums;
}

.notice-page__title {
	margin-top: var(--space-5);
	font-family: var(--font-display);
	font-size: var(--t-xl);
	font-weight: var(--weight-display);
	line-height: var(--lh-title);
	letter-spacing: var(--track-title);
	font-variation-settings: "wdth" var(--wdth-display);
}

.notice-page__body {
	margin-top: var(--space-4);
	color: var(--text-secondary);
}

.notice-page__search {
	margin-top: var(--space-6);
}

.notice-page__actions {
	margin-top: var(--space-6);
}

.entry-none {
	padding-block: var(--space-8);
	max-width: 48ch;
}

.entry-none__title {
	font-family: var(--font-display);
	font-size: var(--t-lg);
	font-weight: var(--weight-strong);
}

.entry-none__body {
	margin-top: var(--space-3);
	color: var(--text-secondary);
}

/* ---------------------------------------------------------------------------
 * 13. Utilities
 * ------------------------------------------------------------------------ */

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

.skip-link {
	position: absolute;
	top: var(--space-2);
	left: var(--space-2);
	z-index: var(--z-skip);
	padding: var(--space-3) var(--space-4);
	background-color: var(--text-primary);
	color: var(--bg-primary);
	border-radius: var(--radius-sm);
	font-size: var(--t-sm);
	font-weight: var(--weight-strong);
	text-decoration: none;
	transform: translateY(-200%);
	transition: transform var(--dur-fast) var(--ease-out);
}

.skip-link:focus {
	transform: none;
}

.alignwide {
	max-width: var(--w-wide);
	margin-inline: auto;
}

.alignfull {
	max-width: none;
}

.aligncenter {
	margin-inline: auto;
}

/* ---------------------------------------------------------------------------
 * 14. Reduced motion
 *
 * Transitions that only confirm a state change are kept but shortened;
 * anything that moves on its own is stopped outright. See front-page.css
 * for the guide playhead, which freezes rather than sweeps.
 * ------------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* ---------------------------------------------------------------------------
 * 15. Icons
 *
 * One inline SVG sprite, 24px grid, 1.5px stroke, round caps, currentColor.
 * No icon font and no external library: an icon font ships a whole alphabet
 * to draw twelve shapes, and blocks first paint while it loads.
 *
 * Rule: an icon appears only where there is no short word for the thing.
 * Never decorative, never alone without an accessible name nearby.
 * ------------------------------------------------------------------------ */

.icon {
	display: inline-block;
	width: 1.5rem;
	height: 1.5rem;
	flex: none;
	color: currentColor;
	vertical-align: middle;
}

.icon--sm {
	width: 1.125rem;
	height: 1.125rem;
}

.icon-sprite {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}

/* ---------------------------------------------------------------------------
 * 16. Eyebrow
 *
 * Sentence case, not tracked-out capitals. It names the section for a reader
 * skimming the page, and it is the section heading's accessible sibling -
 * never a decorative label bolted above every heading.
 * ------------------------------------------------------------------------ */

.eyebrow {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	margin-bottom: var(--space-3);
	color: var(--primary-text);
	font-size: var(--t-xs);
	font-weight: var(--weight-strong);
}

.eyebrow::before {
	content: "";
	width: 1.5rem;
	height: 1px;
	background-color: currentColor;
	flex: none;
}
