/* ==========================================================================
   C-PAC site styles (November 2026)
   Replaces style.css, normalize.css, Font Awesome and the Pe-icon fonts.
   Fonts: Open Sans (text) and Montserrat (labels), as on the original site.
   ========================================================================== */

:root {
	--green: #0b4d2c;
	--green-dark: #073820;
	--gold: #caa100;
	--gold-light: #f2c14e;
	--sand: #f4edd2;
	--sand-light: #f8f5e6;
	--line: #c9c1ba;
	--ink: #333333;
	--ink-strong: #17211b;
	--heading: #cc3300;
	--link: #04418c;
	--link-hover: #1f6fb2;
	--accent-red: #b3141b;
	--wrap: 1400px;
	--gutter: 5vw;
	--header-h: 128px;
	--header-h-small: 64px;
	--edge: max(var(--gutter), calc((100% - var(--wrap)) / 2));
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h-small) + 16px); }
body {
	margin: 0;
	font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink);
	background: #fff;
}
img { max-width: 100%; height: auto; }
a { color: var(--link); }
a:hover { color: var(--link-hover); }
p, ul, ol, table, figure, blockquote { margin: 0 0 1.5rem; }
ul, ol { padding-left: 1.25rem; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5rem; font-weight: 300; color: var(--heading); line-height: 1.2; }
h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; text-transform: uppercase; margin-bottom: 1.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.2rem; }
h6 { font-size: 1rem; }
hr { border: 0; border-top: 1px solid #e1e1e1; margin: 2.5rem 0; }
table { border-collapse: collapse; width: 100%; }
th, td { padding: 12px 15px; text-align: left; vertical-align: top; border-bottom: 1px solid #e1e1e1; }
th:first-child, td:first-child { padding-left: 0; }
:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 2px; }

.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;
}
.skip-link {
	position: absolute; left: 1rem; top: -100px; z-index: 1000;
	background: #fff; color: var(--green); padding: .75rem 1rem; font-weight: 700; border-radius: 4px;
}
.skip-link:focus { top: 1rem; }

/* ---------- Header: green, sticky, shrinks on scroll ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: var(--green);
	color: #fff;
	transition: box-shadow .25s ease;
}
.site-header.is-small { box-shadow: 0 4px 18px rgba(0, 0, 0, .25); }
.site-header__inner {
	padding: 0 var(--edge);
	display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
	min-height: var(--header-h);
	transition: min-height .25s ease;
}
.site-header.is-small .site-header__inner { min-height: var(--header-h-small); }

.brand { display: flex; align-items: center; gap: 1rem; color: #fff; text-decoration: none; min-width: 0; flex: 0 1 auto; }
.brand:hover { color: #fff; }
.brand__seal { width: 96px; height: 96px; flex: none; transition: width .25s ease, height .25s ease; }
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__name { font-family: "Open Sans", sans-serif; font-size: 1.85rem; line-height: 1.05; font-weight: 400; letter-spacing: .01em; transition: font-size .25s ease; }
.brand__tagline { font-size: .9rem; margin-top: .4rem; color: #dcebe0; transition: opacity .2s ease; }
.site-header.is-small .brand__seal { width: 46px; height: 46px; }
.site-header.is-small .brand__name { font-size: 1.15rem; }
.site-header.is-small .brand__break { display: none; }
.site-header.is-small .brand__tagline { display: none; }

/* Main menu */
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.site-nav__item { position: relative; display: flex; align-items: center; }
.site-nav__link {
	display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: 0 .55rem;
	font-family: "Montserrat", sans-serif; font-weight: 600; font-size: .95rem;
	color: #fff; text-decoration: none; white-space: nowrap;
	border-bottom: 3px solid transparent;
}
.site-nav__link:hover, .site-nav__item.is-active > .site-nav__link { color: #fff; border-bottom-color: var(--gold-light); }
.site-nav__sub-toggle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 28px; height: 44px; margin-left: -.35rem; padding: 0;
	background: none; border: 0; color: #fff; cursor: pointer;
}
.site-nav__sub-toggle svg { transition: transform .2s ease; }
.site-nav__item.is-open .site-nav__sub-toggle svg { transform: rotate(180deg); }
.site-nav__sub {
	list-style: none; margin: 0; padding: .5rem 0;
	position: absolute; top: 100%; left: 0; min-width: 240px;
	background: #fff; border-top: 4px solid var(--gold-light); border-radius: 0 0 6px 6px;
	box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
	display: none;
}
.site-nav__item.is-open > .site-nav__sub { display: block; }
.site-nav__sub a { display: block; padding: .6rem 1.1rem; color: var(--ink-strong); text-decoration: none; font-size: .95rem; }
.site-nav__sub a:hover { background: var(--sand-light); color: var(--green); }
.site-nav__sub a[aria-current="page"] { font-weight: 700; color: var(--green); }
@media (hover: hover) and (min-width: 1101px) {
	.site-nav__item.has-sub:hover > .site-nav__sub,
	.site-nav__item.has-sub:focus-within > .site-nav__sub { display: block; }
}
.site-nav__item--search .site-nav__link { margin-left: .5rem; padding: 0 .9rem; border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px; }
.site-nav__item--search .site-nav__link:hover, .site-nav__item--search.is-active .site-nav__link { background: rgba(255, 255, 255, .12); border-color: #fff; }

.menu-toggle {
	display: none; align-items: center; gap: .5rem; min-height: 44px; padding: 0 .9rem;
	background: none; color: #fff; border: 1px solid rgba(255, 255, 255, .5); border-radius: 6px;
	font: 600 .95rem "Montserrat", sans-serif; cursor: pointer;
}

/* Laptops: keep the name to two lines beside the full menu */
@media (min-width: 1101px) and (max-width: 1440px) {
	.brand__seal { width: 80px; height: 80px; }
	.brand__name { font-size: 1.45rem; }
	.brand__tagline { font-size: .8rem; }
	.site-nav__link { padding: 0 .4rem; font-size: .9rem; }
}

/* Menu on tablets and phones */
@media (max-width: 1100px) {
	:root { --header-h: 96px; }
	.brand__seal { width: 64px; height: 64px; }
	.brand__name { font-size: 1.35rem; }
	.brand__tagline { font-size: .8rem; }
	.menu-toggle { display: inline-flex; flex: none; }
	.brand { flex: 1 1 0; }
	.site-header__inner { flex-wrap: wrap; }
	.site-nav { display: none; width: 100%; padding-bottom: 1rem; }
	.site-header.nav-open .site-nav { display: block; }
	.site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.site-nav__item { flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .18); }
	.site-nav__link { flex: 1; min-height: 52px; font-size: 1.05rem; border-bottom: 0; }
	.site-nav__item.is-active > .site-nav__link { box-shadow: inset 4px 0 0 var(--gold-light); padding-left: .9rem; }
	.site-nav__sub-toggle { width: 52px; height: 52px; }
	.site-nav__sub { position: static; width: 100%; box-shadow: none; border-radius: 0; border-top: 0; background: var(--green-dark); padding: 0 0 .5rem; }
	.site-nav__sub a { color: #fff; padding-left: 1.5rem; }
	.site-nav__sub a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
	.site-nav__sub a[aria-current="page"] { color: var(--gold-light); }
	.site-nav__item--search .site-nav__link { margin: .75rem 0 0; justify-content: center; }
}
@media (max-width: 560px) {
	.brand__break, .brand__tagline { display: none; }
	.brand__name { font-size: 1rem; line-height: 1.2; }
	.brand__seal { width: 48px; height: 48px; }
	.brand { gap: .65rem; }
	.menu-toggle__text { display: none; }
	.menu-toggle { padding: 0 .7rem; }
	:root { --header-h: 76px; }
}

/* ---------- Homepage ---------- */
.home { margin: 0; }
.home-intro {
	display: grid; grid-template-columns: minmax(0, 26fr) minmax(0, 74fr); gap: 2.5rem;
	padding: 2.5rem var(--edge); background: #fff;
}
.home-intro__text { font-size: .95rem; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.tile { display: flex; flex-direction: column; height: 100%; color: #fff; text-decoration: none; overflow: hidden; }
.tile img { display: block; width: 100%; aspect-ratio: 192 / 225; object-fit: cover; transition: transform .35s ease; }
.tile:hover img { transform: scale(1.04); }
.tile__label {
	display: block; padding: .7rem 1rem; position: relative; z-index: 1;
	font-family: "Montserrat", sans-serif; font-size: 1rem; text-transform: uppercase; letter-spacing: .02em;
	transition: background-color .2s ease;
}
.tile:hover { color: #fff; }
.tile:hover .tile__label { text-decoration: underline; text-underline-offset: 3px; }
/* Original block colors, a shade deeper where needed so white text passes WCAG AA */
.tile--blue .tile__label { background: #00458b; }
.tile--red .tile__label { background: #ad172b; }
.tile--green .tile__label { background: #4f7a22; }
.tile--orange .tile__label { background: #c44516; }
.tile--blue:hover .tile__label { background: #003366; }
.tile--red:hover .tile__label { background: #8a1222; }
.tile--green:hover .tile__label { background: #3e611a; }
.tile--orange:hover .tile__label { background: #a13811; }

.highlights {
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem;
	background: var(--sand); padding: 3rem var(--edge) 3.5rem;
}
.highlights h2 { font-size: 1.9rem; margin: 0 0 1rem; }
.highlights__col > h2 + p, .highlights__col p { font-size: .95rem; }
.highlights__col h2:not(:first-child) { margin-top: 2.5rem; }
.highlights h3 { font-family: "Open Sans", sans-serif; font-size: .95rem; font-weight: 600; color: var(--ink); margin: 0 0 .2rem; line-height: 1.45; }
.highlights p { margin-bottom: .2rem; }
.plain-list { list-style: disc; padding-left: 1.25rem; font-size: .95rem; }
.news-list, .post-list { list-style: none; margin: 0; padding: 0; }
.news-list li { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: .75rem; margin-bottom: 1.25rem; }
.news-list img { width: 60px; height: 60px; border-radius: 50%; border: 1px solid var(--line); }
.post-list li { padding: .9rem 0; border-bottom: 1px solid var(--line); }
.post-list li:first-child { padding-top: 0; }
.post-list li:last-child { border-bottom: 0; }

.learnmore {
	display: inline-block; margin-top: .2rem;
	font-family: "Trebuchet MS", "Open Sans", sans-serif; font-size: .78rem; font-weight: 700;
	text-transform: uppercase; letter-spacing: .02em; color: var(--accent-red); text-decoration: none;
}
.learnmore:hover { color: var(--accent-red); text-decoration: underline; }

@media (max-width: 1000px) {
	.home-intro { grid-template-columns: 1fr; }
	.highlights { grid-template-columns: 1fr; gap: 1.5rem; }
	.highlights__col + .highlights__col { border-top: 1px solid var(--line); padding-top: 1.5rem; }
}
@media (max-width: 640px) {
	.tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
	.home-intro, .highlights { padding-left: 1.25rem; padding-right: 1.25rem; }
}

/* ---------- Inner pages (kept compatible with the existing page markup) ---------- */
article { background: #fff; }
.container { padding: 0 var(--edge) 4rem; background: #fff; }
.row { display: flex; flex-wrap: wrap; gap: 2%; }
.columns, .column { width: 100%; min-width: 0; }
.content { margin-top: 2rem; }
.content img { width: 100%; height: auto; }
.content::after { content: ""; display: table; clear: both; }
.left { float: left; width: 68%; padding-right: 2rem; }
.right { float: right; width: 32%; }
.blurb { display: block; }
.sections { margin-top: 2.5rem; }
.newres, .whatsnew { list-style: none; padding: 0; }
.newres li { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.newres li:last-child { border-bottom: 0; }
.map-responsive { overflow: hidden; position: relative; height: 420px; margin-top: 1.5rem; border-radius: 6px; }
.contact-form { max-width: 44rem; }
.map-responsive iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.content iframe { max-width: 100%; }

/* Left-hand section menu */
.leftnav { margin-top: 2rem; background: var(--sand-light); border-bottom: 8px solid #e5dab7; }
.leftnav__title { margin: 0; padding: 1rem 1.25rem; font-family: "Montserrat", sans-serif; font-weight: 700; text-transform: uppercase; font-size: .95rem; color: var(--green); border-bottom: 1px solid var(--line); }
.leftnav ul { list-style: none; margin: 0; padding: 0 1.25rem; }
.leftnav li { border-bottom: 1px solid var(--line); }
.leftnav li:last-child { border-bottom: 0; }
.leftnav a { display: block; padding: .8rem 0; color: #444; text-decoration: none; }
.leftnav a:hover { color: var(--green); text-decoration: underline; }
.leftnav a[aria-current="page"] { color: var(--green); font-weight: 700; }

@media (min-width: 801px) {
	.three.columns { width: 23.5%; }
	.four.columns { width: 32%; }
	.six.columns { width: 49%; }
	.nine.columns { width: 74.5%; }
	.twelve.columns { width: 100%; }
}
@media (max-width: 800px) {
	.container { padding: 0 1.25rem 2.5rem; }
	.leftnav { display: none; }
	.left, .right { float: none; width: 100%; padding-right: 0; }
	h2 { font-size: 1.85rem; }
}


/* ---------- Inner page header ---------- */
.page-hero { position: relative; background: var(--green); color: #fff; overflow: hidden; }
.page-hero__inner { position: relative; z-index: 1; padding: 2.5rem var(--edge) 2.25rem; }
.page-hero__eyebrow { margin: 0 0 .35rem; font: 700 .85rem/1.2 "Montserrat", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); }
.page-hero__title { margin: 0; font-weight: 300; font-size: 3rem; line-height: 1.1; text-transform: uppercase; color: #fff; letter-spacing: .01em; }
.page-hero__title--long { font-size: 2.1rem; line-height: 1.15; }
.page-hero__intro { margin: .75rem 0 0; max-width: 44rem; font-size: 1.15rem; line-height: 1.5; color: #eef5f0; }

/* Banner: photo across the page, title over a green fade */
.page-hero--banner { min-height: 320px; display: flex; align-items: flex-end; }
.page-hero--banner .page-hero__inner { width: 100%; }
.page-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero--banner:not(.page-hero--plain)::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(7, 56, 32, .94) 0%, rgba(7, 56, 32, .62) 34%, rgba(7, 56, 32, 0) 72%);
}
.page-hero--plain { min-height: 0; }

/* Split: title on the left, photo on the right */
.page-hero--split { background: var(--sand); color: var(--ink); }
.page-hero--split .page-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: center; padding-top: 3rem; padding-bottom: 3rem; }
.page-hero--split .page-hero__eyebrow { color: var(--green); }
.page-hero--split .page-hero__title { color: var(--heading); }
.page-hero--split .page-hero__intro { color: var(--ink); }
.page-hero__photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }

@media (max-width: 800px) {
	.page-hero--banner { min-height: 220px; }
	.page-hero__title { font-size: 2.1rem; }
	.page-hero__title--long { font-size: 1.6rem; }
.page-hero__intro { font-size: 1rem; }
	.page-hero--split .page-hero__inner { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ---------- Inner page body: one readable column ---------- */
.page { padding: 3rem var(--edge) 4.5rem; }
.prose { max-width: none; font-size: 1.05rem; line-height: 1.7; }
.prose .lead { font-size: 1.2rem; line-height: 1.6; }
.prose h2 { font-size: 1.85rem; margin: 2.75rem 0 1rem; }
.prose h3 { font-size: 1.35rem; font-weight: 400; margin: 1.75rem 0 .4rem; }
.prose figure { margin: 2rem 0; }
.prose figure img { display: block; width: 100%; height: auto; border-radius: 6px; }
.prose figcaption { margin-top: .6rem; font-size: .9rem; color: #5a5a5a; }
.doc-list { list-style: none; padding: 0; }
.doc-list li { display: flex; align-items: center; gap: .75rem; padding: .75rem 0; border-bottom: 1px solid #e1e1e1; }
.doc-type { font: 700 .7rem "Montserrat", sans-serif; letter-spacing: .06em; padding: .2rem .5rem; border-radius: 4px; background: var(--sand); color: var(--ink-strong); }


/* Inner page extras */
.prose img { max-width: 100%; height: auto; }
.prose table { font-size: .95rem; }
.prose iframe { max-width: 100%; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .75rem; margin: 2rem 0; }
.gallery a { display: block; overflow: hidden; border-radius: 6px; }
.gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s ease; }
.gallery a:hover img { transform: scale(1.04); }
.name-columns { columns: 3 14rem; column-gap: 2.5rem; padding-left: 1.1rem; }
.name-columns li { break-inside: avoid; margin-bottom: .3rem; }
.bios { display: grid; gap: 1.5rem; margin: 1.5rem 0 2.5rem; }
.bio { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 1.75rem; align-items: start; padding: 1.75rem; background: var(--sand-light); border-radius: 10px; }
.bio__photo { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; }
.bio__photo--empty { display: block; background: #e5dab7; }
.bio__body h4 { margin: 0 0 .25rem; font-size: 1.4rem; font-weight: 400; }
.bio__body p { margin-bottom: .6rem; }
.bio__body { font-size: .98rem; }
@media (max-width: 640px) {
	.bio { grid-template-columns: 1fr; text-align: left; }
	.bio__photo { width: 110px; height: 110px; }
}

/* ---------- Search page ---------- */
.search-form { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0 0 2rem; }
.search-form input[type="search"] {
	flex: 1 1 260px; min-height: 48px; padding: 0 1rem;
	font: inherit; border: 1px solid #9c9486; border-radius: 6px;
}
.search-form button {
	min-height: 48px; padding: 0 1.5rem; border: 0; border-radius: 6px; cursor: pointer;
	background: var(--green); color: #fff; font: 600 1rem "Montserrat", sans-serif;
}
.search-form button:hover { background: var(--green-dark); }
.search-results { list-style: none; padding: 0; }
.search-results li { padding: 1rem 0; border-bottom: 1px solid #e1e1e1; }
.search-results a { font-size: 1.15rem; font-weight: 600; }
.search-results p { margin: .3rem 0 0; color: #555; }
.search-results mark { background: #fff1b8; color: inherit; padding: 0 .1em; }

/* ---------- Footer: gold ---------- */
.site-footer { background: var(--gold); color: var(--ink-strong); }
.site-footer__inner {
	display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: 2rem;
	padding: 3rem var(--edge) 2rem;
}
.site-footer p { margin: 0; line-height: 1.7; }
.site-footer a { color: var(--ink-strong); }
.site-footer a:hover { color: #000; }
.site-footer__brand { display: flex; align-items: center; gap: 1rem; }
.site-footer__brand img { width: 88px; height: 88px; flex: none; }
.site-footer__brand p { font-family: "Montserrat", sans-serif; font-size: 1.05rem; line-height: 1.35; max-width: 16rem; }
.site-footer__heading { font-family: "Montserrat", sans-serif; font-size: .95rem; font-weight: 700; text-transform: none; color: var(--ink-strong); margin: 0 0 .5rem; letter-spacing: .02em; }
.social-links { list-style: none; margin: 0; padding: 0; display: flex; gap: .6rem; }
.social-links a {
	display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
	border: 2px solid var(--ink-strong); border-radius: 50%; color: var(--ink-strong);
}
.social-links a:hover { background: var(--ink-strong); color: var(--gold-light); }
.site-footer__legal { border-top: 1px solid rgba(23, 33, 27, .25); }
.site-footer__legal p { padding: 1rem var(--edge) 1.5rem; font-size: .85rem; }
@media (max-width: 900px) { .site-footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__inner { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; }
}

/* Shaded full-width section bands and banner parallax (inner pages) */
.page.has-bands { padding: 0; }
.band { padding: 3rem var(--edge); background: #fff; transition: opacity .7s ease, transform .7s ease; }
.band:last-child { padding-bottom: 4.5rem; }
.band--sand { background: var(--sand-light); }
.band--green { background: #edf3ee; }
.band--sand, .band--green { box-shadow: inset 0 1px 0 rgba(0,0,0,.05), inset 0 -1px 0 rgba(0,0,0,.05); }
.band > :first-child { margin-top: 0; }
.band--sand .bio, .band--green .bio { background: #fff; }
.band--sand .doc-type, .band--green .doc-type { background: #fff; }
.band.is-pending { opacity: 0; transform: translateY(28px); }
.page-hero__img.is-parallax { top: -120px; bottom: auto; height: calc(100% + 120px); will-change: transform; }
.page-hero--top .page-hero__img.is-parallax { top: 0; }