/* ==========================================================================
   Why Somerset County — 2026 site
   Home page styles.  Built on Bootstrap 5.3.
   Design reference: WhySomerset_Website_2026_Home.indd  (1440 x 5645 artboard)
   Shared tokens live in the :root block so Work / Life / Fun pages can reuse them.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand palette (sampled from the InDesign artboard) */
  --ws-teal:        #004f5a;
  --ws-teal-ink:    #004f5a;
  --ws-green:       #7ac143;   /* bright accent green */
  --ws-green-mid:   #6ba342;   /* "Set for Life" / sub-headline green */
  --ws-blue:        #85b5d9;   /* "Set for Work" blue */
  --ws-amber:       #ffb000;   /* "Set for Fun" amber */
  --ws-band-green:  #ccdfbe;   /* pale green section band */
  --ws-band-blue:   #9dc4e1;   /* pale blue section band */
  --ws-ink:         #231f20;
  --ws-link:        #3396e8;

  /* Gradients */
  --ws-btn-grad:    linear-gradient(90deg, #004f59 0%, #1a6154 38%, #649e43 100%);
  --ws-btn-grad-hv: linear-gradient(90deg, #00697a 0%, #2c8a5f 38%, #7ac143 100%);

  /* Type */
  --ws-font-display: "Lilita One", "Arial Black", system-ui, sans-serif;
  --ws-font-body:    "Roboto", "Helvetica Neue", Arial, sans-serif;
  --ws-font-script:  "Allison", cursive;
  --ws-font-hand:    "Shadows Into Light", cursive;

  /* Layout — the artboard is 1440 wide with a 1040 content column */
  --ws-wrap:        1040px;
  /* The current nav item's colour. This is the section's *on-dark* value, not
     its accent: they differ for Life, whose mid-green would disappear against
     the green header. Set by the section stylesheet; amber is the fallback for
     pages that load none (Home, whose comp marks no item at all). */
  --ws-section-nav: var(--ws-amber);
  /* 138 / 1920 — the footer wave's own aspect. The footer slides up by exactly
     this much, and any section ending in text has to hand it back. */
  --ws-footer-overlap: 7.1875%;
  --ws-wrap-header: 1240px;
  --ws-wrap-wide:   1240px;
  --ws-gutter:      24px;
  /* How much room a control has outside the 1040 content column at this width:
     half the slack when the column is not squeezed, the page gutter when it is.
     Carousel chevrons sit outside their picture, and the comp's offsets are
     measured on a 1440 artboard — below about 1240 those offsets are wider than
     the gutter, and the chevrons were hanging off the page (clipped by the
     body's overflow-x: hidden rather than scrolling, so it read as half a
     chevron at the screen edge). Each one now floors its offset at this. */
  --ws-rail-room:   max(var(--ws-gutter), (100vw - 1040px) / 2);
  --ws-rail-out:    calc(4px - var(--ws-rail-room));

  /* Motion */
  --ws-ease: cubic-bezier(.22, .61, .36, 1);
}

/* Fluid type helper: a size S from the 1440px artboard scales as S / 14.4 vw */

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ws-font-body);
  font-size: 18px;
  line-height: 1.5;
  color: var(--ws-ink);
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ws-link); }

.wrap {
  width: min(100% - (var(--ws-gutter) * 2), var(--ws-wrap));
  margin-inline: auto;
}
.wrap--header { --ws-wrap: var(--ws-wrap-header); }
.wrap--wide   { --ws-wrap: var(--ws-wrap-wide); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: #fff; color: var(--ws-teal); padding: 12px 20px;
  font-weight: 700; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:where(a, button, .nav-link, .dropdown-item):focus-visible {
  outline: 3px solid var(--ws-green);
  outline-offset: 3px;
  border-radius: 4px;
}

/* The header has its own focus treatment - the green underline slides in - so
   the outline box is suppressed there. It was also catching mouse clicks on the
   dropdown toggles and reading as a stray hover outline. */
.main-nav .nav-link:focus-visible,
.main-nav .dropdown-item:focus-visible,
.main-nav .nav-link:focus,
.main-nav .dropdown-toggle:focus { outline: none; box-shadow: none; }

/* Section display headings — Lilita One, 60px on the artboard */
.display-heading {
  font-family: var(--ws-font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.167vw, 3.75rem);
  line-height: 1.08;
  color: var(--ws-teal-ink);
  text-align: center;
  margin: 0;
  letter-spacing: .005em;
}
/* A sourcing line under a display heading — 30 on the comp's 60, sitting 11
   below it, so it reads as part of the heading rather than as body copy. */
.display-heading__note {
  margin: clamp(6px, .76vw, 11px) 0 0;
  font-size: clamp(1.125rem, 2.083vw, 1.875rem);
  line-height: 1.2;
  color: var(--ws-teal-ink);
  text-align: center;
}
.display-heading--start { text-align: left; }
.display-heading--light { color: #fff; }

/* --------------------------------------------------------------------------
   3. Buttons
   -------------------------------------------------------------------------- */
.btn-pill {
  display: inline-block;
  padding: .47em 1.5em;
  border-radius: 999px;
  background: var(--ws-btn-grad);
  color: #fff;
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  font-weight: 400;
  line-height: 1.45;
  text-decoration: none;
  border: 0;
  transition: background-image .3s var(--ws-ease), transform .25s var(--ws-ease), box-shadow .25s var(--ws-ease);
}
a.btn-pill:hover,
a.btn-pill:focus-visible {
  background-image: var(--ws-btn-grad-hv);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 79, 90, .3);
}
.btn-pill--sm { font-size: clamp(.8125rem, 1vw, .9375rem); }

/* --------------------------------------------------------------------------
   4. Hero — video background behind the header graphic
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(600px, 66.9vw, 1040px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #14343a;
  overflow: hidden;
}

/* The hero clips its contents, but the mobile menu is absolutely positioned
   inside the header that sits in there — and on sub-pages the panel is easily
   taller than the hero, so it was being cut off. main.js flags the hero while
   the menu is open and the clipping is released for that moment. */
.hero.is-nav-open,
.page-hero.is-nav-open { overflow: visible; }

.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  /* Offset, not centred: the open area between the two waves sits below the
     hero's own midpoint, so the block is pushed down to match the comp. */
  padding-top: clamp(150px, 16.88vw, 243px);
  padding-bottom: clamp(72px, 6.74vw, 97px);
  text-align: center;
}

/* "ALL SET" / "IN SOMERSET" ------------------------------------------------ */
.hero__title {
  font-family: var(--ws-font-display);
  font-weight: 400;
  color: #fff;
  margin: 0;
  line-height: .96;
  text-transform: uppercase;
}

/* White fill sitting over an offset green outline, exactly as in the artboard */
.hero__title-lead {
  position: relative;
  display: block;
  font-size: clamp(3.5rem, 13.889vw, 12.5rem);
  letter-spacing: .01em;
}
.hero__title-lead::before {
  content: attr(data-text);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: -1;
  transform: translate(-.037em, -.031em);
  color: transparent;
  -webkit-text-stroke: .017em var(--ws-green);
  text-align: center;
  pointer-events: none;
}

.hero__title-sub {
  display: block;
  font-size: clamp(1.85rem, 7.292vw, 6.5625rem);
  letter-spacing: .01em;
  margin-top: -.02em;
  text-shadow: 0 3px 14px rgba(0, 0, 0, .28);
}

/* "#1 COUNTY TO LIVE IN NJ" — green fill, white outline */
.hero__kicker {
  position: relative;
  font-family: var(--ws-font-display);
  font-size: clamp(1.05rem, 3.889vw, 3.5rem);
  line-height: 1.1;
  color: var(--ws-green-mid);
  text-transform: uppercase;
  letter-spacing: .01em;
  margin: .28em 0 0;
}
.hero__kicker::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  z-index: -1;
  color: #fff;
  -webkit-text-stroke: .13em #fff;
  pointer-events: none;
}

.hero__cta { margin: clamp(30px, 4.44vw, 64px) 0 0; }

/* Wave that closes the hero over the video */
.hero__wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%;
  z-index: 3;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   5. Site header
   -------------------------------------------------------------------------- */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 5;
}

/* The gradient block is a vertical stretch of the top of the artboard graphic,
   so its bottom row matches the top row of the wave image below it exactly. */
.site-header__band {
  background-image: url("../img/header-band.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  padding: 10px 0 14px;
}
.site-header__wave {
  display: block;
  width: 100%;
  margin-top: -1px;
  pointer-events: none;
}

.wrap--header { display: flex; align-items: flex-start; gap: 24px; }

.site-header__brand {
  flex: 0 0 auto;
  width: clamp(120px, 14.45vw, 208px);
  margin-top: 4px;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .22));
}
.site-header__stack { flex: 1 1 auto; min-width: 0; }

/* Utility bar ------------------------------------------------------------- */
.utility-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2vw, 30px);
  color: #fff;
  padding-block: 4px;
}
.utility-bar__weather {
  display: flex;
  align-items: center;
  gap: .5em;
  margin: 0;
  font-size: clamp(.8125rem, 1.25vw, 1.125rem);
  white-space: nowrap;
}
.utility-bar__weather .fa-sun { color: #ffcb45; font-size: 1.1em; }

.utility-bar__icons,
.site-footer__icons {
  display: flex;
  align-items: center;
  gap: clamp(5px, .6vw, 8px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.utility-bar__icons a,
.site-footer__icons a {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.05rem;
  text-decoration: none;
  transition: background-color .25s var(--ws-ease), color .25s var(--ws-ease);
}
.utility-bar__icons a:hover,
.site-footer__icons a:hover { background: rgba(255, 255, 255, .18); color: #fff; }
/* First-icon highlight was for the search icon, now hidden; restore with it.
.utility-bar__icons li:first-child a { background: rgba(0, 62, 72, .55); } */

/* Primary nav ------------------------------------------------------------- */
.main-nav { padding: 0; }
.main-nav .navbar-nav {
  gap: clamp(10px, 1.9vw, 28px);
  margin-left: auto;
  align-items: center;
}
.main-nav .nav-link,
.main-nav .nav-link.show,
.main-nav .show > .nav-link {
  color: #fff;
}

/* Current page: bold, in the section's own on-dark colour — amber on Fun,
   #7ac143 on Life. The green underline cue is kept on top of it. */
.main-nav .nav-link.active,
.main-nav .nav-link.active.show {
  color: var(--ws-section-nav);
  font-weight: 700;
}
.main-nav .nav-link {
  font-size: clamp(.875rem, 1.111vw, 1rem);
  font-weight: 500;
  padding: .45rem 0;
  position: relative;
  transition: color .25s var(--ws-ease);
}
.main-nav .nav-link::after {
  /* replaces Bootstrap's caret with an underline cue */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .1rem;
  height: 2px;
  border: 0;
  margin: 0;
  background: var(--ws-green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ws-ease);
  vertical-align: baseline;
}
.main-nav .nav-item:hover .nav-link::after,
.main-nav .nav-link:focus-visible::after,
.main-nav .nav-link.show::after,
.main-nav .nav-link.active::after { transform: scaleX(1); }
.main-nav .nav-link:hover,
.main-nav .nav-link.show { color: #eaf7d9; }

.main-nav .dropdown-menu {
  --bs-dropdown-min-width: 15rem;
  border: 0;
  border-radius: 12px;
  padding: .5rem 0;
  margin-top: .35rem;
  background: rgba(0, 66, 76, .97);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .3);
}

/* The menu is offset below the link, and it is wider than the link, so the
   pointer crosses dead space on its way down. These invisible bridges make
   that space part of the menu, keeping :hover alive on the parent <li>. */
@media (min-width: 992px) {
  .main-nav .nav-item > .dropdown-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -.5rem;
    height: .5rem;
  }
  .main-nav .nav-item > .dropdown-menu::after {
    content: "";
    position: absolute;
    top: -.5rem;
    bottom: 0;
    left: -10px;
    width: 10px;
  }
}
.main-nav .dropdown-item {
  color: #fff;
  font-size: .9375rem;
  padding: .5rem 1.15rem;
  white-space: normal;
}
.main-nav .dropdown-item:hover,
.main-nav .dropdown-item:focus {
  background: var(--ws-green-mid);
  color: #fff;
}

/* -------- third-level flyouts -------- */
.dropdown-item--parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
.dropdown-item--parent::after {
  content: "";
  flex: 0 0 auto;
  width: .42em; height: .42em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  opacity: .75;
  transition: transform .25s var(--ws-ease);
}

@media (min-width: 992px) {
  .dropdown-submenu { position: relative; }
  .main-nav .dropdown-menu--sub {
    top: -.5rem;
    left: 100%;
    margin: 0 0 0 2px;
    background: rgba(0, 58, 67, .98);
  }
  .dropdown-submenu:focus-within > .dropdown-menu--sub,
  .dropdown-submenu.is-open > .dropdown-menu--sub { display: block; }

  /* Same bridge idea, horizontally, for the flyout's 2px offset. */
  .main-nav .dropdown-menu--sub::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -10px;
    width: 10px;
  }
  .dropdown-submenu.flip > .dropdown-menu--sub::before {
    left: auto;
    right: -10px;
  }

  /* flipped by main.js when the flyout would run off the right edge */
  .dropdown-submenu.flip > .dropdown-menu--sub {
    left: auto;
    right: 100%;
    margin: 0 2px 0 0;
  }
  .dropdown-submenu.flip > .dropdown-item--parent::after { transform: rotate(135deg); }
}

@media (max-width: 991.98px) {
  /* Accordion instead of a flyout - no room to fan out sideways */
  .main-nav .dropdown-menu--sub {
    position: static;
    float: none;
    width: 100%;
    margin: 0;
    padding: .1rem 0 .35rem;
    background: rgba(255, 255, 255, .07);
    box-shadow: none;
    border-radius: 0;
  }
  .main-nav .dropdown-menu--sub .dropdown-item { padding-left: 3rem; }
  .dropdown-submenu.is-open > .dropdown-menu--sub { display: block; }
  .dropdown-submenu.is-open > .dropdown-item--parent::after { transform: rotate(45deg); }
}

.navbar-toggler {
  margin-left: auto;
  border-color: rgba(255, 255, 255, .55);
  padding: .3rem .55rem;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.95%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(122, 193, 67, .5); }

/* --------------------------------------------------------------------------
   6. "Set for …" pillar cards
   -------------------------------------------------------------------------- */
.pillars { padding: clamp(38px, 4.7vw, 68px) 0 0; }

.pillars__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 4.6vw, 66px);
}

.pillar {
  --pillar-color: var(--ws-blue);
  display: block;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  background: var(--pillar-color);
  /* 4px white keyline + offset shadow, measured off the comp */
  border: 4px solid #fff;
  box-shadow: 5px 5px 14px rgba(0, 0, 0, .3);
  transition: transform .35s var(--ws-ease), box-shadow .35s var(--ws-ease);
}
.pillar--work { --pillar-color: var(--ws-blue); }
.pillar--life { --pillar-color: var(--ws-green-mid); }
.pillar--fun  { --pillar-color: var(--ws-amber); }

.pillar:hover,
.pillar:focus-visible {
  transform: translateY(-4px);
  box-shadow: 7px 11px 22px rgba(0, 0, 0, .34);
}

.pillar__frame {
  display: block;
  overflow: hidden;
  aspect-ratio: 302 / 162;
}
.pillar__frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ws-ease);
}
.pillar:hover .pillar__frame img,
.pillar:focus-visible .pillar__frame img { transform: scale(1.09); }

/* Colour rollover: the brand gradient wipes up behind the label */
.pillar__label {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  min-height: clamp(56px, 5.14vw, 74px);
  padding: .55rem 1rem;
  overflow: hidden;
}
.pillar__label::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ws-btn-grad);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .42s var(--ws-ease);
}
.pillar:hover .pillar__label::before,
.pillar:focus-visible .pillar__label::before { transform: scaleY(1); }

.pillar__label-text {
  font-family: var(--ws-font-display);
  font-size: clamp(1.15rem, 2.083vw, 1.875rem);
  line-height: 1.1;
  color: #fff;
  text-align: center;
}

/* --------------------------------------------------------------------------
   7. Discover All the Reasons Why
   -------------------------------------------------------------------------- */
.intro { padding: clamp(46px, 5.5vw, 78px) 0 clamp(40px, 4.6vw, 66px); }

.intro__body {
  margin: clamp(24px, 3vw, 44px) 0 0;
  font-size: 1.125rem;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   8. Wave bands (pale green / pale blue sections)
   -------------------------------------------------------------------------- */
.band { position: relative; }
.band__inner { position: relative; z-index: 1; }
.band__wave {
  display: block;
  width: 100%;
  position: relative;
  z-index: 0;
  pointer-events: none;
}
.band__wave--top    { margin-bottom: -1px; }
.band__wave--bottom { margin-top: -1px; }

.band--green .band__inner { background: var(--ws-band-green); }
.band--blue  .band__inner { background: var(--ws-band-blue); }

.band--green .band__inner { padding: clamp(30px, 4vw, 58px) 0 clamp(36px, 4.6vw, 66px); }

/* The career band is deeper than a stock band: it needs room below the photo
   for the dot rail, which is absolutely positioned. Top matches bottom. */
#career .band__inner { padding: clamp(74px, 9.4vw, 136px) 0; }
.band--blue  .band__inner { padding: clamp(24px, 3vw, 42px) 0 clamp(40px, 5vw, 72px); }

/* --------------------------------------------------------------------------
   9. Build Your Next Career (green band carousel)
   -------------------------------------------------------------------------- */
.career { position: relative; }

.career__grid {
  display: grid;
  /* 603 + 89 gap + 548 = the 1240 wide column from the comp */
  grid-template-columns: minmax(0, 603fr) minmax(0, 548fr);
  align-items: center;
  column-gap: clamp(28px, 7.18vw, 89px);
}

.career__media {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 603 / 444;
}
.career__media img { width: 100%; height: 100%; object-fit: cover; }

.career__body .display-heading { margin-bottom: .38em; }
.career__body p { margin: 0; font-size: 1.125rem; line-height: 1.5; }
.career__cta { margin-top: clamp(18px, 2.4vw, 34px) !important; }
/* The client credits the photographer on three of the four slides; it sits
   under the copy at caption size rather than over the picture. */
.career__source {
  margin: clamp(8px, .9vw, 13px) 0 0 !important;
  font-size: .875rem !important;
  color: #4c5457;
}

/* The comp hangs the arrow pill off the right edge of the photo, with the
   dots centred beneath it. The rail mirrors the photo's box so both stay
   pinned there at any width without hard-coded offsets. */
.career__rail {
  position: absolute;
  left: 0;
  top: 0;
  width: calc(603 / 1240 * 100%);
  aspect-ratio: 603 / 444;
  pointer-events: none;
}

.career__controls {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(50%, -50%);
  display: flex;
  border-radius: 4px;
  overflow: hidden;
  background: linear-gradient(90deg, #79c142 0%, #6ba542 100%);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
  pointer-events: auto;
}
.career__arrow {
  display: grid;
  place-items: center;
  width: clamp(40px, 3.96vw, 57px);
  height: clamp(34px, 3.28vw, 47px);
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  cursor: pointer;
  transition: background-color .25s var(--ws-ease);
}
.career__arrow:hover { background: rgba(0, 0, 0, .12); }
.career__arrow svg { width: clamp(11px, .97vw, 14px); height: auto; display: block; }

.career__dots {
  position: absolute;
  right: 0;
  bottom: auto;
  top: calc(100% + clamp(26px, 5.2vw, 75px));
  left: auto;
  width: auto;
  margin: 0;
  transform: translateX(50%);
  gap: 15px;
  pointer-events: auto;
}
.career__dots [data-bs-target] {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 0;
  margin: 0;
  background: #fff;
  opacity: 1;
  text-indent: 0;
  transition: background-color .25s var(--ws-ease), transform .25s var(--ws-ease);
}
.career__dots [data-bs-target]:hover { transform: scale(1.15); }
.career__dots .active { background: var(--ws-teal); }

/* --------------------------------------------------------------------------
   10. We're In Central Jersey
   -------------------------------------------------------------------------- */
.jersey { padding: clamp(46px, 5.6vw, 80px) 0 clamp(30px, 3.5vw, 50px); }

.jersey__grid {
  display: grid;
  grid-template-columns: minmax(330px, 1fr) minmax(0, 982px);
  align-items: start;
  padding-left: max(var(--ws-gutter), calc((100% - var(--ws-wrap)) / 2));
  margin-top: clamp(30px, 4vw, 58px);
}

.jersey__col { position: relative; z-index: 1; padding-right: 12px; }

.jersey__facts {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: clamp(1.125rem, 2.083vw, 1.875rem);
  line-height: 1.2;
}
.jersey__facts li + li { margin-top: .47em; }
.jersey__facts strong { font-weight: 700; color: var(--ws-green); }
.jersey__facts .is-black { font-weight: 900; }

/* Map legend, rebuilt from the artboard */
.legend { margin-top: clamp(30px, 4vw, 56px); }
.legend__title {
  font-size: clamp(1rem, 1.528vw, 1.375rem);
  font-weight: 700;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin: 0 0 .7em;
}
.legend__list { list-style: none; margin: 0; padding: 0; }
.legend__list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: .6rem;
}
.legend__swatch {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: clamp(88px, 7.6vw, 110px);
  height: clamp(28px, 2.4vw, 34px);
  border: 1px solid #000;
  background: #fff;
}
.legend__swatch svg { width: 100%; height: 100%; }
.legend__rule { display: block; width: 78%; height: 5px; border-radius: 1px; }
.legend__rule--highway   { background: #00aeef; }
.legend__rule--interstate{ background: #ed1c24; }
.legend__label { font-size: clamp(.8125rem, 1.042vw, .9375rem); font-weight: 700; }

.jersey__media { min-width: 0; margin-left: -90px; }
.jersey__media img { width: 100%; }

/* --------------------------------------------------------------------------
   11a. Demographics
   -------------------------------------------------------------------------- */
.demographics { padding: clamp(44px, 5.4vw, 76px) 0 clamp(30px, 3.6vw, 52px); }

.stat-grid {
  list-style: none;
  padding: 0;
  margin: clamp(28px, 3.6vw, 52px) auto 0;
  max-width: 874px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3.9vw, 56px);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: clamp(200px, 18.3vw, 263px);
  /* Narrow side padding so "Bachelor's Degree or Higher:" keeps the comp's
     two-line wrap instead of breaking to three. */
  padding: clamp(20px, 2.08vw, 30px) clamp(8px, .9vw, 13px) clamp(16px, 1.67vw, 24px);
  border-radius: 16px;
  background: #f2f7fb;
  text-align: center;
}
.stat__icon {
  width: auto;
  height: clamp(56px, 5.83vw, 84px);
  margin-bottom: clamp(10px, 1.25vw, 18px);
}
.stat__label {
  margin: 0;
  font-size: clamp(.9375rem, 1.25vw, 1.125rem);
  font-weight: 500;
  line-height: 1.33;
  color: var(--ws-ink);
}
.stat__value {
  margin: .18em 0 0;
  font-family: var(--ws-font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.472vw, 3.125rem);
  line-height: 1.1;
  color: var(--ws-green-mid);
}

/* --------------------------------------------------------------------------
   11b. Commissioners  (stub - see the note in index.html)
   -------------------------------------------------------------------------- */
.commissioners { padding: clamp(24px, 3vw, 44px) 0 clamp(44px, 5.4vw, 76px); }

.commissioners__quote {
  max-width: 874px;
  margin: 0 auto;
  text-align: center;
}
.commissioners__quote p {
  margin: 0;
  font-family: var(--ws-font-display);
  font-size: clamp(1.25rem, 2.083vw, 1.875rem);
  line-height: 1.3;
  color: var(--ws-teal-ink);
}
.commissioners__attribution {
  margin-top: clamp(12px, 1.4vw, 20px);
  font-size: clamp(.9375rem, 1.25vw, 1.125rem);
  font-weight: 700;
  color: var(--ws-green-mid);
}

/* --------------------------------------------------------------------------
   11c. What People Are Saying
   -------------------------------------------------------------------------- */
.testimonials { margin-top: clamp(28px, 3.4vw, 48px); }

.testimonial {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(200px, 26.25vw, 378px);
  align-items: center;
  gap: clamp(24px, 4vw, 60px);
  padding-bottom: clamp(46px, 4.5vw, 62px);
}

.testimonial__quote { margin: 0; }
.testimonial__name {
  font-size: clamp(1.375rem, 2.431vw, 2.1875rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ws-teal-ink);
  margin-bottom: .55em;
}
.testimonial__quote blockquote { margin: 0; }
.testimonial__quote p { margin: 0; font-size: 1.125rem; line-height: 1.5; }
.testimonial__more {
  font-weight: 700;
  color: var(--ws-link);
  text-decoration: none;
  white-space: nowrap;
}
.testimonial__more:hover { text-decoration: underline; }

.testimonial__portrait {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .22);
  aspect-ratio: 1;
}
.testimonial__portrait img { width: 100%; height: 100%; object-fit: cover; }

/* Controls */
.testimonials .carousel-control-prev,
.testimonials .carousel-control-next {
  width: clamp(38px, 4.5vw, 64px);
  opacity: 1;
  align-items: center;
}
/* Comp puts the chevrons at x 116 / 1323 - 84px outside the 1040 container */
.testimonials .carousel-control-prev { left: max(clamp(-116px, -8.06vw, -18px), var(--ws-rail-out)); }
.testimonials .carousel-control-next { right: max(clamp(-116px, -8.06vw, -18px), var(--ws-rail-out)); }
.testimonials__chevron {
  display: block;
  color: rgba(255, 255, 255, .9);
  line-height: 1;
  transition: color .25s var(--ws-ease), transform .25s var(--ws-ease);
}
.testimonials .carousel-control-prev:hover .testimonials__chevron,
.testimonials .carousel-control-next:hover .testimonials__chevron { color: #fff; }
.testimonials .carousel-control-prev:hover .testimonials__chevron { transform: translateX(-3px); }
.testimonials .carousel-control-next:hover .testimonials__chevron { transform: translateX(3px); }
.testimonials__chevron svg {
  display: block;
  width: clamp(20px, 2.15vw, 31px);
  height: auto;
}

/* Indicators sit under the quote column, as on the artboard */
.testimonials__dots {
  position: absolute;
  left: 0;
  right: auto;
  bottom: 0;
  width: clamp(200px, 62%, 664px);
  margin: 0;
  justify-content: center;
  gap: 10px;
}
.testimonials__dots [data-bs-target] {
  width: 15px; height: 15px;
  border-radius: 50%;
  border: 0;
  margin: 0;
  background: #fff;
  opacity: 1;
  text-indent: 0;
  transition: background-color .25s var(--ws-ease), transform .25s var(--ws-ease);
}
.testimonials__dots [data-bs-target]:hover { transform: scale(1.15); }
.testimonials__dots .active { background: var(--ws-teal); }

/* --------------------------------------------------------------------------
   12. Why Somerset Initiative  (full-bleed photo)
   -------------------------------------------------------------------------- */
.initiative {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: clamp(430px, 62.2vw, 896px);
  padding: clamp(110px, 11vw, 160px) 0 clamp(120px, 12vw, 175px);
  text-align: center;
  background: #33454e url("../img/home/initiative-ribbon-cutting.jpg") center / cover no-repeat;
}

/* The blue band's closing wave rides on top of the photo */
.initiative__wave {
  position: absolute;
  left: 0;
  top: -1px;
  width: 100%;
  z-index: 2;
  pointer-events: none;
}

/* Dimming overlay so the white copy holds against the photo */
.initiative::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(0, 40, 48, .22) 0%, rgba(0, 40, 48, .42) 100%);
}

.initiative__inner { position: relative; z-index: 1; }

.initiative .display-heading { text-shadow: 0 3px 16px rgba(0, 0, 0, .45); }

.initiative__body {
  max-width: 820px;
  margin: clamp(14px, 1.8vw, 26px) auto 0;
  font-size: 1.125rem;
  line-height: 1.5;
  color: #fff;
  text-align: left;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .55), 0 2px 14px rgba(0, 0, 0, .55);
}

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  z-index: 3;
  /* The footer slides up by exactly the height of its wave, so that wave lands
     on the photo above. Percentage basis is the body width, same as the
     sections that pay it back — see --ws-footer-overlap. */
  margin-top: calc(-1 * var(--ws-footer-overlap));
}

.site-footer__wave { display: block; width: 100%; margin-bottom: -1px; }

/* Same trick as the header: a vertical stretch of the artboard gradient so the
   seam with the wave above is invisible at any width. */
.site-footer__band {
  background-image: url("../img/footer-band.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  padding: clamp(10px, 1.5vw, 22px) 0 clamp(30px, 3.5vw, 48px);
  text-align: center;
  color: #fff;
}

.site-footer__brand {
  display: inline-block;
  width: clamp(150px, 14.45vw, 208px);
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .2));
}

.site-footer__nav ul {
  list-style: none;
  margin: clamp(24px, 3.4vw, 48px) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(14px, 2.7vw, 38px);
}
.site-footer__nav a {
  color: #fff;
  font-size: clamp(.875rem, 1.111vw, 1rem);
  font-weight: 500;
  text-decoration: none;
  transition: color .25s var(--ws-ease);
}
.site-footer__nav a:hover { color: #d7f0b8; }

.site-footer__icons { justify-content: center; margin-top: clamp(12px, 1.4vw, 20px); }

.site-footer__legal {
  margin: clamp(20px, 2.9vw, 40px) 0 0;
  font-size: 1rem;
  color: #fff;
}


/* --------------------------------------------------------------------------
   15. Search overlay
   Full-screen, dims the page behind it. Lives at the end of <body> so no
   ancestor transform can trap the fixed positioning.
   -------------------------------------------------------------------------- */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: grid;
  place-items: center;
  padding: clamp(24px, 5vw, 72px);
  background: rgba(0, 38, 45, .94);
  opacity: 0;
  transition: opacity .3s var(--ws-ease);
}
.search-overlay[hidden] { display: none; }
.search-overlay.is-open { opacity: 1; }

/* Blur is a bonus, not the dim itself - keep the alpha high so the page is
   still properly dimmed where backdrop-filter is unavailable or disabled. */
@supports (backdrop-filter: blur(4px)) {
  .search-overlay { backdrop-filter: blur(5px); }
}

body.search-open { overflow: hidden; }

.search-overlay__panel {
  width: min(100%, 900px);
  text-align: center;
  transform: translateY(16px);
  transition: transform .35s var(--ws-ease);
}
.search-overlay.is-open .search-overlay__panel { transform: none; }

.search-overlay__title {
  margin: 0 0 clamp(22px, 3.2vw, 44px);
  font-family: var(--ws-font-display);
  font-weight: 400;
  font-size: clamp(2rem, 5.4vw, 4rem);
  line-height: 1.05;
  color: #fff;
}

.search-overlay__form {
  display: flex;
  align-items: stretch;
  gap: clamp(10px, 1.4vw, 18px);
}

.search-overlay__input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  border-radius: 999px;
  padding: clamp(14px, 1.55vw, 22px) clamp(22px, 2.5vw, 36px);
  font-family: var(--ws-font-body);
  font-size: clamp(1.0625rem, 1.8vw, 1.625rem);
  line-height: 1.3;
  color: var(--ws-ink);
  background: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .28);
}
.search-overlay__input::placeholder { color: #8b9096; }
.search-overlay__input::-webkit-search-cancel-button { cursor: pointer; }
.search-overlay__input:focus-visible {
  outline: 3px solid var(--ws-green);
  outline-offset: 3px;
}

/* Oversized version of the site's pill button */
.search-overlay__submit {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: .55em;
  padding: clamp(14px, 1.55vw, 22px) clamp(26px, 2.8vw, 42px);
  font-size: clamp(1.0625rem, 1.6vw, 1.5rem);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .28);
}
.search-overlay__submit:hover { transform: none; }

.search-overlay__close {
  position: absolute;
  top: clamp(14px, 2.4vw, 34px);
  right: clamp(14px, 2.4vw, 34px);
  display: grid;
  place-items: center;
  width: clamp(46px, 4.4vw, 62px);
  height: clamp(46px, 4.4vw, 62px);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  cursor: pointer;
  transition: background-color .25s var(--ws-ease), transform .25s var(--ws-ease);
}
.search-overlay__close:hover { background: rgba(255, 255, 255, .24); transform: rotate(90deg); }
.search-overlay__close svg { width: 44%; height: auto; display: block; }

@media (max-width: 575.98px) {
  .search-overlay__form { flex-direction: column; }
  .search-overlay__submit { justify-content: center; }
}


/* --------------------------------------------------------------------------
   16. Section pills + prose  (shared by the secondary pages)
   -------------------------------------------------------------------------- */

/* The three cross-section buttons that head every sub-page. Same white keyline
   and offset shadow as the Home page pillar cards. */
.section-pills {
  list-style: none;
  margin: clamp(4px, .56vw, 8px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 4.6vw, 66px);
}
.section-pill {
  --pill-colour: var(--ws-blue);
  display: grid;
  place-items: center;
  min-height: clamp(52px, 5.76vw, 83px);
  padding: .45em 1rem;
  border: 4px solid #fff;
  border-radius: 14px;
  background: var(--pill-colour);
  box-shadow: 5px 5px 14px rgba(0, 0, 0, .3);
  font-family: var(--ws-font-display);
  font-size: clamp(1.15rem, 2.083vw, 1.875rem);
  line-height: 1.1;
  color: #fff;
  text-align: center;
  text-decoration: none;
  transition: transform .3s var(--ws-ease), box-shadow .3s var(--ws-ease), filter .3s var(--ws-ease);
}
.section-pill--work { --pill-colour: var(--ws-blue); }
.section-pill--life { --pill-colour: var(--ws-green-mid); }
.section-pill--fun  { --pill-colour: var(--ws-amber); }

.section-pill:hover,
.section-pill:focus-visible {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 7px 10px 22px rgba(0, 0, 0, .34);
  filter: brightness(1.06);
}

/* Long-form body sections */
.prose { padding: clamp(24px, 3vw, 44px) 0 clamp(20px, 2.6vw, 38px); }
/* The footer slides up over whatever precedes it by its own wave height
   (margin-top: -7.1875%, see 13). A band ends in artwork that can take the
   overlap; a tail section is plain text, so it has to hand that height back
   and then add a real gap, or the last line sits under the wave. The % has the
   same basis as the footer's margin (the body width), so they cancel exactly. */
.prose--tail { padding-bottom: calc(var(--ws-footer-overlap) + clamp(44px, 5.5vw, 80px)); }

/* --------------------------------------------------------------------------
   .media-block — the page stack's non-prose blocks
   Anything that is not a run of copy: a figure, a tile grid, a carousel, a map.
   These live here rather than in a component stylesheet because every section
   stacks pages out of them, and a page that opted into the component but not
   the spacing used to end up underneath the footer.
   Comp gaps at 1440, measured between block boxes: pills to first block 50 and
   41, block to block 44, block to the next heading 35-45, body copy to the next
   block 67. So: 30 above, 14 below, a wider lead-in under the pills, and a
   trimmed top on the .prose that follows a block.
   -------------------------------------------------------------------------- */
.media-block { padding: clamp(18px, 2.08vw, 30px) 0 clamp(9px, .97vw, 14px); }
.media-block--lead { padding-top: clamp(28px, 3.19vw, 46px); }
.media-block + .prose { padding-top: clamp(18px, 2.08vw, 30px); }

/* Last block on the page: the footer pulls itself up over whatever precedes it,
   so give the overlap back the way .prose--tail does. */
.media-block--tail { padding-bottom: calc(var(--ws-footer-overlap) + clamp(44px, 5.5vw, 80px)); }
.prose p { margin: 0 0 clamp(14px, 1.7vw, 24px); font-size: 1.125rem; line-height: 1.5; }
.prose p:last-child { margin-bottom: 0; }
/* A .prose that opens on a heading would otherwise pay the section padding and
   the heading's own top margin, doubling the gap. The section owns the spacing. */
.prose .wrap > .subhead:first-child { margin-top: 0; }

/* Bulleted lists. The comps indent these inconsistently (38 on Neighborhoods,
   0 on Culture) and set the marker in the section accent on some lists and in
   ink on others, so the list carries the variation, not the base rule. */
.prose ul {
  margin: 0 0 clamp(14px, 1.7vw, 24px);
  padding-left: 1.6em;
}
.prose ul li {
  margin-bottom: clamp(6px, .76vw, 11px);
  font-size: 1.125rem;
  line-height: 1.5;
}
.prose ul li:last-child { margin-bottom: 0; }
.prose ul li::marker { color: var(--ws-ink); }
.prose .list--bold li { font-weight: 700; }
.prose .list--accent li::marker { color: var(--ws-section-accent, var(--ws-ink)); }
/* Coming off a band, the comp leaves 57 before the next heading (Outdoors, 2312
   to 2369) — more than the section's default, since the wave eats into the gap. */
.band + .prose { padding-top: clamp(34px, 4.03vw, 58px); }
.prose__lead-in { font-weight: 700; color: var(--ws-teal-ink); }

/* Roboto Bold section heading - distinct from the Lilita display headings */
.subhead {
  margin: clamp(20px, 2.43vw, 35px) 0 clamp(14px, 1.67vw, 24px);
  font-family: var(--ws-font-body);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.083vw, 1.875rem);
  line-height: 1.2;
  color: var(--ws-teal-ink);
  text-transform: uppercase;
  letter-spacing: .005em;
}

/* Sub-pages put an eyebrow above the hero title, and the pair centres in the
   open photo area — between the bottom of the header's swoop and the bottom of
   the hero image — which is where the comp draws it (262 - 714 at 1440).
   The header is absolutely positioned, so CSS cannot know its height; main.js
   measures it into --ws-hero-header-h and this padding reserves exactly that
   much. The fallback keeps the old measured placement if the JS never runs. */
.page-hero.page-hero--sub {
  justify-content: center;
  padding-top: var(--ws-hero-header-h, clamp(150px, 18.2vw, 262px));
  padding-bottom: 0;
}

.page-hero__eyebrow {
  margin: 0;
  font-weight: 700;
  font-size: clamp(1.125rem, 2.431vw, 2.1875rem);
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 3px 14px rgba(0, 0, 0, .35);
}

/* --------------------------------------------------------------------------
   14. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
  .jersey__media { margin-left: -40px; }
}

@media (max-width: 991.98px) {
  body { font-size: 17px; }

  /* Compact header: logo left, utility row right, burger pinned to the corner */
  .site-header__band { padding: 8px 0 10px; }
  .wrap--header { position: relative; align-items: center; gap: 12px; }
  .site-header__brand { width: clamp(84px, 24vw, 120px); margin-top: 0; }
  .site-header__stack { position: relative; padding-right: 52px; min-width: 0; }

  .utility-bar { justify-content: flex-end; gap: 10px; padding-block: 0; }
  .utility-bar__weather { font-size: .8125rem; gap: .35em; }
  .utility-bar__icons { gap: 2px; }
  .utility-bar__icons a { width: 30px; height: 30px; font-size: .95rem; }

  .main-nav { position: static; }
  .main-nav .navbar-toggler { position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
  .main-nav .navbar-collapse {
    position: absolute;
    left: 0; right: 0;
    top: calc(100% + 10px);
    z-index: 20;
    margin-top: 0;
    padding: .5rem 0;
    background: rgba(0, 60, 70, .97);
    border-radius: 12px;
    box-shadow: 0 18px 34px rgba(0, 0, 0, .3);
    /* With every section expanded the panel can outgrow the screen, so it
       scrolls inside itself instead of running off the bottom. */
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .main-nav .navbar-nav { gap: 0; align-items: stretch; width: 100%; }
  .main-nav .nav-link { padding: .6rem 1.1rem; }
  .main-nav .nav-link::after { display: none; }
  .main-nav .dropdown-menu {
    background: rgba(255, 255, 255, .08);
    box-shadow: none;
    border-radius: 0;
    margin: 0 0 .35rem;
    padding: .15rem 0 .35rem;
  }
  .main-nav .dropdown-item { padding-left: 2rem; font-size: .875rem; }

  .hero__content { padding-top: clamp(150px, 24vw, 240px); }

  /* Career carousel stacks; the rail's photo-tracking geometry no longer
     applies, so arrows sit on the image edges and dots run underneath. */
  .career__grid { grid-template-columns: minmax(0, 1fr); row-gap: 26px; }
  .career__body .display-heading { text-align: center; }
  .career__body p { text-align: center; }
  .career__cta { text-align: center; }
  .career__rail {
    position: static;
    width: auto;
    aspect-ratio: auto;
  }
  .career__controls {
    position: absolute;
    left: 50%;
    right: auto;
    top: calc((100vw - var(--ws-gutter) * 2) * 444 / 603 / 2);
    transform: translate(-50%, -50%);
    margin-top: 0;
  }
  .career__dots {
    position: static;
    transform: none;
    justify-content: center;
    margin-top: 22px;
    gap: 12px;
  }

  .jersey__grid {
    grid-template-columns: minmax(0, 1fr);
    padding-inline: var(--ws-gutter);
    gap: 32px;
  }
  .jersey__col { padding-right: 0; }
  .jersey__media { margin-inline: calc(var(--ws-gutter) * -1); }
  .jersey__media img { margin-inline: auto; max-width: 720px; }

  .testimonial {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
    padding: 0 34px 54px;
  }
  .testimonial__portrait { order: -1; width: min(300px, 70%); }
  .testimonials__dots { width: 100%; }
  .testimonials .carousel-control-prev { left: -6px; }
  .testimonials .carousel-control-next { right: -6px; }

  /* Narrow viewports crop the photo harder, so deepen the dim. */
  .initiative::before {
    background: linear-gradient(180deg, rgba(0, 40, 48, .30) 0%, rgba(0, 40, 48, .68) 100%);
  }
}

@media (max-width: 767.98px) {
  /* Three across is too narrow for the labels to stay on one line. */
  .section-pills { grid-template-columns: minmax(0, 1fr); gap: 14px; }

  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .stat { min-height: 190px; }

  /* Phones: logo + burger only. main.js moves the utility bar into the menu;
     without JS it simply stays hidden — the same links live in the footer. */
  .wrap--header { justify-content: space-between; }
  .site-header__stack { position: static; flex: 0 0 auto; padding-right: 0; }
  .main-nav .navbar-toggler { position: static; transform: none; }
  .utility-bar { display: none; }
  .utility-bar--in-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
    padding: .9rem 1rem .3rem;
    margin-top: .4rem;
    border-top: 1px solid rgba(255, 255, 255, .18);
  }
  .utility-bar--in-menu .utility-bar__weather { font-size: .875rem; }

  .pillars__grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .initiative__body { text-align: center; }
  .pillar__frame { aspect-ratio: 16 / 9; }

  .legend__swatch { width: 92px; }
}

@media (max-width: 479.98px) {
  .stat-grid { grid-template-columns: minmax(0, 1fr); }
}

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

/* Footer county link */
.site-footer__county { margin: clamp(12px, 1.4vw, 20px) 0 0; text-align: center; }
.site-footer__county a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer__county a:hover { opacity: .8; }

/* Location Weather plugin, flattened to sit inline in the utility bar */
.utility-bar__weather .splw-main-wrapper { max-width: none !important; margin: 0 !important; }
.utility-bar__weather .splw-lite-wrapper { background: transparent !important; border: 0 !important; border-radius: 0 !important; }
.utility-bar__weather .splw-lite-templates-body { padding: 0 !important; }
.utility-bar__weather .splw-lite-current-temp,
.utility-bar__weather .splw-cur-temp { display: flex; align-items: center; gap: .35em; margin: 0 !important; color: inherit !important; font-size: inherit; line-height: 1; }
.utility-bar__weather .splw-weather-icon { width: 1.4em !important; height: auto; }
.utility-bar__weather .cur-temp,
.utility-bar__weather .current-temperature,
.utility-bar__weather .temperature-scale { font-size: inherit !important; font-weight: inherit !important; line-height: 1 !important; vertical-align: baseline !important; }
.utility-bar__weather .temperature-scale { margin-left: .05em; }
.utility-bar__weather .lw-footer { display: none !important; }
