/* Tatale Sanguli District Assembly — GENERATED FILE. Edit src/ and run tools/build.py. */
/* ===== base/tokens.css ===== */
/* ==========================================================================
   Tatale Sanguli District Assembly — design system
   Author: redesign build. Single stylesheet, no dependencies.
   Sections: 1 tokens · 2 reset · 3 typography · 4 layout · 5 header/nav
             6 hero · 7 components · 8 footer · 9 utilities · 10 motion
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand — drawn from the national colours, muted for long-form reading */
  --green-900: #052a1a;
  --green-800: #083d26;
  --green-700: #0b5233;
  --green-600: #0f6b43;
  --green-500: #158455;
  --green-100: #e6f2ec;
  --green-050: #f3f8f5;

  --gold-700: #8a6300;
  --gold-500: #d29b06;
  --gold-300: #f2c94c;
  --gold-100: #fdf3d8;

  --red-700:  #8f1015;
  --red-600:  #b4121b;
  --red-100:  #fbe9ea;

  --blue-700: #0d4a72;   /* links inside body copy, distinct from brand green */
  --blue-100: #e7f0f7;

  /* Neutrals */
  --ink:      #111a16;
  --ink-soft: #33403a;
  --slate:    #5b6661;
  --slate-600:#4e5a55;
  --slate-500:#5a6560;
  --line:     #dde3e0;
  --line-soft:#eceff0;
  --bg:       #ffffff;
  --bg-alt:   #ffffff;
  --bg-dark:  #ffffff;

  /* Type */
  --font-display: "Outfit", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --step--1: clamp(0.82rem, 0.80rem + 0.10vw, 0.88rem);
  --step-0:  clamp(1rem, 0.97rem + 0.15vw, 1.075rem);
  --step-1:  clamp(1.16rem, 1.10rem + 0.30vw, 1.32rem);
  --step-2:  clamp(1.38rem, 1.26rem + 0.55vw, 1.70rem);
  --step-3:  clamp(1.64rem, 1.43rem + 0.95vw, 2.20rem);
  --step-4:  clamp(1.95rem, 1.60rem + 1.60vw, 2.90rem);
  --step-5:  clamp(2.30rem, 1.75rem + 2.60vw, 3.75rem);

  /* Space */
  --sp-1: 0.25rem; --sp-2: 0.5rem;  --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.5rem;  --sp-6: 2rem;    --sp-7: 3rem;    --sp-8: 4rem;
  --sp-9: 6rem;

  --wrap: 1180px;
  --wrap-narrow: 760px;
  --radius: 6px;
  --radius-lg: 12px;

  --shadow-1: 0 1px 2px rgba(9, 30, 20, .06), 0 1px 3px rgba(9, 30, 20, .08);
  --shadow-2: 0 4px 12px rgba(9, 30, 20, .08), 0 2px 4px rgba(9, 30, 20, .06);
  --shadow-3: 0 12px 32px rgba(9, 30, 20, .12);

  --focus: 0 0 0 3px #fff, 0 0 0 6px var(--gold-500);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: 200ms;
}

/* ===== base/reset.css ===== */
/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--step-0)/1.65 var(--font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
svg { max-width: 100%; display: inline-block; vertical-align: middle; }
ul, ol { padding-left: 1.15em; }
button { font: inherit; color: inherit; }
:where(a) { color: var(--blue-700); text-underline-offset: 3px; text-decoration-thickness: 1px; }
:where(a:hover) { text-decoration-thickness: 2px; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 3px; }
[id] { scroll-margin-top: clamp(80px, 11vh, 140px); }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--sp-6) 0; }

::selection { background: var(--gold-300); color: var(--green-900); }
img { height: auto; }

/* ===== base/typography.css ===== */
/* ---------- 3. Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; color: var(--green-900); margin: 0 0 var(--sp-3); letter-spacing: -0.01em; }
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p  { margin: 0 0 var(--sp-4); max-width: 68ch; }
.lede { font-size: var(--step-1); color: var(--ink-soft); line-height: 1.55; max-width: 60ch; }
.eyebrow {
  font: 700 var(--step--1)/1 var(--font-body);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-600); margin: 0 0 var(--sp-3);
  display: flex; align-items: center; gap: var(--sp-3);
}
.eyebrow::after { content: ""; flex: 0 0 34px; height: 2px; background: var(--gold-500); }
.eyebrow--center { justify-content: center; }
.eyebrow--light { color: var(--gold-300); }
small, .fine { font-size: var(--step--1); color: var(--slate-500); }

/* ===== base/layout.css ===== */
/* ---------- 4. Layout ---------- */
[hidden] { display: none !important; }   /* component display rules must not defeat the hidden attribute */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); margin-inline: auto; }
.section { padding: var(--sp-8) 0; background: #ffffff; color: var(--ink); }
.section--tight { padding: var(--sp-7) 0; }
.section--alt { background: #ffffff; }
.section--green { background: #ffffff; }
.section--dark { background: #ffffff !important; color: var(--ink) !important; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--dark h2, .section--dark h3 { color: var(--green-900) !important; }
.section--dark p { color: var(--slate-600) !important; }
.section--dark .eyebrow { color: var(--green-700) !important; }
.section--dark .card, .section--dark .tile { background: #ffffff !important; border: 1px solid var(--line) !important; box-shadow: var(--shadow-1) !important; color: var(--ink) !important; }
.section--dark .card:hover, .section--dark .tile:hover { box-shadow: 0 16px 32px rgba(5, 42, 26, 0.12) !important; }
.section--dark .btn--ghost { border-color: var(--green-700) !important; color: var(--green-700) !important; }
.section--dark .btn--ghost:hover { background: var(--green-700) !important; color: #fff !important; }
.section-head { margin-bottom: var(--sp-6); }
.section-head--center { text-align: center; margin-inline: auto; max-width: 62ch; }
.section-head--center p { margin-inline: auto; }
.section-head--center .eyebrow { justify-content: center; }

.grid { display: grid; gap: var(--sp-5); }
.grid > * { min-width: 0; }
@media (min-width: 620px)  { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 620px)  { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px)  { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 620px)  { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px)  { .grid--sidebar { grid-template-columns: minmax(0,1fr) 320px; gap: var(--sp-7); } }
@media (min-width: 900px)  { .grid--split { grid-template-columns: 1fr 1fr; gap: var(--sp-7); align-items: center; } }

/* ===== layout/header.css ===== */
/* ---------- 5. Header & navigation ---------- */
.skip-link {
  position: absolute; left: var(--sp-4); top: -100px; z-index: 200;
  background: var(--gold-300); color: var(--green-900); font-weight: 700;
  padding: var(--sp-3) var(--sp-4); border-radius: 0 0 var(--radius) var(--radius);
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 0; }

.flagline { height: 4px; background: linear-gradient(90deg, var(--red-600) 0 33.3%, var(--gold-300) 33.3% 66.6%, var(--green-600) 66.6% 100%); }

.utilbar { background: var(--green-900); color: #cfe0d5; font-size: var(--step--1); }
.utilbar__in { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); align-items: center; justify-content: space-between; min-height: 38px; padding-block: 6px; }
.utilbar__gov { display: flex; align-items: center; gap: var(--sp-2); letter-spacing: .02em; }
.utilbar__gov svg { flex: none; }
.utilbar__links { display: flex; gap: var(--sp-5); list-style: none; margin: 0; padding: 0; }
.utilbar a { color: #cfe0d5; text-decoration: none; }
.utilbar a:hover { color: #fff; text-decoration: underline; }

.masthead { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 100; }
.masthead.is-stuck { box-shadow: var(--shadow-2); }
.masthead__in { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); padding: var(--sp-4) 0; }
.brand { display: flex; align-items: center; gap: var(--sp-4); text-decoration: none; color: inherit; }
.brand__crest { width: 66px; height: 66px; flex: none; object-fit: contain; }
.brand__name { font-family: var(--font-display); font-size: var(--step-1); font-weight: 600; color: var(--green-800); line-height: 1.15; display: block; }
.brand__sub { font-size: var(--step--1); color: var(--slate-600); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 520px) {
  .brand__crest { width: 50px; height: 50px; }
  .brand__name { font-size: 1rem; }
  .utilbar__gov .utilbar__gov-long { display: none; }
}

.nav-toggle {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  background: var(--green-700); color: #fff; border: 0; border-radius: var(--radius);
  padding: 10px var(--sp-4); font-weight: 600; cursor: pointer;
}
.nav-toggle:hover { background: var(--green-800); }
.nav-toggle__bars { width: 20px; height: 20px; position: relative; flex: none; }
.nav-toggle__bars span { position: absolute; left: 1px; right: 1px; top: 50%; height: 2px; margin-top: -1px; border-radius: 2px; background: currentColor; transform-origin: 50% 50%; transition: transform 300ms var(--ease-out), opacity 200ms var(--ease); }
.nav-toggle__bars span:nth-child(1) { transform: translateY(-6px); }
.nav-toggle__bars span:nth-child(3) { transform: translateY(6px); }
[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: rotate(45deg); }
[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; transform: scaleX(0); }
[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: rotate(-45deg); }

.mainnav { border-top: 1px solid var(--line-soft); }
.mainnav__list { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; gap: var(--sp-1); }
.mainnav__link {
  display: block; padding: var(--sp-3) var(--sp-4); text-decoration: none;
  color: var(--ink-soft); font-weight: 600; font-size: 0.97rem;
  border-bottom: 3px solid transparent; transition: color var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.mainnav__link:not([aria-current]):hover { border-bottom-color: var(--green-100); }
.mainnav__link:hover { color: var(--green-700); background: var(--green-050); }
.mainnav__link[aria-current="page"] { color: var(--green-800); border-bottom-color: var(--gold-500); }
.mainnav__cta { margin-left: auto; align-self: center; }

@media (max-width: 899px) {
  .utilbar__links { display: none; }
  .mainnav { border-top: 0; }
  /* Grid-row trick: animates 0fr -> 1fr so the panel slides open to its real height. */
  .mainnav__panel {
    display: grid; grid-template-rows: 0fr; visibility: hidden;
    border-top: 1px solid transparent;
    transition: grid-template-rows 320ms var(--ease), visibility 0s linear 320ms, border-color 320ms var(--ease);
  }
  .mainnav__panel.is-open { grid-template-rows: 1fr; visibility: visible; border-top-color: var(--line); transition-delay: 0s; }
  .mainnav__list { flex-direction: column; flex-wrap: nowrap; gap: 0; min-height: 0; overflow: hidden; padding-bottom: 0; }
  .mainnav__panel.is-open .mainnav__list { overflow-y: auto; max-height: min(80vh, 660px); padding-bottom: var(--sp-4); }
  .mainnav__list > li { opacity: 0; transform: translateY(-6px); transition: opacity 260ms var(--ease), transform 260ms var(--ease); }
  .mainnav__panel.is-open .mainnav__list > li { opacity: 1; transform: none; }
  .mainnav__panel.is-open .mainnav__list > li:nth-child(1) { transition-delay: 40ms; }
  .mainnav__panel.is-open .mainnav__list > li:nth-child(2) { transition-delay: 70ms; }
  .mainnav__panel.is-open .mainnav__list > li:nth-child(3) { transition-delay: 100ms; }
  .mainnav__panel.is-open .mainnav__list > li:nth-child(4) { transition-delay: 130ms; }
  .mainnav__panel.is-open .mainnav__list > li:nth-child(5) { transition-delay: 160ms; }
  .mainnav__panel.is-open .mainnav__list > li:nth-child(6) { transition-delay: 190ms; }
  .mainnav__panel.is-open .mainnav__list > li:nth-child(n+7) { transition-delay: 220ms; }
  .mainnav__link { padding: var(--sp-4) 0; border-bottom: 1px solid var(--line-soft); border-left: 3px solid transparent; padding-left: var(--sp-3); }
  .mainnav__link[aria-current="page"] { border-bottom-color: var(--line-soft); border-left-color: var(--gold-500); background: var(--green-050); }
  .mainnav__cta { margin: var(--sp-4) 0 0; align-self: stretch; }
  .mainnav__cta .btn { width: 100%; justify-content: center; }
}
@media (min-width: 900px) and (max-width: 1139px) { .mainnav__link { padding-inline: var(--sp-3); font-size: .92rem; } }
/* Nine links leave no room for the CTA on mid-width screens; the utility bar already links to it. */
@media (min-width: 900px) and (max-width: 1399px) { .mainnav__cta { display: none; } }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .mainnav__panel { display: block !important; }
}

/* ===== layout/hero.css ===== */
/* ---------- 6. Hero ---------- */
.hero { position: relative; background: var(--green-900); color: #fff; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(1000px 480px at 12% -10%, rgba(21,132,85,.55), transparent 62%),
    radial-gradient(760px 420px at 92% 108%, rgba(210,155,6,.24), transparent 60%),
    url("../img/pattern.svg") right bottom / 520px auto no-repeat;
  opacity: .95;
}
.hero__in { position: relative; padding: var(--sp-9) 0 var(--sp-8); }
.hero h1 { color: #fff; max-width: 20ch; }
.hero h1 em { font-style: normal; color: var(--gold-300); }
.hero__sub { font-size: var(--step-1); color: #cfe0d5; max-width: 52ch; margin-bottom: var(--sp-6); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); align-items: center; }
.hero__meta { margin-top: var(--sp-7); display: flex; flex-wrap: wrap; gap: var(--sp-5) var(--sp-7); border-top: 1px solid rgba(255,255,255,.16); padding-top: var(--sp-5); }
.hero__fact strong { display: block; font-family: var(--font-display); font-size: var(--step-3); color: var(--gold-300); line-height: 1.1; }
.hero__fact span { font-size: var(--step--1); color: #b9ccbf; text-transform: uppercase; letter-spacing: .1em; }

/* Page header (interior pages) */
.pagehead { background: var(--green-800); color: #fff; position: relative; overflow: hidden; }
.pagehead::before { content: ""; position: absolute; inset: 0; background: radial-gradient(760px 340px at 88% -30%, rgba(21,132,85,.7), transparent 62%), url("../img/pattern.svg") right -60px bottom -40px / 380px auto no-repeat; opacity: .85; }
.pagehead__in { position: relative; padding: var(--sp-7) 0 var(--sp-7); }
.pagehead h1 { color: #fff; font-size: var(--step-4); max-width: 26ch; }
.pagehead p { color: #cfe0d5; max-width: 62ch; margin-bottom: 0; }

.breadcrumb { font-size: var(--step--1); margin-bottom: var(--sp-4); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: var(--sp-2); color: rgba(255,255,255,.5); }
.breadcrumb a { color: #d8e6dc; }
.breadcrumb [aria-current="page"] { color: var(--gold-300); }

/* ===== components/buttons.css ===== */
/* ---------- 7. Components ---------- */
.btn {
  --btn-bg: var(--green-600); --btn-fg: #fff; --btn-bd: var(--green-600);
  display: inline-flex; align-items: center; gap: var(--sp-3);
  background: var(--btn-bg); color: var(--btn-fg); border: 2px solid var(--btn-bd);
  padding: 12px var(--sp-5); border-radius: var(--radius);
  font-weight: 700; text-decoration: none; cursor: pointer;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:hover { --btn-bg: var(--green-700); --btn-bd: var(--green-700); }
.btn svg { flex: none; transition: transform var(--dur) var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--gold { --btn-bg: var(--gold-300); --btn-fg: var(--green-900); --btn-bd: var(--gold-300); }
.btn--gold:hover { --btn-bg: #ffd76a; --btn-bd: #ffd76a; }
.btn--ghost { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.55); }
.btn--ghost:hover { --btn-bg: rgba(255,255,255,.12); --btn-bd: #fff; }
.btn--outline { --btn-bg: #fff; --btn-fg: var(--green-700); --btn-bd: var(--green-600); }
.btn--outline:hover { --btn-bg: var(--green-050); --btn-fg: var(--green-800); }
.btn--sm { padding: 8px var(--sp-4); font-size: var(--step--1); }

.link-more { display: inline-flex; align-items: center; gap: var(--sp-2); font-weight: 700; text-decoration: none; color: var(--green-700); }
.link-more:hover { text-decoration: underline; text-underline-offset: 4px; }
.link-more svg { transition: transform var(--dur) var(--ease); }
.link-more:hover svg { transform: translateX(3px); }

.btn { white-space: nowrap; }
@media (max-width: 600px) { .hero__actions .btn { width: 100%; justify-content: center; } }

/* ===== components/alert.css ===== */
/* Alert / announcement bar */
.alert {
  background: var(--gold-100); border-top: 1px solid #e9d9a6; border-bottom: 1px solid #e9d9a6;
}
.alert__in {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  padding: var(--sp-4) 0;
}
.alert__tag {
  flex: none;
  background: var(--red-600);
  color: #fff;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 4px;
}
.alert p {
  margin: 0;
  color: #4a3a05;
  font-size: 0.97rem;
  line-height: 1.6;
  white-space: pre-line;
}
.alert a { color: var(--gold-700); font-weight: 700; }

/* Admin-managed banners */
.site-banners .alert { position: relative; }
.alert--alert { background: var(--red-100); border-color: #f0c4c6; }
.alert--alert p { color: var(--red-700); }
.alert--alert a { color: var(--red-700); }
.alert--success { background: var(--green-100); border-color: #c4e0d1; }
.alert--success .alert__tag { background: var(--green-700); }
.alert--success p { color: var(--green-900); }
.alert--success a { color: var(--green-700); }

/* ===== components/cards.css ===== */
/* Cards */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--sp-5); box-shadow: var(--shadow-1);
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
  display: flex; flex-direction: column; height: 100%;
}
.card h3 { font-size: var(--step-1); margin-bottom: var(--sp-2); }
.card p { font-size: 0.97rem; color: var(--slate-600); margin-bottom: var(--sp-4); }
.card > :last-child { margin-top: auto; margin-bottom: 0; }
a.card, .card--link { text-decoration: none; color: inherit; }
a.card:hover, .card--link:hover { border-color: var(--green-500); box-shadow: var(--shadow-3); transform: translateY(-4px); }
.card__icon {
  width: 46px; height: 46px; border-radius: 10px; background: var(--green-100);
  color: var(--green-700); display: grid; place-items: center; margin-bottom: var(--sp-4);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
a.card:hover .card__icon { background: var(--green-600); color: #fff; }
.card--flush { padding: 0; overflow: hidden; }
.card__body { padding: var(--sp-5); display: flex; flex-direction: column; flex: 1; }

.card__thumb { aspect-ratio: 16 / 9; background: var(--green-100); position: relative; display: grid; place-items: center; }
.card__thumb::after {
  content: attr(data-label); position: absolute; inset: auto var(--sp-3) var(--sp-3) var(--sp-3);
  font-size: 0.7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--green-700);
  text-align: center;
}

/* ===== components/tiles.css ===== */
/* Service tiles (compact) */
.tile {
  display: flex; gap: var(--sp-4); align-items: flex-start; text-decoration: none; color: inherit;
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--green-500);
  border-radius: var(--radius); padding: var(--sp-4) var(--sp-5);
  transition: box-shadow var(--dur) var(--ease), border-left-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.tile:hover { box-shadow: var(--shadow-2); border-left-color: var(--gold-500); transform: translateX(4px); }
.tile__ic { color: var(--green-600); flex: none; margin-top: 3px; }
.tile strong { display: block; font-family: var(--font-display); font-size: var(--step-1); color: var(--green-900); font-weight: 600; }
.tile span { font-size: 0.92rem; color: var(--slate-600); }

/* ===== components/stats.css ===== */
/* Stat band */
.stats { display: grid; gap: var(--sp-5); }
@media (min-width: 560px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 940px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { border-left: 3px solid var(--gold-500); padding-left: var(--sp-4); }
.stat__n { font-family: var(--font-display); font-size: var(--step-4); font-weight: 600; line-height: 1; color: var(--green-800); display: block; }
.stat__l { font-size: 0.95rem; color: var(--slate-600); }
.stat__src { display: block; font-size: 0.78rem; color: var(--slate-500); margin-top: 4px; }

/* ===== components/news.css ===== */
/* News list */
.newsitem { display: grid; gap: var(--sp-2) var(--sp-5); padding: var(--sp-5) 0; border-bottom: 1px solid var(--line); }
@media (min-width: 720px) { .newsitem { grid-template-columns: 132px 1fr; } }
.newsitem:first-of-type { border-top: 1px solid var(--line); }
.newsitem__date { font-size: 0.88rem; color: var(--slate-500); font-variant-numeric: tabular-nums; }
.newsitem h3 { font-size: var(--step-1); margin-bottom: var(--sp-2); }
.newsitem h3 a { color: var(--green-900); text-decoration: none; }
.newsitem h3 a:hover { color: var(--green-600); text-decoration: underline; text-underline-offset: 4px; }
.newsitem p { margin-bottom: var(--sp-3); font-size: 0.97rem; color: var(--slate-600); }

.pill {
  display: inline-block; font-size: 0.74rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: 3px 9px; border-radius: 100px;
  background: var(--green-100); color: var(--green-800);
}
.pill--gold { background: var(--gold-100); color: var(--gold-700); }
.pill--red { background: var(--red-100); color: var(--red-700); }
.pill--blue { background: var(--blue-100); color: var(--blue-700); }
.pill-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-bottom: var(--sp-3); }

/* ===== widgets/filters.css ===== */
/* Filter buttons */
.filters { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-bottom: var(--sp-5); }
.filters button {
  background: #fff; border: 1px solid var(--line); border-radius: 100px;
  padding: 7px var(--sp-4); font-size: 0.9rem; font-weight: 600; color: var(--slate-600); cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.filters button:hover { border-color: var(--green-500); color: var(--green-700); }
.filters button[aria-pressed="true"] { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.searchfield { position: relative; margin-bottom: var(--sp-4); max-width: 420px; }
.searchfield input {
  width: 100%; padding: 11px var(--sp-4) 11px 40px; font: inherit;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
}
.searchfield input:focus-visible { border-color: var(--green-500); }
.searchfield svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--slate-500); }
.is-hidden { display: none !important; }
.empty-note { padding: var(--sp-5); background: var(--bg-alt); border-radius: var(--radius); color: var(--slate-600); }

/* ===== widgets/accordion.css ===== */
/* Accordion */
.acc { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.acc__item + .acc__item { border-top: 1px solid var(--line); }
.acc__btn {
  display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4);
  background: #fff; padding: var(--sp-4) var(--sp-5); cursor: pointer;
  list-style: none; transition: background var(--dur) var(--ease);
}
.acc__btn::-webkit-details-marker { display: none; }
.acc__btn::marker { content: ""; }
.acc__btn h3 {
  margin: 0; font-size: var(--step-1); font-weight: 600; color: var(--green-900);
}
.acc__btn:hover { background: var(--green-050); }
.acc__btn:hover h3 { color: var(--green-700); }
.acc__btn svg { flex: none; color: var(--green-600); transition: transform var(--dur) var(--ease); }
details[open] > .acc__btn svg { transform: rotate(45deg); }
details[open] > .acc__btn { background: var(--green-050); }
.acc__panel { padding: var(--sp-2) var(--sp-5) var(--sp-5); }
.acc__panel > :last-child { margin-bottom: 0; }

/* ===== components/tables.css ===== */
/* Tables */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
table.data { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 460px; }
table.data caption { text-align: left; padding: var(--sp-4) var(--sp-5) 0; font-size: var(--step--1); color: var(--slate-500); caption-side: bottom; }
table.data th, table.data td { padding: var(--sp-3) var(--sp-5); text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
table.data thead th { background: var(--green-050); color: var(--green-800); font-family: var(--font-body); font-weight: 700; font-size: 0.88rem; letter-spacing: .04em; text-transform: uppercase; border-bottom: 2px solid var(--green-100); }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: var(--green-050); }
.num { text-align: right; font-variant-numeric: tabular-nums; }

/* ===== components/content-blocks.css ===== */
/* Definition list / profile facts */
.factlist { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.factlist > div { display: grid; gap: var(--sp-1); padding: var(--sp-4) 0; border-bottom: 1px solid var(--line); }
@media (min-width: 620px) { .factlist > div { grid-template-columns: 220px 1fr; gap: var(--sp-5); } }
.factlist dt { font-weight: 700; color: var(--green-800); }
.factlist dd { margin: 0; color: var(--ink-soft); }

/* Callout */
.callout { border-left: 4px solid var(--green-500); background: var(--green-050); padding: var(--sp-5); border-radius: 0 var(--radius) var(--radius) 0; }
.callout--gold { border-left-color: var(--gold-500); background: var(--gold-100); }
.callout--red { border-left-color: var(--red-600); background: var(--red-100); }
.callout > :last-child { margin-bottom: 0; }
.callout h3 { font-size: var(--step-1); }

/* Sidebar boxes */
.side { position: sticky; top: 128px; display: grid; gap: var(--sp-5); align-content: start; }
.side__box { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--sp-5); }
.side__box h3 { font-size: var(--step-1); }
.side__box ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-3); }
.side__box li { padding-bottom: var(--sp-3); border-bottom: 1px solid var(--line); }
.side__box li:last-child { border-bottom: 0; padding-bottom: 0; }
.side__box a { color: var(--green-700); font-weight: 600; text-decoration: none; }
.side__box a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* People / leadership */
.person { display: flex; gap: var(--sp-4); align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--sp-5); }
.person__ph { width: 72px; height: 72px; flex: none; border-radius: 50%; background: var(--green-100); color: var(--green-600); display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; }
.person h3 { font-size: var(--step-1); margin-bottom: 2px; }
.person .role { font-size: 0.9rem; color: var(--green-700); font-weight: 700; margin-bottom: var(--sp-2); }
.person p { font-size: 0.93rem; color: var(--slate-600); margin: 0; }

/* Steps */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-5); }
.steps li { counter-increment: s; position: relative; padding-left: 56px; min-height: 40px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--green-700); color: #fff; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: var(--step-1);
}
.steps h4 { margin-bottom: var(--sp-1); }
.steps p { margin-bottom: 0; font-size: 0.97rem; color: var(--slate-600); }

/* ===== components/cta-band.css ===== */
/* CTA band */
.cta-band { background: var(--green-700); color: #fff; border-radius: var(--radius-lg); padding: var(--sp-7); position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: url("../img/pattern.svg") right -40px center / 300px auto no-repeat; opacity: .35; }
.cta-band__in { position: relative; display: grid; gap: var(--sp-5); }
@media (min-width: 860px) { .cta-band__in { grid-template-columns: 1fr auto; align-items: center; } }
.cta-band h2 { color: #fff; margin-bottom: var(--sp-2); }
.cta-band p { color: #cfe0d5; margin: 0; }

@media (max-width: 600px) { .cta-band { padding: var(--sp-6) var(--sp-5); } .cta-band .btn { width: 100%; justify-content: center; } }

/* ===== components/map.css ===== */
/* Map placeholder */
.mapbox { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--green-050); }
.mapbox iframe { display: block; width: 100%; height: 340px; border: 0; }

/* ===== components/forms.css ===== */
/* Form */
.form { display: grid; gap: var(--sp-5); }
@media (min-width: 620px) { .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); } }
.field { display: grid; gap: var(--sp-2); align-content: start; }
.field label { font-weight: 700; font-size: 0.95rem; color: var(--green-900); }
.field .hint { font-size: 0.85rem; color: var(--slate-500); }
.field input, .field select, .field textarea {
  font: inherit; padding: 11px var(--sp-4); border: 1px solid var(--line);
  border-radius: var(--radius); background: #fff; color: var(--ink); width: 100%;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--green-500); }
.field textarea { min-height: 150px; resize: vertical; }
.req { color: var(--red-600); }

/* ===== components/markers.css ===== */
/* Placeholder marker — remove the rule to hide all markers at once */
.ph { color: var(--slate-600); }
.footer .ph, .section--dark .ph, .hero .ph, .pagehead .ph { color: inherit; opacity: .9; }

/* ===== layout/footer.css ===== */
/* ---------- 8. Footer ---------- */
.footer { background: var(--green-900); color: #b9cdc0; margin-top: var(--sp-6); }
.footer__main { padding: var(--sp-8) 0 var(--sp-7); display: grid; gap: var(--sp-6); }
@media (min-width: 760px)  { .footer__main { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .footer__main { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--sp-7); } }
.footer h2, .footer h3 { color: #fff; font-size: var(--step-0); font-family: var(--font-body); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: var(--sp-4); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-3); }
.footer a { color: #cfe0d5; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__brand { display: flex; gap: var(--sp-4); align-items: center; margin-bottom: var(--sp-4); }
.footer__brand img, .footer__brand svg { width: 88px; height: 88px; flex: none; object-fit: contain; }
.footer__brand strong { color: #fff; font-family: var(--font-display); font-size: var(--step-1); display: block; line-height: 1.2; }
.footer__brand span > span { color: var(--gold-300); font-weight: 600; font-size: 0.92rem; letter-spacing: 0.06em; text-transform: uppercase; display: block; margin-top: 4px; }
.footer__bar p { margin: 0; }
.footer .fine, .footer .fine a { color: #b9cdc0; }
.footer li svg { margin-right: 6px; color: var(--gold-300); }
.footer .btn { color: var(--btn-fg); text-decoration: none; }
.footer .btn--gold { color: var(--green-900); }
.footer .btn--gold:hover { color: var(--green-900); text-decoration: none; }

/* ===== widgets/to-top.css ===== */
.to-top {
  position: fixed; right: var(--sp-5); bottom: 5.5rem; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--green-700); box-shadow: var(--shadow-2);
  display: grid; place-items: center; cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur), background var(--dur) var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--green-050); }

@media (max-width: 600px) { .to-top { width: 40px; height: 40px; } }

/* ===== base/utilities.css ===== */
/* ---------- 9. Utilities ---------- */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.flow > * + * { margin-top: var(--sp-4); }
.mb-0 { margin-bottom: 0 !important; }
.mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); }
.center { text-align: center; }
.list-check { list-style: none; padding: 0; display: grid; gap: var(--sp-3); }
.list-check li { position: relative; padding-left: 30px; font-size: 0.97rem; }
.list-check li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230f6b43' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.notice-print { display: none; }

/* ===== motion/core.css ===== */
/* ---------- 10. Motion (compositor-only: transform + opacity) ---------- */
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); }

/* Scroll reveal: content rises into place as it enters the screen (animation, so hover lifts still work after) */
.js .reveal:not(.is-in) { opacity: 0; }
.js .reveal.is-in { animation: revealUp 800ms var(--ease-out) backwards; }
@keyframes revealUp { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
@keyframes revealLeft { from { opacity: 0; transform: translateX(-56px); } to { opacity: 1; transform: none; } }
@keyframes revealRight { from { opacity: 0; transform: translateX(56px); } to { opacity: 1; transform: none; } }
@keyframes revealZoom { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
.reveal-delay-1 { transition-delay: 90ms; animation-delay: 90ms; }
.reveal-delay-2 { transition-delay: 180ms; animation-delay: 180ms; }
.reveal-delay-3 { transition-delay: 270ms; animation-delay: 270ms; }

/* Cards & Grid items: smooth hover lift & elevation */
.card, .tile, .shot, .person, .dept, .photo-frame {
  transition: opacity 650ms var(--ease-out), transform 320ms cubic-bezier(.16, 1, .3, 1), box-shadow 320ms cubic-bezier(.16, 1, .3, 1), border-color 300ms ease;
}
.card:hover, .tile:hover, .dept:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px -8px rgba(5, 42, 26, .16), 0 2px 6px rgba(0, 0, 0, .04);
}
.shot:hover, .photo-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, .18);
}
.card__thumb { overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.card__thumb img, .shot img, .photo-frame img {
  transition: transform 600ms cubic-bezier(.16, 1, .3, 1);
  will-change: transform;
}
.card:hover .card__thumb img, .shot:hover img, .photo-frame:hover img {
  transform: scale(1.05);
}
.card a svg, .btn svg, .mainnav__cta svg {
  transition: transform 260ms cubic-bezier(.16, 1, .3, 1);
}
.card:hover a svg, .btn:hover svg, .mainnav__cta:hover svg {
  transform: translateX(4px);
}

/* Navigation link underline glide */
.mainnav__link {
  position: relative;
  transition: color 200ms ease;
}
.mainnav__link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold-400);
  border-radius: 2px;
  transition: width 260ms cubic-bezier(.16, 1, .3, 1), left 260ms cubic-bezier(.16, 1, .3, 1);
}
.mainnav__link:hover::after,
.mainnav__link[aria-current="page"]::after {
  width: 100%;
  left: 0;
}

/* Header transition on scroll: crisp white navigation bar */
.masthead {
  transition: background 300ms ease, box-shadow 300ms ease;
}
.masthead.is-stuck {
  background: #ffffff !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
  border-bottom: 1px solid var(--line) !important;
}
.masthead.is-stuck .mainnav__link {
  color: var(--green-900) !important;
}
.masthead.is-stuck .mainnav__link:hover,
.masthead.is-stuck .mainnav__link[aria-current="page"] {
  color: var(--green-700) !important;
}
.masthead.is-stuck .brand__title {
  color: var(--green-900) !important;
}
.masthead.is-stuck .brand__tag {
  color: var(--slate-600) !important;
}
.masthead.is-stuck .nav-toggle {
  background: var(--green-700) !important;
  color: #fff !important;
}

/* Hero entrance: staggered rise on first paint */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.js .hero__in > *, .js .pagehead__in > * { animation: rise 800ms var(--ease-out) both; }
.js .hero__in > :nth-child(1), .js .pagehead__in > :nth-child(1) { animation-delay: 60ms; }
.js .hero__in > :nth-child(2), .js .pagehead__in > :nth-child(2) { animation-delay: 140ms; }
.js .hero__in > :nth-child(3), .js .pagehead__in > :nth-child(3) { animation-delay: 220ms; }
.js .hero__in > :nth-child(4) { animation-delay: 300ms; }
.js .hero__in > :nth-child(5) { animation-delay: 400ms; }

/* Hero ambient glow drifts slowly (transform only, never repaints text) */
@keyframes drift { from { transform: translate3d(-3%, -2%, 0) scale(1); } to { transform: translate3d(4%, 3%, 0) scale(1.12); } }
.hero::after {
  content: ""; position: absolute; width: 60vmax; height: 60vmax; right: -18vmax; top: -30vmax;
  background: radial-gradient(closest-side, rgba(242, 201, 76, .16), transparent 70%);
  pointer-events: none; animation: drift 18s ease-in-out infinite alternate; will-change: transform;
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed; left: 0; top: 0; width: 100%; height: 3px; z-index: 300;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; will-change: transform;
}

/* Buttons: tactile press */
.btn { box-shadow: 0 0 0 rgba(9, 30, 20, 0); transition: transform 220ms cubic-bezier(.16, 1, .3, 1), box-shadow 220ms cubic-bezier(.16, 1, .3, 1), background-color 220ms ease, color 220ms ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(9, 30, 20, .22); }
.btn--gold:hover { box-shadow: 0 8px 24px rgba(210, 155, 6, .38); }
.btn:active { transform: translateY(0) scale(.97); box-shadow: none; transition-duration: 80ms; }
.btn.is-done { --btn-bg: var(--green-700); }
.nav-toggle { transition: background var(--dur) var(--ease), transform var(--dur) var(--ease); }
.nav-toggle:active { transform: scale(.96); }
.filters button { transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.filters button:active { transform: scale(.95); }

/* Hero facts hover */
.hero__fact { transition: transform 280ms cubic-bezier(.16, 1, .3, 1), background 280ms ease; }
.hero__fact:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .1); }

/* To-top button hover */
.to-top { transition: transform 280ms cubic-bezier(.16, 1, .3, 1), opacity 280ms ease, background 200ms ease, box-shadow 280ms ease; }
.to-top:hover { transform: translateY(-4px) scale(1.08); box-shadow: 0 10px 24px rgba(5, 42, 26, .35); }

/* Chatbot toggle hover & gentle breathe */
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
.chatbot__toggle { transition: transform 260ms cubic-bezier(.16, 1, .3, 1), box-shadow 260ms ease; animation: breathe 4s ease-in-out infinite; }
.chatbot__toggle:hover { transform: scale(1.1) !important; box-shadow: 0 12px 28px rgba(5, 42, 26, .35); animation-play-state: paused; }

/* Filtered items fade back in */
@keyframes itemIn { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
.is-filtered-in { animation: itemIn 360ms var(--ease-out) both; }

/* Accordion: animate open/close where the browser can (JS covers the rest) */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  details.acc__item::details-content {
    block-size: 0; overflow: hidden; opacity: 0;
    transition: block-size 300ms var(--ease-out), opacity 300ms var(--ease), content-visibility 300ms allow-discrete;
  }
  details.acc__item[open]::details-content { block-size: auto; opacity: 1; }
}
.acc__btn svg { transition: transform 300ms var(--ease-out); }

/* Cross-page transitions: header stays put, content cross-fades */
@view-transition { navigation: auto; }
.masthead { view-transition-name: masthead; }
::view-transition-old(root) { animation: 180ms var(--ease) both vt-out; }
::view-transition-new(root) { animation: 320ms var(--ease-out) both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }

/* Smooth font swap + image fade-in */
img { transition: opacity 400ms var(--ease); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero::after, .scroll-progress { display: none; }
}

/* ===== widgets/social-share.css ===== */
/* ---------- 11. Added scope: gallery, departments, social, share, chat ---------- */

/* Social + share */
.social { list-style: none; display: flex; flex-wrap: wrap; gap: var(--sp-3); margin: var(--sp-4) 0 0; padding: 0; }
.footer .social { display: flex; }
.social a {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .09); color: #fff; border: 1px solid rgba(255, 255, 255, .18);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.footer .social a:hover { background: var(--gold-300); color: var(--green-900); transform: translateY(-3px); text-decoration: none; }
.social--light a { background: var(--green-100); color: var(--green-700); border-color: transparent; }
.social--light a:hover { background: var(--green-600); color: #fff; }
.social-title { margin: var(--sp-5) 0 0; }

.share { display: flex; align-items: center; gap: var(--sp-2); margin-top: var(--sp-3); }
.share__label { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-500); margin-right: var(--sp-1); }
.share a {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--green-700);
  background: var(--green-050); border: 1px solid var(--line);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.share a:hover { background: var(--green-600); color: #fff; transform: translateY(-2px); }

/* ===== components/leader-feature.css ===== */
/* District Chief Executive feature */
.dce { display: grid; gap: var(--sp-5); align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--sp-5); margin-bottom: var(--sp-6); box-shadow: var(--shadow-1); }
@media (min-width: 700px) { .dce { grid-template-columns: 340px 1fr; gap: var(--sp-7); padding: var(--sp-6); } }
.dce__photo { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-2); }
.dce__frame { max-width: 380px; justify-self: center; position: relative; }
.dce__frame::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 2px solid var(--gold-500); border-radius: var(--radius-lg); z-index: -1; }
.dce h3 { font-size: var(--step-3); margin-bottom: var(--sp-1); }
.dce .role { color: var(--green-700); font-weight: 700; }

/* Two portraits of the DCE, overlapped */
.dce-pair { position: relative; width: 100%; aspect-ratio: 1 / 1.14; }
.dce-pair img { position: absolute; object-fit: cover; object-position: top; border: 4px solid #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-2); }
.dce-pair img:first-child { left: 0; top: 0; width: 64%; height: 86%; }
.dce-pair img:last-child { right: 0; bottom: 0; width: 56%; height: 72%; }
.dce__frame { max-width: 440px; width: 100%; }

/* ===== components/prose.css ===== */
/* Article / page body text (posts, custom pages) */
.prose { font-size: var(--step-0); line-height: 1.75; color: var(--ink-soft); }
.prose > :first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose figure { margin: 0 0 1.15em; max-width: none; }
.prose h2 { font-size: var(--step-3); margin: 1.6em 0 .5em; }
.prose h3 { font-size: var(--step-2); margin: 1.4em 0 .4em; }
.prose h4 { font-size: var(--step-1); margin: 1.2em 0 .3em; }
.prose img { border-radius: var(--radius-lg); margin: 1.4em 0; width: 100%; height: auto; }
.prose a { color: var(--blue-700); }
.prose blockquote { border-left: 4px solid var(--gold-500); background: var(--gold-100); padding: var(--sp-3) var(--sp-5); border-radius: 0 var(--radius) var(--radius) 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; }
.prose th, .prose td { border: 1px solid var(--line); padding: var(--sp-2) var(--sp-3); text-align: left; }
.post-meta { color: #cfe0d5; margin: var(--sp-3) 0 0; font-size: .95rem; }
.post-cover { margin: 0 0 var(--sp-6); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-2); }
.post-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card__cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.newsitem__main { display: grid; gap: var(--sp-4); }
@media (min-width: 720px) { .newsitem.has-cover .newsitem__main { grid-template-columns: 220px 1fr; align-items: start; } }
.newsitem__cover { display: block; border-radius: var(--radius); overflow: hidden; }
.newsitem__cover img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 600ms var(--ease-out); }
.newsitem__cover:hover img { transform: scale(1.05); }
.dce__photo--blank { aspect-ratio: 4 / 5; display: grid; place-items: center; background: var(--green-100); color: var(--green-700); font: 600 3rem var(--font-display); }
.person__img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }

/* ===== widgets/departments.css ===== */
/* Departments */
.dept__services { margin: 0 0 var(--sp-4); gap: var(--sp-2); }
.dept__services li { font-size: .9rem; }
.dept__contact { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4); font-size: .88rem; padding-top: var(--sp-3); border-top: 1px solid var(--line-soft); }
.dept__contact a { color: var(--green-700); font-weight: 600; }
.dept:target { border-color: var(--gold-500); box-shadow: 0 0 0 3px var(--gold-100), var(--shadow-2); }

/* ===== widgets/gallery.css ===== */
/* Gallery */
.gallery { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.shot { margin: 0; }
.shot__btn {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; cursor: zoom-in;
  border-radius: var(--radius-lg); overflow: hidden; background: var(--green-100); isolation: isolate;
  box-shadow: var(--shadow-1); transition: box-shadow 300ms var(--ease), transform 300ms var(--ease-out);
}
.shot__btn:hover, .shot__btn:focus-visible { box-shadow: var(--shadow-3); transform: translateY(-4px); }
.shot__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.shot__btn:hover img { transform: scale(1.07); }
.shot__ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .8); transition: transform 700ms var(--ease-out); }
.shot__btn:hover .shot__ph { transform: scale(1.07); }
.shot__ph--0 { background: linear-gradient(135deg, var(--green-700), var(--green-500)); }
.shot__ph--1 { background: linear-gradient(135deg, var(--green-800), var(--gold-700)); }
.shot__ph--2 { background: linear-gradient(135deg, var(--green-600), #3d9a6e); }
.shot__ph--3 { background: linear-gradient(135deg, #0d4a72, var(--green-600)); }
.shot__ph--4 { background: linear-gradient(135deg, var(--gold-700), var(--green-700)); }
.shot__cap {
  position: absolute; inset: auto 0 0 0; padding: var(--sp-6) var(--sp-4) var(--sp-4); text-align: left; color: #fff;
  background: linear-gradient(to top, rgba(5, 42, 26, .88), transparent);
  transform: translateY(35%); opacity: 0; transition: transform 350ms var(--ease-out), opacity 300ms var(--ease);
}
.shot__cap strong { display: block; font-family: var(--font-display); font-size: var(--step-0); }
.shot__cap span { font-size: .84rem; opacity: .9; }
.shot__btn:hover .shot__cap, .shot__btn:focus-visible .shot__cap { transform: none; opacity: 1; }
@media (hover: none) { .shot__cap { transform: none; opacity: 1; } }
.gallery--preview { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }

.lightbox {
  position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: var(--sp-5);
  background: rgba(5, 20, 12, .0); backdrop-filter: blur(0); opacity: 0;
  transition: opacity 240ms var(--ease), background 240ms var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; background: rgba(5, 20, 12, .88); }
.lightbox__fig { margin: 0; max-width: min(960px, 100%); transform: scale(.94); transition: transform 320ms var(--ease-out); }
.lightbox.is-open .lightbox__fig { transform: none; }
.lightbox__media img, .lightbox__ph { display: block; max-height: 72vh; width: auto; max-width: 100%; margin-inline: auto; border-radius: var(--radius-lg); }
.lightbox__ph { position: relative; width: min(80vw, 640px); height: min(56vh, 480px); }
.lightbox figcaption { color: #e8efe9; text-align: center; margin-top: var(--sp-4); }
.lightbox figcaption .fine { color: #9fb5a7; }
.lightbox button { padding: 0; color: #fff; background: rgba(255, 255, 255, .12); border: 0; cursor: pointer; border-radius: 50%; width: 48px; height: 48px; display: grid; place-items: center; transition: background var(--dur) var(--ease), transform var(--dur) var(--ease); }
.lightbox button:hover { background: rgba(255, 255, 255, .26); transform: scale(1.08); }
.lightbox__close { position: absolute; top: var(--sp-4); right: var(--sp-4); }
.lightbox__nav { position: absolute; top: 50%; margin-top: -24px; }
.lightbox__nav--prev { left: var(--sp-4); }
.lightbox__nav--next { right: var(--sp-4); }
html.is-locked { overflow: hidden; }

/* Videos in the gallery: play badge on the thumbnail, player in the viewer */
.shot__play { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.shot__play svg { width: 58px; height: 58px; padding: 16px 14px 16px 18px; border-radius: 50%; background: rgba(5, 42, 26, .78); color: #fff; box-shadow: 0 6px 24px rgba(0, 0, 0, .35); transition: transform 300ms var(--ease-out), background 200ms ease; }
.shot__btn:hover .shot__play svg, .shot__btn:focus-visible .shot__play svg { transform: scale(1.12); background: var(--green-700, #0b6b3f); }
.shot__btn { position: relative; }
.lightbox__video { display: block; max-height: 72vh; width: auto; max-width: 100%; margin-inline: auto; border-radius: var(--radius-lg); background: #000; }
.lightbox__embed { position: relative; width: min(100%, 960px); aspect-ratio: 16 / 9; margin-inline: auto; border-radius: var(--radius-lg); overflow: hidden; background: #000; }
.lightbox__embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lightbox__embedlink { text-align: center; margin: 24px 0; }

/* ===== components/form-states.css ===== */
/* Form polish */
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--red-600); background: #fffafa; }
.field__error { color: var(--red-700); font-size: .86rem; font-weight: 600; animation: rise 240ms var(--ease-out) both; }
.field input, .field select, .field textarea { transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
[data-form-note]:not([hidden]) { animation: rise 420ms var(--ease-out) both; }

/* ===== widgets/chat.css ===== */
/* Chat assistant */
.chat { position: fixed; right: var(--sp-5); bottom: var(--sp-5); z-index: 120; }
.chat__launcher {
  position: relative; width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--green-700); color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 22px rgba(5, 42, 26, .35);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.chat__launcher:hover { background: var(--green-800); transform: translateY(-3px) scale(1.04); }
.chat__launcher:active { transform: scale(.95); }
.chat__launcher::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gold-300); animation: ring 2.4s var(--ease-out) 1.5s 3; pointer-events: none; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }
.chat__ic { position: absolute; display: grid; place-items: center; transition: transform 300ms var(--ease-out), opacity 200ms var(--ease); }
.chat__ic--close { opacity: 0; transform: rotate(-90deg) scale(.6); }
.chat.is-open .chat__ic--open { opacity: 0; transform: rotate(90deg) scale(.6); }
.chat.is-open .chat__ic--close { opacity: 1; transform: none; }
.chat.is-open .chat__launcher::after { display: none; }

.chat__panel {
  position: absolute; right: 0; bottom: 70px; width: min(380px, calc(100vw - 2rem)); height: min(540px, calc(100dvh - 8rem));
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(5, 42, 26, .28);
  opacity: 0; transform: translateY(14px) scale(.94); transform-origin: 100% 100%;
  transition: opacity 240ms var(--ease), transform 320ms var(--ease-out);
}
.chat__panel[hidden] { display: none; }
.chat.is-open .chat__panel { opacity: 1; transform: none; }
.chat__head { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-4); background: var(--green-800); color: #fff; }
.chat__head strong { display: block; font-family: var(--font-display); }
.chat__head span:not(.chat__avatar) { font-size: .78rem; color: #b9ccbf; }
.chat__avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--gold-300); color: var(--green-900); display: grid; place-items: center; font-weight: 800; font-size: .85rem; flex: none; }
.chat__log { flex: 1; overflow-y: auto; padding: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-3); background: var(--bg-alt); scroll-behavior: smooth; overscroll-behavior: contain; }
.chat__msg { max-width: 86%; padding: 10px 14px; border-radius: 14px; font-size: .93rem; line-height: 1.5; animation: msgIn 320ms var(--ease-out) both; }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
.chat__msg--bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.chat__msg--user { align-self: flex-end; background: var(--green-700); color: #fff; border-bottom-right-radius: 4px; }
.chat__links { display: flex; flex-direction: column; gap: 4px; margin-top: var(--sp-2); }
.chat__links a { font-weight: 700; font-size: .88rem; color: var(--green-700); text-decoration: none; }
.chat__links a:hover { text-decoration: underline; }
.chat__typing { display: inline-flex; gap: 4px; padding: 4px 2px; }
.chat__typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--slate); animation: bounce 1s infinite ease-in-out; }
.chat__typing i:nth-child(2) { animation-delay: .15s; }
.chat__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-5px); opacity: 1; } }
.chat__chips { display: flex; gap: var(--sp-2); padding: var(--sp-3) var(--sp-4) 0; overflow-x: auto; scrollbar-width: none; flex: none; }
.chat__chips::-webkit-scrollbar { display: none; }
.chat__chips:empty { display: none; }
.chat__chips button { flex: none; white-space: nowrap; background: #fff; border: 1px solid var(--green-500); color: var(--green-700); font-size: .83rem; font-weight: 600; padding: 6px 12px; border-radius: 100px; cursor: pointer; transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.chat__chips button:hover { background: var(--green-700); color: #fff; transform: translateY(-1px); }
.chat__form { display: flex; gap: var(--sp-2); padding: var(--sp-3) var(--sp-4) var(--sp-4); background: var(--bg-alt); }
.chat__form input { flex: 1; min-width: 0; font: inherit; font-size: .95rem; padding: 10px 14px; border: 1px solid var(--line); border-radius: 100px; background: #fff; }
.chat__form input:focus-visible { border-color: var(--green-500); }
.chat__form button { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer; background: var(--green-700); color: #fff; display: grid; place-items: center; transition: background var(--dur) var(--ease), transform var(--dur) var(--ease); }
.chat__form button:hover { background: var(--green-800); transform: scale(1.06); }
@media (max-width: 480px) { .chat { right: var(--sp-4); bottom: var(--sp-4); } .to-top { right: var(--sp-4); bottom: 5rem; } }
@media print { .chat, .scroll-progress, .lightbox { display: none !important; } }

/* ===== base/print.css ===== */
/* ---------- Print ---------- */
@media print {
  .utilbar, .nav-toggle, .mainnav, .to-top, .hero::before, .pagehead::before, .filters, .searchfield { display: none !important; }
  .masthead { position: static; }
  body { color: #000; font-size: 11pt; }
  .hero, .pagehead, .section--dark, .footer { background: #fff !important; color: #000 !important; }
  .hero h1, .pagehead h1, .footer h3 { color: #000 !important; }
  .notice-print { display: block; margin-top: 1rem; font-size: 10pt; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
}

/* ===== motion/extras.css ===== */
/* ---------- 12. Extra motion ---------- */
/* Hero title: words rise out of a mask */
.js .hero__in > h1.is-split, .js .pagehead__in > h1.is-split { animation: none; }
.is-split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.is-split .w > span { display: inline-block; transform: translateY(110%); animation: wordUp 900ms var(--ease-out) forwards; animation-delay: calc(120ms + var(--i, 0) * 75ms); }
@keyframes wordUp { to { transform: none; } }

/* Hero and pagehead stay 100% visible and never fade on scroll */
.hero__in, .pagehead__in { opacity: 1 !important; transform: none !important; }

/* Split sections slide in from opposite sides on wide screens */
@media (min-width: 900px) {
  .js .grid--split > .reveal:first-child.is-in { animation-name: revealLeft; }
  .js .grid--split > .reveal:last-child:not(:first-child).is-in { animation-name: revealRight; }
}
.js .photo-frame.reveal.is-in, .js .shot.reveal.is-in { animation-name: revealZoom; }

/* Gold rule beside eyebrows draws in */
.js .eyebrow::after { transform: scaleX(0); transform-origin: 0 50%; transition: transform 900ms var(--ease-out) 150ms; }
.js .eyebrow.is-in::after, .js .section-head.is-in .eyebrow::after { transform: none; }

/* Header settles into a compact bar once you scroll */
.masthead__in { transition: padding var(--dur) var(--ease); }
.brand__crest { transition: width 300ms var(--ease-out), height 300ms var(--ease-out); }
.masthead.is-stuck .masthead__in { padding: 8px 0; }
@media (min-width: 521px) { .masthead.is-stuck .brand__crest { width: 46px; height: 46px; } }



/* Stat figures glow in */
.stat { transition: transform 300ms var(--ease-out), border-color 300ms var(--ease); }
.stat:hover { transform: translateY(-4px); border-left-color: var(--gold-300); }

/* ===== motion/links.css ===== */
/* Animated link underline */
.link-more, .side__box a:not(.btn) { background-image: linear-gradient(currentColor, currentColor); background-position: 0 100%; background-size: 0 2px; background-repeat: no-repeat; transition: background-size 300ms var(--ease-out); padding-bottom: 2px; }
.link-more:hover, .side__box a:not(.btn):hover { background-size: 100% 2px; text-decoration: none; }
.footer a:not(.btn):not(.social a) { background-image: linear-gradient(currentColor, currentColor); background-position: 0 100%; background-size: 0 1px; background-repeat: no-repeat; transition: background-size 250ms var(--ease-out), color var(--dur) var(--ease); }
.footer a:not(.btn):hover { background-size: 100% 1px; text-decoration: none; }

/* ===== widgets/floaters.css ===== */
/* ---------- 13. Floating icons & images (uses the `translate` property so it never fights reveal/hover transforms) ---------- */
@keyframes bob { from { translate: 0 0; rotate: -2deg; } to { translate: 0 -16px; rotate: 3deg; } }
@keyframes bobSoft { from { translate: 0 0; } to { translate: 0 -8px; } }

.floaters { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.floater {
  position: absolute; width: 44px; height: 44px; color: rgba(255, 255, 255, .22);
  translate: calc(var(--mx, 0) * var(--z, 1) * -34px) calc(var(--my, 0) * var(--z, 1) * -26px);
  transition: translate 600ms var(--ease-out);
}
.floater svg { display: block; width: 100%; height: 100%; animation: bob var(--t, 8s) ease-in-out var(--d, 0s) infinite alternate; }
.floaters--hero .floater { width: 56px; height: 56px; color: rgba(255, 255, 255, .17); }
.floater--1 { left: 5%;  top: 16%; }
.floater--2 { left: 38%; top: 8%;  width: 34px; height: 34px; }
.floater--3 { right: 6%; top: 58%; }
.floater--4 { left: 16%; bottom: 10%; width: 36px; height: 36px; }
.floater--5 { right: 30%; bottom: 14%; }
.floater--6 { left: 58%; top: 56%; width: 30px; height: 30px; }
.floater--7 { right: 44%; top: 20%; width: 26px; height: 26px; }
.floater--1 svg, .floater--4 svg { color: var(--gold-300); opacity: .55; }
@media (max-width: 700px) { .floater--5, .floater--6, .floater--7 { display: none; } }
.hero__in, .pagehead__in, .section--dark > .wrap, .cta-band__in { position: relative; z-index: 1; }

/* ===== components/hero-split.css ===== */
/* Hero section: Full-screen split layout (Left full-screen panel, Right edge-to-edge photo slider) */
.hero {
  position: relative;
  background: #052a1a;
  color: #fff;
  overflow: hidden;
  padding: 0;
  width: 100%;
}
.hero::before { display: none !important; }
.hero::after { display: none !important; }

.hero--split {
  min-height: calc(100vh - 76px);
  min-height: 720px;
}

.hero--split .hero__grid {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: calc(100vh - 76px);
  min-height: 720px;
}

@media (min-width: 1024px) {
  .hero--split .hero__grid {
    display: grid;
    grid-template-columns: 53% 47%;
    min-height: calc(100vh - 76px);
    min-height: 720px;
  }
}

/* Left Panel: Full screen height on left side */
.hero__left {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(900px 520px at 8% 20%, rgba(21, 132, 85, 0.45), transparent 70%),
    radial-gradient(640px 420px at 85% 85%, rgba(210, 155, 6, 0.18), transparent 60%),
    url("../img/pattern.svg") right bottom / 520px auto no-repeat,
    #052a1a;
  padding: clamp(3rem, 5vh, 4.5rem) clamp(1.5rem, 3.5vw, 4rem);
  opacity: 1 !important;
  transform: none !important;
}

@media (min-width: 1024px) {
  .hero__left {
    min-height: calc(100vh - 76px);
    min-height: 720px;
    padding: clamp(3.5rem, 6vh, 5.5rem) clamp(2.5rem, 5vw, 6rem);
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }
}

.hero__left-content {
  max-width: 680px;
  margin: 0 auto;
  width: 100%;
}

@media (min-width: 1024px) {
  .hero__left-content {
    margin: 0 0 0 auto;
    padding-right: clamp(1rem, 2vw, 2.5rem);
  }
}

.hero__badge-top {
  margin-bottom: var(--sp-4);
}

.fchip--inline {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 100px;
  color: #fff;
  font-size: 0.86rem;
  background: rgba(11, 58, 36, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
  pointer-events: auto;
  animation: none;
}
.fchip--inline svg { color: var(--gold-300); flex: none; }
.fchip--inline strong { color: var(--gold-300); font-weight: 700; }

.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 1.6rem + 1.8vw, 3.5rem);
  line-height: 1.15;
  margin: 0 0 var(--sp-4);
  max-width: 18ch;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold-300);
}

.hero__sub {
  font-size: clamp(1.02rem, 0.96rem + 0.3vw, 1.2rem);
  line-height: 1.65;
  color: #cfe0d5;
  max-width: 50ch;
  margin-bottom: var(--sp-6);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  align-items: center;
  margin-bottom: clamp(2.5rem, 4.5vh, 3.5rem);
}

/* Stats Row inside left panel */
.hero__meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4) var(--sp-5);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: var(--sp-5);
  margin-top: 0;
  position: relative;
  z-index: 2;
}
@media (min-width: 560px) and (max-width: 1023px) {
  .hero__meta {
    grid-template-columns: repeat(4, 1fr);
  }
}
.hero__fact strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 0.9vw, 2.2rem);
  color: var(--gold-300);
  line-height: 1.1;
  font-weight: 700;
}
.hero__fact span {
  display: block;
  font-size: 0.8rem;
  color: #c2d6ca;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 4px;
}

/* Right Panel: Full screen height on right side, edge-to-edge photo slider */
.hero__right {
  position: relative;
  width: 100%;
  height: clamp(360px, 50vh, 520px);
  background: #081e13;
  overflow: hidden;
  z-index: 1;
}

@media (min-width: 1024px) {
  .hero__right {
    min-height: calc(100vh - 76px);
    min-height: 720px;
    height: 100%;
  }
  /* Subtle feather blend on the left seam of the right photo */
  .hero__right::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 100%;
    background: linear-gradient(90deg, rgba(5, 42, 26, 0.5) 0%, rgba(5, 42, 26, 0) 100%);
    z-index: 3;
    pointer-events: none;
  }
}

.slider--fullscreen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}
.slider--fullscreen:focus-visible { outline: 3px solid var(--gold-300); outline-offset: -3px; }

.slider--fullscreen .slider__track {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.slider--fullscreen .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1000ms cubic-bezier(.22, .61, .36, 1);
  will-change: opacity;
}

.slider--fullscreen .slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.slider--fullscreen .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
  filter: brightness(1.02) contrast(1.02);
  transition: transform 6000ms ease-out;
  transform: scale(1);
}

.slider--fullscreen .slide.is-active img {
  transform: scale(1.035);
}

.slider--fullscreen .slide figcaption {
  display: none !important;
}

/* Floating badge over the photo */
.fchip--photo {
  position: absolute;
  left: 28px;
  bottom: 28px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 100px;
  color: #fff;
  font-size: 0.86rem;
  white-space: nowrap;
  background: rgba(5, 42, 26, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  animation: floatBadge1 6s ease-in-out infinite;
  pointer-events: none;
}
.fchip--photo svg { color: var(--gold-300); flex: none; }
.fchip--photo strong { color: var(--gold-300); font-weight: 700; }
@media (max-width: 640px) {
  .fchip--photo { display: none; }
}

/* Slider Controls */
.slider--fullscreen .slider__dots {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 6;
  display: flex;
  gap: 8px;
}
.slider--fullscreen .slider__dots button {
  width: 10px;
  height: 10px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.5);
  border: 0;
  cursor: pointer;
  padding: 0;
  transition: width 300ms cubic-bezier(.16, 1, .3, 1), background 250ms ease;
}
.slider--fullscreen .slider__dots button:hover {
  background: rgba(255, 255, 255, 0.9);
}
.slider--fullscreen .slider__dots button[aria-current] {
  width: 28px;
  background: var(--gold-300);
}

.slider--fullscreen .slider__btn {
  position: absolute;
  top: 50%;
  margin-top: -24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(5, 42, 26, 0.68);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 250ms ease, background 250ms ease, transform 250ms ease;
  z-index: 6;
}
.slider--fullscreen:hover .slider__btn,
.slider--fullscreen:focus-within .slider__btn {
  opacity: 1;
}
.slider--fullscreen .slider__btn:hover {
  background: rgba(5, 42, 26, 0.95);
  transform: scale(1.08);
}
.slider--fullscreen .slider__btn--prev { left: 20px; }
.slider--fullscreen .slider__btn--next { right: 20px; }
@media (hover: none) { .slider--fullscreen .slider__btn { opacity: 0.9; } }

.slider--fullscreen .slider__progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: var(--gold-300);
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 6;
}
.slider--fullscreen .slider__progress.is-running {
  animation: sliderProgress 4800ms linear forwards;
}
@keyframes sliderProgress { to { transform: scaleX(1); } }

@keyframes floatBadge1 {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-7px) rotate(1deg); }
  100% { transform: translateY(0) rotate(0deg); }
}
@keyframes floatBadge2 {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(-1deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

@media (prefers-reduced-motion: reduce) {
  .floater svg, .fchip, .slider__progress, .card__icon, .tile__ic, .person__ph, .shot__btn { animation: none !important; }
  .floater, .slider { translate: none; }
  .slider__track { transition-duration: .001ms; }
}

/* Floating hero icons: four, kept clear of the headline */
.floaters--hero .floater--1 { left: auto; right: 4%;  top: 10%; }
.floaters--hero .floater--2 { left: auto; right: 36%; top: 7%; }
.floaters--hero .floater--3 { right: 5%;  top: auto; bottom: 12%; }
.floaters--hero .floater--4 { left: auto; right: 22%; bottom: 9%; }
/* Hero chips share one left edge */
.fchip { width: max-content; }
.lightbox figcaption > .fine { display: block; margin-top: 4px; }

/* ===== widgets/photo-credits.css ===== */
/* Photo credits */
.lightbox__credit { display: block; margin-top: 6px; font-size: .78rem; color: #9fb5a7; }
.lightbox__credit a { color: var(--gold-300); }
.credits { columns: 2 320px; column-gap: var(--sp-6); font-size: .88rem; color: var(--slate-600); padding-left: 1.1em; }
.credits li { break-inside: avoid; margin-bottom: var(--sp-2); }
.photo-frame { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-2); }
.photo-frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.photo-frame figcaption { position: absolute; inset: auto 0 0 0; padding: var(--sp-5) var(--sp-4) var(--sp-3); font-size: .78rem; color: #fff; background: linear-gradient(to top, rgba(5,42,26,.8), transparent); }
.photo-frame figcaption a { color: var(--gold-300); }
.card__thumb { background: linear-gradient(135deg, var(--green-700), var(--green-500)); color: rgba(255,255,255,.85); }
.card__thumb::after { color: rgba(255,255,255,.9); }

/* ===== layout/touch-targets.css ===== */
/* Touch targets: WCAG 2.2 "target size" (at least 24 x 24 CSS px). Visual size is unchanged for the slider dots;
   their clickable area is extended with a transparent pseudo-element. */
.slider__dots button { position: relative; }
.slider__dots button::after { content: ''; position: absolute; inset: -10px -8px; }
.breadcrumb ol { align-items: center; }
.breadcrumb a { display: inline-block; padding-block: 5px; margin-block: -5px; }   /* bigger tap area, text stays on the same line as the current page */
.footer li a, .footer__bar a { display: inline-block; padding-block: 4px; margin-block: -4px; }

/* Alignment fixes (QA round 3) */
.wrap--left { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap--left > * { max-width: var(--wrap-narrow); }
.btn { max-width: 100%; }
@media (max-width: 380px) { .btn { white-space: normal; text-align: center; } }
.field select { min-height: calc(1.7em + 24px); }   /* same height as the text boxes beside it */

/* Click-to-zoom portraits */
.dce-pair img, .dce__photo, .person__img, [data-zoom] { cursor: zoom-in; }
.imgzoom { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: rgba(6,24,14,.88); padding: 16px; opacity: 0; transition: opacity .2s; }
.imgzoom.is-open { opacity: 1; }
.imgzoom[hidden] { display: none; }
.imgzoom__fig { margin: 0; max-width: 100%; max-height: 100%; display: grid; gap: 8px; justify-items: center; }
.imgzoom__img { max-width: min(92vw, 900px); max-height: 82vh; width: auto; height: auto; object-fit: contain; border-radius: 10px; background: #fff; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.imgzoom figcaption { color: #e7f0ea; font-size: .9rem; text-align: center; }
.imgzoom__btn { position: absolute; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); color: #0b3d22; font-size: 24px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.imgzoom__close { top: 14px; right: 14px; }
.imgzoom__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.imgzoom__next { right: 14px; top: 50%; transform: translateY(-50%); }
.imgzoom__btn:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; }

/* Footer social icons: the footer-link tap padding above must not turn the round buttons into inline boxes */
.footer .social a, .social a, .share a { display: grid; place-items: center; padding: 0; margin: 0; line-height: 1; }
.footer .social a svg, .social a svg, .share a svg { display: block; flex: none; margin: 0; color: inherit; }

/* Admin-controlled sections (Website content → Page layout) */
[data-sec-hidden] { display: none !important; }
.fxc { display: grid; gap: var(--sp-6); align-items: center; }
@media (min-width: 800px) { .fxc--left, .fxc--right { grid-template-columns: 1fr 1fr; } .fxc--left .fxc__img { order: -1; } }
.fxc--center { text-align: center; max-width: 760px; margin-inline: auto; }
.fxc--none { max-width: var(--wrap-narrow); }
.fxc__text h2 { margin-bottom: var(--sp-3); }
.fxc__text p { max-width: 62ch; }
.fxc--center .fxc__text p { margin-inline: auto; }
.fxc__img { margin: 0; }
.fxc__img img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-2); }
.fx-custom--alt { background: #f1f7f3; border-block: 1px solid var(--line); }
.fx-custom--green { background: linear-gradient(120deg, #073d25, #0b5a37); color: #e8f2ec; }
.fx-custom--green h2, .fx-custom--green .eyebrow { color: #fff; }
.fx-custom--green .eyebrow { color: var(--gold-300); }
.fx-custom--green p { color: #d6e6dc; }

/* Back-to-top arrow sits exactly above the chat button: same vertical centre line */
.to-top { right: calc(var(--sp-5) + 6px); bottom: calc(var(--sp-5) + 56px + 14px); }
@media (max-width: 600px) { .to-top { right: calc(var(--sp-5) + 8px); } }

/* ===== motion/showcase.css ===== */
/* ---------- Showcase motion: full-screen hero, animated page headers, header intro ---------- */

/* === Home hero: one full-screen photo slider with a green gradient over it, text animates in on top === */
.hero--split { min-height: clamp(620px, calc(100svh - 120px), 920px); }
.hero--split .hero__grid { display: block; position: relative; min-height: inherit; }
.hero--split .hero__right { position: absolute; inset: 0; width: auto; height: 100%; min-height: 0; z-index: 0; }
.hero--split .hero__right::before { display: none; }
.hero--split .slider--fullscreen { height: 100%; }
.hero--split .hero__left {
  position: relative; z-index: 2; min-height: inherit; border: 0; pointer-events: none;
  justify-content: center; align-items: flex-start;
  padding: clamp(3rem, 9vh, 6.5rem) max(1.25rem, calc((100% - var(--wrap)) / 2));
  background:
    linear-gradient(96deg, rgba(4, 40, 24, .95) 0%, rgba(6, 66, 39, .88) 34%, rgba(10, 100, 61, .56) 64%, rgba(16, 124, 76, .26) 100%),
    linear-gradient(0deg, rgba(4, 36, 22, .88) 0%, rgba(4, 36, 22, 0) 40%);
}
.hero--split .hero__left::before {                       /* slow-moving light inside the gradient */
  content: ""; position: absolute; inset: -15%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38vmax 28vmax at 18% 28%, rgba(44, 196, 116, .30), transparent 66%),
    radial-gradient(30vmax 22vmax at 86% 82%, rgba(242, 201, 76, .16), transparent 62%);
  animation: heroGlow 14s ease-in-out infinite alternate; will-change: transform;
}
.hero--split .hero__left::after {                        /* scroll cue */
  content: ""; position: absolute; left: 50%; bottom: 18px; width: 2px; height: 42px; z-index: 3;
  background: linear-gradient(#fff, rgba(255, 255, 255, 0)); transform-origin: 50% 0;
  animation: scrollCue 2.2s var(--ease-out) infinite; opacity: .8;
}
@keyframes heroGlow { from { transform: translate3d(-4%, -3%, 0) scale(1); } to { transform: translate3d(5%, 4%, 0) scale(1.15); } }
@keyframes scrollCue { 0% { transform: scaleY(0); opacity: 0; } 40% { opacity: .9; } 100% { transform: scaleY(1); opacity: 0; } }
.hero--split .hero__left-content { margin: 0; max-width: 720px; padding: 0; pointer-events: auto; }
.hero--split h1 { max-width: 17ch; font-size: clamp(2.4rem, 1.4rem + 3.2vw, 4.4rem); text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.hero--split .hero__sub { color: #e3eee7; max-width: 54ch; }
.hero--split .hero__meta {
  background: rgba(4, 40, 24, .42); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 14px; padding: var(--sp-4) var(--sp-5);
}
@media (min-width: 720px) { .hero--split .hero__meta { grid-template-columns: repeat(4, 1fr); } }
.hero--split .fchip--photo { left: auto; right: 24px; bottom: 58px; }
.hero--split .slider__dots { right: 24px; bottom: 24px; z-index: 6; }

/* photo: slow cinematic zoom on the active slide */
.hero--split .slider--fullscreen .slide img { transform: scale(1.1); transition: none; filter: saturate(1.05); }
.hero--split .slider--fullscreen .slide.is-active img { animation: kenburns 6.5s ease-out both; }
@keyframes kenburns { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.1) translate3d(-1.2%, -.8%, 0); } }

/* text enters one piece at a time */
.js .hero--split .hero__left-content > :not(h1) { animation: heroIn 900ms var(--ease-out) backwards; }
.js .hero--split .hero__badge-top { animation-delay: 150ms; }
.js .hero--split .eyebrow { animation-delay: 300ms; }
.js .hero--split .hero__sub { animation-delay: 950ms; }
.js .hero--split .hero__actions { animation-delay: 1150ms; }
.js .hero--split .hero__meta { animation-delay: 1350ms; }
@keyframes heroIn { from { opacity: 0; transform: translateY(34px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.js .hero--split .fchip--photo { animation: heroIn 900ms var(--ease-out) 1600ms backwards, floatBadge1 6s ease-in-out 2.5s infinite; }

@media (max-width: 1023px) {
  .hero--split .hero__left {
    background: linear-gradient(180deg, rgba(4, 40, 24, .86) 0%, rgba(6, 66, 39, .76) 50%, rgba(4, 36, 22, .94) 100%);
    padding-block: clamp(2.5rem, 7vh, 4rem) 3.5rem;
  }
  .hero--split .hero__left::after, .hero--split .fchip--photo { display: none; }
}

/* === Inner-page banners: breathing gradient, sweeping light, rising text === */
.pagehead { background: linear-gradient(115deg, #073d25 0%, #0a5a37 55%, #08472c 100%); }
.pagehead::after {
  content: ""; position: absolute; inset: 0 -30%; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .09) 50%, transparent 62%);
  transform: translateX(-60%); animation: sheen 7s ease-in-out 600ms infinite;
}
@keyframes sheen { 0% { transform: translateX(-60%); } 55%, 100% { transform: translateX(60%); } }
.pagehead::before { animation: patternFloat 16s ease-in-out infinite alternate; }
@keyframes patternFloat { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-18px, 10px, 0); } }
.js .pagehead__in > * { animation-duration: 900ms; }

/* === Header: drops in on the home page, links follow one by one === */
.intro-head .utilbar, .intro-head .masthead__in { animation: headDown 800ms var(--ease-out) backwards; }
.intro-head .mainnav__list > li { animation: navIn 650ms var(--ease-out) backwards; }
.intro-head .mainnav__list > li:nth-child(1) { animation-delay: 300ms; } .intro-head .mainnav__list > li:nth-child(2) { animation-delay: 360ms; }
.intro-head .mainnav__list > li:nth-child(3) { animation-delay: 420ms; } .intro-head .mainnav__list > li:nth-child(4) { animation-delay: 480ms; }
.intro-head .mainnav__list > li:nth-child(5) { animation-delay: 540ms; } .intro-head .mainnav__list > li:nth-child(6) { animation-delay: 600ms; }
.intro-head .mainnav__list > li:nth-child(7) { animation-delay: 660ms; } .intro-head .mainnav__list > li:nth-child(8) { animation-delay: 720ms; }
.intro-head .mainnav__list > li:nth-child(9) { animation-delay: 780ms; } .intro-head .mainnav__list > li:nth-child(10) { animation-delay: 840ms; }
@keyframes headDown { from { opacity: 0; transform: translateY(-26px); } to { opacity: 1; transform: none; } }
@keyframes navIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
.brand__crest { transition: transform 500ms var(--ease-out); }
.brand:hover .brand__crest { transform: rotate(-6deg) scale(1.06); }

/* === Everywhere: small touches === */
.card__icon { transition: transform 400ms var(--ease-out), background 300ms ease; }
.card:hover .card__icon { transform: translateY(-3px) rotate(-6deg) scale(1.08); }
.section-head h2 { background: linear-gradient(90deg, var(--gold-500), var(--gold-300)) left bottom / 0 3px no-repeat; padding-bottom: .25em; transition: background-size 900ms var(--ease-out) 300ms; }
.section-head.is-in h2 { background-size: 64px 3px; }
.footer { background-image: none; }

/* === Premium layer: floating dots, glowing orbs, shine === */
.fx-dots { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero--split .hero__left > .fx-dots { z-index: -1; }
.pagehead > .fx-dots { z-index: 0; }
.pagehead__in { z-index: 1; }

/* soft blurred orbs that float behind the dots */
.pagehead .pagehead__in::before, .pagehead .pagehead__in::after,
.hero--split .hero__left-content::before { content: ""; position: absolute; border-radius: 50%; pointer-events: none; filter: blur(46px); z-index: -1; }
.pagehead .pagehead__in::before { width: 280px; height: 280px; right: 8%; top: -90px; background: rgba(48, 200, 120, .34); animation: orbA 11s ease-in-out infinite alternate; }
.pagehead .pagehead__in::after { width: 200px; height: 200px; right: 28%; bottom: -80px; background: rgba(242, 201, 76, .20); animation: orbB 13s ease-in-out infinite alternate; }
.hero--split .hero__left-content::before { width: 360px; height: 360px; left: -120px; top: -90px; background: rgba(48, 200, 120, .22); animation: orbA 12s ease-in-out infinite alternate; }
@keyframes orbA { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-50px, 34px, 0) scale(1.25); } }
@keyframes orbB { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(46px, -30px, 0) scale(1.2); } }

/* gold words in headlines glow softly */
.hero--split h1 em { color: var(--gold-300); animation: goldGlow 3.6s ease-in-out 1.8s infinite alternate; }
@keyframes goldGlow { from { text-shadow: 0 0 0 rgba(242, 201, 76, 0); } to { text-shadow: 0 0 26px rgba(242, 201, 76, .55); } }

/* buttons: light glides across on hover */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-120%); transition: transform 700ms var(--ease-out); pointer-events: none; }
.btn:hover::after { transform: translateX(120%); }

/* primary gold button pulses gently in the hero to draw the eye */
@keyframes btnPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(242, 201, 76, .5); } 60% { box-shadow: 0 0 0 14px rgba(242, 201, 76, 0); } }
.hero--split .btn--gold { animation: btnPulse 2.8s ease-out 2.4s infinite; }

/* === Wow layer === */
html { scroll-behavior: smooth; }

/* Page change: soft fade + slide (header stays put) */
main, .footer { transition: opacity 280ms ease, transform 300ms cubic-bezier(.4, 0, 1, 1); }
@keyframes pageIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* Hero spotlight follows the cursor */
.fx-spot { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 400ms ease;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(120, 240, 170, .22), rgba(120, 240, 170, .06) 45%, transparent 70%); mix-blend-mode: screen; }
.hero--split .hero__right { will-change: translate; }

/* 3D tilt + glare on cards */
.fx-glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 300ms ease; z-index: 2;
  background: radial-gradient(260px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .55), transparent 62%); mix-blend-mode: soft-light; }
.fx-tilt > .fx-glare { opacity: 1; }
.card, .tile, .dept, .person, .shot, .photo-frame { position: relative; }
.fx-tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px) !important; transition: transform 120ms linear, box-shadow 320ms ease !important;
  box-shadow: 0 26px 48px -12px rgba(5, 42, 26, .28); will-change: transform; }

/* Cursor ring + dot (mouse only) */
.fx-ring, .fx-dot { position: fixed; left: 0; top: 0; z-index: 99990; pointer-events: none; opacity: 0; transition: opacity 250ms ease; }
.fx-ring.is-on, .fx-dot.is-on { opacity: 1; }
.fx-ring::before { content: ""; position: absolute; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; border: 1.5px solid rgba(16, 124, 76, .75);
  background: rgba(242, 201, 76, 0); transition: width 250ms var(--ease-out), height 250ms var(--ease-out), margin 250ms var(--ease-out), background 250ms ease, border-color 250ms ease; }
.fx-ring.is-hot::before { width: 66px; height: 66px; margin: -33px 0 0 -33px; background: rgba(242, 201, 76, .16); border-color: rgba(242, 201, 76, .95); }
.fx-dot::before { content: ""; position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #f2c94c; box-shadow: 0 0 10px rgba(242, 201, 76, .9); }

/* Section headlines: words rise when their section scrolls in */
.is-split-s .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.is-split-s .w > span { display: inline-block; transform: translateY(115%); }
.section-head.is-in .is-split-s .w > span, .is-split-s.is-in .w > span { animation: wordUp 900ms var(--ease-out) forwards; animation-delay: calc(120ms + var(--i, 0) * 70ms); }
@media (max-width: 1023px), (hover: none) { .fx-ring, .fx-dot { display: none; } }

/* Hold the entrance animations until the curtain has lifted */
html.tr-in .js .pagehead__in > *, html.tr-in .pagehead__in > * { animation-delay: 120ms; }
html.tr-in .pagehead__in > :nth-child(2) { animation-delay: 200ms; }
html.tr-in .pagehead__in > :nth-child(3) { animation-delay: 280ms; }
html.tr-in .is-split .w > span { animation-delay: calc(120ms + var(--i, 0) * 75ms); }

/* === Parallax flavours === */
/* 1. Page banners: pattern, glow orbs, dots and text slide at different speeds as you scroll away */
.fx-banner::before { translate: 0 calc(var(--py, 0) * 0.22px); }
.fx-banner .pagehead__in::before { translate: 0 calc(var(--py, 0) * 0.55px); }
.fx-banner .pagehead__in::after { translate: 0 calc(var(--py, 0) * -0.18px); }
.fx-banner > .fx-dots { translate: 0 calc(var(--py, 0) * 0.34px); }
.fx-banner .pagehead__in { translate: 0 calc(var(--py, 0) * 0.14px); opacity: calc(1 - var(--py, 0) / 520) !important; }

/* 2. Photos drift inside their frame (frame stays put, picture slides) */
.fx-par { scale: 1.14; translate: 0 calc(var(--pp, 0) * -22px); will-change: translate; }
.fx-par--rev { translate: 0 calc(var(--pp, 0) * 22px); }
.dce-pair img.fx-par { scale: 1; translate: 0 calc(var(--pp, 0) * -26px); }
.dce-pair img.fx-par--rev { translate: 0 calc(var(--pp, 0) * 34px); }
.card__thumb, .photo-frame, .shot { overflow: hidden; }

/* 3. Section backdrops: soft shapes float at their own pace */
.fx-sec { position: relative; overflow: clip; }
.fx-sec::before, .fx-sec::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.fx-sec::before { width: 340px; height: 340px; left: -120px; top: 8%; background: radial-gradient(closest-side, rgba(21, 132, 85, .13), transparent); translate: calc(var(--sp, 0) * 60px) calc(var(--sp, 0) * -90px); }
.fx-sec::after { width: 260px; height: 260px; right: -80px; bottom: 6%; background: radial-gradient(closest-side, rgba(242, 201, 76, .16), transparent); translate: calc(var(--sp, 0) * -50px) calc(var(--sp, 0) * 110px); }
.fx-sec > .wrap, .fx-sec > .wrap--left { position: relative; z-index: 1; }
.section--dark.fx-sec::before { background: radial-gradient(closest-side, rgba(60, 220, 140, .18), transparent); }
@media (max-width: 700px) { .fx-par { scale: 1.08; translate: 0 calc(var(--pp, 0) * -10px); } .fx-par--rev { translate: 0 calc(var(--pp, 0) * 10px); } }

/* === Round 6: zoom-through page change, letter-by-letter headline, dark numbers band === */
/* Page change: plain, soft fade out and fade in (no colour screen) */
main, .footer { transition: opacity 260ms ease; }
html.tr-leaving main, html.tr-leaving .footer { opacity: 0; transform: none; filter: none; }
html.tr-in main, html.tr-in .footer { animation: pageFade 520ms ease backwards; }
@keyframes pageFade { from { opacity: 0; } to { opacity: 1; } }

/* Home headline: letters rise one by one out of a mask, then the gold line glows */
.hero--split h1 .is-split .w > span, .hero--split h1.is-split .w > span { animation: none; transform: none; }
.hero--split h1 .ch { display: inline-block; animation: charIn 760ms var(--ease-out) backwards; animation-delay: calc(var(--base, 200ms) + var(--c, 0) * 26ms); }
html.tr-in .hero--split h1 { --base: 520ms; }
@keyframes charIn { from { opacity: 0; transform: translateY(70%) rotate(7deg); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
.hero--split h1 .w { will-change: translate, opacity; }

/* Home "in numbers": dark band, huge glowing figures, slowly drifting lines */
[data-sec="home.s4"].section--dark {
  background:
    radial-gradient(900px 420px at 12% 0, rgba(44, 196, 116, .28), transparent 62%),
    repeating-linear-gradient(115deg, transparent 0 54px, rgba(255, 255, 255, .045) 54px 55px),
    linear-gradient(120deg, #052a1a, #0b4a2d 60%, #073d25) !important;
  background-size: auto, 220px 220px, auto; color: #e8f2ec !important; border: 0 !important;
  animation: lineDrift 24s linear infinite;
}
@keyframes lineDrift { to { background-position: 0 0, 220px 0, 0 0; } }
[data-sec="home.s4"] h2 { color: #fff !important; }
[data-sec="home.s4"] .eyebrow { color: var(--gold-300) !important; }
[data-sec="home.s4"] p { color: #cfe0d5 !important; }
[data-sec="home.s4"] .stat { border-left-color: var(--gold-300); }
[data-sec="home.s4"] .stat__n { font-size: clamp(2.8rem, 1.5rem + 4.4vw, 5.2rem); color: #fff !important; text-shadow: 0 0 32px rgba(242, 201, 76, .35); letter-spacing: -.02em; }
[data-sec="home.s4"] .stat__l { color: #f1f7f3; font-weight: 600; }
[data-sec="home.s4"] .stat__src { color: #a9c2b3; }
[data-sec="home.s4"] .stat:hover { background: rgba(255, 255, 255, .06); }

/* === Round 7: 3D === */
/* cards swing up out of the page when they scroll in */
@keyframes reveal3d { from { opacity: 0; transform: perspective(1100px) translateY(46px) rotateX(24deg) scale(.96); } to { opacity: 1; transform: perspective(1100px) none; } }
.js .card.reveal.is-in, .js .tile.reveal.is-in, .js .dept.reveal.is-in, .js .person.reveal.is-in { animation: reveal3d 900ms var(--ease-out) backwards; transform-origin: 50% 100%; }
/* stronger depth on hover: card lifts, picture floats forward */
.fx-tilt { transform-style: preserve-3d; }
.fx-tilt .card__thumb img, .fx-tilt > img, .fx-tilt .person__photo { translate: 0 0; scale: 1.06; transition: scale 400ms var(--ease-out); }
/* hero photo turns in 3D with the pointer */
.hero--split .hero__right { transform-style: preserve-3d; }
/* numbers and section heads get a soft 3D settle */
@keyframes stat3d { from { opacity: 0; transform: perspective(700px) rotateX(-70deg); } to { opacity: 1; transform: perspective(700px) none; } }
.js [data-sec="home.s4"] .stat.is-in, .js [data-sec="home.s4"] .reveal.is-in { animation-name: stat3d; animation-duration: 900ms; transform-origin: 50% 0; }
@media (prefers-reduced-motion: reduce) { .js .card.reveal.is-in, .js .tile.reveal.is-in, .js .dept.reveal.is-in, .js .person.reveal.is-in { animation: none; } }

/* === Round 8: clear photo, floating 3D containers === */
.hero--split .hero__left {
  background:
    linear-gradient(96deg, rgba(4, 40, 24, .82) 0%, rgba(6, 66, 39, .52) 30%, rgba(10, 100, 61, .08) 58%, rgba(16, 124, 76, 0) 80%),
    linear-gradient(0deg, rgba(4, 36, 22, .5) 0%, rgba(4, 36, 22, 0) 30%);
}
@media (max-width: 800px) { .hero--split .hero__left { background: linear-gradient(0deg, rgba(4, 36, 22, .78) 0%, rgba(4, 40, 24, .5) 100%); } }
.hero--split .slide img { filter: brightness(1.06) contrast(1.05) saturate(1.08); }
.hero--split h1, .hero--split .hero__sub { text-shadow: 0 2px 18px rgba(0, 0, 0, .55); }
.hero--split .hero__right::after { display: none; }

/* the four facts become separate glass containers that hover in 3D */
.hero--split .hero__meta { background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0; gap: 14px; perspective: 900px; }
.hero--split .hero__fact {
  background: rgba(4, 40, 24, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .22); border-radius: 14px; padding: 14px 16px;
  box-shadow: 0 22px 38px -16px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .2);
  animation: float3d 6s ease-in-out infinite alternate;
}
.hero--split .hero__fact:nth-child(2) { animation-delay: -1.5s; animation-duration: 7s; }
.hero--split .hero__fact:nth-child(3) { animation-delay: -3s; animation-duration: 6.5s; }
.hero--split .hero__fact:nth-child(4) { animation-delay: -4.5s; animation-duration: 7.5s; }
@keyframes float3d { from { translate: 0 0; rotate: 1 1 0 -5deg; } to { translate: 0 -12px; rotate: 1 -1 0 5deg; } }

/* service cards and tiles drift up and down at their own pace, with a little 3D sway */
.js [data-sec="home.s2"] .grid { perspective: 1200px; }
.js .card.is-in, .js .tile.is-in, .js .dept.is-in { animation-name: reveal3d, floatCard; animation-duration: 900ms, 7s; animation-delay: 0s, 1s; animation-iteration-count: 1, infinite; animation-direction: normal, alternate; animation-timing-function: var(--ease-out), ease-in-out; animation-fill-mode: backwards, none; }
.js .card.is-in:nth-child(2n), .js .tile.is-in:nth-child(2n), .js .dept.is-in:nth-child(2n) { animation-duration: 900ms, 8.5s; animation-delay: 0s, 1.8s; }
.js .card.is-in:nth-child(3n), .js .tile.is-in:nth-child(3n), .js .dept.is-in:nth-child(3n) { animation-duration: 900ms, 6.2s; animation-delay: 0s, .4s; }
@keyframes floatCard { from { translate: 0 0; rotate: 1 0 0 0deg; } to { translate: 0 -9px; rotate: 1 1 0 2.2deg; } }
@media (prefers-reduced-motion: reduce) { .hero--split .hero__fact, .js .card.is-in, .js .tile.is-in, .js .dept.is-in { animation: none; } }


/* ==============================================================
   CLIENT FIX: Hero text, headline, and fact counts NEVER fade
   ============================================================== */
.hero--split .hero__left-content,
.hero--split .hero__meta,
.hero--split .hero__fact,
.hero--split h1,
.hero--split h1 .w,
.hero--split .hero__sub,
.hero--split .hero__actions,
.hero--split .hero__badge-top,
.hero--split .eyebrow {
  opacity: 1 !important;
}

/* Ensure fact count numbers and text stay 100% crisp, solid, and high-contrast */
.hero--split .hero__fact {
  opacity: 1 !important;
  background: rgba(3, 30, 18, 0.85) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

.hero--split .hero__fact strong,
.hero--split .hero__fact strong span {
  opacity: 1 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7) !important;
}

.hero--split .hero__fact span {
  opacity: 1 !important;
  color: #dcece2 !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6) !important;
}


/* ==============================================================
   FLOATING AI CHATBOT WIDGET
   ============================================================== */
.chat { position: fixed; right: 24px; bottom: 24px; z-index: 1200; font-family: var(--font-body, system-ui, sans-serif); }
.chat__launcher {
  position: relative; width: 62px; height: 62px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .25); cursor: pointer;
  background: linear-gradient(135deg, #0e5f38 0%, #158455 100%); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 28px rgba(5, 42, 26, .45), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform 260ms cubic-bezier(.16, 1, .3, 1), box-shadow 260ms ease, background 260ms ease;
}
.chat__launcher:hover { background: linear-gradient(135deg, #09472a 0%, #0e5f38 100%); transform: translateY(-4px) scale(1.06); box-shadow: 0 16px 36px rgba(5, 42, 26, .55); }
.chat__launcher:active { transform: scale(.95); }
.chat__launcher::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--gold-300); animation: chatRing 3s ease-out infinite; pointer-events: none; }
@keyframes chatRing { 0% { transform: scale(1); opacity: .85; } 60%, 100% { transform: scale(1.45); opacity: 0; } }

.chat__badge-ai {
  position: absolute; top: -5px; right: -4px; background: linear-gradient(135deg, #ffd54f 0%, #f2c94c 100%);
  color: #042818; font-size: 11px; font-weight: 800; line-height: 1; padding: 3px 6px; border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .3); letter-spacing: .04em; pointer-events: none;
}

.chat__ic { position: absolute; display: grid; place-items: center; transition: transform 300ms var(--ease-out), opacity 200ms var(--ease); }
.chat__ic--close { opacity: 0; transform: rotate(-90deg) scale(.6); }
.chat.is-open .chat__ic--open { opacity: 0; transform: rotate(90deg) scale(.6); }
.chat.is-open .chat__ic--close { opacity: 1; transform: none; }
.chat.is-open .chat__launcher::after { display: none; }
.chat.is-open .chat__badge-ai { opacity: 0; }

.chat__panel {
  position: absolute; right: 0; bottom: 76px; width: min(400px, calc(100vw - 2rem)); height: min(580px, calc(100dvh - 8rem));
  display: flex; flex-direction: column; background: #fff; border: 1px solid rgba(16, 124, 76, .18); border-radius: 20px; overflow: hidden;
  box-shadow: 0 30px 75px -15px rgba(5, 42, 26, .45), 0 0 0 1px rgba(0, 0, 0, .04);
  opacity: 0; transform: translateY(18px) scale(.94); transform-origin: 100% 100%; pointer-events: none;
  transition: opacity 240ms var(--ease), transform 320ms cubic-bezier(.16, 1, .3, 1);
}
.chat__panel[hidden] { display: none; }
.chat.is-open .chat__panel { opacity: 1; transform: none; pointer-events: auto; }

.chat__head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 16px;
  background: linear-gradient(135deg, #09472a 0%, #158455 100%); color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .15);
}
.chat__head-info { display: flex; align-items: center; gap: 11px; min-width: 0; }
.chat__head strong { display: block; font-family: var(--font-display, inherit); font-size: 1.02rem; line-height: 1.2; color: #fff; }
.chat__pill { display: inline-block; background: var(--gold-300, #f2c94c); color: #042818; font-size: 10px; font-weight: 800; padding: 1px 6px; border-radius: 100px; margin-left: 4px; vertical-align: middle; }
.chat__status { display: flex; align-items: center; gap: 6px; font-size: .78rem; color: #cfe0d5; margin-top: 2px; }
.chat__status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #2ecc71; box-shadow: 0 0 6px #2ecc71; animation: dotPulse 2s infinite ease-in-out; }
@keyframes dotPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(.85); } }

.chat__head-btns { display: flex; align-items: center; gap: 6px; flex: none; }
.chat__action-btn { width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background 200ms ease; }
.chat__action-btn:hover { background: rgba(255, 255, 255, .25); }

.chat__avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, #ffd54f 0%, #f2c94c 100%); color: #042818; display: grid; place-items: center; flex: none; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }

.chat__log {
  flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; background: #f7faf8;
  scroll-behavior: smooth; overscroll-behavior: contain;
}
.chat__msg { max-width: 88%; padding: 11px 15px; border-radius: 16px; font-size: .92rem; line-height: 1.55; word-break: break-word; animation: msgIn 300ms cubic-bezier(.16, 1, .3, 1) both; }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
.chat__msg--bot {
  align-self: flex-start; background: #fff; color: #1c2e24; border: 1px solid rgba(16, 124, 76, .12);
  border-bottom-left-radius: 4px; box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
}
.chat__msg--bot strong { color: #0d4a2b; font-weight: 700; }
.chat__msg--bot a { color: #158455; font-weight: 600; text-decoration: underline; }
.chat__msg--bot a:hover { color: #0b5233; }
.chat__msg--user {
  align-self: flex-end; background: linear-gradient(135deg, #107c4c 0%, #0d683f 100%); color: #fff;
  border-bottom-right-radius: 4px; box-shadow: 0 3px 10px rgba(13, 104, 63, .25);
}

.chat__links { display: flex; flex-direction: column; gap: 5px; margin-top: 10px; }
.chat__links a { font-weight: 700; font-size: .86rem; color: #107c4c; text-decoration: none; padding: 4px 8px; background: rgba(16, 124, 76, .08); border-radius: 8px; display: inline-block; transition: background 180ms ease; }
.chat__links a:hover { background: rgba(16, 124, 76, .18); text-decoration: none; }

.chat__source { margin-top: 8px; padding-top: 6px; border-top: 1px dashed rgba(0, 0, 0, .08); display: flex; align-items: center; }
.chat__source-badge { font-size: .68rem; font-weight: 700; padding: 2px 7px; border-radius: 6px; letter-spacing: .03em; display: inline-flex; align-items: center; gap: 4px; }
.chat__source-badge--ai { background: rgba(16, 124, 76, .12); color: #0d683f; border: 1px solid rgba(16, 124, 76, .25); }
.chat__source-badge--sys { background: rgba(0, 0, 0, .06); color: #555; border: 1px solid rgba(0, 0, 0, .1); }

.chat__typing { display: inline-flex; align-items: center; gap: 5px; padding: 6px 4px; }
.chat__typing i { width: 7px; height: 7px; border-radius: 50%; background: #158455; animation: bounce 1.1s infinite ease-in-out; }
.chat__typing i:nth-child(2) { animation-delay: .16s; }
.chat__typing i:nth-child(3) { animation-delay: .32s; }
@keyframes bounce { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-6px); opacity: 1; } }

.chat__chips { display: flex; gap: 8px; padding: 10px 16px 0; overflow-x: auto; scrollbar-width: none; flex: none; background: #f7faf8; }
.chat__chips::-webkit-scrollbar { display: none; }
.chat__chips:empty { display: none; }
.chat__chips button {
  flex: none; white-space: nowrap; background: #fff; border: 1px solid rgba(16, 124, 76, .28); color: #107c4c;
  font-size: .81rem; font-weight: 600; padding: 6px 12px; border-radius: 100px; cursor: pointer;
  transition: all 200ms ease; box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
}
.chat__chips button:hover { background: #107c4c; color: #fff; transform: translateY(-1px); box-shadow: 0 3px 8px rgba(16, 124, 76, .25); }

.chat__form { display: flex; gap: 8px; padding: 10px 16px 6px; background: #fff; border-top: 1px solid rgba(0, 0, 0, .06); }
.chat__form input {
  flex: 1; min-width: 0; font: inherit; font-size: .92rem; padding: 10px 14px; border: 1.5px solid rgba(16, 124, 76, .2);
  border-radius: 100px; background: #fdfdfd; transition: border-color 200ms ease, box-shadow 200ms ease;
}
.chat__form input:focus { outline: none; border-color: #158455; box-shadow: 0 0 0 3px rgba(21, 132, 85, .15); }
.chat__form button {
  flex: none; width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  background: linear-gradient(135deg, #107c4c 0%, #0d683f 100%); color: #fff; display: grid; place-items: center;
  transition: transform 200ms ease, opacity 200ms ease; box-shadow: 0 3px 10px rgba(13, 104, 63, .3);
}
.chat__form button:hover:not(:disabled) { transform: scale(1.08); background: #09472a; }
.chat__form button:disabled { opacity: .5; cursor: not-allowed; }

.chat__foot-label {
  padding: 4px 16px 8px; font-size: .71rem; text-align: center; color: #7a8f82; background: #fff;
  letter-spacing: .02em; user-select: none;
}

@media (max-width: 480px) {
  .chat { right: 16px; bottom: 16px; }
  .chat__panel { right: -6px; bottom: 70px; width: calc(100vw - 20px); height: min(520px, calc(100dvh - 6rem)); }
  .to-top { right: 16px; bottom: 5.5rem; }
}
@media print { .chat { display: none !important; } }
