/* ==========================================================================
   Talbot Group
   Built from homepage mockup v3. Flat panels separated by 2px gaps, Archivo
   for headings, Karla for reading. Colour pairs below are checked for
   WCAG 2.1 AA: white text never sits on the brand green or the light blue,
   so those surfaces use dark text or the deeper blue.
   ========================================================================== */

/* ---------- fonts (self-hosted, variable) ---------- */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Karla'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url('../fonts/karla-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Karla'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url('../fonts/karla-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- tokens ---------- */
:root {
  --plum: #4E2F55;
  --plum-2: #5d3a66;
  --green: #80A736;        /* brand green: dark text only */
  --green-2: #8fb840;
  --green-text: #4f6a1d;   /* green for text on light backgrounds */
  --blue: #578FA8;         /* mockup blue (white text on it is 3.56:1) */
  --blue-2: #4E7E96;       /* mockup hover */
  --services-bg: var(--blue);
  --services-card: #4E7E96;
  --services-card-hover: #457089;
  --ink: #14181C;
  --ink-2: #1d2328;
  --charcoal: #22282E;
  --slate: #4b555d;
  --muted: #5b6670;
  --beige: #EDE7DC;
  --mist: #F2F4EE;
  --mist-2: #e9ede2;
  --sky-tint: #EDF2F5;
  --lilac-tint: #F3EFF4;
  --lime: #c3dc84;
  --sky: #8ecbe8;
  --lilac: #d8b9e0;
  --line: rgba(20, 24, 28, .12);

  --f-head: 'Archivo', 'Arial Narrow', Arial, sans-serif;
  --f-body: 'Karla', 'Segoe UI', Roboto, Arial, sans-serif;

  --gutter: 40px;
  --max: 1340px;
  --gap: 2px;
  --section: 96px;
  --header-h: 94px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: #fff; color: var(--ink);
  font-family: var(--f-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--plum); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--green-text); }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .5em; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; }
address { font-style: normal; }
main:focus { outline: none; }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #fff;
}

.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute !important; white-space: nowrap; word-wrap: normal !important;
}
.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 18px; font-weight: 700;
}
.skip-link:focus { top: 12px; color: #fff; }

.wrap { max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); } /* 1340px content, as the mockup */
.wrap .wrap { padding: 0; }
.section { padding: var(--section) 0; }

/* ---------- type helpers ---------- */
.display {
  font-weight: 800; font-size: clamp(32px, 3.8vw, 54px);
  line-height: 1; letter-spacing: -.03em; margin: 0;
}
.display--sm { font-size: clamp(28px, 3.2vw, 44px); margin-bottom: 28px; }
.eyebrow {
  font-family: var(--f-head); font-weight: 700; font-size: 12.5px;
  letter-spacing: .22em; text-transform: uppercase; color: var(--green-text);
  margin: 0 0 18px;
}
.lead { font-size: 19px; line-height: 1.65; font-weight: 500; color: var(--ink); }
.h3 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.025em; }
.h4 { font-size: 21px; font-weight: 700; }
.text-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 26px;
  font-family: var(--f-head); font-weight: 700; font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--plum); text-decoration: none;
}
.text-link:hover { text-decoration: underline; }
.text-link::after { content: '\2192'; content: '\2192' / ''; } /* decorative arrow, as the mockup; hidden from screen readers */

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px 40px; flex-wrap: wrap; margin-bottom: 48px;
}
.section-head > div { max-width: 760px; }
.section-head__text { margin: 0; font-size: 17.5px; line-height: 1.6; max-width: 460px; color: var(--slate); }
.section-head .display + .section-head__text { margin-top: 14px; }
.section-head--narrow { margin-bottom: 48px; }
.section-head .text-link { margin-top: 0; }

.empty { color: var(--slate); }
.notice-inline { padding: 14px 18px; background: #fff7e0; border-left: 4px solid #c99a00; color: var(--ink); }

/* ---------- buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: var(--gap); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 17px 30px; border: 0; cursor: pointer;
  font-family: var(--f-head); font-weight: 700; font-size: 12.5px; line-height: 1.2;
  letter-spacing: .12em; text-transform: uppercase; text-decoration: none; text-align: center;
  transition: background-color .18s ease, color .18s ease;
}
.btn--plain { text-transform: none; letter-spacing: .04em; font-size: 15px; }
.btn--block { width: 100%; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--plum); color: #fff; }
.btn--plum { background: var(--plum); color: #fff; }
.btn--plum:hover { background: var(--plum-2); color: #fff; }
.btn--green { background: var(--green); color: var(--ink); }
.btn--green:hover { background: var(--green-2); color: var(--ink); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-2); color: #fff; }
.btn--shade { background: rgba(0, 0, 0, .22); color: #fff; }
.btn--shade:hover { background: rgba(0, 0, 0, .34); color: #fff; }
.btn--outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(20, 24, 28, .45); }
.btn--outline:hover { background: rgba(20, 24, 28, .07); color: var(--ink); }
.btn--outline-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .12); color: #fff; }

.arrow { flex: none; width: 18px; height: 18px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--plum); color: #fff;
  border-bottom: 1px solid rgba(128, 167, 54, .35);
  transition: background-color .3s ease, color .3s ease, box-shadow .3s ease;
}
.admin-bar .site-header { top: 32px; }
.site-header__inner {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: stretch; position: relative;
}
.brand { display: flex; align-items: center; padding: 14px 28px; flex: none; }
.brand .logo { height: 66px; width: auto; transition: height .3s ease; }
.brand .logo--colour { display: none; }

.site-header.is-scrolled { background: #fff; color: var(--ink); box-shadow: 0 6px 24px rgba(20, 24, 28, .12); }
.site-header.is-scrolled .logo--white { display: none; }
.site-header.is-scrolled .logo--colour { display: block; }
.site-header.is-scrolled .brand .logo { height: 58px; }

.primary-nav { display: flex; align-items: center; min-width: 0; padding: 8px 0 8px 8px; }
.primary-nav .menu { list-style: none; display: flex; flex-wrap: wrap; align-items: stretch; }
.primary-nav .menu > li { position: relative; display: flex; }
.primary-nav .menu > li > a {
  display: flex; align-items: center; gap: 8px; padding: 12px 16px; white-space: nowrap;
  color: inherit; text-decoration: none;
  font-family: var(--f-head); font-weight: 600; font-size: 12.5px; letter-spacing: .07em; text-transform: uppercase;
}
.primary-nav .menu > li > a:hover,
.primary-nav .menu > li:focus-within > a { background: rgba(128, 167, 54, .2); }
.primary-nav .menu > li.current-menu-item > a,
.primary-nav .menu > li.current-menu-ancestor > a,
.primary-nav .menu > li.current-page-ancestor > a { box-shadow: inset 0 -3px 0 var(--green); }
.primary-nav .menu-item-has-children > a::after {
  content: ''; width: 7px; height: 7px; margin-top: -3px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
}
.primary-nav .sub-menu {
  list-style: none; position: absolute; top: 100%; left: 0; min-width: 300px; z-index: 60;
  background: var(--plum); padding: 8px 0; box-shadow: 0 22px 44px rgba(20, 24, 28, .3);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.primary-nav .menu > li:hover > .sub-menu,
.primary-nav .menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav .sub-menu a { display: block; padding: 12px 18px; color: #fff; font-size: 15px; font-weight: 500; text-decoration: none; }
.primary-nav .sub-menu a:hover, .primary-nav .sub-menu a:focus-visible { background: var(--green); color: var(--ink); }
.primary-nav .sub-menu .current-menu-item > a { box-shadow: inset 4px 0 0 var(--lime); }

.header-actions { display: flex; align-items: stretch; }
.header-btn {
  display: flex; align-items: center; justify-content: center; min-width: 188px; padding: 0 22px;
  font-family: var(--f-head); font-weight: 700; font-size: 12.5px; letter-spacing: .07em; text-transform: uppercase;
  text-decoration: none; text-align: center;
}
.header-btn--blue { background: var(--blue); color: #fff; }
.header-btn--blue:hover { background: var(--blue-2); color: #fff; }
.header-btn--green { background: var(--green); color: var(--ink); }
.header-btn--green:hover { background: var(--green-2); color: var(--ink); }

/* mobile menu: native <details>, so it opens and closes without JS */
.mnav { display: none; align-self: center; margin-right: 16px; }
.mnav > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; min-height: 44px; border-radius: 999px; border: 1.5px solid currentColor;
  font-weight: 600; font-size: 15px; -webkit-tap-highlight-color: transparent;
}
.mnav > summary::-webkit-details-marker { display: none; }
.mnav > summary::marker { content: ''; }
.mnav__icon { display: block; width: 18px; height: 2px; background: currentColor; box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor; }
.mnav[open] > summary { background: var(--green); border-color: var(--green); color: var(--ink); }
.mnav[open] .mnav__icon { background: transparent; box-shadow: none; position: relative; }
.mnav[open] .mnav__icon::before, .mnav[open] .mnav__icon::after {
  content: ''; position: absolute; left: 0; top: 0; width: 18px; height: 2px; background: currentColor;
}
.mnav[open] .mnav__icon::before { transform: rotate(45deg); }
.mnav[open] .mnav__icon::after { transform: rotate(-45deg); }
.mnav__panel {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 60;
  background: var(--plum); color: #fff; border-top: 3px solid var(--green);
  box-shadow: 0 24px 44px rgba(38, 48, 58, .22);
  padding: 12px 20px 22px; max-height: calc(100vh - 90px); max-height: calc(100dvh - 90px); overflow: auto;
}
.mnav__menu, .mnav__menu .sub-menu { list-style: none; }
.mnav__menu a {
  display: block; padding: 12px 4px; color: #fff; text-decoration: none; font-size: 17px; font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}
.mnav__menu .sub-menu a { padding-left: 18px; font-size: 16px; font-weight: 400; }
.mnav__menu .current-menu-item > a { color: var(--lime); }
.mnav__ctas { display: grid; gap: 8px; margin-top: 18px; }
.mnav__ctas .btn { border-radius: 999px; }

/* ==========================================================================
   Homepage hero
   ========================================================================== */
.hero { background: var(--ink); position: relative; }
.hero__slides { position: relative; }
.hero__slide {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap);
  min-height: 628px;
}
.hero.is-ready .hero__slide:not(.is-active) { display: none; }
.hero.has-moved .hero__slide.is-active { animation: tg-fade .5s ease; }
@keyframes tg-fade { from { opacity: .35; } to { opacity: 1; } }
.hero__slide + .hero__slide { margin-top: var(--gap); }
.hero.is-ready .hero__slide + .hero__slide { margin-top: 0; }

.hero__copy {
  grid-column: span 7; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  padding: 52px 56px 48px;
  background-color: var(--beige);
  background-image:
    radial-gradient(circle at 88% 8%, rgba(128, 167, 54, .13), rgba(128, 167, 54, 0) 46%),
    radial-gradient(circle at 4% 96%, rgba(87, 143, 168, .12), rgba(87, 143, 168, 0) 42%);
}
.hero__copy > * { position: relative; z-index: 1; max-width: 640px; }
.hero__copy > .hero__title { max-width: 760px; }
.hero__leaf {
  position: absolute; z-index: 0 !important; right: -124px; bottom: -146px; width: 440px;
  transform: rotate(-16deg); opacity: .16; pointer-events: none; user-select: none;
}
.hero__eyebrow {
  display: flex; align-items: center; gap: 14px; margin: 0 0 22px;
  font-family: var(--f-head); font-weight: 700; font-size: 12.5px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--green-text);
}
.hero__eyebrow::before { content: ''; width: 46px; height: 3px; background: var(--green); flex: none; }
.hero__title {
  font-weight: 800; font-size: clamp(36px, 4.6vw, 64px); line-height: .98;
  letter-spacing: -.035em; margin: 0 0 20px;
}
.hero__text { font-size: 17.5px; line-height: 1.55; color: #4a5259; margin: 0 0 30px; max-width: 560px; }
.hero__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; }
.hero__tags li {
  font-family: var(--f-head); font-weight: 700; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--plum); background: rgba(78, 47, 85, .09); padding: 8px 14px;
}
.hero__copy .btn-row { margin-bottom: 28px; }
.hero__note { display: flex; gap: 10px; margin: 0; font-size: 14.5px; color: #565f66; }
.hero__note::before { content: ''; flex: none; width: 7px; height: 7px; margin-top: 7px; border-radius: 50%; background: var(--green); }
.hero__media { grid-column: span 5; position: relative; min-height: 320px; background: var(--charcoal); }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.hero__controls {
  position: absolute; z-index: 5; right: 20px; bottom: 20px;
  display: flex; align-items: center; gap: 4px; padding: 4px;
  background: rgba(20, 24, 28, .72); backdrop-filter: blur(6px);
}
.hero__btn, .hero__pause {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px;
  border: 0; background: transparent; color: #fff; cursor: pointer;
}
.hero__btn:hover, .hero__pause:hover { background: rgba(255, 255, 255, .16); }
.hero__pause { padding: 0 16px; margin-left: 8px; font-family: var(--f-head); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.hero__dot { width: 32px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 0; position: relative; }
.hero__dot::before { content: ''; position: absolute; left: 4px; right: 4px; top: 20px; height: 4px; background: rgba(255, 255, 255, .4); }
.hero__dot[aria-current="true"]::before { background: #fff; }

.hero__tiles {
  list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap); margin-top: var(--gap);
}
.tile {
  display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
  min-height: 185px; height: 100%; padding: 26px; text-decoration: none;
  transition: background-color .18s ease;
}
.tile__label { font-family: var(--f-head); font-weight: 700; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; }
.tile__text {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--f-head); font-weight: 700; font-size: clamp(22px, 2.1vw, 32px); line-height: 1.08; letter-spacing: -.02em;
}
.tile--blue { background: var(--blue); color: #fff; }
.tile--blue:hover { background: var(--blue-2); color: #fff; }
.tile--green { background: var(--green); color: var(--ink); }
.tile--green:hover { background: var(--green-2); color: var(--ink); }
.tile--ink { background: var(--charcoal); color: #fff; }
.tile--ink:hover { background: #2c333a; color: #fff; }
.tile--plum { background: var(--plum); color: #fff; }
.tile--plum:hover { background: var(--plum-2); color: #fff; }
.tile:hover .arrow { transform: translateX(3px); }
.tile .arrow { transition: transform .18s ease; }

/* ==========================================================================
   Homepage sections
   ========================================================================== */
/* welcome */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 32px 64px; align-items: start; margin-bottom: 64px; }
.split__body { color: var(--slate); }
.split__body p { font-size: 17px; line-height: 1.7; }
.pillars { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: var(--gap); }
.pillar { padding: 36px 32px; background: var(--mist); }
.pillar:nth-child(2) { background: var(--sky-tint); }
.pillar:nth-child(3) { background: var(--lilac-tint); }
.pillar__icon, .why__icon { width: 62px; height: 62px; object-fit: contain; margin-bottom: 22px; }
.pillar__title { font-size: 21px; font-weight: 700; margin-bottom: 8px; }
.pillar p { margin: 0; color: var(--slate); font-size: 16.5px; }

/* services rail */
.services { background: var(--services-bg); color: #fff; padding-bottom: 104px; }
.services .eyebrow { color: #eaf5c9; }
.services__head.wrap { max-width: var(--max); } /* mockup: this row is 1340px including its padding */
.services__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-bottom: 44px; }
.services__head .display { max-width: 660px; }
.rail-controls { display: flex; gap: 10px; }
.rail-btn {
  width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, .55); background: transparent; color: #fff; cursor: pointer;
}
.rail-btn:hover { background: rgba(255, 255, 255, .14); }
.rail-btn[disabled] { opacity: .4; cursor: default; }
.rail {
  list-style: none; display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 0 20px;
  scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .5) transparent;
}
.rail:focus-visible { outline-offset: -3px; }
.svc { flex: none; width: min(420px, 82vw); scroll-snap-align: start; }
/* Desktop: every card fits across the full width, no scrolling. */
@media (min-width: 1100px) {
  .rail--fit { display: grid; grid-template-columns: repeat(var(--cards, 5), minmax(0, 1fr)); overflow: visible; padding-bottom: 0; }
  .rail--fit .svc { width: auto; }
  .rail--fit .svc__media { height: auto; aspect-ratio: 840 / 560; }
  .rail--fit .svc__body { padding: 26px 22px 30px; }
  .rail--fit .svc__title { font-size: clamp(20px, 1.5vw, 26px); }
  .rail--fit .svc__text { font-size: 15.5px; }
  .services .rail-controls { display: none; }
}
.svc__link { display: flex; flex-direction: column; height: 100%; background: var(--services-card); color: #fff; text-decoration: none; transition: background-color .18s ease; }
.svc__link:hover { background: var(--services-card-hover); color: #fff; }
.svc--featured .svc__link { background: var(--plum); }
.svc--featured .svc__link:hover { background: var(--plum-2); }
.svc__media { display: block; height: 260px; background: rgba(0, 0, 0, .2); overflow: hidden; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.svc__link:hover .svc__media img { transform: scale(1.03); }
.svc__body { display: flex; flex-direction: column; gap: 12px; padding: 30px 28px 34px; flex: 1; }
.svc__badge { font-family: var(--f-head); font-weight: 700; font-size: 13px; letter-spacing: .16em; color: var(--lime); }
.svc__title { font-size: 26px; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; margin: 0; color: #fff; }
.svc__text { font-size: 16.5px; line-height: 1.6; color: #fff; }

/* careers band */
.careers-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr)); }
.careers-band__pitch { background: var(--green); color: #fff; }
.careers-band__pitch .careers-band__inner { width: 100%; max-width: 760px; margin-left: auto; padding: 96px 48px 96px 40px; }
.careers-band__pitch .eyebrow { color: rgba(255, 255, 255, .82); }
.careers-band__pitch .display { font-size: clamp(34px, 4.2vw, 58px); line-height: .98; margin-bottom: 24px; color: #fff; }
.careers-band__text { font-size: 17.5px; line-height: 1.7; max-width: 560px; margin-bottom: 32px; color: rgba(255, 255, 255, .92); }
.careers-band__jobs { background: #fff; }
.careers-band__jobs .careers-band__inner { max-width: 708px; padding: 96px 40px 96px 48px; } /* 620px content, as the mockup */
.benefits { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); margin-bottom: 32px; }
.benefits li { background: rgba(0, 0, 0, .16); padding: 24px; }
.benefits h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.benefits p { margin: 0; font-size: 15.5px; line-height: 1.55; color: rgba(255, 255, 255, .86); }
.careers-band .btn { padding: 18px 30px; font-size: 13px; }
.careers-band .btn--shade { background: rgba(0, 0, 0, .2); }
.careers-band .btn--shade:hover { background: rgba(0, 0, 0, .32); }
.benefits--light li { background: var(--mist); }
.benefits--light li:nth-child(4n+2) { background: var(--sky-tint); }
.benefits--light li:nth-child(4n+3) { background: var(--lilac-tint); }
.benefits--light h3 { color: var(--ink); }
.benefits--light p { color: var(--slate); }
.careers-band__pitch .btn--ink { box-shadow: none; }
.careers-band__pitch .btn--ink:hover { background: var(--plum); }

.jobs__heading { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin: 0; }
.jobs__top { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.jobs__top .jobs__count { margin: 0; }
.jobs__filter { display: flex; flex-wrap: wrap; gap: var(--gap); margin: 0 0 24px; }
.chip {
  border: 0; cursor: pointer; padding: 11px 16px; min-height: 44px; background: var(--mist); color: var(--slate);
  font-family: var(--f-head); font-weight: 700; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase;
}
.chip:hover { background: var(--mist-2); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.jobs__count { color: var(--muted); font-size: 14.5px; margin: 10px 0 4px; }
.jobs__list { list-style: none; }
.jobs__list li[hidden] { display: none; }
.job {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 20px;
  padding: 20px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none;
}
.job:hover { color: var(--green-text); }
.job__title { font-family: var(--f-head); font-weight: 700; font-size: 18px; letter-spacing: -.01em; line-height: 1.3; }
.job__pay { font-weight: 600; }
.job__meta { grid-column: 1; color: var(--muted); font-size: 15px; margin-top: 4px; }
.job__arrow { grid-column: 2; grid-row: 1 / span 2; color: var(--green); font-weight: 700; }
.jobs__list--full { margin-top: 8px; }
.jobs__heading--solo { margin-bottom: 22px; }
.occupop__frame { display: block; width: 100%; border: 1px solid var(--line); background: #fff; }
.occupop__note { margin: 12px 0 0; font-size: 14.5px; color: var(--muted); }

/* stats */
.stats { background: var(--plum); color: #fff; padding: 104px 0 108px; }
.stats .eyebrow { color: var(--lime); }
.stats .display { max-width: 720px; }
.stats .section-head__text { color: rgba(255, 255, 255, .82); max-width: 420px; }
.stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 40px; margin: 0; }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; border-top: 3px solid var(--lime); padding-top: 26px; }
.stat:nth-child(even) { border-top-color: var(--sky); }
.stat__num { margin: 0; font-family: var(--f-head); font-weight: 800; font-size: clamp(46px, 5.4vw, 74px); letter-spacing: -.04em; line-height: .95; color: var(--lime); }
.stat:nth-child(even) .stat__num { color: var(--sky); }
.stat__label { margin-top: 14px; font-size: 16.5px; line-height: 1.5; color: rgba(255, 255, 255, .88); }

/* where we operate: county map */
.countymap { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: center; }
.countymap__map { margin: 0; display: flex; justify-content: center; }
.countymap__map svg { width: 100%; max-width: 520px; height: auto; }
.countymap__ni { fill: #eceee9; stroke: #fff; stroke-width: 1; }
.countymap__county { fill: #dfe5dc; stroke: #fff; stroke-width: 1; }
.countymap__county.is-active { fill: var(--green); }
.countymap__label { font-family: var(--f-head); font-weight: 700; font-size: 11px; fill: var(--ink); text-anchor: middle; paint-order: stroke; stroke: rgba(255, 255, 255, .55); stroke-width: 2px; }
.countymap__list { background: var(--mist); padding: 32px 30px; }
.countymap__head { margin: 0 0 16px; font-family: var(--f-head); font-weight: 700; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--plum); }
.countymap__list ul { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.countymap__list li { display: flex; align-items: center; gap: 10px; font-family: var(--f-head); font-weight: 700; font-size: 16px; white-space: nowrap; }
.countymap__list li::before { content: ''; flex: none; width: 12px; height: 12px; background: var(--green); }
.countymap__note { margin: 20px 0 0; color: var(--slate); font-size: 15.5px; }

/* accreditation feature */
.feature { background: var(--mist); }
.feature__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: var(--gap); }
.feature__copy { background: #fff; padding: 56px 48px; }
.feature__copy .display { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.02; margin-bottom: 22px; }
.feature__copy p { color: var(--slate); font-size: 16.5px; line-height: 1.7; }
.feature__copy .lead { color: var(--ink); font-size: 18px; }
.feature__badge { margin: 8px 0 26px; max-width: 420px; }
.feature__media { position: relative; min-height: 520px; }
.feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* why choose */
.why__grid { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--gap); }
.why__item { grid-column: span 2; padding: 36px 32px; background: var(--mist); }
.why__item:nth-child(5n+2) { background: var(--sky-tint); }
.why__item:nth-child(5n+3) { background: var(--lilac-tint); }
.why__grid--5 .why__item:nth-child(n+4), .why__grid--4 .why__item { grid-column: span 3; padding: 40px 34px; }
.why__grid--5 .why__item:nth-child(4) { background: var(--ink); color: #fff; }
.why__grid--5 .why__item:nth-child(5) { background: var(--blue); color: #fff; }
.why__grid--5 .why__item:nth-child(n+4) .why__icon { filter: brightness(0) invert(1); opacity: .92; }
.why__grid--5 .why__item:nth-child(n+4) p { color: #fff; }
.why__item h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.why__item p { margin: 0; color: var(--slate); font-size: 16.5px; }

/* referral */
.referral { background: var(--ink); color: #fff; }
.referral .eyebrow { color: var(--lime); }
.referral .section-head__text { color: rgba(255, 255, 255, .8); }
.referral a { color: var(--lime); }
.referral a:hover { color: #fff; }
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: var(--gap); margin-bottom: 32px; }
.step { counter-increment: step; background: var(--ink-2); padding: 36px 30px; }
.step::before {
  content: counter(step); display: block; margin-bottom: 20px;
  font-family: var(--f-head); font-weight: 800; font-size: 52px; letter-spacing: -.04em; line-height: 1; color: var(--green);
}
.step:nth-child(3n+2)::before { color: var(--sky); }
.step:nth-child(3n+3)::before { color: var(--lilac); }
.step__title { font-size: 21px; font-weight: 700; margin-bottom: 8px; }
.step--box p { margin: 0; color: rgba(255, 255, 255, .86); font-size: 17px; line-height: 1.65; }
.step--box p + p { margin-top: 10px; }
.step p, .ref-panel p { margin: 0; color: rgba(255, 255, 255, .8); font-size: 16.5px; }
.ref-panel p + p { margin-top: 6px; }
.ref-panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: var(--gap); margin-bottom: 32px; }
.ref-panel { background: var(--ink-2); padding: 32px 30px; }
.ref-panel__head { font-family: var(--f-head); font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.ref-panel--lime .ref-panel__head { color: var(--lime); }
.ref-panel--sky .ref-panel__head { color: var(--sky); }
.ref-panel--lilac .ref-panel__head { color: var(--lilac); }
.referral .btn--green { color: var(--ink); }
.referral .btn--outline-light { color: #fff; }

/* news + cards */
.post-grid, .children__grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: var(--gap); }
.card__link { display: flex; flex-direction: column; height: 100%; background: var(--mist); color: var(--ink); text-decoration: none; transition: background-color .18s ease; }
.card__link:hover { background: var(--mist-2); color: var(--ink); }
.card__media { display: block; aspect-ratio: 840 / 520; background: var(--mist-2); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { display: flex; flex-direction: column; gap: 10px; padding: 28px 26px 32px; }
.card__kicker { font-family: var(--f-head); font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--green-text); }
.card__title { margin: 0; font-size: 22px; font-weight: 700; line-height: 1.18; letter-spacing: -.02em; }
.card__link:hover .card__title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .15em; }
.card__meta, .card__text { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.card--plain .card__body { padding-top: 32px; }

/* social mosaic */
.social { background: var(--mist); padding-top: 88px; padding-bottom: 88px; }
.net-links { list-style: none; display: flex; flex-wrap: wrap; gap: var(--gap); }
.net-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 12px 22px; color: #fff; text-decoration: none;
  font-family: var(--f-head); font-weight: 700; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase;
}
.net-link--instagram { background: var(--ink); }
.net-link--facebook { background: var(--plum); }
.net-link--linkedin { background: var(--blue); }
.net-link:hover { color: #fff; filter: brightness(1.15); }
.social__text { margin: 14px 0 0; max-width: 560px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.social--links { padding-top: 72px; padding-bottom: 72px; }
.social--links .section-head { margin-bottom: 0; align-items: center; }
.mosaic { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 200px; gap: var(--gap); }
.mosaic__tile:first-child { grid-column: span 2; grid-row: span 2; }
.mosaic__in { display: flex; flex-direction: column; justify-content: space-between; height: 100%; padding: 26px; color: inherit; text-decoration: none; position: relative; overflow: hidden; }
.mosaic__tile--img .mosaic__in { padding: 0; }
.mosaic__tile--img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
a.mosaic__in:hover img { transform: scale(1.03); }
.mosaic__tile--green { background: var(--green); color: var(--ink); }
.mosaic__tile--plum { background: var(--plum); color: #fff; }
.mosaic__tile--blue { background: var(--blue); color: #fff; }
.mosaic__tile--ink { background: var(--charcoal); color: #fff; }
.mosaic__label { font-family: var(--f-head); font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.mosaic__caption { font-family: var(--f-head); font-weight: 700; font-size: 19px; line-height: 1.2; letter-spacing: -.01em; }

/* help */
.help { background: var(--blue); color: #fff; padding-top: 88px; padding-bottom: 88px; }
.help__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 48px; align-items: center; }
.help .display { margin-bottom: 20px; }
.help__text { font-size: 18px; line-height: 1.65; max-width: 560px; margin: 0 0 28px; color: rgba(255, 255, 255, .9); }
.help .btn--plain { padding: 18px 28px; font-size: 14px; letter-spacing: .08em; }
.help .btn--ink:hover { background: var(--plum); }
.help .btn--shade { background: rgba(0, 0, 0, .2); }
.help .btn--shade:hover { background: rgba(0, 0, 0, .32); }
.routes { list-style: none; display: grid; gap: var(--gap); }
.route {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 26px;
  background: rgba(255, 255, 255, .14); color: #fff; text-decoration: none; transition: background-color .18s ease;
}
.route:hover { background: rgba(255, 255, 255, .24); color: #fff; }
.route__arrow { flex: none; font-size: 20px; }
.route__title { display: block; font-family: var(--f-head); font-weight: 700; font-size: 20px; }
.route__text { display: block; font-size: 15.5px; margin-top: 4px; color: rgba(255, 255, 255, .82); }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.banner {
  position: relative; overflow: hidden; padding: 72px 0 80px;
  background-color: var(--beige);
  background-image:
    radial-gradient(circle at 88% 8%, rgba(128, 167, 54, .13), rgba(128, 167, 54, 0) 46%),
    radial-gradient(circle at 4% 96%, rgba(87, 143, 168, .12), rgba(87, 143, 168, 0) 42%);
}
.banner .wrap { position: relative; z-index: 1; }
.banner__leaf { position: absolute; right: -124px; bottom: -146px; width: 420px; transform: rotate(-16deg); opacity: .16; pointer-events: none; }
.banner__title { font-weight: 800; font-size: clamp(32px, 4.4vw, 58px); line-height: 1; letter-spacing: -.035em; margin: 0 0 18px; max-width: 900px; }
.banner__intro { margin: 0; font-size: 18.5px; line-height: 1.55; color: var(--slate); max-width: 660px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; margin-bottom: 20px; }
.crumbs li { font-family: var(--f-head); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--green-text); }
.crumbs li + li::before { content: '/'; margin: 0 10px; color: var(--muted); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: var(--slate); }

.page-body { padding: 72px 0 88px; }
.page-body--tight { padding-bottom: 0; }
.single-col { max-width: 820px; }
.with-nav { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: start; }
/* Photo beside the page text (service pages use their Card image). */
.with-nav.has-media { grid-template-columns: 240px minmax(0, 1fr) 440px; gap: 48px; }
.page-grid.has-media { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 56px; align-items: start; }
.page-media { margin: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.page-media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

/* Long documents (Privacy Notice): contents box, tables and contact cards. */
.prose .toc-title { margin: 0; padding: 26px 30px 6px; background: var(--mist); border-left: 4px solid var(--green); color: var(--ink); font-family: var(--f-head); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.prose .toc { list-style: none; margin: 0 0 48px; padding: 6px 30px 24px; background: var(--mist); border-left: 4px solid var(--green); }
.prose .toc li { margin: 0; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.prose .toc li:last-child { border-bottom: 0; }
.prose .toc li::marker { content: none; }
.prose .toc a { color: var(--plum); text-decoration: none; }
.prose .toc a:hover { text-decoration: underline; }
.prose .wp-block-table { margin: 24px 0 32px; overflow-x: auto; }
.prose .wp-block-table table { min-width: 560px; font-size: 15.5px; line-height: 1.55; }
.prose .wp-block-table th { background: var(--plum); color: #fff; font-family: var(--f-head); font-weight: 700; font-size: 14px; }
.prose .wp-block-table td, .prose .wp-block-table th { vertical-align: top; padding: 14px 16px; border: 1px solid var(--line); }
.prose .wp-block-table th:first-child:nth-last-child(2), .prose .wp-block-table td:first-child:nth-last-child(2) { width: 50%; } /* two-column tables split evenly */
.prose .wp-block-table tbody tr:nth-child(even) td { background: var(--mist); }
.prose .contact-cards { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: var(--gap); padding: 0; margin: 24px 0 0; }
.prose .contact-cards li { margin: 0; padding: 24px 26px; background: var(--mist); font-size: 16px; line-height: 1.7; }
.prose .contact-cards li:nth-child(2) { background: var(--sky-tint); }
.prose .contact-cards li::marker { content: none; }
.prose .contact-cards strong { display: block; margin-bottom: 4px; font-family: var(--f-head); font-size: 18px; color: var(--ink); }

/* Boxes for short items in page content: values, reasons to join, leadership team. */
.prose .box-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: var(--gap); padding: 0; margin: 28px 0 40px; max-width: none; }
.prose .box-grid li { margin: 0; padding: 22px 24px; background: var(--mist); font-size: 16px; line-height: 1.55; color: var(--slate); }
.prose .box-grid li:nth-child(4n+2) { background: var(--sky-tint); }
.prose .box-grid li:nth-child(4n+3) { background: var(--lilac-tint); }
.prose .box-grid li::marker { content: none; }
.prose .box-grid br { display: none; } /* name and title already sit on separate lines */
.prose .box-grid:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } /* four items: two by two */
@media (max-width: 600px) { .prose .box-grid:has(> li:nth-child(4):last-child) { grid-template-columns: minmax(0, 1fr); } }
.prose .box-grid strong { display: block; margin-bottom: 4px; font-family: var(--f-head); font-size: 18px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.prose .signature { margin-top: 32px; padding-top: 20px; border-top: 3px solid var(--green); display: inline-block; color: var(--slate); }
.prose .signature strong { font-family: var(--f-head); font-size: 19px; color: var(--ink); }

/* Laid-out pages (Locations): text stays at reading width, layout blocks go full width. */
.prose.flow { max-width: none; }
.flow > * { max-width: 72ch; }
.flow > .wp-block-columns, .flow > .wp-block-gallery, .flow > .wp-block-pullquote, .flow > .statement, .flow > .alignwide, .flow > .box-grid { max-width: none; }
.flow > .box-grid { margin: 0 0 72px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .flow > .box-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .flow > .box-grid { grid-template-columns: minmax(0, 1fr); } }
.flow > .box-grid li { padding: 28px 28px 30px; }
.flow .wp-block-image.focus-top img { object-position: center 18%; }
/* Portrait photos in columns (e.g. the CEO): stay portrait, not cropped to landscape. */
.flow .wp-block-column .wp-block-image.portrait img { aspect-ratio: 4 / 5; object-position: center top; max-width: 420px; }

.flow .wp-block-columns { gap: 56px; margin: 0 0 72px; align-items: center; }
.flow .wp-block-column > :first-child { margin-top: 0; }
.flow .wp-block-column > :last-child { margin-bottom: 0; }
.flow .wp-block-column .wp-block-image { margin: 0; }
.flow .wp-block-column .wp-block-image img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.flow .wp-block-pullquote { margin: 0 0 72px; padding: 0; border: 0; text-align: left; }
.flow .wp-block-pullquote blockquote { margin: 0; padding: 6px 0 6px 32px; border-left: 6px solid var(--green); }
.flow .wp-block-pullquote p { margin: 0; font-family: var(--f-head); font-weight: 800; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.08; letter-spacing: -.03em; color: var(--ink); }
.flow .statement { margin: 0 0 72px; padding: 56px 48px; background: var(--plum); color: #fff; font-family: var(--f-head); font-weight: 800; font-size: clamp(24px, 2.6vw, 38px); line-height: 1.15; letter-spacing: -.02em; }
.flow .statement strong { font-weight: inherit; }
.flow .wp-block-gallery { --wp--style--unstable-gallery-gap: 2px; gap: 2px; margin: 0; }
.flow .wp-block-gallery .wp-block-image img { aspect-ratio: 4 / 3; object-fit: cover; }
.map-band { background: var(--mist); }
/* Section with its heading and tagline on the left, body on the right (Quality pages). */
.with-nav--flow { grid-template-columns: 240px minmax(0, 1fr); gap: 56px; }
.flow .wp-block-columns.split { align-items: flex-start; gap: 48px; margin: 0 0 64px; padding-top: 28px; border-top: 3px solid var(--green); }
.flow .split h2 { margin: 0 0 12px; font-size: clamp(24px, 2.2vw, 32px); }
.flow .split .lead { margin: 0; }
.flow .wp-block-column .wp-block-image.badge { margin: 28px 0 0; }
.flow .wp-block-column .wp-block-image.badge img { aspect-ratio: auto; object-fit: contain; width: auto; max-width: min(360px, 100%); }

/* Two statement panels side by side (About Us: Our Vision and Our Mission). */
.flow .wp-block-columns.statements { gap: var(--gap); align-items: stretch; }
.flow .statements > .wp-block-column { margin: 0; padding: 44px 40px; background: var(--plum); color: #fff; }
.flow .statements > .wp-block-column + .wp-block-column { background: var(--charcoal); }
.flow .statements h2 { margin: 0 0 14px; color: #fff; font-size: clamp(22px, 2vw, 28px); }
.flow .statements p { margin: 0; color: #fff; font-family: var(--f-head); font-weight: 700; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.3; letter-spacing: -.01em; }

/* Get in touch panel */
.cta-band { background: var(--blue); color: #fff; padding: 72px 0; }
.cta-band__grid { display: flex; align-items: center; justify-content: space-between; gap: 32px 56px; flex-wrap: wrap; }
.cta-band .display { color: #fff; margin-bottom: 14px; }
.cta-band__text { font-size: 18px; line-height: 1.6; max-width: 620px; margin: 0 0 16px; color: rgba(255, 255, 255, .92); }
.cta-band__contact { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; font-family: var(--f-head); font-weight: 700; font-size: 18px; }
.cta-band__contact a { color: #fff; text-decoration-thickness: 2px; }
.cta-band__contact a:hover { color: #fff; text-decoration-thickness: 3px; }
.cta-band .btn--ink:hover { background: var(--plum); }
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.with-aside--left { grid-template-columns: 340px minmax(0, 1fr); }

.section-nav { position: sticky; top: calc(var(--header-h) + 24px); border-left: 3px solid var(--green); padding-left: 20px; }
.section-nav__head { margin: 0 0 12px; font-family: var(--f-head); font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.section-nav__head a { color: var(--plum); text-decoration: none; }
.section-nav ul { list-style: none; }
.section-nav li a { display: block; padding: 7px 0; font-size: 15.5px; line-height: 1.35; color: var(--slate); text-decoration: none; }
.section-nav li a:hover { color: var(--green-text); text-decoration: underline; }
.section-nav [aria-current] { color: var(--ink); font-weight: 700; }

.prose { max-width: 72ch; color: var(--slate); }
.prose > :first-child { margin-top: 0; }
.prose h2 { color: var(--ink); font-size: clamp(24px, 2.5vw, 33px); font-weight: 800; letter-spacing: -.025em; margin: 1.6em 0 .5em; }
.prose h3 { color: var(--ink); font-size: 22px; font-weight: 700; margin: 1.4em 0 .4em; }
.prose h4 { color: var(--ink); font-size: 18px; font-weight: 700; margin: 1.3em 0 .4em; }
.prose p, .prose li { font-size: 17px; line-height: 1.7; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--green-text); }
.prose a { color: var(--plum); }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--green); font-size: 19px; color: var(--ink); }
.prose img { height: auto; }
.prose .wp-block-image, .prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: 14.5px; color: var(--muted); margin-top: 8px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose .lead, .prose .is-style-lead { font-size: 19px; color: var(--ink); }

.children { margin-top: 64px; }
.children-first .children { margin: 0 0 72px; }
.children h2 { margin-bottom: 28px; }

.cat-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: var(--gap); margin-bottom: 36px; }
.cat-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; background: var(--mist); color: var(--slate); text-decoration: none; font-family: var(--f-head); font-weight: 700; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; }
.cat-nav a[aria-current] { background: var(--ink); color: #fff; }
.nav-links { display: flex; flex-wrap: wrap; gap: var(--gap); margin-top: 40px; }
.nav-links .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; background: var(--mist); color: var(--ink); text-decoration: none; font-weight: 700; }
.nav-links .current { background: var(--ink); color: #fff; }
.results { list-style: none; margin-top: 32px; }
.results li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.results h2 { margin-bottom: 6px; }
.results p { margin: 0; color: var(--slate); }
.quick-links { margin-top: 28px; }

.article__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: 15px; margin-bottom: 28px; }
.article__image { margin: 0 0 36px; }
.article__image img { width: 100%; }
.article__tags { font-size: 15px; color: var(--muted); margin-top: 28px; }
.share { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.share__head { font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.share ul { list-style: none; display: flex; flex-wrap: wrap; gap: var(--gap); }
.share a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; background: var(--mist); color: var(--ink); text-decoration: none; font-weight: 600; }
.share a:hover { background: var(--ink); color: #fff; }
.related { background: var(--mist); }
.related .card__link { background: #fff; }

.facts { position: sticky; top: calc(var(--header-h) + 24px); background: var(--mist); padding: 28px 26px; }
.facts dl { margin: 0 0 22px; }
.facts dl > div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.facts dt, .contact-card dt { font-family: var(--f-head); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.facts dd, .contact-card dd { margin: 2px 0 0; font-size: 17px; color: var(--ink); }

.contact-card { background: var(--plum); color: #fff; padding: 32px 30px; }
.contact-card h2 { color: #fff; }
.contact-card dl { margin: 0 0 20px; }
.contact-card dl > div { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.contact-card dt { color: var(--lime); }
.contact-card dd, .contact-card a { color: #fff; }
.contact-card__note { font-size: 15.5px; color: rgba(255, 255, 255, .88); }

.form-band { background: var(--mist); }
.form-band p { color: var(--slate); }
.perks { margin: 56px 0; }
.perks .benefits { margin-bottom: 0; }
.jobs-block { margin: 56px 0 0; }
.flow + .jobs-block { margin-top: 0; }

.filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 20px; margin: 0 0 20px; padding: 24px; background: var(--mist); }
.filters .field { display: grid; gap: 6px; min-width: 220px; }
.filters .text-link { margin: 0 0 14px; }

/* ---------- forms (CF7 and search) ---------- */
.tg-form, .search-form { max-width: 760px; }
.tg-form .form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 0 20px; }
.search-form { margin: 0 0 22px; }
/* Error messages sit in a reserved slot so the form never jumps when CF7
   re-validates on blur; otherwise a click can land on the wrong control. */
.tg-form .field { position: relative; margin: 0; padding-bottom: 30px; }
.tg-form .field .wpcf7-form-control-wrap { position: static; }
.tg-form .field .wpcf7-not-valid-tip { position: absolute; left: 0; right: 0; bottom: 6px; margin: 0; line-height: 1.3; pointer-events: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tg-form label, .search-form label, .filters label, .tg-form legend { display: block; font-weight: 700; color: var(--ink); margin-bottom: 6px; font-size: 16px; }
.tg-form .hint { display: block; font-weight: 400; color: var(--muted); font-size: 14.5px; margin: -2px 0 8px; }
.tg-form fieldset { border: 0; padding: 0; margin: 0 0 22px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="url"], input[type="number"], input[type="date"], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #8a939a; border-radius: 0;
  background: #fff; color: var(--ink); font: inherit; font-size: 17px;
}
textarea { min-height: 160px; resize: vertical; }
select { appearance: none; padding-right: 44px; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--ink); }
input[type="file"] { font-size: 16px; padding: 10px 0; }
.wpcf7-list-item { display: block; margin: 0 0 8px; }
.wpcf7-list-item label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
input[type="checkbox"], input[type="radio"] { width: 20px; height: 20px; margin: 3px 0 0; flex: none; accent-color: var(--plum); }
.tg-form input[type="submit"], .wpcf7-submit {
  min-height: 54px; padding: 16px 34px; border: 0; cursor: pointer; background: var(--plum); color: #fff;
  font-family: var(--f-head); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
}
.wpcf7-submit:hover { background: var(--ink); }
.wpcf7-not-valid { border-color: #b3261e !important; }
.wpcf7-not-valid-tip { display: block; color: #b3261e; font-size: 15px; font-weight: 600; margin-top: 6px; }
.wpcf7 form .wpcf7-response-output { margin: 24px 0 0; padding: 14px 18px; border: 2px solid var(--blue); font-weight: 600; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output { border-color: #b3261e; color: #8c1d17; }
.wpcf7 form.sent .wpcf7-response-output { border-color: var(--green-text); color: var(--green-text); }
.wpcf7-spinner { vertical-align: middle; }
.search-form__row { display: flex; gap: var(--gap); }
.search-form__row input { flex: 1; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: #fff; padding: 80px 0 32px; }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.footer-brand__logo { display: inline-block; background: #fff; padding: 14px 18px; }
.footer-brand__logo .logo { height: 62px; width: auto; }
.footer-brand p { margin: 20px 0 0; max-width: 300px; color: rgba(255, 255, 255, .78); font-size: 16px; }
.footer-col__head { font-family: var(--f-head); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .7); margin-bottom: 16px; }
.footer-menu { list-style: none; display: grid; gap: 10px; font-size: 16px; color: rgba(255, 255, 255, .85); }
.footer-menu a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.footer-menu a:hover { color: var(--lime); text-decoration: underline; }
.socials { list-style: none; display: flex; gap: var(--gap); margin-top: 20px; }
.socials a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: rgba(255, 255, 255, .12); color: #fff; }
.socials a:hover { background: var(--green); color: var(--ink); }
.socials--dark a { background: rgba(255, 255, 255, .16); }
.site-footer__base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; padding-top: 24px; font-size: 14.5px; color: rgba(255, 255, 255, .7); }
.site-footer__base p { margin: 0; }
.site-footer__base a { color: rgba(255, 255, 255, .8); }
.site-footer__base a:hover { color: #fff; }
.legal-menu { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 26px; }
.legal-menu a { text-decoration: none; }
.legal-menu a:hover { text-decoration: underline; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1300px) {
  .header-btn { min-width: 150px; padding: 0 16px; }
  .primary-nav .menu > li > a { padding: 12px 11px; letter-spacing: .05em; }
  .brand { padding: 12px 20px; }
}
/* Seven nav items plus two buttons stop fitting here, so swap to the mobile menu. */
@media (max-width: 1140px) {
  :root { --header-h: 76px; }
  .site-header__inner { display: flex; justify-content: space-between; align-items: center; }
  .brand .logo { height: 54px; }
  .site-header.is-scrolled .brand .logo { height: 50px; }
  .primary-nav, .header-actions { display: none; }
  .mnav { display: block; }
  .with-aside, .with-aside--left { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .with-nav.has-media { grid-template-columns: 220px minmax(0, 1fr); gap: 40px; }
  .with-nav.has-media .page-media { grid-column: 2; position: static; max-width: 560px; }
  .page-grid.has-media { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .page-grid.has-media .page-media { position: static; max-width: 560px; }
  .facts { position: static; }
}
@media (max-width: 1100px) {
  .why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why__grid .why__item, .why__grid--5 .why__item:nth-child(n+4) { grid-column: span 1; }
  .why__grid--5 .why__item:nth-child(5) { grid-column: 1 / -1; }
  .hero__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .hero__slide { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero__copy, .hero__media { grid-column: auto; }
  .hero__media { order: -1; min-height: 240px; height: 58vw; max-height: 460px; }
  .hero__copy { padding: 44px var(--gutter) 48px; }
  .hero__controls { right: 12px; bottom: 12px; }
  .careers-band__pitch .careers-band__inner, .careers-band__jobs .careers-band__inner { max-width: none; padding: 72px var(--gutter); }
  .countymap { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .countymap__map svg { max-width: 420px; }
  .with-nav { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .with-nav.has-media { grid-template-columns: minmax(0, 1fr); }
  .with-nav.has-media .page-media { grid-column: auto; }
  .with-nav--flow { grid-template-columns: minmax(0, 1fr); }
  .flow .wp-block-columns.split { gap: 12px; margin-bottom: 44px; }
  .cta-band { padding: 56px 0; }
  .flow .wp-block-columns { gap: 28px; margin-bottom: 48px; }
  .flow .statement { padding: 36px 24px; margin-bottom: 48px; }
  .flow .wp-block-pullquote { margin-bottom: 48px; }
  .flow .wp-block-pullquote blockquote { padding-left: 20px; }
  .section-nav { position: static; }
  .feature__media { min-height: 320px; }
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; }
}
@media (max-width: 820px) {
  :root { --gutter: 20px; --section: 72px; }
  .brand { padding: 10px 16px; }
  .brand .logo { height: 50px; }
  .mnav { margin-right: 12px; }
  .banner { padding: 52px 0 58px; }
  .banner__leaf, .hero__leaf { width: 240px; right: -76px; bottom: -84px; opacity: .13; }
  .page-body { padding: 52px 0 64px; }
  .feature__copy { padding: 40px 24px; }
  .stats { padding: 80px 0; }
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 22px; }
  .benefits { grid-template-columns: minmax(0, 1fr); }
  .site-footer { padding: 56px 0 28px; }
  .admin-bar .site-header { top: 46px; }
}
@media (max-width: 600px) {
  .admin-bar .site-header { top: 0; }
  .hero__tiles { grid-template-columns: minmax(0, 1fr); }
  .tile { min-height: 0; padding: 22px 20px; gap: 14px; }
  .why__grid { grid-template-columns: minmax(0, 1fr); }
  .why__grid--5 .why__item:nth-child(5) { grid-column: auto; }
  .stats__grid { grid-template-columns: minmax(0, 1fr); }
  .btn-row .btn { flex: 1 1 100%; }
  .mosaic { grid-auto-rows: 150px; }
  .pillar, .why__item, .step, .ref-panel { padding: 28px 22px; }
  .filters .field { min-width: 100%; }
  .svc__media { height: 210px; }
}

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

@media print {
  .site-header, .site-footer, .hero__controls, .rail-controls, .share, .form-band { display: none !important; }
  body { font-size: 12pt; }
}
