/* robz-child — element library and supplemental CSS.
   ------------------------------------------------------------------------
   The design system (palette, type scale, spacing, radius, duration) lives in
   theme.json. This file builds the element library on top of those tokens: the
   things theme.json genuinely can't express — states (:hover/:active/:focus/
   :disabled), form controls, table rules, empty states, and motion.

   Rules of the road:
   - Never hard-code a colour, size, radius or duration. Everything reads from
     a --wp--preset--* or --wp--custom--* token so there is one place to change.
   - Elevation is expressed with 1px hairlines and space. There are no shadows
     in this design; don't add one.
   - Type is nine roles (§ Type roles): size, weight, line-height, tracking and
     case are set there and only there. Component rules below set colour,
     spacing and layout.
   ======================================================================== */

/* ── Foundations ─────────────────────────────────────────────────────────── */

/* Motion. Every colour/border/background change in the library animates on the
   same short curve so nothing snaps, and nothing is slow enough to feel laggy.
   The reduced-motion block at the bottom of this file switches it all off. */
:where(a, button, input, textarea, select, .wp-block-button__link, .wp-block-navigation-item__content, .wp-block-social-link, tbody tr) {
	transition:
		color var(--wp--custom--duration--fast) var(--wp--custom--easing),
		background-color var(--wp--custom--duration--fast) var(--wp--custom--easing),
		border-color var(--wp--custom--duration--fast) var(--wp--custom--easing),
		text-decoration-color var(--wp--custom--duration--fast) var(--wp--custom--easing),
		opacity var(--wp--custom--duration--fast) var(--wp--custom--easing);
}

::selection {
	background-color: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--base);
}

/* Never break a heading mid-word; let the hero "Rob Zimmerman" wrap cleanly
   instead of "ZIMMERMA / N" on small screens. */
h1,
h2,
.wp-block-heading,
.wp-block-site-title {
	overflow-wrap: normal;
	word-break: normal;
	hyphens: manual;
	text-wrap: balance;
}
/* ^ .wp-block-site-title is here because it renders at level 0 — a <p> — so
   no heading selector reaches it; it needs the same whole-word, balanced
   wrapping as the hero it sits above. */

/* Vertical rhythm. blockGap spaces every sibling equally, so a heading sat as
   far from the section it opens as from the paragraph it follows — nothing
   grouped. Headings take more space above than below, which is what makes a
   page read as sections rather than an undifferentiated stack. */
.wp-block-post-content > h2,
.wp-block-post-content > h3 {
	margin-block-start: var(--wp--preset--spacing--medium);
}

.wp-block-post-content > h4,
.wp-block-post-content > h5,
.wp-block-post-content > h6 {
	margin-block-start: var(--wp--preset--spacing--small-medium);
}

/* Page frame. Short pages (Contact) used to end with the dark footer band
   floating mid-viewport over raw white — broken-looking between two ink
   surfaces. The site column becomes a flex column at viewport height and the
   footer pins to the bottom, arriving early only when content runs long. */
html {
	height: 100%;
}

body {
	min-height: 100%;
}

body > .wp-site-blocks {
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
}

.wp-site-blocks > main {
	flex: 1 0 auto;
}

/* Hold prose to a comfortable measure. contentSize (720px) is the column; at
   17px that ran 85–95 characters, well past the readable range.

   ...and keep it flush left. Core's constrained layout sets
   `margin-left/right: auto !important` on every direct child, so the moment a
   child is capped narrower than the column it stops being left-aligned and
   floats to the centre of it. That put four different left edges on every
   page — h1, h2 and the row lists flush at 0; body copy at 48px; the lede at
   79px; Home's kicker at 140px — with each block of prose hanging off-centre
   under a heading and a hairline that stayed put. The !important is the only
   thing that beats core's own, and is deliberate in the same way as the other
   core overrides in this file. */
.wp-block-post-content > :where(p, ul, ol, blockquote, h2, h3, h4, h5, h6),
.wp-block-term-description {
	max-width: var(--wp--custom--width--reading);
	margin-inline: 0 !important;
}

/* The lede caps narrower than the measure, and it appears as a direct child of
   `main` on templates (the 404) where the post-content flush-left rule above
   can't reach — so it carries its own margin-inline, per the rule that every
   capped post-content/main child must, or core centres it. */
.rz-lede {
	max-width: var(--wp--custom--width--reading-lede);
	margin-inline: 0 !important;
}

/* ── Type roles ──────────────────────────────────────────────────────────────
   Every text element on the site is one of nine roles, and this section is the
   only place in the file that sets a role's face: font-family, font-size,
   font-weight, line-height, letter-spacing and case. Component rules further
   down set colour, spacing and layout, and nothing typographic. A new size,
   weight or tracking is a design decision: it is a new role (or a deliberate
   exception below), never a one-off value on a component.

   Where each value lives. Size is a theme.json font-size preset, whose fluid
   min/max become the clamp(); the rest of the face is the role's bundle in
   settings.custom.type.<role> (line-height, weight, tracking, case). Both are
   read as variables here, so a role is retuned in theme.json and nowhere else.

     role        face                          size preset  fixed / fluid
     display     Montserrat 900, sentence      display      fluid  40 - 80px
     title       Montserrat 900, sentence      xx-large     fluid  30 - 60px
     heading     Montserrat 800, sentence      x-large      fluid  28 - 42px
     subheading  Montserrat 800, sentence      large        fluid  20 - 26px
     lede        Georgia 400, sentence         lede         fluid  21 - 32px
     body        Georgia 400, sentence         medium       fluid  18 - 22px
     body-sm     Georgia 400, sentence         small        16px
     label       Montserrat 800, UPPER +0.15em label        14px
     ui          Montserrat 800, UPPER +0.06em x-small      13px
     index       mono 800, +0.04em (a label)   label        14px

   (The ramp runs 320px to 1600px: theme.json sets typography.fluid.maxViewportWidth,
   because core's default ends it at the 1100px wide size.) `medium-large` and
   `medium-small` are aliases of body and body-sm, kept for authored content that
   still names them.

   Specificity. The selectors are the ones the old per-component declarations
   used, so each wins over core's block and global-styles rules exactly as before
   (`:root :where()` in global styles is one class). This section sits before the
   component rules on purpose: a modifier a component adds on top of its role
   (the legal page's mono last-updated line, the lede link's weight) is declared
   later at the same specificity and wins the tie.

   Exceptions, kept on purpose and written out here and in CLAUDE.md:
   - footer wordmark: its own token (type.footmark), so the lede preset does not move it;
   - pull quote: Georgia 600 at the heading size (type.quote);
   - nav: weight 700 (type.nav); the mobile menu's poster links are title size in
     the title weight, uppercase, with the outward-tracking exception noted below
     (the CTA is heading size);
   - em-relative glyphs: the external-link arrow (0.85em, § Links) and inline code
     (0.9em, § Core content blocks) scale with the text they sit in;
   - modifiers, not roles: italic on body-sm (.ns-note, the dark-row note), the
     lede link's weight 700, fact values (Montserrat 600, type.fact) and the legal
     page's mono last-updated line (body-sm size and leading, its own 900px width). */

/* display: the page h1 */
.ns-page .ns-title,
.ns-page .ns-title-home,
.ns-prose .wp-block-post-content > h1 {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--display);
	font-weight: var(--wp--custom--type--display--weight);
	line-height: var(--wp--custom--type--display--line-height);
	letter-spacing: var(--wp--custom--type--display--tracking);
	text-transform: var(--wp--custom--type--display--case);
}

/* title: section h2, closing statement, My Work feature-row titles */
.ns-page .ns-heading,
.ns-page .ns-closing-title,
.ns-page .ns-rows-work .ns-row-title {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--xx-large);
	font-weight: var(--wp--custom--type--title--weight);
	line-height: var(--wp--custom--type--title--line-height);
	letter-spacing: var(--wp--custom--type--title--tracking);
	text-transform: var(--wp--custom--type--title--case);
}

/* heading: legal h2, and the contextual page titles that pin the x-large preset
   (single post, archive, search, blog index) */
.ns-prose .wp-block-post-content > h2,
.wp-block-post-title.has-x-large-font-size,
.wp-block-query-title.has-x-large-font-size,
.wp-block-heading.has-x-large-font-size {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: var(--wp--custom--type--heading--weight);
	line-height: var(--wp--custom--type--heading--line-height);
	letter-spacing: var(--wp--custom--type--heading--tracking);
	text-transform: var(--wp--custom--type--heading--case);
}

/* heading, pull quote: Georgia 600 at the heading size. text-wrap: balance keeps
   the opening quote mark off the end of a line. */
.ns-page .ns-quote p {
	font-family: var(--wp--preset--font-family--serif);
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: var(--wp--custom--type--quote--weight);
	line-height: var(--wp--custom--type--quote--line-height);
	letter-spacing: var(--wp--custom--type--quote--tracking);
	text-transform: var(--wp--custom--type--quote--case);
	text-wrap: balance;
}

/* subheading: card, row and offer titles; the post-list entry title */
.ns-page .ns-rows-icon .ns-row-title,
.ns-page .ns-rows-dark .ns-row-title,
.ns-page .ns-rows-key .ns-row-title,
.ns-page .ns-offer-title,
.ns-page .ns-steps strong,
.rz-rowt,
.wp-block-list li:has(.rz-note) > a,
.wp-block-post-title.has-large-font-size {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--large);
	font-weight: var(--wp--custom--type--subheading--weight);
	line-height: var(--wp--custom--type--subheading--line-height);
	letter-spacing: var(--wp--custom--type--subheading--tracking);
	text-transform: var(--wp--custom--type--subheading--case);
}

/* lede: hero intro, bio, the large closing statement */
.ns-page .ns-lede,
.ns-page .ns-lede-home,
.ns-page .ns-lede-big,
.ns-page .ns-bio,
.ns-page .ns-outro-text,
.ns-prose .wp-block-post-content > h1 + p,
.rz-lede {
	font-family: var(--wp--preset--font-family--serif);
	font-size: var(--wp--preset--font-size--lede);
	font-weight: var(--wp--custom--type--lede--weight);
	line-height: var(--wp--custom--type--lede--line-height);
	letter-spacing: var(--wp--custom--type--lede--tracking);
	text-transform: var(--wp--custom--type--lede--case);
	/* no one-word last line on a block of large serif (Home S04 "payments.") */
	text-wrap: pretty;
}

/* body: the main reading copy, legal prose (Privacy, Terms) included */
.ns-page .ns-copy,
.ns-page .ns-copy-sm,
.ns-page .ns-hero-copy,
.ns-page .ns-closing-copy,
.ns-page .ns-rows-work .ns-row-body,
.ns-page .ns-steps > li,
.ns-prose .wp-block-post-content > :is(p, ul, ol):not(h1 + p):not(h1 + p + p) {
	font-family: var(--wp--preset--font-family--serif);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: var(--wp--custom--type--body--weight);
	line-height: var(--wp--custom--type--body--line-height);
	letter-spacing: var(--wp--custom--type--body--tracking);
	text-transform: var(--wp--custom--type--body--case);
}

/* body-sm: compact rows, notes and list items, and the legal pages' mono
   last-updated line (which keeps its own mono face, § Legal prose). Italic is a
   modifier on this role, never a role of its own. */
.ns-page .ns-rows-key .ns-row-body,
.ns-page .ns-rows-dark .ns-row-body,
.ns-page .ns-rows-icon .ns-row-body,
.ns-page .ns-offer-text,
.ns-page .ns-fit li,
.ns-page .ns-note,
.ns-page .ns-rooted,
.ns-page .ns-rows-dark .ns-row-note,
.ns-prose .wp-block-post-content > h1 + p + p {
	font-family: var(--wp--preset--font-family--serif);
	font-size: var(--wp--preset--font-size--small);
	font-weight: var(--wp--custom--type--body-sm--weight);
	line-height: var(--wp--custom--type--body-sm--line-height);
	letter-spacing: var(--wp--custom--type--body-sm--tracking);
	text-transform: var(--wp--custom--type--body-sm--case);
}

.ns-page .ns-rows-dark .ns-row-note {
	font-style: italic;
}

/* body-sm, Inter voice: the legacy rz- notes and form messages, and form controls
   (16px, which is also what stops iOS zooming into a focused field) */
.rz-note,
.rz-field-hint,
.rz-field-error,
.rz-notice,
.wp-block-search__input,
input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="date"],
textarea,
select {
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--small);
	font-weight: var(--wp--custom--type--body-sm--weight);
	line-height: var(--wp--custom--type--body-sm--line-height);
	letter-spacing: var(--wp--custom--type--body-sm--tracking);
	text-transform: var(--wp--custom--type--body-sm--case);
}

/* body-sm, fact values: Montserrat 600, so they sit beside the 14px caps keys */
.ns-page .ns-fact > .wp-block-column:last-child p {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--small);
	font-weight: var(--wp--custom--type--fact--weight);
	line-height: var(--wp--custom--type--body-sm--line-height);
	letter-spacing: var(--wp--custom--type--body-sm--tracking);
	text-transform: var(--wp--custom--type--body-sm--case);
}

/* label: kickers, section label names, row meta, offer and fit titles, fact keys,
   form labels (h5 and h6 are label too: theme.json elements). The "Rooted in" run-in head is the first line of its paragraph, so
   ::first-line carries the label face and the rest of the paragraph is body-sm
   (the head has to stay on its own line for that to hold). */
.ns-page .ns-kicker,
.ns-prose .wp-block-post-content > h1::before,
.ns-page .ns-row-meta,
.ns-page .ns-rows-work .ns-row-meta,
.ns-page .ns-offer-label,
.ns-page .ns-fit-title,
.ns-page .ns-label-name,
.ns-page .ns-label-sm .ns-label-name,
.ns-page .ns-fact > .wp-block-column:first-child p,
.ns-page .ns-rooted::first-line,
.wp-block-search__label,
.rz-label,
form label,
.rz-stamp,
.rz-kicker,
.rz-postmeta {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--label);
	font-weight: var(--wp--custom--type--label--weight);
	line-height: var(--wp--custom--type--label--line-height);
	letter-spacing: var(--wp--custom--type--label--tracking);
	text-transform: var(--wp--custom--type--label--case);
}

/* index (a modifier of label): counters and keys, 01 02 03, in the mono face at the
   label size */
.ns-page .ns-label-index,
.ns-page .ns-label-mini .ns-label-index,
.ns-page .ns-label-sm .ns-label-index,
.ns-page .ns-row-key,
.ns-page .ns-rows-key .ns-row-key,
.ns-page .ns-rows-dark .ns-row-key,
.ns-page .ns-rows-work .ns-row-key,
.ns-page .ns-offer-key,
.ns-page .ns-steps > li::before,
.ns-page .ns-fit li::before,
.ns-prose .wp-block-post-content > h2::before,
.wp-block-list li:has(.rz-note) > :is(a, .rz-rowt)::before {
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--label);
	font-weight: var(--wp--custom--type--index--weight);
	line-height: var(--wp--custom--type--index--line-height);
	letter-spacing: var(--wp--custom--type--index--tracking);
	text-transform: var(--wp--custom--type--index--case);
}

/* ui: buttons, the nav (its weight is 700, from theme.json), table heads, cites,
   pagination, the skip link */
.wp-block-button__link,
.ns-button-link,
.ns-button-link a,
.wp-block-search__button,
button,
input[type="submit"],
input[type="button"],
.wp-block-query-pagination,
.wp-block-post-navigation-link,
.wp-block-table table thead th,
th,
.ns-quote cite,
blockquote.wp-block-quote cite,
.wp-block-pullquote cite,
.skip-link.screen-reader-text:focus {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: var(--wp--custom--type--ui--weight);
	line-height: var(--wp--custom--type--ui--line-height);
	letter-spacing: var(--wp--custom--type--ui--tracking);
	text-transform: var(--wp--custom--type--ui--case);
}

/* ui, fine print: the same 13px, in the body voice (Inter, sentence case, no
   tracking). Footer disclaimer and legal line, captions. */
.rz-disclaimer,
.rz-legal,
figcaption,
.wp-element-caption {
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: var(--wp--custom--type--body-sm--weight);
	line-height: var(--wp--custom--type--ui--line-height);
	letter-spacing: var(--wp--custom--type--body-sm--tracking);
	text-transform: var(--wp--custom--type--body-sm--case);
}

/* Exception: the footer wordmark has its own size token. It is the one place the
   site used the old lede preset size, so it must not follow the lede role. */
.rz-footmark {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--custom--type--footmark--size);
	font-weight: var(--wp--custom--type--footmark--weight);
	line-height: var(--wp--custom--type--footmark--line-height);
	letter-spacing: var(--wp--custom--type--footmark--tracking);
}

/* Exception: the phone menu's poster-size links are title size in the title
   weight, uppercase, and keep the menu's own negative tracking (the deliberate
   exception to the outward-tracking idiom, tracking--menu; the one r5 baseline
   entry). The CTA is a step down, at heading size, so "WORK WITH ME" plus its
   padding fits a 412px phone on one line. */
header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--xx-large);
	font-weight: var(--wp--custom--type--title--weight);
	line-height: var(--wp--custom--type--title--line-height);
	letter-spacing: var(--wp--custom--tracking--menu);
	text-transform: uppercase;
}

header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item.ns-nav-cta .wp-block-navigation-item__content {
	font-size: var(--wp--preset--font-size--x-large);
}

/* ── Links ───────────────────────────────────────────────────────────────── */

/* One rule, applied consistently: prose links are underlined at rest (the
   affordance shouldn't depend on hovering), UI links are not. Previously prose
   links had no underline until hover while pagination and footer links carried
   the browser default — the same element reading two ways on one page. */
:where(a) {
	text-decoration: none;
}

.wp-block-post-content :where(p, li, dd, figcaption, blockquote) a,
.wp-block-term-description a {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-decoration-color: color-mix(in srgb, var(--wp--preset--color--accent) 45%, transparent);
	text-underline-offset: 0.16em;
}

.wp-block-post-content :where(p, li, dd, figcaption, blockquote) a:hover,
.wp-block-post-content :where(p, li, dd, figcaption, blockquote) a:focus-visible,
.wp-block-term-description a:hover,
.wp-block-term-description a:focus-visible {
	text-decoration-thickness: 2px;
	text-decoration-color: currentColor;
}

/* Mark links that leave the site with a subtle external-link affix, so
   external destinations (e.g. trimmiersports.com, stampede-hockey.com) are
   signalled. The `/ ""` alt-text syntax gives the glyph an empty accessible
   name, so it renders visually without a screen reader announcing "north east
   arrow" in the middle of a sentence. */
.wp-block-post-content a[href^="http"]:not([href*="//rob-zimmerman.com"]):not([href*="//www.rob-zimmerman.com"])::after {
	content: " \2197" / "";
	font-size: 0.85em;
	opacity: 0.7;
	margin-left: 0.15em;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */

/* A block button is the North Star button by default (since 2026-10-04):
   theme.json's button element gives it the ink face, the square corner and the
   rust offset shadow, and the rule below keeps this file from re-rounding it.
   The is-style-ns-* block styles (§ North Star components) remain the explicit
   faces for the ink, cover and rust bands. Secondary and Destructive are still
   registered in functions.php and share the square geometry, without the
   shadow. Core's built-in "Outline" is mapped onto Secondary.

   Form controls (the search button, raw <button>s and submit inputs) stay
   pills beside the pill inputs they sit with. */

.wp-block-button__link {
	border: 1px solid transparent;
	border-radius: 0;
	cursor: pointer;
}

.wp-block-search__button,
button,
input[type="submit"],
input[type="button"] {
	border: 1px solid transparent;
	cursor: pointer;
	border-radius: var(--wp--custom--radius--pill);
}

/* A raw <button> or submit input (plugin markup rather than a block) gets the
   pill geometry above but would otherwise keep the browser's grey fill and
   stock padding — half-styled. Unclassed ones read as primary; anything
   carrying a class is assumed to bring its own treatment. */
button:not([class]),
input[type="submit"]:not([class]),
input[type="button"]:not([class]) {
	background-color: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--base);
	padding: var(--wp--custom--button--padding-y) var(--wp--custom--button--padding-x);
}

button:not([class]):hover,
button:not([class]):focus-visible,
input[type="submit"]:not([class]):hover,
input[type="submit"]:not([class]):focus-visible,
input[type="button"]:not([class]):hover,
input[type="button"]:not([class]):focus-visible {
	background-color: var(--wp--preset--color--accent-hover);
	color: var(--wp--preset--color--base);
}

/* Primary — the press keeps the ink face; the shadow already answers hover. */
.wp-block-button__link:active {
	background-color: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--light);
}

/* Secondary — hairline box, ink label. Core's .is-style-outline ships its own
   2px currentColor border and its own padding; both are overridden here. */
.wp-block-button.is-style-secondary .wp-block-button__link,
.wp-block-button.is-style-outline .wp-block-button__link {
	background-color: transparent;
	color: var(--wp--preset--color--contrast);
	border: 1px solid var(--wp--preset--color--border-strong);
	box-shadow: none;
	padding: var(--wp--custom--button--padding-y) var(--wp--custom--button--padding-x);
}

.wp-block-button.is-style-secondary .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover,
.wp-block-button.is-style-secondary .wp-block-button__link:focus,
.wp-block-button.is-style-outline .wp-block-button__link:focus {
	background-color: var(--wp--preset--color--subtle);
	border-color: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--contrast);
}

.wp-block-button.is-style-secondary .wp-block-button__link:active,
.wp-block-button.is-style-outline .wp-block-button__link:active {
	background-color: var(--wp--preset--color--border);
}

/* theme.json's hover/focus/press shadow is written at low specificity
   (`:root :where(…)`), so the flat variants switch it off for every state, not
   just at rest. */
.wp-block-button:is(.is-style-secondary, .is-style-outline, .is-style-danger) .wp-block-button__link:is(:hover, :focus, :focus-visible, :active) {
	box-shadow: none;
}

/* Destructive — same geometry, danger fill. */
.wp-block-button.is-style-danger .wp-block-button__link {
	background-color: var(--wp--preset--color--danger);
	color: var(--wp--preset--color--base);
	border-color: transparent;
	box-shadow: none;
}

.wp-block-button.is-style-danger .wp-block-button__link:hover,
.wp-block-button.is-style-danger .wp-block-button__link:focus {
	background-color: var(--wp--preset--color--danger-hover);
	color: var(--wp--preset--color--base);
}

/* Press goes to ink, same as the primary and search buttons — every variant
   shares one press language. (This used to equal the hover, so a danger press
   didn't read.) */
.wp-block-button.is-style-danger .wp-block-button__link:active {
	background-color: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
}

/* Disabled — muted on hairline, still 4.81:1 so it stays readable rather than
   disappearing. Pointer events off, no hover response. The first selector
   matches the variant selectors' specificity (and follows them in source), so
   a disabled Secondary or Destructive button greys out instead of keeping its
   variant colours with only the pointer disabled. */
.wp-block-button .wp-block-button__link:is([disabled], [aria-disabled="true"]),
.wp-block-button__link[disabled],
.wp-block-button__link[aria-disabled="true"],
button[disabled],
input[type="submit"][disabled],
.wp-block-search .wp-block-search__button[disabled],
.wp-block-search__button[disabled] {
	background-color: var(--wp--preset--color--border);
	border-color: transparent;
	box-shadow: none;
	color: var(--wp--preset--color--secondary);
	cursor: not-allowed;
	pointer-events: none;
}

/* ── Form controls ───────────────────────────────────────────────────────── */

/* One height, one padding, one border, one radius — for the search block and
   for anything added later (a Jetpack contact form, a comment form). Core's
   search input previously rendered with a #949494 border that appears nowhere
   in the palette, square corners against a rounded button, and the browser's
   own focus ring. */
.wp-block-search__input,
input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="date"],
textarea,
select {
	color: var(--wp--preset--color--contrast);
	background-color: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--border-strong);
	border-radius: var(--wp--custom--radius--pill);
	padding: 0 var(--wp--custom--control--padding-x);
	height: var(--wp--custom--control--height);
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

textarea {
	border-radius: var(--wp--custom--radius--lg);
	height: auto;
	min-height: calc(var(--wp--custom--control--height) * 2.5);
	padding: var(--wp--custom--space--tight) var(--wp--custom--control--padding-x);
	resize: vertical;
}

/* Checkboxes and radios keep their native shape — which is the accessible,
   familiar one — but not the browser's default blue. accent-color is the one
   property that retints them without rebuilding the control. They also get the
   theme's focus ring and a disabled state, so they're not the one control left
   on browser defaults. */
input[type="checkbox"],
input[type="radio"] {
	accent-color: var(--wp--preset--color--accent);
	width: 1.05rem;
	height: 1.05rem;
	vertical-align: -0.15em;
}

input[type="checkbox"]:focus-visible,
input[type="radio"]:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 2px;
	border-radius: var(--wp--custom--radius--sm);
}

input[type="checkbox"][disabled],
input[type="radio"][disabled] {
	cursor: not-allowed;
	opacity: 0.5;
}

:where(input, textarea, select)::placeholder {
	color: var(--wp--preset--color--secondary);
	opacity: 1;
}

:where(input, textarea, select):hover {
	border-color: var(--wp--preset--color--secondary);
}

/* Focus: the theme's ring, not the browser's — matching every other focusable
   element on the site. */
.wp-block-search .wp-block-search__input:focus,
:where(input, textarea, select):focus-visible {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 2px;
	border-color: var(--wp--preset--color--accent);
}

:where(input, textarea, select)[disabled] {
	background-color: var(--wp--preset--color--subtle);
	border-color: var(--wp--preset--color--border);
	color: var(--wp--preset--color--secondary);
	cursor: not-allowed;
}

/* Labels sit above the field, in the small tracked display idiom. */
.wp-block-search__label,
.rz-label,
form label {
	display: block;
	color: var(--wp--preset--color--secondary);
	margin-bottom: var(--wp--preset--spacing--x-small);
}

/* Search block: field and button share a row and a baseline. */
.wp-block-search__inside-wrapper {
	gap: var(--wp--preset--spacing--x-small);
	align-items: stretch;
}

/* The input is a flex child; min-width:0 lets it shrink beside the button
   instead of forcing the row wider than its container. */
.wp-block-search .wp-block-search__input {
	min-width: 0;
}

.wp-block-search .wp-block-search__button {
	height: var(--wp--custom--control--height);
	padding: 0 var(--wp--custom--button--padding-x);
	margin: 0;
	background-color: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--base);
	border-color: transparent;
	white-space: nowrap;
}

.wp-block-search .wp-block-search__button:hover,
.wp-block-search .wp-block-search__button:focus {
	background-color: var(--wp--preset--color--accent-hover);
	color: var(--wp--preset--color--base);
}

.wp-block-search .wp-block-search__button:active {
	background-color: var(--wp--preset--color--contrast);
}

/* Core tags the search button (and the comment-form submit) with
   `wp-element-button`, so theme.json's button shadow reaches them too. Form
   controls stay flat pills beside their inputs: no offset shadow in any state. */
.wp-element-button:not(.wp-block-button__link),
.wp-element-button:not(.wp-block-button__link):is(:hover, :focus, :focus-visible, :active) {
	box-shadow: none;
}

/* Inline validation. A red border alone says "wrong" without saying what — so
   an invalid field pairs the danger edge with a message that has room for an
   actual sentence. Applied via aria-invalid, which is what assistive tech
   reads too. */
:where(input, textarea, select)[aria-invalid="true"] {
	border-color: var(--wp--preset--color--danger);
}

:where(input, textarea, select)[aria-invalid="true"]:focus-visible {
	outline-color: var(--wp--preset--color--danger);
	border-color: var(--wp--preset--color--danger);
}

.rz-field-error {
	display: block;
	color: var(--wp--preset--color--danger);
	margin-top: var(--wp--preset--spacing--x-small);
}

.rz-field-hint {
	display: block;
	color: var(--wp--preset--color--secondary);
	margin-top: var(--wp--preset--spacing--x-small);
}

/* ── Feedback: notices, empty states, loading ────────────────────────────── */

/* One notice shape, three tones. Left rule carries the tone so the fill stays
   quiet — consistent with a design whose only structural device is a rule. */
.rz-notice {
	padding: var(--wp--preset--spacing--small) var(--wp--preset--spacing--small-medium);
	background-color: var(--wp--preset--color--subtle);
	border-left: 2px solid var(--wp--preset--color--border-strong);
	border-radius: 0 var(--wp--custom--radius--md) var(--wp--custom--radius--md) 0;
}

.rz-notice--success {
	border-left-color: var(--wp--preset--color--success);
	color: var(--wp--preset--color--success);
}

.rz-notice--error {
	border-left-color: var(--wp--preset--color--danger);
	color: var(--wp--preset--color--danger);
}

/* Record stamps — authored-content hook (.rz-stamp on an inline span or a
   paragraph). A small bordered chip in the tracked-label idiom for archival
   marks: "EST. 1996", "REVIVED 2024", "FIVE SEASONS". Ink by default; the
   --record variant borrows the danger red for the rare ceremonial mark —
   sparingly, one or two per page, never on anything interactive (red stays
   reserved for danger states there). */
.rz-stamp {
	display: inline-block;
	color: var(--wp--preset--color--contrast);
	border: 1px solid var(--wp--preset--color--border-strong);
	border-radius: var(--wp--custom--radius--sm);
	padding: 0.35em 0.7em;
}

.rz-stamp--record {
	color: var(--wp--preset--color--danger);
	border-color: var(--wp--preset--color--danger);
}

/* Empty states. The populated list has a frame — hairline, generous padding,
   muted text. Its empty state used to be a bare unstyled paragraph, so the
   page lost its structure at exactly the moment it had least to show. */
.wp-block-query-no-results {
	padding-block: var(--wp--preset--spacing--medium-large);
	border-top: 1px solid var(--wp--preset--color--border);
	border-bottom: 1px solid var(--wp--preset--color--border);
}

.wp-block-query-no-results p {
	color: var(--wp--preset--color--secondary);
	max-width: var(--wp--custom--width--reading);
	margin: 0;
}

/* Loading. Nothing on the site loads asynchronously today; this is the shape
   to reach for when something does, so a spinner never arrives unstyled. */
.rz-loading {
	background-color: var(--wp--preset--color--subtle);
	border-radius: var(--wp--custom--radius--md);
	color: transparent;
	animation: rz-pulse 1.4s ease-in-out infinite;
}

@keyframes rz-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.55; }
}

/* ── Editorial page heroes ─────────────────────────────────────────────────
   The page content (Home, About, Contact) is authored with semantic hooks:
   .rz-kicker (eyebrow above the title), .rz-lede (lead paragraph), and
   label/.rz-note rows in lists. page.html no longer prints wp:post-title, so
   the in-content <h1> is the hero — these rules give it the bold treatment. */

/* Kicker / eyebrow — accent colour above the title; its face is the label role
   (§ Type roles). The post meta on single.html (.rz-postmeta) shares that face. */
.rz-kicker {
	margin: 0 0 var(--wp--preset--spacing--x-small);
	color: var(--wp--preset--color--accent);
}

/* Post meta reads as a quieter eyebrow above the title. */
.rz-postmeta {
	color: var(--wp--preset--color--secondary);
}

/* Category links in the meta row inherit the muted colour but keep a hover —
   previously `color: inherit` killed the hover response entirely. */
.rz-postmeta a {
	color: inherit;
	text-decoration: none;
}

.rz-postmeta a:hover,
.rz-postmeta a:focus-visible {
	color: var(--wp--preset--color--accent);
}

/* Lede — the one large intro paragraph under the hero title. */
.rz-lede {
	color: var(--wp--preset--color--contrast);
	margin-top: var(--wp--preset--spacing--small);
}

/* A link inside the lede (Contact's mailto) keeps the prose underline but at
   hairline weight with the standing offset — the default underline at lede
   size read heavier than the section headings elsewhere. */
.rz-lede a {
	text-decoration-thickness: 1px;
	text-underline-offset: 0.16em;
}

/* Bind the hero together. blockGap spaces siblings with a selector that
   out-ranks a bare class, so the kicker's margin-bottom and the lede's
   margin-top above were silently losing to the uniform 1.5rem gap — the
   eyebrow floated as far from its title as any two paragraphs. These carry
   enough specificity to win, on pages (post-content) and templates (main,
   e.g. the 404) alike. */
:is(.wp-block-post-content, main) > :is(.rz-kicker, .rz-postmeta) + :is(h1, h2, h3) {
	margin-block-start: var(--wp--preset--spacing--x-small);
}

/* The same eyebrow→title bind inside a post-list row, where the eyebrow is the
   date. One gap for the idiom everywhere: x-small, whether the eyebrow is a
   kicker, single.html's meta row, or an entry date. */
.rz-entry > .rz-postmeta + .wp-block-post-title {
	margin-block-start: var(--wp--preset--spacing--x-small);
}

:is(.wp-block-post-content, main) > :is(h1, h2) + .rz-lede {
	margin-block-start: var(--wp--preset--spacing--small);
}

/* ── Index rows ────────────────────────────────────────────────────────────
   List items that pair a label (a link, or .rz-rowt) with a .rz-note
   descriptor (Home's section list, About's "Work" list) render as clean
   editorial rows with hairline dividers instead of bullets. */
.wp-block-list:has(.rz-note) {
	list-style: none;
	padding-left: 0;
	margin-top: var(--wp--preset--spacing--medium);
	max-width: none;
}

/* Two columns: label left, note right — and the note is LEFT-aligned within
   its column. The old flex/space-between treatment right-aligned the note,
   which was fine for three-word descriptors and unreadable the moment the
   content put full sentences in them (multi-line ragged-left text). A fixed
   column start gives wrapped notes a straight left edge; short and long notes
   now share one alignment line down the page. */
.wp-block-list li:has(.rz-note) {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
	column-gap: var(--wp--preset--spacing--small-medium);
	row-gap: var(--wp--preset--spacing--x-small);
	align-items: baseline;
	padding: var(--wp--custom--space--row-compact) 0;
	border-top: 1px solid var(--wp--preset--color--border);
	position: relative;
	counter-increment: rz-row;
	transition: background-color var(--wp--custom--duration--fast) var(--wp--custom--easing);
}

/* Ledger line numbers. A ledger numbers its lines; each row list restarts its
   own count, so Home's index reads 01–03 and About's Work rows 01–04. The
   number rides inside the label so it stacks and wraps with it, and the
   alt-text syntax keeps screen readers from announcing it mid-link. */
.wp-block-list:has(.rz-note) {
	counter-reset: rz-row;
}

.wp-block-list li:has(.rz-note) > :is(a, .rz-rowt)::before {
	content: counter(rz-row, decimal-leading-zero) / "";
	font-variant-numeric: tabular-nums;
	color: var(--wp--preset--color--secondary);
	margin-right: 0.7em;
}

/* A ledger numbers a sequence; one row is not a sequence. Ventures' Holdings
   list has a single entry, and numbering it "01" between two hairlines read as
   a stub table waiting to be filled rather than an index. The row keeps its
   rules and its label — it just stops counting. */
.wp-block-list li:has(.rz-note):only-child > :is(a, .rz-rowt)::before {
	content: none;
}

/* Rows that navigate are clickable end to end — the label alone was a thin
   target — and answer the pointer the same way a table row does. */
.wp-block-list li:has(.rz-note) > a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.wp-block-list li:has(.rz-note):has(> a):hover {
	background-color: var(--wp--preset--color--subtle);
}

/* Rows are label + note pairs. The note pins to the LAST column (-2/-1), so
   the same declaration is correct in the two-column row and in every stacked
   single-column context — no per-context override needed. A third inline
   element in a row will auto-place beside the label and push the note down a
   row; rows are authored as pairs, so keep them that way. */
.wp-block-list li:has(.rz-note) > .rz-note {
	grid-column: -2 / -1;
}

.wp-block-list li:has(.rz-note):last-child {
	border-bottom: 1px solid var(--wp--preset--color--border);
}

/* .rz-rowt is authored as an <h3> on About, so the organisation names carry the
   document outline (h1 page → h2 section → h3 organisation) instead of leaving
   the row labels as unlabelled spans. That makes the heading margins core gives
   an h3 load-bearing: left alone they break the icon rows' `align-items: start`
   and open a gap above every label. Zero them here — the row grid owns the
   spacing. Rows still labelled with a span are unaffected. */
.rz-rowt,
.wp-block-list li:has(.rz-note) > a {
	margin: 0;
}

/* Row links read as ink, not accent — otherwise the homepage index becomes a
   wall of blue. The accent is the hover. */
.wp-block-list li:has(.rz-note) > a {
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}

.wp-block-list li:has(.rz-note) > a:hover,
.wp-block-list li:has(.rz-note) > a:focus-visible {
	color: var(--wp--preset--color--accent);
}

/* The note used to drop size, weight, family AND colour against its label —
   four steps at once, reading as caption-grade metadata. Body size with the
   muted colour keeps the hierarchy while letting the descriptions be read. */
.rz-note {
	color: var(--wp--preset--color--secondary);
	max-width: var(--wp--custom--width--reading);
}

/* A second, indented line nested inside a row's description — dates and
   position/degree, set apart from the company/school description above it.
   About's Career and Education rows use this for [Start]–[Finish] | [Position].

   The role is a sub-heading, not a caption: at caption size in the note's muted
   grey it read as a trailing footnote after a paragraph. Ink and 600 carry the
   hierarchy instead of a fourth type step — it shares the note's size and
   separates on weight and colour, leaving the company name the only larger
   thing in the row. The colour is explicit because .rz-note sets `secondary`
   and this would otherwise inherit it. */
.rz-note .rz-meta {
	display: block;
	margin-block-start: var(--wp--preset--spacing--x-small);
	padding-inline-start: var(--wp--preset--spacing--small);
	font-weight: 600;
	color: var(--wp--preset--color--contrast);
}

/* Rows stack on narrow screens: below 782px the two-column row leaves a
   display-size label and its note ~250px each, both too tight to read. The
   note keeps its -2/-1 pin — correct in one column as in two. (The .98 is the
   project's guard against a fractional viewport falling between a 781px max
   and a 782px min.)

   The `.rz-index` grouped-index component that used to live here was retired
   2026-08-24: it never gained a consumer, and its label rule demoted an h2 by
   two presets — a trap for the first page that adopted it beside a real h2. */
@media (max-width: 781.98px) {
	.wp-block-list li:has(.rz-note) {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ── Icon rows ─────────────────────────────────────────────────────────────
   Opt-in row-list variant (`rz-iconrows` on the list, authored in content):
   the ledger numbers give way to a square org logo per row — About's Career
   and Education lists. The icon column only engages on rows that actually
   contain an `img.rz-rowicon`, so a list can carry the class before its logos
   are wired in.

   The labels do NOT step down a size here. They used to (medium-large), which
   put the organisation name within a pixel of the description beneath it — so
   an `h3` that carries the page outline read as body text. They take the
   subheading role (§ Type roles), a clear step under the section `h2` above
   and a clear step over the note below. */
.wp-block-list.rz-iconrows li:has(.rz-note) > :is(a, .rz-rowt)::before {
	content: none;
}

/* Logo | text. Two columns, not three: the logo tile, then a single text
   column carrying the organisation name with its description stacked
   underneath — the shape a résumé entry takes, and the shape the phone rule
   below has always taken.

   The three-column masthead this replaces (logo | name | note) stood the name
   and the description side by side, which a 720px content column cannot afford
   once the names run to "The University of Texas at Austin" and the
   descriptions to three sentences: each got roughly 300px. Worse, the name was
   the one item in the row whose column was never stated — it landed wherever
   auto-placement dropped it between the logo and the note's `-2 / -1` pin — and
   live it collapsed to a sliver, wrapping the organisation names one word per
   line and spilling them out past the right edge of the page. Every track here
   is stated instead: the logo track is `auto` around a 44px image and both text
   items sit in one `minmax(0, 1fr)`, so there is no third track left to starve
   and nothing positioned by inference.

   The note needs no rule of its own — its base `-2 / -1` pin (see "Index rows"
   above) resolves to column 2 here, and because the label already holds row 1
   of that column the description falls to the row beneath it.

   Top-aligned, not centered: a description plus its indented meta line runs
   several lines tall, and a centered logo would drift away from the heading it
   belongs beside. */
.wp-block-list.rz-iconrows li:has(.rz-rowicon) {
	grid-template-columns: auto minmax(0, 1fr);
	column-gap: var(--wp--preset--spacing--small-medium);
	row-gap: var(--wp--preset--spacing--x-small);
	align-items: start;
}

.wp-block-list.rz-iconrows li:has(.rz-rowicon) > :is(a, .rz-rowt) {
	grid-column: 2;
}

/* Square, hairline-ringed, on the white ground — same treatment as the
   footer flag, scaled to the touch-target size. `contain` keeps any logo
   aspect honest inside the square. */
.rz-rowicon {
	width: var(--wp--custom--rowicon--size);
	height: var(--wp--custom--rowicon--size);
	object-fit: contain;
	box-shadow: 0 0 0 1px var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--sm);
	background-color: var(--wp--preset--color--base);
}

/* Below 782px the note gives up the text column and spans the whole row,
   leaving the logo and the organisation name paired on the line above it.

   The note spanning 1/-1 is the point of the layout, not a detail. A full
   single-column stack (icon, then name, then note, each on its own line) broke
   the pairing and made every row four loose blocks. Leaving the note in the
   text column costs 68px of every description — icon plus column gap — which
   is 9% of the desktop column and invisible, but 19% of a 412px phone: it
   would start About's Career and Education text well right of the h1, h2 and
   every paragraph on the same page. Spanning both columns pairs the name with
   its logo AND puts the description back on the page's own left edge, which is
   why the -2/-1 pin has to be overridden here: in this two-column grid it
   otherwise resolves to column 2. The row-gap above already spaces it. */
@media (max-width: 781.98px) {
	/* Centred against the logo tile, not top-aligned: this row is now a single
	   line of text beside a 44px square, so `align-items: start` — which exists
	   for the several-lines-tall note on desktop — would hang the name off the
	   tile's top edge. */
	.wp-block-list.rz-iconrows li:has(.rz-rowicon) > :is(a, .rz-rowt) {
		align-self: center;
	}

	.wp-block-list.rz-iconrows li:has(.rz-rowicon) > .rz-note {
		grid-column: 1 / -1;
	}
}

/* ── Post lists (index / archive / search) ─────────────────────────────────
   Each entry is a .rz-entry row: a tracked date eyebrow, a display title, and
   a measure-constrained excerpt, separated by hairline rules. */
.rz-entry {
	padding-block: var(--wp--preset--spacing--medium-large);
	border-top: 1px solid var(--wp--preset--color--border);
}

/* The closing rule belongs to the last post in the LIST. Each entry is the
   only child of its <li>, so a bare .rz-entry:last-child matched every row
   and drew a doubled rule at each boundary. */
.wp-block-post:last-child .rz-entry {
	border-bottom: 1px solid var(--wp--preset--color--border);
}

/* Keep list titles ink and weighty; reserve accent for the hover and for
   inline prose links. */
.wp-block-post-title a {
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}

.wp-block-post-title a:hover,
.wp-block-post-title a:focus-visible {
	color: var(--wp--preset--color--accent);
}

/* margin-inline is load-bearing: .rz-entry is a constrained group, so core
   centres any child capped narrower than the column — the excerpt sat ~80px
   right of its own title without it. */
.rz-excerpt {
	max-width: var(--wp--custom--width--reading);
	margin-inline: 0 !important;
	color: var(--wp--preset--color--secondary);
}

/* Pagination reads as a small tracked display row under the list's own
   closing rule — it used to bring a second rule and 3rem of margin, framing
   ~6rem of dead space and a double hairline at the end of every list. */
.wp-block-query-pagination {
	margin-top: var(--wp--preset--spacing--small);
}

.wp-block-query-pagination a {
	color: var(--wp--preset--color--accent);
	text-decoration: none;
}

.wp-block-query-pagination a:hover,
.wp-block-query-pagination a:focus-visible {
	color: var(--wp--preset--color--accent-hover);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.3em;
}

/* The current page is the destination, so it reads as ink — it used to be the
   faintest item in the row, which inverted the emphasis. */
.wp-block-query-pagination .page-numbers.current {
	color: var(--wp--preset--color--contrast);
}

.wp-block-query-pagination .page-numbers.dots {
	color: var(--wp--preset--color--secondary);
}

/* ── Core content blocks ──────────────────────────────────────────────────
   Left alone, these inherit currentColor — which is ink — so a table or an
   <hr> would render as the darkest-ruled element on a site built entirely
   from faint hairlines. */

/* Tables. Comfortable row height, aligned columns, a real header treatment,
   row hover, and tabular figures so numbers line up. */
.wp-block-table {
	overflow-x: auto;
}

.wp-block-table table {
	border-collapse: collapse;
	width: 100%;
	font-variant-numeric: tabular-nums;
}

.wp-block-table table th,
.wp-block-table table td {
	border: 0;
	border-bottom: 1px solid var(--wp--preset--color--border);
	padding: var(--wp--custom--space--tight) var(--wp--custom--control--padding-x);
	text-align: left;
	vertical-align: top;
}

.wp-block-table table thead th {
	color: var(--wp--preset--color--secondary);
	border-bottom: 1px solid var(--wp--preset--color--border-strong);
}

.wp-block-table table tbody tr:hover {
	background-color: var(--wp--preset--color--subtle);
}

.wp-block-table figcaption {
	color: var(--wp--preset--color--secondary);
	margin-top: var(--wp--preset--spacing--x-small);
}

/* Separator — hairline, not ink. */
hr.wp-block-separator {
	border: 0;
	border-top: 1px solid var(--wp--preset--color--border);
	opacity: 1;
	margin-block: var(--wp--preset--spacing--medium);
}

/* Ledger rule — the double-entry bookkeeping cue: a single heavier ink rule,
   registered as a separator style in functions.php. For closing a hero or a
   major section; the 1px hairline stays the default everywhere else. Neither
   style sets max-width — a separator dropped straight into a template's
   constrained `main` must stop at the content column, not run to the viewport
   past both the 720px column and the 1100px band rails. */
hr.wp-block-separator.is-style-ledger {
	border-top-width: 2px;
	border-top-color: var(--wp--preset--color--contrast);
}

/* Quotes — a 2px accent rule is the one deliberate exception to flatness. */
blockquote.wp-block-quote {
	border-left: 2px solid var(--wp--preset--color--accent);
	padding-left: var(--wp--preset--spacing--small-medium);
	margin-left: 0;
	font-style: normal;
}

blockquote.wp-block-quote cite,
.wp-block-pullquote cite {
	display: block;
	margin-top: var(--wp--preset--spacing--x-small);
	font-style: normal;
	color: var(--wp--preset--color--secondary);
}

.wp-block-pullquote {
	border-top: 1px solid var(--wp--preset--color--border);
	border-bottom: 1px solid var(--wp--preset--color--border);
	padding: var(--wp--preset--spacing--medium) 0;
}

/* Inline code — distinct from the code block, which theme.json handles. */
:not(pre) > code {
	background-color: var(--wp--preset--color--subtle);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--sm);
	padding: 0.12em 0.35em;
	font-size: 0.9em;
}

/* Ordinary lists. The .rz-note rows are flush; a normal prose list kept the
   browser's 40px indent, so the same site had two list languages. */
.wp-block-post-content :where(ul, ol):not(:has(.rz-note)) {
	padding-left: var(--wp--preset--spacing--small-medium);
}

.wp-block-post-content :where(ul, ol):not(:has(.rz-note)) li + li {
	margin-top: var(--wp--custom--space--tight);
}

.wp-block-post-content :where(ul, ol):not(:has(.rz-note)) li::marker {
	color: var(--wp--preset--color--secondary);
}

/* Images. Previously unstyled at every level — no radius, no caption
   treatment, no cap. `.rz-portrait` is available for the About headshot,
   which the old design capped at 300px. */
.wp-block-image img,
.wp-block-post-featured-image img {
	border-radius: var(--wp--custom--radius--md);
	height: auto;
	max-width: 100%;
}

.wp-block-image figcaption,
.wp-block-post-featured-image figcaption {
	color: var(--wp--preset--color--secondary);
	margin-top: var(--wp--preset--spacing--x-small);
}

.rz-portrait img {
	max-width: var(--wp--custom--portrait--max-width);
	border: 1px solid var(--wp--preset--color--border);
}

/* ── Header, navigation, footer ──────────────────────────────────────────── */

/* The header is a dark band, like the footer: everything inside reads from
   the *-on-dark tokens (design-system rule 3). The backbone below is written
   against header.wp-block-template-part — emitted by the templates — so the
   dark bar and the hidden site title land even on a stale Site-Editor (DB)
   copy of the part that predates the markup. */
header.wp-block-template-part > .wp-block-group {
	background-color: var(--wp--preset--color--contrast);
	border-bottom: 0;
}

/* The site title is retired from the header (the name lives in the footer
   and the hero). display:none also removes it from the accessibility tree,
   which is correct — it was a duplicate of the h1 for screen readers too. */
header.wp-block-template-part .wp-block-site-title {
	display: none;
}

/* Right-pin the nav whether it shares the row or wraps to its own —
   space-between alone left-aligns a lone item on a wrapped row.
   The `nav` in the selector is load-bearing: core renders the overlay's own
   <ul> with BOTH wp-block-navigation__container and wp-block-navigation, so a
   bare class selector here also caught that list and gave it margin-left:auto.
   Inside the open overlay that pinned the whole stack to the right edge of the
   content box — which is why the menu ignored its centering rules and hung off
   the right of the screen. Element-qualifying it keeps this to the <nav>. */
header.wp-block-template-part nav.wp-block-navigation {
	margin-left: auto;
}

/* Any wrap inside the nav itself stays right-justified with a real row gap.
   Fenced away from the mobile overlay, whose own centering and gap rules must
   keep winning. */
header.wp-block-template-part .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container {
	justify-content: flex-end;
	row-gap: var(--wp--preset--spacing--x-small);
}

/* Comfortable click/tap target on primary nav links. */
.wp-block-navigation-item__content {
	padding: var(--wp--preset--spacing--x-small) var(--wp--preset--spacing--small);
}

/* The last label's TEXT lands on the band's right rail, where the wordmark
   lands on the left one — the item padding above otherwise held it 1rem short,
   giving the band a 0/16px margin pair. Desktop nav only: the open overlay
   spaces its stack from the root-padding gutter instead. Safe because nav
   items respond to hover with colour + underline, not a background box. */
header.wp-block-template-part .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item:last-child .wp-block-navigation-item__content {
	padding-inline-end: 0;
}

/* Mark the current page in the nav so visitors can see where they are.
   robz_child_nav_current_page() in functions.php adds aria-current to matching
   custom-URL items — core only sets it for post/term-linked items, so this
   underline previously had nothing to match. */
.wp-block-navigation .wp-block-navigation-item__content[aria-current="page"],
.wp-block-navigation .current-menu-item > .wp-block-navigation-item__content {
	color: var(--wp--preset--color--accent-on-dark);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.35em;
	text-decoration-color: var(--wp--preset--color--accent-on-dark);
}

/* Hamburger toggle — core ships a bare ~24px icon with no padding, well under
   the 44px minimum tap target, while the inline links did have padding. The
   hairline makes it read as a control (a pill, per the geometry rule) instead
   of a stray icon floating on the band. */
.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close {
	padding: var(--wp--custom--space--tight);
	min-width: var(--wp--custom--toggle--size);
	min-height: var(--wp--custom--toggle--size);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--wp--preset--color--subtle);
	border: 1px solid var(--wp--preset--color--border-on-dark);
	border-radius: var(--wp--custom--radius--pill);
}

.wp-block-navigation__responsive-container-open:hover,
.wp-block-navigation__responsive-container-close:hover {
	color: var(--wp--preset--color--accent-on-dark);
	background-color: var(--wp--preset--color--border-on-dark);
}

/* Submenus, if the nav ever grows one — core's default is an off-palette
   rgba(0,0,0,0.15) border on white with no radius. The links inside must be
   re-inked too: they'd otherwise inherit the band's `subtle` text and
   `accent-on-dark` hover from theme.json — near-invisible on this white
   surface. */
.wp-block-navigation__submenu-container {
	background-color: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--md);
	padding: var(--wp--preset--spacing--x-small) 0;
}

.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	color: var(--wp--preset--color--contrast);
}

.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus {
	color: var(--wp--preset--color--accent);
}

/* Mobile navigation overlay — full-screen, centered, poster-size type on the
   same ink ground as the bar it opens from (a white sheet here would flash).
   The GROUND is not set here: it comes from the nav block's own
   overlayBackgroundColor / overlayTextColor attributes in parts/header.html —
   core stamps the colour classes on the responsive container itself, which
   survives Gutenberg's overlay rewrites where an equal-specificity rule in
   this file does not (that war was fought and lost twice). The background
   rule below is only belt-and-suspenders for markup cached before the
   attributes shipped — and it has to out-specify core's own default, which is
   `.wp-block-navigation:not(.has-background) .…is-menu-open:not(.disable-
   default-overlay) { background-color: #fff }` at (0,5,0). The short
   header-scoped selector was (0,3,1) and lost to it, so the fallback never
   fired; mirroring core's `:not(.has-background)` takes it to (0,5,1) and
   keeps it correctly inert once a real background IS set on the nav.
   CSS composes layout and type: items inherit uppercase Montserrat from
   theme.json's core/navigation; their poster-size tracking is the deliberate
   exception to the outward-tracking idiom and lives with the other type
   exceptions in § Type roles (tracking--menu). */
header.wp-block-template-part .wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open {
	background-color: var(--wp--preset--color--contrast);
}

/* Still no inline padding here: core already gives the open overlay the site's
   root padding — `padding-inline: clamp(1rem, var(--wp--style--root--padding-
   left), 20rem)` on .is-menu-open — so the gutter matches every other page edge,
   and the labels land on the same 1.5rem line as the close button above them.
   Adding our own on the content nested inside it doubled it to 3rem.

   The BLOCK padding is ours, though, and it is the "match the header" fix.
   Core's shorthand resolves top to clamp(1rem, var(--wp--style--root--padding-
   top), 20rem). theme.json's root padding is "0px" (it was a unitless "0"
   until 2026-08-24, which is a <number>, not a <length> — the whole clamp()
   was invalid and the inset collapsed to nothing, so the overlay opened flush
   to the top of the screen). With the token fixed core's clamp resolves to its
   1rem floor, but the header band this overlay replaces uses 1.5rem — so the
   rule below still restates both sides in the band's own token, putting the
   close X exactly where the hamburger was. Core's rule is (0,3,0) —
   `:not(.disable-default-overlay)` counts — so the header prefix wins it. */
header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open {
	padding-block: var(--wp--preset--spacing--small-medium);
}

/* Vertically centre the stack. Core leaves the three nested wrappers between
   the fixed overlay and the list at auto height, so a `justify-content: center`
   on the content alone centred nothing — the box was only as tall as the four
   labels and sat at the top. Stretching the chain first is what gives the
   centring something to work in.

   Each wrapper needs `display: flex` as well as `flex: 1`, not just the latter:
   only .is-menu-open is a flex container by default, so `flex: 1` on the close
   wrapper was honoured while the dialog and content below it stayed block-level
   children of a block-level parent and ignored it. The chain has to be flex the
   whole way down for the height to reach the list. */
header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open :is(.wp-block-navigation__responsive-close, .wp-block-navigation__responsive-dialog, .wp-block-navigation__responsive-container-content) {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-height: 0;
}

/* Right-aligned, vertically centred. The alignment reads core's own
   `--navigation-layout-justification-setting` custom property rather than
   hardcoding `flex-end` — that variable is what core computes from the nav's
   actual layout.justifyContent attribute in parts/header.html, so if that
   attribute ever changes, this overlay rule follows it instead of silently
   drifting from the desktop nav it mirrors. It resolves to flex-end today
   (the header nav is justified right); the fallback matches that so nothing
   changes if the variable is ever absent. The block padding keeps the top
   label clear of the absolutely-positioned X and, being symmetric, keeps the
   centring optically true — it replaces core's one-sided
   `padding-top: calc(2rem + 24px)`. */
header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	justify-content: center;
	align-items: var(--navigation-layout-justification-setting, flex-end);
	padding-block: var(--wp--custom--toggle--size);
}

/* Each label aligns with the stack too, not just the box. Core sets this from
   the same justification var on the list and items; restated at higher
   specificity for the same reason as the rule above. Core's is (0,4,0), this
   is (0,4,1). */
header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open :is(.wp-block-navigation__container, .wp-block-navigation-item, .wp-block-page-list) {
	align-items: var(--navigation-layout-justification-setting, flex-end);
}

/* Poster-size labels need more air between them than the body rhythm gives —
   at ~30px type on a phone, small-medium reads as a stack of touching lines.

   `flex-grow: 0` is the other half of the vertical centring above. The list is
   the content wrapper's only child, so core's `.wp-block-navigation__container
   :only-child { flex-grow: 1 }` stretched it to the full height of the box the
   rules above had just stretched — and a child that fills its parent cannot be
   centred in it. The labels packed to the top of a full-height list and the
   menu still opened top-anchored. Core's rule is (0,2,0); this is (0,4,1). */
header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	gap: var(--wp--preset--spacing--medium);
	flex-grow: 0;
}

header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	color: var(--wp--preset--color--subtle);
}

header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover,
header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:focus {
	color: var(--wp--preset--color--accent-on-dark);
}

/* The current-page marker, restated at overlay specificity. The rule up in the
   nav section is two classes; the overlay item rule above is four, so it won
   `color` and the open menu showed the current page in plain `subtle` — the
   underline landed (nothing else sets text-decoration) but the accent didn't.
   Deliberate out-specification, like the table and search rules: simplify this
   back to the short selector and the overlay takes the colour again. */
header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content[aria-current="page"],
header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .current-menu-item > .wp-block-navigation-item__content {
	color: var(--wp--preset--color--accent-on-dark);
}

/* Footer. A full-bleed dark band terminates the page rather than letting it
   fade into white — the one place this design goes to a heavy surface. Note
   the palette switch it forces: `accent` is 3.45:1 on ink and would make the
   email link unreadable, so anything inside the band reads from the
   *-on-dark tokens. Those exist for this band and nothing else. */
footer.wp-block-template-part .rz-flag svg {
	box-shadow: 0 0 0 1px var(--wp--preset--color--border-on-dark);
}

/* The band pins to the viewport bottom on short pages (see the page-frame
   rules in Foundations). No fixed gap above it: every template's <main>
   already carries margin-bottom `large`, and the old extra `medium` here
   stacked on top of it — 6rem of dead space before the footer against 4rem
   after the header. */
footer.wp-block-template-part {
	margin-top: auto;
}

/* Identity leads; the disclaimer is last and smallest. */
.rz-footmark {
	color: var(--wp--preset--color--subtle);
}

.rz-disclaimer {
	max-width: var(--wp--custom--width--reading-fine);
}

/* The footer email is the site's primary contact route, so it carries a
   visible underline rather than relying on colour alone, and the on-dark
   accent so it clears AA on the band (7.54:1, against 3.45:1 for the standard
   accent). The colour is also set as a block attribute so the editor shows it
   correctly; this rule is what actually guarantees it on the front end.

   Scoped to the footer element specifically — the header is also a template
   part, and its site title must not pick any of this up. */
footer.wp-block-template-part a:not(.wp-block-social-link-anchor) {
	color: var(--wp--preset--color--accent-on-dark);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.16em;
}

footer.wp-block-template-part a:not(.wp-block-social-link-anchor):hover,
footer.wp-block-template-part a:not(.wp-block-social-link-anchor):focus-visible {
	color: var(--wp--preset--color--subtle);
	text-decoration-thickness: 2px;
}

/* The focus ring is drawn in the accent, which disappears against ink — both
   dark bands re-colour it. */
footer.wp-block-template-part a:focus-visible,
footer.wp-block-template-part .wp-block-social-link:focus-visible,
header.wp-block-template-part a:focus-visible,
header.wp-block-template-part .wp-block-navigation__responsive-container-open:focus-visible,
header.wp-block-template-part .wp-block-navigation__responsive-container-close:focus-visible {
	outline-color: var(--wp--preset--color--accent-on-dark);
}

/* Footer social icons — core animates a scale(1.1) on hover; bind the colour
   change to the palette so the two happen together. The icons live on the ink
   band, so the hover reads from the on-dark accent (rule 3) — the standard
   accent is 3.45:1 there and made the icons vanish on hover. */
.wp-block-social-link:hover {
	color: var(--wp--preset--color--accent-on-dark);
}

/* Same right-rail trim as the nav's last label: core's logos-only style pads
   each icon anchor 0.25em on both sides, which held the last icon ~4px short
   of the rail the row is meant to end on. */
footer.wp-block-template-part .wp-block-social-links.is-style-logos-only .wp-block-social-link:last-child .wp-block-social-link-anchor {
	padding-right: 0;
}

/* Footer flags — small, decorative, with a faint edge so white stripes read
   against the page. The SVGs live in patterns/footer.php. */
.rz-flag svg {
	display: block;
	width: 30px;
	height: 20px;
	border-radius: var(--wp--custom--radius--sm);
	box-shadow: 0 0 0 1px var(--wp--preset--color--border);
}

/* ── Accessibility ──────────────────────────────────────────────────────────
   A clear keyboard focus ring (the browser default is easy to lose against the
   bold type and accent links), and respect for reduced-motion preferences. */
a:focus-visible,
.wp-block-button__link:focus-visible,
.wp-block-navigation-item__content:focus-visible,
.wp-block-search__button:focus-visible,
.wp-block-social-link:focus-visible,
.wp-block-navigation__responsive-container-open:focus-visible,
.wp-block-navigation__responsive-container-close:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 3px;
	border-radius: var(--wp--custom--radius--pill);
}

/* Pill rings belong to pill controls. A multi-line prose link inside a
   paragraph gets a small-radius ring instead — a pill outline around wrapped
   inline text read as a blob. (The control selectors above out-rank this, so
   buttons, nav items and toggles keep the pill.) */
a:focus-visible {
	border-radius: var(--wp--custom--radius--sm);
}

/* Block buttons are square (§ Buttons), so their ring is square too. Without
   this, the pill radius in the shared rule above would re-round a plain,
   Secondary or Destructive button the moment it took keyboard focus. */
.wp-block-button .wp-block-button__link:focus-visible {
	border-radius: 0;
}

/* Skip-to-content link — server-rendered in functions.php (#content targets the
   <main> on every template). Visually hidden until a keyboard user Tabs to it,
   then revealed as an on-brand pill in the top-left. */
.skip-link.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	word-wrap: normal;
}

.skip-link.screen-reader-text:focus {
	position: fixed;
	top: 0.75rem;
	left: 0.75rem;
	width: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	clip: auto;
	clip-path: none;
	z-index: 100000;
	padding: var(--wp--custom--button--padding-y) var(--wp--custom--button--padding-x);
	text-decoration: none;
	color: var(--wp--preset--color--contrast);
	background-color: var(--wp--preset--color--base);
	border-radius: var(--wp--custom--radius--pill);
	outline-color: var(--wp--preset--color--accent-on-dark);
}

/* ── Responsive ─────────────────────────────────────────────────────────────
   Index-row stacking lives in the 781.98px blocks above, with the row rules.
   This block handles the truly-small-screen adjustments. The 600px value here
   deliberately differs from 782: content rows stack first (they starve
   soonest), the chrome — nav overlay at core's 600, footer rows here —
   follows at phone width. */
@media (max-width: 600px) {
	.wp-block-search__inside-wrapper {
		flex-wrap: wrap;
	}

	.wp-block-search__button {
		width: 100%;
	}

	/* Stack the footer rows deliberately rather than leaving it to flex-wrap,
	   which lands differently depending on how long the email address is. */
	.rz-footrow {
		flex-direction: column;
		align-items: flex-start;
		gap: var(--wp--preset--spacing--small);
	}
}

/* ── North Star components ──────────────────────────────────────────────────
   The page-content layer of the live "North Star" look, as a class-scoped
   vocabulary (prefix `ns-`, single-dash modifiers only: `--` breaks WordPress
   block comments). It replaces ~96 KB of page-ID-keyed database CSS; pages use
   these classes and the core/button block styles registered in functions.php
   (`is-style-ns-primary`, `-ns-light`, `-ns-on-rust`) and nothing else.
   Colours, motion, shadows, tracking and radii read from theme.json tokens;
   spacing reads the role tokens in settings.custom.space and layout widths the
   tokens in settings.custom.width (§ Spacing roles and § Layout widths, at the
   end of this file); the few remaining sizes are rem/px literals taken from the
   computed styles of the live pages (1440px and 412px), not from the old CSS
   source where the two disagree.

   Layout contract. `.ns-page` is the alignfull wrapper of a page; inside it a
   band is full-bleed and `.ns-shell` is the 1180px column. Core's layout
   engine puts `margin-block-start: <styles.spacing.blockGap>` on every child
   of a flow or constrained container (`:root :where(.is-layout-flow) > *`,
   specificity 0,1,0); the first rule below zeroes that inside `.ns-page`, so
   every gap on the page is written in this file. On the live site extras.css
   loads AFTER the global-styles and block-supports inline CSS, so an equal-
   specificity rule here wins; rules that must beat core's flex/grid classes
   still use two classes. Desktop layouts start at `min-width: 782px` and stack
   at `max-width: 781.98px`, the project's convention (core stacks columns
   there). Every transform and transition sits inside prefers-reduced-motion. */

:is(.ns-page, .ns-prose) {
	--ns-ink: var(--wp--preset--color--contrast);
	--ns-paper: var(--wp--preset--color--paper);
	--ns-light: var(--wp--preset--color--light);
	--ns-white: var(--wp--preset--color--base);
	--ns-rust: var(--wp--preset--color--rust);
	--ns-rust-hi: var(--wp--preset--color--rust-bright);
	--ns-line: var(--wp--preset--color--line);
	--ns-line-dark: var(--wp--preset--color--line-on-dark);
	--ns-copy: var(--wp--preset--color--copy);
	--ns-muted: var(--wp--preset--color--muted);
	--ns-soft: var(--wp--preset--color--soft-on-dark);
	--ns-copy-dark: var(--wp--preset--color--copy-on-dark);
	--ns-sans: var(--wp--preset--font-family--display);
	--ns-serif: var(--wp--preset--font-family--serif);
	--ns-mono: var(--wp--preset--font-family--mono);
}

/* Page wrapper and ground. */
.ns-page {
	box-sizing: border-box;
	background-color: var(--ns-paper);
	color: var(--ns-ink);
}

/* A page built from ns components owns the full width: the template's main and
   its post-content stop contributing padding and the 720px column, and the
   wrapper's own margin is pinned so core's alignfull offsets cannot push it
   past the viewport. (:has() is baseline in every current browser.) */
main#content:has(> .wp-block-post-content > .ns-page) {
	padding-inline: 0 !important;
}

.wp-block-post-content:has(> .ns-page) {
	max-width: none !important;
	margin-inline: 0 !important;
	padding: 0 !important;
}

.wp-block-post-content > .ns-page {
	max-width: none;
	margin-inline: 0 !important;
}

.ns-page > *,
.ns-page :where(.is-layout-flow, .is-layout-constrained) > * {
	margin-block-start: 0;
}

.ns-page :where(h1, h2, h3, p, figure, blockquote) {
	margin-block: 0;
}

.ns-band-paper {
	background-color: var(--ns-paper);
	color: var(--ns-ink);
}

/* The 1180px shell: the same column as the header and footer rows. */
.ns-page .ns-shell {
	box-sizing: border-box;
	width: calc(100% - var(--wp--custom--width--gutter) - var(--wp--custom--width--gutter));
	max-width: var(--wp--custom--width--shell);
	margin-inline: auto;
	padding-inline: 0;
}

/* Vertical rhythm helpers. */
.ns-page .ns-section {
	padding-block: var(--wp--custom--space--section);
}

.ns-page .ns-stack {
	margin-top: var(--wp--custom--space--section);
}

.ns-page .ns-shell:is(.ns-end, .ns-end-lg) {
	padding-bottom: var(--wp--custom--space--section);
}

/* Bands. Ink and rust are full-bleed grounds; the cover is a core/cover
   (image 1284, dimRatio 78, overlay `contrast`) that carries `ns-band-cover`. */
.ns-page .ns-band-ink {
	width: 100%;
	background-color: var(--ns-ink);
	color: var(--ns-white);
}

.ns-page .ns-band-rust {
	width: 100%;
	padding-block: var(--wp--custom--space--section);
	background-color: var(--ns-rust);
	color: var(--ns-white);
}

.ns-page .wp-block-cover.ns-band-cover {
	box-sizing: border-box;
	width: 100%;
	min-height: 0;
	margin: 0;
	padding: var(--wp--custom--space--section) 0;
	color: var(--ns-white);
}

.ns-page .ns-band-cover .wp-block-cover__inner-container {
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	padding-inline: 0;
}

.ns-page .ns-band-cover .wp-block-cover__inner-container > .ns-shell {
	margin-inline: auto;
}

/* In-page anchors clear the sticky mobile header. */
@media (max-width: 781.98px) {
	.ns-page [id] {
		scroll-margin-top: 5rem;
	}
}

/* Keyboard focus: rust on paper, bright rust on dark grounds, ink on rust. */
.ns-page :focus-visible {
	outline: 2px solid var(--ns-rust);
	outline-offset: 3px;
}

.ns-page :is(.ns-band-ink, .ns-band-cover) :focus-visible {
	outline-color: var(--ns-rust-hi);
}

.ns-page .ns-band-rust :focus-visible {
	outline-color: var(--ns-ink);
}

/* ── Hero ──────────────────────────────────────────────────────────────────
   Kicker -> title -> lede -> actions. Every hero, Home's included, has the same
   padding (hero-top above, section below) and the same gaps (marker under the
   kicker, group under the title), so the `ns-hero-home`, `ns-hero-tall` and
   `ns-hero-pad` modifiers carry no rules. The lede sits under the title at the
   shell's left edge, on the one `lede` measure (§ Layout widths). */
.ns-page .ns-hero {
	padding-top: var(--wp--custom--space--hero-top);
	padding-bottom: var(--wp--custom--space--section);
}

.ns-page .ns-kicker {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5em;
	max-width: none;
	margin: 0 0 var(--wp--custom--space--marker);
	color: var(--ns-muted);
}

.ns-page .ns-kicker::before {
	content: "";
	display: block;
	flex: 0 0 auto;
	width: 1em;
	height: 1em;
	margin-right: 0.35em;
	background-color: var(--ns-rust);
}

.ns-page .ns-kicker-dot {
	color: var(--ns-muted);
}

.ns-page .ns-kicker-dot-red {
	color: var(--ns-rust);
}

.ns-page .ns-title {
	margin: 0 0 var(--wp--custom--space--group);
	color: var(--ns-ink);
	text-wrap: balance;
}

.ns-page .ns-signal {
	color: var(--ns-rust);
}

.ns-page .ns-lede {
	max-width: var(--wp--custom--width--lede);
	margin: 0;
	color: var(--ns-copy);
}

.ns-page .ns-lede a {
	color: var(--ns-rust);
	font-weight: 700;
	text-underline-offset: 0.18em;
	text-decoration-color: var(--ns-rust);
}

/* A ruled paragraph under the lede (Contact). */
.ns-page .ns-hero-copy {
	max-width: var(--wp--custom--width--reading);
	margin: var(--wp--custom--space--group) 0 0;
	padding-top: var(--wp--custom--space--group);
	border-top: 1px solid var(--ns-line);
	color: var(--ns-copy);
}

@media (max-width: 781.98px) {

	.ns-page .ns-kicker {
		gap: 0.45em;
	}

	.ns-page .ns-kicker::before {
		width: 0.9em;
		height: 0.9em;
		margin-right: 0.2em;
	}

}

/* ── Section label: 01 ——■ NAME ─────────────────────────────────────────── */
.ns-page .ns-label {
	display: flex;
	align-items: center;
	width: max-content;
	max-width: 100%;
	margin: 0 0 var(--wp--custom--space--marker);
}

.ns-page .ns-label-index {
	flex: 0 0 auto;
	color: var(--ns-rust);
}

.ns-page .ns-label-rule {
	position: relative;
	display: block;
	flex: 0 1 auto;
	width: 112px;
	min-width: 14px;
	height: 2px;
	margin: 0 var(--wp--preset--spacing--small-medium);
	background-color: var(--ns-rust);
}

.ns-page .ns-label-rule::after {
	content: "";
	position: absolute;
	top: 50%;
	right: -1px;
	width: 14px;
	height: 14px;
	background-color: var(--ns-rust);
	transform: translateY(-50%);
}

.ns-page .ns-label-name {
	flex: 0 1 auto;
	min-width: min-content;
	color: var(--ns-muted);
}

/* On the ink and cover bands the label brightens; on rust it goes light with an
   ink rule. */
.ns-page :is(.ns-band-ink, .ns-band-cover) .ns-label-index {
	color: var(--ns-rust-hi);
}

.ns-page :is(.ns-band-ink, .ns-band-cover) .ns-label-rule,
.ns-page :is(.ns-band-ink, .ns-band-cover) .ns-label-rule::after {
	background-color: var(--ns-rust-hi);
}

.ns-page :is(.ns-band-ink, .ns-band-cover) .ns-label-name {
	color: var(--ns-soft);
}

.ns-page .ns-band-rust .ns-label-index,
.ns-page .ns-band-rust .ns-label-name {
	color: var(--ns-light);
}

.ns-page .ns-band-rust .ns-label-rule,
.ns-page .ns-band-rust .ns-label-rule::after {
	background-color: var(--ns-ink);
}

/* A label that is only a name (no index, no rule). */
.ns-page .ns-label-name-only {
	margin-bottom: 0;
}

/* Mini label: a mono index and a short rule above an h2 (About). */
.ns-page .ns-label-mini {
	gap: var(--wp--custom--space--tight);
	margin-bottom: var(--wp--custom--space--marker);
	color: var(--ns-ink);
}

.ns-page .ns-label-mini .ns-label-rule {
	width: 42px;
	margin: 0;
}

.ns-page .ns-label-mini .ns-label-rule::after {
	display: none;
}

/* Small label: the closing block's NEXT. */
.ns-page .ns-label-sm {
	margin-bottom: var(--wp--custom--space--marker);
}

.ns-page .ns-label-sm .ns-label-rule {
	width: 88px;
	margin: 0 var(--wp--preset--spacing--small-medium);
}

.ns-page .ns-label-sm .ns-label-rule::after {
	width: 12px;
	height: 12px;
}

@media (max-width: 781.98px) {
	/* width: auto, not max-content, so a 14px caps label name can wrap on a narrow
	   phone instead of widening its flex column past the viewport. */
	.ns-page .ns-label {
		width: auto;
	}

	.ns-page .ns-label-rule {
		width: 54px;
		margin: 0 var(--wp--preset--spacing--small);
	}

	.ns-page .ns-label-rule::after {
		width: 10px;
		height: 10px;
	}

	.ns-page .ns-label-sm .ns-label-rule {
		margin: 0 var(--wp--preset--spacing--small);
	}

}

/* ── Headings ───────────────────────────────────────────────────────────── */
.ns-page .ns-heading {
	margin: 0 0 var(--wp--custom--space--group);
	color: var(--ns-ink);
	text-wrap: balance;
}

.ns-page :is(.ns-band-ink, .ns-band-cover) .ns-heading {
	color: var(--ns-white);
}

/* ── Buttons ────────────────────────────────────────────────────────────────
   core/button block styles (is-style-ns-*) and `p.ns-button-link > a`, the
   paragraph-wrapped link that looks like a button. Square, hard offset shadow
   from the tokens, lifts 2px on hover/focus with a 7px shadow. */
.wp-block-button:is(.is-style-ns-primary, .is-style-ns-light, .is-style-ns-on-rust) .wp-block-button__link,
.ns-button-link a {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 45px;
	padding: var(--wp--custom--button--padding-y) var(--wp--custom--button--padding-x);
	border: 0;
	border-radius: 0;
	background-color: var(--ns-ink);
	color: var(--ns-light);
	box-shadow: var(--wp--custom--shadow--offset);
	text-align: center;
	text-decoration: none;
}

.wp-block-button:is(.is-style-ns-primary, .is-style-ns-light, .is-style-ns-on-rust) .wp-block-button__link:is(:hover, :focus-visible, :active),
.ns-button-link a:is(:hover, :focus-visible, :active) {
	background-color: var(--ns-ink);
	color: var(--ns-light);
	box-shadow: var(--wp--custom--shadow--offset-hover);
}

/* Light face on the ink and cover bands. */
.wp-block-button.is-style-ns-light .wp-block-button__link,
.ns-band-ink .ns-button-link a,
.ns-band-cover .ns-button-link a {
	background-color: var(--ns-light);
	color: var(--ns-ink);
}

.wp-block-button.is-style-ns-light .wp-block-button__link:is(:hover, :focus-visible, :active),
.ns-band-ink .ns-button-link a,
.ns-band-cover .ns-button-link a:is(:hover, :focus-visible, :active) {
	background-color: var(--ns-light);
	color: var(--ns-ink);
}

/* Light face with an ink shadow on the rust band. */
.wp-block-button.is-style-ns-on-rust .wp-block-button__link,
.ns-band-rust .ns-button-link a {
	background-color: var(--ns-light);
	color: var(--ns-ink);
	box-shadow: var(--wp--custom--shadow--offset-ink);
}

.wp-block-button.is-style-ns-on-rust .wp-block-button__link:is(:hover, :focus-visible, :active),
.ns-band-rust .ns-button-link a:is(:hover, :focus-visible, :active) {
	background-color: var(--ns-light);
	color: var(--ns-ink);
	box-shadow: var(--wp--custom--shadow--offset-ink-hover);
}

/* No external-link arrow on buttons: their labels carry their own. */
.wp-block-post-content .wp-block-button:is(.is-style-ns-primary, .is-style-ns-light, .is-style-ns-on-rust) .wp-block-button__link[href]::after,
.wp-block-post-content .ns-button-link a[href]::after {
	content: none;
}

.ns-button-link {
	display: flex;
	margin: var(--wp--custom--space--group) 0 0;
}

@media (prefers-reduced-motion: no-preference) {
	.wp-block-button:is(.is-style-ns-primary, .is-style-ns-light, .is-style-ns-on-rust) .wp-block-button__link,
	.ns-button-link a {
		transition:
			transform var(--wp--custom--duration--quick) var(--wp--custom--ease--standard),
			box-shadow var(--wp--custom--duration--quick) var(--wp--custom--ease--standard);
	}

	.wp-block-button:is(.is-style-ns-primary, .is-style-ns-light, .is-style-ns-on-rust) .wp-block-button__link:is(:hover, :focus-visible),
	.ns-button-link a:is(:hover, :focus-visible) {
		transform: translate(-2px, -2px);
	}
}

/* Actions row (core/buttons). */
.ns-page .wp-block-buttons.ns-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: var(--wp--custom--space--inline);
	margin: var(--wp--custom--space--group) 0 0;
}

.ns-page .wp-block-buttons.ns-actions .wp-block-button {
	margin: 0;
}

/* ── Pull quote ─────────────────────────────────────────────────────────── */
.ns-page .wp-block-pullquote.ns-quote {
	box-sizing: border-box;
	width: calc(100% - var(--wp--custom--width--gutter) - var(--wp--custom--width--gutter));
	max-width: var(--wp--custom--width--shell);
	margin: 0 auto;
	padding: var(--wp--custom--space--stack) 0;
	border: 0;
	color: var(--ns-white);
	text-align: left;
}

.ns-page .ns-quote blockquote {
	margin: 0;
	padding: 0;
	border: 0;
}

.ns-page .ns-quote p {
	margin: 0 0 var(--wp--custom--space--para);
	color: var(--ns-light);
	font-style: normal;
	text-align: left;
}

.ns-page .ns-quote cite {
	display: block;
	margin: 0;
	color: var(--ns-rust-hi);
	font-style: normal;
}

/* ── Split layouts (core/columns) ──────────────────────────────────────────
   Two columns on a grid from 782px; stacked below. Leave the column `width`
   attributes unset: the ratio lives in the `split` width token (5fr | 7fr) and
   the gutter in the `gap` token, one split for every page. `ns-split-mid` and
   `ns-split-wide` are kept in content but carry no rule; `ns-split-center` only
   centres the columns vertically. */
.ns-page .wp-block-columns.ns-split {
	display: flex;
	flex-direction: column;
	gap: var(--wp--custom--space--group);
	margin: 0;
}

.ns-page .wp-block-columns.ns-split > .wp-block-column {
	min-width: 0;
	margin: 0;
}

@media (min-width: 782px) {
	.ns-page .wp-block-columns.ns-split {
		display: grid;
		grid-template-columns: var(--wp--custom--width--split);
		align-items: start;
		gap: var(--wp--custom--width--gap);
	}

	.ns-page .wp-block-columns.ns-split-center {
		align-items: center;
	}
}

/* The row that closes a cover band, under a hairline (Home: WHAT I'M BUILDING). */
.ns-page .wp-block-columns.ns-subband {
	margin-top: var(--wp--custom--space--stack);
	padding-top: var(--wp--custom--space--marker);
	border-top: 1px solid var(--ns-line-dark);
}

/* ── Copy ───────────────────────────────────────────────────────────────── */
.ns-page .ns-copy {
	margin: 0 0 var(--wp--custom--space--para);
	color: var(--ns-copy);
}

.ns-page :is(.ns-band-ink, .ns-band-cover) .ns-copy {
	color: var(--ns-copy-dark);
}

/* The short supporting paragraph under a dark-band heading. */
.ns-page .ns-copy-sm {
	margin: 0;
	color: var(--ns-copy);
}

.ns-page :is(.ns-band-ink, .ns-band-cover) .ns-copy-sm {
	color: var(--ns-copy-dark);
}

.ns-page .ns-band-rust .ns-copy-sm {
	color: var(--ns-white);
}

.ns-page .ns-bio {
	margin: 0 0 var(--wp--custom--space--para);
	color: var(--ns-copy);
}

.ns-page .ns-aperture {
	max-width: 68px;
	margin: var(--wp--custom--space--group) 0 0;
	opacity: 0.82;
}

.ns-page .ns-aperture img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--wp--custom--radius--md);
}

.ns-page .ns-rooted {
	margin: var(--wp--custom--space--group) 0 0;
	padding-top: var(--wp--custom--space--eyebrow);
	border-top: 1px solid var(--ns-line);
	color: var(--ns-copy);
}

.ns-page .ns-rooted::first-line {
	color: var(--ns-rust);
}

.ns-page .ns-note {
	margin: var(--wp--custom--space--eyebrow) 0 0;
	color: var(--ns-muted);
	font-style: italic;
}

.ns-page :is(.ns-band-ink, .ns-band-cover) .ns-note {
	color: var(--ns-copy-dark);
}

.ns-page .ns-band-rust .ns-note {
	color: var(--ns-white);
}

/* ── Row lists ──────────────────────────────────────────────────────────────
   `ns-rows` holds `ns-row`s; a row's parts are ns-row-key / -main / -meta /
   -title / -body / -note / -action. The variant on `ns-rows` decides the
   layout: -key (Home principles), -dark (Home beliefs), -icon (About career
   and education), -work (My Work entries). */
.ns-page .ns-rows {
	margin: 0;
	border-top: 1px solid var(--ns-line);
}

.ns-page .ns-row {
	position: relative;
	margin: 0;
	border-bottom: 1px solid var(--ns-line);
}

.ns-page .ns-row-title {
	margin: 0;
	text-wrap: balance;
}

.ns-page .ns-row-body {
	margin: 0;
}

/* Principles: hanging mono key, title, one muted sentence. */
.ns-page .ns-rows-key .ns-row {
	padding: var(--wp--custom--space--row-compact) 0 var(--wp--custom--space--row-compact) var(--wp--preset--spacing--medium);
}

.ns-page .ns-rows-key .ns-row-key {
	margin: 0;
	color: var(--ns-rust);
}

.ns-page .ns-rows-key .ns-row-title {
	margin-bottom: var(--wp--custom--space--micro);
	color: var(--ns-ink);
}

.ns-page .ns-rows-key .ns-row-body {
	color: var(--ns-muted);
}

/* Beliefs on a dark band: numbered, spaced entries, an italic note slot. */
.ns-page .ns-rows-dark {
	border-top-color: var(--ns-line-dark);
}

.ns-page .ns-rows-dark .ns-row {
	padding: var(--wp--custom--space--row-card) 0 var(--wp--custom--space--row-card) var(--wp--preset--spacing--x-large);
	border-bottom-color: var(--ns-line-dark);
}

.ns-page .ns-rows-dark .ns-row + .ns-row {
	margin-top: var(--wp--custom--space--row-card);
}

.ns-page .ns-rows-dark .ns-row-key {
	margin: 0;
	color: var(--ns-rust-hi);
	white-space: nowrap;
}

.ns-page .ns-rows-dark .ns-row-title {
	margin-bottom: var(--wp--custom--space--micro);
	color: var(--ns-white);
}

.ns-page .ns-rows-dark .ns-row-body {
	margin-bottom: var(--wp--custom--space--tight);
	color: var(--ns-copy-dark);
}

.ns-page .ns-rows-dark .ns-row-note {
	margin: 0;
	color: var(--ns-copy-dark);
}

@media (max-width: 781.98px) {
	.ns-page .ns-rows-dark .ns-row {
		padding-left: 0;
	}

	.ns-page .ns-rows-dark .ns-row-key {
		margin-bottom: var(--wp--custom--space--tight);
	}
}

/* Facts: a small rust mono-ish label and a bold value (core/columns rows). */
.ns-page .ns-facts {
	margin: var(--wp--custom--space--group) 0 0;
	border-top: 1px solid var(--ns-line);
}

.ns-page .wp-block-columns.ns-fact {
	display: flex;
	flex-direction: column;
	gap: var(--wp--custom--space--micro);
	margin: 0;
	padding: var(--wp--custom--space--row-compact) 0;
	border-bottom: 1px solid var(--ns-line);
}

.ns-page .ns-fact p {
	margin: 0;
}

.ns-page .ns-fact > .wp-block-column {
	min-width: 0;
	margin: 0;
}

.ns-page .ns-fact > .wp-block-column:first-child p {
	color: var(--ns-rust);
}

@media (min-width: 782px) {
	.ns-page .wp-block-columns.ns-fact {
		display: grid;
		grid-template-columns: 28% minmax(0, 1fr);
		gap: 0;
	}
}

/* Icon rows (About): logo tile, organisation, description + meta line. */
.ns-page .ns-rows-icon .ns-row {
	box-sizing: border-box;
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	align-items: start;
	gap: var(--wp--custom--space--row-card);
	width: 100%;
	padding: var(--wp--custom--space--row-card) 0;
}

@media (min-width: 782px) {
	/* tile left, title over description in the column beside it */
	.ns-page .ns-rows-icon .ns-row {
		row-gap: var(--wp--custom--space--tight);
	}
}

.ns-page .ns-rowicon {
	box-sizing: border-box;
	grid-column: 1;
	grid-row: 1 / span 2;
	width: 52px;
	height: 52px;
	margin: 0;
	padding: var(--wp--custom--space--micro);
	overflow: hidden;
	border: 1px solid var(--ns-line);
	background-color: var(--ns-white);
	box-shadow: 0 0 0 1px var(--wp--preset--color--border);
}

.ns-page .ns-rowicon img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: var(--wp--custom--radius--md);
}

.ns-page .ns-rows-icon .ns-row-title {
	grid-column: 2;
	grid-row: 1;
	align-self: start;
	margin: 0;
	color: var(--ns-ink);
}

.ns-page .ns-rows-icon .ns-row-body {
	grid-column: 2;
	grid-row: 2;
	color: var(--ns-copy);
}

.ns-page .ns-row-meta {
	display: block;
	margin-top: var(--wp--custom--space--eyebrow);
	padding-left: var(--wp--preset--spacing--small);
	color: var(--ns-rust);
}

@media (max-width: 781.98px) {
	.ns-page .ns-rows-icon .ns-row {
		grid-template-columns: 52px minmax(0, 1fr);
	}

	.ns-page .ns-rows-icon .ns-rowicon {
		grid-row: 1;
		width: 48px;
		height: 48px;
	}

	.ns-page .ns-rows-icon .ns-row-body {
		grid-column: 1 / -1;
		grid-row: 2;
	}
}

/* Work entries (My Work): number, body, button; on the ink band. */
.ns-page .ns-rows-work {
	border-top-color: var(--ns-line-dark);
}

.ns-page .ns-rows-work .ns-row {
	display: grid;
	grid-template-columns: var(--wp--custom--width--split);
	align-items: start;
	column-gap: var(--wp--custom--width--gap);
	row-gap: 0;
	padding: var(--wp--custom--space--row-feature) 0;
}

/* Key and title in the rail; meta line, body and button in the column. */
@media (min-width: 782px) {
	.ns-page .ns-rows-work .ns-row-main {
		display: contents;
	}

	.ns-page .ns-rows-work .ns-row-key {
		grid-column: 1;
		grid-row: 1;
	}

	.ns-page .ns-rows-work .ns-row-meta {
		grid-column: 2;
		grid-row: 1;
	}

	.ns-page .ns-rows-work .ns-row-title {
		grid-column: 1;
		grid-row: 2 / span 2;
	}

	.ns-page .ns-rows-work .ns-row-body {
		grid-column: 2;
		grid-row: 2;
	}

	.ns-page .wp-block-buttons.ns-row-action {
		grid-column: 2;
		grid-row: 3;
	}
}

.ns-page .ns-rows-work .ns-row-key {
	margin: var(--wp--custom--space--micro) 0 0;
	color: var(--ns-rust-hi);
}

.ns-page .ns-rows-work .ns-row-main {
	margin: 0;
}

.ns-page .ns-rows-work .ns-row-meta {
	margin: 0 0 var(--wp--custom--space--eyebrow);
	padding-left: 0;
	color: var(--ns-rust-hi);
}

.ns-page .ns-rows-work .ns-row-title {
	margin: 0 0 var(--wp--custom--space--group);
	color: var(--ns-light);
}

.ns-page .ns-rows-work .ns-row-body {
	color: var(--ns-soft);
}

.ns-page .wp-block-buttons.ns-row-action {
	margin: var(--wp--custom--space--tight) 0 0;
}

@media (max-width: 781.98px) {
	.ns-page .ns-rows-work .ns-row {
		grid-template-columns: minmax(0, 1fr);
		row-gap: var(--wp--custom--space--row-card);
	}

	.ns-page .ns-rows-work .ns-row-key {
		margin: 0;
	}

}

/* ── Closing blocks ───────────────────────────────────────────────────────── */
.ns-page .ns-closing {
	margin-top: var(--wp--custom--space--section);
	padding-top: var(--wp--custom--space--marker);
	border-top: 1px solid var(--ns-line);
}

.ns-page .ns-closing-title {
	margin: 0 0 var(--wp--custom--space--group);
	color: var(--ns-ink);
	text-wrap: balance;
}

.ns-page .ns-closing-copy {
	margin: 0;
	color: var(--ns-copy);
}

.ns-page .ns-closing .wp-block-buttons.ns-actions {
	gap: var(--wp--custom--space--inline);
	margin-top: var(--wp--custom--space--group);
}

@media (max-width: 781.98px) {

	.ns-page .ns-closing .wp-block-buttons.ns-actions {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* My Work's close: a lede-size prompt line, then a ruled button. */
.ns-page .ns-outro {
	padding-block: var(--wp--custom--space--section);
}

.ns-page .ns-outro-text {
	max-width: var(--wp--custom--width--lede);
	margin: 0;
	color: var(--ns-muted);
}

.ns-page .ns-outro-next {
	margin: var(--wp--custom--space--group) 0 0;
	padding-top: var(--wp--custom--space--group);
	border-top: 1px solid var(--ns-line);
}

/* Contact actions sit a little further from the copy than hero actions. */
.ns-page .wp-block-buttons.ns-actions-contact {
	margin-top: var(--wp--custom--space--stack);
}

/* ── New: offers ──────────────────────────────────────────────────────────────
   Three consulting offers side by side (stacked on a phone). Each `ns-offer`
   is a hairline-boxed card with a rust top rule: index, title, then labelled
   rows (who it is for, what you get, how long) and an italic note. */
.ns-page .ns-offers {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--wp--custom--width--card-gap);
	margin: 0;
}

/* From 782px the cards sit on a three-column grid and each card is a subgrid
   over the same nine rows (key, title, three label/text pairs, note), so a row
   is one height across the cards and the hairlines over the labels line up
   whatever a title does. A card with a ninth-plus child (a button, an extra
   paragraph) needs a longer `grid-row: span`; tools/compare.js reports it. */
@media (min-width: 782px) {
	.ns-page .ns-offers {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		row-gap: 0;
	}
}

/* The fee note under the cards follows a full-width component, so it takes that
   component's grid: it starts on the first card's left edge and is two cards
   wide (two card widths plus the gap between them). The gap above is `group`;
   the page content's inline `margin-top` preset is the same step. */
.ns-page .ns-offers + .ns-copy {
	margin-top: var(--wp--custom--space--group) !important;
}

@media (min-width: 782px) {
	.ns-page .ns-offers + .ns-copy {
		max-width: calc((100% - 2 * var(--wp--custom--width--card-gap)) / 3 * 2 + var(--wp--custom--width--card-gap));
	}
}

.ns-page .ns-offer {
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	margin: 0;
	padding: var(--wp--custom--space--row-card);
	border: 1px solid var(--ns-line);
	border-top: 2px solid var(--ns-rust);
}

@media (min-width: 782px) {
	.ns-page .ns-offer {
		display: grid;
		grid-row: span 9;
		grid-template-rows: subgrid;
		row-gap: 0;
		align-content: start;
	}
}

.ns-page .ns-offer-key {
	margin: 0 0 var(--wp--custom--space--eyebrow);
	color: var(--ns-rust);
}

.ns-page .ns-offer-title {
	margin: 0;
	color: var(--ns-ink);
	text-wrap: balance;
}

.ns-page .ns-offer-label {
	margin: var(--wp--custom--space--group) 0 var(--wp--custom--space--micro);
	padding-top: var(--wp--custom--space--eyebrow);
	border-top: 1px solid var(--ns-line);
	color: var(--ns-rust);
}

.ns-page .ns-offer-text {
	margin: 0;
	color: var(--ns-copy);
}

.ns-page .ns-offer .ns-note {
	margin-top: var(--wp--custom--space--eyebrow);
}

.ns-page .ns-offer .wp-block-buttons {
	margin: auto 0 0;
	padding-top: var(--wp--custom--space--row-card);
}

/* ── New: numbered steps ──────────────────────────────────────────────────── */
.ns-page .ns-steps {
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--ns-line);
	counter-reset: ns-step;
	list-style: none;
}

.ns-page .ns-steps > li {
	position: relative;
	margin: 0;
	padding: var(--wp--custom--space--row-card) 0 var(--wp--custom--space--row-card) var(--wp--preset--spacing--large);
	border-bottom: 1px solid var(--ns-line);
	color: var(--ns-copy);
	counter-increment: ns-step;
}

.ns-page .ns-steps > li + li {
	margin-top: 0;
}

.ns-page .ns-steps > li::before {
	content: counter(ns-step, decimal-leading-zero);
	color: var(--ns-rust);
}

.ns-page .ns-steps > li::marker {
	content: none;
}

.ns-page .ns-steps strong {
	display: block;
	margin-bottom: var(--wp--custom--space--micro);
	color: var(--ns-ink);
}

/* ── New: good fit / not a fit ──────────────────────────────────────────────
   Two equal columns on the offers' gap. Both titles and both lists read the same
   rules (row padding, mark, hairline), so the two lists read as one table; each
   list is independent, so a wrapped item grows only its own row. */
.ns-page .wp-block-columns.ns-fit {
	display: flex;
	flex-direction: column;
	gap: var(--wp--custom--space--group);
	margin: var(--wp--custom--space--stack) 0 0;
}

@media (min-width: 782px) {
	.ns-page .wp-block-columns.ns-fit {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: start;
		gap: var(--wp--custom--width--card-gap);
	}
}

.ns-page .ns-fit > .wp-block-column {
	min-width: 0;
	margin: 0;
}

.ns-page .ns-fit-title {
	margin: 0 0 var(--wp--custom--space--eyebrow);
}

.ns-page .ns-fit-yes .ns-fit-title {
	color: var(--ns-rust);
}

.ns-page .ns-fit-no .ns-fit-title {
	color: var(--ns-muted);
}

.ns-page .ns-fit ul {
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--ns-line);
	list-style: none;
}

.ns-page .ns-fit li {
	position: relative;
	margin: 0;
	padding: var(--wp--custom--space--row-compact) 0 var(--wp--custom--space--row-compact) var(--wp--preset--spacing--medium);
	border-bottom: 1px solid var(--ns-line);
	color: var(--ns-copy);
}

.ns-page .ns-fit li + li {
	margin-top: 0;
}

.ns-page .ns-fit li::marker {
	content: none;
}

.ns-page .ns-fit-yes li::before {
	content: "+";
	color: var(--ns-rust);
}

.ns-page .ns-fit-no li::before {
	content: "\2013";
	color: var(--ns-muted);
}

/* ── New: closing call to action on the rust band ─────────────────────────── */
.ns-page .ns-band-rust .ns-heading {
	color: var(--ns-ink);
}

.ns-page .ns-cta .wp-block-buttons {
	margin-top: var(--wp--custom--space--group);
}

/* ── Rust band defaults ───────────────────────────────────────────────────────
   On the rust ground text is white or light and rules are the light hairline,
   so these components read correctly without per-use classes: kicker, title,
   lede, copy, closing copy, hero copy, offers, steps, fit lists, rooted line.
   Buttons set to ink or light switch to the on-rust face (light, ink shadow).
   Not rust-safe, by design: the row lists (ns-rows-*) and the pull quote,
   which belong on paper and ink. */
.ns-page .ns-band-rust :is(.ns-lede, .ns-copy, .ns-copy-sm, .ns-bio, .ns-closing-copy, .ns-hero-copy,
	.ns-offer-text, .ns-steps > li, .ns-fit li, .ns-rooted, .ns-outro-text) {
	color: var(--ns-white);
}

.ns-page .ns-band-rust :is(.ns-lede, .ns-copy, .ns-hero-copy, .ns-closing-copy) a {
	color: var(--ns-white);
	text-decoration-color: var(--ns-white);
}

.ns-page .ns-band-rust .ns-kicker {
	color: var(--ns-light);
}

.ns-page .ns-band-rust .ns-kicker::before {
	background-color: var(--ns-ink);
}

.ns-page .ns-band-rust :is(.ns-kicker-dot, .ns-kicker-dot-red) {
	color: var(--ns-light);
}

.ns-page .ns-band-rust :is(.ns-title, .ns-closing-title, .ns-signal) {
	color: var(--ns-ink);
}

.ns-page .ns-band-rust :is(.ns-hero-copy, .ns-rooted, .ns-closing, .ns-outro-next, .ns-steps, .ns-steps > li,
	.ns-fit ul, .ns-fit li, .ns-offer, .ns-offer-label) {
	border-color: var(--ns-line-dark);
}

.ns-page .ns-band-rust .ns-offer {
	border-top-color: var(--ns-ink);
}

.ns-page .ns-band-rust :is(.ns-offer-key, .ns-offer-label, .ns-fit-title) {
	color: var(--ns-light);
}

.ns-page .ns-band-rust .ns-steps > li::before,
.ns-page .ns-band-rust .ns-fit li::before {
	color: var(--ns-light);
}

.ns-page .ns-band-rust :is(.ns-offer-title, .ns-steps strong) {
	color: var(--ns-white);
}

.ns-page .ns-band-rust .ns-rooted::first-line {
	color: var(--ns-light);
}

.ns-band-rust .wp-block-button:is(.is-style-ns-primary, .is-style-ns-light) .wp-block-button__link,
.ns-band-rust .wp-block-button:is(.is-style-ns-primary, .is-style-ns-light) .wp-block-button__link:is(:hover, :focus-visible, :active) {
	background-color: var(--ns-light);
	color: var(--ns-ink);
	box-shadow: var(--wp--custom--shadow--offset-ink);
}

.ns-band-rust .wp-block-button:is(.is-style-ns-primary, .is-style-ns-light) .wp-block-button__link:is(:hover, :focus-visible, :active) {
	box-shadow: var(--wp--custom--shadow--offset-ink-hover);
}

/* ── Legal prose ──────────────────────────────────────────────────────────────
   Privacy and Terms: the legal-page template wraps post-content in `ns-prose`,
   so the pages keep their plain h1 / lede / h2 / p / ul content. The h1 carries
   a generated SITE INFORMATION kicker, every h2 a counter (01, 02, ...), the
   second paragraph is the mono last-updated line, links are rust. The two
   intro paragraphs are a hero: under the title, on the `lede` measure. From
   782px the sections are the site's split: number and heading in the rail,
   the text in the column (§ Layout widths). */
.ns-prose {
	padding-inline: 0; /* the post-content below carries the gutter once, not twice */
	background-color: var(--ns-paper);
	color: var(--ns-ink);
}

.ns-prose .wp-block-post-content {
	box-sizing: border-box;
	width: calc(100% - var(--wp--custom--width--gutter) - var(--wp--custom--width--gutter));
	max-width: var(--wp--custom--width--shell);
	margin-inline: auto !important;
	padding: var(--wp--custom--space--hero-top) 0 var(--wp--custom--space--section);
	counter-reset: ns-legal;
}

.ns-prose .wp-block-post-content > * {
	max-width: none;
	margin-inline: 0 !important;
}

.ns-prose .wp-block-post-content > h1 {
	margin: 0 0 var(--wp--custom--space--group);
	color: var(--ns-ink);
}

.ns-prose .wp-block-post-content > h1::before {
	content: "SITE INFORMATION" / "";
	display: block;
	margin: 0 0 var(--wp--custom--space--marker);
	padding-left: 1.85em;
	background: linear-gradient(var(--ns-rust), var(--ns-rust)) left center / 1em 1em no-repeat;
	color: var(--ns-muted);
}

.ns-prose .wp-block-post-content > h1 + p {
	max-width: var(--wp--custom--width--lede);
	margin: 0 0 var(--wp--custom--space--para);
	color: var(--ns-copy);
}

.ns-prose .wp-block-post-content > h1 + p + p {
	max-width: var(--wp--custom--width--lede);
	margin: 0 0 var(--wp--custom--space--stack);
	color: var(--ns-copy);
	font-family: var(--ns-mono);
	font-weight: 700;
	letter-spacing: var(--wp--custom--tracking--mono);
}

.ns-prose .wp-block-post-content > h2 {
	margin: var(--wp--custom--space--stack) 0 var(--wp--custom--space--para);
	padding-top: var(--wp--custom--space--group);
	border-top: 1px solid var(--ns-line);
	color: var(--ns-ink);
	counter-increment: ns-legal;
}

.ns-prose .wp-block-post-content > h2::before {
	content: counter(ns-legal, decimal-leading-zero) / "";
	display: block;
	margin: 0 0 var(--wp--custom--space--tight);
	color: var(--ns-rust);
}

.ns-prose .wp-block-post-content > :is(p, ul, ol, h3, h4) {
	color: var(--ns-copy);
}

.ns-prose .wp-block-post-content > h1 + p,
.ns-prose .wp-block-post-content > h1 + p + p {
	margin-top: 0;
}

/* One gap between blocks: the top margin of the lower one (grid items do not
   collapse margins, so nothing carries a bottom margin). */
.ns-prose .wp-block-post-content > :is(p, ul, ol):not(h1 + p):not(h1 + p + p) {
	margin-top: var(--wp--custom--space--para);
	margin-bottom: 0;
}

.ns-prose .wp-block-post-content > :is(ul, ol) {
	padding-left: var(--wp--preset--spacing--small-medium);
}

.ns-prose .wp-block-post-content > :is(ul, ol) li + li {
	margin-top: var(--wp--custom--space--tight);
}

.ns-prose .wp-block-post-content > :is(ul, ol) li {
	color: var(--ns-copy);
}

.ns-prose .wp-block-post-content a {
	color: var(--ns-rust);
	text-decoration-color: var(--ns-rust);
	text-underline-offset: 0.16em;
}

.ns-prose :focus-visible {
	outline: 2px solid var(--ns-rust);
	outline-offset: 3px;
}

@media (max-width: 781.98px) {
	.ns-prose .wp-block-post-content > h1::before {
		padding-left: 1.55em;
	}
}

/* ── North Star chrome ──────────────────────────────────────────────────────
   The header, mobile menu and band rules of the live "North Star" design,
   moved here on 2026-10-04 from where they had been living outside the theme:
   the mobile-menu <style> inside the Site Editor copy of the header part, and
   the handful of global (not page-scoped) rules in the site's Additional CSS.
   Values are the live ones, token for literal. One is a deliberate cleanup:
   the menu's navy #0c1b33 now reads the ink token it was meant to be. The
   menu's focus ring keeps its exact crimson (the wordmark red, 4.6:1 on the
   pink wash); rust-bright would fall to 2.8:1, under the 3:1 a focus
   indicator needs.

   Selectors are deliberately the same ones the live copies used. In the live
   cascade the Additional CSS prints before this file and the header part's
   inline <style> after it, so the global band rules here win their ties as
   soon as this ships (with identical values) while the header part's copy
   wins the menu's until that part is reset. Once both old copies are gone
   these rules are the only ones left and render the same look.
   The menu animation names (rz-menu-drop-close in particular) are load-bearing:
   assets/js/header-menu.js listens for that animation to end before closing. */

/* Bands: paper ground, flush full-bleed bands, header and footer rows on the
   1180px North Star shell rather than the 1100px wide rail. */
html,
body {
	background: var(--wp--preset--color--paper);
}

main#content {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

html body :is(header, footer).wp-block-template-part > .wp-block-group.alignfull {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

header.wp-block-template-part .rz-header-inner,
footer.wp-block-template-part .rz-footrow {
	width: calc(100% - var(--wp--custom--width--gutter) - var(--wp--custom--width--gutter)) !important;
	max-width: var(--wp--custom--width--shell) !important;
	margin-inline: auto !important;
}

html body header.wp-block-template-part .wp-block-navigation__responsive-container-close {
	right: var(--wp--custom--width--gutter) !important;
}

/* The hamburger takes over at 782px (one breakpoint with the content rows), not at core's 600px. */
@media (max-width: 781.98px) {
	header.wp-block-template-part .wp-block-navigation__responsive-container-open {
		display: flex !important;
	}

	header.wp-block-template-part .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none !important;
	}
}

/* Sticky mobile header, the two-state wordmark, and the pink drop-down menu. */
@media (max-width: 781.98px) {
	header.wp-block-template-part {
		position: sticky;
		top: 0;
		z-index: 1000;
	}
	body.admin-bar header.wp-block-template-part {
		top: 46px;
	}
	header.wp-block-template-part > .wp-block-group.alignfull {
		padding-inline: var(--wp--custom--space--chrome-inset) !important;
		position: relative;
		z-index: 1000;
		transition:
			background-color var(--wp--custom--duration--quick) var(--wp--custom--ease--standard),
			color var(--wp--custom--duration--quick) var(--wp--custom--ease--standard);
	}
	header.wp-block-template-part.rz-menu-active > .wp-block-group.alignfull {
		background-color: var(--wp--preset--color--subtle) !important;
		color: var(--wp--preset--color--contrast) !important;
	}
	header.wp-block-template-part.rz-menu-active.rz-menu-closing > .wp-block-group.alignfull {
		background-color: var(--wp--preset--color--contrast) !important;
		color: var(--wp--preset--color--subtle) !important;
		transition:
			background-color var(--wp--custom--duration--instant) var(--wp--custom--ease--standard),
			color var(--wp--custom--duration--instant) var(--wp--custom--ease--standard);
	}
	header.wp-block-template-part .rz-header-inner {
		position: relative;
		justify-content: space-between !important;
		flex-wrap: nowrap !important;
		min-height: var(--wp--custom--toggle--size);
	}
	main#content {
		margin-top: 0 !important;
		margin-bottom: 0 !important;
	}
	header.wp-block-template-part .rz-wordmark {
		position: static;
		transform: none;
		z-index: 1;
		margin-right: auto !important;
	}
	/* v3b: centre the rust/ink wordmark in the header bar while the menu is open. */
	header.wp-block-template-part.rz-menu-active .rz-wordmark {
		position: absolute;
		left: 0;
		right: 0;
		margin-left: 0 !important;
		margin-right: 0 !important;
		display: flex;
		justify-content: center;
		pointer-events: none;
	}
	header.wp-block-template-part.rz-menu-active .rz-wordmark a {
		pointer-events: auto;
	}
	header.wp-block-template-part .rz-wordmark-stack {
		display: grid;
	}
	header.wp-block-template-part .rz-wordmark img {
		grid-area: 1 / 1;
		width: min(10.5rem, 48vw) !important;
		max-width: none !important;
		transition: opacity var(--wp--custom--duration--quick) var(--wp--custom--ease--standard);
	}
	header.wp-block-template-part .rz-wordmark-open {
		opacity: 0;
	}
	header.wp-block-template-part.rz-menu-active .rz-wordmark-closed {
		opacity: 0;
	}
	header.wp-block-template-part.rz-menu-active .rz-wordmark-open {
		opacity: 1;
	}
	header.wp-block-template-part .rz-header-inner > nav.wp-block-navigation {
		margin-left: auto !important;
		margin-right: 0 !important;
		position: relative;
		z-index: 2;
	}
	header.wp-block-template-part .wp-block-navigation__responsive-container-open,
	header.wp-block-template-part .wp-block-navigation__responsive-container-close {
		box-sizing: border-box;
		width: var(--wp--custom--toggle--size);
		height: var(--wp--custom--toggle--size);
		min-width: var(--wp--custom--toggle--size);
		min-height: var(--wp--custom--toggle--size);
		padding: 0 !important;
		border: 0 !important;
		border-radius: 0 !important;
		background-color: transparent !important;
		box-shadow: none !important;
		align-items: center;
		justify-content: center;
	}
	header.wp-block-template-part .wp-block-navigation__responsive-container-open {
		justify-content: flex-end;
		color: var(--wp--preset--color--subtle) !important;
	}
	header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open {
		position: fixed !important;
		top: 0 !important;
		right: 0 !important;
		bottom: 0 !important;
		left: 0 !important;
		width: 100vw !important;
		height: auto !important;
		min-height: 0 !important;
		max-height: none !important;
		padding: 0 !important;
		overflow: hidden !important;
		overscroll-behavior: contain;
		background-color: transparent !important;
		color: var(--wp--preset--color--contrast) !important;
		isolation: isolate;
	}
	header.wp-block-template-part .wp-block-navigation__responsive-container-close {
		position: fixed !important;
		top: 8px !important;
		left: auto !important;
		right: 12px !important;
		z-index: 1002;
		justify-content: flex-end;
		color: var(--wp--preset--color--contrast) !important;
	}
	header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close,
	header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog,
	header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
	header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
		box-sizing: border-box;
		width: 100% !important;
		max-width: none !important;
	}
	header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close {
		position: relative;
		z-index: 1;
		margin: 0 !important;
	}
	header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .rz-menu-surface {
		position: fixed !important;
		top: calc(2 * var(--wp--custom--space--band-header) + var(--wp--custom--tap)) !important;
		right: 0 !important;
		bottom: 0 !important;
		left: 0 !important;
		z-index: 1;
		box-sizing: border-box;
		align-items: center !important;
		justify-content: safe center !important;
		width: 100vw !important;
		height: auto !important;
		padding: var(--wp--preset--spacing--small-medium) 0 calc(var(--wp--preset--spacing--small-medium) + var(--wp--preset--spacing--x-small) + var(--wp--preset--spacing--large)) !important;
		overflow-y: auto !important;
		overscroll-behavior: contain;
		background-color: var(--wp--preset--color--blush) !important;
		animation: rz-menu-drop var(--wp--custom--duration--reveal) var(--wp--custom--ease--out) both;
		will-change: clip-path;
	}
	header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
		align-items: center !important;
		justify-content: center !important;
		row-gap: var(--wp--custom--space--chrome-inset) !important;
		column-gap: 0 !important;
	}
	header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
		width: 100% !important;
		align-items: center;
		justify-content: center;
	}
	header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
		box-sizing: border-box;
		display: flex !important;
		align-items: center;
		justify-content: center !important;
		width: 100%;
		min-height: 72px;
		padding: 0 var(--wp--custom--space--chrome-inset) !important;
		color: var(--wp--preset--color--contrast) !important;
		text-align: center !important;
	}
	header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover {
		color: var(--wp--preset--color--contrast) !important;
		background-color: var(--wp--preset--color--blush-strong);
	}
	header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:focus-visible {
		outline: 2px solid var(--wp--preset--color--crimson);
		outline-offset: -2px;
	}
	header.wp-block-template-part .rz-menu-icon {
		display: block !important;
		flex: 0 0 auto;
		width: 2rem !important;
		height: 2rem !important;
		overflow: visible;
	}
	header.wp-block-template-part.rz-menu-active .rz-wordmark-open {
		animation: rz-wordmark-reveal var(--wp--custom--duration--reveal) var(--wp--custom--ease--out) both;
	}
	header.wp-block-template-part.rz-menu-active.rz-menu-closing .rz-wordmark-open {
		animation: rz-wordmark-cross-out var(--wp--custom--duration--fast) var(--wp--custom--ease--standard) both;
	}
	header.wp-block-template-part.rz-menu-active.rz-menu-closing .rz-wordmark-closed {
		animation: rz-wordmark-cross-in var(--wp--custom--duration--fast) var(--wp--custom--ease--standard) both;
	}
	header.wp-block-template-part.rz-menu-closing .wp-block-navigation__responsive-container.is-menu-open .rz-menu-surface {
		animation: rz-menu-drop-close var(--wp--custom--duration--fast) var(--wp--custom--ease--in) both;
	}
	header.wp-block-template-part .rz-menu-icon .bar-top,
	header.wp-block-template-part .rz-menu-icon .bar-mid,
	header.wp-block-template-part .rz-menu-icon .bar-bot {
		fill: currentColor;
		transform-box: fill-box;
		transform-origin: center;
		transition:
			transform var(--wp--custom--duration--settle) var(--wp--custom--ease--out),
			opacity var(--wp--custom--duration--brisk) var(--wp--custom--ease--standard);
		will-change: transform, opacity;
	}
	header.wp-block-template-part.rz-menu-closing .wp-block-navigation__responsive-container-close .rz-menu-icon .bar-top,
	header.wp-block-template-part.rz-menu-closing .wp-block-navigation__responsive-container-close .rz-menu-icon .bar-bot {
		animation: rz-close-icon-color var(--wp--custom--duration--fast) var(--wp--custom--ease--linear) both;
		transition: transform var(--wp--custom--duration--fast) var(--wp--custom--ease--out);
	}
	header.wp-block-template-part.rz-menu-closing .wp-block-navigation__responsive-container-close .rz-menu-icon .bar-mid {
		animation: rz-close-icon-color var(--wp--custom--duration--fast) var(--wp--custom--ease--linear) both;
		transition:
			transform var(--wp--custom--duration--instant) var(--wp--custom--ease--out) var(--wp--custom--duration--instant),
			opacity var(--wp--custom--duration--instant) var(--wp--custom--ease--standard) var(--wp--custom--duration--instant);
	}
	header.wp-block-template-part .rz-menu-icon.open .bar-top {
		transform: translateY(10px) rotate(45deg);
	}
	header.wp-block-template-part .rz-menu-icon.open .bar-bot {
		transform: translateY(-10px) rotate(-45deg);
	}
	header.wp-block-template-part .rz-menu-icon.open .bar-mid {
		transform: scaleX(0);
		opacity: 0;
	}
	header.wp-block-template-part .wp-block-navigation__responsive-container-open:hover,
	header.wp-block-template-part .wp-block-navigation__responsive-container-close:hover {
		color: var(--wp--preset--color--accent-on-dark);
		background-color: transparent !important;
	}
	header.wp-block-template-part.rz-menu-active .wp-block-navigation__responsive-container-close:hover {
		color: var(--wp--preset--color--contrast) !important;
	}
	header.wp-block-template-part .wp-block-navigation__responsive-container-open:focus-visible,
	header.wp-block-template-part .wp-block-navigation__responsive-container-close:focus-visible {
		border-radius: var(--wp--custom--radius--md) !important;
	}
}
@media (min-width: 782px) {
	header.wp-block-template-part .rz-wordmark-open {
		display: none !important;
	}
}

/* "Work with me" is the nav's call to action. parts/header.html gives that
   link the `ns-nav-cta` class, and it renders as a North Star button: on the
   ink band, the light face (is-style-ns-light) with the rust offset shadow.
   In the pink mobile menu, it is the ink face, set a step smaller (heading size
   against the links' title size, § Type roles) so "WORK WITH ME" plus its padding fits a 412px phone
   on one line. Both faces are square, like every ns button. The current-page
   underline stays, in ink. The accent-on-dark it uses elsewhere in the band is
   unreadable on the light face. */
header.wp-block-template-part .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item.ns-nav-cta {
	margin-inline-start: var(--wp--preset--spacing--x-small);
}

header.wp-block-template-part .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item.ns-nav-cta .wp-block-navigation-item__content {
	padding: var(--wp--preset--spacing--x-small) var(--wp--preset--spacing--small);
	border-radius: 0;
	background-color: var(--wp--preset--color--light);
	color: var(--wp--preset--color--contrast);
	box-shadow: var(--wp--custom--shadow--offset);
	text-decoration: none;
}

header.wp-block-template-part .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item.ns-nav-cta .wp-block-navigation-item__content:is(:hover, :focus-visible, :active) {
	background-color: var(--wp--preset--color--light);
	color: var(--wp--preset--color--contrast);
	box-shadow: var(--wp--custom--shadow--offset-hover);
}

header.wp-block-template-part .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item.ns-nav-cta .wp-block-navigation-item__content[aria-current="page"] {
	color: var(--wp--preset--color--contrast);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.35em;
	text-decoration-color: var(--wp--preset--color--contrast);
}

/* The focus ring sits outside the 7px hover/focus shadow rather than on it. */
header.wp-block-template-part .wp-block-navigation-item.ns-nav-cta .wp-block-navigation-item__content:focus-visible {
	outline-offset: 9px;
}

@media (max-width: 781.98px) {
	header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item.ns-nav-cta .wp-block-navigation-item__content {
		width: fit-content;
		min-height: 64px;
		margin-inline: auto !important;
		padding: 0 var(--wp--custom--space--inline) !important;
		border-radius: 0;
		background-color: var(--wp--preset--color--contrast);
		color: var(--wp--preset--color--light) !important;
		box-shadow: var(--wp--custom--shadow--offset);
	}

	header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item.ns-nav-cta .wp-block-navigation-item__content:is(:hover, :focus-visible, :active) {
		background-color: var(--wp--preset--color--contrast);
		color: var(--wp--preset--color--light) !important;
		box-shadow: var(--wp--custom--shadow--offset-hover);
	}

	header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item.ns-nav-cta .wp-block-navigation-item__content:focus-visible {
		outline-offset: 9px;
	}

	header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item.ns-nav-cta .wp-block-navigation-item__content[aria-current="page"] {
		color: var(--wp--preset--color--light) !important;
		text-decoration: underline;
		text-decoration-color: var(--wp--preset--color--light);
	}
}

@media (prefers-reduced-motion: no-preference) {
	header.wp-block-template-part .wp-block-navigation-item.ns-nav-cta .wp-block-navigation-item__content {
		transition:
			transform var(--wp--custom--duration--quick) var(--wp--custom--ease--standard),
			box-shadow var(--wp--custom--duration--quick) var(--wp--custom--ease--standard);
	}

	header.wp-block-template-part .wp-block-navigation-item.ns-nav-cta .wp-block-navigation-item__content:is(:hover, :focus-visible) {
		transform: translate(-2px, -2px);
	}
}
@keyframes rz-close-icon-color {
	0%,
	49.999% {
		fill: var(--wp--preset--color--contrast);
	}
	50%,
	100% {
		fill: var(--wp--preset--color--subtle);
	}
}
@keyframes rz-wordmark-reveal {
	from {
		opacity: 0;
		-webkit-clip-path: inset(0 100% 0 0);
		clip-path: inset(0 100% 0 0);
		transform: translateX(-3px);
	}
	to {
		opacity: 1;
		-webkit-clip-path: inset(0 0 0 0);
		clip-path: inset(0 0 0 0);
		transform: translateX(0);
	}
}
@keyframes rz-menu-drop {
	from {
		-webkit-clip-path: inset(0 0 100% 0);
		clip-path: inset(0 0 100% 0);
	}
	to {
		-webkit-clip-path: inset(0 0 0 0);
		clip-path: inset(0 0 0 0);
	}
}
@keyframes rz-menu-drop-close {
	from {
		-webkit-clip-path: inset(0 0 0 0);
		clip-path: inset(0 0 0 0);
	}
	to {
		-webkit-clip-path: inset(0 0 100% 0);
		clip-path: inset(0 0 100% 0);
	}
}
@keyframes rz-wordmark-cross-out {
	from { opacity: 1; }
	to { opacity: 0; }
}
@keyframes rz-wordmark-cross-in {
	from { opacity: 0; }
	to { opacity: 1; }
}
@media (max-width: 781.98px) and (prefers-reduced-motion: reduce) {
	header.wp-block-template-part .rz-wordmark-closed,
	header.wp-block-template-part .rz-wordmark-open {
		animation: none !important;
		transition: none !important;
	}
	header.wp-block-template-part .rz-menu-icon .bar-top,
	header.wp-block-template-part .rz-menu-icon .bar-mid,
	header.wp-block-template-part .rz-menu-icon .bar-bot {
		animation: none !important;
		transition: none !important;
	}
	header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .rz-menu-surface {
		animation: none !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* ── Spacing roles: structure (the values live in settings.custom.space.*) ────
   One owner per boundary. A boundary between two boxes on the same surface is
   one `section` gap; a band edge (a different background) keeps both pads. */
.ns-page > :is(.ns-hero, .ns-section):not([class*="ns-band"]) + .ns-section:not([class*="ns-band"]) {
	padding-top: 0;
}

.ns-page .ns-hero:not([class*="ns-band"]) + :is(.ns-stack, .ns-closing):not([class*="ns-band"]) {
	margin-top: 0;
}

/* A label owns the gap to what it labels. */
.ns-page .ns-label + .wp-block-columns.ns-fit {
	margin-top: 0;
}

/* A last child never leaks its own margin into the padding of its box. */
.ns-page .ns-shell > :last-child,
.ns-page .ns-section > :last-child,
.ns-page .ns-split > .wp-block-column > :last-child {
	margin-bottom: 0;
}

/* ── Tap targets: at least 44px both ways. A size floor on the control, not spacing. */
header.wp-block-template-part .wp-block-navigation__responsive-container-open,
header.wp-block-template-part .wp-block-navigation__responsive-container-close {
	box-sizing: border-box;
	min-width: var(--wp--custom--tap);
	min-height: var(--wp--custom--tap);
}
/* Controls are at least 44px in both axes. Header controls grow as a layout min-size (the row is already taller).
   Footer icons keep their visual size; a transparent ::after gives them the 44px hit area, so the footer does not grow. */
header.wp-block-template-part .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item__content,
header.wp-block-template-part .rz-wordmark a {
	display: inline-flex !important;
	align-items: center;
	box-sizing: border-box;
	min-height: var(--wp--custom--tap);
}
footer.wp-block-template-part .rz-footer-mark,
footer.wp-block-template-part .wp-block-social-link a { position: relative; }
footer.wp-block-template-part .rz-footer-mark::after,
footer.wp-block-template-part .wp-block-social-link a::after {
	content: "";
	position: absolute;
	inset: min(0px, calc((100% - var(--wp--custom--tap)) / 2));
}
/* Footer wordmark / email: the `micro` step (patterns/footer.php blockGap moves to var:preset|spacing|xx-small). */
footer.wp-block-template-part .rz-footer-identity .wp-block-group > * + * {
	margin-top: var(--wp--custom--space--micro);
}

/* ── Hanging keys sit on the title's baseline (no `top` offsets) ─────────────
   Keys that are real elements (Home key rows and dark rows) are the first cell of a two-column grid and
   share the title's first baseline, whatever the title's fluid size. Keys that are pseudo-elements
   (steps, good-fit marks) are inline-blocks hung into the row's left padding, so they sit on the first
   line's baseline by construction. */
.ns-page .ns-rows-key .ns-row {
	display: grid;
	grid-template-columns: var(--wp--preset--spacing--medium) minmax(0, 1fr);
	padding-left: 0;
}
.ns-page .ns-rows-key .ns-row > * { grid-column: 2; min-width: 0; }
.ns-page .ns-rows-key .ns-row > .ns-row-key { grid-column: 1; grid-row: 1; align-self: baseline; position: static; }
.ns-page .ns-rows-key .ns-row > .ns-row-title { grid-row: 1; align-self: baseline; }
@media (min-width: 782px) {
	.ns-page .ns-rows-dark .ns-row {
		display: grid;
		grid-template-columns: var(--wp--preset--spacing--x-large) minmax(0, 1fr);
		padding-left: 0;
	}
	.ns-page .ns-rows-dark .ns-row > * { grid-column: 2; min-width: 0; }
	.ns-page .ns-rows-dark .ns-row > .ns-row-key { grid-column: 1; grid-row: 1; align-self: baseline; position: static; width: auto; }
	.ns-page .ns-rows-dark .ns-row > .ns-row-title { grid-row: 1; align-self: baseline; }
	/* My Work: the number and the entry's first line (the meta line) share a baseline. */
	.ns-page .ns-rows-work .ns-row-key,
	.ns-page .ns-rows-work .ns-row-main { align-self: baseline; }
	.ns-page .ns-rows-work .ns-row-key { margin: 0; }
}
.ns-page .ns-steps > li::before,
.ns-page .ns-fit li::before {
	position: static;
	display: inline-block;
	box-sizing: border-box;
}
.ns-page .ns-steps > li::before { width: var(--wp--preset--spacing--large); margin-left: calc(-1 * var(--wp--preset--spacing--large)); }
.ns-page .ns-fit li::before { width: var(--wp--preset--spacing--medium); margin-left: calc(-1 * var(--wp--preset--spacing--medium)); }
/* About icon rows: the logo tile's top, the title's cap-top and the description's cap-top are one line, the row padding.
   The optical offsets are the Montserrat / Georgia distance from line-box top to cap-top, in em so they follow the fluid title. */
.ns-page .ns-rows-icon .ns-row-title { margin-top: -0.22em; }
@media (min-width: 782px) { .ns-page .ns-rows-icon .ns-row-body { margin-top: -0.37em; } }

/* ── Layout widths ───────────────────────────────────────────────────────────
   One grid for every page (tokens in settings.custom.width.*): the 1180px shell
   inside the gutter; from 782px a split of rail 5fr | gap | column 7fr, the gap
   being the `split` spacing role; one stack below. Two text measures: `lede`
   (hero intros, 56rem) and `reading` (66ch prose). Everything else is the rail
   or the column, so a text block carries no width of its own (audit r9).

   Placement rule. A text block sits on the column line only when a rail element
   (a label, a number or a heading) sits beside it. A block that follows a
   full-width component aligns to that component's grid instead (the fee note
   under the offers starts on the first card; My Work's outro on the rows' left
   edge). Heroes are the exception: the lede sits under the title at the shell's
   left edge. Compositions on the split are below; the component rules above
   (split columns, work and icon rows, offers, fit, legal) read the same tokens. */
@media (min-width: 782px) {
	/* About: label and heading in the rail, the rows in the column. */
	.ns-page .ns-stack,
	.ns-page .ns-closing,
	.ns-page .ns-shell.ns-cta {
		display: grid;
		grid-template-columns: var(--wp--custom--width--split);
		column-gap: var(--wp--custom--width--gap);
		align-items: start;
	}

	.ns-page .ns-stack > .ns-label {
		grid-column: 1;
		grid-row: 1;
	}

	.ns-page .ns-stack > .ns-heading {
		grid-column: 1;
		grid-row: 2;
	}

	.ns-page .ns-stack > .ns-rows {
		grid-column: 2;
		grid-row: 1 / span 3;
	}

	/* The closing block and the rust call to action: label in the rail, the text,
	   heading and buttons in the column (as Home's last section). */
	.ns-page .ns-closing > .ns-label {
		grid-column: 1;
		grid-row: 1 / span 3;
	}

	.ns-page .ns-closing > :not(.ns-label),
	.ns-page .ns-cta > :not(.ns-label) {
		grid-column: 2;
	}

	/* Grid items do not collapse margins: the buttons' own `group` margin is the gap.
	   Only the copy directly above the buttons, so two copy paragraphs keep their gap. */
	.ns-page .ns-cta > .ns-copy:has(+ .wp-block-buttons) {
		margin-bottom: 0;
	}

	.ns-page .ns-cta > .ns-label {
		grid-column: 1;
		grid-row: 1 / span 5;
	}

	/* Legal pages: number and heading in the rail, text in the column. The hairline
	   over a section runs under both columns: the h2 reaches across the gap and
	   the first block after it carries the rest. The h2 spans many (empty,
	   zero-height) rows so a tall heading never stretches the first paragraph's
	   row; tools/compare.js fails when a section has more blocks than the span. */
	.ns-prose .wp-block-post-content {
		display: grid;
		grid-template-columns: var(--wp--custom--width--split);
		column-gap: var(--wp--custom--width--gap);
		align-items: start;
	}

	.ns-prose .wp-block-post-content > * {
		grid-column: 2;
		min-width: 0;
	}

	.ns-prose .wp-block-post-content > h1,
	.ns-prose .wp-block-post-content > h1 + p,
	.ns-prose .wp-block-post-content > h1 + p + p {
		grid-column: 1 / -1;
	}

	.ns-prose .wp-block-post-content > h1 + p {
		text-wrap: balance;
	}

	.ns-prose .wp-block-post-content > h2 {
		grid-column: 1;
		grid-row: span var(--ns-legal-span, 60);
		align-self: start;
		margin: var(--wp--custom--space--stack) calc(-1 * var(--wp--custom--width--gap)) 0 0;
		padding-right: var(--wp--custom--width--gap);
	}

	/* The blanket margin-inline reset would zero the h2's reach across the gap. */
	.ns-prose .wp-block-post-content > h2 {
		margin-right: calc(-1 * var(--wp--custom--width--gap)) !important;
	}

	/* Grid items do not collapse margins, so the first h2 owns the gap above it. */
	.ns-prose .wp-block-post-content > h1 + p + p {
		margin-bottom: 0;
	}

	.ns-prose .wp-block-post-content > h2 + * {
		margin-top: var(--wp--custom--space--stack);
		padding-top: var(--wp--custom--space--group);
		border-top: 1px solid var(--ns-line);
	}

	/* The text that opens a section starts on the heading's line. The :not() chain
	   matches the paragraph rule above so this one wins on specificity. */
	.ns-prose .wp-block-post-content > h2 + :is(p, ul, ol):not(h1 + p):not(h1 + p + p) {
		margin-top: var(--wp--custom--space--stack);
	}
}

/*
 * One-page site (v21) styles.
 *
 * Scoped to .ns-page.rz-onepage, a class used only by the one-page
 * draft page, so existing pages are unaffected.
 *
 * Spacing uses --wp--preset--spacing--* or --wp--custom--* tokens only.
 */

/* Section kicker sits on its own line above the heading. */
.ns-page.rz-onepage .ns-section-head {
	width: 100%;
	margin: 0 0 var(--wp--custom--space--marker);
}

.ns-page.rz-onepage .ns-section-head .ns-label {
	margin-bottom: 0;
}

/* How I Think intro fills the shell; first paragraph is already .ns-lede. */
.ns-page.rz-onepage .ns-measure {
	max-width: calc(0.75 * var(--wp--custom--width--lede));
	margin: 0 0 var(--wp--custom--space--stack);
}

.ns-page.rz-onepage .ns-heading + .ns-measure {
	margin-top: var(--wp--custom--space--group);
}

.ns-page.rz-onepage #think .ns-measure {
	max-width: none;
	width: 100%;
}

.ns-page.rz-onepage #think .ns-measure-flow {
	width: 100%;
}

/* Services lead: keep the existing ns-split 5/7 grid; add stack spacing under it. */
.ns-page.rz-onepage .ns-lead-row {
	margin: 0 0 var(--wp--custom--space--stack);
}

.ns-page.rz-onepage .ns-lead-row .ns-heading {
	margin: 0;
}

.ns-page.rz-onepage .ns-lead-row .ns-button-link {
	margin-top: var(--wp--custom--space--group);
}

/*
 * How I Think rows: hanging key + stacked title/body on a phone;
 * key | title | body across the shell from 782px.
 * Higher specificity so this wins over .ns-page .ns-rows-key .ns-row.
 */
.ns-page.rz-onepage .ns-rows-full.ns-rows-key .ns-row,
.ns-page.rz-onepage .ns-rows-full .ns-row {
	display: grid;
	grid-template-columns: var(--wp--preset--spacing--medium-large) minmax(0, 1fr);
	column-gap: var(--wp--custom--space--group);
	padding: var(--wp--custom--space--row-card) 0;
	align-items: start;
	align-content: start;
}

.ns-page.rz-onepage .ns-rows-full .ns-row > .ns-row-key {
	grid-column: 1;
	grid-row: 1;
}

.ns-page.rz-onepage .ns-rows-full .ns-row > .ns-row-title,
.ns-page.rz-onepage .ns-rows-full .ns-row > .ns-row-body {
	grid-column: 2;
	min-width: 0;
}

.ns-page.rz-onepage .ns-rows-full .ns-row-title {
	text-wrap: pretty;
}

.ns-page.rz-onepage .ns-rows-full .ns-row-body + .ns-row-body {
	font-style: italic;
}

@media (min-width: 782px) {
	.ns-page.rz-onepage .ns-rows-full.ns-rows-key .ns-row,
	.ns-page.rz-onepage .ns-rows-full .ns-row {
		grid-template-columns: var(--wp--preset--spacing--medium-large) minmax(18rem, 0.85fr) minmax(0, 1.15fr);
		column-gap: var(--wp--custom--space--group);
		align-items: baseline;
	}

	.ns-page.rz-onepage .ns-rows-full .ns-row > .ns-row-key {
		grid-column: 1;
		grid-row: 1;
	}

	.ns-page.rz-onepage .ns-rows-full .ns-row > .ns-row-title {
		grid-column: 2;
		grid-row: 1;
	}

	.ns-page.rz-onepage .ns-rows-full .ns-row > .ns-row-body {
		grid-column: 3;
	}
}

@media (max-width: 781.98px) {
	.ns-page.rz-onepage #think .ns-rows-full .ns-row > .ns-row-key {
		text-align: center;
	}
}

/*
 * Offer / work cards: stack on a phone, 2×2 from 782px, four across from 1100px.
 * Overrides .ns-rows-dark / .ns-rows-key row padding and borders when both
 * classes are present (so the draft stays readable before this patch lands).
 */
.ns-page.rz-onepage .ns-cards {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0;
	margin: 0;
	border-top: 1px solid var(--ns-line);
	align-items: stretch;
}

.ns-page.rz-onepage .ns-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: var(--wp--preset--spacing--small) 0;
	border-bottom: 1px solid var(--ns-line);
	border-top: 0;
	min-width: 0;
}

.ns-page.rz-onepage .ns-rows-dark.ns-cards,
.ns-page.rz-onepage .ns-rows-key.ns-cards {
	border-top-color: var(--ns-line);
}

.ns-page.rz-onepage .ns-rows-dark .ns-card,
.ns-page.rz-onepage .ns-rows-key .ns-card {
	padding: var(--wp--preset--spacing--small) 0;
	border-bottom: 1px solid var(--ns-line);
}

.ns-page.rz-onepage .ns-card .ns-row-key {
	margin-bottom: var(--wp--custom--space--micro);
}

.ns-page.rz-onepage .ns-card .ns-row-title {
	margin-bottom: var(--wp--custom--space--micro);
}

.ns-page.rz-onepage .ns-band-cover .ns-cards,
.ns-page.rz-onepage .ns-band-cover .ns-rows-dark.ns-cards {
	border-top-color: var(--ns-line-dark);
}

.ns-page.rz-onepage .ns-band-cover .ns-card {
	border-bottom-color: var(--ns-line-dark);
}

.ns-page.rz-onepage .ns-band-cover .ns-card .ns-row-key {
	color: var(--ns-rust-hi);
}

.ns-page.rz-onepage .ns-band-cover .ns-card .ns-row-title {
	color: var(--ns-white);
}

.ns-page.rz-onepage .ns-band-cover .ns-card .ns-row-body {
	color: var(--ns-copy-dark);
}

@media (min-width: 782px) {
	.ns-page.rz-onepage .ns-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ns-page.rz-onepage .ns-card,
	.ns-page.rz-onepage .ns-rows-dark .ns-card,
	.ns-page.rz-onepage .ns-rows-key .ns-card {
		padding: var(--wp--preset--spacing--small-medium);
	}

	.ns-page.rz-onepage .ns-card:nth-child(odd) {
		padding-left: 0;
		border-right: 1px solid var(--ns-line);
	}

	.ns-page.rz-onepage .ns-card:nth-child(even) {
		padding-right: 0;
	}

	.ns-page.rz-onepage .ns-band-cover .ns-card:nth-child(odd) {
		border-right-color: var(--ns-line-dark);
	}
}

@media (min-width: 1100px) {
	.ns-page.rz-onepage .ns-cards {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.ns-page.rz-onepage .ns-card,
	.ns-page.rz-onepage .ns-card:nth-child(odd),
	.ns-page.rz-onepage .ns-card:nth-child(even),
	.ns-page.rz-onepage .ns-rows-dark .ns-card,
	.ns-page.rz-onepage .ns-rows-key .ns-card {
		padding: var(--wp--preset--spacing--small-medium) var(--wp--preset--spacing--small);
		border-right: 0;
	}

	.ns-page.rz-onepage .ns-card + .ns-card {
		border-left: 1px solid var(--ns-line);
	}

	.ns-page.rz-onepage .ns-card:first-child {
		padding-left: 0;
	}

	.ns-page.rz-onepage .ns-card:last-child {
		padding-right: 0;
	}

	.ns-page.rz-onepage .ns-band-cover .ns-card + .ns-card {
		border-left-color: var(--ns-line-dark);
	}

	/* Selected Work stays two-up, not four-across. */
	.ns-page.rz-onepage .ns-cards-2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ns-page.rz-onepage .ns-cards-2 .ns-card,
	.ns-page.rz-onepage .ns-cards-2 .ns-card:nth-child(odd),
	.ns-page.rz-onepage .ns-cards-2 .ns-card:nth-child(even) {
		padding: var(--wp--preset--spacing--small-medium);
		border-right: 0;
		border-left: 0;
	}

	.ns-page.rz-onepage .ns-cards-2 .ns-card:nth-child(odd) {
		padding-left: 0;
		border-right: 1px solid var(--ns-line);
	}

	.ns-page.rz-onepage .ns-cards-2 .ns-card:nth-child(even) {
		padding-right: 0;
	}

	.ns-page.rz-onepage .ns-cards-2 .ns-card + .ns-card {
		border-left: 0;
	}
}

/* About portrait: 4:5 crop, rust-offset shadow. */
.ns-page.rz-onepage .ns-portrait {
	margin: 0;
	background: var(--ns-ink);
	box-shadow: var(--wp--custom--shadow--offset);
	aspect-ratio: 4 / 5;
	overflow: hidden;
}

.ns-page.rz-onepage .ns-portrait img,
.ns-page.rz-onepage figure.ns-portrait img {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center 20%;
	border-radius: 0;
}

.ns-page.rz-onepage .ns-about .ns-heading {
	margin: 0 0 var(--wp--custom--space--group);
}

.ns-page.rz-onepage .ns-about .ns-bio {
	margin: 0;
}

.ns-page.rz-onepage .ns-about .ns-copy {
	margin-top: var(--wp--custom--space--para);
}

.ns-page.rz-onepage .ns-work-block {
	margin-top: var(--wp--custom--space--stack);
	padding-top: var(--wp--custom--space--group);
	border-top: 1px solid var(--ns-line);
}

.ns-page.rz-onepage .ns-sublabel {
	margin: 0 0 var(--wp--custom--space--group);
	color: var(--ns-muted);
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--label);
	font-weight: var(--wp--custom--type--label--weight);
	line-height: var(--wp--custom--type--label--line-height);
	letter-spacing: var(--wp--custom--type--label--tracking);
	text-transform: var(--wp--custom--type--label--case);
}

/* Compact rust contact band and mailto form. */
.ns-page.rz-onepage .ns-band-rust.ns-band-compact {
	padding-block: var(--wp--custom--space--stack);
}

.ns-page.rz-onepage .ns-band-rust.ns-band-compact .ns-section-head {
	margin-bottom: var(--wp--custom--space--group);
}

.ns-page.rz-onepage .ns-band-rust .ns-heading,
.ns-page.rz-onepage .ns-band-rust.ns-band-compact .ns-heading {
	margin: 0;
	max-width: calc(0.75 * var(--wp--custom--width--lede));
	color: var(--ns-white);
}

.ns-page.rz-onepage .ns-contact-copy {
	max-width: calc(0.75 * var(--wp--custom--width--lede));
}

@media (min-width: 782px) {
	.ns-page.rz-onepage .wp-block-columns.ns-split.ns-contact {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.ns-page.rz-onepage .ns-form-grid-2 {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: var(--wp--preset--spacing--small);
	}
}

.ns-page.rz-onepage .ns-form-note {
	margin: var(--wp--custom--space--para) 0 0;
	color: var(--ns-white);
	font-family: var(--wp--preset--font-family--serif);
	font-size: var(--wp--preset--font-size--small);
	line-height: var(--wp--custom--type--body-sm--line-height);
}

.ns-page.rz-onepage .ns-form-note a {
	color: var(--ns-light);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.16em;
}

.ns-page.rz-onepage .ns-form-note a:hover,
.ns-page.rz-onepage .ns-form-note a:focus-visible {
	text-decoration-thickness: 2px;
}

.ns-page.rz-onepage .ns-form {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--wp--preset--spacing--small);
}

.ns-page.rz-onepage .ns-field {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.ns-page.rz-onepage .ns-field label {
	margin: 0 0 var(--wp--custom--space--micro);
	color: var(--ns-white);
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: var(--wp--custom--type--label--weight);
	letter-spacing: var(--wp--custom--type--label--tracking);
	text-transform: var(--wp--custom--type--label--case);
}

.ns-page.rz-onepage .ns-field input,
.ns-page.rz-onepage .ns-field textarea {
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: 0 var(--wp--custom--control--padding-x);
	border: 0;
	border-radius: 0;
	background: var(--ns-light);
	color: var(--ns-ink);
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--small);
	height: auto;
	min-height: var(--wp--custom--tap);
}

.ns-page.rz-onepage .ns-field textarea {
	min-height: calc(var(--wp--custom--control--height) * 2.5);
	padding: var(--wp--custom--space--tight) var(--wp--custom--control--padding-x);
	resize: vertical;
}

.ns-page.rz-onepage .ns-field input:focus-visible,
.ns-page.rz-onepage .ns-field textarea:focus-visible {
	outline: 2px solid var(--ns-ink);
	outline-offset: 3px;
}

.ns-page.rz-onepage .ns-form .wp-element-button,
.ns-page.rz-onepage .ns-form button[type="submit"] {
	justify-self: start;
	width: auto;
	min-height: var(--wp--custom--tap);
	padding: 0 var(--wp--custom--button--padding-x);
	background: var(--ns-light);
	color: var(--ns-ink);
	border: 0;
	box-shadow: var(--wp--custom--shadow--offset-ink);
}

.ns-page.rz-onepage .ns-form .wp-element-button:hover,
.ns-page.rz-onepage .ns-form .wp-element-button:focus-visible,
.ns-page.rz-onepage .ns-form button[type="submit"]:hover,
.ns-page.rz-onepage .ns-form button[type="submit"]:focus-visible {
	box-shadow: var(--wp--custom--shadow--offset-ink-hover);
}

/*
 * One-page FAQ accordions.
 *
 * Scoped to .ns-page.rz-onepage, a class used only by the one-page
 * draft page, so existing pages are unaffected.
 *
 * Spacing uses --wp--preset--spacing--* or --wp--custom--* tokens only.
 */

/* Keep the list on the content shell; answers stay a comfortable measure. */
.ns-page.rz-onepage .ns-faq {
	margin: var(--wp--custom--space--group) 0 0;
	max-width: none;
}

.ns-page.rz-onepage .ns-faq-item,
.ns-page.rz-onepage .ns-faq .wp-block-details.ns-faq-item {
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--ns-line);
	border-bottom: 0;
	background: transparent;
	color: var(--ns-ink);
}

.ns-page.rz-onepage .ns-faq-item:last-child {
	border-bottom: 1px solid var(--ns-line);
}

.ns-page.rz-onepage .ns-faq-item > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--small);
	box-sizing: border-box;
	min-height: var(--wp--custom--tap);
	margin: 0;
	padding: var(--wp--custom--space--row-card) 0;
	color: var(--ns-ink);
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--large);
	font-weight: var(--wp--custom--type--subheading--weight);
	line-height: var(--wp--custom--type--subheading--line-height);
	letter-spacing: var(--wp--custom--type--subheading--tracking);
	text-transform: var(--wp--custom--type--subheading--case);
	cursor: pointer;
	list-style: none;
}

.ns-page.rz-onepage .ns-faq-item > summary::-webkit-details-marker,
.ns-page.rz-onepage .ns-faq-item > summary::marker {
	display: none;
	content: "";
}

.ns-page.rz-onepage .ns-faq-item > summary .ns-faq-q {
	flex: 1 1 auto;
	min-width: 0;
	text-wrap: pretty;
}

/* Rust chevron, same weight as the label rules. */
.ns-page.rz-onepage .ns-faq-item > summary::after {
	content: "";
	flex: 0 0 auto;
	width: 0.55em;
	height: 0.55em;
	margin-top: -0.15em;
	border-right: 2px solid var(--ns-rust);
	border-bottom: 2px solid var(--ns-rust);
	transform: rotate(45deg);
	transition: transform var(--wp--custom--duration--fast) var(--wp--custom--easing);
}

.ns-page.rz-onepage .ns-faq-item[open] > summary::after {
	margin-top: 0.15em;
	transform: rotate(225deg);
}

.ns-page.rz-onepage .ns-faq-item > summary:focus-visible {
	outline: 2px solid var(--ns-ink);
	outline-offset: 3px;
}

.ns-page.rz-onepage .ns-faq-item .ns-faq-a,
.ns-page.rz-onepage .ns-faq-item > .wp-block-paragraph,
.ns-page.rz-onepage .ns-faq-item > p {
	margin: 0 0 var(--wp--custom--space--group);
	max-width: var(--wp--custom--width--reading);
	color: var(--ns-copy);
	font-family: var(--wp--preset--font-family--serif);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: var(--wp--custom--type--body--weight);
	line-height: var(--wp--custom--type--body--line-height);
	letter-spacing: var(--wp--custom--type--body--tracking);
}

/**
 * Option A2 — Editorial surface rhythm, ink contact band, rust as emphasis.
 *
 * Append to extras.css. Scoped to .ns-page.rz-onepage (the one-page draft only)
 * so published pages are untouched. Colours, type, and space read existing
 * theme tokens; the paper tint is a color-mix of paper + line, with no new hex.
 * Contact uses theme ink. Rust is reserved for emphasis (hero signal, quote
 * rule, lead AI card, step numerals, FAQ hover/open, contact CTA).
 */

.ns-page.rz-onepage {
	--ns-paper-tint: color-mix(in srgb, var(--wp--preset--color--line) 22%, var(--ns-paper));
}

/* ── Surfaces (from Option A) ─────────────────────────────────────────────── */
.ns-page.rz-onepage .ns-band-quote {
	width: 100%;
	padding-block: var(--wp--custom--space--stack);
	background-color: var(--ns-paper);
	color: var(--ns-ink);
	border-block: 1px solid var(--ns-line);
}

.ns-page.rz-onepage .ns-band-quote .ns-quote {
	max-width: var(--wp--custom--width--shell);
	margin-inline: auto;
	width: calc(100% - var(--wp--custom--width--gutter) - var(--wp--custom--width--gutter));
}

.ns-page.rz-onepage .ns-band-quote .ns-quote blockquote {
	margin: 0;
	padding: 0;
	padding-left: var(--wp--custom--space--group);
	border: 0;
	border-left: 2px solid var(--ns-rust);
	text-align: left;
}

.ns-page.rz-onepage .ns-band-quote .ns-quote p {
	margin: 0;
	color: var(--ns-ink);
	max-width: var(--wp--custom--width--lede);
}

.ns-page.rz-onepage .ns-band-quote .ns-quote cite {
	display: block;
	margin-top: var(--wp--custom--space--eyebrow);
	color: var(--ns-muted);
	font-style: normal;
}

.ns-page.rz-onepage .ns-band-tint {
	box-sizing: border-box;
	width: 100%;
	background-color: var(--ns-paper-tint);
	color: var(--ns-ink);
}

.ns-page.rz-onepage .ns-band-tint > .ns-section,
.ns-page.rz-onepage .ns-band-ink > .ns-section {
	padding-block: var(--wp--custom--space--stack);
}

.ns-page.rz-onepage #how.ns-section,
.ns-page.rz-onepage #about.ns-section {
	padding-block: var(--wp--custom--space--stack);
}

.ns-page.rz-onepage .ns-section-head {
	margin-bottom: 0;
}

.ns-page.rz-onepage .ns-section-head .ns-label,
.ns-page.rz-onepage .ns-split .ns-label {
	margin-bottom: var(--wp--custom--space--eyebrow);
}

.ns-page.rz-onepage .ns-heading {
	margin-top: 0;
}

/* ── How It Works: typographic steps, rust numerals (already rust) ────────── */
.ns-page.rz-onepage .ns-steps > li {
	padding-left: var(--wp--preset--spacing--x-large);
}

.ns-page.rz-onepage .ns-steps > li::before {
	width: var(--wp--preset--spacing--x-large);
	margin-left: calc(-1 * var(--wp--preset--spacing--x-large));
	font-family: var(--wp--preset--font-family--display);
	font-weight: var(--wp--custom--type--index--weight);
	letter-spacing: var(--wp--custom--type--index--tracking);
	color: var(--ns-rust);
}

/* ── How I Think: ink anchor, open typographic rows ───────────────────────── */
.ns-page.rz-onepage .ns-band-ink .ns-heading,
.ns-page.rz-onepage .ns-band-ink .ns-lede {
	color: var(--ns-white);
}

.ns-page.rz-onepage .ns-band-ink .ns-copy,
.ns-page.rz-onepage .ns-band-ink .ns-copy-sm {
	color: var(--ns-copy-dark);
}

.ns-page.rz-onepage .ns-band-ink .ns-rows-key {
	margin-top: var(--wp--custom--space--group);
	border-top: 1px solid var(--ns-line-dark);
}

.ns-page.rz-onepage .ns-band-ink .ns-rows-key .ns-row {
	background: transparent;
	box-shadow: none;
	border: 0;
	border-bottom: 1px solid var(--ns-line-dark);
	padding-block: var(--wp--custom--space--row-card);
	padding-inline: 0;
}

.ns-page.rz-onepage .ns-band-ink .ns-rows-key .ns-row-title {
	color: var(--ns-white);
}

.ns-page.rz-onepage .ns-band-ink .ns-rows-key .ns-row-body {
	color: var(--ns-copy-dark);
}

.ns-page.rz-onepage .ns-band-ink .ns-rows-key .ns-row-key {
	color: var(--ns-rust-hi);
}

.ns-page.rz-onepage #about .ns-cards-2 .ns-card,
.ns-page.rz-onepage #about .ns-cards-2 .ns-card:nth-child(odd),
.ns-page.rz-onepage #about .ns-cards-2 .ns-card:nth-child(even) {
	background: transparent;
	box-shadow: none;
}

.ns-page.rz-onepage .ns-band-tint .ns-faq-item .ns-faq-a,
.ns-page.rz-onepage .ns-band-tint .ns-faq-item > p,
.ns-page.rz-onepage .ns-band-tint .ns-copy,
.ns-page.rz-onepage .ns-band-tint .ns-heading {
	color: inherit;
}

/* ── Rust emphasis: lead AI service card ──────────────────────────────────── */
.ns-page.rz-onepage .ns-band-cover .ns-cards > .ns-card:first-child {
	border-top: 2px solid var(--ns-rust-hi);
}

/* ── Rust emphasis: FAQ hover / open ──────────────────────────────────────── */
.ns-page.rz-onepage .ns-faq-item > summary:hover .ns-faq-q,
.ns-page.rz-onepage .ns-faq-item > summary:focus-visible .ns-faq-q,
.ns-page.rz-onepage .ns-faq-item[open] > summary .ns-faq-q {
	color: var(--ns-rust);
}

/* ── Contact band: theme ink, rust-bright top rule, rust CTA ──────────────── */
.ns-page.rz-onepage .ns-band-contact {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	overflow-x: clip;
	padding-block: var(--wp--custom--space--stack);
	background-color: var(--ns-ink);
	color: var(--ns-white);
	border-top: 2px solid var(--ns-rust-hi);
}

.ns-page.rz-onepage .ns-band-contact .ns-section-head {
	margin-bottom: var(--wp--custom--space--group);
}

.ns-page.rz-onepage .ns-band-contact .ns-heading {
	margin: 0;
	max-width: calc(0.75 * var(--wp--custom--width--lede));
	color: var(--ns-white);
}

.ns-page.rz-onepage .ns-band-contact .ns-copy,
.ns-page.rz-onepage .ns-band-contact .ns-copy-sm,
.ns-page.rz-onepage .ns-band-contact .ns-lede,
.ns-page.rz-onepage .ns-band-contact .ns-form-note {
	color: var(--ns-copy-dark);
}

.ns-page.rz-onepage .ns-band-contact .ns-form-note a,
.ns-page.rz-onepage .ns-band-contact a {
	color: var(--ns-white);
}

.ns-page.rz-onepage .ns-band-contact .ns-label-index {
	color: var(--ns-rust-hi);
}

.ns-page.rz-onepage .ns-band-contact .ns-label-name {
	color: var(--ns-soft);
}

.ns-page.rz-onepage .ns-band-contact .ns-label-rule,
.ns-page.rz-onepage .ns-band-contact .ns-label-rule::after {
	background-color: var(--ns-rust-hi);
}

.ns-page.rz-onepage .ns-band-contact .ns-field label {
	color: var(--ns-light);
}

.ns-page.rz-onepage .ns-band-contact .ns-field input,
.ns-page.rz-onepage .ns-band-contact .ns-field textarea {
	background: var(--ns-paper);
	color: var(--ns-ink);
}

.ns-page.rz-onepage .ns-band-contact .ns-field input:focus-visible,
.ns-page.rz-onepage .ns-band-contact .ns-field textarea:focus-visible {
	outline: 2px solid var(--ns-rust);
	outline-offset: 3px;
}

/* Rust primary CTA on the blue contact band. Paper/white text meets AA on rust. */
.ns-page.rz-onepage .ns-band-contact .ns-form .wp-element-button,
.ns-page.rz-onepage .ns-band-contact .ns-form button[type="submit"] {
	background: var(--ns-rust);
	color: var(--ns-white);
	box-shadow: none;
}

.ns-page.rz-onepage .ns-band-contact .ns-form .wp-element-button:hover,
.ns-page.rz-onepage .ns-band-contact .ns-form .wp-element-button:focus-visible,
.ns-page.rz-onepage .ns-band-contact .ns-form button[type="submit"]:hover,
.ns-page.rz-onepage .ns-band-contact .ns-form button[type="submit"]:focus-visible {
	background: var(--wp--preset--color--accent-hover);
	color: var(--ns-white);
	box-shadow: none;
}

.ns-page.rz-onepage .ns-band-contact .ns-form .wp-element-button:focus-visible,
.ns-page.rz-onepage .ns-band-contact .ns-form button[type="submit"]:focus-visible {
	outline: 2px solid var(--ns-light);
	outline-offset: 3px;
}

.ns-page.rz-onepage .ns-band-tint,
.ns-page.rz-onepage .ns-band-ink,
.ns-page.rz-onepage .ns-band-quote,
.ns-page.rz-onepage .ns-band-contact {
	max-width: 100%;
	overflow-x: clip;
}

/* Kinetic Ledger C v2. Scoped to the one-page draft. No canvas, no WebGL.
   Body font-size is intentionally untouched (Georgia stays on theme tokens). */

/* ── Hero “AI” underline: draws once on load (~600ms), never loops ─────────── */
.ns-page.rz-onepage.rz-c .ns-title-home .ns-signal {
	display: inline-block;
	position: relative;
}
.ns-page.rz-onepage.rz-c .ns-title-home .ns-signal::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0.04em;
	height: 0.085em;
	background-color: var(--ns-rust);
	transform: scaleX(1);
	transform-origin: left center;
	pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
	html.rz-js .ns-page.rz-onepage.rz-c .ns-title-home .ns-signal::after {
		transform: scaleX(0);
		animation: rz-c-underline 600ms var(--wp--custom--easing, ease) forwards;
		animation-iteration-count: 1;
	}
}
@media (prefers-reduced-motion: reduce) {
	.ns-page.rz-onepage.rz-c .ns-title-home .ns-signal::after {
		transform: scaleX(1) !important;
		animation: none !important;
	}
}
@keyframes rz-c-underline {
	from { transform: scaleX(0); }
	to { transform: scaleX(1); }
}

/* ── How It Works: always readable. Interaction only rusts numeral + rule. ─── */
.ns-page.rz-onepage.rz-c .ns-steps > li,
.ns-page.rz-onepage.rz-c .ns-steps > li::before {
	opacity: 1;
	transform: none;
}
.ns-page.rz-onepage.rz-c .ns-steps > li {
	/* Theme already sets rust numerals; default them to ink so rust is emphasis. */
	border-bottom-color: var(--ns-line);
	transition: border-color var(--wp--custom--duration--brisk) var(--wp--custom--ease--standard);
	cursor: default;
}
.ns-page.rz-onepage.rz-c .ns-steps > li::before {
	color: var(--ns-ink);
	transition: color var(--wp--custom--duration--brisk) var(--wp--custom--ease--standard);
}
.ns-page.rz-onepage.rz-c .ns-steps > li:hover,
.ns-page.rz-onepage.rz-c .ns-steps > li:focus-visible,
.ns-page.rz-onepage.rz-c .ns-steps > li.is-hot {
	border-bottom-color: var(--ns-rust);
	background-color: transparent;
}
.ns-page.rz-onepage.rz-c .ns-steps > li:hover::before,
.ns-page.rz-onepage.rz-c .ns-steps > li:focus-visible::before,
.ns-page.rz-onepage.rz-c .ns-steps > li.is-hot::before {
	color: var(--ns-rust);
}
.ns-page.rz-onepage.rz-c .ns-steps > li:focus-visible {
	outline: 2px solid var(--ns-rust);
	outline-offset: 3px;
}

/* ── Magnetic buttons: fine pointer + hover only, 6px cap, no reduced motion ─ */
@media (hover: hover) and (pointer: fine) {
	@media (prefers-reduced-motion: no-preference) {
		.ns-page.rz-onepage.rz-c .wp-block-button__link,
		.ns-page.rz-onepage.rz-c .ns-form button[type="submit"] {
			transition: transform 160ms ease, background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
		}
		.ns-page.rz-onepage.rz-c .wp-block-button__link.is-magnet,
		.ns-page.rz-onepage.rz-c .ns-form button[type="submit"].is-magnet {
			transform: translate(var(--rz-mx, 0px), var(--rz-my, 0px));
		}
	}
}
@media (prefers-reduced-motion: reduce) {
	.ns-page.rz-onepage.rz-c .wp-block-button__link,
	.ns-page.rz-onepage.rz-c .ns-form button[type="submit"] {
		transform: none !important;
	}
}

/* ── Phone: eyebrow wrap + equal-width stacked hero buttons (44px targets) ─── */
@media (max-width: 600px) {
	.ns-page.rz-onepage.rz-c .ns-hero-home .ns-kicker > .ns-kicker-dot:nth-last-child(2) {
		display: none;
	}
	.ns-page.rz-onepage.rz-c .ns-hero-home .ns-kicker > span:last-child {
		flex: 1 0 100%;
	}
	.ns-page.rz-onepage.rz-c .ns-hero-home .wp-block-buttons.ns-actions {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
	}
	.ns-page.rz-onepage.rz-c .ns-hero-home .wp-block-buttons.ns-actions .wp-block-button,
	.ns-page.rz-onepage.rz-c .ns-hero-home .wp-block-buttons.ns-actions .wp-block-button__link {
		width: 100%;
		box-sizing: border-box;
	}
	.ns-page.rz-onepage.rz-c .ns-hero-home .wp-block-buttons.ns-actions .wp-block-button__link {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-height: 44px;
	}
}
