/* GPL Canvas — theme base, chrome & accessibility ==========================================
 * Hand-written, token-driven replacement for the old 113KB compiled-Tailwind main.css.
 * Only what the templates actually use. Design tokens are `--gpl-*` (the accessibility
 * toolbar reassigns them at the body level — see the A11y section). Section BLOCK styling
 * lives in blocks.css; engine integration in suprevo.css; page tweaks in gpl-extra.css.
 * ========================================================================================= */

/* --- Brand webfont (self-hosted, GDPR-safe) ---------------------------------------------- *
 * Manrope, declared HERE in an enqueued sheet (not style.css, which a classic theme never loads
 * on the front end) so the @font-face actually applies. Variable weight; paths are relative to
 * this file (assets/css/ → ../fonts/). functions.php also preloads the latin file. */
@font-face {
	font-family: 'Manrope';
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url('../fonts/manrope-latin-wght-normal.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Manrope';
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url('../fonts/manrope-latin-ext-wght-normal.woff2') format('woff2');
	unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- Design tokens ------------------------------------------------------------------------ */
/* SINGLE SOURCE OF TRUTH = gpl_canvas_tokens() in functions.php. The engine emits those brand
 * values as `--sv-*` into the <head> (front end) AND the editor-preview iframe, so the `--gpl-*`
 * tokens below just ALIAS them — chrome and engine sections then can't drift. The hex fallbacks
 * apply only when the engine is inactive. Change a brand VALUE in functions.php, not here. */
:root {
	/* Type & rhythm — runtime defaults the a11y toolbar reassigns at the body level. */
	--gpl-font-scale: 1;
	--gpl-line-height: 1.7;
	--gpl-letter-spacing: normal;
	--gpl-body-font: var(--sv-font-sans, 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif);
	--gpl-head-font: var(--sv-font-head, 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif);

	/* Brand palette (the a11y toolbar reassigns bg / ink for high-contrast). */
	--gpl-color-bg: var(--sv-color-bg, #eeece2);            /* cream page   */
	--gpl-color-surface: var(--sv-color-surface, #ffffff);  /* white cards  */
	--gpl-color-ink: var(--sv-color-ink, #2c2521);          /* body text    */
	--gpl-color-primary: var(--sv-color-primary, #3c4d57);  /* slate 700    */
	--gpl-color-accent: var(--sv-color-accent, #ecbe41);    /* sun          */
	--gpl-color-accent-dark: var(--sv-color-accent-dark, #d6a31f);
	--gpl-color-clay: var(--sv-color-clay, #8f5848);        /* stat value   */

	/* Slate scale (topbar / footer / borders / muted text). */
	--gpl-slate-900: var(--sv-slate-900, #232d33);
	--gpl-slate-800: var(--sv-slate-800, #2f3c44);
	--gpl-slate-600: var(--sv-slate-600, #4a5e6a);
	--gpl-slate-500: var(--sv-slate-500, #5c7282);
	--gpl-slate-300: var(--sv-slate-300, #a4b3b8);
	--gpl-slate-200: var(--sv-slate-200, #c6d2d6);
	--gpl-slate-100: var(--sv-slate-100, #e3e9eb);
	--gpl-prose-body: var(--sv-color-prose-body, #374151);

	--gpl-radius: var(--sv-radius, 18px);
	--gpl-radius-lg: var(--sv-radius-lg, 24px);
}

/* --- Reset (minimal, replaces Tailwind preflight) ---------------------------------------- */
*, ::before, ::after { box-sizing: border-box; border-width: 0; border-style: solid; border-color: rgba(35, 45, 51, .1); }
h1, h2, h3, h4, h5, h6, p, blockquote, dl, dd, figure, hr, pre { margin: 0; }
ul, ol, menu { list-style: none; margin: 0; padding: 0; }
img, svg, video, canvas { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; padding: 0; cursor: pointer; }
:where(button, [role="button"]) { -webkit-appearance: none; appearance: none; }

/* --- Root & body ------------------------------------------------------------------------- */
html { font-size: calc(100% * var(--gpl-font-scale)); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background-color: var(--gpl-color-bg);
	color: var(--gpl-color-ink);
	font-family: var(--gpl-body-font);
	line-height: var(--gpl-line-height);
	letter-spacing: var(--gpl-letter-spacing);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

/* Base heading typography — the head font; blocks override individual sizes. */
h1, h2, h3, h4 { font-family: var(--gpl-head-font); font-weight: 700; line-height: 1.18; letter-spacing: -.01em; color: var(--gpl-color-ink); }
h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); }
h3 { font-size: 1.3rem; }

/* Accessible focus ring (WCAG). */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--gpl-color-accent);
	outline-offset: 2px;
	box-shadow: 0 0 0 5px rgba(35, 45, 51, .85);
	border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* Skip link + screen-reader-only helper. */
.skip-link { position: absolute; left: 1rem; top: -100%; z-index: 999; padding: .75rem 1.25rem; background: var(--gpl-color-primary); color: #fff; font-weight: 600; border-radius: 0 0 .5rem .5rem; transition: top .15s ease-in; }
.skip-link:focus { top: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; }

/* --- Layout primitives ------------------------------------------------------------------- */
.container-gpl { width: 100%; max-width: 80rem; margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 640px) { .container-gpl { padding-inline: 2rem; } }
.section { padding-block: 4rem; }
@media (min-width: 640px) { .section { padding-block: 5rem; } }
@media (min-width: 1024px) { .section { padding-block: 6rem; } }
.section--tight { padding-block: 2.5rem; }
@media (min-width: 640px) { .section--tight { padding-block: 3rem; } }

/* --- Buttons ----------------------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	min-height: 44px; padding: .75rem 1.5rem; border-radius: 9999px;
	font-weight: 600; line-height: 1; text-decoration: none;
	transition: color .2s, background-color .2s, border-color .2s;
}
.btn svg { height: 1.25rem; width: 1.25rem; flex-shrink: 0; }
.btn--accent { background-color: var(--gpl-color-accent); color: var(--gpl-slate-900); }
.btn--accent:hover { background-color: var(--gpl-color-accent-dark); }
.btn--primary { background-color: var(--gpl-color-primary); color: #fff; }
.btn--primary:hover { background-color: var(--gpl-slate-800); }
.btn--primary:active { background-color: var(--gpl-slate-900); }
.btn--outline { border: 2px solid var(--gpl-color-primary); background: transparent; color: var(--gpl-color-primary); }
.btn--outline:hover { background-color: var(--gpl-color-primary); color: #fff; }

/* --- Utilities (only the set the templates use) ------------------------------------------ */
.flex { display: flex; } .flex-col { flex-direction: column; } .flex-1 { flex: 1 1 0%; } .flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; } .justify-between { justify-content: space-between; } .justify-center { justify-content: center; }
.gap-2 { gap: .5rem; } .gap-3 { gap: .75rem; } .gap-4 { gap: 1rem; } .gap-6 { gap: 1.5rem; }
.mt-2 { margin-top: .5rem; } .mt-4 { margin-top: 1rem; } .mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; } .mb-5 { margin-bottom: 1.25rem; } .mb-8 { margin-bottom: 2rem; } .mb-10 { margin-bottom: 2.5rem; }
.m-0 { margin: 0; } .p-0 { padding: 0; }
.text-center { text-align: center; } .text-lg { font-size: 1.125rem; line-height: 1.75rem; } .font-semibold { font-weight: 600; }
.list-none { list-style: none; } .no-underline { text-decoration: none; }
.max-w-4xl { max-width: 56rem; } .max-w-xs { max-width: 20rem; } .w-16 { width: 4rem; }
.min-h-screen { min-height: 100vh; } .hidden { display: none; }
.bg-cream { background-color: var(--gpl-color-bg); } .bg-white { background-color: #fff; } .bg-slate-800 { background-color: var(--gpl-slate-800); }
.text-white { color: #fff; } .text-slate-100 { color: var(--gpl-slate-100); } .text-slate-300 { color: var(--gpl-slate-300); }
.text-slate-600 { color: var(--gpl-slate-600); } .text-slate-700 { color: var(--gpl-color-primary); } .text-slate-800 { color: var(--gpl-slate-800); }
.hover\:text-slate-900:hover { color: var(--gpl-slate-900); }
@media (min-width: 640px) { .sm\:inline-flex { display: inline-flex; } .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .lg\:block { display: block; } .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* --- Header ------------------------------------------------------------------------------ */
.site-header { position: sticky; top: 0; z-index: 40; }
/* Site-wide notice bar under the header (the "Mededeling" singleton). Accent band, ink text. */
.site-notice { background-color: var(--gpl-color-accent); color: var(--gpl-slate-900); }
.site-notice__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .375rem .75rem; padding-block: .7rem; text-align: center; }
.site-notice__icon { flex-shrink: 0; }
.site-notice__text { margin: 0; font-weight: 700; line-height: 1.4; text-wrap: balance; }
.site-notice__link { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: .2em; white-space: nowrap; }
.site-notice__link:hover, .site-notice__link:focus-visible { text-decoration-thickness: 2px; }
.site-notice__link:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
body.a11y-contrast .site-notice { background: #fff !important; color: #000 !important; border-bottom: 2px solid #000; }
@media (max-width: 639px) { .site-notice__icon { display: none; } .site-notice__text { font-size: .9375rem; } }
.site-topbar { background-color: var(--gpl-slate-800); font-size: .875rem; color: var(--gpl-slate-100); }
.site-topbar .container-gpl { padding-block: .5rem; }
.site-topbar__contact { display: flex; align-items: center; gap: 1.25rem; }
.site-topbar__contact a { display: inline-flex; align-items: center; gap: .375rem; color: var(--gpl-slate-100); white-space: nowrap; }
.site-topbar__contact a:hover { color: #fff; text-decoration: underline; }
.site-header__main { border-bottom: 1px solid rgba(35, 45, 51, .1); background-color: #fff; }
.site-header__main .container-gpl { padding-block: 1.35rem; }
.site-branding { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.site-branding__logo { height: 3.5rem; width: auto; }
@media (min-width: 640px) { .site-branding__logo { height: 4.49rem; } }
.site-branding__text { line-height: 1.25; }
.site-branding__name { display: block; font-family: var(--gpl-head-font); font-size: 1.125rem; font-weight: 800; }
@media (min-width: 640px) { .site-branding__name { font-size: 1.25rem; } }
.site-branding__tagline { display: block; font-size: .75rem; opacity: .8; }

/* ONE responsive nav (single wp_nav_menu output). Desktop: inline horizontal.
   Mobile: a toggle-driven drawer anchored under the header row. */
.site-header__main .container-gpl { position: relative; }
.primary-nav__list { display: flex; align-items: center; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.primary-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1rem; border-radius: 9999px; font-size: 1.2rem; font-weight: 500; color: var(--gpl-color-primary); transition: background-color .2s, color .2s; }
.primary-nav a:hover { background-color: var(--gpl-slate-100); }
.primary-nav .current-menu-item > a, .primary-nav [aria-current="page"] { background-color: var(--gpl-slate-100); color: var(--gpl-slate-900); box-shadow: inset 0 -3px 0 0 var(--gpl-color-accent); }

/* Submenus — two levels (drag-to-nest in the CMS). Desktop: hover/focus flyout; mobile: inline
   indented within the drawer. navigation.js adds .is-open on keyboard focus for a11y. */
.primary-nav .menu-item-has-children { position: relative; }
.primary-nav .menu-item-has-children > a::after {
	content: ""; width: .4em; height: .4em; margin-left: .45em; flex: 0 0 auto;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px); opacity: .55;
}
.primary-nav .sub-menu { list-style: none; margin: 0; padding: 0; }
@media (min-width: 1024px) {
	.primary-nav .sub-menu {
		position: absolute; top: 100%; left: 0; z-index: 95; min-width: 240px; padding: .4rem;
		display: flex; flex-direction: column; gap: .1rem;
		background: var(--gpl-color-surface); border: 1px solid var(--gpl-slate-200);
		border-radius: var(--gpl-radius); box-shadow: 0 18px 40px -18px rgba(35, 45, 51, .4);
		opacity: 0; visibility: hidden; transform: translateY(6px);
		transition: opacity .16s ease, transform .16s ease, visibility .16s;
	}
	.primary-nav .menu-item-has-children:hover > .sub-menu,
	.primary-nav .menu-item-has-children:focus-within > .sub-menu,
	.primary-nav .sub-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
	.primary-nav .sub-menu a {
		width: 100%; min-height: 40px; padding: .5rem .85rem; border-radius: calc(var(--gpl-radius) - 8px);
		font-size: 1.05rem; font-weight: 500; color: var(--gpl-color-primary); white-space: nowrap;
	}
	.primary-nav .sub-menu a:hover { background: var(--gpl-slate-100); }
	.primary-nav .sub-menu .current-menu-item > a { background: var(--gpl-slate-100); color: var(--gpl-slate-900); box-shadow: none; }
	.primary-nav .sub-menu .sub-menu { top: -.4rem; left: 100%; } /* third level opens to the side */
	.primary-nav .sub-menu .menu-item-has-children > a::after { transform: rotate(-45deg); }
}
@media (max-width: 1023px) {
	.primary-nav .menu-item-has-children > a::after { margin-left: auto; }
	.primary-nav .sub-menu { background: rgba(35, 45, 51, .04); }
	.primary-nav .sub-menu a { padding-left: 2.5rem; font-size: 1.1rem; }
	.primary-nav .sub-menu .sub-menu a { padding-left: 3.5rem; }
}

.menu-toggle { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: .5rem 1rem; border: 1px solid var(--gpl-slate-300); border-radius: 9999px; color: var(--gpl-color-primary); }

/* A menu HEADING (item with sub-items but no page of its own → <button class="primary-nav__parent">,
   see functions.php): looks exactly like a top-level link, opens its sub-menu instead of navigating. */
.primary-nav .primary-nav__parent {
	display: inline-flex; align-items: center; min-height: 44px; margin: 0; padding: .5rem 1rem; border: 0;
	border-radius: 9999px; background: transparent; font: inherit; font-size: 1.2rem; font-weight: 500;
	line-height: inherit; color: var(--gpl-color-primary); text-align: left; cursor: pointer; transition: background-color .2s, color .2s;
}
.primary-nav .primary-nav__parent:hover, .primary-nav .primary-nav__parent[aria-expanded="true"] { background-color: var(--gpl-slate-100); }
.primary-nav .primary-nav__parent::after {
	content: ""; width: .4em; height: .4em; margin-left: .45em; flex: 0 0 auto;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px); opacity: .55; transition: transform .2s ease;
}

/* Mobile (< lg): a SLIDE-OUT drawer from the right — full height, ~80% wide (max 380px), over a dimmed
   backdrop. navigation.js: opens/closes, locks page scroll, makes the page behind inert + traps focus,
   collapses sub-menus behind their own chevron button (parent stays a link). The topbar's contact
   details move into the drawer's contact block, so the topbar is hidden here. */
@media (max-width: 1023px) {
	.site-topbar { display: none; }
	.primary-nav {
		position: fixed; top: 0; right: 0; bottom: 0; z-index: 100;
		width: min(80vw, 380px); height: 100vh; height: 100dvh;
		display: flex; flex-direction: column;
		background-color: var(--gpl-color-bg); box-shadow: -24px 0 48px -24px rgba(35, 45, 51, .45);
		overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
		transform: translateX(100%); visibility: hidden;
		transition: transform .3s cubic-bezier(.22, .61, .36, 1), visibility 0s linear .3s;
	}
	.primary-nav.is-open { transform: none; visibility: visible; transition: transform .3s cubic-bezier(.22, .61, .36, 1), visibility 0s; }
	.nav-backdrop {
		position: fixed; inset: 0; z-index: 99; background: rgba(35, 45, 51, .45);
		opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s linear .3s;
	}
	.nav-backdrop.is-visible { opacity: 1; visibility: visible; transition: opacity .3s ease, visibility 0s; }
	.nav-backdrop[hidden] { display: block; } /* JS removes `hidden` on init; CSS owns the visibility */
	html.nav-open { overflow: hidden; }

	.nav-drawer__head {
		position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
		padding: .9rem 1rem .9rem 1.25rem; background-color: var(--gpl-color-bg); border-bottom: 1px solid rgba(35, 45, 51, .1);
	}
	.nav-drawer__title { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gpl-slate-600); }
	.nav-drawer__close {
		display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .45rem .9rem;
		border: 1px solid var(--gpl-slate-300); border-radius: 9999px; background: transparent;
		font: inherit; font-weight: 500; color: var(--gpl-color-primary); cursor: pointer;
	}
	.nav-drawer__close:hover { background-color: var(--gpl-slate-100); }

	.primary-nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 0; }
	.primary-nav__list a { display: flex; width: 100%; min-height: 52px; border-radius: 0; padding: .85rem 1.25rem; font-size: 1.125rem; border-bottom: 1px solid rgba(35, 45, 51, .1); }
	.primary-nav .sub-menu a { padding-left: 2.25rem; font-size: 1.02rem; }
	.primary-nav .sub-menu .sub-menu a { padding-left: 3.25rem; }
	.primary-nav .sub-menu { background: rgba(35, 45, 51, .05); }
	.primary-nav.has-submenu-toggles .menu-item-has-children { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
	.primary-nav.has-submenu-toggles .menu-item-has-children > a::after { content: none; }
	.primary-nav.has-submenu-toggles .menu-item-has-children > .sub-menu { grid-column: 1 / -1; display: none; }
	.primary-nav.has-submenu-toggles .menu-item-has-children.is-expanded > .sub-menu { display: block; }
	.submenu-toggle {
		display: inline-flex; align-items: center; justify-content: center; width: 3.5rem; min-height: 52px;
		margin: 0; padding: 0; border: 0; border-left: 1px solid rgba(35, 45, 51, .1); border-bottom: 1px solid rgba(35, 45, 51, .1);
		background: transparent; color: var(--gpl-color-primary); cursor: pointer;
	}
	.submenu-toggle::before {
		content: ""; width: .55rem; height: .55rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
		transform: translateY(-2px) rotate(45deg); transition: transform .2s ease;
	}
	.submenu-toggle[aria-expanded="true"]::before { transform: translateY(2px) rotate(-135deg); }
	.submenu-toggle:hover { background-color: var(--gpl-slate-100); }
	.primary-nav .primary-nav__parent {
		grid-column: 1 / -1; display: flex; width: 100%; min-height: 52px; justify-content: space-between;
		padding: .85rem 1.25rem; border-radius: 0; font-size: 1.125rem; border-bottom: 1px solid rgba(35, 45, 51, .1);
	}
	.primary-nav .primary-nav__parent::after { width: .55rem; height: .55rem; margin-right: .6rem; opacity: 1; }
	.primary-nav .primary-nav__parent[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }

	.nav-drawer__contact { margin-top: auto; display: flex; flex-direction: column; gap: .35rem; padding: 1.25rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom)); border-top: 1px solid rgba(35, 45, 51, .1); background: rgba(35, 45, 51, .05); }
	.nav-drawer__label { margin: 0 0 .25rem; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gpl-slate-600); }
	.primary-nav .nav-drawer__line {
		display: flex; align-items: flex-start; gap: .65rem; width: auto; min-height: 44px; margin: 0; padding: .55rem 0;
		border: 0; border-radius: 0; background: none; font-size: 1rem; font-weight: 500; line-height: 1.4;
		color: var(--gpl-color-primary); overflow-wrap: break-word;
	}
	.primary-nav .nav-drawer__line svg { flex: 0 0 auto; margin-top: .1rem; }
	.primary-nav a.nav-drawer__line:hover { background: none; text-decoration: underline; }
	.primary-nav .nav-drawer__cta { justify-content: center; margin-top: .6rem; width: 100%; min-height: 48px; padding: .75rem 1.25rem; border-radius: 9999px; font-size: 1.05rem; font-weight: 600; }
}
@media (min-width: 1024px) { .nav-drawer__head, .nav-drawer__contact, .nav-backdrop { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .primary-nav, .nav-backdrop, .submenu-toggle::before { transition: none !important; } }
@media (min-width: 1024px) {
	.submenu-toggle { display: none; }
	/* The LAST top-level flyout opens leftwards (aligned to its item's right edge): left-aligned, a long
	   label ("Bereikbaarheid, parkeren en route") ran past the viewport — even hidden, it made the
	   page scroll sideways. Its third level then opens to the left as well. */
	.primary-nav__list > .menu-item:last-child > .sub-menu { left: auto; right: 0; }
	.primary-nav__list > .menu-item:last-child .sub-menu .sub-menu { left: auto; right: 100%; }
}

/* Desktop (>= lg): inline nav, no toggle. */
@media (min-width: 1024px) {
	.menu-toggle { display: none; }
	.primary-nav { display: block; }
}

/* --- Footer ------------------------------------------------------------------------------ */
.site-footer { background-color: var(--gpl-slate-800); color: var(--gpl-slate-100); }
.site-footer a { color: var(--gpl-slate-100); text-underline-offset: 2px; }
.site-footer a:hover { color: #fff; }
.site-footer__top { display: grid; gap: 2.5rem; padding-block: 4rem; }
@media (min-width: 640px) { .site-footer__top { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand { display: flex; flex-direction: column; gap: 1rem; }
/* Footer branding stacks (logo over tagline) where the header's .site-branding sits in a row. */
.site-branding--footer { flex-direction: column; align-items: flex-start; gap: .625rem; }
/* Sized by WIDTH, not the header's fixed height: the wordmark is a 4.2:1 lockup, so capping the
   width is what keeps it inside the narrow footer column, and min() lets it shrink on mobile. */
.site-branding__logo--footer { width: min(17rem, 100%); height: auto; }
/* Opt out of the header logo's grayscale+contrast filter. That filter exists to DARKEN the slate
   wordmark against white; this variant is already pure white on the high-contrast black footer, so
   the same filter only mutes the mark's colours without buying any contrast. */
body.a11y-contrast .site-branding__logo--footer { filter: none; }
.footer-col__title { margin-bottom: 1rem; font-family: var(--gpl-head-font); font-size: .875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #fff; }
.footer-menu { display: flex; flex-direction: column; gap: .5rem; }
.footer-menu a:hover { text-decoration: underline; }
.site-footer__bottom { display: flex; flex-direction: column; gap: .75rem; padding-block: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .875rem; color: var(--gpl-slate-300); }
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
.site-footer__cookie-link { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.site-footer__cookie-link:hover, .site-footer__cookie-link:focus-visible { color: #fff; }
.footer-hours { margin: 0; color: var(--gpl-slate-300); line-height: 1.7; }
.footer-socials:empty { display: none; }
.footer-socials .sv-socials { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.footer-socials .sv-social { display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: .4rem .8rem; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; color: var(--gpl-slate-100); text-decoration: none; }
.footer-socials .sv-social:hover, .footer-socials .sv-social:focus-visible { background: rgba(255, 255, 255, .08); color: #fff; }
.footer-socials .sv-social svg { width: 1.125rem; height: 1.125rem; }
.site-footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; }
.site-footer__legal p, .site-footer__credit { margin: 0; }
.site-footer__credit a { color: inherit; text-decoration: none; }
.site-footer__credit a:hover, .site-footer__credit a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: .2em; }

/* --- Accessibility toolbar (fixed widget) ------------------------------------------------ */
.a11y-bar { position: fixed; right: 1rem; bottom: 1rem; z-index: 50; display: flex; flex-direction: column; align-items: flex-end; gap: .75rem; }
.a11y-bar__toggle { display: inline-flex; align-items: center; gap: .5rem; min-height: 48px; padding: .75rem 1rem; border-radius: 9999px; background-color: var(--gpl-color-primary); color: #fff; font-weight: 600; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1); }
.a11y-bar__toggle:hover { background-color: var(--gpl-slate-800); }
.a11y-bar__toggle svg { height: 1.5rem; width: 1.5rem; }
.a11y-panel { display: none; flex-direction: column; gap: 1rem; width: min(22rem, calc(100vw - 2rem)); padding: 1.25rem; border: 1px solid rgba(35, 45, 51, .1); border-radius: var(--gpl-radius); background-color: #fff; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .25); }
.a11y-panel.is-open { display: flex; }
.a11y-panel__title { font-family: var(--gpl-head-font); font-size: 1.125rem; font-weight: 600; color: var(--gpl-color-primary); }
.a11y-panel__group { display: flex; flex-direction: column; gap: .5rem; }
.a11y-panel__legend { font-size: .875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .025em; color: var(--gpl-slate-500); }
.a11y-fontsize { display: flex; align-items: center; gap: .5rem; }
.a11y-fontsize__value { width: 4rem; text-align: center; font-weight: 600; color: var(--gpl-color-primary); }
.a11y-option { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 48px; padding: .75rem 1rem; border: 1px solid var(--gpl-slate-200); border-radius: .75rem; background-color: #fff; text-align: left; color: var(--gpl-slate-800); transition: color .2s, background-color .2s, border-color .2s; }
.a11y-option:hover { border-color: var(--gpl-slate-300); background-color: #f3f5f6; }
.a11y-option[aria-pressed="true"] { border-color: var(--gpl-color-primary); background-color: #f3f5f6; color: var(--gpl-slate-900); box-shadow: inset 0 0 0 2px var(--gpl-color-primary); }
.a11y-option__state { font-size: .875rem; font-weight: 600; color: var(--gpl-slate-500); }
.a11y-option[aria-pressed="true"] .a11y-option__state { color: var(--gpl-slate-900); }
.a11y-reset { font-size: .875rem; font-weight: 600; color: var(--gpl-color-clay); text-decoration: underline; text-underline-offset: 2px; }

/* --- WCAG body-class effects (the toolbar reassigns tokens / forces contrast) ------------- */
body.a11y-spacing { --gpl-line-height: 2; --gpl-letter-spacing: .04em; word-spacing: .16em; }
body.a11y-readable { --gpl-body-font: 'Atkinson Hyperlegible', 'Verdana', 'Tahoma', sans-serif; }
body.a11y-readable h1, body.a11y-readable h2, body.a11y-readable h3, body.a11y-readable h4, body.a11y-readable h5, body.a11y-readable h6 { font-family: var(--gpl-body-font); }
body.a11y-reduce-motion *, body.a11y-reduce-motion *::before, body.a11y-reduce-motion *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
body.a11y-links a:not(.btn) { text-decoration: underline !important; text-decoration-thickness: 2px; text-underline-offset: .18em; }
body.a11y-links a:not(.btn):focus, body.a11y-links a:not(.btn):hover { background: var(--gpl-color-accent); color: var(--gpl-color-ink) !important; }
body.a11y-contrast { --gpl-color-bg: #ffffff; --gpl-color-ink: #000000; }
body.a11y-contrast .site-header, body.a11y-contrast .a11y-panel, body.a11y-contrast .card { border: 2px solid #000 !important; background: #fff !important; }
body.a11y-contrast .card, body.a11y-contrast .prose-gpl, body.a11y-contrast p, body.a11y-contrast li { color: #000 !important; }
body.a11y-contrast a:not(.btn) { color: #0b3a63 !important; text-decoration: underline !important; }
body.a11y-contrast .btn--primary, body.a11y-contrast .btn--accent { background: #000 !important; color: #fff !important; }
body.a11y-contrast .site-footer { background: #000 !important; }

/* --- High contrast: FULL-surface coverage (2026-07-23) --------------------------------------
 * The base rules above only touched cards/buttons/footer, so brand surfaces (colored section
 * schemes, the hero scrim, the colored header chrome) kept their hues and the mode looked
 * half-applied. This block completes it: every surface becomes black-on-white — or
 * white-on-black for fixed dark surfaces (hero-over-photo, CTA, footer) — so text reads at
 * maximum contrast everywhere. All literal #000/#fff on purpose: contrast mode must NOT
 * follow brand tokens. */
body.a11y-contrast .site-topbar, body.a11y-contrast .site-header__main { background: #fff !important; }
body.a11y-contrast .site-topbar, body.a11y-contrast .site-topbar a,
body.a11y-contrast .site-header .site-branding, body.a11y-contrast .site-header .site-branding__name,
body.a11y-contrast .site-header .site-branding__tagline, body.a11y-contrast .primary-nav a,
body.a11y-contrast .menu-toggle { color: #000 !important; }
body.a11y-contrast .menu-toggle { border-color: #000 !important; }
body.a11y-contrast .site-header .site-branding__mark { background: #000 !important; color: #fff !important; }
body.a11y-contrast .site-branding__logo { filter: grayscale(1) contrast(1.4); }
body.a11y-contrast .primary-nav { background: #fff !important; }
body.a11y-contrast .primary-nav a:hover, body.a11y-contrast .primary-nav .current-menu-item > a,
body.a11y-contrast .primary-nav [aria-current="page"] { background: #000 !important; color: #fff !important; box-shadow: none !important; }
/* Section background schemes: every scheme goes white with black text (the hero keeps its
   photo — it gets a near-black scrim + white text instead, below). */
body.a11y-contrast .sv-section:not(.sv-section--hero):not(.sv-section--cta) { background: #fff !important; color: #000 !important; }
body.a11y-contrast .sv-section:not(.sv-section--hero):not(.sv-section--cta) :is(h1, h2, h3, h4, h5, p, li, span, strong, em, blockquote, figcaption) { color: #000 !important; text-shadow: none !important; }
body.a11y-contrast .block-hero__overlay { background: linear-gradient(to top, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .78) 45%, rgba(0, 0, 0, .4) 100%) !important; }
body.a11y-contrast .block-hero--solid { background: #000 !important; }
body.a11y-contrast .block-hero__title, body.a11y-contrast .block-hero__eyebrow, body.a11y-contrast .block-hero__intro { color: #fff !important; text-shadow: none !important; }
body.a11y-contrast .block-hero__eyebrow::after { background: #fff !important; }
body.a11y-contrast .block-cta__inner { background: #000 !important; }
body.a11y-contrast .block-cta__inner :is(h1, h2, h3, p, span) { color: #fff !important; }
body.a11y-contrast .hero-quicklinks { background: #fff !important; border: 2px solid #000 !important; }
body.a11y-contrast .hero-quicklinks a, body.a11y-contrast .hero-quicklinks__title { color: #000 !important; }
body.a11y-contrast .btn--outline { background: #fff !important; border-color: #000 !important; color: #000 !important; }
body.a11y-contrast .site-footer, body.a11y-contrast .site-footer a, body.a11y-contrast .site-footer p,
body.a11y-contrast .site-footer .footer-col__title, body.a11y-contrast .site-footer .site-branding__name,
body.a11y-contrast .site-footer .site-branding__tagline, body.a11y-contrast .site-footer li { color: #fff !important; }
/* CTA panel: white-on-black is the high-contrast treatment (kept OUT of the blanket
   white-section rules above); the specificity here must outrank them, hence .sv-section. */
body.a11y-contrast .sv-section .block-cta__inner :is(h1, h2, h3, p, span) { color: #fff !important; }
/* Feature TILES + the search-referral panels use their own surfaces (not .card) — same
   treatment: white with a strong border, monochrome action chips. */
body.a11y-contrast .tile, body.a11y-contrast .block-search-referral__item { background: #fff !important; border: 2px solid #000 !important; }
/* .tile__go is a <span>, so the blanket section-text rule above wins the `color` war
   (its :not() clauses add specificity) and currentColor turns the arrow black-on-black.
   Don't fight it — set the svg's stroke directly (separate property, no contest). */
body.a11y-contrast .tile .tile__go { background: #000 !important; }
body.a11y-contrast .tile .tile__go svg { stroke: #fff !important; }
body.a11y-contrast .hero-quicklinks__deco { display: none !important; }
body.a11y-contrast .a11y-bar__toggle { background: #000 !important; color: #fff !important; }
