/* =========================================================================
   Apple Valley POC — styles.css
   Brand: High Desert modern civic (Blueprint §3)
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --navy-900: #0E1A31;
  --navy-800: #14223B;
  --navy:     #1B2A4A;
  --navy-700: #26375D;
  --red:      #C0392B;
  --red-700:  #9E2E22;
  --sand:     #E8A13C;
  --sand-200: #F6D89E;
  --sand-050: #FBEFD6;

  /* Warm neutral ramp */
  --paper:    #FAF8F5;
  --warm-25:  #FCFBF9;
  --warm-50:  #F6F2EC;
  --warm-100: #EEE8DF;
  --warm-200: #E1D8CB;
  --warm-300: #CBBEAC;
  --warm-400: #A7997F;   /* ~4.6:1 on white — non-text only */
  --warm-500: #7C6F5C;   /* ~5.7:1 on white */
  --warm-600: #5E5344;
  --warm-700: #463D31;
  --warm-800: #2E271F;
  --warm-900: #1C1712;

  --ink:      #26201A;   /* body text ~13:1 on paper */
  --ink-soft: #5E5344;

  --ring: 0 0 0 3px rgba(27, 42, 74, .35);

  --shadow-xs: 0 1px 2px rgba(28, 23, 18, .06), 0 1px 3px rgba(28, 23, 18, .08);
  --shadow-sm: 0 2px 6px rgba(28, 23, 18, .08), 0 4px 12px rgba(28, 23, 18, .06);
  --shadow-lg: 0 12px 28px rgba(28, 23, 18, .14), 0 4px 10px rgba(28, 23, 18, .08);

  --r-sm: 8px;
  --r:    12px;
  --r-lg: 16px;
  --r-xl: 22px;

  --wrap: 1200px;
  --gap: 24px;

  --font-ui: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); color: var(--navy); line-height: 1.15; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

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

/* ---------- Utilities ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
:where(section[id], [id].section, main [id]) { scroll-margin-top: 92px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.muted { color: var(--ink-soft); font-weight: 400; }

.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
  transform: translateY(-150%); transition: transform .15s ease;
}
.skip-link:focus { transform: translateY(0); text-decoration: none; }

:where(a, button, input, [tabindex]):focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 11px 20px;
  border-radius: 10px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 15px; line-height: 1;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .05s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-800); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--warm-300); }
.btn--ghost:hover { background: var(--warm-50); border-color: var(--warm-400); }

/* Tags & chips */
.tag {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .02em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
  background: var(--warm-100); color: var(--warm-700);
}
.tag--gov { background: #EAF0FA; color: var(--navy); }
.tag--community { background: #FCEDDA; color: #8A5410; }
.tag--works { background: #E9F2EC; color: #245C3B; }

.chip {
  display: inline-flex; align-items: center; min-height: 34px;
  padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 500;
  background: rgba(255, 255, 255, .16); color: #fff; border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(4px);
}
.chip:hover { background: rgba(255, 255, 255, .28); text-decoration: none; }

/* Section scaffolding */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section--alt { background: var(--warm-50); }

/* Decorative blue faded pattern behind white canvases */
.blue-canvas { position: relative; }
.blue-canvas > .wrap { position: relative; z-index: 1; }
.blue-canvas::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(120% 90% at 92% -12%, rgba(27,42,74,.09), transparent 60%),
    radial-gradient(110% 85% at 4% 112%, rgba(38,55,93,.07), transparent 60%),
    radial-gradient(rgba(27,42,74,.05) 1px, transparent 1.5px);
  background-size: 100% 100%, 100% 100%, 26px 26px;
  background-position: center, center, 0 0;
  background-repeat: no-repeat, no-repeat, repeat;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
}

.section__head { max-width: 62ch; margin-bottom: 36px; }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }
.section__title { font-size: clamp(26px, 3.4vw, 36px); }
.section__sub { margin-top: 10px; color: var(--ink-soft); font-size: 17px; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--navy); white-space: nowrap; }
.link-more .icon { width: 18px; height: 18px; }
.link-more:hover { color: var(--red); text-decoration: none; }

/* =========================================================================
   §0 Alert bar
   ========================================================================= */
.alert-bar { background: var(--sand-200); color: var(--warm-900); border-bottom: 1px solid rgba(0,0,0,.06); }
.alert-bar[hidden] { display: none; }
.alert-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 9px; }
.alert-bar__text { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.alert-bar__text .icon { width: 18px; height: 18px; color: #8A5410; }
.alert-bar__close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 8px; border: 0; background: transparent; color: var(--warm-800);
}
.alert-bar__close:hover { background: rgba(0,0,0,.08); }
.alert-bar__close .icon { width: 18px; height: 18px; }

/* =========================================================================
   §1 Header + nav
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250, 248, 245, .9);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--warm-200);
}
.site-header__inner { display: flex; align-items: center; gap: 20px; height: 72px; position: relative; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); }
.brand:hover { text-decoration: none; }
.brand__mark { color: var(--red); display: inline-flex; }
.brand__mark svg { width: 38px; height: 38px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 21px; color: var(--navy); letter-spacing: -0.01em; }
.brand__sub { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-top: 3px; }

.nav { margin-left: 8px; }
.nav__list { display: flex; align-items: center; gap: 4px; }
/* scope to the tab links only — a bare ".nav__list a" leaks into every mega anchor */
.nav__list > li > a.nav__link {
  display: inline-flex; align-items: center; height: 40px; padding: 0 14px;
  border-radius: 8px; font-weight: 500; font-size: 15px; color: var(--warm-800);
}
.nav__list > li > a.nav__link:hover { background: var(--warm-100); color: var(--navy); text-decoration: none; }

.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.header-search {
  display: flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 14px; width: 220px;
  background: #fff; border: 1px solid var(--warm-200); border-radius: 999px;
}
.header-search:focus-within { border-color: var(--navy); box-shadow: var(--ring); }
.header-search__icon { width: 18px; height: 18px; color: var(--warm-500); }
.header-search input { border: 0; outline: 0; background: transparent; width: 100%; font-size: 15px; color: var(--ink); }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--warm-200);
  background: #fff; color: var(--navy);
}
.nav-toggle:hover { background: var(--warm-50); }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer[hidden] { display: none; }
.drawer::before { content: ""; position: absolute; inset: 0; background: rgba(14, 26, 49, .5); backdrop-filter: blur(2px); }
.drawer__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(86vw, 360px);
  background: var(--paper); box-shadow: var(--shadow-lg);
  padding: 20px; display: flex; flex-direction: column; gap: 18px;
  animation: slideIn .2s ease;
}
@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; }
.header-search--drawer { width: 100%; }
.drawer__list { display: flex; flex-direction: column; gap: 4px; }
.drawer__list a { display: flex; align-items: center; min-height: 48px; padding: 0 12px; border-radius: 10px; font-size: 17px; font-weight: 500; color: var(--warm-800); }
.drawer__list a:hover { background: var(--warm-100); text-decoration: none; }
.drawer__list a.drawer__cta { margin-top: 8px; width: 100%; justify-content: center; color: #fff; }
.drawer__list a.drawer__cta:hover { background: var(--navy-800); }

/* =========================================================================
   §2 Hero — fullscreen Ken Burns crossfade
   ========================================================================= */
.hero { position: relative; isolation: isolate; min-height: 100svh; display: flex; align-items: center; background: var(--navy-900); overflow: hidden; }
.hero__slides { position: absolute; inset: -24px; z-index: -2; transform: translate(var(--px, 0), var(--py, 0)); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.hero__slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; will-change: opacity, transform; animation: heroKB 24s infinite; }
.hero__slide:nth-child(1) { animation-delay: 0s; }
.hero__slide:nth-child(2) { animation-delay: 8s; }
.hero__slide:nth-child(3) { animation-delay: 16s; }
@keyframes heroKB {
  0%   { opacity: 0; transform: scale(1.05); }
  6%   { opacity: 1; }
  33%  { opacity: 1; }
  40%  { opacity: 0; }
  100% { opacity: 0; transform: scale(1.17); }
}
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(9,16,30,.88) 0%, rgba(9,16,30,.58) 42%, rgba(9,16,30,.14) 78%, rgba(9,16,30,0) 100%),
    linear-gradient(0deg, rgba(9,16,30,.62) 0%, rgba(9,16,30,0) 46%);
}
.hero__inner { padding-block: 64px; color: #fff; max-width: 760px; }
.hero__eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sand-200); }
.hero__title { color: #fff; font-size: clamp(34px, 6vw, 60px); font-weight: 700; margin-top: 14px; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero__lead { margin-top: 16px; font-size: clamp(18px, 2.4vw, 22px); color: rgba(255,255,255,.92); font-weight: 500; }

.hero-search {
  margin-top: 22px; display: flex; align-items: center; gap: 8px;
  background: #fff; border-radius: 999px; padding: 7px 7px 7px 18px; max-width: 560px;
  box-shadow: var(--shadow-lg);
}
.hero-search__icon { width: 20px; height: 20px; color: var(--warm-500); }
.hero-search input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 16px; color: var(--ink); min-width: 0; }
.hero-search input::placeholder, .header-search input::placeholder { color: var(--warm-600); opacity: 1; }
.hero-search__submit { border-radius: 999px; }
.hero__chips { margin-top: 18px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.hero__chips-label { font-size: 14px; color: rgba(255,255,255,.8); font-weight: 500; }

/* =========================================================================
   §3 Services grid
   ========================================================================= */
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-tile {
  display: flex; flex-direction: column; gap: 4px;
  min-height: 132px; padding: 20px; height: 100%;
  background: #fff; border: 1px solid var(--warm-200); border-radius: var(--r);
  box-shadow: var(--shadow-xs); color: var(--ink);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.service-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--warm-300); text-decoration: none; }
.service-tile__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 10px;
  background: #EAF0FA; color: var(--navy);
}
.service-tile__icon .icon { width: 24px; height: 24px; }
.service-tile:hover .service-tile__icon { background: var(--navy); color: #fff; }
.service-tile__label { font-weight: 600; font-size: 16px; color: var(--navy); }
.service-tile__desc { font-size: 13.5px; color: var(--ink-soft); }

/* =========================================================================
   §4 News
   ========================================================================= */
.news__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: #fff; border: 1px solid var(--warm-200); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-xs); transition: transform .12s ease, box-shadow .12s ease; }
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.news-card__link { display: flex; flex-direction: column; height: 100%; color: var(--ink); }
.news-card__link:hover { text-decoration: none; }
.news-card__media { position: relative; aspect-ratio: 5 / 3; background: var(--warm-100); }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; }
.news-card__pin { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--red); color: #fff; font-size: 12px; font-weight: 600; }
.news-card__pin .icon { width: 14px; height: 14px; }
.news-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-card__title { font-family: var(--font-ui); font-weight: 600; font-size: 18px; line-height: 1.3; color: var(--navy); letter-spacing: 0; }
.news-card__excerpt { font-size: 14.5px; color: var(--ink-soft); }
.news-card__date { margin-top: auto; font-size: 13px; color: var(--warm-500); font-weight: 500; }
.news-card--pinned { grid-row: span 1; border-color: var(--sand-200); }

/* =========================================================================
   §5 Events
   ========================================================================= */
.events__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.event-card { background: #fff; border: 1px solid var(--warm-200); border-radius: var(--r); box-shadow: var(--shadow-xs); transition: transform .12s ease, box-shadow .12s ease; }
.event-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.event-card__link { display: flex; align-items: center; gap: 14px; padding: 16px; color: var(--ink); height: 100%; }
.event-card__link:hover { text-decoration: none; }
.event-date {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 58px; height: 62px; flex: none; border-radius: 10px;
  background: var(--navy); color: #fff;
}
.event-date__mon { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .9; }
.event-date__day { font-family: var(--font-display); font-size: 26px; font-weight: 700; line-height: 1; }
.event-card__body { display: flex; flex-direction: column; gap: 4px; }
.event-card__title { font-weight: 600; font-size: 16px; color: var(--navy); }
.event-card__title em { font-style: italic; }
.event-card__meta { font-size: 13.5px; color: var(--ink-soft); }

/* =========================================================================
   §6 Council block
   ========================================================================= */
.council { display: grid; grid-template-columns: 1fr 1fr; min-height: 480px; }
.council__media {
  background: var(--navy-800) center/cover no-repeat;
  background-image: linear-gradient(180deg, rgba(14,26,49,.15), rgba(14,26,49,.5)), url("../images/council-civic.webp");
}
.council__panel { background: var(--navy); color: #fff; display: flex; align-items: center; }
.council__inner { padding: clamp(40px, 6vw, 72px); max-width: 620px; }
.council__eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sand-200); }
.council__title { color: #fff; font-size: clamp(26px, 3.2vw, 34px); margin-top: 12px; }
.council__lead { margin-top: 14px; color: rgba(255,255,255,.82); font-size: 17px; }
.council__next { display: flex; align-items: flex-start; gap: 10px; margin-top: 20px; padding: 14px 16px; border-radius: var(--r); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: 15px; }
.council__next .icon { width: 20px; height: 20px; color: var(--sand-200); margin-top: 1px; }
.council__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.council__panel .btn--primary { background: #fff; color: var(--navy); }
.council__panel .btn--primary:hover { background: var(--warm-100); }
.council__panel .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.council__panel .btn--ghost:hover { background: rgba(255,255,255,.12); }
.council__seats { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; }
.seat { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 82px; text-align: center; }
.seat__avatar { display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(160deg, var(--navy-700), var(--navy-900)); border: 1px solid rgba(255,255,255,.2); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 4px 12px rgba(0,0,0,.25); color: rgba(255,255,255,.6); transition: border-color .2s ease, color .2s ease, transform .2s ease; }
.seat:hover .seat__avatar { border-color: var(--sand-200); color: #fff; transform: translateY(-3px); }
.seat__avatar .icon { width: 26px; height: 26px; }
.seat__role { font-size: 12px; color: rgba(255,255,255,.8); line-height: 1.25; }
.council__note { margin-top: 22px; font-size: 12.5px; color: rgba(255,255,255,.55); font-style: italic; }

/* =========================================================================
   §7 Gallery
   ========================================================================= */
.stat-chips { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.stat-chip {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 999px;
  background: #fff; border: 1px solid var(--warm-200); box-shadow: var(--shadow-xs);
}
.stat-chip .icon { width: 22px; height: 22px; color: var(--red); }
.stat-chip__num { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--navy); }
.stat-chip__label { font-size: 14px; color: var(--ink-soft); }

.gallery__grid { columns: 4; column-gap: 16px; }
.gallery__item { break-inside: avoid; margin: 0 0 16px; border-radius: var(--r); overflow: hidden; background: var(--warm-100); box-shadow: var(--shadow-xs); }
.gallery__item img { width: 100%; height: auto; transition: transform .4s ease; }
.gallery__item:hover img { transform: scale(1.04); }

/* =========================================================================
   §8 Departments
   ========================================================================= */
.departments__cols { columns: 4; column-gap: 24px; }
.departments__cols li { break-inside: avoid; margin-bottom: 2px; }
.departments__cols a {
  display: block; padding: 11px 14px; border-radius: 10px;
  font-weight: 500; color: var(--warm-800); border: 1px solid transparent;
}
.departments__cols a:hover { background: #fff; border-color: var(--warm-200); color: var(--navy); text-decoration: none; box-shadow: var(--shadow-xs); }

/* =========================================================================
   §9 Connect / newsletter
   ========================================================================= */
.connect { background: var(--navy); color: #fff; padding: clamp(48px, 6vw, 76px) 0; }
.connect__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.connect__title { color: #fff; font-size: clamp(26px, 3.2vw, 34px); }
.connect__lead { margin-top: 12px; color: rgba(255,255,255,.85); font-size: 17px; }
.connect__demo { color: var(--sand-200); font-size: 14px; }
.connect__social { display: flex; gap: 12px; margin-top: 22px; }
.social { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.16); }
.social:hover { background: rgba(255,255,255,.2); }
.social .icon { width: 20px; height: 20px; }

.connect__form { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-lg); padding: 24px; }
.field-label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px; color: #fff; }
.connect__row { display: flex; gap: 10px; }
.connect__row input {
  flex: 1; min-width: 0; height: 48px; padding: 0 16px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.95); color: var(--ink); font-size: 15px;
}
.connect__row input:focus-visible { outline: 2px solid var(--sand-200); outline-offset: 2px; }
.connect__row .btn--primary { background: var(--red); border-color: var(--red); }
.connect__row .btn--primary:hover { background: var(--red-700); }
.field-help { margin-top: 10px; font-size: 13px; color: rgba(255,255,255,.7); }
.field-error { margin-top: 10px; font-size: 13.5px; color: #FFC9C2; font-weight: 500; }
.field-ok { margin-top: 10px; font-size: 13.5px; color: #BFE9CC; font-weight: 500; }
.field-error[hidden], .field-ok[hidden] { display: none; }

/* =========================================================================
   §10 Footer
   ========================================================================= */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.75); padding-top: 56px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.brand__name--footer { color: #fff; display: block; margin-bottom: 14px; }
.site-footer__addr { display: flex; align-items: center; gap: 9px; font-size: 14.5px; margin-bottom: 8px; }
.site-footer__addr .icon { width: 17px; height: 17px; color: var(--sand-200); flex: none; }
.site-footer__heading { font-family: var(--font-ui); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.site-footer__col ul { display: flex; flex-direction: column; gap: 9px; }
.site-footer__col a { color: rgba(255,255,255,.72); font-size: 14.5px; }
.site-footer__col a:hover { color: #fff; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.disclaimer { font-size: 13px; color: rgba(255,255,255,.6); max-width: 70ch; }
.disclaimer strong { color: rgba(255,255,255,.82); }
.credit { font-size: 13px; color: rgba(255,255,255,.6); white-space: nowrap; }
.credit a { color: var(--sand-200); font-weight: 600; }
.site-footer .muted { color: rgba(255, 255, 255, .6); }

/* Demo tooltip */
.demo-tip {
  position: fixed; z-index: 300; pointer-events: none;
  background: var(--warm-900); color: #fff; font-size: 13px; font-weight: 500;
  padding: 7px 12px; border-radius: 8px; box-shadow: var(--shadow-lg);
  transform: translate(-50%, -8px); opacity: 0; transition: opacity .12s ease;
}
.demo-tip:not([hidden]) { opacity: 1; }
.demo-tip::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: var(--warm-900); transform: translateX(-50%) rotate(45deg); }

/* Credits page */
.credit-list { display: flex; flex-direction: column; gap: 14px; }
.credit-row { display: flex; gap: 18px; padding: 16px 18px; background: #fff; border: 1px solid var(--warm-200); border-radius: var(--r); box-shadow: var(--shadow-xs); }
.credit-row__use { flex: none; width: 116px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--navy); padding-top: 2px; }
.credit-row__subject { font-weight: 600; color: var(--ink); }
.credit-row__meta { font-size: 14px; color: var(--ink-soft); margin-top: 3px; }
.credit-row__lic { color: var(--navy); font-weight: 600; }
.credit-row__src { display: inline-block; margin-top: 6px; font-size: 13.5px; font-weight: 500; }
@media (max-width: 560px) { .credit-row { flex-direction: column; gap: 6px; } .credit-row__use { width: auto; } }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1080px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .events__list { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { columns: 3; }
  .departments__cols { columns: 3; }
}

@media (max-width: 900px) {
  .nav, .header-search:not(.header-search--drawer), .header-contact { display: none; }
  .nav-toggle { display: inline-flex; }
  .council { grid-template-columns: 1fr; }
  .council__media { min-height: 260px; }
  .news__grid { grid-template-columns: 1fr; }
  .connect__inner { grid-template-columns: 1fr; gap: 28px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .wrap { padding-inline: 18px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .events__list { grid-template-columns: 1fr; }
  .gallery__grid { columns: 2; column-gap: 12px; }
  .gallery__item { margin-bottom: 12px; }
  .departments__cols { columns: 2; }
  .section__head--row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero-search { flex-wrap: wrap; border-radius: var(--r-lg); padding: 12px; }
  .hero-search input { width: 100%; padding: 6px 4px; }
  .hero-search__submit { width: 100%; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .services__grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   ✦ 10X ENHANCEMENTS — motion, mega menu, lightbox, residents, i18n
   ========================================================================= */

/* ---- Scroll-reveal + hero entrance ---- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--rd, 0ms); }
.js .reveal.in-view { opacity: 1; transform: none; }
.js .reveal-up { opacity: 0; animation: heroUp .9s var(--d, 0ms) cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes heroUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---- Hero scroll cue ---- */
.hero__scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: inline-flex; flex-direction: column; align-items: center; gap: 6px; color: rgba(255,255,255,.9); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; z-index: 2; }
.hero__scroll:hover { color: #fff; text-decoration: none; }
.hero__scroll .icon { width: 22px; height: 22px; transform: rotate(90deg); animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: rotate(90deg) translateX(0); } 50% { transform: rotate(90deg) translateX(6px); } }

/* ---- Header scroll state ---- */
.site-header { transition: box-shadow .25s ease, background-color .25s ease; }
.site-header.scrolled { background: rgba(250,248,245,.97); box-shadow: 0 8px 24px rgba(28,23,18,.10); }
.site-header__inner { transition: height .25s ease; }
.site-header.scrolled .site-header__inner { height: 62px; }

/* ---- Nav links + mega menu ---- */
.nav__link { display: inline-flex; align-items: center; gap: 5px; height: 40px; padding: 0 14px; border: 0; background: transparent; border-radius: 8px; font: inherit; font-weight: 500; font-size: 15px; color: var(--warm-800); cursor: pointer; }
.nav__link .chev { width: 15px; height: 15px; opacity: .65; transform: rotate(90deg); transition: transform .2s ease; }
.nav__link:hover, .has-mega:hover .nav__link, .has-mega.open .nav__link { background: var(--warm-100); color: var(--navy); text-decoration: none; }
.has-mega:hover .nav__link .chev, .has-mega.open .nav__link .chev { transform: rotate(-90deg); }

/* ---- Nav mega menu — full-width panel ---- */
.has-mega { position: static; }
.mega { position: absolute; left: 0; right: 0; top: calc(100% + 10px); z-index: 55; background: #fff; border: 1px solid var(--warm-200); border-radius: 20px; box-shadow: 0 30px 64px rgba(14,26,49,.20), 0 10px 24px rgba(14,26,49,.08); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .22s ease, transform .24s cubic-bezier(.2,.7,.2,1), visibility .24s; overflow: hidden; }
.mega::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.has-mega:hover > .mega, .has-mega:focus-within > .mega, .has-mega.open > .mega { opacity: 1; visibility: visible; transform: none; }
.mega__inner { display: grid; grid-template-columns: 330px 1fr 292px; }

/* feature image card */
.mega__feature { position: relative; display: flex; align-items: flex-end; min-height: 322px; padding: 26px; color: #fff; background-color: var(--navy); background-size: cover; background-position: center; overflow: hidden; }
.mega__feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,24,49,.12) 0%, rgba(15,24,49,.5) 52%, rgba(11,18,38,.92) 100%); z-index: 1; transition: background .25s ease, transform .5s ease; }
.mega__feature > * { transition: transform .5s ease; }
.mega__feature:hover { text-decoration: none; }
.mega__feature:hover::after { background: linear-gradient(180deg, rgba(15,24,49,.22) 0%, rgba(15,24,49,.58) 52%, rgba(11,18,38,.95) 100%); }
.mega__feature-body { position: relative; z-index: 2; display: block; }
.mega__feature-eyebrow { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--navy); background: var(--sand); padding: 4px 9px; border-radius: 6px; }
.mega__feature-title { display: block; font-family: var(--font-display); font-size: 26px; font-weight: 600; line-height: 1.08; margin-top: 12px; color: #fff; }
.mega__feature-desc { display: block; font-size: 13.5px; line-height: 1.5; margin-top: 9px; color: rgba(255,255,255,.88); max-width: 30ch; }
.mega__feature-cta { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; font-size: 14px; font-weight: 600; color: #fff; }
.mega__feature-cta .icon { width: 16px; height: 16px; transition: transform .2s ease; }
.mega__feature:hover .mega__feature-cta .icon { transform: translateX(4px); }

/* link columns — clean site-style cards, compact */
.mega__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.mega__col { padding: 24px 22px; }
.mega__title { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--warm-500); margin: 0 0 14px; padding: 0 2px; }
.mega__links { display: grid; gap: 10px; }
.mega .mega-link { display: flex; gap: 14px; align-items: center; height: auto; padding: 13px 36px 13px 14px; border-radius: var(--r); border: 1px solid var(--warm-200); background: #fff; box-shadow: var(--shadow-xs); color: var(--ink); position: relative; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.mega .mega-link::after { content: "\2192"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%) translateX(-5px); color: var(--red); font-weight: 700; font-size: 14px; opacity: 0; transition: opacity .15s ease, transform .15s ease; }
.mega .mega-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--warm-300); text-decoration: none; }
.mega .mega-link:hover::after { opacity: 1; transform: translateY(-50%); }
.mega-link__ic { width: 40px; height: 40px; border-radius: 10px; background: #EAF0FA; color: var(--navy); display: inline-flex; align-items: center; justify-content: center; flex: none; transition: background .15s ease, color .15s ease; }
.mega .mega-link:hover .mega-link__ic { background: var(--navy); color: #fff; }
.mega-link__ic .icon { width: 20px; height: 20px; }
.mega-link__tx { min-width: 0; }
.mega-link__t { font-weight: 600; font-size: 14.5px; color: var(--navy); display: block; line-height: 1.3; }
.mega-link__d { font-size: 13px; color: var(--ink-soft); display: block; margin-top: 2px; line-height: 1.4; }


/* right spotlight image card */
.mega__promo { position: relative; display: flex; align-items: flex-end; min-height: 322px; padding: 22px; color: #fff; background-color: var(--navy); background-size: cover; background-position: center; overflow: hidden; }
.mega__promo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,24,49,.14) 0%, rgba(15,24,49,.55) 55%, rgba(11,18,38,.9) 100%); z-index: 1; transition: background .25s ease; }
.mega__promo:hover { text-decoration: none; }
.mega__promo:hover::after { background: linear-gradient(180deg, rgba(15,24,49,.24) 0%, rgba(15,24,49,.62) 55%, rgba(11,18,38,.94) 100%); }
.mega__promo-body { position: relative; z-index: 2; display: block; }
.mega__promo-eyebrow { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.78); }
.mega__promo-title { display: block; font-family: var(--font-display); font-size: 20px; font-weight: 600; line-height: 1.12; margin-top: 7px; color: #fff; }
.mega__promo-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 13.5px; font-weight: 600; color: #fff; }
.mega__promo-cta .icon { width: 15px; height: 15px; transition: transform .2s ease; }
.mega__promo:hover .mega__promo-cta .icon { transform: translateX(4px); }


/* ---- Language switch ---- */
.lang-switch { display: inline-flex; align-items: center; border: 1px solid var(--warm-200); border-radius: 999px; overflow: hidden; background: #fff; }
.lang-switch__opt { padding: 7px 12px; font-size: 13px; font-weight: 700; color: var(--warm-600); line-height: 1; }
.lang-switch__opt:hover { text-decoration: none; background: var(--warm-50); }
.lang-switch__opt[aria-current="true"] { background: var(--navy); color: #fff; }

/* ---- Micro-interactions on existing components ---- */
.btn { position: relative; overflow: hidden; }
.btn--primary::after { content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.4), transparent); transform: skewX(-20deg); opacity: 0; }
.btn--primary:hover::after { animation: sheen .7s ease; }
@keyframes sheen { 0% { left: -75%; opacity: 0; } 25% { opacity: 1; } 100% { left: 145%; opacity: 0; } }

.service-tile { position: relative; overflow: hidden; }
.service-tile::after { content: "\2192"; position: absolute; right: 16px; bottom: 14px; font-size: 18px; font-weight: 700; color: var(--red); opacity: 0; transform: translateX(-6px); transition: opacity .2s ease, transform .2s ease; }
.service-tile:hover::after { opacity: 1; transform: none; }
.service-tile__icon { transition: background .18s ease, color .18s ease, transform .18s ease; }
.service-tile:hover .service-tile__icon { transform: translateY(-2px) scale(1.05); }

.news-card__media img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.news-card:hover .news-card__media img { transform: scale(1.07); }
.news-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,26,49,.3), transparent 55%); opacity: 0; transition: opacity .3s ease; }
.news-card:hover .news-card__media::after { opacity: 1; }
.news-card__title { transition: color .18s ease; }
.news-card:hover .news-card__title { color: var(--red); }

.event-card { position: relative; overflow: hidden; }
.event-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--red); transform: scaleY(0); transform-origin: top; transition: transform .25s ease; }
.event-card:hover::before { transform: scaleY(1); }
.event-date { transition: background .25s ease, transform .25s ease; }
.event-card:hover .event-date { background: var(--red); transform: scale(1.04); }

.chip { transition: background .2s ease, border-color .2s ease, transform .15s ease; }
.chip:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.65); }
.stat-chip { transition: transform .18s ease, box-shadow .18s ease; }
.stat-chip:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.social { transition: background .2s ease, transform .18s ease; }
.social:hover { transform: translateY(-3px); }

/* ---- Gallery → lightbox triggers ---- */
.gallery__item { position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; }
.gallery__item img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.gallery__item:hover img, .gallery__item:focus-visible img { transform: scale(1.08); }
.gallery__overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(0deg, rgba(14,26,49,.55), rgba(14,26,49,.05)); opacity: 0; transition: opacity .3s ease; }
.gallery__item:hover .gallery__overlay, .gallery__item:focus-visible .gallery__overlay { opacity: 1; }
.gallery__overlay .icon { width: 30px; height: 30px; color: #fff; transform: scale(.8); transition: transform .3s ease; }
.gallery__item:hover .gallery__overlay .icon { transform: none; }

/* ---- Lightbox ---- */
.lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 5vmin; }
.lightbox[hidden] { display: none; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(9,16,30,.92); backdrop-filter: blur(6px); animation: lbFade .25s ease; }
.lightbox__stage { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 14px; animation: lbZoom .3s cubic-bezier(.2,.7,.2,1); }
.lightbox__img { max-width: min(1100px, 92vw); max-height: 78vh; border-radius: var(--r); box-shadow: var(--shadow-lg); background: var(--navy-800); }
.lightbox__cap { color: rgba(255,255,255,.85); font-size: 14px; text-align: center; max-width: 70ch; }
.lightbox__close { position: absolute; top: -18px; right: -10px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); }
.lightbox__close:hover { background: var(--warm-100); }
.lightbox__close .icon { width: 22px; height: 22px; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.16); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.lightbox__nav:hover { background: rgba(255,255,255,.32); }
.lightbox__nav--prev { left: -6px; }
.lightbox__nav--next { right: -6px; }
.lightbox__nav .icon { width: 26px; height: 26px; }
.lightbox__nav--prev .icon { transform: scaleX(-1); }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lbZoom { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }

/* ---- Mobile drawer accordions + lang ---- */
.drawer__lang { margin-top: 4px; }
.drawer details { border-top: 1px solid var(--warm-200); }
.drawer details:last-of-type { border-bottom: 1px solid var(--warm-200); }
.drawer summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 50px; padding: 0 12px; font-size: 17px; font-weight: 600; color: var(--warm-800); cursor: pointer; list-style: none; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary .chev { width: 18px; height: 18px; transition: transform .2s ease; opacity: .6; }
.drawer details[open] summary .chev { transform: rotate(90deg); }
.drawer__sub { padding: 0 6px 10px; display: flex; flex-direction: column; }
.drawer__sub a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 8px; font-size: 15px; color: var(--warm-700); }
.drawer__sub a:hover { background: var(--warm-100); text-decoration: none; }

/* =========================================================================
   Residents page
   ========================================================================= */
.hero--sub { min-height: 60vh; }
.hero--sub .hero__inner { padding-block: 48px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13px; color: rgba(255,255,255,.72); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb .icon { width: 14px; height: 14px; opacity: .6; }

.res-group { padding: clamp(40px, 6vw, 72px) 0; }
.res-group--alt { background: var(--warm-50); }
.res-group__head { max-width: 62ch; margin-bottom: 26px; }
.res-group__eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.res-group__title { font-size: clamp(24px, 3vw, 32px); margin-top: 6px; }
.res-group__sub { margin-top: 8px; color: var(--ink-soft); font-size: 16.5px; }
.res-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.res-card { display: flex; flex-direction: column; gap: 5px; padding: 22px; background: #fff; border: 1px solid var(--warm-200); border-radius: var(--r); box-shadow: var(--shadow-xs); color: var(--ink); position: relative; overflow: hidden; transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease; }
.res-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--warm-300); text-decoration: none; }
.res-card__ic { width: 48px; height: 48px; border-radius: 12px; background: #EAF0FA; color: var(--navy); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 8px; transition: background .16s ease, color .16s ease, transform .16s ease; }
.res-card:hover .res-card__ic { background: var(--navy); color: #fff; transform: translateY(-2px); }
.res-card__ic .icon { width: 24px; height: 24px; }
.res-card__t { font-weight: 600; font-size: 16px; color: var(--navy); }
.res-card__d { font-size: 13.5px; color: var(--ink-soft); }
.res-card::after { content: "\2192"; position: absolute; right: 18px; top: 20px; font-weight: 700; color: var(--red); opacity: 0; transform: translateX(-6px); transition: opacity .2s ease, transform .2s ease; }
.res-card:hover::after { opacity: 1; transform: none; }

/* ---- Service detail pages ---- */
.res-grid--3 { grid-template-columns: repeat(3, 1fr); }
.hero--service .hero__inner { padding-top: 8px; padding-bottom: 8px; }
.hero__badge-row { display: inline-flex; align-items: center; gap: 12px; }
.hero__ic { width: 46px; height: 46px; border-radius: 13px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); color: #fff; display: inline-flex; align-items: center; justify-content: center; backdrop-filter: blur(6px); }
.hero__ic .icon { width: 24px; height: 24px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero--sub .hero__cta .btn--primary { background: #fff; color: var(--navy); border-color: #fff; }
.hero--sub .hero__cta .btn--primary:hover { background: var(--warm-100); }
.hero--sub .hero__cta .btn--ghost { color: #fff; border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.08); }
.hero--sub .hero__cta .btn--ghost:hover { background: rgba(255,255,255,.16); }
.hero--sub .hero__cta .btn .icon { width: 17px; height: 17px; }

.svc-how { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 4vw, 52px); align-items: start; }
.svc-how__main .section__head { margin-bottom: 24px; }
.steps { display: grid; gap: 20px; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.step__n { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.step__body { display: block; padding-top: 3px; }
.step__t { display: block; font-weight: 600; font-size: 17.5px; color: var(--navy); }
.step__d { display: block; color: var(--ink-soft); margin-top: 3px; font-size: 15px; }
.svc-help { background: #fff; border: 1px solid var(--warm-200); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 28px; }
.svc-help__t { font-size: 19px; color: var(--navy); }
.svc-help__d { color: var(--ink-soft); margin-top: 8px; font-size: 15px; }
.svc-help__meta { display: grid; gap: 16px; margin-top: 22px; }
.svc-help__meta li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink); line-height: 1.4; }
.svc-help__meta .icon { width: 20px; height: 20px; color: var(--red); flex: none; margin-top: 1px; }
.svc-help__meta b { color: var(--navy); }
@media (max-width: 900px) {
  .svc-how { grid-template-columns: 1fr; }
  .res-grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .res-grid--3 { grid-template-columns: 1fr; }
}

/* ---- Town events (home): calendar list + detail ---- */
.townevents__grid { display: grid; grid-template-columns: 420px 1fr; gap: 32px; align-items: start; }
.townevents__list { display: flex; flex-direction: column; gap: 12px; max-height: 600px; overflow-y: auto; padding: 4px 10px 4px 4px; margin: -4px 0 -4px -4px; scrollbar-width: thin; scrollbar-color: var(--warm-300) transparent; }
.townevents__list::-webkit-scrollbar { width: 8px; }
.townevents__list::-webkit-scrollbar-track { background: transparent; }
.townevents__list::-webkit-scrollbar-thumb { background: var(--warm-300); border-radius: 8px; }
.teitem { flex: none; display: flex; gap: 16px; align-items: center; text-align: left; width: 100%; padding: 16px; border-radius: var(--r-lg); border: 1px solid var(--warm-200); background: #fff; box-shadow: var(--shadow-xs); cursor: pointer; position: relative; overflow: hidden; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.teitem:hover { transform: translateY(-2px); border-color: var(--warm-300); box-shadow: var(--shadow-sm); }
.teitem[aria-selected="true"] { border-color: var(--navy); box-shadow: 0 10px 24px rgba(27,42,74,.14); }
.teitem[aria-selected="true"]::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 0 4px 4px 0; background: var(--red); }
.teitem__date { flex: none; width: 58px; height: 62px; border-radius: var(--r); background: var(--warm-50); border: 1px solid var(--warm-100); display: flex; flex-direction: column; align-items: center; justify-content: center; transition: background .15s ease, border-color .15s ease; }
.teitem[aria-selected="true"] .teitem__date { background: var(--navy); border-color: var(--navy); }
.teitem__mon { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--red); }
.teitem[aria-selected="true"] .teitem__mon { color: var(--sand-200); }
.teitem__day { font-size: 24px; font-weight: 800; color: var(--navy); line-height: 1; margin-top: 3px; }
.teitem[aria-selected="true"] .teitem__day { color: #fff; }
.teitem__body { min-width: 0; flex: 1; }
.teitem__cat { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--warm-600); background: var(--warm-50); border: 1px solid var(--warm-100); padding: 3px 9px; border-radius: 999px; }
.teitem__title { display: block; font-weight: 600; font-size: 15.5px; color: var(--navy); margin-top: 7px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.teitem__when { display: block; font-size: 13px; color: var(--ink-soft); margin-top: 3px; }
.teitem__chev { flex: none; color: var(--warm-400); transition: transform .15s ease, color .15s ease; }
.teitem__chev .icon { width: 18px; height: 18px; }
.teitem:hover .teitem__chev { transform: translateX(2px); color: var(--navy); }
.teitem[aria-selected="true"] .teitem__chev { color: var(--red); transform: translateX(2px); }

.townevents__detail { position: sticky; top: 96px; }
.tedetail { display: none; background: #fff; border: 1px solid var(--warm-200); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.tedetail.is-active { display: block; animation: teFade .3s ease; }
@keyframes teFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.tedetail__media { position: relative; aspect-ratio: 16 / 9; background: var(--warm-100); }
.tedetail__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tedetail__cat { position: absolute; left: 16px; top: 16px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); background: rgba(255,255,255,.92); padding: 6px 12px; border-radius: 999px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.tedetail__body { padding: 26px 28px 28px; }
.tedetail__title { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; color: var(--navy); line-height: 1.12; }
.tedetail__meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 14px; }
.tedetail__meta li { display: flex; gap: 9px; align-items: center; font-size: 14.5px; color: var(--ink); font-weight: 500; }
.tedetail__meta .icon { width: 18px; height: 18px; color: var(--red); flex: none; }
.tedetail__desc { margin-top: 16px; color: var(--ink-soft); font-size: 16px; line-height: 1.6; }
.tedetail__actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-top: 22px; }
@media (max-width: 900px) {
  .townevents__grid { grid-template-columns: 1fr; gap: 20px; }
  .townevents__list { flex-direction: row; max-height: none; overflow-x: auto; overflow-y: hidden; padding-bottom: 10px; }
  .teitem { min-width: 264px; }
  .townevents__detail { position: static; }
}

/* App CTA band */
.applink { background: var(--navy); color: #fff; padding: clamp(44px, 6vw, 72px) 0; overflow: hidden; }
.applink__inner { display: grid; grid-template-columns: 1.35fr 1fr; gap: 44px; align-items: center; }
.applink__eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sand-200); }
.applink__title { color: #fff; font-size: clamp(24px, 3.2vw, 34px); margin-top: 8px; }
.applink__lead { margin-top: 12px; color: rgba(255,255,255,.85); font-size: 17px; max-width: 52ch; }
.applink__badges { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.appbadge { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 12px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; transition: background .2s ease, transform .18s ease; }
.appbadge:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); text-decoration: none; }
.appbadge .icon { width: 22px; height: 22px; }
.appbadge span { display: flex; flex-direction: column; line-height: 1.15; }
.appbadge small { font-size: 11px; opacity: .8; }
.appbadge b { font-size: 14px; font-weight: 600; }
.applink__art { position: relative; display: flex; justify-content: center; }
.phone { width: 220px; aspect-ratio: 9 / 18; border-radius: 30px; background: linear-gradient(180deg, var(--navy-700), var(--navy-800)); border: 6px solid rgba(255,255,255,.14); box-shadow: var(--shadow-lg); padding: 16px 14px; display: flex; flex-direction: column; gap: 12px; transform: rotate(3deg); }
.phone__bar { height: 8px; width: 46px; background: rgba(255,255,255,.25); border-radius: 999px; margin: 0 auto 4px; }
.phone__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.phone__tile { aspect-ratio: 1; border-radius: 12px; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: #fff; }
.phone__tile .icon { width: 20px; height: 20px; }

/* Quick links */
.quicklinks__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.quicklinks a { display: flex; align-items: center; gap: 10px; padding: 16px 18px; background: #fff; border: 1px solid var(--warm-200); border-radius: var(--r); font-weight: 600; color: var(--navy); box-shadow: var(--shadow-xs); transition: transform .14s ease, box-shadow .14s ease; }
.quicklinks a:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); text-decoration: none; }
.quicklinks a .icon { width: 20px; height: 20px; color: var(--red); flex: none; }

/* =========================================================================
   Responsive — enhancements
   ========================================================================= */
@media (max-width: 1180px) {
  .mega__inner { grid-template-columns: 300px 1fr 264px; }
  .mega__feature, .mega__promo { min-height: 300px; }
}
@media (max-width: 1160px) {
  .header-search:not(.header-search--drawer) { display: none; }
}
@media (max-width: 1080px) {
  .res-grid { grid-template-columns: repeat(3, 1fr); }
  .quicklinks__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .mega { display: none !important; }
  .applink__inner { grid-template-columns: 1fr; gap: 28px; }
  .applink__art { display: none; }
  .res-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .res-grid { grid-template-columns: 1fr; }
  .quicklinks__grid { grid-template-columns: 1fr; }
  .lightbox__nav { display: none; }
  .lightbox__close { top: -6px; right: 2px; }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .hero__slide { animation: none !important; opacity: 0; }
  .hero__slide:first-child { opacity: 1; }
  .hero__slides { transform: none !important; }
  .js .reveal, .js .reveal-up { opacity: 1 !important; transform: none !important; animation: none !important; }
  .hero__scroll .icon { animation: none !important; }
  .btn--primary::after { display: none !important; }
}

/* =========================================================================
   ✦✦ v3 SHOWCASE — big, airy, custom cards (navy + white)
   ========================================================================= */
.section { padding: clamp(64px, 8vw, 120px) 0; }

/* Eyebrows + section-head variants */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 16px; }
.eyebrow__dash { width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--sand-200); }
.eyebrow-badge { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #fff; }
.eyebrow-badge__line { width: 30px; height: 1px; background: rgba(255,255,255,.5); }
.section__head--center { text-align: center; margin-inline: auto; max-width: 64ch; }
.section__head--center .eyebrow { justify-content: center; }
.section__head--light .section__title { color: #fff; }
.section__head--light .section__sub { color: rgba(255,255,255,.75); }
.section__title--xl { font-size: clamp(30px, 4vw, 46px); }
.section--dark { background: var(--navy-900); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }

/* Hero split + stats + watermark */
.hero__inner--split { display: flex; align-items: center; justify-content: space-between; gap: 56px; max-width: 1200px; }
.hero__lead-col { max-width: 640px; }
.hero__lead-col .hero__title { margin-top: 18px; }
.hero__stats { display: flex; flex-direction: column; flex: none; }
.hstat { padding: 22px 0; border-top: 1px solid rgba(255,255,255,.18); min-width: 210px; }
.hstat:first-child { border-top: 0; padding-top: 0; }
.hstat__num { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(38px, 4.4vw, 54px); color: #fff; line-height: 1; }
.hstat__label { display: block; margin-top: 8px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sand-200); }
.hero__watermark { position: absolute; left: 0; bottom: -.12em; z-index: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(90px, 17vw, 300px); line-height: .8; color: rgba(255,255,255,.05); white-space: nowrap; pointer-events: none; padding-inline: 24px; letter-spacing: -.02em; }
.hero__watermark::after { content: attr(data-text); }
.hero__inner--split { position: relative; z-index: 2; }
.hero__scroll { z-index: 3; }

/* Featured initiatives (bento) */
.initiatives__grid { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; gap: 20px; }
.initiative { position: relative; overflow: hidden; border-radius: var(--r-lg); display: block; color: #fff; box-shadow: var(--shadow-sm); }
.initiative:nth-child(1) { grid-row: span 2; }
.initiative:nth-child(4) { grid-column: span 2; }
.initiative__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.initiative:hover .initiative__img { transform: scale(1.06); }
.initiative__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 26px; background: linear-gradient(0deg, rgba(11,20,38,.9) 0%, rgba(11,20,38,.25) 45%, rgba(11,20,38,0) 78%); }
.initiative__cat { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sand-200); }
.initiative__title { font-family: var(--font-display); font-size: clamp(20px, 2vw, 27px); font-weight: 600; }
.initiative__loc { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: rgba(255,255,255,.85); }
.initiative__loc .icon { width: 16px; height: 16px; }
.initiative:hover { text-decoration: none; }

/* Departments split */
.deptsplit { display: grid; grid-template-columns: 1fr 1fr; }
.deptsplit__media { position: relative; min-height: 540px; }
.deptsplit__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.deptsplit__help { position: absolute; left: 0; bottom: 0; width: min(86%, 380px); margin: 26px; padding: 24px; background: var(--navy-900); color: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.deptsplit__help-ic { display: inline-flex; width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.12); color: var(--sand-200); align-items: center; justify-content: center; margin-bottom: 12px; }
.deptsplit__help-t { color: #fff; font-family: var(--font-ui); font-size: 18px; font-weight: 700; }
.deptsplit__help-d { margin-top: 6px; font-size: 14px; color: rgba(255,255,255,.75); }
.link-more--light { color: #fff; margin-top: 12px; }
.link-more--light:hover { color: var(--sand-200); }
.deptsplit__panel { background: var(--navy); color: #fff; display: flex; align-items: center; }
.deptsplit__panel-inner { padding: clamp(40px, 6vw, 80px); max-width: 660px; }
.deptsplit__title { color: #fff; font-size: clamp(26px, 3.2vw, 38px); }
.deptsplit__lead { margin-top: 12px; color: rgba(255,255,255,.78); font-size: 17px; }
.deptsplit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 30px 0; }
.deptcard { display: flex; flex-direction: column; gap: 4px; padding: 22px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); color: #fff; transition: background .18s ease, transform .18s ease, border-color .18s ease; }
.deptcard:hover { background: rgba(255,255,255,.1); transform: translateY(-3px); border-color: rgba(255,255,255,.26); text-decoration: none; }
.deptcard { position: relative; }
.deptcard__ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.18); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 8px; transition: background .18s ease, color .18s ease; }
.deptcard:hover .deptcard__ic { background: #fff; color: var(--navy); }
.deptcard::after { content: "\2192"; position: absolute; right: 20px; top: 20px; font-weight: 700; color: #fff; opacity: 0; transform: translateX(-6px); transition: opacity .2s ease, transform .2s ease; }
.deptcard:hover::after { opacity: .9; transform: none; }
.deptcard__ic .icon { width: 22px; height: 22px; }
.deptcard__t { font-weight: 600; font-size: 16px; color: #fff; }
.deptcard__d { font-size: 13.5px; color: rgba(255,255,255,.72); }
.deptsplit__panel .btn--primary { background: #fff; color: var(--navy); }
.deptsplit__panel .btn--primary:hover { background: var(--warm-100); }

/* Event rows */
.eventrows { display: flex; flex-direction: column; gap: 16px; }
.eventrow { background: #fff; border: 1px solid var(--warm-200); border-radius: var(--r-lg); box-shadow: var(--shadow-xs); overflow: hidden; transition: box-shadow .16s ease, transform .16s ease; }
.eventrow:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.eventrow__link { display: grid; grid-template-columns: auto 190px 1fr auto; align-items: center; gap: 24px; padding: 16px 24px 16px 16px; color: var(--ink); }
.eventrow__link:hover { text-decoration: none; }
.eventrow__date { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 86px; height: 86px; border-radius: var(--r); background: var(--navy); color: #fff; flex: none; transition: background .2s ease; }
.eventrow:hover .eventrow__date { background: var(--red); }
.eventrow__date b { font-family: var(--font-display); font-size: 30px; line-height: 1; }
.eventrow__date span { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; opacity: .85; margin-top: 4px; }
.eventrow__img { border-radius: var(--r); overflow: hidden; height: 104px; }
.eventrow__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.eventrow:hover .eventrow__img img { transform: scale(1.06); }
.eventrow__title { font-family: var(--font-display); font-size: 21px; font-weight: 600; color: var(--navy); }
.eventrow__meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 8px; }
.eventrow__meta > span { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-soft); }
.eventrow__meta .icon { width: 16px; height: 16px; color: var(--red); }
.eventrow__cta { flex: none; }
.events__foot { text-align: center; margin-top: 30px; }

/* Explore accordion */
.explore { padding: clamp(64px, 8vw, 120px) 0 8px; background: var(--navy-900); }
.explore .section__head { margin-bottom: 38px; }
.explore__accordion { display: flex; gap: 8px; height: min(80vh, 720px); padding: 0 8px 8px; }
.explore__panel { position: relative; flex: 1; min-width: 0; border: 0; padding: 0; cursor: pointer; background-size: cover; background-position: center; border-radius: var(--r); overflow: hidden; transition: flex .55s cubic-bezier(.2,.7,.2,1); }
.explore__panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,20,38,.88), rgba(11,20,38,.1) 60%); transition: background .4s ease; }
.explore__panel:hover, .explore__panel:focus-visible { flex: 3.4; }
.explore__panel:hover::after, .explore__panel:focus-visible::after { background: linear-gradient(0deg, rgba(11,20,38,.72), rgba(11,20,38,0) 62%); }
.explore__label { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 24px; color: #fff; font-family: var(--font-display); font-size: clamp(18px, 1.6vw, 26px); font-weight: 600; text-align: left; }

/* Team */
.team { padding-bottom: clamp(48px, 6vw, 88px); }
.team__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; margin-top: 10px; }
.member { position: relative; margin: 0; overflow: hidden; aspect-ratio: 3 / 4; background: var(--navy-800); }
.member__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.member:hover .member__photo { transform: scale(1.06); }
.member__body { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 3px; padding: 22px; color: #fff; background: linear-gradient(0deg, rgba(11,20,38,.92) 0%, rgba(11,20,38,.2) 46%, rgba(11,20,38,0) 72%); }
.member__name { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: #fff; }
.member__role { font-size: 13.5px; color: var(--sand-200); }
.member__social { display: flex; gap: 8px; margin-top: 12px; opacity: 0; transform: translateY(8px); transition: opacity .25s ease, transform .25s ease; }
.member:hover .member__social, .member:focus-within .member__social { opacity: 1; transform: none; }
.member__social a { display: inline-flex; width: 34px; height: 34px; border-radius: 9px; background: rgba(255,255,255,.16); color: #fff; align-items: center; justify-content: center; }
.member__social a:hover { background: #fff; color: var(--navy); }
.member__social .icon { width: 16px; height: 16px; }
.team__note { text-align: center; margin-top: 22px; font-size: 13px; color: var(--ink-soft); font-style: italic; }

/* Testimonial */
.testimonial { background: var(--warm-50); padding: clamp(64px, 9vw, 130px) 0; }
.testimonial__inner { max-width: 900px; margin-inline: auto; text-align: center; }
.testimonial__eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 18px; }
.testimonial__mark { display: block; font-family: var(--font-display); font-size: 110px; line-height: .5; color: var(--sand); height: 54px; }
.testimonial__quote { font-family: var(--font-display); font-size: clamp(23px, 3.3vw, 38px); font-weight: 500; line-height: 1.32; color: var(--navy); margin: 0 0 28px; letter-spacing: -.01em; }
.testimonial__by { display: inline-flex; align-items: center; gap: 14px; }
.testimonial__by img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.testimonial__by > span { text-align: left; display: flex; flex-direction: column; }
.testimonial__by b { color: var(--navy); font-size: 16px; }
.testimonial__by > span > span { color: var(--ink-soft); font-size: 14px; }

/* v3 responsive */
@media (max-width: 960px) {
  .hero__inner--split { flex-direction: column; align-items: flex-start; gap: 32px; }
  .hero__stats { flex-direction: row; gap: 28px; width: 100%; }
  .hstat { padding: 0 0 0 20px; border-top: 0; border-left: 1px solid rgba(255,255,255,.2); min-width: 0; flex: 1; }
  .hstat:first-child { border-left: 0; padding-left: 0; }
  .hstat__num { font-size: clamp(28px, 8vw, 40px); }
  .initiatives__grid { grid-auto-rows: 220px; }
  .deptsplit { grid-template-columns: 1fr; }
  .deptsplit__media { min-height: 340px; }
  .eventrow__link { grid-template-columns: auto 1fr; grid-template-areas: "date body" "img img" "cta cta"; row-gap: 14px; }
  .eventrow__date { grid-area: date; }
  .eventrow__body { grid-area: body; }
  .eventrow__img { grid-area: img; height: 160px; }
  .eventrow__cta { grid-area: cta; justify-self: start; }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .explore__accordion { flex-direction: column; height: auto; }
  .explore__panel { height: 130px; flex: none; }
  .explore__panel:hover, .explore__panel:focus-visible { flex: none; }
  .initiatives__grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .initiative:nth-child(1) { grid-row: span 1; }
  .initiative:nth-child(4) { grid-column: span 1; }
  .deptsplit__grid { grid-template-columns: 1fr; }
}
@media (hover: none) {
  .member__social { opacity: 1; transform: none; }
}

/* =========================================================================
   ✦✦✦ v4 polish — events (featured + tiles), council
   ========================================================================= */
.events__layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 22px; align-items: stretch; }
.event-feat { position: relative; display: flex; align-items: flex-end; min-height: 480px; border-radius: var(--r-lg); overflow: hidden; background-size: cover; background-position: center; color: #fff; box-shadow: var(--shadow-sm); }
.event-feat__scrim { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,20,38,.93) 0%, rgba(11,20,38,.45) 46%, rgba(11,20,38,.08) 80%); transition: background .3s ease; }
.event-feat:hover .event-feat__scrim { background: linear-gradient(0deg, rgba(11,20,38,.95) 0%, rgba(11,20,38,.52) 52%, rgba(11,20,38,.14) 86%); }
.event-feat__body { position: relative; z-index: 1; padding: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.event-feat__badge { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.32); padding: 5px 13px; border-radius: 999px; backdrop-filter: blur(4px); }
.event-feat__title { font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); font-weight: 600; }
.event-feat__meta { display: flex; flex-wrap: wrap; gap: 16px; }
.event-feat__meta > span { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; color: rgba(255,255,255,.88); }
.event-feat__meta .icon { width: 16px; height: 16px; color: rgba(255,255,255,.75); }
.event-feat .btn--primary { margin-top: 4px; background: #fff; color: var(--navy); }
.event-feat .btn--primary:hover { background: var(--warm-100); }
.event-tiles { display: flex; flex-direction: column; gap: 14px; }
.event-tile { display: flex; align-items: center; gap: 16px; padding: 18px; background: #fff; border: 1px solid var(--warm-200); border-radius: var(--r); box-shadow: var(--shadow-xs); color: var(--ink); flex: 1; transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease; }
.event-tile:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); border-color: var(--warm-300); text-decoration: none; }
.event-tile__date { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 62px; height: 66px; border-radius: 12px; background: var(--navy); color: #fff; flex: none; }
.event-tile__date b { font-family: var(--font-display); font-size: 24px; line-height: 1; }
.event-tile__date span { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; opacity: .85; margin-top: 3px; }
.event-tile__body { flex: 1; min-width: 0; }
.event-tile__title { display: block; font-weight: 600; font-size: 16px; color: var(--navy); }
.event-tile__meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 5px; }
.event-tile__meta > span { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--ink-soft); }
.event-tile__meta .icon { width: 14px; height: 14px; color: var(--red); }
.event-tile__arrow { flex: none; color: var(--warm-400); transition: color .2s ease, transform .2s ease; }
.event-tile:hover .event-tile__arrow { color: var(--red); transform: translateX(3px); }
.event-tile__arrow .icon { width: 20px; height: 20px; }

.council__panel { position: relative; overflow: hidden; }
.council__panel::before { content: ""; position: absolute; top: -18%; right: -12%; width: 420px; height: 420px; background: radial-gradient(circle, rgba(232,161,60,.14), transparent 68%); pointer-events: none; }
.council__next { border-left: 3px solid var(--sand); }
.council__seats { gap: 22px; }

@media (max-width: 900px) {
  .events__layout { grid-template-columns: 1fr; }
  .event-feat { min-height: 340px; }
}

/* News index filters */
.news__filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.chip--filter { background: var(--warm-50); color: var(--warm-700); border: 1px solid var(--warm-200); cursor: pointer; }
.chip--filter:hover { background: #fff; border-color: var(--warm-300); color: var(--navy); transform: translateY(-2px); }
.chip--filter.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.news__grid--index { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .news__grid--index { grid-template-columns: 1fr; } }

/* Contact page */
.contact-card { cursor: default; }
.contact-card:hover { transform: none; box-shadow: var(--shadow-xs); border-color: var(--warm-200); }
.contact-card::after { display: none; }
.contact-card:hover .res-card__ic { background: #EAF0FA; color: var(--navy); transform: none; }
.contactform { max-width: 780px; margin-inline: auto; }
.contactform__form { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.contactform__row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contactform__form .field-label { margin-top: 14px; }
.contactform__row2 .field-label { margin-top: 0; }
.contactform__form input, .contactform__form textarea { width: 100%; padding: 12px 16px; border-radius: 10px; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.96); color: var(--ink); font: inherit; font-size: 15px; }
.contactform__form input::placeholder, .contactform__form textarea::placeholder { color: var(--warm-500); }
.contactform__form input:focus-visible, .contactform__form textarea:focus-visible { outline: 2px solid var(--sand-200); outline-offset: 2px; }
.contactform__form textarea { resize: vertical; }
.contactform__form .btn--primary { align-self: flex-start; margin-top: 20px; background: var(--red); border-color: var(--red); }
.contactform__form .btn--primary:hover { background: var(--red-700); }
@media (max-width: 620px) { .contactform__row2 { grid-template-columns: 1fr; } }
