/* ==========================================================================
   Queensland Hospital Watch — main stylesheet
   --------------------------------------------------------------------------
   Soft, accessible neumorphism: extruded lavender surfaces for cards,
   controls and panels, but text always meets WCAG AA and every interactive
   element keeps a visible edge and a strong focus ring. Nothing relies on
   shadow alone to be understood.

   1. Tokens            6. Header & navigation     11. Guides & library
   2. Base              7. Heroes                  12. Campaigns, stories, news, partners
   3. Layout            8. Components              13. Forms
   4. Typography        9. Sections                14. Footer
   5. Buttons & chips  10. Pathway tool            15. Utilities, motion, print
   ========================================================================== */

/* 1. Tokens ----------------------------------------------------------------- */
:root {
	/* Brand, sampled from the logo */
	--navy: #101b4a;
	--navy-2: #1b2663;
	--purple: #5a3489;
	--purple-600: #4b2a75;
	--purple-700: #3c2160;
	--lav-500: #8e6bb8;
	--lav-400: #a98ac6;
	--lav-300: #c7b4de;
	--lav-200: #dccde8;
	--lav-100: #ece4f5;

	/* Surfaces — one base colour so extrusions read as the same material */
	--surface: #f1edf7;
	--surface-hi: #f7f4fb;
	--surface-lo: #e7e1f0;

	/* Text (contrast on --surface: ink 15.6:1, ink-2 9.3:1, ink-3 5.9:1) */
	--ink: #15163a;
	--ink-2: #413a5f;
	--ink-3: #5a5376;
	--line: #d7cde6;
	--line-strong: #8a7fa6; /* 3.4:1 — control boundaries */

	/* Signals */
	--urgent: #b3261e;
	--urgent-ink: #7a1a13;
	--urgent-bg: #fcebe8;
	--warn: #8a4b00;
	--warn-bg: #fdf3e2;
	--ok: #1d6b47;
	--ok-bg: #e5f4ec;

	/* Neumorphic light & shade */
	--shade: rgba(88, 64, 138, 0.2);
	--shade-strong: rgba(88, 64, 138, 0.28);
	--light: rgba(255, 255, 255, 0.92);
	--raise-1: 3px 3px 8px var(--shade), -3px -3px 8px var(--light);
	--raise-2: 8px 8px 20px var(--shade), -7px -7px 18px var(--light);
	--raise-3: 16px 16px 40px var(--shade-strong), -12px -12px 32px var(--light);
	--inset-1: inset 3px 3px 7px var(--shade), inset -3px -3px 7px var(--light);
	--inset-2: inset 6px 6px 14px var(--shade), inset -6px -6px 14px var(--light);
	--rim: inset 0 0 0 1px rgba(255, 255, 255, 0.7);

	/* Shape */
	--r-xs: 8px;
	--r-sm: 12px;
	--r-md: 18px;
	--r-lg: 26px;
	--r-xl: 36px;
	--r-pill: 999px;

	/* Type */
	--font-body: "Atkinson Hyperlegible Next", "Segoe UI", system-ui, -apple-system, sans-serif;
	--font-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
	--font-script: "Caveat", "Segoe Script", cursive;

	--fs-xs: 0.8125rem;
	--fs-sm: 0.9375rem;
	--fs-base: 1.125rem;
	--fs-md: 1.25rem;
	--fs-lg: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
	--fs-h3: clamp(1.3rem, 1.2rem + 0.35vw, 1.5rem);
	--fs-h2: clamp(2rem, 1.45rem + 2.2vw, 3.1rem);
	--fs-h1: clamp(2.6rem, 1.7rem + 3.8vw, 4.75rem);
	--fs-display: clamp(3.5rem, 2rem + 7vw, 8rem);

	/* Space */
	--gutter: clamp(1rem, 0.6rem + 1.8vw, 2rem);
	--gap: clamp(1rem, 0.75rem + 1vw, 1.75rem);
	--section: clamp(3rem, 2rem + 4.5vw, 6.5rem);
	--container: 1240px;
	--narrow: 780px;

	--header-h: 80px;
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--focus: 0 0 0 3px var(--surface), 0 0 0 6px var(--navy);

	color-scheme: light;
}

/* 2. Base -------------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 1.5rem);
}

body {
	margin: 0;
	background: var(--surface);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: var(--fs-base);
	line-height: 1.6;
	font-variant-numeric: lining-nums;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}

body.nav-open {
	overflow: hidden;
}

img,
svg,
video {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: var(--purple);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
	transition: color 0.15s;
}

a:hover {
	color: var(--purple-700);
	text-decoration-thickness: 0.14em;
}

:focus-visible {
	outline: 3px solid var(--navy);
	outline-offset: 3px;
	border-radius: 4px;
}

::selection {
	background: var(--lav-300);
	color: var(--ink);
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

button {
	cursor: pointer;
}

[hidden] {
	display: none !important;
}

.icon {
	width: 1.25em;
	height: 1.25em;
	flex: none;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.icon--inline {
	display: inline-block;
	width: 0.9em;
	height: 0.9em;
	margin-left: 0.2em;
	vertical-align: -0.05em;
}

/* 3. Layout ------------------------------------------------------------------ */
.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.container--narrow {
	max-width: calc(var(--narrow) + var(--gutter) * 2);
}

.section {
	padding-block: calc(var(--section) / 2);
}

.section:first-child {
	padding-top: var(--section);
}

.site-main > .section:last-child,
.site-main > section:last-child {
	padding-bottom: var(--section);
}

.grid {
	display: grid;
	gap: var(--gap);
	margin: 0;
	padding: 0;
	list-style: none;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
}

.grid > li {
	display: flex;
}

.grid > li > * {
	flex: 1;
}

@media (min-width: 720px) {
	.grid--2 { grid-template-columns: repeat(2, 1fr); }
	.grid--3 { grid-template-columns: repeat(2, 1fr); }
	.grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
	.grid--3 { grid-template-columns: repeat(3, 1fr); }
	.grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.grid--gap-top {
	margin-top: 2rem;
}

.button-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.875rem;
	margin-top: 1.75rem;
}

.button-row--center {
	justify-content: center;
}

/* 4. Typography -------------------------------------------------------------- */
h1,
h2,
h3,
h4 {
	margin: 0 0 0.5em;
	color: var(--navy);
	line-height: 1.15;
	text-wrap: balance;
}

h1,
h2 {
	font-family: var(--font-display);
	font-weight: 700;
	letter-spacing: -0.005em;
	line-height: 1.02;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; }
h4 { font-size: var(--fs-md); font-weight: 700; }

p {
	margin: 0 0 1em;
	text-wrap: pretty;
}

.lead {
	font-size: var(--fs-lg);
	line-height: 1.55;
	color: var(--ink-2);
	margin: 0;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	margin: 0 0 1rem;
	color: var(--purple);
	font-size: var(--fs-xs);
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.eyebrow::before {
	content: "";
	width: 1.75rem;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
}

.eyebrow--pill {
	padding: 0.5rem 1rem 0.5rem 0.75rem;
	border-radius: var(--r-pill);
	background: var(--surface);
	box-shadow: var(--raise-1), var(--rim);
	letter-spacing: 0.08em;
}

.eyebrow--pill::before {
	display: none;
}

.eyebrow--pill .icon {
	width: 1.1rem;
	height: 1.1rem;
}

.script-note {
	margin: 0;
	font-family: var(--font-script);
	font-weight: 600;
	font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.6rem);
	line-height: 1.1;
	color: var(--purple);
}

.prose {
	font-size: var(--fs-base);
	color: var(--ink-2);
}

.prose > :first-child {
	margin-top: 0;
}

.prose > :last-child {
	margin-bottom: 0;
}

.prose h2 {
	margin-top: 1.6em;
	font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem);
}

.prose h3 {
	margin-top: 1.5em;
}

.prose ul,
.prose ol {
	padding-left: 1.3em;
	margin: 0 0 1.2em;
}

.prose li {
	margin-bottom: 0.45em;
	padding-left: 0.2em;
}

.prose li::marker {
	color: var(--purple);
	font-weight: 700;
}

.prose strong {
	color: var(--ink);
}

.prose blockquote {
	margin: 1.5em 0;
	padding: 0.25em 0 0.25em 1.25em;
	border-left: 4px solid var(--lav-400);
	font-size: var(--fs-md);
	color: var(--ink);
}

.prose--story {
	font-size: var(--fs-md);
	line-height: 1.7;
}

.prose--story > p:first-child::first-letter {
	float: left;
	margin: 0.08em 0.1em 0 0;
	font-family: var(--font-display);
	font-size: 3.6em;
	line-height: 0.8;
	color: var(--purple);
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-weight: 700;
}

.text-link .icon {
	transition: transform 0.2s var(--ease);
}

.text-link:hover .icon--trail {
	transform: translateX(3px);
}

/* 5. Buttons & chips ---------------------------------------------------------- */
.btn {
	--btn-bg: var(--surface);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	min-height: 48px;
	padding: 0.7rem 1.4rem;
	border: 1.5px solid transparent;
	border-radius: var(--r-pill);
	background: var(--btn-bg);
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background-color 0.18s, color 0.18s;
	-webkit-tap-highlight-color: transparent;
}

.btn:hover {
	text-decoration: none;
	transform: translateY(-1px);
}

.btn:active {
	transform: translateY(1px);
}

.btn .icon {
	width: 1.15em;
	height: 1.15em;
}

.btn .icon--trail {
	transition: transform 0.2s var(--ease);
}

.btn:hover .icon--trail {
	transform: translateX(3px);
}

.btn__meta {
	font-weight: 400;
	opacity: 0.85;
}

.btn--primary {
	--btn-bg: linear-gradient(150deg, #6b41a3 0%, var(--purple) 45%, var(--purple-600) 100%);
	color: #fff;
	border-color: var(--purple-700);
	box-shadow: 6px 6px 16px rgba(75, 42, 117, 0.35), -5px -5px 12px var(--light), inset 1px 1px 0 rgba(255, 255, 255, 0.28);
}

.btn--primary:hover,
.btn--primary:focus-visible {
	color: #fff;
	box-shadow: 8px 10px 22px rgba(75, 42, 117, 0.42), -5px -5px 12px var(--light), inset 1px 1px 0 rgba(255, 255, 255, 0.3);
}

.btn--primary:active {
	box-shadow: inset 3px 3px 8px rgba(30, 10, 60, 0.45), inset -2px -2px 6px rgba(255, 255, 255, 0.15);
}

.btn--secondary {
	color: var(--purple-700);
	border-color: #a18fc2;
	box-shadow: var(--raise-1), var(--rim);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
	color: var(--purple-700);
	border-color: var(--purple);
	box-shadow: var(--raise-2), var(--rim);
}

.btn--secondary:active {
	box-shadow: var(--inset-1);
}

.btn--ghost {
	background: transparent;
	color: var(--purple-700);
	padding-inline: 0.5rem;
	box-shadow: none;
}

.btn--ghost:hover {
	color: var(--purple-700);
	text-decoration: underline;
	transform: none;
}

.btn--light {
	--btn-bg: #fff;
	color: var(--purple-700);
	box-shadow: 0 8px 20px rgba(10, 5, 40, 0.25);
}

.btn--light:hover {
	color: var(--purple-700);
	box-shadow: 0 12px 28px rgba(10, 5, 40, 0.32);
}

.btn--outline-light {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.75);
}

.btn--outline-light:hover {
	color: #fff;
	border-color: #fff;
	background: rgba(255, 255, 255, 0.08);
}

.btn--sm {
	min-height: 40px;
	padding: 0.45rem 1rem;
	font-size: var(--fs-sm);
}

.btn--lg {
	min-height: 58px;
	padding: 0.85rem 1.75rem;
	font-size: 1.0625rem;
}

.btn--block {
	width: 100%;
}

.icon-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-width: 48px;
	min-height: 48px;
	padding: 0 0.9rem;
	border: 1.5px solid transparent;
	border-radius: var(--r-pill);
	background: var(--surface);
	color: var(--navy);
	font-weight: 700;
	font-size: var(--fs-sm);
	text-decoration: none;
	justify-content: center;
	box-shadow: var(--raise-1), var(--rim);
	transition: box-shadow 0.18s var(--ease), color 0.15s;
}

.icon-btn:hover {
	color: var(--purple);
	box-shadow: var(--raise-2), var(--rim);
}

.icon-btn:active,
.icon-btn[aria-expanded="true"] {
	box-shadow: var(--inset-1);
	color: var(--purple);
}

.icon-btn--raised {
	width: 48px;
	padding: 0;
}

.chip-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.625rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.chip {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0.5rem 1.1rem;
	border: 1.5px solid #b9abd2;
	border-radius: var(--r-pill);
	background: var(--surface);
	color: var(--ink-2);
	font-size: var(--fs-sm);
	font-weight: 700;
	text-decoration: none;
	box-shadow: var(--raise-1);
	transition: box-shadow 0.18s var(--ease), color 0.15s, border-color 0.15s;
}

.chip:hover {
	color: var(--purple-700);
	border-color: var(--purple);
	box-shadow: var(--raise-2);
}

.chip.is-active,
.chip[aria-pressed="true"] {
	color: var(--purple-700);
	border-color: var(--purple);
	background: var(--lav-100);
	box-shadow: var(--inset-1);
}

.badge {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.28rem 0.7rem;
	border-radius: var(--r-pill);
	background: var(--lav-100);
	color: var(--purple-700);
	font-size: var(--fs-xs);
	font-weight: 800;
	letter-spacing: 0.03em;
	line-height: 1.3;
	text-decoration: none;
}

.badge .icon {
	width: 0.95rem;
	height: 0.95rem;
}

.badge--urgent {
	background: var(--urgent-bg);
	color: var(--urgent-ink);
	box-shadow: inset 0 0 0 1px rgba(179, 38, 30, 0.35);
}

.badge--live {
	background: var(--ok-bg);
	color: var(--ok);
	box-shadow: inset 0 0 0 1px rgba(29, 107, 71, 0.3);
}

.badge--muted {
	background: var(--surface-lo);
	color: var(--ink-2);
}

.badge--link:hover {
	background: var(--lav-200);
	color: var(--purple-700);
}

.pulse {
	position: relative;
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: currentColor;
}

.pulse::after {
	content: "";
	position: absolute;
	inset: -4px;
	border-radius: 50%;
	border: 2px solid currentColor;
	opacity: 0;
	animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
	0% { transform: scale(0.5); opacity: 0.7; }
	100% { transform: scale(1.6); opacity: 0; }
}

.icon-well {
	display: inline-grid;
	place-items: center;
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 50%;
	background: var(--surface);
	color: var(--purple);
	box-shadow: var(--inset-2);
	flex: none;
}

.icon-well .icon {
	width: 1.6rem;
	height: 1.6rem;
}

.icon-well--lg {
	width: 4.5rem;
	height: 4.5rem;
}

.icon-well--lg .icon {
	width: 2rem;
	height: 2rem;
}

/* 6. Header & navigation ------------------------------------------------------ */
.skip-link {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 1000;
	padding: 0.85rem 1.25rem;
	border-radius: var(--r-sm);
	background: var(--navy);
	color: #fff;
	font-weight: 700;
	transform: translateY(-160%);
	transition: transform 0.2s;
}

.skip-link:focus {
	transform: none;
	color: #fff;
}

.urgent-bar {
	background: var(--navy);
	color: #e8e4f5;
	font-size: var(--fs-sm);
}

.urgent-bar__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 1.5rem;
	min-height: 44px;
	padding-block: 0.4rem;
	padding-right: calc(var(--gutter) + 44px);
	position: relative;
}

.urgent-bar__lead {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin: 0;
	font-weight: 800;
	color: #fff;
}

.urgent-bar__lead .icon {
	color: #ff9b91;
}

.urgent-bar__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.urgent-bar__label {
	margin-right: 0.35rem;
	color: #c9c2e2;
}

.urgent-bar a {
	color: #fff;
	font-weight: 800;
	text-decoration-color: rgba(255, 255, 255, 0.5);
}

.urgent-bar a:hover {
	color: #fff;
	text-decoration-color: #fff;
}

.urgent-bar__link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin-left: auto;
}

.urgent-bar__link .icon {
	width: 1rem;
	height: 1rem;
}

.urgent-bar__close {
	position: absolute;
	right: var(--gutter);
	top: 50%;
	transform: translateY(-50%);
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #c9c2e2;
}

.urgent-bar__close:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

.urgent-bar__close:focus-visible {
	outline-color: #fff;
}

.urgent-bar :focus-visible {
	outline-color: #fff;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	transition: box-shadow 0.25s;
}

/* The frosted glass lives on a pseudo-element: backdrop-filter on the header
   itself would become the containing block for the fixed mobile drawer. */
.site-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(241, 237, 247, 0.88);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	backdrop-filter: saturate(1.4) blur(14px);
}

body.nav-open .site-header::before {
	background: var(--surface);
}

.site-header.is-scrolled {
	box-shadow: 0 10px 30px -12px rgba(60, 33, 96, 0.28), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	min-height: var(--header-h);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	margin-right: auto;
	color: var(--navy);
	text-decoration: none;
	flex: none;
}

.brand:hover {
	color: var(--navy);
}

.brand__mark {
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: #fff;
	box-shadow: var(--raise-1);
}

.brand__text {
	display: flex;
	flex-direction: column;
	line-height: 1;
}

.brand__small {
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: var(--navy);
}

.brand__large {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.75rem;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

.brand__script {
	font-family: var(--font-script);
	font-weight: 700;
	font-size: 1.15em;
	text-transform: none;
	color: var(--purple);
	letter-spacing: 0;
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 0.625rem;
}

.menu-toggle__bars {
	display: grid;
	gap: 4px;
	width: 18px;
}

.menu-toggle__bars span {
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform 0.25s var(--ease), opacity 0.2s;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav__link,
.nav__toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	min-height: 44px;
	padding: 0.5rem 0.95rem;
	border: 0;
	border-radius: var(--r-pill);
	background: transparent;
	color: var(--navy);
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none;
	white-space: nowrap;
	transition: box-shadow 0.18s var(--ease), color 0.15s, background-color 0.15s;
}

.nav__link:hover,
.nav__toggle:hover {
	color: var(--purple);
	background: var(--surface);
	box-shadow: var(--raise-1);
}

.nav__toggle[aria-expanded="true"],
.nav__item.is-current > .nav__link,
.nav__item.is-current > .nav__toggle {
	color: var(--purple-700);
	background: var(--surface);
	box-shadow: var(--inset-1);
}

.nav__chevron {
	width: 1rem;
	height: 1rem;
	transition: transform 0.2s var(--ease);
}

.nav__toggle[aria-expanded="true"] .nav__chevron {
	transform: rotate(180deg);
}

.nav__panel-title {
	margin: 0 0 0.35rem;
	font-family: var(--font-display);
	font-size: 1.9rem;
	font-weight: 700;
	line-height: 1;
	color: var(--navy);
}

.nav__panel-desc {
	margin: 0 0 1rem;
	color: var(--ink-2);
	font-size: var(--fs-sm);
}

.nav__panel-all {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-weight: 700;
	font-size: var(--fs-sm);
}

.nav__panel-all .icon {
	width: 1rem;
	height: 1rem;
}

.nav__sub {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.35rem;
}

.nav__sublink {
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
	padding: 0.7rem 0.85rem;
	border-radius: var(--r-md);
	color: var(--ink);
	text-decoration: none;
	transition: background-color 0.15s, box-shadow 0.18s;
}

.nav__sublink:hover {
	color: var(--ink);
	background: var(--surface);
	box-shadow: var(--raise-1);
}

.nav__sublink[aria-current="page"] {
	box-shadow: var(--inset-1);
}

.nav__sublink-icon {
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: var(--surface);
	color: var(--purple);
	box-shadow: var(--inset-1);
	flex: none;
}

.nav__sublink-icon .icon {
	width: 1.2rem;
	height: 1.2rem;
}

.nav__sublink-text {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
}

.nav__sublink-title {
	font-weight: 700;
	line-height: 1.3;
}

.nav__sublink-desc {
	font-size: var(--fs-sm);
	color: var(--ink-3);
	line-height: 1.4;
}

.nav__drawer-extras {
	display: none;
}

/* Desktop navigation */
@media (min-width: 1140px) {
	.nav {
		display: block;
	}

	.nav__list {
		display: flex;
		align-items: center;
		gap: 0.25rem;
	}

	.nav__item {
		position: relative;
	}

	.nav__panel {
		position: absolute;
		top: calc(100% + 14px);
		left: 50%;
		width: min(760px, 90vw);
		padding: 0.5rem;
		border-radius: var(--r-xl);
		background: var(--surface-hi);
		box-shadow: var(--raise-3), var(--rim);
		opacity: 0;
		visibility: hidden;
		transform: translate(-50%, -6px);
		transition: opacity 0.18s, transform 0.22s var(--ease), visibility 0s linear 0.22s;
	}

	.nav__item:first-child .nav__panel {
		left: 0;
		transform: translate(-10%, -6px);
	}

	.nav__toggle[aria-expanded="true"] + .nav__panel {
		opacity: 1;
		visibility: visible;
		transform: translate(-50%, 0);
		transition: opacity 0.18s, transform 0.22s var(--ease), visibility 0s;
	}

	.nav__item:first-child .nav__toggle[aria-expanded="true"] + .nav__panel {
		transform: translate(-10%, 0);
	}

	.nav__panel-inner {
		display: grid;
		grid-template-columns: 220px 1fr;
		gap: 0.5rem;
	}

	.nav__panel-intro {
		padding: 1.4rem;
		border-radius: calc(var(--r-xl) - 8px);
		background:
			radial-gradient(120% 90% at 0% 0%, rgba(169, 138, 198, 0.35), transparent 60%),
			var(--surface);
		box-shadow: var(--inset-1);
	}

	.nav__sub {
		grid-template-columns: 1fr 1fr;
		padding: 0.6rem;
		align-content: start;
	}

	.menu-toggle {
		display: none;
	}
}

@media (max-width: 1239px) and (min-width: 1140px) {
	.site-header__cta {
		display: none;
	}
}

/* Mobile drawer */
@media (max-width: 1139px) {
	.nav {
		position: fixed;
		inset: var(--nav-top, var(--header-h)) 0 0 0;
		z-index: 90;
		overflow-y: auto;
		overscroll-behavior: contain;
		padding: 1rem var(--gutter) 2rem;
		background: var(--surface);
		box-shadow: inset 0 12px 20px -16px var(--shade-strong);
		visibility: hidden;
		opacity: 0;
		transform: translateY(-8px);
		transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0s linear 0.25s;
	}

	.nav.is-open {
		visibility: visible;
		opacity: 1;
		transform: none;
		transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0s;
	}

	.nav__list {
		display: grid;
		gap: 0.5rem;
		max-width: 640px;
		margin-inline: auto;
	}

	.nav__link,
	.nav__toggle {
		width: 100%;
		justify-content: space-between;
		min-height: 56px;
		padding: 0.75rem 1.1rem;
		border-radius: var(--r-md);
		background: var(--surface);
		box-shadow: var(--raise-1), var(--rim);
		font-size: 1.125rem;
	}

	.nav__panel {
		display: none;
		padding: 0.75rem 0.25rem 0.5rem;
	}

	.nav__toggle[aria-expanded="true"] + .nav__panel {
		display: block;
	}

	.nav__panel-intro {
		padding: 0 0.6rem 0.5rem;
	}

	.nav__panel-title,
	.nav__panel-desc {
		display: none;
	}

	.nav__drawer-extras {
		display: grid;
		gap: 1rem;
		max-width: 640px;
		margin: 1.5rem auto 0;
	}

	.nav__drawer-note {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 0.5rem;
		margin: 0;
		color: var(--ink-2);
	}

	.nav__drawer-note a {
		font-weight: 800;
	}

	.nav__drawer-note .icon {
		color: var(--urgent);
	}
}

@media (max-width: 719px) {
	:root {
		--header-h: 68px;
	}

	.brand__mark {
		width: 46px;
		height: 46px;
	}

	.brand__large {
		font-size: 1.4rem;
	}

	.brand__small {
		font-size: 0.62rem;
	}

	.site-header__cta,
	.icon-btn__label {
		position: absolute !important;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}

	.site-header__cta {
		display: none;
	}

	.icon-btn {
		padding: 0;
		width: 48px;
	}

	.urgent-bar {
		font-size: var(--fs-xs);
	}

	.urgent-bar__inner {
		gap: 0.2rem 1rem;
	}

	.urgent-bar__lead span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
	}

	.urgent-bar__label {
		margin-right: 0.2rem;
	}

	.urgent-bar__link {
		margin-left: 0;
		flex-basis: 100%;
	}

	.eyebrow--pill {
		font-size: 0.72rem;
		letter-spacing: 0.05em;
	}
}

/* Search dialog */
.search-dialog {
	width: min(680px, calc(100vw - 2rem));
	max-height: calc(100vh - 4rem);
	margin: 12vh auto auto;
	padding: 0;
	border: 0;
	border-radius: var(--r-xl);
	background: var(--surface-hi);
	color: var(--ink);
	box-shadow: var(--raise-3), var(--rim);
}

.search-dialog::backdrop {
	background: rgba(16, 27, 74, 0.45);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

.search-dialog[open] {
	animation: dialog-in 0.22s var(--ease);
}

@keyframes dialog-in {
	from { opacity: 0; transform: translateY(10px) scale(0.98); }
}

.search-dialog__panel {
	padding: clamp(1.25rem, 1rem + 1.5vw, 2rem);
}

.search-dialog__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
}

.search-dialog__title {
	margin: 0;
	font-size: 2rem;
}

.search-dialog__label {
	margin: 1.5rem 0 0.75rem;
	font-size: var(--fs-xs);
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink-3);
}

.search-form {
	display: flex;
	gap: 0.625rem;
}

.search-form__field {
	position: relative;
	flex: 1;
	display: block;
}

.search-form__icon {
	position: absolute;
	left: 1.1rem;
	top: 50%;
	transform: translateY(-50%);
	color: var(--ink-3);
	pointer-events: none;
}

.search-form__field .input {
	padding-left: 3.1rem;
}

@media (max-width: 479px) {
	.search-form {
		flex-direction: column;
	}
}

/* 7. Heroes ------------------------------------------------------------------ */
.home-hero {
	position: relative;
	padding-block: clamp(2.5rem, 1.5rem + 5vw, 6rem) clamp(3rem, 2rem + 4vw, 5.5rem);
	overflow: hidden;
	isolation: isolate;
}

.home-hero::before {
	content: "";
	position: absolute;
	inset: -20% -10% auto auto;
	width: min(900px, 90vw);
	aspect-ratio: 1;
	z-index: -1;
	background:
		radial-gradient(closest-side, rgba(169, 138, 198, 0.42), transparent 70%),
		radial-gradient(40% 40% at 30% 70%, rgba(220, 205, 232, 0.8), transparent 70%);
	filter: blur(10px);
}

.home-hero::after {
	content: "";
	position: absolute;
	left: -12%;
	bottom: -30%;
	width: 60vw;
	max-width: 760px;
	aspect-ratio: 1;
	z-index: -1;
	background: radial-gradient(closest-side, rgba(199, 180, 222, 0.45), transparent 70%);
}

.home-hero__grid {
	display: grid;
	gap: clamp(2rem, 1rem + 4vw, 4.5rem);
	align-items: center;
}

@media (min-width: 1024px) {
	.home-hero__grid {
		grid-template-columns: 1.1fr 0.9fr;
	}
}

.home-hero__title {
	max-width: 13ch;
	margin-bottom: 0.2em;
	font-size: clamp(3rem, 1.9rem + 4.6vw, 5.6rem);
	line-height: 0.95;
}

.home-hero__note {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: 0 0 1.5rem;
}

.home-hero__note .script-note {
	font-size: clamp(2.25rem, 1.8rem + 2vw, 3.4rem);
}

.home-hero__intro {
	max-width: 36rem;
	font-size: var(--fs-lg);
	line-height: 1.55;
	color: var(--ink-2);
}

.trust-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	margin: 1.75rem 0 0;
	padding: 0;
	list-style: none;
	color: var(--ink-2);
	font-size: var(--fs-sm);
	font-weight: 700;
}

.trust-row li {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

.trust-row .icon {
	color: var(--ok);
	width: 1.1rem;
	height: 1.1rem;
}

.pulse-line {
	width: clamp(120px, 10vw, 180px);
	height: auto;
	overflow: visible;
}

.pulse-line__path {
	fill: none;
	stroke: var(--lav-400);
	stroke-width: 3;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-dasharray: 320;
	stroke-dashoffset: 320;
	animation: draw 1.6s 0.3s var(--ease) forwards;
}

.pulse-line__heart {
	fill: none;
	stroke: var(--purple);
	stroke-width: 3;
	stroke-linejoin: round;
	opacity: 0;
	animation: fade-in 0.5s 1.6s forwards;
}

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade-in { to { opacity: 1; } }

/* Home helper card */
.helper {
	position: relative;
	padding: clamp(1.25rem, 0.9rem + 1.5vw, 2rem);
	border-radius: var(--r-xl);
	background: var(--surface-hi);
	box-shadow: var(--raise-3), var(--rim);
}

.helper__head {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1.25rem;
}

.helper__icon {
	display: grid;
	place-items: center;
	width: 3.25rem;
	height: 3.25rem;
	border-radius: 50%;
	background: linear-gradient(150deg, #6b41a3, var(--purple-600));
	color: #fff;
	box-shadow: 4px 4px 12px rgba(75, 42, 117, 0.35);
	flex: none;
}

.helper__title {
	margin: 0;
	font-size: clamp(1.8rem, 1.5rem + 1vw, 2.3rem);
}

.helper__sub {
	margin: 0;
	color: var(--ink-3);
	font-size: var(--fs-sm);
}

.helper__list {
	display: grid;
	gap: 0.625rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.helper__option {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	min-height: 60px;
	padding: 0.75rem 1rem;
	border: 1.5px solid transparent;
	border-radius: var(--r-md);
	background: var(--surface);
	color: var(--ink);
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
	box-shadow: var(--raise-1), var(--rim);
	transition: box-shadow 0.18s var(--ease), border-color 0.15s, transform 0.18s var(--ease);
}

.helper__option:hover {
	color: var(--ink);
	border-color: var(--lav-400);
	box-shadow: var(--raise-2), var(--rim);
	transform: translateX(2px);
}

.helper__option-icon {
	color: var(--purple);
}

.helper__option.is-urgent {
	background: linear-gradient(90deg, var(--urgent-bg), var(--surface) 70%);
	border-color: rgba(179, 38, 30, 0.35);
}

.helper__option.is-urgent .helper__option-icon {
	color: var(--urgent);
}

.helper__arrow {
	margin-left: auto;
	color: var(--ink-3);
	transition: transform 0.2s var(--ease);
}

.helper__option:hover .helper__arrow {
	transform: translateX(3px);
	color: var(--purple);
}

.helper__all {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: 1.1rem;
	font-weight: 700;
}

.helper__all .icon {
	width: 1rem;
	height: 1rem;
}

/* Page hero */
.page-hero {
	position: relative;
	padding-block: 1.5rem clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
	background:
		radial-gradient(60% 120% at 100% 0%, rgba(199, 180, 222, 0.5), transparent 65%),
		radial-gradient(45% 70% at 0% 40%, rgba(220, 205, 232, 0.5), transparent 70%);
	isolation: isolate;
}

.page-hero__grid {
	display: grid;
	gap: clamp(2rem, 1rem + 3vw, 4rem);
	align-items: center;
	margin-top: clamp(1.5rem, 1rem + 2vw, 3rem);
}

@media (min-width: 960px) {
	.page-hero--split .page-hero__grid,
	.page-hero--guide .page-hero__grid {
		grid-template-columns: 1.15fr 0.85fr;
	}
}

.page-hero__copy {
	max-width: 50rem;
}

.page-hero__title {
	margin-bottom: 0.3em;
}

.page-hero__note {
	margin: -0.1em 0 0.6em;
}

.page-hero__intro {
	max-width: 42rem;
	margin: 0;
	font-size: var(--fs-lg);
	line-height: 1.55;
	color: var(--ink-2);
}

.page-hero__meta {
	margin-top: 1.25rem;
}

.page-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	margin-top: 1.75rem;
}

.page-hero__figure {
	position: relative;
	margin: 0;
	border-radius: var(--r-xl);
	padding: 10px;
	background: var(--surface);
	box-shadow: var(--raise-3), var(--rim);
}

.page-hero__figure img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: calc(var(--r-xl) - 10px);
}

.page-hero__figure--cover img {
	aspect-ratio: 3 / 2;
	object-fit: cover;
	object-position: left center;
}

.figure-chip {
	position: absolute;
	left: -1rem;
	bottom: 1.75rem;
	display: grid;
	max-width: 15rem;
	padding: 0.9rem 1.2rem;
	border-radius: var(--r-md);
	background: var(--navy);
	color: #e8e4f5;
	font-size: var(--fs-sm);
	line-height: 1.35;
	box-shadow: 0 16px 30px -10px rgba(16, 27, 74, 0.55);
}

.figure-chip strong {
	font-family: var(--font-display);
	font-size: 2.6rem;
	line-height: 1;
	color: #fff;
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: var(--fs-sm);
	color: var(--ink-3);
}

.breadcrumbs li {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.breadcrumbs li + li::before {
	content: "";
	width: 0.45rem;
	height: 0.45rem;
	border-top: 2px solid var(--lav-400);
	border-right: 2px solid var(--lav-400);
	transform: rotate(45deg);
}

.breadcrumbs a {
	color: var(--ink-2);
}

.breadcrumbs [aria-current] {
	color: var(--ink-3);
	max-width: 32ch;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* 8. Components -------------------------------------------------------------- */
.card {
	position: relative;
	display: flex;
	flex-direction: column;
	border-radius: var(--r-lg);
	background: var(--surface);
	box-shadow: var(--raise-2), var(--rim);
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
	overflow: hidden;
}

.card:has(.card__link):hover,
.card.is-linked:hover {
	transform: translateY(-4px);
	box-shadow: var(--raise-3), var(--rim);
}

.card:has(.card__link:focus-visible) {
	outline: 3px solid var(--navy);
	outline-offset: 4px;
}

.card__link {
	color: inherit;
	text-decoration: none;
}

.card__link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.card__link:focus-visible {
	outline: none;
}

.card__link:hover {
	color: inherit;
}

.card__media {
	position: relative;
	margin: 10px 10px 0;
	border-radius: calc(var(--r-lg) - 8px);
	overflow: hidden;
	background: var(--lav-100);
}

.card__media img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	transition: transform 0.5s var(--ease);
}

.card:hover .card__media img {
	transform: scale(1.03);
}

.card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 1.4rem 1.5rem 1.5rem;
}

.card__kicker {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.75rem;
	margin: 0 0 0.75rem;
	font-size: var(--fs-xs);
	color: var(--ink-3);
	font-weight: 700;
}

.card__number {
	letter-spacing: 0.04em;
}

.card__title {
	margin: 0 0 0.5rem;
	font-family: var(--font-body);
	font-size: 1.3rem;
	font-weight: 800;
	line-height: 1.25;
	color: var(--navy);
}

.card--feature .card__title {
	margin-top: 1.1rem;
}

.card__text {
	margin: 0;
	color: var(--ink-2);
	font-size: 1rem;
	line-height: 1.55;
}

.card__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 1rem;
	margin: auto 0 0;
	padding-top: 1.25rem;
}

.card__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: var(--purple);
	font-weight: 800;
	font-size: var(--fs-sm);
}

.card__cta .icon {
	width: 1rem;
	height: 1rem;
	transition: transform 0.2s var(--ease);
}

.card:hover .card__cta .icon {
	transform: translateX(3px);
}

.card__meta {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: var(--fs-xs);
	color: var(--ink-3);
	font-weight: 700;
}

.card__meta .icon {
	width: 1rem;
	height: 1rem;
}

.card--urgent {
	box-shadow: var(--raise-2), inset 0 0 0 1.5px rgba(179, 38, 30, 0.3);
}

.card__figure {
	position: absolute;
	left: 0.75rem;
	bottom: 0.75rem;
	display: grid;
	max-width: 70%;
	margin: 0;
	padding: 0.55rem 0.85rem;
	border-radius: var(--r-sm);
	background: rgba(16, 27, 74, 0.92);
	color: #e8e4f5;
	font-size: var(--fs-xs);
	line-height: 1.3;
}

.card__figure strong {
	font-family: var(--font-display);
	font-size: 1.6rem;
	line-height: 1;
	color: #fff;
}

.card--story .card__body {
	padding: 1.75rem;
}

.card__quote-mark {
	width: 2.25rem;
	height: 2.25rem;
	margin-bottom: 1rem;
	color: var(--lav-400);
}

.card__byline {
	margin: auto 0 0;
	padding-top: 1.25rem;
	color: var(--ink-3);
	font-size: var(--fs-sm);
	font-weight: 700;
}

.card--route .card__foot,
.card--contact .card__foot {
	justify-content: flex-start;
}

.text-link--email {
	word-break: break-word;
}

.text-link--email .icon {
	width: 1.1rem;
	height: 1.1rem;
}

.contact-lines {
	display: grid;
	gap: 0.5rem;
	margin: 1rem 0 0;
	padding: 1rem 0 0;
	list-style: none;
	border-top: 1px solid var(--line);
	font-size: var(--fs-sm);
}

.contact-lines li {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	word-break: break-word;
}

.contact-lines .icon {
	width: 1.1rem;
	height: 1.1rem;
	color: var(--purple);
}

.contact-lines a {
	font-weight: 700;
}

/* Callouts */
.callout {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1rem;
	align-items: start;
	padding: 1.25rem 1.5rem;
	border-radius: var(--r-md);
	background: var(--lav-100);
	color: var(--ink);
	border: 1.5px solid var(--lav-300);
}

.callout__icon {
	width: 1.6rem;
	height: 1.6rem;
	margin-top: 0.1rem;
	color: var(--purple);
}

.callout__title {
	margin: 0 0 0.35rem;
	font-weight: 800;
	font-size: var(--fs-md);
	color: var(--navy);
}

.callout__body > :last-child {
	margin-bottom: 0;
}

.callout__body p {
	margin-bottom: 0.6em;
}

.callout__action {
	margin-top: 0.75rem;
}

.callout--warning {
	background: var(--warn-bg);
	border-color: #e6c48f;
}

.callout--warning .callout__icon {
	color: var(--warn);
}

.callout--urgent {
	background: var(--urgent-bg);
	border-color: rgba(179, 38, 30, 0.45);
	border-left-width: 6px;
}

.callout--urgent .callout__icon,
.callout--urgent .callout__title {
	color: var(--urgent-ink);
}

.callout--brand {
	background: linear-gradient(140deg, var(--purple) 0%, var(--navy-2) 100%);
	border-color: transparent;
	color: #f1edf7;
}

.callout--brand .callout__icon,
.callout--brand .callout__title,
.callout--brand a {
	color: #fff;
}

/* Steps */
.steps {
	counter-reset: step;
	display: grid;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.steps__item {
	counter-increment: step;
	position: relative;
	display: grid;
	grid-template-columns: 3.25rem 1fr;
	column-gap: 1.1rem;
	padding: 1.1rem 1.25rem 1.1rem 1.1rem;
	border-radius: var(--r-md);
	background: var(--surface);
	box-shadow: var(--raise-1), var(--rim);
}

.steps__item::before {
	content: counter(step);
	grid-row: span 2;
	display: grid;
	place-items: center;
	width: 3.25rem;
	height: 3.25rem;
	border-radius: 50%;
	background: var(--surface);
	color: var(--purple);
	font-family: var(--font-display);
	font-size: 1.6rem;
	font-weight: 700;
	box-shadow: var(--inset-2);
}

.steps__item:not(:last-child)::after {
	content: "";
	position: absolute;
	left: calc(1.1rem + 1.625rem - 1px);
	top: calc(100% - 0.25rem);
	height: 1.5rem;
	border-left: 2px dashed var(--lav-400);
}

.steps__title {
	align-self: center;
	margin: 0;
	font-weight: 800;
	color: var(--navy);
	font-size: 1.125rem;
	line-height: 1.35;
}

.steps__text {
	margin: 0.3rem 0 0;
	color: var(--ink-2);
	font-size: 1rem;
}

.steps--compact .steps__item {
	grid-template-columns: 2.5rem 1fr;
	padding: 0.85rem 1rem;
}

.steps--compact .steps__item::before {
	width: 2.5rem;
	height: 2.5rem;
	font-size: 1.3rem;
}

.steps--compact .steps__item:not(:last-child)::after {
	left: calc(1rem + 1.25rem - 1px);
}

/* Checklist & checkboxes */
.checklist {
	padding: clamp(1.25rem, 1rem + 1vw, 2rem);
	border-radius: var(--r-lg);
	background: var(--surface);
	box-shadow: var(--raise-2), var(--rim);
}

.checklist .section-head {
	margin-bottom: 1rem;
}

.checklist .section-head__title {
	font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem);
}

.checklist__list {
	display: grid;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.checklist__note {
	margin: 1rem 0 0;
	font-size: var(--fs-xs);
	color: var(--ink-3);
}

.check {
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
	padding: 0.6rem 0.75rem;
	border-radius: var(--r-sm);
	cursor: pointer;
	line-height: 1.45;
	transition: background-color 0.15s;
}

.check:hover {
	background: var(--surface-lo);
}

.check input,
.af-form input[type="checkbox"],
.af-form input[type="radio"] {
	appearance: none;
	-webkit-appearance: none;
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 1.6rem;
	height: 1.6rem;
	margin: 0;
	border: 2px solid var(--line-strong);
	border-radius: 7px;
	background: var(--surface);
	box-shadow: var(--inset-1);
	cursor: pointer;
	transition: background-color 0.15s, border-color 0.15s;
}

.af-form input[type="radio"] {
	border-radius: 50%;
}

.check input::after,
.af-form input[type="checkbox"]::after {
	content: "";
	width: 0.45rem;
	height: 0.8rem;
	margin-top: -0.15rem;
	border: solid #fff;
	border-width: 0 3px 3px 0;
	transform: rotate(45deg) scale(0);
	transition: transform 0.15s var(--ease);
}

.af-form input[type="radio"]::after {
	content: "";
	width: 0.6rem;
	height: 0.6rem;
	border-radius: 50%;
	background: #fff;
	transform: scale(0);
	transition: transform 0.15s var(--ease);
}

.check input:checked,
.af-form input[type="checkbox"]:checked,
.af-form input[type="radio"]:checked {
	border-color: var(--purple-700);
	background: var(--purple);
	box-shadow: none;
}

.check input:checked::after,
.af-form input[type="checkbox"]:checked::after {
	transform: rotate(45deg) scale(1);
}

.af-form input[type="radio"]:checked::after {
	transform: scale(1);
}

.check input:checked + span {
	color: var(--ink-3);
	text-decoration: line-through;
	text-decoration-color: var(--lav-400);
}

.checklist__list .check span {
	color: var(--ink);
	font-weight: 600;
}

/* Accordion */
.accordion {
	display: grid;
	gap: 0.75rem;
}

.accordion__item {
	border-radius: var(--r-md);
	background: var(--surface);
	box-shadow: var(--raise-1), var(--rim);
}

.accordion__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.1rem 1.35rem;
	font-weight: 800;
	color: var(--navy);
	cursor: pointer;
	list-style: none;
	border-radius: var(--r-md);
}

.accordion__q::-webkit-details-marker {
	display: none;
}

.accordion__icon {
	color: var(--purple);
	transition: transform 0.2s var(--ease);
}

.accordion__item[open] .accordion__icon {
	transform: rotate(180deg);
}

.accordion__item[open] .accordion__q {
	box-shadow: inset 0 -1px 0 var(--line);
	border-radius: var(--r-md) var(--r-md) 0 0;
}

.accordion__a {
	padding: 1rem 1.35rem 1.35rem;
}

/* Link lists */
.link-list {
	display: grid;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.link-list a {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	padding: 0.8rem 1rem;
	border-radius: var(--r-sm);
	background: var(--surface);
	box-shadow: var(--raise-1), var(--rim);
	font-weight: 700;
	text-decoration: none;
	transition: box-shadow 0.18s var(--ease);
}

.link-list a:hover {
	box-shadow: var(--raise-2), var(--rim);
}

.contact-mini {
	display: grid;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.contact-mini li {
	display: grid;
	gap: 0.1rem;
	padding-left: 0.9rem;
	border-left: 3px solid var(--lav-300);
}

.contact-mini a,
.contact-mini strong {
	font-weight: 800;
}

.contact-mini span {
	font-size: var(--fs-sm);
	color: var(--ink-2);
}

/* Share */
.share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
}

.share__status {
	font-size: var(--fs-sm);
	font-weight: 700;
	color: var(--ok);
}

.disclaimer {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	margin: 2rem 0 0;
	color: var(--ink-3);
	font-size: var(--fs-sm);
	line-height: 1.5;
}

.disclaimer .icon {
	margin-top: 0.1rem;
	width: 1.1rem;
	height: 1.1rem;
}

.empty-state {
	display: grid;
	justify-items: center;
	max-width: 36rem;
	margin: 2rem auto;
	padding: 2.5rem 1.5rem;
	text-align: center;
	color: var(--ink-2);
}

.empty-state--raised {
	border-radius: var(--r-xl);
	background: var(--surface);
	box-shadow: var(--raise-2), var(--rim);
}

.empty-state__icon {
	width: 3rem;
	height: 3rem;
	margin-bottom: 1rem;
	color: var(--lav-500);
}

.empty-state__title {
	margin-bottom: 0.5rem;
	font-weight: 800;
	font-size: var(--fs-md);
	color: var(--navy);
	font-family: var(--font-body);
}

h2.empty-state__title {
	font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem);
	font-family: var(--font-display);
}

/* 9. Sections ---------------------------------------------------------------- */
.section-head {
	max-width: 46rem;
	margin-bottom: clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
}

.section-head__title {
	margin-bottom: 0.3em;
}

.section-head__intro {
	margin: 0;
	font-size: var(--fs-md);
	color: var(--ink-2);
	line-height: 1.55;
}

.section-head--split {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem 2rem;
	max-width: none;
}

.section-head--split .section-head {
	margin-bottom: 0;
}

.section--lead {
	padding-block: var(--section) 0;
}

.section--lead .lead {
	font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.75rem);
	line-height: 1.5;
	color: var(--navy);
	font-weight: 600;
}

/* Stat panel */
.stat-panel {
	display: grid;
	gap: clamp(1.5rem, 1rem + 2vw, 3rem);
	align-items: center;
	padding: clamp(1.75rem, 1rem + 3vw, 3.5rem);
	border-radius: var(--r-xl);
	background:
		radial-gradient(70% 120% at 0% 0%, rgba(199, 180, 222, 0.55), transparent 60%),
		var(--surface);
	box-shadow: var(--raise-3), var(--rim);
}

@media (min-width: 860px) {
	.stat-panel {
		grid-template-columns: 1fr 1fr;
	}
}

.stat-panel__value {
	margin: 0;
	font-family: var(--font-display);
	font-size: var(--fs-display);
	font-weight: 700;
	line-height: 0.9;
	letter-spacing: -0.02em;
	color: var(--purple);
}

.stat-panel__label {
	max-width: 26rem;
	margin: 0.75rem 0 0;
	font-size: var(--fs-md);
	color: var(--ink-2);
	font-weight: 600;
}

.stat-panel__lines {
	padding-left: clamp(0rem, -1rem + 3vw, 2.5rem);
	border-left: 3px solid var(--lav-300);
}

.stat-panel__line {
	margin: 0 0 0.35rem;
	font-family: var(--font-display);
	font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.3rem);
	font-weight: 600;
	line-height: 1.15;
	color: var(--navy);
}

.stat-panel__line:nth-child(2) { color: var(--purple-600); }
.stat-panel__line:nth-child(3) { color: var(--purple); }

.stat-panel__source {
	margin: 1.25rem 0 0;
	font-size: var(--fs-xs);
	color: var(--ink-3);
}

/* Media & text */
.media-text {
	display: grid;
	gap: clamp(2rem, 1rem + 4vw, 5rem);
	align-items: center;
}

@media (min-width: 900px) {
	.media-text {
		grid-template-columns: 1fr 1fr;
	}

	.media-text--left .media-text__figure {
		order: -1;
	}
}

.media-text__copy {
	max-width: 38rem;
}

.media-text__figure {
	position: relative;
	margin: 0;
}

.media-text__frame {
	padding: 10px;
	border-radius: var(--r-xl);
	background: var(--surface);
	box-shadow: var(--raise-3), var(--rim);
}

.media-text__frame img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: calc(var(--r-xl) - 10px);
}

.media-text__note {
	position: absolute;
	right: clamp(0.5rem, 3vw, 2rem);
	bottom: -1.4rem;
	padding: 0.35rem 1.1rem 0.5rem;
	border-radius: var(--r-md);
	background: var(--surface-hi);
	box-shadow: var(--raise-2);
	font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem);
	transform: rotate(-3deg);
}

/* Quote */
.pull-quote {
	position: relative;
	margin: 0;
	padding: clamp(1.75rem, 1rem + 3vw, 3.25rem);
	border-radius: var(--r-xl);
	background: var(--surface);
	box-shadow: var(--inset-2);
	text-align: center;
}

.pull-quote__mark {
	width: 2.75rem;
	height: 2.75rem;
	margin: 0 auto 1rem;
	color: var(--lav-400);
}

.pull-quote blockquote {
	margin: 0;
}

.pull-quote blockquote p {
	margin: 0;
	font-size: clamp(1.4rem, 1.15rem + 1vw, 1.95rem);
	line-height: 1.4;
	color: var(--navy);
	font-weight: 600;
}

.pull-quote figcaption {
	margin-top: 1.25rem;
	font-family: var(--font-script);
	font-size: 1.75rem;
	color: var(--purple);
}

/* CTA band */
.cta-band {
	position: relative;
	display: grid;
	gap: 1.5rem 3rem;
	align-items: center;
	padding: clamp(2rem, 1.25rem + 3vw, 3.75rem);
	border-radius: var(--r-xl);
	overflow: hidden;
	isolation: isolate;
}

@media (min-width: 900px) {
	.cta-band {
		grid-template-columns: 1.3fr auto;
	}
}

.cta-band--brand {
	background: linear-gradient(135deg, #5f3794 0%, var(--purple-700) 45%, var(--navy) 100%);
	color: #ece7f7;
	box-shadow: 0 30px 60px -25px rgba(60, 33, 96, 0.6);
}

.cta-band--brand::before {
	content: "";
	position: absolute;
	right: -10%;
	top: -60%;
	width: 60%;
	aspect-ratio: 1;
	z-index: -1;
	background: radial-gradient(closest-side, rgba(169, 138, 198, 0.55), transparent 70%);
}

.cta-band--brand .cta-band__title {
	color: #fff;
}

.cta-band--brand .script-note {
	color: #d9c9ef;
}

.cta-band--soft {
	background:
		radial-gradient(60% 140% at 100% 0%, rgba(199, 180, 222, 0.6), transparent 65%),
		var(--surface);
	box-shadow: var(--raise-3), var(--rim);
}

.cta-band__title {
	margin: 0 0 0.4rem;
}

.cta-band__text {
	margin: 0;
	max-width: 38rem;
	font-size: var(--fs-md);
}

.cta-band__note {
	font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem);
	margin-bottom: 0.2rem;
}

.cta-band__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

/* Statement */
.statement {
	text-align: center;
}

.statement .eyebrow {
	justify-content: center;
}

.statement__lines {
	margin: 0;
	padding: 0;
	list-style: none;
}

.statement__lines li {
	font-family: var(--font-display);
	font-size: clamp(2rem, 1.3rem + 3vw, 3.6rem);
	font-weight: 700;
	line-height: 1.08;
	color: var(--navy);
}

.statement__lines li:nth-child(even) {
	color: var(--purple);
}

.statement__closing {
	margin-top: 1.25rem;
	font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
}

/* 10. Pathway tool ------------------------------------------------------------ */
.pathway {
	padding-block: 0 var(--section);
}

.pathway__grid {
	display: grid;
	gap: clamp(1.5rem, 1rem + 2vw, 3rem);
	align-items: start;
}

@media (min-width: 1000px) {
	.pathway.is-enhanced .pathway__grid {
		grid-template-columns: minmax(320px, 0.85fr) 1.15fr;
	}

	.pathway.is-enhanced .pathway__choose {
		position: sticky;
		top: calc(var(--header-h) + 1.25rem);
	}
}

.pathway__title {
	margin-bottom: 0.2em;
	font-size: clamp(2rem, 1.6rem + 1.5vw, 2.75rem);
}

.pathway__hint {
	color: var(--ink-2);
}

.pathway__options {
	display: grid;
	gap: 0.65rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pathway__option {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.9rem;
	padding: 0.85rem 1rem;
	border: 1.5px solid transparent;
	border-radius: var(--r-md);
	background: var(--surface);
	color: var(--ink);
	text-decoration: none;
	box-shadow: var(--raise-1), var(--rim);
	transition: box-shadow 0.18s var(--ease), border-color 0.15s, background-color 0.15s;
}

.pathway__option:hover {
	color: var(--ink);
	border-color: var(--lav-400);
	box-shadow: var(--raise-2), var(--rim);
}

.pathway__option[aria-current="true"] {
	border-color: var(--purple);
	background: var(--lav-100);
	box-shadow: var(--inset-1);
}

.pathway__option[aria-current="true"]::before {
	content: "";
	position: absolute;
	left: -1px;
	top: 18%;
	bottom: 18%;
	width: 4px;
	border-radius: 0 4px 4px 0;
	background: var(--purple);
}

.pathway__option-icon {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	background: var(--surface);
	color: var(--purple);
	box-shadow: var(--inset-1);
	flex: none;
}

.pathway__option.is-urgent {
	border-color: rgba(179, 38, 30, 0.35);
	background: linear-gradient(90deg, var(--urgent-bg), var(--surface) 75%);
}

.pathway__option.is-urgent .pathway__option-icon {
	color: var(--urgent);
}

.pathway__option-text {
	display: grid;
	gap: 0.1rem;
}

.pathway__option-q {
	font-weight: 800;
	line-height: 1.3;
	color: var(--navy);
}

.pathway__option-hint {
	font-size: var(--fs-sm);
	color: var(--ink-3);
	line-height: 1.4;
}

.pathway__option-arrow {
	margin-left: auto;
	color: var(--ink-3);
}

.pathway__answers {
	display: grid;
	gap: 1.5rem;
}

.pathway__empty,
.pathway__result {
	padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
	border-radius: var(--r-xl);
	background: var(--surface-hi);
	box-shadow: var(--raise-3), var(--rim);
}

.pathway__empty {
	display: grid;
	justify-items: start;
	min-height: 20rem;
	align-content: center;
	background:
		radial-gradient(70% 100% at 100% 0%, rgba(199, 180, 222, 0.45), transparent 60%),
		var(--surface-hi);
	color: var(--ink-2);
}

.pathway__empty-icon {
	width: 3rem;
	height: 3rem;
	margin-bottom: 1rem;
	color: var(--lav-500);
}

.pathway__empty-title {
	font-family: var(--font-display);
	font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.5rem);
	font-weight: 700;
	line-height: 1.05;
	color: var(--navy);
	margin-bottom: 0.6rem;
}

.pathway.is-enhanced .pathway__result {
	display: none;
}

.pathway.is-enhanced .pathway__result.is-active {
	display: block;
	animation: rise 0.35s var(--ease);
}

@keyframes rise {
	from { opacity: 0; transform: translateY(8px); }
}

.pathway__result.is-urgent {
	box-shadow: var(--raise-3), inset 0 0 0 2px rgba(179, 38, 30, 0.35);
}

.pathway__result-title {
	font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
}

.pathway__result-title:focus {
	outline: none;
}

.pathway__result .callout {
	margin-bottom: 1.25rem;
}

.pathway__result-intro {
	font-size: var(--fs-md);
	color: var(--ink-2);
}

.pathway__sub {
	margin: 1.75rem 0 0.9rem;
	font-size: var(--fs-xs);
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--purple);
}

.pathway__more {
	display: grid;
	gap: 0 2rem;
}

@media (min-width: 720px) {
	.pathway__more {
		grid-template-columns: 1fr 1fr;
	}
}

.pathway__footer {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.75rem;
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--line);
}

.pathway:not(.is-enhanced) [data-pathway-reset] {
	display: none;
}

/* 11. Guides & library --------------------------------------------------------- */
.guide__kicker {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 1rem;
}

.guide__number {
	margin-left: 0.25rem;
	font-size: var(--fs-xs);
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink-3);
}

.guide__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.35rem;
	margin: 1.25rem 0 0;
	padding: 0;
	list-style: none;
	color: var(--ink-2);
	font-size: var(--fs-sm);
	font-weight: 700;
}

.guide__meta li {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

.guide__meta .icon {
	width: 1.1rem;
	height: 1.1rem;
	color: var(--purple);
}

.guide__layout {
	display: grid;
	gap: 2rem;
	padding-block: clamp(2rem, 1rem + 3vw, 3.5rem) var(--section);
}

@media (min-width: 1024px) {
	.guide__layout {
		grid-template-columns: 250px minmax(0, 780px);
		gap: clamp(2.5rem, 1rem + 4vw, 5rem);
	}

	.guide__layout > .guide__body:only-child {
		grid-column: 1 / -1;
		max-width: 780px;
		margin-inline: auto;
	}
}

.toc {
	align-self: start;
	padding: 1.25rem;
	border-radius: var(--r-lg);
	background: var(--surface);
	box-shadow: var(--raise-1), var(--rim);
}

@media (min-width: 1024px) {
	.toc {
		position: sticky;
		top: calc(var(--header-h) + 1.25rem);
	}
}

.toc__title {
	margin: 0 0 0.75rem;
	font-size: var(--fs-xs);
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink-3);
}

.toc__list {
	display: grid;
	gap: 0.15rem;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: toc;
}

.toc__list a {
	display: block;
	padding: 0.45rem 0.75rem;
	border-radius: var(--r-xs);
	color: var(--ink-2);
	font-size: var(--fs-sm);
	font-weight: 700;
	line-height: 1.35;
	text-decoration: none;
	border-left: 3px solid transparent;
}

.toc__list a:hover {
	color: var(--purple);
	background: var(--surface-lo);
}

.toc__list a.is-active {
	color: var(--purple-700);
	background: var(--lav-100);
	border-left-color: var(--purple);
}

.article-flow {
	display: grid;
	gap: 2rem;
	min-width: 0;
}

.article-flow .section,
.article-flow .section:first-child {
	padding: 0;
}

.article-flow .container {
	max-width: none;
	padding: 0;
}

.article-flow .section-head {
	margin-bottom: 1rem;
}

.article-flow .section-head__title {
	font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.4rem);
}

.glance {
	padding: 1.5rem 1.75rem;
	border-radius: var(--r-lg);
	background:
		radial-gradient(80% 120% at 100% 0%, rgba(199, 180, 222, 0.5), transparent 60%),
		var(--surface);
	box-shadow: var(--inset-2);
}

.glance__title {
	margin: 0 0 0.9rem;
	font-size: var(--fs-xs);
	font-family: var(--font-body);
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--purple);
}

.glance__list {
	display: grid;
	gap: 0.6rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.glance__list li {
	display: flex;
	gap: 0.7rem;
	font-weight: 700;
	color: var(--navy);
	font-size: 1.0625rem;
	line-height: 1.45;
}

.glance__list .icon {
	margin-top: 0.15rem;
	color: var(--ok);
}

.help-box {
	display: grid;
	gap: 1.25rem;
	padding: clamp(1.5rem, 1rem + 2vw, 2.25rem);
	border-radius: var(--r-xl);
	background: var(--surface-hi);
	box-shadow: var(--raise-3), var(--rim);
}

@media (min-width: 600px) {
	.help-box {
		grid-template-columns: auto 1fr;
	}
}

.help-box__title {
	margin-bottom: 0.35rem;
	font-size: clamp(1.8rem, 1.5rem + 1vw, 2.3rem);
}

.help-box p {
	color: var(--ink-2);
	margin: 0;
}

.help-box .button-row {
	margin-top: 1.25rem;
}

/* Library */
.library {
	padding-bottom: calc(var(--section) / 2);
}

.library__tools {
	display: grid;
	gap: 1.25rem;
	margin-top: -1rem;
	padding: clamp(1.25rem, 1rem + 1.5vw, 2rem);
	border-radius: var(--r-xl);
	background: var(--surface-hi);
	box-shadow: var(--raise-3), var(--rim);
}

@media (min-width: 900px) {
	.library__tools {
		grid-template-columns: minmax(280px, 0.8fr) 1.2fr;
		align-items: start;
	}

	.library__filter--audience {
		grid-column: 1 / -1;
	}
}

.library__label {
	display: block;
	margin-bottom: 0.6rem;
	padding: 0;
	font-size: var(--fs-xs);
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink-3);
}

.library__filter {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.library__count {
	margin: 2rem 0 1.25rem;
	font-weight: 800;
	color: var(--ink-2);
}

.segmented {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0.25rem;
	padding: 0.35rem;
	border-radius: var(--r-pill);
	background: var(--surface);
	box-shadow: var(--inset-1);
}

.segmented label {
	position: relative;
}

.segmented input {
	position: absolute;
	opacity: 0;
	inset: 0;
	cursor: pointer;
}

.segmented span {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0.4rem 1rem;
	border-radius: var(--r-pill);
	font-weight: 700;
	font-size: var(--fs-sm);
	color: var(--ink-2);
	transition: background-color 0.15s, box-shadow 0.18s, color 0.15s;
}

.segmented input:checked + span {
	background: var(--surface-hi);
	color: var(--purple-700);
	box-shadow: var(--raise-1), inset 0 0 0 1.5px var(--purple);
}

.segmented input:focus-visible + span {
	outline: 3px solid var(--navy);
	outline-offset: 2px;
}

/* 12. Campaigns, stories, news ------------------------------------------------- */
.poster-share {
	display: grid;
	gap: clamp(1.5rem, 1rem + 3vw, 4rem);
	align-items: center;
	padding: clamp(1.5rem, 1rem + 2vw, 3rem);
	border-radius: var(--r-xl);
	background: var(--surface);
	box-shadow: var(--raise-3), var(--rim);
}

@media (min-width: 800px) {
	.poster-share {
		grid-template-columns: minmax(240px, 380px) 1fr;
	}
}

.poster-share__image {
	margin: 0;
	padding: 8px;
	border-radius: var(--r-lg);
	background: #fff;
	box-shadow: var(--raise-2);
	transform: rotate(-1.5deg);
}

.poster-share__image img {
	border-radius: calc(var(--r-lg) - 8px);
}

.poster-share__contact {
	margin-top: 1.25rem;
	font-size: var(--fs-sm);
	color: var(--ink-2);
}

.story-byline {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	font-weight: 700;
	color: var(--ink-2);
}

.story-byline .icon {
	color: var(--purple);
}

.article-figure {
	margin: 0 0 2rem;
}

.article-figure img {
	border-radius: var(--r-lg);
	box-shadow: var(--raise-2);
}

.article-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--line);
}

.article-share__label {
	margin: 0;
	font-weight: 800;
	color: var(--navy);
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 2.5rem;
}

.page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 0.9rem;
	border-radius: var(--r-pill);
	background: var(--surface);
	box-shadow: var(--raise-1);
	font-weight: 700;
	text-decoration: none;
}

.page-numbers.current {
	box-shadow: var(--inset-1);
	color: var(--purple-700);
}

/* Search results */
.search-count {
	margin: 1.5rem 0 0.5rem;
	font-weight: 800;
	color: var(--ink-2);
}

.search-group__title {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin: 2.25rem 0 1rem;
	font-size: 1.75rem;
}

.search-group__count {
	display: inline-grid;
	place-items: center;
	min-width: 2rem;
	height: 2rem;
	padding: 0 0.5rem;
	border-radius: var(--r-pill);
	background: var(--lav-100);
	color: var(--purple-700);
	font-family: var(--font-body);
	font-size: var(--fs-sm);
}

.search-results {
	display: grid;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.search-result__link {
	display: grid;
	gap: 0.25rem;
	padding: 1.1rem 1.35rem;
	border-radius: var(--r-md);
	background: var(--surface);
	box-shadow: var(--raise-1), var(--rim);
	text-decoration: none;
	transition: box-shadow 0.18s var(--ease);
}

.search-result__link:hover {
	box-shadow: var(--raise-2), var(--rim);
}

.search-result__title {
	font-weight: 800;
	font-size: 1.15rem;
	color: var(--navy);
}

.search-result__text {
	color: var(--ink-2);
	font-size: 1rem;
}

/* Partners ---------------------------------------------------------------------
   The Christine White Community Partnership Program: partner cards grouped
   under their tiers, a compact logo strip, the tiers and the benefits table.
   Tier tiles use the brand purple of QHW's prospectus. Measured on its lightest
   stop (#6c42a6): white 7.1:1, the pale lavender labels (#e6dcf5) 5.4:1.
   ----------------------------------------------------------------------------- */
.partners__head.has-badge {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 0 2.5rem;
}

.partners__badge {
	display: flex;
	align-items: center;
	gap: 1rem;
	max-width: 22rem;
	margin: 0 0 clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
	padding: 0.75rem 1.1rem 0.75rem 0.75rem;
	border-radius: var(--r-md);
	background: var(--surface);
	box-shadow: var(--raise-1), var(--rim);
}

.partners__badge img {
	width: 4.5rem;
	height: auto;
	flex: none;
}

.partners__badge figcaption {
	font-size: var(--fs-sm);
	font-weight: 700;
	line-height: 1.4;
	color: var(--ink-2);
}

.partners__empty {
	margin: 0;
	padding: 1.5rem 1.75rem;
	border-radius: var(--r-md);
	background: var(--surface);
	box-shadow: var(--inset-1);
	color: var(--ink-2);
}

.partner-group + .partner-group {
	margin-top: clamp(2.25rem, 1.75rem + 2vw, 3.5rem);
}

.partner-group__title {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	margin: 0 0 1.25rem;
	font-family: var(--font-body);
	font-size: var(--fs-xs);
	font-weight: 800;
	letter-spacing: 0.12em;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--purple);
}

.partner-group__title::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--line);
}

.partner-grid {
	display: grid;
	gap: var(--gap);
	margin: 0;
	padding: 0;
	list-style: none;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
}

.partner-group--prominent .partner-grid {
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr));
}

.partner-grid > li {
	display: flex;
}

.partner-grid > li > * {
	flex: 1;
}

.partner-card__logo {
	display: grid;
	place-items: center;
	min-height: 9.5rem;
	margin: 10px 10px 0;
	padding: 1.5rem;
	border-radius: calc(var(--r-lg) - 8px);
	background: var(--surface-hi);
	box-shadow: var(--inset-1);
}

/* For white or pale logos: QHW navy, lifted slightly at one corner. */
.partner-card__logo.is-dark {
	background: radial-gradient(120% 140% at 0% 0%, #26306f 0%, var(--navy) 55%);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), inset 0 12px 28px rgba(5, 9, 33, 0.35);
}

.partner-card__img {
	width: auto;
	max-width: min(100%, 220px);
	max-height: 4.5rem;
	object-fit: contain;
}

.partner-group--prominent .partner-card__img {
	max-width: min(100%, 280px);
	max-height: 5.5rem;
}

.partner-card__wordmark {
	font-family: var(--font-display);
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.05;
	text-align: center;
	color: var(--navy);
}

.partner-card__logo.is-dark .partner-card__wordmark {
	color: #fff;
}

.badge--partner {
	background: var(--purple);
	color: #fff;
}

.badge--partner .icon {
	color: #e6dcf5;
}

.partner-card__gives {
	display: flex;
	gap: 0.6rem;
	margin: 1rem 0 0;
	padding: 0.8rem 1rem;
	border-radius: var(--r-sm);
	background: var(--lav-100);
	color: var(--purple-700);
	font-size: var(--fs-sm);
	font-weight: 700;
	line-height: 1.45;
}

.partner-card__gives .icon {
	flex: none;
	width: 1.15rem;
	height: 1.15rem;
	margin-top: 0.12rem;
}

.partner-card .card__meta {
	margin: 0;
}

/* A partner on their own gets the room: logo beside the words. */
@media (min-width: 760px) {
	.partner-grid:has(> li:only-child) {
		grid-template-columns: 1fr;
	}

	.partner-grid > li:only-child .partner-card {
		flex-direction: row;
	}

	.partner-grid > li:only-child .partner-card__logo {
		flex: 0 0 min(42%, 400px);
		min-height: 14rem;
		margin: 10px 0 10px 10px;
	}

	.partner-grid > li:only-child .partner-card__img {
		max-width: min(100%, 300px);
		max-height: 6rem;
	}

	.partner-grid > li:only-child .partner-card__body {
		justify-content: center;
		padding: 2rem clamp(1.5rem, 1rem + 2vw, 2.75rem);
	}

	.partner-grid > li:only-child .card__title {
		font-size: var(--fs-h3);
	}
}

/* Logo strip */
.partners--logos .partners__head,
.partners--logos .section-head {
	margin-inline: auto;
	text-align: center;
}

.partners--logos .partners__head.has-badge {
	justify-content: center;
}

.partners--logos .eyebrow {
	justify-content: center;
}

.partner-logos {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.partner-logos__item {
	display: grid;
	place-items: center;
	width: 13.5rem;
	height: 7.5rem;
	padding: 1.25rem 1.5rem;
	border-radius: var(--r-md);
	background: var(--surface-hi);
	box-shadow: var(--raise-1), var(--rim);
	color: var(--navy);
	text-decoration: none;
	transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

a.partner-logos__item:hover {
	transform: translateY(-2px);
	box-shadow: var(--raise-2), var(--rim);
}

.partner-logos__item.is-dark {
	background: var(--navy);
	color: #fff;
}

.partner-logos__item img {
	width: auto;
	max-width: 100%;
	max-height: 3.75rem;
	object-fit: contain;
}

.partner-logos__name {
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.1;
	text-align: center;
}

/* Tiers */
.tier-grid {
	display: grid;
	gap: var(--gap);
	margin: 0;
	padding: 0;
	list-style: none;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

@media (min-width: 1024px) {
	.tier-grid {
		grid-template-columns: repeat(var(--tiers, 4), 1fr);
	}
}

.tier,
.tier-wide__lead {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: linear-gradient(155deg, #6c42a6 0%, var(--purple) 48%, var(--purple-700) 100%);
	color: #efe9f8;
}

.tier {
	display: flex;
	flex-direction: column;
	padding: 1.6rem 1.5rem;
	border-radius: var(--r-lg);
	box-shadow: 0 24px 44px -26px rgba(60, 33, 96, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.tier::before,
.tier-wide__lead::before {
	content: "";
	position: absolute;
	right: -35%;
	top: -45%;
	z-index: -1;
	width: 85%;
	aspect-ratio: 1;
	background: radial-gradient(closest-side, rgba(199, 180, 222, 0.32), transparent 70%);
}

.tier__name {
	margin: 0;
	font-family: var(--font-body);
	font-size: var(--fs-xs);
	font-weight: 800;
	letter-spacing: 0.12em;
	line-height: 1.35;
	text-transform: uppercase;
	color: #e6dcf5;
}

.tier__amount {
	margin: 0.45rem 0 0;
	font-family: var(--font-display);
	font-size: clamp(2.3rem, 1.9rem + 1.3vw, 3.1rem);
	font-weight: 700;
	line-height: 1;
	color: #fff;
}

.tier__text {
	margin: 0.9rem 0 0;
	font-size: 1rem;
	line-height: 1.5;
}

/* Shown on phones (and wherever the table is switched off) in its place. */
.tier__includes {
	display: none;
	margin-top: 1.25rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.partner-tiers--no-table .tier__includes {
	display: block;
}

.tier__includes-title {
	margin: 0 0 0.6rem;
	font-size: var(--fs-xs);
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #e6dcf5;
}

.tier__includes ul {
	display: grid;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: var(--fs-sm);
	line-height: 1.45;
}

.tier__includes li {
	display: flex;
	gap: 0.55rem;
}

.tier__includes .icon {
	flex: none;
	width: 1rem;
	height: 1rem;
	margin-top: 0.22rem;
	color: #d9c9ef;
}

.tier-wide {
	display: grid;
	margin-top: var(--gap);
	border-radius: var(--r-lg);
	overflow: hidden;
	background: var(--surface);
	box-shadow: var(--raise-2), var(--rim);
}

@media (min-width: 760px) {
	.tier-wide {
		grid-template-columns: minmax(250px, 0.9fr) 2fr;
	}
}

.tier-wide__lead {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 1.75rem 1.6rem;
}

.tier-wide__name {
	font-size: var(--fs-sm);
	color: #fff;
}

.tier-wide__amount {
	margin: 0.5rem 0 0;
	font-size: 1.05rem;
	line-height: 1.45;
}

.tier-wide__body {
	align-self: center;
	padding: 1.75rem clamp(1.5rem, 1rem + 2vw, 2.5rem);
	color: var(--ink-2);
}

.tier-wide__text {
	margin: 0;
	line-height: 1.6;
}

/* The wide panel's list sits on the light half, so it takes dark ink. */
.tier-wide .tier__includes {
	border-top-color: var(--line);
}

.tier-wide .tier__includes-title,
.tier-wide .tier__includes .icon {
	color: var(--purple);
}

/* Benefits table */
.benefits {
	margin-top: clamp(2.25rem, 1.75rem + 2vw, 3.5rem);
	border-radius: var(--r-lg);
	overflow: hidden;
	background: var(--surface);
	box-shadow: var(--raise-2), var(--rim);
}

.benefits__table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--fs-sm);
	line-height: 1.4;
}

.benefits__caption {
	padding: 1.35rem 1.5rem 1.1rem;
	font-family: var(--font-display);
	font-size: var(--fs-h3);
	font-weight: 700;
	line-height: 1.2;
	text-align: left;
	color: var(--navy);
}

.benefits__table th,
.benefits__table td {
	padding: 0.85rem 1rem;
	text-align: center;
	vertical-align: middle;
}

.benefits__table thead th {
	background: var(--navy);
	color: #fff;
	font-size: var(--fs-xs);
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.benefits__table thead th:first-child,
.benefits__table tbody th {
	padding-left: 1.5rem;
	text-align: left;
}

.benefits__table tbody th {
	font-weight: 700;
	color: var(--ink);
}

.benefits__table tbody tr:nth-child(even) {
	background: rgba(220, 205, 232, 0.38);
}

.benefits__table tbody tr + tr {
	border-top: 1px solid rgba(215, 205, 230, 0.7);
}

.benefits__tick {
	display: inline-grid;
	place-items: center;
	width: 1.9rem;
	height: 1.9rem;
	border-radius: 50%;
	background: var(--lav-100);
	color: var(--purple);
	box-shadow: var(--inset-1);
}

.benefits__tick .icon {
	width: 1rem;
	height: 1rem;
}

.benefits__word {
	display: inline-block;
	padding: 0.22rem 0.7rem;
	border-radius: var(--r-pill);
	background: var(--purple);
	color: #fff;
	font-size: var(--fs-xs);
	font-weight: 800;
	letter-spacing: 0.02em;
}

.benefits__none {
	color: var(--line-strong);
	font-weight: 700;
}

.partner-tiers__fineprint {
	max-width: 52rem;
	margin: 1.5rem 0 0;
	font-size: var(--fs-xs);
	line-height: 1.55;
	color: var(--ink-3);
}

.btn__meta {
	font-weight: 600;
	opacity: 0.85;
}

/* Phones: each tier lists what it includes, and the table steps aside. */
@media (max-width: 759px) {
	.partner-tiers--has-table .tier__includes {
		display: block;
	}

	.partner-tiers--has-table .benefits {
		display: none;
	}
}

@media (forced-colors: active) {
	.tier,
	.tier-wide,
	.benefits,
	.partner-logos__item,
	.partners__badge {
		border: 1px solid CanvasText;
	}
}

@media print {
	.tier,
	.tier-wide__lead {
		background: none;
		color: #000;
		border: 1pt solid #5a3489;
		box-shadow: none;
	}

	.tier__name,
	.tier__amount,
	.tier-wide__name,
	.tier__includes-title {
		color: #000;
	}

	.benefits__table thead th {
		background: none;
		color: #000;
		border-bottom: 1.5pt solid #000;
	}

	.partner-tiers--has-table .tier__includes {
		display: none;
	}

	.partner-tiers--has-table .benefits {
		display: block;
	}
}

/* 13. Forms ---------------------------------------------------------------- */
.input,
.af-form input[type="text"],
.af-form input[type="email"],
.af-form input[type="tel"],
.af-form input[type="url"],
.af-form input[type="number"],
.af-form select,
.af-form textarea {
	width: 100%;
	min-height: 54px;
	padding: 0.8rem 1.1rem;
	border: 1.5px solid var(--line-strong);
	border-radius: 14px;
	background: var(--surface);
	color: var(--ink);
	font-size: 1.0625rem;
	line-height: 1.4;
	box-shadow: var(--inset-1);
	transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
}

.af-form textarea {
	min-height: 160px;
	resize: vertical;
}

.af-form select {
	appearance: none;
	padding-right: 2.75rem;
	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='%235a3489' stroke-width='2.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 1rem center;
}

.input::placeholder,
.af-form ::placeholder {
	color: #6e6789;
	opacity: 1;
}

.input:hover,
.af-form input:hover,
.af-form select:hover,
.af-form textarea:hover {
	border-color: var(--purple);
}

.input:focus,
.af-form input:focus,
.af-form select:focus,
.af-form textarea:focus {
	outline: none;
	border-color: var(--purple);
	background: var(--surface-hi);
	box-shadow: var(--inset-1), 0 0 0 4px rgba(90, 52, 137, 0.25);
}

.field-error {
	margin: 0.5rem 0 0;
	color: var(--urgent);
	font-weight: 700;
	font-size: var(--fs-sm);
}

.form-layout {
	display: grid;
	gap: clamp(1.5rem, 1rem + 2vw, 3rem);
	align-items: start;
}

@media (min-width: 1000px) {
	.form-layout--aside {
		grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
	}
}

.form-card {
	padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
	border-radius: var(--r-xl);
	background: var(--surface-hi);
	box-shadow: var(--raise-3), var(--rim);
}

.form-card .section-head {
	margin-bottom: 0.75rem;
}

.form-card .section-head__title {
	font-size: clamp(1.9rem, 1.5rem + 1.5vw, 2.6rem);
}

.form-card__required {
	margin: 0 0 1.5rem;
	font-size: var(--fs-sm);
	color: var(--ink-3);
}

.form-card__required span,
.af-form .acf-required {
	color: var(--urgent);
	font-weight: 800;
}

.form-aside {
	padding: clamp(1.25rem, 1rem + 1vw, 2rem);
	border-radius: var(--r-lg);
	background: var(--surface);
	box-shadow: var(--inset-2);
	font-size: 1rem;
}

.form-aside h3 {
	font-size: 1.25rem;
}

@media (min-width: 1000px) {
	.form-aside {
		position: sticky;
		top: calc(var(--header-h) + 1.5rem);
	}
}

/* Advanced Forms / ACF markup */
.af-form .af-fields,
.af-form .acf-fields {
	display: flex;
	flex-wrap: wrap;
	gap: 1.35rem 1.25rem;
	border: 0 !important;
	background: none !important;
}

.af-form .acf-field {
	width: 100% !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	float: none !important;
	clear: none !important;
}

@media (min-width: 640px) {
	.af-form .acf-field[data-width="50"] {
		width: calc(50% - 0.625rem) !important;
	}
}

.af-form .acf-label {
	margin: 0 0 0.5rem !important;
}

.af-form .acf-label label {
	display: block;
	margin: 0;
	font-weight: 800 !important;
	font-size: 1.0625rem;
	color: var(--navy);
}

.af-form .acf-label .description,
.af-form p.description {
	margin: 0.25rem 0 0;
	font-size: var(--fs-sm);
	line-height: 1.45;
	color: var(--ink-3);
}

.af-form ul.acf-radio-list,
.af-form ul.acf-checkbox-list {
	display: grid;
	gap: 0.4rem;
	margin: 0;
	padding: 0 !important;
	border: 0;
	background: none;
}

.af-form ul.acf-hl {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1.25rem;
}

.af-form .acf-radio-list li,
.af-form .acf-checkbox-list li {
	margin: 0 !important;
	list-style: none;
	font-size: 1.0625rem;
}

.af-form .acf-radio-list label,
.af-form .acf-checkbox-list label,
.af-form .acf-true-false label {
	display: inline-flex;
	align-items: flex-start;
	gap: 0.75rem;
	padding: 0.35rem 0;
	line-height: 1.45;
	cursor: pointer;
}

.af-form .acf-true-false .message {
	color: var(--ink);
	font-weight: 600;
}

.af-form .acf-field-true-false .acf-label label {
	font-size: var(--fs-xs);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink-3);
}

.af-form .acf-error-message,
.af-form .acf-notice.-error {
	margin: 0 0 0.75rem !important;
	padding: 0.7rem 1rem !important;
	border-radius: var(--r-sm);
	background: var(--urgent-bg) !important;
	color: var(--urgent-ink) !important;
	border: 1.5px solid rgba(179, 38, 30, 0.4);
	font-weight: 700;
}

.af-form .acf-error-message p,
.af-form .acf-notice p {
	margin: 0 !important;
	font-size: var(--fs-sm) !important;
}

.af-form .acf-error-message::after,
.af-form .acf-notice .acf-notice-dismiss {
	display: none;
}

.af-form .acf-field.acf-error input,
.af-form .acf-field.acf-error textarea,
.af-form .acf-field.acf-error select {
	border-color: var(--urgent);
}

.af-form .af-submit {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-top: 1.75rem;
	padding: 0;
	border: 0;
}

.af-form .af-submit .btn {
	min-height: 56px;
	padding-inline: 2rem;
	font-size: 1.0625rem;
}

.af-form label[for^="af_email_for_non_humans"],
.af-form input[name="email_for_non_humans"] {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.af-success {
	padding: 1.5rem 1.75rem;
	border-radius: var(--r-md);
	background: var(--ok-bg);
	border: 1.5px solid rgba(29, 107, 71, 0.35);
	color: var(--ink);
}

.af-success h3 {
	color: var(--ok);
	font-family: var(--font-body);
}

.af-success > :last-child {
	margin-bottom: 0;
}

/* 14. Footer ------------------------------------------------------------------- */
.site-footer {
	margin-top: calc(var(--section) / 2);
	background: var(--navy);
	color: #d5cfe8;
}

/* The newsletter card straddles the light page and the navy footer. */
.newsletter {
	background: linear-gradient(var(--surface) 50%, var(--navy) 50%);
}

.newsletter__inner {
	display: grid;
	gap: 1.25rem 3rem;
	align-items: center;
	padding: clamp(1.75rem, 1rem + 2.5vw, 2.75rem) clamp(1.5rem, 1rem + 2.5vw, 3rem);
	border-radius: var(--r-xl);
	background:
		radial-gradient(60% 160% at 0% 0%, rgba(199, 180, 222, 0.6), transparent 60%),
		var(--surface-hi);
	box-shadow: 0 30px 60px -28px rgba(16, 27, 74, 0.55), -8px -8px 22px var(--light), var(--rim);
	max-width: var(--container);
	width: calc(100% - var(--gutter) * 2);
}

@media (min-width: 960px) {
	.newsletter__inner {
		grid-template-columns: 0.9fr 1.1fr;
	}
}

.newsletter__title {
	margin-bottom: 0.25rem;
	font-size: clamp(2rem, 1.6rem + 1.4vw, 2.6rem);
}

.newsletter__copy p {
	margin: 0;
	color: var(--ink-2);
}

.newsletter__form {
	display: grid;
	gap: 0.75rem;
}

.newsletter__row {
	display: flex;
	gap: 0.625rem;
}

@media (max-width: 519px) {
	.newsletter__row {
		flex-direction: column;
	}
}

.newsletter__form .check {
	padding: 0.25rem 0;
	font-size: var(--fs-sm);
	color: var(--ink-2);
}

.newsletter__form .check:hover {
	background: none;
}

.newsletter__form .check input:checked + span {
	text-decoration: none;
	color: var(--ink-2);
}

.newsletter__hp {
	position: absolute;
	left: -9999px;
}

.newsletter__done {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin: 0;
	font-weight: 800;
	color: var(--ok);
	font-size: var(--fs-md);
}

.newsletter a {
	color: var(--purple);
}

/* The sign-up card is light but sits inside the dark footer, whose white
   ring (below, same specificity, later) used to win: the consent checkbox's
   focus was white on lavender, invisible. keys.py found it. */
.newsletter :focus-visible,
.site-footer .newsletter :focus-visible {
	outline-color: var(--navy);
}

.site-footer__main {
	display: grid;
	gap: 2.5rem;
	padding-top: clamp(2.5rem, 2rem + 2vw, 4rem);
	padding-bottom: 2.5rem;
}

@media (min-width: 1000px) {
	.site-footer__main {
		grid-template-columns: 0.9fr 1.6fr;
		gap: 4rem;
	}
}

.brand--footer {
	color: #fff;
	margin-bottom: 1.25rem;
}

.brand--footer:hover {
	color: #fff;
}

.brand--footer .brand__small {
	color: #d5cfe8;
}

.brand--footer .brand__script {
	color: #cbb6ea;
}

.brand--footer .brand__mark {
	box-shadow: none;
}

.site-footer a {
	color: #fff;
	text-decoration-color: rgba(255, 255, 255, 0.35);
}

.site-footer a:hover {
	color: #fff;
	text-decoration-color: #fff;
}

.site-footer :focus-visible {
	outline-color: #fff;
}

.site-footer__blurb {
	max-width: 30rem;
	color: #d5cfe8;
}

.site-footer__emails {
	display: grid;
	gap: 0.6rem;
	margin: 1.5rem 0;
	padding: 0;
	list-style: none;
	font-size: var(--fs-sm);
}

.site-footer__emails li {
	display: grid;
}

.site-footer__emails span {
	font-size: var(--fs-xs);
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #b3abd0;
}

.site-footer__emails a {
	word-break: break-word;
}

.social-links {
	display: flex;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer .icon-btn {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.site-footer .icon-btn:hover {
	background: rgba(255, 255, 255, 0.16);
}

.site-footer__nav {
	display: grid;
	gap: 2rem;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.footer__heading {
	margin: 0 0 1rem;
	font-family: var(--font-body);
	font-size: var(--fs-xs);
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #b3abd0;
}

.site-footer__col ul {
	display: grid;
	gap: 0.55rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__col a {
	text-decoration: none;
	font-weight: 600;
}

.site-footer__col a:hover {
	text-decoration: underline;
}

.site-footer__notice {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
	padding: 1.1rem 1.35rem;
	border-radius: var(--r-md);
	background: rgba(255, 255, 255, 0.06);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
	font-size: var(--fs-sm);
}

.site-footer__notice p {
	margin: 0;
}

.site-footer__notice .icon {
	margin-top: 0.1rem;
	color: #cbb6ea;
}

.site-footer__ack {
	margin: 1.5rem 0 0;
	font-size: var(--fs-sm);
	color: #b3abd0;
	max-width: 60rem;
}

.site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 2rem;
	margin-top: 2rem;
	padding-block: 1.5rem 2.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	font-size: var(--fs-sm);
	color: #b3abd0;
}

.site-footer__legal p {
	margin: 0;
}

.site-footer__legal-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__sign {
	font-family: var(--font-script);
	font-size: 1.75rem;
	color: #cbb6ea;
	line-height: 1;
}

/* 15. Utilities, motion, print -------------------------------------------------- */
.visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.nowrap {
	white-space: nowrap;
}

.site-main:focus {
	outline: none;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	.pulse-line__path {
		stroke-dashoffset: 0;
	}

	.pulse-line__heart {
		opacity: 1;
	}
}

/* Windows High Contrast / forced colours: restore edges that shadows provided. */
@media (forced-colors: active) {
	.card,
	.btn,
	.chip,
	.icon-btn,
	.helper__option,
	.pathway__option,
	.steps__item,
	.accordion__item,
	.input,
	.callout,
	.form-card,
	.helper,
	.pathway__result {
		border: 1px solid CanvasText;
	}

	.pathway__option[aria-current="true"],
	.chip.is-active {
		outline: 2px solid Highlight;
	}
}

@media print {
	@page {
		margin: 16mm 14mm;
	}

	:root {
		--raise-1: none;
		--raise-2: none;
		--raise-3: none;
		--inset-1: none;
		--inset-2: none;
		--rim: none;
	}

	body {
		background: #fff;
		color: #000;
		font-size: 11.5pt;
	}

	body::before {
		content: "Queensland Hospital Watch · queenslandhospitalwatch.com.au · Every voice matters";
		display: block;
		margin-bottom: 8mm;
		padding-bottom: 3mm;
		border-bottom: 1.5pt solid #5a3489;
		font-weight: 700;
		color: #5a3489;
	}

	.urgent-bar,
	.site-header,
	.search-dialog,
	.site-footer,
	.breadcrumbs,
	.share,
	.page-hero__actions,
	.page-hero__media,
	.toc,
	.help-box .button-row,
	.section--related,
	.section--cta,
	.checklist__note,
	.pathway__footer,
	.skip-link {
		display: none !important;
	}

	.page-hero {
		padding: 0;
		background: none;
	}

	.container {
		max-width: none;
		padding-inline: 0;
	}

	.page-hero__grid {
		margin-top: 0;
	}

	h1 {
		font-size: 26pt;
	}

	h2 {
		font-size: 17pt;
		break-after: avoid;
	}

	.guide__layout {
		display: block;
		padding: 0;
	}

	.article-flow {
		gap: 6mm;
	}

	.steps__item,
	.checklist,
	.callout,
	.glance,
	.help-box,
	.accordion__item,
	.card {
		border: 1pt solid #bbb;
		break-inside: avoid;
		background: #fff;
	}

	.steps__item::before {
		border: 1.5pt solid #5a3489;
	}

	.check input {
		border: 1.5pt solid #000;
		background: #fff;
	}

	.accordion__item:not([open]) > .accordion__a {
		display: block;
	}

	.prose a[href^="http"]::after {
		content: " (" attr(href) ")";
		font-size: 9pt;
		color: #444;
		word-break: break-all;
	}

	.disclaimer {
		color: #333;
	}
}

/* Embedded (Jotform) forms */
.embed-frame {
	display: block;
	width: 100%;
	border: 0;
	border-radius: var(--r-md);
	background: #fff;
}

.embed-fallback {
	margin: 1rem 0 0;
	font-size: var(--fs-sm);
	color: var(--ink-3);
}

/* Donate holding note under call-to-action buttons */
.cta-band__fineprint {
	flex-basis: 100%;
	margin: 0.75rem 0 0;
	max-width: 34rem;
	font-size: var(--fs-sm);
	line-height: 1.5;
	opacity: 0.85;
}

/* Footer credit */
.site-footer__credit {
	margin: 0;
	font-size: var(--fs-xs);
	color: #b3abd0;
}

.site-footer__credit a {
	color: #b3abd0;
	text-decoration-color: rgba(255, 255, 255, 0.25);
}

.site-footer__credit a:hover {
	color: #fff;
}
