/*
 * MCW Theme 3.0 base stylesheet: tokens, type, layout shell, header, footer, prose, FAQ,
 * tables, forms, section rhythm, closing section. Loaded on every view. Home, hubs, About,
 * growth services and form pages add components.css; the emergency page adds rescue.css.
 *
 * CONTRAST TABLE (WCAG 2.2; AA = 4.5:1 normal text, 3:1 large text / UI). Checked 2 Dec 2026.
 * Foreground            Background           Ratio  Use
 * #F8FAFC light text    #0E1014 ink-900      18.20  body text on dark
 * #F8FAFC               #171A21 ink-800      16.64  text on graphite
 * #111827 dark text     #F9F9F7 paper        16.83  body text on light
 * #4B5563 muted dark    #F9F9F7 / #FFFFFF    7.17 / 7.56
 * #A1A7B3 muted light   #0E1014 / #171A21    7.88 / 7.21
 * #2563EB cobalt        #F9F9F7               4.90  links on light
 * #FFFFFF               #2563EB cobalt        5.17  primary button
 * #6B9BFF cobalt-dark   #0E1014 / #171A21    7.03 / 6.43  links and accents on dark (base cobalt fails at 3.68)
 * #0E1014               #EA580C orange        5.35  emergency button (white on orange fails at 3.56)
 * #C2410C orange-text   #F9F9F7               4.91  orange text on light
 * #FB923C orange-dark   #0E1014 / #171A21    8.41 / 7.69  orange text on dark
 * #047857 emerald-text  #F9F9F7               5.20  success / "included" text on light
 * #34D399 emerald-dark  #171A21               9.06  success text on graphite
 * #6B7280 input border  #F9F9F7               4.59  form field boundary (3:1 needed)
 * Hairlines (#E5E7EB on light, rgba(248,250,252,.12) on dark) are decorative separators only.
 */

/* ---------- Font fallbacks (metric-adjusted; real faces are registered by functions.php) ---------- */
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("Helvetica Neue"), local("Helvetica"); size-adjust: 107.4%; ascent-override: 90.2%; descent-override: 22.5%; line-gap-override: 0%; }
@font-face { font-family: "Space Grotesk Fallback"; src: local("Arial"), local("Helvetica Neue"), local("Helvetica"); size-adjust: 104.5%; ascent-override: 94%; descent-override: 27.8%; line-gap-override: 0%; }

/* ---------- Tokens ---------- */
:root {
	--ink-900: #0e1014;
	--ink-800: #171a21;
	--ink-700: #1f232c;
	--paper: #f9f9f7;
	--white: #ffffff;
	--text-dark: #111827;
	--text-light: #f8fafc;
	--muted-dark: #4b5563;
	--muted-light: #a1a7b3;
	--line-dark: rgba(248, 250, 252, 0.12);
	--line-dark-strong: rgba(248, 250, 252, 0.24);
	--line-light: #e5e7eb;
	--line-light-strong: #6b7280;
	--cobalt: #2563eb;
	--cobalt-hover: #1d4ed8;
	--cobalt-on-dark: #6b9bff;
	--orange: #ea580c;
	--orange-text: #c2410c;
	--orange-on-dark: #fb923c;
	--emerald: #059669;
	--emerald-text: #047857;
	--emerald-on-dark: #34d399;
	--error: #b91c1c;
	--success-bg: #ecfdf5;
	--error-bg: #fef2f2;
	--warn-bg: #fff7ed;
	--tint: #f1f0ec;

	--font-head: "Space Grotesk", "Space Grotesk Fallback", "Segoe UI", system-ui, sans-serif;
	--font-body: "Inter", "Inter Fallback", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
	--font-mono: ui-monospace, SFMono-Regular, "Cascadia Mono", Consolas, "Liberation Mono", monospace;

	--fs-display: clamp(3rem, 1.6rem + 5.6vw, 5.5rem);
	--fs-h1: clamp(2.5rem, 1.7rem + 3.2vw, 4rem);
	--fs-h2: clamp(1.875rem, 1.45rem + 1.7vw, 2.75rem);
	--fs-h3: clamp(1.3125rem, 1.15rem + 0.55vw, 1.625rem);
	--fs-lead: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem);
	--fs-body: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
	--fs-sm: 0.875rem;
	--fs-label: 0.75rem;

	--s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem; --s-10: 8rem;
	--sec-pad: clamp(3rem, 1.5rem + 5vw, 6rem);
	--sec-pad-lg: clamp(4rem, 2rem + 7vw, 8rem);

	--wrap: 1240px;
	--gutter: clamp(1rem, 0.2rem + 3.2vw, 2rem);
	--gap: 1.5rem;
	--measure: 68ch;

	--r-card: 8px;
	--r-btn: 6px;
	--hair: 1px solid var(--line-light);
	--hair-dark: 1px solid var(--line-dark);
	--shadow-art: 0 1px 2px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.06);

	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--dur: 180ms;
	--target: 44px;
	--header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1.5rem); }
body {
	margin: 0; background: var(--paper); color: var(--text-dark);
	font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.65;
	font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--cobalt); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--cobalt-hover); text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 var(--s-4); text-wrap: balance; }
p { text-wrap: pretty; }
.mcw-icon { flex: none; vertical-align: middle; }
.mcw-wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); white-space: nowrap; border: 0; word-wrap: normal !important; }
.screen-reader-text:focus { clip: auto !important; clip-path: none; width: auto; height: auto; margin: 0; overflow: visible; top: 5px; left: 5px; z-index: 100000; display: block; padding: 15px 23px 14px; background: var(--white); color: var(--text-dark); font-weight: 600; }
.mcw-skip { position: absolute; left: var(--s-4); top: -100px; z-index: 1000; padding: 0.75rem 1rem; background: var(--white); color: var(--text-dark); font-weight: 600; border: 2px solid var(--cobalt); }
.mcw-skip:focus { top: var(--s-4); }

/* ---------- Tone system (dark / graphite / light rhythm) ---------- */
.mcw-tone--dark { background: var(--ink-900); color: var(--text-light); }
.mcw-tone--graphite { background: var(--ink-800); color: var(--text-light); }
.mcw-tone--light { background: var(--paper); color: var(--text-dark); }
.mcw-tone--light + .mcw-tone--light { border-top: var(--hair); }
.mcw-tone--dark a:not(.mcw-btn), .mcw-tone--graphite a:not(.mcw-btn), .mcw-hero a:not(.mcw-btn), .mcw-footer a:not(.mcw-btn) { color: var(--cobalt-on-dark); }
.mcw-tone--dark :focus-visible, .mcw-tone--graphite :focus-visible, .mcw-hero :focus-visible, .mcw-header :focus-visible, .mcw-footer :focus-visible { outline-color: var(--cobalt-on-dark); }

/* Hairline grid: 12 column edges, visible at the top of dark sections only. */
.mcw-grid-lines { position: relative; isolation: isolate; }
.mcw-grid-lines::before {
	content: ""; position: absolute; z-index: -1; left: 50%; top: 0; height: min(240px, 40%);
	width: min(100% - 2 * var(--gutter), var(--wrap)); transform: translateX(-50%); pointer-events: none;
	background-image: linear-gradient(to right, var(--line-dark) 1px, transparent 1px);
	background-size: calc(100% / 12) 100%;
	-webkit-mask-image: linear-gradient(to bottom, #000, transparent); mask-image: linear-gradient(to bottom, #000, transparent);
	border-right: 1px solid var(--line-dark);
}
@media (max-width: 47.99em) { .mcw-grid-lines::before { background-size: calc(100% / 4) 100%; } }

/* ---------- Section index label ("02 / Process") ---------- */
.mcw-index {
	display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; margin: 0 0 var(--s-5);
	font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
	color: var(--muted-dark);
}
.mcw-tone--dark .mcw-index, .mcw-tone--graphite .mcw-index, .mcw-hero .mcw-index { color: var(--muted-light); }
.mcw-index__n { color: var(--text-dark); font-weight: 600; }
.mcw-tone--dark .mcw-index__n, .mcw-tone--graphite .mcw-index__n, .mcw-hero .mcw-index__n { color: var(--text-light); }
.mcw-index--alert { color: var(--orange-on-dark) !important; gap: 0.5rem; }

/* ---------- Buttons and links ---------- */
.mcw-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 48px; padding: 0.75rem 1.35rem;
	border: 1px solid transparent; border-radius: var(--r-btn);
	font: inherit; font-family: var(--font-head); font-weight: 600; font-size: 1rem; line-height: 1.2; letter-spacing: -0.005em;
	text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: background-color var(--dur) ease, color var(--dur) ease, border-color var(--dur) ease;
}
.mcw-btn .mcw-icon { transition: transform var(--dur) var(--ease); }
.mcw-btn:hover .mcw-icon { transform: translateX(2px); }
.mcw-btn--sm { min-height: var(--target); padding: 0.5rem 1rem; font-size: var(--fs-sm); }
.mcw-btn--primary { background: var(--cobalt); color: var(--white); }
.mcw-btn--primary:hover { background: var(--cobalt-hover); color: var(--white); text-decoration: none; }
.mcw-btn--secondary { background: transparent; color: var(--text-dark); border-color: var(--text-dark); }
.mcw-btn--secondary:hover { background: var(--text-dark); color: var(--paper); text-decoration: none; }
.mcw-btn--emergency { background: var(--orange); color: var(--ink-900); }
.mcw-btn--emergency:hover { background: #f97316; color: var(--ink-900); text-decoration: none; }
.mcw-hero .mcw-btn--secondary, .mcw-tone--dark .mcw-btn--secondary, .mcw-tone--graphite .mcw-btn--secondary, .mcw-footer .mcw-btn--secondary { color: var(--text-light); border-color: var(--line-dark-strong); }
.mcw-hero .mcw-btn--secondary:hover, .mcw-tone--dark .mcw-btn--secondary:hover, .mcw-tone--graphite .mcw-btn--secondary:hover { background: var(--text-light); color: var(--ink-900); border-color: var(--text-light); }
.mcw-cta-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); margin: 0; }
.mcw-cta-buttons--stack { flex-direction: column; align-items: stretch; }
@media (max-width: 30em) { .mcw-cta-buttons--hero .mcw-btn, .mcw-cta-buttons--band .mcw-btn { width: 100%; } }

.mcw-textlink {
	display: inline-flex; align-items: center; gap: 0.45rem; min-height: var(--target);
	font-family: var(--font-head); font-weight: 600; text-decoration: none; color: var(--cobalt);
}
.mcw-textlink .mcw-icon { transition: transform var(--dur) var(--ease); }
.mcw-textlink:hover { text-decoration: underline; text-underline-offset: 0.3em; }
.mcw-textlink:hover .mcw-icon { transform: translateX(2px); }
.mcw-hero .mcw-textlink, .mcw-tone--dark .mcw-textlink, .mcw-tone--graphite .mcw-textlink { color: var(--cobalt-on-dark); }
.mcw-hero .mcw-textlink--alert, .mcw-textlink--alert { color: var(--orange-on-dark); }
.mcw-textlink--alert-light { color: var(--orange-text); }

/* Reply-time note */
.mcw-reply { display: flex; align-items: flex-start; gap: 0.5rem; margin: var(--s-5) 0 0; font-size: var(--fs-sm); color: var(--muted-dark); }
.mcw-reply .mcw-icon { margin-top: 0.15em; color: var(--emerald-text); }
.mcw-hero .mcw-reply, .mcw-tone--dark .mcw-reply, .mcw-tone--graphite .mcw-reply, .mcw-formcard--dark .mcw-reply { color: var(--muted-light); }
.mcw-hero .mcw-reply .mcw-icon, .mcw-tone--dark .mcw-reply .mcw-icon, .mcw-tone--graphite .mcw-reply .mcw-icon { color: var(--emerald-on-dark); }
.mcw-reply--chip { display: inline-flex; margin-top: var(--s-5); padding: 0.4rem 0.85rem; border: var(--hair); border-radius: 999px; background: var(--white); color: var(--text-dark); font-weight: 500; }

/* ---------- Header ---------- */
.mcw-header { position: sticky; top: 0; z-index: 100; background: var(--ink-900); color: var(--text-light); border-bottom: var(--hair-dark); transition: background-color var(--dur) ease; }
.admin-bar .mcw-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .mcw-header { top: 0; position: relative; } }
.mcw-header__inner { display: flex; align-items: center; gap: var(--s-4); min-height: var(--header-h); flex-wrap: nowrap; transition: min-height var(--dur) ease; }
.mcw-header.is-scrolled .mcw-header__inner { min-height: 60px; }
.mcw-header.is-scrolled { background: rgba(14, 16, 20, 0.97); }
.mcw-brand { margin-right: auto; flex: none; }
.mcw-brand__text { display: inline-flex; align-items: center; gap: 0.6rem; min-height: var(--target); color: var(--text-light); font-family: var(--font-head); font-weight: 700; font-size: 1.125rem; letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; }
.mcw-brand__text:hover { color: var(--text-light); }
.mcw-brand__mark { color: var(--cobalt-on-dark); }
.custom-logo-link { display: inline-block; line-height: 0; }
.custom-logo { max-height: 40px; width: auto; }
.mcw-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex: none; }
.mcw-header__alert, .mcw-nav__alert { display: inline-flex; align-items: center; gap: 0.5rem; min-height: var(--target); color: var(--orange-on-dark); font-size: var(--fs-sm); font-weight: 600; text-decoration: none; white-space: nowrap; }
.mcw-header__alert:hover, .mcw-nav__alert:hover { color: var(--orange-on-dark); text-decoration: underline; }
.mcw-header__alert { display: none; }
@media (min-width: 48em) { .mcw-header__alert { display: inline-flex; } .mcw-nav__alert { display: none !important; } }
.mcw-nav__alert { padding: 0.75rem 0; border-bottom: var(--hair-dark); width: 100%; }

.mcw-menu-toggle { display: inline-flex; align-items: center; gap: 0.5rem; min-height: var(--target); min-width: var(--target); padding: 0 0.75rem; background: none; color: var(--text-light); border: 1px solid var(--line-dark-strong); border-radius: var(--r-btn); font: inherit; font-size: var(--fs-sm); font-weight: 600; cursor: pointer; }
.mcw-menu-toggle__close, .mcw-menu-toggle[aria-expanded="true"] .mcw-menu-toggle__open { display: none; }
.mcw-menu-toggle[aria-expanded="true"] .mcw-menu-toggle__close { display: inline-flex; }
.mcw-menu-toggle__open { display: inline-flex; }
.mcw-header__cta { display: none; }
@media (min-width: 40em) { .mcw-header__cta { display: inline-flex; } .mcw-nav__cta { display: none !important; } }

.mcw-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - var(--header-h)); overflow-y: auto; background: var(--ink-900); border-bottom: var(--hair-dark); padding: var(--s-2) var(--gutter) var(--s-6); }
html:not(.mcw-js) .mcw-nav { display: block; position: static; padding: 0 0 var(--s-4); }
html:not(.mcw-js) .mcw-header__inner { flex-wrap: wrap; }
html:not(.mcw-js) .mcw-menu-toggle { display: none; }
.mcw-header.is-open .mcw-nav, .mcw-header:has(.mcw-menu-toggle[aria-expanded="true"]) .mcw-nav { display: block; }
.mcw-nav__list, .mcw-nav .sub-menu { list-style: none; margin: 0; padding: 0; }
.mcw-nav__list > li { position: relative; display: flex; flex-wrap: wrap; align-items: center; border-bottom: var(--hair-dark); }
.mcw-nav a { display: flex; align-items: center; flex: 1; min-height: var(--target); padding: 0.75rem 0; color: var(--text-light); font-family: var(--font-head); font-weight: 500; font-size: 1.125rem; text-decoration: none; }
.mcw-nav a:hover { color: var(--cobalt-on-dark); }
.mcw-nav .current-menu-item > a, .mcw-nav .current-menu-ancestor > a { color: var(--cobalt-on-dark); }
.mcw-nav .current-menu-item > a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.35em; }
.mcw-subtoggle { width: var(--target); height: var(--target); padding: 0; background: none; border: 0; color: var(--text-light); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.mcw-subtoggle .mcw-icon { transition: transform var(--dur) ease; }
.mcw-subtoggle[aria-expanded="true"] .mcw-icon { transform: rotate(180deg); }
.mcw-nav .sub-menu { display: none; flex-basis: 100%; padding: 0 0 var(--s-3) var(--s-4); border-left: 1px solid var(--line-dark-strong); margin-bottom: var(--s-3); }
.mcw-nav .sub-menu a { font-family: var(--font-body); font-size: 1rem; color: var(--muted-light); padding: 0.5rem 0; }
.mcw-nav .sub-menu a:hover { color: var(--text-light); }
.mcw-subtoggle[aria-expanded="true"] + .sub-menu { display: block; }
html:not(.mcw-js) .mcw-nav .sub-menu { display: block; }
.mcw-nav__cta { display: flex; width: 100%; margin-top: var(--s-5); }

@media (min-width: 75em) {
	.mcw-menu-toggle { display: none; }
	.mcw-nav, html:not(.mcw-js) .mcw-nav { display: block; position: static; max-height: none; overflow: visible; padding: 0; background: none; border: 0; flex: 0 1 auto; min-width: 0; }
	.mcw-nav__list { display: flex; align-items: center; flex-wrap: nowrap; }
	.mcw-nav__list > li { border: 0; flex-wrap: nowrap; }
	.mcw-nav__list > li > a { padding: 0.5rem 0.7rem; font-family: var(--font-body); font-size: 0.9375rem; font-weight: 500; white-space: nowrap; color: var(--text-light); }
	.mcw-nav__list > .menu-item-has-children > a { padding-right: 0.1rem; }
	.mcw-subtoggle { width: 28px; margin-right: 0.3rem; }
	/* Mega-menu panel: submenu items flow into columns when there are many. */
	.mcw-nav .sub-menu, html:not(.mcw-js) .mcw-nav .sub-menu {
		display: none; position: absolute; top: calc(100% + 0.5rem); left: 0; z-index: 10; min-width: 300px;
		padding: var(--s-3); margin: 0; border: var(--hair-dark); border-radius: var(--r-card); background: var(--ink-800);
		box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
	}
	.mcw-nav .sub-menu:has(> li:nth-child(5)) { min-width: 560px; columns: 2; column-gap: var(--s-3); }
	.mcw-nav .sub-menu li { break-inside: avoid; }
	.mcw-nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -0.6rem; height: 0.6rem; }
	.mcw-nav .sub-menu a { padding: 0.55rem 0.75rem; color: var(--text-light); white-space: nowrap; border-radius: var(--r-btn); }
	.mcw-nav .sub-menu a:hover { background: var(--ink-900); }
	.mcw-nav__list > li:hover > .sub-menu, .mcw-nav__list > li:focus-within > .sub-menu, .mcw-subtoggle[aria-expanded="true"] + .sub-menu { display: block; }
	.mcw-header__cta { margin-left: var(--s-2); }
}
@media (min-width: 75em) and (max-width: 87.5em) {
	.mcw-nav__list > li > a { padding-left: 0.5rem; padding-right: 0.5rem; font-size: 0.875rem; }
	.mcw-header__inner { gap: var(--s-3); }
}

/* ---------- Breadcrumbs ---------- */
.mcw-crumbs { margin: 0 0 var(--s-6); font-size: var(--fs-sm); }
.mcw-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; }
.mcw-crumbs li { display: inline-flex; align-items: center; }
.mcw-crumbs li + li::before { content: "/"; margin: 0 0.6rem; color: var(--line-light-strong); }
.mcw-crumbs a { display: inline-flex; align-items: center; min-height: var(--target); color: inherit; text-decoration: underline; text-decoration-color: var(--line-light-strong); }
.mcw-crumbs a:hover { text-decoration-color: currentColor; }
.mcw-crumbs [aria-current="page"] { color: var(--muted-dark); }
.mcw-hero .mcw-crumbs { color: var(--muted-light); }
.mcw-hero .mcw-crumbs a { color: var(--text-light); text-decoration-color: var(--line-dark-strong); }
.mcw-hero .mcw-crumbs [aria-current="page"] { color: var(--muted-light); }

/* ---------- Hero base (dark) ---------- */
.mcw-hero { position: relative; background: var(--ink-900); color: var(--text-light); padding: var(--s-6) 0 var(--sec-pad); }
.mcw-hero__title { font-size: var(--fs-h1); line-height: 1.05; max-width: 18ch; margin-bottom: var(--s-5); }
.mcw-hero__title--display { font-size: var(--fs-display); line-height: 1.02; letter-spacing: -0.03em; max-width: 13ch; }
.mcw-hero__lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--muted-light); max-width: 52ch; margin: 0 0 var(--s-6); }
.mcw-hero__lead a { color: var(--cobalt-on-dark); }
.mcw-hero__grid { display: grid; gap: var(--s-7); }

/* ---------- Section shell ---------- */
.mcw-sec { padding: var(--sec-pad) 0; }
.mcw-sec__title { font-size: var(--fs-h2); max-width: 20ch; margin-bottom: var(--s-5); }
.mcw-sec__title--sm { font-size: var(--fs-h3); max-width: none; }
.mcw-sec__head { margin-bottom: var(--s-7); max-width: 52rem; }
.mcw-sec__head--inline { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s-4); max-width: none; margin-bottom: var(--s-5); }
.mcw-sec__head--inline .mcw-index, .mcw-sec__head--inline .mcw-sec__title { margin: 0; }
.mcw-sec__intro { margin-top: var(--s-4); }
.mcw-sec__lede { font-size: var(--fs-lead); color: var(--muted-dark); max-width: 52ch; margin: 0; }
.mcw-tone--dark .mcw-sec__lede, .mcw-tone--graphite .mcw-sec__lede { color: var(--muted-light); }
.mcw-sec__grid { display: grid; gap: var(--s-6); }
.mcw-sec__rail .mcw-sec__title { max-width: 14ch; }
.mcw-sec__rail--wide .mcw-sec__title { max-width: 18ch; }
.mcw-sec__aside-link { margin: var(--s-5) 0 0; }
.mcw-sec__rail-figure { margin-top: var(--s-6); }
.mcw-sec__read { max-width: var(--measure); }
@media (min-width: 64em) {
	.mcw-sec__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s-6) var(--gap); column-gap: clamp(2rem, 4vw, 4.5rem); }
	.mcw-sec__rail--sticky, .mcw-sec--faq .mcw-sec__rail, .mcw-sec--checklist .mcw-sec__rail { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
	.mcw-sec--faq .mcw-sec__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
	.mcw-sec__grid:has(.mcw-sec__rail--wide) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
	.mcw-sec__read { margin-left: calc(100% / 12); }
}
.mcw-sec__main { min-width: 0; }

/* ---------- Prose (Gutenberg content) ---------- */
.mcw-prose { max-width: var(--measure); }
.mcw-sec__body.mcw-prose, .mcw-sec--comparison .mcw-prose, .mcw-sec--fit .mcw-prose { max-width: none; }
.mcw-prose > * + * { margin-top: var(--s-4); }
.mcw-prose > :first-child { margin-top: 0; }
.mcw-prose p, .mcw-prose ul, .mcw-prose ol { margin-bottom: 0; }
.mcw-prose h2 { font-size: var(--fs-h2); margin-top: var(--s-8); }
.mcw-prose h3 { font-size: var(--fs-h3); margin-top: var(--s-6); margin-bottom: var(--s-3); }
.mcw-prose h4 { font-size: 1.125rem; margin-top: var(--s-5); margin-bottom: var(--s-2); }
.mcw-prose > h3:first-child { margin-top: 0; }
.mcw-prose ul, .mcw-prose ol { padding-left: 1.25em; }
.mcw-prose li + li { margin-top: var(--s-2); }
.mcw-prose ul li::marker { color: var(--cobalt); }
.mcw-prose ol li::marker { font-family: var(--font-mono); font-size: 0.9em; color: var(--muted-dark); }
.mcw-prose strong { font-weight: 650; }
.mcw-prose blockquote { margin: var(--s-6) 0; padding-left: var(--s-5); border-left: 2px solid currentColor; font-family: var(--font-head); font-size: var(--fs-lead); }
.mcw-prose code { font-family: var(--font-mono); font-size: 0.9em; background: var(--tint); padding: 0.1em 0.3em; border-radius: 3px; }
.mcw-prose hr { border: 0; border-top: var(--hair); margin: var(--s-7) 0; }
.mcw-prose figure { margin-left: 0; margin-right: 0; }
.mcw-prose figcaption { font-size: var(--fs-sm); color: var(--muted-dark); }
.mcw-prose--legal h2 { font-size: var(--fs-h3); margin-top: var(--s-7); }
/* Prose on dark grounds */
.mcw-tone--dark .mcw-prose, .mcw-tone--graphite .mcw-prose { color: var(--text-light); }
.mcw-tone--dark .mcw-prose p, .mcw-tone--graphite .mcw-prose p, .mcw-tone--dark .mcw-prose li, .mcw-tone--graphite .mcw-prose li { color: #d5d9e0; }
.mcw-tone--dark .mcw-prose ul li::marker, .mcw-tone--graphite .mcw-prose ul li::marker { color: var(--cobalt-on-dark); }
.mcw-tone--dark .mcw-prose ol li::marker, .mcw-tone--graphite .mcw-prose ol li::marker { color: var(--muted-light); }
.mcw-tone--dark .mcw-prose code, .mcw-tone--graphite .mcw-prose code { background: var(--ink-700); }

/* Problems: large quoted lines with a hairline left rule. */
.mcw-prose--problems > ul, .mcw-prose--problems > ol { list-style: none; padding: 0; }
.mcw-prose--problems > ul > li, .mcw-prose--problems > ol > li {
	padding: var(--s-2) 0 var(--s-2) var(--s-5); border-left: 2px solid var(--line-light-strong);
	font-family: var(--font-head); font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); line-height: 1.4; letter-spacing: -0.01em;
}
.mcw-prose--problems > ul > li + li, .mcw-prose--problems > ol > li + li { margin-top: var(--s-5); }
.mcw-tone--dark .mcw-prose--problems > ul > li, .mcw-tone--graphite .mcw-prose--problems > ul > li { border-color: var(--line-dark-strong); color: var(--text-light); }

/* Scope exclusions: neutral dash markers. */
.mcw-prose--excluded > ul { list-style: none; padding: 0; border-top: var(--hair); }
.mcw-prose--excluded > ul > li { position: relative; margin: 0; padding: var(--s-3) 0 var(--s-3) 2rem; border-bottom: var(--hair); }
.mcw-prose--excluded > ul > li::before { content: ""; position: absolute; left: 0.25rem; top: 1.45em; width: 0.9rem; height: 1.5px; background: var(--muted-dark); }
.mcw-tone--graphite .mcw-prose--excluded > ul, .mcw-tone--graphite .mcw-prose--excluded > ul > li { border-color: var(--line-dark); }
.mcw-tone--graphite .mcw-prose--excluded > ul > li::before { background: var(--muted-light); }

/* First steps: large numerals. */
.mcw-prose--firststeps > ol { list-style: none; padding: 0; counter-reset: mcw-step; }
.mcw-prose--firststeps > ol > li { counter-increment: mcw-step; position: relative; padding: var(--s-4) 0 var(--s-4) clamp(3.5rem, 2.5rem + 3vw, 5.5rem); border-top: var(--hair); margin: 0; }
.mcw-prose--firststeps > ol > li::before {
	content: counter(mcw-step); position: absolute; left: 0; top: 0.35rem;
	font-family: var(--font-head); font-weight: 600; font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem); line-height: 1; letter-spacing: -0.04em; color: var(--orange-text);
}
.mcw-tone--graphite .mcw-prose--firststeps > ol > li { border-color: var(--line-dark); }
.mcw-tone--graphite .mcw-prose--firststeps > ol > li::before { color: var(--orange-on-dark); }

/* Checklist: printable boxes. */
.mcw-prose--checklist > ul, .mcw-prose--checklist > ol { list-style: none; padding: 0; }
.mcw-prose--checklist > ul > li, .mcw-prose--checklist > ol > li { position: relative; margin: 0; padding: var(--s-3) 0 var(--s-3) 2.25rem; border-bottom: 1px solid var(--line-dark); }
.mcw-tone--light .mcw-prose--checklist > ul > li, .mcw-tone--light .mcw-prose--checklist > ol > li { border-color: var(--line-light); }
.mcw-prose--checklist > ul > li::before, .mcw-prose--checklist > ol > li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 1.15rem; height: 1.15rem; border: 1.5px solid currentColor; border-radius: 3px; opacity: 0.7; }
.mcw-checklist-tools { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); margin-top: var(--s-6) !important; }
.mcw-checklist-tools[hidden] { display: none; }
.mcw-checklist-tools .mcw-btn { gap: 0.45rem; }
.mcw-checklist-tools__status { font-size: var(--fs-sm); font-weight: 600; }
.mcw-checklist-tools__status.is-ok { color: var(--emerald-text); }
.mcw-tone--graphite .mcw-checklist-tools__status.is-ok, .mcw-tone--dark .mcw-checklist-tools__status.is-ok { color: var(--emerald-on-dark); }

/* Related links: full-width rows. */
.mcw-prose--related > ul { list-style: none; padding: 0; border-top: 1px solid currentColor; }
.mcw-prose--related > ul > li { margin: 0; border-bottom: var(--hair); }
.mcw-prose--related > ul > li > a { display: flex; align-items: center; min-height: 56px; padding: var(--s-3) 0; font-family: var(--font-head); font-weight: 500; font-size: 1.125rem; color: inherit; text-decoration: none; }
.mcw-prose--related > ul > li > a::after { content: "\2192"; margin-left: auto; padding-left: var(--s-4); transition: transform var(--dur) var(--ease); }
.mcw-prose--related > ul > li > a:hover { color: var(--cobalt); }
.mcw-prose--related > ul > li > a:hover::after { transform: translateX(3px); }

/* ---------- Cards from H3 items (deliverables, inclusions, problems) ---------- */
.mcw-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line-light); border: var(--hair); border-radius: var(--r-card); overflow: hidden; }
.mcw-cards__item { position: relative; padding: var(--s-6); background: var(--white); }
.mcw-cards__icon { display: inline-flex; margin-bottom: var(--s-4); color: var(--emerald-text); }
.mcw-cards__title { font-size: var(--fs-h3); margin: 0 0 var(--s-3); }
.mcw-cards__text { color: var(--muted-dark); }
.mcw-cards__text.mcw-prose p, .mcw-cards__text.mcw-prose li { color: inherit; }
@media (min-width: 48em) { .mcw-cards--cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mcw-tone--graphite .mcw-cards, .mcw-tone--dark .mcw-cards { background: var(--line-dark); border-color: var(--line-dark); }
.mcw-tone--graphite .mcw-cards__item, .mcw-tone--dark .mcw-cards__item { background: var(--ink-900); }
.mcw-tone--graphite .mcw-cards__text, .mcw-tone--dark .mcw-cards__text { color: var(--muted-light); }
.mcw-tone--graphite .mcw-cards__icon, .mcw-tone--dark .mcw-cards__icon { color: var(--emerald-on-dark); }
/* Rows variant: icon left, two lines. */
.mcw-cards--rows .mcw-cards__item { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); column-gap: var(--s-4); }
.mcw-cards--rows .mcw-cards__icon { grid-row: span 2; margin: 0.25rem 0 0; color: var(--text-dark); }
.mcw-tone--graphite .mcw-cards--rows .mcw-cards__icon { color: var(--text-light); }
/* Quotes variant (problems with H3s). */
.mcw-cards--quotes { background: none; border: 0; gap: var(--s-6); border-radius: 0; }
.mcw-cards--quotes .mcw-cards__item { padding: 0 0 0 var(--s-5); background: none; border-left: 2px solid var(--line-light-strong); }
.mcw-tone--graphite .mcw-cards--quotes .mcw-cards__item, .mcw-tone--dark .mcw-cards--quotes .mcw-cards__item { background: none; border-color: var(--line-dark-strong); }

/* Pricing quote card */
.mcw-quote-card { margin-top: var(--s-6); padding: var(--s-5); border: var(--hair); border-left: 3px solid var(--cobalt); border-radius: var(--r-card); background: var(--white); }
.mcw-quote-card__k { margin: 0; font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-dark); }
.mcw-quote-card__v { margin: var(--s-2) 0; font-family: var(--font-head); font-weight: 600; font-size: var(--fs-h3); line-height: 1.2; }
.mcw-quote-card__t { margin: 0; font-size: var(--fs-sm); color: var(--muted-dark); }
.mcw-tone--graphite .mcw-quote-card { background: var(--ink-900); border-color: var(--line-dark); border-left-color: var(--cobalt-on-dark); }
.mcw-tone--graphite .mcw-quote-card__k, .mcw-tone--graphite .mcw-quote-card__t { color: var(--muted-light); }

/* ---------- Tables (core/table, Often vs Here) ---------- */
.wp-block-table, .mcw-table-wrap { margin: var(--s-6) 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.mcw-table-wrap { margin: 0; }
.wp-block-table:focus-visible, .mcw-table-wrap:focus-visible { outline-offset: 0; }
.mcw-prose table, .wp-block-table table, .mcw-often {
	width: 100%; min-width: 36rem; border-collapse: separate; border-spacing: 0; font-size: var(--fs-sm); line-height: 1.5;
	background: var(--white); border: var(--hair); border-radius: var(--r-card);
}
.mcw-prose th, .mcw-prose td, .wp-block-table th, .wp-block-table td, .mcw-often th, .mcw-often td { padding: 0.9rem 1rem; text-align: left; vertical-align: top; border: 0; border-bottom: var(--hair); }
.mcw-prose tr:last-child > *, .mcw-often tr:last-child > * { border-bottom: 0; }
.mcw-prose thead th, .wp-block-table thead th, .mcw-often thead th { font-family: var(--font-head); font-weight: 600; font-size: var(--fs-sm); color: var(--text-dark); background: var(--tint); border-bottom: 1px solid var(--line-light-strong); }
.mcw-prose tbody th, .mcw-prose tbody td:first-child, .mcw-often tbody th { font-weight: 600; }
.mcw-prose tbody tr:hover > *, .mcw-often tbody tr:hover > * { background: #fbfbf9; }
.wp-block-table figcaption, .wp-block-table .wp-element-caption { margin-top: var(--s-2); font-size: var(--fs-sm); color: var(--muted-dark); }
/* Sticky first column on small screens */
@media (max-width: 47.99em) {
	.mcw-prose tbody th, .mcw-prose tbody td:first-child, .mcw-prose thead th:first-child, .mcw-often th:first-child { position: sticky; left: 0; z-index: 1; background: var(--white); box-shadow: 1px 0 0 var(--line-light); }
	.mcw-prose thead th:first-child { background: var(--tint); }
}
.mcw-tone--graphite .mcw-prose table, .mcw-tone--dark .mcw-prose table { color: var(--text-dark); }
.mcw-tone--graphite .mcw-prose table td, .mcw-tone--graphite .mcw-prose table th { color: var(--text-dark); }

/* ---------- FAQ (built in PHP from H2 + H3 + answer) ---------- */
.mcw-faq { border-top: 1px solid currentColor; margin-top: var(--s-5); }
.mcw-sec--faq .mcw-faq { margin-top: 0; }
.mcw-faq__item { border-bottom: var(--hair); }
.mcw-faq__summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: var(--target); padding: var(--s-5) 0; cursor: pointer; list-style: none; }
.mcw-faq__summary::-webkit-details-marker { display: none; }
.mcw-faq__summary:hover .mcw-faq__q { color: var(--cobalt); }
.mcw-prose .mcw-faq__q { margin: 0; font-size: 1.1875rem; font-weight: 600; line-height: 1.35; }
.mcw-faq__icon { display: inline-flex; flex: none; width: 2rem; height: 2rem; align-items: center; justify-content: center; border: var(--hair); border-radius: 50%; color: var(--cobalt); transition: transform var(--dur) ease, background-color var(--dur) ease; }
.mcw-faq__item[open] .mcw-faq__icon { transform: rotate(45deg); background: var(--white); }
.mcw-faq__a { padding: 0 0 var(--s-5); max-width: 62ch; }
.mcw-faq__a > * + * { margin-top: var(--s-3); }
.mcw-faq__a > :first-child { margin-top: 0; }
.mcw-tone--graphite .mcw-faq__item, .mcw-tone--dark .mcw-faq__item, .mcw-tone--graphite .mcw-faq__icon { border-color: var(--line-dark); }
.mcw-tone--graphite .mcw-faq__icon { color: var(--cobalt-on-dark); }
.mcw-tone--graphite .mcw-faq__item[open] .mcw-faq__icon { background: var(--ink-900); }
.mcw-tone--graphite .mcw-faq__summary:hover .mcw-faq__q { color: var(--cobalt-on-dark); }
@media print { .mcw-faq__item:not([open]) .mcw-faq__a { display: block; } }

/* ---------- Statement and closing ---------- */
.mcw-statement { font-family: var(--font-head); font-weight: 600; font-size: var(--fs-display); line-height: 1.02; letter-spacing: -0.03em; max-width: 16ch; margin: 0; text-wrap: balance; }
.mcw-sec--closing { padding: var(--sec-pad-lg) 0; }
.mcw-statement--closing { font-size: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); max-width: 15ch; }
.mcw-closing__grid { display: grid; gap: var(--s-7); }
.mcw-closing__text { margin-top: var(--s-5); font-size: var(--fs-lead); }
.mcw-closing__copy .mcw-cta-buttons { margin-top: var(--s-6); }
@media (min-width: 64em) {
	.mcw-closing__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; column-gap: clamp(2rem, 5vw, 5rem); }
	.has-form .mcw-closing__grid { align-items: start; }
}
.mcw-closing--emergency { border-top: 4px solid var(--orange); }

/* Form card (light card on dark or light grounds) */
.mcw-formcard { background: var(--white); color: var(--text-dark); border: 1px solid var(--line-light); border-radius: var(--r-card); padding: clamp(1.25rem, 0.8rem + 2vw, 2rem); }
.mcw-formcard .mcw-form { margin: 0; padding: 0; border: 0; max-width: none; background: none; }
.mcw-formcard a { color: var(--cobalt); }
.mcw-formcard :focus-visible { outline-color: var(--cobalt); }

/* ---------- Forms (.mcw-form, rendered by mcw-core [mcw_form]) ---------- */
.mcw-form { display: grid; gap: var(--s-5); max-width: 640px; margin: var(--s-6) 0; padding: var(--s-6); background: var(--white); border: var(--hair); border-radius: var(--r-card); color: var(--text-dark); }
.mcw-form__field { display: grid; gap: var(--s-2); }
.mcw-form__label { font-weight: 600; font-size: var(--fs-sm); }
.mcw-form__input { width: 100%; min-height: 48px; padding: 0.65rem 0.85rem; font: inherit; color: var(--text-dark); background: var(--white); border: 1px solid var(--line-light-strong); border-radius: var(--r-btn); transition: border-color var(--dur) ease, box-shadow var(--dur) ease; }
.mcw-form__input:hover { border-color: var(--text-dark); }
textarea.mcw-form__input { min-height: 132px; resize: vertical; line-height: 1.5; }
select.mcw-form__input { appearance: none; padding-right: 2.5rem; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.75rem center; }
.mcw-form__input:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 2px; border-color: var(--cobalt); }
.mcw-form__input[aria-invalid="true"] { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); background: var(--error-bg); }
.mcw-form__required { color: var(--error); font-weight: 700; margin-left: 0.15em; text-decoration: none; }
.mcw-form__hint { font-size: var(--fs-sm); color: var(--muted-dark); margin: 0; }
.mcw-form__error { display: flex; align-items: flex-start; gap: 0.4rem; font-size: var(--fs-sm); color: var(--error); font-weight: 600; margin: 0; }
.mcw-form__error:not(:empty)::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 0.2em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 8v4'/%3E%3Cpath d='M12 16h.01'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 8v4'/%3E%3Cpath d='M12 16h.01'/%3E%3C/svg%3E") center / contain no-repeat; }
.mcw-form__error:empty { display: none; }
.mcw-form__note { font-size: var(--fs-sm); color: var(--muted-dark); margin: 0; }
.mcw-form__check { display: flex; align-items: flex-start; gap: 0.75rem; line-height: 1.5; font-size: var(--fs-sm); }
.mcw-form__check input { width: 1.25rem; height: 1.25rem; margin: 0.15rem 0 0; flex: none; accent-color: var(--cobalt); }
.mcw-form__check:has(input[aria-invalid="true"]) { outline: 2px solid var(--error); outline-offset: 6px; border-radius: 4px; }
.mcw-form__warning { margin: 0; padding: var(--s-3) var(--s-4); background: var(--warn-bg); border-left: 3px solid var(--orange); color: var(--text-dark); font-size: var(--fs-sm); border-radius: 0 4px 4px 0; }
.mcw-form__warning strong { color: var(--orange-text); }
.mcw-form__errors { padding: var(--s-4) var(--s-5); background: var(--error-bg); border-left: 3px solid var(--error); color: var(--text-dark); }
.mcw-form__errors:focus { outline: 2px solid var(--error); outline-offset: 2px; }
.mcw-form__errors ul { margin: var(--s-2) 0 0; padding-left: 1.2em; }
.mcw-form__errors a { color: var(--error); font-weight: 600; }
.mcw-form__submit { justify-self: start; display: inline-flex; align-items: center; gap: 0.5rem; min-height: 52px; padding: 0.75rem 1.6rem; font: inherit; font-family: var(--font-head); font-weight: 600; color: var(--white); background: var(--cobalt); border: 0; border-radius: var(--r-btn); cursor: pointer; transition: background-color var(--dur) ease; }
.mcw-form__submit:hover { background: var(--cobalt-hover); }
.mcw-form__submit:disabled, .mcw-form__submit[aria-busy="true"] { opacity: 0.65; cursor: progress; }
.mcw-form--emergency .mcw-form__submit, .mcw-service--rescue .mcw-form__submit { background: var(--orange); color: var(--ink-900); }
.mcw-service--rescue .mcw-form__submit:hover { background: #f97316; }

/* Notices: success / error / warning / info */
.mcw-notice { display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-4) var(--s-5); border-left: 3px solid var(--cobalt); background: var(--white); color: var(--text-dark); border-radius: 0 var(--r-card) var(--r-card) 0; }
.mcw-notice--success { border-left-color: var(--emerald); background: var(--success-bg); }
.mcw-notice--success .mcw-icon, .mcw-notice--success strong { color: var(--emerald-text); }
.mcw-notice--error { border-left-color: var(--error); background: var(--error-bg); }
.mcw-notice--error .mcw-icon, .mcw-notice--error strong { color: var(--error); }
.mcw-notice--warning { border-left-color: var(--orange); background: var(--warn-bg); }
.mcw-notice--warning .mcw-icon, .mcw-notice--warning strong { color: var(--orange-text); }
.mcw-notice p { margin: 0; }

/* ---------- Light page heads, legal, lists ---------- */
.mcw-pagehead { padding: var(--s-6) 0 var(--s-8); border-bottom: var(--hair); }
.mcw-pagehead__title { font-size: var(--fs-h1); line-height: 1.05; max-width: 20ch; margin: 0; }
.mcw-pagehead__lead { font-size: var(--fs-lead); color: var(--muted-dark); max-width: 56ch; margin: var(--s-5) 0 0; }
.mcw-article__meta { margin: var(--s-4) 0 0; color: var(--muted-dark); font-size: var(--fs-sm); }
.mcw-section { padding-top: var(--sec-pad); padding-bottom: var(--sec-pad); }
.mcw-layout-editorial > .mcw-prose { max-width: var(--measure); }
@media (min-width: 64em) { .mcw-layout-editorial > .mcw-prose, .mcw-pagehead__title, .mcw-pagehead__lead, .mcw-article__meta { margin-left: calc(100% / 12); } }
.mcw-legal__wrap { max-width: calc(var(--measure) + 2 * var(--gutter)); padding-top: var(--s-6); padding-bottom: var(--s-8); }
.mcw-legal__title { font-size: var(--fs-h1); margin-bottom: var(--s-7); padding-bottom: var(--s-5); border-bottom: var(--hair); }

.mcw-postlist { border-top: 1px solid var(--text-dark); }
.mcw-postlist__item { display: grid; gap: var(--s-2); padding: var(--s-6) 0; border-bottom: var(--hair); }
.mcw-postlist__meta { margin: 0; font-family: var(--font-mono); font-size: var(--fs-label); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted-dark); }
.mcw-postlist__title { font-size: var(--fs-h3); margin: 0 0 var(--s-2); }
.mcw-postlist__title a { color: var(--text-dark); text-decoration: none; }
.mcw-postlist__title a:hover { color: var(--cobalt); text-decoration: underline; }
.mcw-postlist__text { color: var(--muted-dark); max-width: 64ch; }
.mcw-postlist__text p { margin: 0; }
@media (min-width: 48em) { .mcw-postlist__item { grid-template-columns: 12rem minmax(0, 1fr); gap: var(--gap); } .mcw-postlist__meta { padding-top: 0.45rem; } }
.mcw-pagination { margin-top: var(--s-7); }
.mcw-pagination .nav-links { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.mcw-pagination .page-numbers { display: inline-flex; min-width: var(--target); min-height: var(--target); align-items: center; justify-content: center; padding: 0 0.75rem; border: var(--hair); border-radius: var(--r-btn); color: var(--text-dark); text-decoration: none; }
.mcw-pagination a.page-numbers:hover { border-color: var(--text-dark); }
.mcw-pagination .current { background: var(--text-dark); color: var(--paper); border-color: var(--text-dark); }

.mcw-empty { display: flex; gap: var(--s-4); align-items: flex-start; padding: var(--s-6); border: 1px dashed var(--line-light-strong); border-radius: var(--r-card); color: var(--muted-dark); }
.mcw-empty p { margin: 0; max-width: 56ch; }

/* 404 */
.mcw-404__grid { display: grid; gap: var(--s-6); padding-top: var(--s-8); padding-bottom: var(--s-9); }
.mcw-404__code { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: clamp(6rem, 3rem + 16vw, 16rem); line-height: 0.85; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1.5px var(--text-dark); }
.mcw-404__title { font-size: var(--fs-h1); }
.mcw-404__links { list-style: none; margin: var(--s-6) 0 0; padding: 0; border-top: 1px solid var(--text-dark); }
.mcw-404__links li { border-bottom: var(--hair); }
.mcw-404__links a { display: flex; align-items: center; gap: var(--s-4); min-height: 56px; color: var(--text-dark); text-decoration: none; font-family: var(--font-head); font-weight: 500; }
.mcw-404__links a span { min-width: 5.5rem; font-family: var(--font-mono); font-size: var(--fs-label); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-dark); font-weight: 400; }
.mcw-404__links a .mcw-icon { margin-left: auto; }
.mcw-404__links a:hover { color: var(--cobalt); }
@media (min-width: 64em) { .mcw-404__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap); align-items: start; } }

.search-form { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: var(--s-5) 0 0; max-width: 560px; }
.search-form label { flex: 1 1 240px; }
.search-field { width: 100%; min-height: 48px; padding: 0.6rem 0.85rem; font: inherit; color: var(--text-dark); background: var(--white); border: 1px solid var(--line-light-strong); border-radius: var(--r-btn); }
.search-submit { min-height: 48px; padding: 0 1.25rem; font: inherit; font-family: var(--font-head); font-weight: 600; color: var(--white); background: var(--cobalt); border: 0; border-radius: var(--r-btn); cursor: pointer; }
.search-submit:hover { background: var(--cobalt-hover); }

/* Legacy v2 helper classes still used by index.php / 404 */
.mcw-ctabox { background: var(--white); border: var(--hair); border-radius: var(--r-card); padding: var(--s-6); }

/* ---------- Footer ---------- */
.mcw-footer { background: var(--ink-900); color: var(--text-light); padding: var(--sec-pad) 0 var(--s-6); font-size: var(--fs-sm); border-top: var(--hair-dark); }
.mcw-footer a { color: var(--text-light); text-decoration: none; }
.mcw-footer a:hover { color: var(--cobalt-on-dark); text-decoration: underline; }
.mcw-footer .mcw-btn--primary, .mcw-footer .mcw-btn--primary:hover { color: var(--white); text-decoration: none; }
.mcw-footer__top { display: grid; gap: var(--s-6); padding-bottom: var(--s-8); border-bottom: var(--hair-dark); }
.mcw-footer__statement { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -0.02em; max-width: 20ch; }
@media (min-width: 64em) { .mcw-footer__top { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }
.mcw-footer__grid { display: grid; gap: var(--s-7); padding: var(--s-7) 0; }
@media (min-width: 48em) { .mcw-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) { .mcw-footer__grid { grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 3fr)); gap: var(--gap); } }
.mcw-footer__name { margin: 0 0 var(--s-2); font-family: var(--font-head); font-weight: 700; font-size: 1.125rem; letter-spacing: -0.02em; }
.mcw-footer__tag { margin: 0; color: var(--muted-light); max-width: 30ch; }
.mcw-footer__mail { margin: var(--s-5) 0 0; }
.mcw-footer__mail a { display: inline-flex; align-items: center; min-height: var(--target); font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--text-light); text-decoration: underline; text-decoration-color: var(--line-dark-strong); }
.mcw-footer__reply { margin: 0; color: var(--muted-light); }
.mcw-footer__heading { margin: 0 0 var(--s-3); display: grid; gap: var(--s-1); font-family: var(--font-head); font-weight: 600; font-size: 1rem; }
.mcw-footer__word { font-family: var(--font-mono); font-weight: 400; font-size: var(--fs-label); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-light); }
.mcw-footer ul { list-style: none; margin: 0; padding: 0; }
.mcw-footer__group li a { display: inline-flex; align-items: center; min-height: 36px; padding: 0.2rem 0; color: var(--muted-light); }
.mcw-footer__group li a:hover { color: var(--text-light); }
.mcw-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-4); padding-top: var(--s-5); border-top: var(--hair-dark); color: var(--muted-light); }
.mcw-footer__copy { margin: 0; display: flex; align-items: center; }
.mcw-footer__menu ul { display: flex; flex-wrap: wrap; gap: 0 var(--s-5); }
.mcw-footer__menu a { display: inline-flex; align-items: center; min-height: var(--target); color: var(--muted-light); }

/* ---------- Core block helpers ---------- */
.alignwide { max-width: 1100px; }
.alignfull { width: 100%; }
.has-text-align-center { text-align: center; }

/* ---------- Motion safety, forced colours, print ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
	.mcw-btn, .mcw-form__submit, .search-submit { border: 2px solid ButtonText; }
	.mcw-grid-lines::before { display: none; }
}
@media print {
	.mcw-header, .mcw-footer, .mcw-skip, .mcw-stickybar, .mcw-checklist-tools, .mcw-marquee { display: none !important; }
	.mcw-hero, .mcw-tone--dark, .mcw-tone--graphite { background: none !important; color: #000 !important; }
	.mcw-tone--dark .mcw-prose p, .mcw-tone--graphite .mcw-prose p, .mcw-tone--dark .mcw-prose li, .mcw-tone--graphite .mcw-prose li { color: #000 !important; }
	.mcw-grid-lines::before { display: none; }
	html.mcw-print-checklist body * { visibility: hidden; }
	html.mcw-print-checklist .is-printing, html.mcw-print-checklist .is-printing * { visibility: visible; }
	html.mcw-print-checklist .is-printing { position: absolute; left: 0; top: 0; width: 100%; }
	html.mcw-print-checklist .mcw-checklist-tools { display: none !important; }
}
