/* ==========================================================================
   Project 10 — main stylesheet
   Brand: Deep Slate #334D5B (text, structure), Sage #6BA79B (brand fills, never text: 2.75:1),
   Mist #DCE4E1 (pale backgrounds), Lime #E3E53B (small accents only). Nunito Sans.
   Text-on-colour pairs used here all pass WCAG AA (checked 2026-10-26):
   slate/white 8.9, slate/mist 6.9, deep sage #3F7468 on white 5.4, white on deep sage 5.4,
   white on slate 8.9, lime on slate 6.6, muted #5E727C on white 5.0.
   ========================================================================== */

/* 1. Tokens
   ----------------------------------------------------------------------- */
:root {
	--slate: #334d5b;
	--slate-dark: #243a45;
	--sage: #6ba79b;
	--sage-deep: #3f7468;
	--sage-dark: #4c8579;
	--mist: #dce4e1;
	--mist-soft: #f4f7f6;
	--lime: #e3e53b;
	--muted: #5e727c;
	--white: #fff;
	--error: #b42318;
	--success-bg: #e6f2ef;

	--font: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--fs-body: 1.0625rem;      /* 17px */
	--fs-small: .9375rem;      /* 15px */
	--fs-label: .8125rem;      /* 13px */
	--fs-h3: clamp(1.1875rem, 1.1rem + .4vw, 1.375rem);
	--fs-h2: clamp(1.625rem, 1.35rem + 1.2vw, 2.25rem);
	--fs-display: clamp(2.375rem, 1.6rem + 3.4vw, 4.125rem);
	--fs-page-title: clamp(2.125rem, 1.6rem + 2.2vw, 3.25rem);

	--radius: 20px;
	--radius-sm: 12px;
	--radius-pill: 999px;
	--shadow: 0 1px 2px rgb(36 58 69 / .06), 0 8px 24px rgb(36 58 69 / .08);
	--shadow-lift: 0 2px 4px rgb(36 58 69 / .08), 0 16px 36px rgb(36 58 69 / .14);

	--gutter: 16px;
	--container: 1200px;
	--header-h: 76px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1100px) { :root { --gutter: 32px; --header-h: 88px; } }

/* 2. Base
   ----------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	font-family: var(--font);
	font-size: var(--fs-body);
	line-height: 1.65;
	color: var(--slate);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--sage-deep); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--slate-dark); text-decoration-thickness: 2px; }
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--slate-dark); line-height: 1.2; font-weight: 600; }
h2 { font-size: var(--fs-h2); letter-spacing: -.005em; }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
main:focus { outline: none; }

:focus-visible {
	outline: 3px solid var(--slate-dark);
	outline-offset: 3px;
	box-shadow: 0 0 0 6px var(--lime);
	border-radius: 4px;
}

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: 16px; top: -100px; z-index: 1000;
	padding: 12px 20px; border-radius: var(--radius-pill);
	background: var(--slate-dark); color: var(--white); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

.icon { width: 24px; height: 24px; flex: none; }
.icon--sm { width: 18px; height: 18px; }

.eyebrow {
	margin: 0 0 12px;
	font-size: var(--fs-label);
	font-weight: 700;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--sage-deep);
}

/* 3. Buttons
   ----------------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; gap: 10px;
	min-height: 48px; padding: 12px 24px;
	border: 2px solid transparent; border-radius: var(--radius-pill);
	font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
	cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary { background: var(--slate); color: var(--white); }
.btn--primary:hover { background: var(--slate-dark); color: var(--white); }
.btn--secondary { background: var(--sage-deep); color: var(--white); }
.btn--secondary:hover { background: var(--slate-dark); color: var(--white); }
.btn--ghost { border-color: var(--slate); color: var(--slate); background: transparent; }
.btn--ghost:hover { background: var(--slate); color: var(--white); }
.btn--light { background: var(--white); color: var(--slate-dark); }
.btn--light:hover { background: var(--lime); color: var(--slate-dark); }

.link-button {
	padding: 0; border: 0; background: none; cursor: pointer;
	color: var(--sage-deep); text-decoration: underline; text-underline-offset: .18em; font-weight: 600;
}
.link-button:hover { color: var(--slate-dark); }

/* 4. Header + navigation
   ----------------------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgb(255 255 255 / .96);
	backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--mist);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgb(36 58 69 / .08); }
.site-header__bar { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.site-header__brand { display: flex; flex: none; align-items: center; gap: 14px; text-decoration: none; margin-right: auto; }
.site-header__logo { width: 150px; flex: none; }

.menu-toggle {
	display: inline-flex; align-items: center; gap: 8px;
	min-height: 44px; padding: 8px 16px;
	border: 2px solid var(--mist); border-radius: var(--radius-pill); background: var(--white);
	font-weight: 700; cursor: pointer;
}
.menu-toggle__close, .menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: block; }

.nav__list, .nav__sub, .mega ul { list-style: none; margin: 0; padding: 0; }
.nav__link {
	display: flex; align-items: center; gap: 6px; width: 100%;
	padding: 12px 4px; border: 0; background: none; cursor: pointer;
	font-weight: 600; font-size: 1rem; color: var(--slate-dark); text-decoration: none; text-align: left;
}
.nav__chev { transition: transform .2s var(--ease); }
.nav__toggle[aria-expanded="true"] .nav__chev { transform: rotate(180deg); }
.nav__item.is-active > .nav__link { color: var(--sage-deep); }
.nav__panel a { display: block; padding: 8px 0; color: var(--slate); text-decoration: none; font-weight: 400; }
.nav__panel a:hover, .nav__panel a[aria-current="page"] { color: var(--sage-deep); text-decoration: underline; }
.nav__panel a[aria-current="page"] { font-weight: 700; }
.nav__overview { font-weight: 700 !important; }
.mega__heading { font-weight: 700 !important; color: var(--slate-dark) !important; }

.header-search { position: relative; display: flex; align-items: center; }
.header-search input {
	width: 100%; min-height: 44px; padding: 8px 44px 8px 18px;
	border: 2px solid var(--mist); border-radius: var(--radius-pill); background: var(--mist-soft);
}
.header-search input:focus { border-color: var(--slate); background: var(--white); }
.header-search button {
	position: absolute; right: 4px; display: grid; place-items: center;
	width: 38px; height: 38px; border: 0; border-radius: 50%; background: none; cursor: pointer; color: var(--slate);
}

/* Mobile / tablet: the whole nav is a panel under the bar. */
@media (max-width: 1099.98px) {
	.site-header__nav {
		position: absolute; top: 100%; left: 0; right: 0;
		max-height: calc(100vh - var(--header-h)); overflow-y: auto;
		padding: 8px var(--gutter) 28px;
		background: var(--white); border-bottom: 1px solid var(--mist); box-shadow: 0 18px 32px rgb(36 58 69 / .12);
	}
	.site-header__nav:not(.is-open) { display: none; }
	.nav__item { border-bottom: 1px solid var(--mist); }
	.nav__link { justify-content: space-between; padding: 14px 0; font-size: 1.0625rem; }
	.nav__panel { padding: 0 0 12px 12px; }
	.mega { display: grid; gap: 12px; }
	.mega__col ul { padding-left: 12px; }
	.site-header__actions { display: grid; gap: 14px; padding-top: 20px; }
	.site-header__cta { justify-content: center; }
}

/* Desktop: horizontal bar with drop-down panels. */
@media (min-width: 1100px) {
	.menu-toggle { display: none; }
	.site-header__logo { width: 168px; }
	.site-header__nav { display: flex; align-items: center; gap: 20px; }
	.nav__list { display: flex; gap: 4px; }
	.nav__item { position: relative; }
	.nav__link { padding: 10px 12px; border-radius: var(--radius-pill); white-space: nowrap; }
	.nav__link:hover, .nav__toggle[aria-expanded="true"] { background: var(--mist-soft); }
	.nav__panel {
		position: absolute; top: calc(100% + 14px); left: 0; z-index: 60;
		min-width: 280px; padding: 18px 24px;
		background: var(--white); border: 1px solid var(--mist); border-radius: var(--radius); box-shadow: var(--shadow-lift);
	}
	.site-header__bar { position: relative; }
	.nav__item:has(.nav__panel--mega) { position: static; }
	.nav__panel--mega { top: calc(100% - 6px); left: var(--gutter); right: var(--gutter); padding: 28px 32px; }
	.mega { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
	.mega__heading { padding-bottom: 10px !important; margin-bottom: 6px; border-bottom: 2px solid var(--mist); line-height: 1.3; }
	.mega ul a { font-size: .9375rem; padding: 6px 0; line-height: 1.35; }
	.site-header__actions { display: flex; align-items: center; gap: 12px; }
	.header-search input { width: 140px; transition: width .25s var(--ease); }
	.header-search input:focus { width: 200px; }
	.site-header__cta { min-height: 44px; padding: 10px 20px; }
}
@media (min-width: 1100px) and (max-width: 1279.98px) {
	.site-header__logo { width: 140px; }
	.nav__link { padding-inline: 8px; }
	.header-search input { width: 110px; }
}

/* 5. Sections + shared layout
   ----------------------------------------------------------------------- */
.section { padding-block: clamp(56px, 7vw, 104px); }
.section__head { max-width: 680px; margin-bottom: 40px; }
.section__head p { color: var(--muted); font-size: 1.125rem; }
.section__title { margin-bottom: 32px; }

/* 6. Homepage
   ----------------------------------------------------------------------- */
.hero {
	position: relative; overflow: hidden;
	padding-block: clamp(40px, 6vw, 88px) clamp(56px, 7vw, 104px);
	background:
		radial-gradient(60% 70% at 100% 0%, rgb(107 167 155 / .16), transparent 70%),
		radial-gradient(50% 60% at 0% 100%, rgb(220 228 225 / .8), transparent 70%),
		var(--mist-soft);
}
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero__title {
	font-size: var(--fs-display); font-weight: 300; letter-spacing: .005em; line-height: 1.08;
	margin-bottom: 20px; color: var(--slate-dark);
}
.hero__lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); max-width: 34em; color: var(--slate); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__media { position: relative; max-width: 560px; justify-self: center; width: 100%; }
.hero__frame {
	position: relative; z-index: 1; overflow: hidden;
	aspect-ratio: 5 / 4;
	border-radius: 220px 36px 220px 36px;
	box-shadow: var(--shadow-lift);
	background: var(--mist);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__owl { position: absolute; z-index: 2; width: 92px; left: -14px; bottom: -22px; filter: drop-shadow(0 6px 12px rgb(36 58 69 / .2)); }
.hero__leaf { position: absolute; border-radius: 80% 0 80% 0; }
.hero__leaf--1 { width: 120px; height: 120px; right: -26px; top: -30px; background: var(--sage); opacity: .55; transform: rotate(14deg); }
.hero__leaf--2 { width: 64px; height: 64px; right: 40px; bottom: -26px; background: var(--lime); opacity: .9; transform: rotate(-30deg); z-index: 2; }
@media (min-width: 900px) {
	.hero__grid { grid-template-columns: 1.05fr .95fr; gap: 56px; }
	.hero__owl { width: 120px; left: -40px; }
}

.topic-grid, .card-grid, .connect-grid, .pub-grid, .district-list, .initiatives { list-style: none; margin: 0; padding: 0; }
.topic-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .topic-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .topic-grid { grid-template-columns: repeat(3, 1fr); } }
.topic-card, .link-card {
	position: relative; display: flex; flex-direction: column;
	padding: 28px; background: var(--white);
	border: 1px solid var(--mist); border-radius: var(--radius);
	transition: border-color .2s, box-shadow .25s var(--ease), transform .25s var(--ease);
}
.topic-card:hover, .link-card:hover, .topic-card:focus-within, .link-card:focus-within {
	border-color: var(--sage); box-shadow: var(--shadow-lift); transform: translateY(-3px);
}
.topic-card__icon, .connect-card__icon {
	display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 20px;
	border-radius: 18px 4px 18px 4px; background: var(--mist); color: var(--sage-deep);
}
.topic-card__icon .icon, .connect-card__icon .icon { width: 28px; height: 28px; }
.topic-card__title, .link-card__title { font-size: var(--fs-h3); margin-bottom: 8px; }
.topic-card__title a, .link-card__title a { color: var(--slate-dark); text-decoration: none; }
.topic-card__title a::after, .link-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.topic-card__title a:focus-visible { box-shadow: none; outline: none; }
.topic-card:has(a:focus-visible), .link-card:has(a:focus-visible), .connect-card:has(a:focus-visible) {
	outline: 3px solid var(--slate-dark); outline-offset: 3px; box-shadow: 0 0 0 6px var(--lime);
}
.link-card__title a:focus-visible, .connect-card a:focus-visible { outline: none; box-shadow: none; }
.topic-card p, .link-card p { color: var(--muted); margin-bottom: 16px; }
.topic-card__count {
	display: flex; align-items: center; gap: 8px; margin: auto 0 0 !important;
	font-size: var(--fs-small); font-weight: 700; color: var(--sage-deep) !important;
}
.topic-card:hover .topic-card__count .icon { transform: translateX(3px); }
.topic-card__count .icon { transition: transform .2s var(--ease); }

.map-teaser { background: var(--slate); color: var(--white); }
.map-teaser h2 { color: var(--white); }
.map-teaser .eyebrow { color: var(--lime); }
.map-teaser p { color: rgb(255 255 255 / .9); }
.map-teaser .btn--primary { background: var(--white); color: var(--slate-dark); }
.map-teaser .btn--primary:hover { background: var(--lime); }
.map-teaser :focus-visible { outline-color: var(--white); }
.map-teaser__grid { display: grid; gap: 40px; align-items: center; }
.map-teaser__map { display: block; max-width: 560px; justify-self: center; width: 100%; }
.map-teaser .florida-map path { stroke: var(--slate); }
.map-teaser .region-key { margin: 24px 0 32px; }
.map-teaser .region-key li { color: var(--white); }
@media (min-width: 900px) { .map-teaser__grid { grid-template-columns: .9fr 1.1fr; gap: 64px; } }

.region-key { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; font-size: var(--fs-small); }
.region-key li { display: flex; align-items: center; gap: 10px; }
.region-key__swatch {
	display: inline-block; flex: none; width: 18px; height: 18px;
	border-radius: 6px 2px 6px 2px; background: var(--swatch); box-shadow: inset 0 0 0 1px rgb(36 58 69 / .25);
}

.mission { background: var(--mist-soft); }
.mission__grid { display: grid; gap: 40px; }
.mission__copy p { font-size: 1.125rem; }
.mission__copy .btn { margin-top: 8px; }
.initiatives { display: grid; gap: 16px; }
.initiatives li { padding: 24px 24px 20px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.initiatives__mark { width: 44px; margin-bottom: 12px; }
.initiatives h3 { font-size: 1.125rem; margin-bottom: 6px; }
.initiatives p { font-size: var(--fs-small); color: var(--muted); margin: 0; }
@media (min-width: 640px) { .initiatives { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .mission__grid { grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; } }

.connect-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .connect-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .connect-grid { grid-template-columns: repeat(4, 1fr); } }
.connect-card { position: relative; padding: 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--mist); transition: border-color .2s, box-shadow .25s var(--ease); }
.connect-card:hover { border-color: var(--sage); box-shadow: var(--shadow); }
.connect-card h3 { font-size: 1.125rem; margin-bottom: 6px; }
.connect-card h3 a { color: var(--slate-dark); text-decoration: none; }
.connect-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.connect-card p { font-size: var(--fs-small); color: var(--muted); margin: 0; }

/* 7. Inner pages
   ----------------------------------------------------------------------- */
.page-hero { position: relative; overflow: hidden; padding-block: 36px 48px; background: var(--mist-soft); border-bottom: 1px solid var(--mist); }
.page-hero__grid { position: relative; display: grid; gap: 28px; align-items: center; }
.page-hero__title { font-size: var(--fs-page-title); font-weight: 300; letter-spacing: .005em; line-height: 1.12; margin: 0; max-width: 18em; }
.page-hero__lead { margin: 16px 0 0; font-size: 1.1875rem; max-width: 40em; }
.page-hero__tree { position: absolute; right: -40px; bottom: -70px; width: 300px; opacity: .14; pointer-events: none; }
.page-hero__media img { border-radius: 140px 24px 140px 24px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
@media (min-width: 900px) {
	.page-hero { padding-block: 44px 64px; }
	.page-hero--image .page-hero__grid { grid-template-columns: 1.2fr .8fr; }
	.page-hero__tree { width: 380px; right: 0; }
}

.breadcrumbs { margin-bottom: 18px; font-size: var(--fs-small); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--muted); }
.breadcrumbs a { color: var(--slate); }
.breadcrumbs [aria-current] { color: var(--muted); }

.page-body { display: grid; gap: 40px; padding-block: 48px 88px; }
@media (min-width: 1000px) {
	.page-body--with-nav { grid-template-columns: 280px minmax(0, 1fr); gap: 56px; }
	.page-body__aside { position: relative; }
	.section-nav { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; }
}
.section-nav { padding: 20px; border-radius: var(--radius); background: var(--mist-soft); font-size: var(--fs-small); }
.section-nav__title { margin: 0 0 8px; font-weight: 700; font-size: 1rem; }
.section-nav__title a { color: var(--slate-dark); text-decoration: none; }
.section-nav ul { list-style: none; margin: 0; padding: 0; }
.section-nav ul ul { padding-left: 14px; margin: 2px 0 6px; border-left: 2px solid var(--mist); }
.section-nav li a { display: block; padding: 6px 10px; border-radius: 8px; color: var(--slate); text-decoration: none; line-height: 1.35; }
.section-nav li a:hover { background: var(--white); color: var(--slate-dark); }
.section-nav a[aria-current="page"] { background: var(--white); color: var(--slate-dark); font-weight: 700; box-shadow: inset 3px 0 0 var(--sage); }

/* Long-form text from the editor. */
.prose { max-width: 72ch; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { margin-top: 1.8em; font-size: clamp(1.375rem, 1.2rem + .8vw, 1.75rem); }
.prose h3 { margin-top: 1.6em; }
.prose h4 { margin-top: 1.4em; font-size: 1.0625rem; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul > li { position: relative; padding-left: 26px; margin-bottom: .45em; }
.prose ul > li::before {
	content: ""; position: absolute; left: 4px; top: .62em;
	width: 10px; height: 10px; border-radius: 6px 1px 6px 1px; background: var(--sage);
}
.prose ol > li { margin-bottom: .45em; padding-left: 4px; }
.prose ol > li::marker { color: var(--sage-deep); font-weight: 700; }
.prose li > ul { margin-top: .45em; }
.prose a { word-break: break-word; }
.prose strong { color: var(--slate-dark); }
.prose blockquote { margin: 1.5em 0; padding: 16px 24px; border-left: 4px solid var(--sage); background: var(--mist-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: var(--fs-small); display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 12px; border: 1px solid var(--mist); text-align: left; vertical-align: top; }
.prose th { background: var(--mist-soft); }
.prose img { border-radius: var(--radius-sm); }
.prose hr { border: 0; height: 1px; background: var(--mist); margin: 2em 0; }

.page-cards { margin-top: 56px; }
.page-cards__title { font-size: clamp(1.375rem, 1.2rem + .8vw, 1.75rem); }
.card-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
.section-landing .card-grid { gap: 20px; }
@media (min-width: 1000px) { .section-landing .card-grid { grid-template-columns: repeat(3, 1fr); } }
.link-card { padding: 24px 24px 56px; }
.link-card p { font-size: var(--fs-small); margin: 0; }
.link-card__more {
	position: absolute; left: 24px; bottom: 20px; display: grid; place-items: center;
	width: 32px; height: 32px; border-radius: 50%; background: var(--mist); color: var(--sage-deep);
	transition: background-color .2s, color .2s;
}
.link-card:hover .link-card__more { background: var(--slate); color: var(--white); }

.section-landing { padding-block: 48px 88px; }
.section-landing__intro { font-size: 1.0625rem; }
.section-landing .page-cards { margin-top: 32px; }

/* 8. Resources by Location
   ----------------------------------------------------------------------- */
.locations { display: grid; gap: 40px; padding-block: 40px 88px; }
@media (min-width: 1000px) {
	.locations { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: start; }
	.locations__map-wrap { position: sticky; top: calc(var(--header-h) + 24px); }
}
.locations__map { position: relative; padding: 16px; background: var(--mist-soft); border-radius: var(--radius); }
.locations .region-key { margin-top: 16px; }

.florida-map path { fill: var(--fill, var(--mist)); stroke: var(--white); stroke-width: 1.2; stroke-linejoin: round; transition: opacity .15s, filter .15s; }
.florida-map--interactive .map__county { cursor: pointer; outline: none; }
.florida-map--interactive .map__county:hover path,
.florida-map--interactive .map__county:focus path,
.florida-map--interactive .map__county.is-active path { stroke: var(--slate-dark); stroke-width: 3; filter: brightness(1.04); }
.florida-map--interactive.has-active .map__county:not(.is-active):not(:hover):not(:focus) path { opacity: .55; }

.map-tip {
	position: absolute; z-index: 5; width: min(320px, calc(100% - 24px));
	padding: 18px 20px; background: var(--white); border-radius: var(--radius-sm);
	box-shadow: var(--shadow-lift); border-top: 6px solid var(--swatch, var(--sage));
	font-size: var(--fs-small); pointer-events: auto;
}
.map-tip .district { list-style: none; }
.map-tip .district__name { font-size: 1.0625rem; }
.map-tip__close { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--mist-soft); cursor: pointer; }

.filter-box label, .chip-group legend { display: block; font-weight: 700; margin-bottom: 8px; }
.filter-box input, .search-form input {
	width: 100%; min-height: 48px; padding: 10px 18px;
	border: 2px solid var(--mist); border-radius: var(--radius-pill); background: var(--white);
}
.filter-box input:focus, .search-form input:focus { border-color: var(--slate); }
.filter-box__count { margin: 8px 0 0; font-size: var(--fs-small); color: var(--muted); min-height: 1.5em; }
.filter-empty { padding: 20px; border-radius: var(--radius-sm); background: var(--mist-soft); }

.region { margin-top: 32px; }
.region__head { margin-bottom: 14px; }
.region__head h2 { display: flex; align-items: center; gap: 12px; font-size: 1.375rem; margin-bottom: 4px; }
.region__head .region-key__swatch { width: 22px; height: 22px; }
.region__head p { font-size: var(--fs-small); color: var(--muted); margin: 0; }
.district-list { display: grid; gap: 12px; }
@media (min-width: 640px) { .locations__list .district-list { grid-template-columns: repeat(2, 1fr); } }
.district { padding: 16px 18px; border-radius: var(--radius-sm); border: 1px solid var(--mist); background: var(--white); font-size: var(--fs-small); scroll-margin-top: calc(var(--header-h) + 24px); }
.district:target, .district.is-highlight { border-color: var(--slate); box-shadow: 0 0 0 3px var(--lime); }
.district__name { font-size: 1rem; margin-bottom: 2px; }
.district__meta { color: var(--muted); margin-bottom: 8px; line-height: 1.4; }
.district__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.district__role { display: block; font-size: var(--fs-label); color: var(--muted); }
.district__note { font-style: italic; }

/* 9. Publications
   ----------------------------------------------------------------------- */
.publications { padding-block: 40px 88px; }
.filter-bar { display: grid; gap: 20px; margin-bottom: 32px; padding: 24px; border-radius: var(--radius); background: var(--mist-soft); }
@media (min-width: 900px) { .filter-bar { grid-template-columns: minmax(0, 360px) 1fr; align-items: start; } .filter-bar .filter-box__count { grid-column: 1 / -1; margin: 0; } }
.chip-group { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip-group legend { width: 100%; }
.chip { position: relative; display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border: 2px solid var(--mist); border-radius: var(--radius-pill); background: var(--white); cursor: pointer; font-size: var(--fs-small); font-weight: 600; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip:has(input:checked) { background: var(--slate); border-color: var(--slate); color: var(--white); }
.chip:has(input:focus-visible) { outline: 3px solid var(--slate-dark); outline-offset: 3px; box-shadow: 0 0 0 6px var(--lime); }

.pub-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .pub-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .pub-grid { grid-template-columns: repeat(3, 1fr); } }
.pub-card { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--mist); border-radius: var(--radius); background: var(--white); }
.pub-card__icon { color: var(--sage-deep); margin-bottom: 14px; }
.pub-card__title { font-size: 1.125rem; margin-bottom: 6px; }
.pub-card__topics { font-size: var(--fs-label); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sage-deep); margin-bottom: 8px; }
.pub-card__desc { font-size: var(--fs-small); color: var(--muted); }
.pub-card__files { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 8px; padding-top: 12px; }
.file-link { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px; border-radius: var(--radius-pill); background: var(--mist-soft); color: var(--slate-dark); font-weight: 700; font-size: var(--fs-small); text-decoration: none; border: 2px solid transparent; }
.file-link:hover { border-color: var(--slate); color: var(--slate-dark); }
.file-link__type { font-size: .6875rem; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.publications__more { margin-top: 64px; }

/* 10. Contact + forms
   ----------------------------------------------------------------------- */
.contact { display: grid; gap: 40px; padding-block: 48px 88px; }
@media (min-width: 1000px) { .contact { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; align-items: start; } }
.form { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); background: var(--white); border: 1px solid var(--mist); box-shadow: var(--shadow); }
.field { margin-bottom: 20px; }
.field label { display: block; margin-bottom: 6px; font-weight: 700; }
.req { font-weight: 400; color: var(--muted); font-size: var(--fs-small); }
.field input, .field select, .field textarea {
	width: 100%; min-height: 48px; padding: 10px 16px;
	border: 2px solid var(--mist); border-radius: var(--radius-sm); background: var(--white);
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--slate); }
.field.has-error input, .field.has-error textarea { border-color: var(--error); }
.field__error { margin: 6px 0 0; color: var(--error); font-size: var(--fs-small); font-weight: 600; }
.field__error:empty { display: none; }
.field--trap { position: absolute; left: -9999px; }
.form__status:empty { display: none; }
.form__status, .notice { margin-bottom: 20px; padding: 14px 18px; border-radius: var(--radius-sm); font-weight: 600; }
.form__status.is-error { background: #fdecea; color: var(--error); }
.form__status.is-success, .notice--success { background: var(--success-bg); color: var(--slate-dark); }
.notice p { margin: 0; }

.contact__aside { display: grid; gap: 20px; }
.info-card { position: relative; padding: 28px; border-radius: var(--radius); background: var(--mist-soft); }
.info-card h2 { font-size: 1.25rem; }
.info-card p { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.info-card address { margin-bottom: 12px; }
.info-card__icon { color: var(--sage-deep); margin-bottom: 12px; width: 32px; height: 32px; }
.info-card--sage { background: var(--mist); }

/* 11. Search + results
   ----------------------------------------------------------------------- */
.search-form { margin-bottom: 32px; max-width: 640px; }
.search-form label { display: block; font-weight: 700; margin-bottom: 8px; }
.search-form__row { display: flex; gap: 10px; }
.results-count { color: var(--muted); }
.result-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; max-width: 820px; }
.result { padding: 20px 24px; border: 1px solid var(--mist); border-radius: var(--radius); }
.result__section { margin: 0 0 4px; font-size: var(--fs-label); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sage-deep); }
.result__title { font-size: 1.1875rem; margin-bottom: 6px; }
.result p { margin: 0; color: var(--muted); font-size: var(--fs-small); }
.nav-links { display: flex; gap: 8px; margin-top: 32px; }
.nav-links .page-numbers { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: var(--radius-pill); border: 2px solid var(--mist); text-decoration: none; font-weight: 700; color: var(--slate); }
.nav-links .current { background: var(--slate); color: var(--white); border-color: var(--slate); }

/* 12. Footer
   ----------------------------------------------------------------------- */
.site-footer { margin-top: 0; background: var(--mist); }
.site-footer__grid { display: grid; gap: 36px; padding-block: 56px 48px; }
@media (min-width: 900px) { .site-footer__grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 56px; } }
.site-footer__logo { width: 200px; margin-bottom: 16px; }
.site-footer__brand p { max-width: 34em; font-size: var(--fs-small); }
.site-footer__heading { font-size: var(--fs-label); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--slate-dark); margin-bottom: 16px; }
.site-footer address { margin-bottom: 12px; font-size: var(--fs-small); }
.site-footer__contact, .site-footer__links { list-style: none; padding: 0; margin: 0 0 16px; font-size: var(--fs-small); }
.site-footer__contact li { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.site-footer__links li { margin-bottom: 6px; }
.site-footer a { color: var(--slate-dark); }
.site-footer .link-button { font-size: var(--fs-small); color: var(--slate-dark); }
.site-footer__legal { padding-block: 24px; background: var(--slate); color: rgb(255 255 255 / .92); font-size: var(--fs-label); }
.site-footer__legal p { max-width: 90ch; margin: 0 0 8px; }
.site-footer__legal p:last-child { margin: 0; }
.site-footer__legal :focus-visible { outline-color: var(--white); }

/* 13. Visitor role dialog
   ----------------------------------------------------------------------- */
.role-dialog {
	width: min(760px, calc(100vw - 2 * var(--gutter))); max-height: calc(100vh - 32px);
	padding: 0; border: 0; border-radius: 28px; color: var(--slate);
	box-shadow: 0 30px 80px rgb(36 58 69 / .35);
}
.role-dialog::backdrop { background: rgb(36 58 69 / .55); backdrop-filter: blur(3px); }
.role-dialog[open] { animation: dialog-in .35s var(--ease); }
.role-dialog__inner { position: relative; padding: clamp(28px, 5vw, 48px); text-align: center; }
.role-dialog__owl { width: 72px; margin: 0 auto 12px; }
.role-dialog h2 { font-weight: 600; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
.role-dialog p { max-width: 36em; margin-inline: auto; color: var(--muted); }
.role-dialog__grid { list-style: none; padding: 0; margin: 28px 0 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .role-dialog__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.role-btn {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
	width: 100%; height: 100%; min-height: 120px; padding: 16px 10px;
	border: 2px solid var(--mist); border-radius: 18px; background: var(--white); cursor: pointer;
	font-weight: 700; font-size: .9375rem; line-height: 1.25; color: var(--slate-dark);
	transition: border-color .2s, background-color .2s, transform .2s var(--ease);
}
.role-btn__icon { width: 44px; height: 44px; padding: 9px; border-radius: 14px 4px 14px 4px; background: var(--mist); color: var(--sage-deep); transition: background-color .2s, color .2s; }
.role-btn:hover { border-color: var(--sage); background: var(--mist-soft); transform: translateY(-2px); }
.role-btn:hover .role-btn__icon { background: var(--slate); color: var(--white); }
.role-btn.is-chosen { border-color: var(--slate); background: var(--mist-soft); }
.role-dialog__skip { border: 0; background: none; cursor: pointer; padding: 8px 12px; color: var(--sage-deep); font-weight: 700; text-decoration: underline; text-underline-offset: .18em; }
.role-dialog__thanks { font-weight: 700; color: var(--slate-dark) !important; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }

/* 14. Motion preferences
   ----------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
