@font-face { font-family: "Public Sans"; font-weight: 800; font-style: normal; font-display: swap; src: url("fonts/public-sans-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/source-serif-4-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/public-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/public-sans-latin-600-normal.woff2") format("woff2"); }

:root {
  --ink: #16201a;
  --forest: #1b5e3a;
  --forest-2: #144b2e;
  --moss: #4f7a62;
  --gold: #8f6a00;
  --gold-soft: #f4e38a;
  --sand: #f6f5ee;
  --paper: #ffffff;
  --white: #ffffff;
  --line: #e2e0d3;
  --line-strong: #c9c6b4;
  --muted: #5e665f;
  --muted-dark: #8a95a3;
  --green: #1b6b43;
  --amber: #8a5a00;
  --red: #a8281d;
  --slate: #4f5a67;
  --shadow: none;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 3px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--gold-soft); color: var(--ink); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: 10px 16px;
}
.skip:focus { left: 12px; top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(251, 249, 244, .92);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--gold);
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 14px; letter-spacing: .02em;
  color: var(--forest); background: var(--white);
  flex: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong {
  font-family: var(--serif); font-weight: 600; font-size: 19px;
  letter-spacing: -.01em; color: var(--ink);
}
.brand-text span {
  margin-top: 5px; font-size: 9px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted);
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-size: 13px; font-weight: 500; color: #35473b;
  padding: 6px 0; position: relative;
}
.nav a:hover { color: var(--forest); }
.nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--gold);
}
.nav-cta {
  border: 1px solid var(--forest); color: var(--forest) !important;
  padding: 9px 16px !important; border-radius: 999px;
  font-size: 12px !important; letter-spacing: .02em;
}
.nav-cta:hover { background: var(--forest); color: #fff !important; }
.menu-toggle {
  display: none; background: none; border: 1px solid var(--line-strong);
  border-radius: 8px; width: 42px; height: 38px; cursor: pointer;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 17px; height: 1.5px; background: var(--ink);
  margin: 0 auto; position: relative; content: "";
}
.menu-toggle span::before { position: absolute; top: -5px; }
.menu-toggle span::after { position: absolute; top: 5px; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--forest); color: #f4f1e7;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 480px at 78% 8%, rgba(184, 145, 47, .20), transparent 62%),
    radial-gradient(700px 500px at 12% 92%, rgba(47, 107, 79, .5), transparent 65%),
    linear-gradient(160deg, #0a2b1e 0%, #0d3b2a 48%, #123f2c 100%);
}
.hero-contours {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: -1; opacity: .55; pointer-events: none;
}
.hero-inner {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: 64px; align-items: end;
  padding-top: 92px; padding-bottom: 76px;
}
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-soft); font-weight: 600;
}
.kicker::before {
  content: ""; width: 26px; height: 1px; background: currentColor; opacity: .8;
}
.hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(44px, 6vw, 82px); line-height: .98;
  letter-spacing: -.035em; margin: 22px 0 26px;
  max-width: 12ch;
}
.hero h1 em { font-style: italic; color: var(--gold-soft); }
.hero-lede {
  max-width: 54ch; color: #d7ddd4; font-size: 16.5px; line-height: 1.7;
  margin: 0 0 34px;
}
.hero-lede strong { color: #fff; font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; transition: .18s ease;
}
.btn-gold { background: var(--gold-soft); color: #1d2b20; }
.btn-gold:hover { background: #f0dda9; transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255,255,255,.32); color: #fff; }
.btn-ghost:hover { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.06); }
.btn-dark { background: var(--forest); color: #fff; }
.btn-dark:hover { background: var(--forest-2); }
.btn-outline { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--forest); color: var(--forest); }

.hero-panel {
  border: 1px solid rgba(228, 205, 147, .28);
  background: rgba(6, 24, 16, .34);
  backdrop-filter: blur(6px);
  border-radius: var(--radius);
  padding: 28px 28px 22px;
}
.hero-panel-top {
  display: flex; align-items: baseline; justify-content: space-between;
  padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.14);
}
.hero-panel-top span {
  font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-soft);
}
.hero-panel-top small { color: var(--muted-dark); font-size: 10px; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 20px; padding-top: 22px; }
.hero-stat b {
  display: block; font-family: var(--serif); font-weight: 500;
  font-size: 34px; line-height: 1; letter-spacing: -.02em; color: #fff;
}
.hero-stat span {
  display: block; margin-top: 8px; font-size: 10.5px;
  color: #b9c6ba; line-height: 1.4;
}
.hero-note {
  margin-top: 22px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.14);
  font-size: 10.5px; color: #9fb0a2; line-height: 1.5;
}
.hero-note a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section-tight { padding: 60px 0; }
.section-sand { background: var(--sand); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-ink { background: var(--ink); color: #e9e7dd; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; margin-bottom: 38px;
}
.section-num {
  display: block; font-size: 10px; letter-spacing: .24em;
  color: var(--gold); text-transform: uppercase; margin-bottom: 12px; font-weight: 700;
}
.section-head h2 {
  font-family: var(--serif); font-weight: 500; letter-spacing: -.025em;
  font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; margin: 0;
}
.section-head p { max-width: 42ch; margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- filters ---------- */
.filter-bar {
  position: sticky; top: 72px; z-index: 40;
  background: var(--paper); border-bottom: 1px solid var(--line);
  padding: 14px 0 13px;
}
.filter-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.search-box { position: relative; flex: 1 1 260px; min-width: 220px; }
.search-box svg {
  position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
  width: 15px; height: 15px; stroke: var(--muted); fill: none; stroke-width: 1.8;
}
.search-box input {
  width: 100%; height: 42px; padding: 0 14px 0 38px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: var(--white); font: inherit; font-size: 13.5px; color: var(--ink);
  outline: none; transition: border-color .15s;
}
.search-box input:focus { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(27,94,58,.08); }
.select-wrap { position: relative; }
.select-wrap select {
  height: 42px; padding: 0 34px 0 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--white);
  font: inherit; font-size: 13px; color: #35473b; cursor: pointer;
  appearance: none; -webkit-appearance: none; outline: none;
}
.select-wrap::after {
  content: ""; position: absolute; right: 14px; top: 18px;
  width: 6px; height: 6px; border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); pointer-events: none;
}
.sector-chips { display: flex; gap: 7px; overflow-x: auto; padding: 10px 0 2px; scrollbar-width: none; }
.sector-chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; border: 1px solid var(--line); background: transparent;
  border-radius: 999px; padding: 6px 13px; font-size: 11.5px; color: #4c5a4f;
  cursor: pointer; transition: .15s; white-space: nowrap;
}
.chip:hover { border-color: var(--moss); color: var(--forest); }
.chip.active { background: var(--forest); border-color: var(--forest); color: #fff; }
.chip .n { opacity: .55; margin-left: 5px; font-size: 10px; }
.results-line {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 22px; color: var(--muted); font-size: 12px;
}
.results-line b { color: var(--ink); }
.link-underline {
  color: var(--forest); border-bottom: 1px solid rgba(27,94,58,.3);
  padding-bottom: 1px; cursor: pointer; font-size: 12px;
}
.link-underline:hover { border-color: var(--forest); }

/* ---------- project cards ---------- */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 22px 18px;
  box-shadow: var(--shadow); cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  text-align: left;
}
.card::after {
  content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 2px;
  background: var(--gold); opacity: 0; transition: opacity .18s;
  border-radius: 2px;
}
.card:hover { transform: translateY(-3px); border-color: #c9c0ab; box-shadow: 0 18px 44px -24px rgba(12,26,19,.38); }
.card:hover::after { opacity: 1; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.card-sector {
  font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--moss); font-weight: 700;
}
.status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 600; padding: 4px 9px; border-radius: 999px;
  border: 1px solid transparent; white-space: nowrap;
}
.status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status-completed { color: var(--green); background: #eaf3ed; border-color: #cfe3d6; }
.status-ongoing { color: var(--amber); background: #f8f0de; border-color: #ecdcb8; }
.status-delayed { color: var(--red); background: #f8eae7; border-color: #eed2cb; }
.status-planned { color: var(--slate); background: #eef0f2; border-color: #daddE1; }
.card h3 {
  font-family: var(--serif); font-weight: 600; font-size: 21px; line-height: 1.22;
  letter-spacing: -.015em; margin: 0 0 8px; color: var(--ink);
}
.card-loc {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--muted); margin-bottom: 13px;
}
.card-loc svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 1.8; flex: none; }
.card p {
  margin: 0 0 16px; font-size: 12.8px; line-height: 1.62; color: #556156;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card-metric {
  margin-top: auto; padding-top: 14px; border-top: 1px solid #efeadf;
  font-family: var(--serif); font-size: 14.5px; line-height: 1.35;
  color: var(--forest); letter-spacing: -.01em;
}
.card-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px; font-size: 10.5px; color: var(--muted);
}
.card-foot .go { color: var(--forest); font-weight: 600; letter-spacing: .01em; }
.card:hover .card-foot .go { text-decoration: underline; text-underline-offset: 3px; }
.empty {
  border: 1px dashed var(--line-strong); border-radius: var(--radius);
  padding: 54px 24px; text-align: center; color: var(--muted); grid-column: 1/-1;
}
.empty strong { display: block; font-family: var(--serif); font-size: 22px; color: var(--ink); margin-bottom: 6px; }
.load-more-wrap { display: flex; justify-content: center; margin-top: 34px; }

/* ---------- scorecard ---------- */
.metric-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.metric-tile { background: var(--paper); padding: 30px 26px 28px; }
.metric-tile b {
  display: block; font-family: var(--serif); font-weight: 500;
  font-size: clamp(30px, 3vw, 42px); line-height: 1; letter-spacing: -.03em;
  color: var(--forest); margin-bottom: 10px;
}
.metric-tile span { display: block; font-size: 12.5px; color: #556156; line-height: 1.5; }
.metric-tile small { display: block; margin-top: 14px; font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.caveat {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 18px;
  font-size: 11.5px; color: var(--muted); line-height: 1.6;
}
.caveat svg { width: 15px; height: 15px; flex: none; margin-top: 2px; stroke: var(--gold); fill: none; stroke-width: 1.7; }

/* ---------- county strip ---------- */
.county-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: start; }
.county-bars { display: flex; flex-direction: column; gap: 14px; }
.county-bar { display: grid; grid-template-columns: 122px 1fr 48px; gap: 14px; align-items: center; }
.county-bar .name { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.county-bar .track { height: 8px; background: #e8e2d3; border-radius: 999px; overflow: hidden; }
.county-bar .fill { height: 100%; background: linear-gradient(90deg, var(--forest), var(--moss)); border-radius: 999px; }
.county-bar .val { font-family: var(--serif); font-size: 14px; color: var(--forest); text-align: right; }
.county-copy p { color: #4f5d52; font-size: 14.5px; line-height: 1.75; margin: 0 0 18px; }
.county-copy .big {
  font-family: var(--serif); font-size: clamp(34px, 4vw, 52px); line-height: 1;
  color: var(--forest); letter-spacing: -.03em; margin: 0 0 16px;
}
.county-copy .big span { font-family: var(--sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 10px; font-weight: 700; }

/* ---------- timeline ---------- */
.timeline { position: relative; margin-top: 8px; }
.timeline::before {
  content: ""; position: absolute; left: 92px; top: 6px; bottom: 6px;
  width: 1px; background: var(--line-strong);
}
.tl-item { display: grid; grid-template-columns: 92px 1fr; gap: 34px; padding: 0 0 30px; position: relative; }
.tl-item:last-child { padding-bottom: 0; }
.tl-year { font-family: var(--serif); font-size: 19px; color: var(--forest); padding-top: 1px; }
.tl-body { position: relative; padding-left: 2px; }
.tl-body::before {
  content: ""; position: absolute; left: -38px; top: 7px; width: 7px; height: 7px;
  background: var(--paper); border: 1.5px solid var(--gold); border-radius: 50%;
  box-shadow: 0 0 0 5px var(--paper);
}
.section-ink .tl-body::before { background: var(--ink); box-shadow: 0 0 0 5px var(--ink); }
.tl-body h3 { font-family: var(--serif); font-weight: 600; font-size: 18px; margin: 0 0 4px; letter-spacing: -.01em; }
.tl-body p { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.6; max-width: 62ch; }

/* ---------- methodology cards ---------- */
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.note-card { border-top: 2px solid var(--forest); padding-top: 20px; }
.note-card h3 { font-family: var(--serif); font-size: 19px; font-weight: 600; margin: 0 0 8px; }
.note-card p { margin: 0; font-size: 13px; color: #556156; line-height: 1.65; }
.note-card a { color: var(--forest); border-bottom: 1px solid rgba(27,94,58,.3); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #b9c3ba; padding: 56px 0 34px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text span { color: #8d9b90; }
.footer-brand .brand-mark { background: transparent; color: var(--gold-soft); border-color: rgba(228,205,147,.5); }
.footer-brand p { max-width: 40ch; font-size: 12.5px; line-height: 1.65; color: #8d9b90; margin: 16px 0 0; }
.footer-cols { display: flex; gap: 64px; }
.footer-col h4 { font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); margin: 0 0 14px; font-weight: 700; }
.footer-col a { display: block; font-size: 12.5px; color: #b9c3ba; margin-bottom: 9px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; padding-top: 22px; font-size: 10.5px; color: #7e8d81; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }
.footer-bottom .disclaimer { max-width: 72ch; }

/* ---------- modal ---------- */
dialog.modal {
  width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - 48px);
  border: 1px solid var(--line); border-radius: 18px; padding: 0;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 30px 90px -20px rgba(0,0,0,.45);
  overflow: hidden;
}
dialog.modal::backdrop { background: rgba(7, 20, 13, .62); backdrop-filter: blur(3px); }
.modal-head {
  position: sticky; top: 0; z-index: 2; display: flex; align-items: center;
  justify-content: space-between; gap: 18px;
  padding: 16px 26px; background: var(--paper); border-bottom: 1px solid var(--line);
}
.modal-head .crumbs { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.modal-close {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: var(--white); cursor: pointer; display: grid; place-items: center;
  font-size: 18px; line-height: 1; color: var(--muted);
}
.modal-close:hover { border-color: var(--ink); color: var(--ink); }
.modal-body { padding: 28px 30px 34px; overflow-y: auto; max-height: calc(100vh - 150px); }
.modal-body h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 4vw, 40px); line-height: 1.08; letter-spacing: -.025em; margin: 12px 0 12px; }
.modal-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: 11.5px; color: var(--muted); margin-bottom: 20px; }
.modal-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line-strong); }
.modal-summary { font-size: 14.5px; line-height: 1.75; color: #3d4d42; margin: 0 0 24px; }
.modal-metric {
  background: var(--sand); border-left: 3px solid var(--gold);
  padding: 16px 18px; border-radius: 0 10px 10px 0; margin-bottom: 26px;
}
.modal-metric small { display: block; font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; font-weight: 700; }
.modal-metric b { font-family: var(--serif); font-weight: 500; font-size: 20px; line-height: 1.3; color: var(--forest); }
.facts { width: 100%; border-collapse: collapse; margin-bottom: 26px; }
.facts tr { border-bottom: 1px solid var(--line); }
.facts tr:last-child { border-bottom: none; }
.facts th { text-align: left; font-size: 11.5px; font-weight: 500; color: var(--muted); padding: 10px 14px 10px 0; vertical-align: top; width: 46%; }
.facts td { font-size: 12.5px; color: var(--ink); padding: 10px 0; font-weight: 600; }
.modal-sub { font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin: 0 0 12px; }
.sources-list { list-style: none; padding: 0; margin: 0 0 26px; }
.sources-list li { border-top: 1px solid var(--line); }
.sources-list a { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 11px 0; font-size: 12.5px; color: var(--forest); }
.sources-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sources-list span { color: var(--muted); font-size: 14px; }
.modal-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.modal-actions .btn { padding: 10px 16px; font-size: 12px; }

/* ---------- counties page ---------- */
.page-hero { background: var(--forest); color: #f4f1e7; padding: 64px 0 54px; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 320px at 85% 0%, rgba(184,145,47,.18), transparent 65%);
}
.page-hero .inner { position: relative; }
.page-hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 5vw, 62px); line-height: 1; letter-spacing: -.035em; margin: 18px 0 16px; }
.page-hero p { max-width: 62ch; color: #ced8cd; font-size: 15px; margin: 0; }
.page-hero .hero-actions { margin-top: 28px; }
.page-stats { display: flex; flex-wrap: wrap; gap: 34px; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.16); }
.page-stats b { display: block; font-family: var(--serif); font-size: 26px; font-weight: 500; color: #fff; }
.page-stats span { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #a9b8aa; }

.explorer { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 34px; align-items: start; padding-top: 44px; padding-bottom: 80px; }
.county-index {
  position: sticky; top: 92px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.county-index-head { padding: 16px 18px; border-bottom: 1px solid var(--line); }
.county-index-head input {
  width: 100%; height: 38px; border: 1px solid var(--line-strong); border-radius: 8px;
  padding: 0 12px; font: inherit; font-size: 12.5px; outline: none;
}
.county-index-head input:focus { border-color: var(--forest); }
.county-list { max-height: calc(100vh - 260px); overflow-y: auto; padding: 8px; }
.county-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; padding: 9px 10px; border: none; background: transparent;
  border-radius: 8px; cursor: pointer; text-align: left;
}
.county-item:hover { background: #f3f0e7; }
.county-item.active { background: var(--forest); color: #fff; }
.county-item .nm { font-size: 12.5px; font-weight: 500; }
.county-item .ct { font-size: 10px; color: var(--muted); font-variant-numeric: tabular-nums; }
.county-item.active .ct { color: #cdd9cd; }
.county-panel { min-height: 420px; }
.county-panel-head { border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 18px; }
.county-panel-head h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3.6vw, 44px); margin: 0 0 8px; letter-spacing: -.025em; }
.county-panel-head p { margin: 0; font-size: 12.5px; color: var(--muted); }
.county-kpis { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 14px; }
.county-kpis div { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.county-kpis b { display: block; font-family: var(--serif); font-size: 22px; letter-spacing: -.02em; color: var(--forest); font-weight: 500; margin-bottom: 2px; }
.county-tools { display: flex; gap: 9px; flex-wrap: wrap; margin: 16px 0 14px; }
.county-tools input {
  flex: 1 1 220px; height: 38px; border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 0 14px; font: inherit; font-size: 12.5px; outline: none; background: #fff;
}
.county-tools input:focus { border-color: var(--forest); }
.project-rows { border-top: 1px solid var(--line); }
.prow { display: grid; grid-template-columns: minmax(0,1fr) 128px; gap: 16px; padding: 14px 2px; border-bottom: 1px solid var(--line); }
.prow .pn { font-size: 12.8px; font-weight: 600; line-height: 1.4; margin-bottom: 3px; }
.prow .pl { font-size: 10.5px; color: var(--muted); }
.prow .pr { text-align: right; }
.prow .sec { display: block; font-size: 9.5px; color: var(--muted); margin-top: 4px; }
.county-empty { padding: 40px 10px; color: var(--muted); font-size: 13px; }

/* ---------- methodology page ---------- */
.prose { max-width: 760px; }
.prose h2 { font-family: var(--serif); font-weight: 500; font-size: 32px; letter-spacing: -.02em; margin: 46px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--serif); font-size: 20px; margin: 28px 0 8px; }
.prose p, .prose li { font-size: 14.5px; line-height: 1.8; color: #3f4d43; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--forest); border-bottom: 1px solid rgba(27,94,58,.3); }
.prose .callout {
  background: var(--sand); border-left: 3px solid var(--gold);
  padding: 18px 20px; margin: 24px 0; border-radius: 0 10px 10px 0;
  font-size: 13.5px; line-height: 1.7; color: #435147;
}
.prose .callout b { color: var(--ink); }
.src-table { width: 100%; border-collapse: collapse; margin: 16px 0 30px; font-size: 12.5px; }
.src-table th { text-align: left; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line-strong); padding: 10px 12px 10px 0; }
.src-table td { border-bottom: 1px solid var(--line); padding: 11px 12px 11px 0; vertical-align: top; }
.src-table td:first-child { width: 34%; font-weight: 600; }
.src-table a { color: var(--forest); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 70px 0 60px; }
  .hero h1 { max-width: 15ch; }
  .hero-panel { max-width: 540px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .county-strip { grid-template-columns: 1fr; gap: 36px; }
  .explorer { grid-template-columns: 1fr; }
  .county-index { position: static; }
  .county-list { max-height: 300px; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .wrap { padding: 0 18px; }
  .home .nav, .home .menu-toggle { }
  .nav { display: none; }
  .nav.open {
    display: flex; position: absolute; left: 0; right: 0; top: 72px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: flex-start; gap: 4px;
    padding: 14px 18px 20px;
  }
  .nav.open a { padding: 10px 0; width: 100%; font-size: 14px; }
  .nav.open .nav-cta { text-align: center; margin-top: 6px; }
  .menu-toggle { display: block; }
  .header-inner { height: 64px; }
  .filter-bar { top: 64px; }
  .section { padding: 60px 0; }
  .hero-inner { padding-top: 54px; padding-bottom: 48px; }
  .hero-stats { gap: 20px 14px; }
  .hero-stat b { font-size: 29px; }
  .grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .metric-tile { padding: 22px 18px; }
  .three-col { grid-template-columns: 1fr; gap: 18px; }
  .timeline::before { left: 62px; }
  .tl-item { grid-template-columns: 62px 1fr; gap: 22px; }
  .tl-year { font-size: 15px; }
  .tl-body::before { left: -26px; }
  .footer-top { flex-direction: column; }
  .footer-cols { gap: 40px; }
  .county-bar { grid-template-columns: 96px 1fr 38px; gap: 10px; }
  .prow { grid-template-columns: 1fr; gap: 8px; }
  .prow .pr { text-align: left; display: flex; align-items: center; gap: 10px; }
  .prow .sec { margin-top: 0; }
  .modal-body { padding: 22px 20px 28px; }
  .modal-head { padding: 14px 20px; }
}
@media (min-width: 761px) {
  .sector-chips { flex-wrap: wrap; overflow: visible; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* print */
@media print {
  .site-header, .filter-bar, .site-footer, .hero-actions, .modal-close { display: none !important; }
  .hero, .page-hero { background: #fff !important; color: #000 !important; }
  .card { break-inside: avoid; box-shadow: none; }
}

/* =====================================================================
   Dynamic app — public components
   ===================================================================== */
/* Content is never hidden behind script state. */
.reveal { opacity: 1; transform: none; }
.btn-sm { padding: 9px 15px; font-size: 12px; }
.btn-danger { background: #a33a2b; color: #fff; border-color: #a33a2b; }
.btn-danger:hover { background: #8c3124; }
.county-bar .track, .county-bar .fill { display: block; }

.breadcrumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 11px; color: #9fb0a2; margin-bottom: 22px;
}
.breadcrumbs a { color: #cdd9cd; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs span[aria-current] { color: var(--gold-soft); }

.project-hero { padding: 46px 0 54px; }
.project-hero .inner { position: relative; }
.project-head { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 46px; align-items: end; }
.project-hero h1 {
  font-size: clamp(36px, 4.6vw, 58px); max-width: 18ch; margin: 16px 0 14px;
  overflow-wrap: anywhere;
}
.project-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  font-size: 12.5px; color: #c4d1c5; margin-bottom: 16px;
}
.project-meta .meta-sep { color: #6f8577; }
.project-summary { max-width: 68ch; color: #d7ddd4; font-size: 15.5px; line-height: 1.72; margin: 0 0 26px; }
.project-metric-card {
  border: 1px solid rgba(228, 205, 147, .28);
  background: rgba(6, 24, 16, .34);
  border-radius: var(--radius); padding: 24px 26px;
}
.project-metric-card .metric-label {
  display: block; font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-soft); margin-bottom: 12px; font-weight: 700;
}
.project-metric-card > b {
  display: block; font-family: var(--serif); font-weight: 500; font-size: 22px;
  line-height: 1.3; letter-spacing: -.01em; color: #fff; margin-bottom: 20px;
}
.project-metric-card dl { margin: 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.14); }
.project-metric-card dl div { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; font-size: 11.5px; }
.project-metric-card dt { color: #9fb0a2; }
.project-metric-card dd { margin: 0; color: #e9e7dd; font-weight: 600; text-align: right; }

.project-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px;
  gap: 46px; align-items: start; padding-top: 52px; padding-bottom: 84px;
}
.project-main { min-width: 0; }
.feed-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 18px;
  padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 26px;
}
.feed-head h2 { font-family: var(--serif); font-weight: 500; font-size: 32px; letter-spacing: -.02em; margin: 0; }
.feed-count { font-size: 11px; color: var(--muted); }

.update-feed { position: relative; }
.update-feed::before {
  content: ""; position: absolute; left: 100px; top: 14px; bottom: 14px;
  width: 1px; background: var(--line-strong);
}
.update-item { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 34px; position: relative; padding-bottom: 20px; }
.update-rail { position: relative; text-align: right; padding: 6px 14px 0 0; }
.update-rail time { font-size: 10.5px; font-weight: 700; color: var(--forest); letter-spacing: .02em; line-height: 1.4; display: block; }
.update-dot {
  position: absolute; right: -5px; top: 9px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--gold); box-shadow: 0 0 0 4px var(--paper);
}
.update-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 20px 22px; box-shadow: var(--shadow); scroll-margin-top: 96px;
}
.update-badge {
  display: inline-block; font-size: 8.5px; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 700; color: #7a5c12; background: #f6ecd3; border: 1px solid #ead9ab;
  padding: 3px 8px; border-radius: 999px; margin-bottom: 9px;
}
.update-card h3 { font-family: var(--serif); font-weight: 600; font-size: 21px; line-height: 1.28; letter-spacing: -.01em; margin: 0 0 8px; }
.update-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.update-project { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--moss); }
.update-project:hover { text-decoration: underline; text-underline-offset: 3px; }
.update-text { font-size: 13.2px; line-height: 1.7; color: #48564c; }
.update-card h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.update-source {
  display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap;
  margin: 14px 0 0; padding-top: 12px; border-top: 1px solid #efeadf; font-size: 11px;
}
.update-source span { text-transform: uppercase; letter-spacing: .12em; font-size: 9px; font-weight: 700; color: var(--muted); }
.update-source a { color: var(--forest); border-bottom: 1px solid rgba(27,94,58,.3); padding-bottom: 1px; }
.update-source a:hover { border-color: var(--forest); }

.update-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.update-row {
  display: grid; grid-template-columns: 150px minmax(0, 1fr) 24px; gap: 24px;
  align-items: start; padding: 20px 2px; border-bottom: 1px solid var(--line);
  transition: background .15s;
}
.update-row:hover { background: rgba(255,255,255,.6); }
.update-row-date b { display: block; font-family: var(--serif); font-size: 16px; font-weight: 600; color: var(--forest); }
.update-row-date span { display: block; font-size: 10px; color: var(--muted); margin-top: 3px; }
.update-row-body h3 { font-family: var(--serif); font-size: 18px; font-weight: 600; margin: 0 0 4px; letter-spacing: -.01em; }
.update-row-body p { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.55; }
.update-row-go { color: var(--gold); font-size: 18px; padding-top: 2px; }
.update-list + .load-more-wrap { margin-top: 26px; }

.project-sources { margin-top: 44px; }
.project-sources h2 { font-family: var(--serif); font-weight: 500; font-size: 26px; letter-spacing: -.02em; margin: 0 0 12px; }

.side-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 22px 20px; margin-bottom: 18px; box-shadow: var(--shadow);
}
.side-card h2 { font-family: var(--serif); font-weight: 600; font-size: 19px; letter-spacing: -.01em; margin: 0 0 14px; }
.side-card .facts { margin-bottom: 0; }
.side-card .facts th { width: 42%; padding: 8px 10px 8px 0; }
.side-card .facts td { padding: 8px 0; font-weight: 600; }
.side-updated { margin: 14px 0 0; font-size: 10.5px; color: var(--muted); }
.side-card p { font-size: 12px; color: #556156; line-height: 1.6; }
.side-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.side-card-cta { border-top: 2px solid var(--gold); }
.share-row { display: flex; flex-wrap: wrap; gap: 7px; }
.share-btn {
  border: 1px solid var(--line-strong); background: transparent; border-radius: 999px;
  padding: 6px 12px; font-size: 10.5px; font-weight: 600; color: #35473b;
  cursor: pointer; transition: .15s;
}
.share-btn:hover { border-color: var(--forest); color: var(--forest); background: #f5f2e9; }
.related-list { list-style: none; padding: 0; margin: 0; }
.related-list li { border-top: 1px solid var(--line); }
.related-list li:first-child { border-top: none; }
.related-list a { display: block; padding: 12px 0; }
.related-list a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.related-list strong { display: block; font-size: 13px; font-weight: 600; line-height: 1.4; margin: 6px 0 3px; }
.related-list small { display: block; font-size: 10.5px; color: var(--muted); line-height: 1.5; }

.pager {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 11.5px; flex-wrap: wrap;
}
.pager-link { color: var(--forest); font-weight: 600; padding: 6px 2px; }
.pager-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.pager-link.is-disabled { color: var(--line-strong); font-weight: 500; }
.pager-pages { display: flex; align-items: center; gap: 4px; }
.pager-num {
  min-width: 30px; height: 30px; border-radius: 7px; display: inline-flex;
  align-items: center; justify-content: center; padding: 0 7px;
  font-size: 11.5px; color: #35473b; border: 1px solid transparent;
}
.pager-num:hover { border-color: var(--line-strong); }
.pager-num.is-current { background: var(--forest); color: #fff; font-weight: 700; }
.pager-gap { color: var(--muted); padding: 0 3px; }

.county-toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 26px; }
.county-toolbar .search-box { flex: 1 1 260px; }
.county-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.county-card {
  display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--line); border-radius: 12px; padding: 18px 18px 16px;
  box-shadow: var(--shadow); transition: transform .16s ease, border-color .16s ease;
}
.county-card:hover { transform: translateY(-2px); border-color: #c9c0ab; }
.county-card-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.county-card h2 { font-family: var(--serif); font-size: 20px; font-weight: 600; margin: 0; letter-spacing: -.01em; }
.county-total { font-family: var(--serif); font-size: 17px; color: var(--forest); }
.county-sector { font-size: 10px; color: var(--muted); margin: 5px 0 12px; min-height: 15px; }
.county-progress { height: 5px; background: #ece6d7; border-radius: 999px; overflow: hidden; }
.county-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--forest), var(--moss)); border-radius: 999px; }
.county-counts { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; font-size: 9.5px; color: var(--muted); }
.county-counts b { color: var(--ink); font-size: 11px; }
.county-go { margin-top: 12px; font-size: 10px; font-weight: 700; color: var(--forest); letter-spacing: .02em; }
.county-card:hover .county-go { text-decoration: underline; text-underline-offset: 3px; }
.county-card[hidden] { display: none; }

.county-detail {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 42px;
  align-items: start; padding-top: 44px; padding-bottom: 84px;
}
.county-main { min-width: 0; }
.county-filter { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 14px; }
.county-filter .search-box { flex: 1 1 240px; }
.county-donut { margin-bottom: 16px; }
.county-donut-bar { height: 8px; background: #ece6d7; border-radius: 999px; overflow: hidden; margin-bottom: 8px; }
.county-donut-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--forest), var(--moss)); border-radius: 999px; }
.county-donut p { margin: 0; font-size: 11px; color: var(--muted); }
.county-donut b { color: var(--forest); font-family: var(--serif); font-size: 16px; }
.sector-bars { display: flex; flex-direction: column; gap: 9px; }
.sector-bar { display: grid; grid-template-columns: minmax(0, 1fr) 64px 26px; gap: 8px; align-items: center; }
.sb-name { font-size: 10.5px; color: #4c5a4f; line-height: 1.3; }
.sb-track { height: 5px; background: #ece6d7; border-radius: 999px; overflow: hidden; }
.sb-fill { display: block; height: 100%; background: var(--moss); border-radius: 999px; }
.sb-val { font-size: 10px; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.fineprint { font-size: 10.5px; color: var(--muted); line-height: 1.6; }
.fineprint-block { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); }
.notfound-search { display: flex; gap: 10px; max-width: 560px; margin-bottom: 22px; }

/* =====================================================================
   Admin
   ===================================================================== */
body.admin { background: #f4f1e9; }
.admin-bar { background: var(--forest); color: #dfe7df; position: sticky; top: 0; z-index: 60; }
.admin-bar-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 62px; flex-wrap: wrap;
}
.admin-brand { display: flex; align-items: center; gap: 11px; padding: 10px 0; }
.admin-brand .brand-mark { background: transparent; border-color: rgba(228,205,147,.55); color: var(--gold-soft); width: 32px; height: 32px; font-size: 12px; }
.admin-brand span:last-child { display: flex; flex-direction: column; line-height: 1.1; }
.admin-brand strong { font-family: var(--serif); font-size: 16px; color: #fff; font-weight: 600; }
.admin-brand small { font-size: 8.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); margin-top: 3px; }
.admin-nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.admin-nav a, .admin-link-btn {
  font-size: 12px; color: #cfdacf; background: none; border: none; padding: 6px 0;
  cursor: pointer; font-family: inherit; position: relative;
}
.admin-nav a:hover, .admin-link-btn:hover { color: #fff; }
.admin-nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold);
}
.logout-form { margin: 0; display: inline-flex; }
.admin-main { padding: 38px 0 70px; min-height: 60vh; }
.admin-wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.admin-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 26px; }
.admin-head h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3.4vw, 38px); letter-spacing: -.02em; margin: 2px 0 4px; line-height: 1.1; }
.admin-sub { margin: 0; font-size: 12px; color: var(--muted); }
.admin-head-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-search { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-search .search-box { min-width: 260px; }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.admin-stat { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; }
.admin-stat b { display: block; font-family: var(--serif); font-weight: 500; font-size: 30px; letter-spacing: -.02em; color: var(--forest); line-height: 1; }
.admin-stat span { display: block; margin-top: 7px; font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.admin-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.admin-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 24px 26px; margin-bottom: 18px;
}
.admin-card-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 15px; }
.admin-card-head h2 { font-family: var(--serif); font-weight: 600; font-size: 20px; letter-spacing: -.01em; margin: 0; }
.admin-muted { font-size: 12px; color: var(--muted); line-height: 1.6; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.admin-table th {
  text-align: left; font-size: 9px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line-strong); font-weight: 700;
}
.admin-table td { padding: 12px 10px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.admin-table .right { text-align: right; }
.admin-table .nowrap { white-space: nowrap; }
.admin-table-link { font-weight: 600; color: var(--ink); }
.admin-table-link:hover { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
.admin-table-sub { display: block; font-size: 10.5px; color: var(--muted); margin-top: 3px; }
.admin-table-wide td:first-child { width: 38%; }
.admin-table td .link-underline + .link-underline { margin-left: 10px; }
.admin-list { list-style: none; margin: 0; padding: 0; }
.admin-list li { border-top: 1px solid var(--line); }
.admin-list li:first-child { border-top: none; }
.admin-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; font-size: 12.5px; }
.admin-list a:hover span:first-child { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
.admin-steps { margin: 0 0 12px; padding-left: 20px; font-size: 12.5px; color: #4c5a4f; line-height: 1.7; }
.admin-steps li { margin-bottom: 6px; }
.admin-steps strong { color: var(--ink); }
.flash {
  border-radius: 10px; padding: 13px 17px; font-size: 12.5px; line-height: 1.6;
  margin-bottom: 18px; border: 1px solid transparent;
}
.flash-success { background: #eaf3ed; border-color: #cfe3d6; color: #1e5c3d; }
.flash-error { background: #f8eae7; border-color: #eed2cb; color: #8c3124; }
.flash ul { margin: 6px 0 0; padding-left: 18px; }
.flash p { margin: 0 0 4px; }
.count-pill {
  display: inline-block; min-width: 22px; text-align: center; font-size: 10px;
  background: var(--sand); border: 1px solid var(--line); color: var(--forest);
  border-radius: 999px; padding: 2px 7px; vertical-align: 2px; margin-left: 4px; font-family: var(--sans);
}
.admin-form { margin: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px 20px; }
.form-grid-single { grid-template-columns: 1fr; max-width: 470px; }
.field-wide { grid-column: 1 / -1; }
.field label:not(.checkbox-label) {
  display: block; font-size: 9.5px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: #4d5b50; margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line-strong); border-radius: 9px;
  padding: 10px 12px; font: inherit; font-size: 13.5px; color: var(--ink);
  background: var(--white); outline: none; transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--forest); box-shadow: 0 0 0 3px rgba(27,94,58,.08);
}
.field-hint { display: block; font-size: 10.5px; color: var(--muted); margin-top: 5px; line-height: 1.5; }
.field-hint code, .admin-actions-meta code { background: #f1ecdf; padding: 1px 5px; border-radius: 4px; font-size: 10px; }
.checkbox-label { display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 500; color: #3d4d42; cursor: pointer; }
.checkbox-label input { width: 16px; height: 16px; accent-color: var(--forest); }
.admin-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 4px 0 24px; }
.admin-actions-meta { font-size: 10.5px; color: var(--muted); }
.admin-form-narrow { max-width: 560px; }
.admin-update-list { border-top: 1px solid var(--line); }
.admin-update { display: grid; grid-template-columns: 104px minmax(0, 1fr) auto; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.admin-update-date time { display: block; font-family: var(--serif); font-size: 14px; font-weight: 600; color: var(--forest); line-height: 1.3; }
.admin-update-date small { display: block; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.admin-update-body h3 { font-size: 14px; font-weight: 600; margin: 0 0 4px; line-height: 1.4; }
.admin-update-body p { margin: 0; font-size: 11.5px; color: var(--muted); line-height: 1.55; }
.admin-update-src { margin-top: 6px !important; }
.admin-update-actions { display: flex; gap: 7px; align-items: flex-start; }
.admin-update-actions form { margin: 0; }
.admin-danger { border-color: #eed2cb; }
.admin-danger .btn-danger { margin-top: 6px; }

.auth-wrap { max-width: 470px; margin: 0 auto; padding: 60px 0 40px; }
.auth-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  padding: 38px 38px 30px; box-shadow: 0 24px 60px -30px rgba(12,26,19,.3);
}
.auth-card h1 { font-family: var(--serif); font-weight: 500; font-size: 40px; letter-spacing: -.03em; margin: 14px 0 10px; line-height: 1; }
.auth-lede { font-size: 13px; color: var(--muted); line-height: 1.65; margin: 0 0 24px; }
.auth-card .field { margin-bottom: 15px; }
.admin-submit { width: 100%; margin-top: 6px; }
.auth-note { font-size: 10.5px; color: var(--muted); line-height: 1.65; margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.admin-foot { border-top: 1px solid var(--line); padding: 18px 0; font-size: 10.5px; color: var(--muted); }
.admin-foot .admin-wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.admin-foot a { color: var(--forest); }

@media (max-width: 1000px) {
  .project-head { grid-template-columns: 1fr; gap: 30px; align-items: start; }
  .project-metric-card { max-width: 520px; }
  .project-layout { grid-template-columns: 1fr; gap: 34px; }
  .project-side { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; align-items: start; }
  .project-side .side-card-cta { grid-column: 1 / -1; }
  .county-detail { grid-template-columns: 1fr; gap: 30px; }
  .county-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-grid { grid-template-columns: 1fr; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .project-hero { padding: 36px 0 42px; }
  .project-hero h1 { font-size: clamp(32px, 8.5vw, 44px); }
  .project-layout { padding-top: 34px; padding-bottom: 60px; }
  .project-side { display: block; }
  .update-feed::before { display: none; }
  .update-item { grid-template-columns: 1fr; gap: 8px; padding-bottom: 16px; }
  .update-rail { text-align: left; padding: 0; }
  .update-dot { display: none; }
  .update-card { padding: 17px 18px; }
  .update-row { grid-template-columns: 1fr; gap: 8px; }
  .update-row-go { display: none; }
  .update-row-date { display: flex; align-items: baseline; gap: 10px; }
  .update-row-date b { font-size: 13px; }
  .update-row-date span { margin-top: 0; }
  .feed-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .county-grid { grid-template-columns: 1fr; }
  .county-toolbar .btn { width: 100%; }
  .pager { justify-content: center; }
  .pager-pages { order: -1; width: 100%; justify-content: center; }
  .form-grid { grid-template-columns: 1fr; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .admin-card { padding: 20px 18px; }
  .admin-update { grid-template-columns: 1fr; gap: 8px; }
  .admin-update-actions { justify-content: flex-start; }
  .admin-nav { gap: 16px; }
  .admin-bar-inner { padding: 6px 18px; }
  .admin-head { align-items: flex-start; }
  .admin-search, .admin-search .search-box { width: 100%; min-width: 0; }
  .auth-card { padding: 30px 22px 24px; }
}


/* Mobile filter ergonomics */
@media (max-width: 760px) {
  .filter-bar { position: static; }
  .filter-row { gap: 8px; }
  .filter-row .search-box { flex: 1 1 100%; }
  .filter-row .select-wrap { flex: 1 1 calc(50% - 4px); min-width: 0; }
  .filter-row .select-wrap select { width: 100%; }
  .filter-row .btn { flex: 1 1 100%; }
}


/* ---------- editorial skin (public site) ---------- */
::selection { background: #f4e38a; color: var(--ink); }
body { font-size: 16px; line-height: 1.65; }
h1, h2, h3 { font-weight: 600; }

.site-header { background: #fff; backdrop-filter: none; border-top: 4px solid #1b5e3a; border-bottom: 1px solid var(--line); }
.header-inner { height: 68px; }
.brand-mark { width: 36px; height: 36px; border-radius: 2px; border: 0; background: var(--forest); color: #fff; font-family: var(--sans); font-weight: 600; font-size: 13px; letter-spacing: .04em; }
.brand-text strong { font-size: 18px; letter-spacing: 0; }
.brand-text span { font-size: 10px; letter-spacing: .12em; color: var(--muted); }
.nav { gap: 26px; }
.nav a { font-size: 14px; font-weight: 600; color: #26302a; }
.nav a:hover { color: var(--forest); }
.nav a.active::after { bottom: -23px; height: 3px; background: var(--gold); }
.nav-cta { background: var(--forest); color: #fff !important; border: 1px solid var(--forest); border-radius: var(--radius); padding: 9px 15px !important; font-size: 13px !important; }
.nav-cta:hover { background: var(--forest-2); }

.btn { border-radius: var(--radius); font-size: 14px; padding: 12px 20px; transition: background .15s, border-color .15s, color .15s; }
.btn-gold, .btn-dark { background: var(--forest); color: #fff; }
.btn-gold:hover, .btn-dark:hover { background: var(--forest-2); transform: none; }
.btn-ghost, .btn-outline { background: #fff; color: var(--forest); border-color: var(--forest); }
.btn-ghost:hover, .btn-outline:hover { background: var(--sand); border-color: var(--forest); color: var(--forest); }

.hero { background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); isolation: auto; }
.hero::before, .hero-contours { display: none; }
.hero-inner { grid-template-columns: 1fr; gap: 44px; align-items: start; padding-top: 72px; padding-bottom: 0; }
.kicker { color: var(--gold); font-size: 12px; letter-spacing: .1em; font-weight: 600; }
.kicker::before { display: none; }
.hero h1 { font-size: clamp(36px, 5vw, 62px); line-height: 1.06; letter-spacing: -.02em; max-width: 20ch; margin: 14px 0 22px; color: var(--ink); }
.hero h1 em { font-style: normal; color: var(--forest); background: linear-gradient(transparent 64%, #f4d94e 64%); }
.hero-lede { color: #3a4540; font-size: 18px; max-width: 62ch; margin-bottom: 28px; }
.hero-lede strong { color: var(--ink); font-weight: 600; }
.hero-panel { background: none; backdrop-filter: none; border: 0; border-top: 2px solid var(--ink); border-radius: 0; padding: 0; }
.hero-panel-top { padding: 12px 0; border-bottom: 1px solid var(--line); }
.hero-panel-top span { color: var(--ink); font-size: 12px; letter-spacing: .08em; font-weight: 600; }
.hero-panel-top small { color: var(--muted); font-size: 12px; }
.hero-stats { grid-template-columns: repeat(4, 1fr); gap: 0; padding: 0; }
.hero-stat { padding: 20px 20px 20px 0; border-right: 1px solid var(--line); margin-right: 20px; }
.hero-stat:last-child { border-right: 0; margin-right: 0; }
.hero-stat b { color: var(--forest); font-weight: 600; font-size: 40px; letter-spacing: -.02em; }
.hero-stat span { color: var(--muted); font-size: 13px; margin-top: 8px; }
.hero-note { border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; margin: 0; padding: 12px 0 18px; }
.hero-note a { color: var(--forest); }

.section { padding: 64px 0; }
.section-sand { background: var(--sand); border-color: var(--line); }
.section-head { align-items: flex-start; border-top: 2px solid var(--ink); padding-top: 16px; margin-bottom: 30px; }
.section-num { color: var(--gold); font-size: 12px; letter-spacing: .08em; margin-bottom: 8px; }
.section-head h2 { font-weight: 600; font-size: clamp(26px, 3vw, 36px); letter-spacing: -.015em; }
.section-head p { font-size: 15px; color: var(--muted); }

.link-underline { color: var(--forest); border-bottom-color: rgba(27,94,58,.35); font-size: inherit; }
.filter-bar { top: 68px; background: #fff; }
.search-box input, .select-wrap select { border-radius: var(--radius); }
.search-box input:focus { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(27,94,58,.12); }
.chip { border-radius: var(--radius); color: #3a4540; font-size: 12.5px; }
.chip:hover { border-color: var(--forest); color: var(--forest); }
.chip.active { background: var(--forest); border-color: var(--forest); }

.grid { gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card { border: 0; border-radius: 0; box-shadow: none; padding: 24px 24px 20px; background: #fff; transition: background .15s; }
.card::after { display: none; }
.card:hover { transform: none; box-shadow: none; background: #fbfaf5; }
.card:hover h3 { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.card-sector { color: var(--muted); font-size: 11px; letter-spacing: .08em; font-weight: 600; }
.card h3 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.card p { font-size: 14px; color: #3a4540; }
.card-metric { border-top: 1px solid var(--line); font-family: var(--sans); font-weight: 600; font-size: 14px; color: var(--forest); letter-spacing: 0; }
.card-foot { font-size: 12px; }
.card-foot .go { color: var(--forest); }
.status { padding: 0; border: 0; background: none; border-radius: 0; font-size: 12px; font-weight: 600; gap: 7px; }
.status::before { width: 8px; height: 8px; border-radius: 1px; }
.empty { border-radius: var(--radius); }

.metric-grid { border-radius: 0; }
.metric-tile { background: #fff; }
.metric-tile b { font-weight: 600; color: var(--forest); }
.metric-tile small { color: var(--muted); letter-spacing: .08em; font-size: 11px; }
.metric-tile span { color: #3a4540; font-size: 14px; }
.caveat { font-size: 13px; }
.caveat svg { stroke: var(--muted); }

.county-copy p { color: #3a4540; font-size: 15.5px; }
.county-copy .big { color: var(--ink); font-weight: 600; }
.county-copy .big span { color: var(--gold); letter-spacing: .08em; }
.county-bar .name { font-size: 14px; }
.county-bar .track { height: 6px; border-radius: 0; background: #e4e7ec; }
.county-bar .fill { background: var(--forest); border-radius: 0; }
.county-bar .val { font-family: var(--sans); font-weight: 600; font-size: 14px; }

.tl-year { font-weight: 600; }
.tl-body::before { border-radius: 0; border-color: var(--forest); background: #fff; }
.note-card { border-top: 2px solid var(--ink); }
.note-card p { color: #3a4540; font-size: 14.5px; }
.note-card a { color: var(--forest); }

.site-footer { background: var(--sand); color: #3a4540; border-top: 1px solid var(--line); padding: 52px 0 32px; }
.footer-top { border-bottom-color: var(--line); }
.footer-brand .brand-text strong { color: var(--ink); }
.footer-brand .brand-text span { color: var(--muted); }
.footer-brand .brand-mark { background: var(--forest); color: #fff; border: 0; }
.footer-brand p { color: #3a4540; font-size: 13.5px; }
.footer-col h4 { color: var(--ink); letter-spacing: .08em; font-size: 12px; }
.footer-col a { color: #26302a; font-size: 14px; }
.footer-col a:hover { color: var(--forest); text-decoration: underline; }
.footer-bottom { color: var(--muted); font-size: 12px; }

@media (max-width: 760px) {
  .hero-inner { padding-top: 44px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stat { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line); }
  .hero-stat b { font-size: 32px; }
  .nav a.active::after { bottom: -2px; }
}

/* inner page headers */
.page-hero { background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); padding: 44px 0 40px; overflow: visible; }
.page-hero::before { display: none; }
.page-hero h1 { font-weight: 600; font-size: clamp(32px, 4.4vw, 50px); line-height: 1.08; letter-spacing: -.02em; margin: 12px 0 14px; color: var(--ink); }
.page-hero p { color: #3a4540; font-size: 17px; max-width: 64ch; }
.page-stats { border-top: 1px solid var(--line); gap: 40px; }
.page-stats b { color: var(--forest); font-weight: 600; font-size: 28px; }
.page-stats span { color: var(--muted); font-size: 12px; letter-spacing: .06em; }
.breadcrumbs, .breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--forest); text-decoration: underline; }
.project-meta { color: #3a4540; font-size: 14px; }
.project-meta .meta-sep { color: var(--line-strong); }
.project-summary { color: #26302a; font-size: 17px; }
.project-metric-card { background: var(--sand); border: 0; border-top: 3px solid var(--forest); border-radius: 0; }
.project-metric-card .metric-label { color: var(--muted); font-size: 12px; letter-spacing: .08em; }
.project-metric-card > b { color: var(--forest); font-weight: 600; font-size: 24px; }
.project-metric-card dl { border-top-color: var(--line-strong); }
.project-metric-card dl div { font-size: 13.5px; }
.project-metric-card dt { color: var(--muted); }
.project-metric-card dd { color: var(--ink); }
.update-card { border-radius: 0; border: 0; border-top: 1px solid var(--line-strong); box-shadow: none; padding: 20px 0 22px; background: none; }
.update-badge { background: none; border: 0; border-left: 3px solid var(--gold); border-radius: 0; color: var(--gold); padding: 0 0 0 8px; font-size: 11px; letter-spacing: .08em; }
.update-project { color: var(--muted); font-size: 11px; letter-spacing: .06em; }
.update-text { font-size: 15px; color: #2f3a33; }
.side-card { border-radius: 0; box-shadow: none; }
.side-card-cta { border-top: 3px solid var(--forest); }
.county-index { border-radius: 0; }
.county-index-head input, .county-tools input { border-radius: var(--radius); }
.county-item { border-radius: 2px; }
.county-item:hover { background: var(--sand); }
.county-item.active .ct { color: #d5e6da; }
.county-panel-head h2 { font-weight: 600; letter-spacing: -.015em; }
.county-kpis b { font-weight: 600; }
.prow .pn { font-size: 14px; }
.prow .pl { font-size: 12px; }
.prose h2 { font-weight: 600; font-size: 28px; letter-spacing: -.01em; }
.prose p, .prose li { font-size: 16px; color: #2f3a33; }
.prose a { color: var(--forest); border-bottom-color: rgba(27,94,58,.35); }
.county-card { border-radius: 0; box-shadow: none; background: #fff; }
.county-card:hover { transform: none; border-color: var(--forest); }
.county-total { font-family: var(--sans); font-weight: 600; color: var(--forest); }


/* =====================================================================
   Home refresh: photo hero, bold sans headings, rounded cards
   ===================================================================== */
:root {
  --ink: #17231d; --forest: #145c3a; --forest-2: #0d472c; --moss: #6b8b76;
  --gold-soft: #f7efd9; --sand: #f5f7f4;
  --line: #e3e9e4; --line-strong: #cbd6ce; --muted: #647168;
  --green: #167044; --amber: #9a6500; --red: #b23a32; --slate: #68746c;
  --shadow: 0 12px 32px rgba(20,45,30,.08); --radius: 12px; --max: 1240px;
}
.wrap { max-width: var(--max); padding-left: 28px; padding-right: 28px; }
a:focus-visible, button:focus-visible { outline: 3px solid #e0b84e; outline-offset: 3px; }
::selection { background: #f4e38a; }

.site-header { border-top: 3px solid var(--forest); box-shadow: 0 3px 18px rgba(20,45,30,.05); }
.header-inner { height: 76px; }
.brand { gap: 11px; }
.brand-mark { width: 42px; height: 42px; border-radius: 10px; font-size: 14px; letter-spacing: .02em; }
.brand-text strong { font-family: var(--sans); font-size: 18px; font-weight: 800; letter-spacing: -.04em; }
.brand-text span { font-size: 9px; letter-spacing: .16em; font-weight: 600; }
.nav { gap: 30px; }
.nav a { font-size: 13px; color: #3c4b41; }
.nav a.active::after { bottom: -27px; height: 2px; }
.nav-cta { border-radius: 8px; padding: 10px 16px !important; }
.btn { border-radius: 8px; padding: 12px 18px; font-size: 13px; }
.btn-outline { border-color: #cbd8ce; color: var(--forest); background: #fff; }
.btn-outline:hover { border-color: var(--forest); background: #f2f7f3; }
.btn-light { background: #fff; color: var(--forest); border-color: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.btn-light:hover { background: var(--sand); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.1); }

/* hero: dark green by default, photo when assets/hero.jpg exists */
.hero {
  min-height: 600px; color: #f4f1e7; border-bottom: 0; isolation: isolate;
  background-color: #0b2a1a;
  background-image: linear-gradient(90deg, rgba(8,28,18,.94) 0%, rgba(8,28,18,.78) 55%, rgba(12,52,34,.9) 100%);
}
.hero-photo {
  background-image:
    linear-gradient(90deg, rgba(8,28,18,.94) 0%, rgba(8,28,18,.80) 48%, rgba(8,28,18,.40) 100%),
    linear-gradient(0deg, rgba(8,28,18,.72), rgba(8,28,18,.05)),
    url("hero.jpg");
  background-size: cover; background-position: center, center, center 42%; background-repeat: no-repeat;
}
.hero-inner { display: block; padding-top: 104px; padding-bottom: 42px; }
.hero-copy { max-width: 790px; }
.hero .kicker { font-size: 11px; letter-spacing: .17em; color: #f0c85b; }
.hero h1 { font-family: var(--sans); font-size: clamp(40px, 6vw, 70px); font-weight: 800; line-height: 1.03; letter-spacing: -.05em; max-width: 14ch; margin: 18px 0 22px; color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.28); }
.hero h1 em { color: #f0c85b; background: none; font-style: normal; }
.hero-lede { font-size: 17px; max-width: 55ch; line-height: 1.7; color: rgba(255,255,255,.9); margin: 0 0 30px; }
.hero-lede strong { color: #fff; }
.hero-panel { margin-top: 68px; padding: 22px 24px 0; background: rgba(7,26,17,.4); border: 1px solid rgba(255,255,255,.17); border-radius: 14px; backdrop-filter: blur(8px); }
.hero-panel-top { padding: 0 0 15px; border: 0; }
.hero-panel-top span { color: #fff; font-size: 11px; letter-spacing: .16em; }
.hero-panel-top small { color: rgba(244,241,231,.72); }
.hero-stats { grid-template-columns: repeat(4, 1fr); padding: 4px 0 18px; }
.hero-stat { padding: 18px 22px 12px 0; margin-right: 22px; border-right: 1px solid rgba(255,255,255,.14); }
.hero-stat:last-child { border-right: 0; margin-right: 0; }
.hero-stat b { font-family: var(--sans); font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; letter-spacing: -.05em; color: #fff; }
.hero-stat span { font-size: 12px; line-height: 1.5; color: rgba(244,241,231,.82); }
.hero-note { font-size: 11px; color: rgba(244,241,231,.78); border-top: 1px solid rgba(255,255,255,.14); padding: 14px 0 16px; }
.hero-note a { color: #f0c85b; }

.section { padding: 76px 0; }
.section-sand { background: #f6f8f5; border-color: var(--line); }
.section-head { border-top: 0; padding-top: 0; margin-bottom: 32px; align-items: flex-end; }
.section-num { font-size: 10px; letter-spacing: .16em; color: var(--forest); font-weight: 800; margin-bottom: 10px; }
.section-head h2 { font-family: var(--sans); font-size: clamp(27px, 3.2vw, 39px); font-weight: 800; letter-spacing: -.045em; line-height: 1.12; }
.section-head p { font-size: 13px; line-height: 1.65; color: var(--muted); }

.grid { gap: 16px; background: transparent; border: 0; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 23px 22px 19px; box-shadow: 0 2px 8px rgba(20,45,30,.025); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.card:hover { background: #fff; transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c8d8cc; }
.card:hover h3 { text-decoration: none; }
.card h3 { font-family: var(--sans); font-size: 17px; font-weight: 600; letter-spacing: -.025em; line-height: 1.3; }
.card p { font-size: 13px; line-height: 1.65; color: #536158; }
.card-sector { font-size: 10px; letter-spacing: .12em; font-weight: 800; color: var(--muted); }
.status { font-size: 10px; font-weight: 600; padding: 5px 9px; border-radius: 99px; background: #f0f3f0; }
.status::before { width: 6px; height: 6px; border-radius: 50%; }
.status-completed { color: #12633d; background: #e8f4ec; }
.status-ongoing { color: #895b00; background: #fbf2dc; }
.status-delayed { color: #a52c25; background: #fbeceb; }
.status-planned { color: #526159; background: #edf1ee; }
.card-metric { font-size: 12.5px; color: var(--forest); }
.card-foot { font-size: 11px; }

.metric-note { margin: -12px 0 20px; font-size: 12.5px; color: var(--muted); line-height: 1.6; max-width: 78ch; }
.metric-note strong { color: var(--ink); font-weight: 600; }
.metric-grid { gap: 14px; background: transparent; border: 0; }
.metric-tile { border: 1px solid var(--line); border-radius: var(--radius); padding: 25px 23px; box-shadow: 0 2px 8px rgba(20,45,30,.025); }
.metric-tile b { font-family: var(--sans); font-size: clamp(29px, 3vw, 39px); font-weight: 800; letter-spacing: -.05em; }
.metric-tile span { font-size: 13px; color: #536158; }
.metric-tile small { font-size: 9px; letter-spacing: .15em; color: var(--forest); }
.caveat { font-size: 12px; }

.county-strip { gap: 70px; align-items: center; }
.county-copy .big { font-family: var(--sans); font-weight: 800; letter-spacing: -.05em; line-height: 1.06; }
.county-copy .big span { color: var(--forest); letter-spacing: .15em; font-size: 10px; }
.county-copy p { font-size: 14px; color: #536158; }
.county-bars { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.county-bar { grid-template-columns: 120px 1fr 42px; gap: 13px; }
.county-bar .name, .county-bar .val { font-size: 12.5px; }
.county-bar .track { height: 8px; border-radius: 99px; background: #edf1ed; }
.county-bar .fill { border-radius: 99px; }

.three-col { gap: 28px; }
.note-card { border-top: 3px solid var(--forest); padding-top: 18px; }
.note-card h3 { font-family: var(--sans); font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
.note-card p { font-size: 13px; color: #536158; }

.update-row { grid-template-columns: 130px minmax(0, 1fr) 24px; gap: 26px; padding: 23px 14px; border-radius: 8px; }
.update-row:hover { background: #fff; }
.update-row-date b { font-family: var(--sans); font-size: 13px; font-weight: 800; }
.update-row-date span { font-size: 9px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.update-row-body h3 { font-family: var(--sans); font-size: 15px; font-weight: 600; }
.update-row-go { color: var(--forest); }

.site-footer { background: #f4f7f4; padding: 56px 0 28px; }
.footer-brand p { font-size: 12.5px; color: var(--muted); }
.footer-col h4 { font-size: 10px; letter-spacing: .15em; }
.footer-col a { font-size: 12.5px; color: #526159; }
.footer-bottom { font-size: 11px; }

@media (max-width: 1000px) {
  .hero { min-height: 0; }
  .hero-inner { padding-top: 76px; }
  .hero-panel { margin-top: 56px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stat { padding: 16px 16px 16px 0; margin-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .hero-stat:nth-child(2n) { border-right: 0; }
  .hero-stat:nth-child(n+3) { border-bottom: 0; }
  .county-strip { gap: 34px; }
}
@media (max-width: 760px) {
  .wrap { padding-left: 18px; padding-right: 18px; }
  .header-inner { height: 66px; }
  .brand-mark { width: 38px; height: 38px; }
  .nav.open { top: 66px; box-shadow: 0 12px 20px rgba(20,45,30,.08); }
  .hero-inner { padding-top: 58px; padding-bottom: 30px; }
  .hero h1 { font-size: clamp(38px, 11vw, 56px); }
  .hero-lede { font-size: 15px; }
  .hero-panel { margin-top: 46px; padding: 18px 16px 0; }
  .hero-stat b { font-size: 30px; }
  .section { padding: 55px 0; }
  .metric-grid { gap: 10px; }
  .county-bars { padding: 19px 14px; }
  .county-bar { grid-template-columns: 88px 1fr 34px; gap: 8px; }
  .update-row { padding: 18px 8px; }
}
@media (max-width: 390px) { .metric-grid { grid-template-columns: 1fr; } .hero-actions .btn { width: 100%; } }

/* feature images */
.card-img { display: block; width: calc(100% + 44px); max-width: none; margin: -23px -22px 18px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px 12px 0 0; background: #e8eee9; }
.project-figure { margin: 0 0 30px; }
.project-figure img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; background: #e8eee9; }
.project-figure figcaption { margin-top: 8px; font-size: 12px; color: var(--muted); }
.project-figure figcaption a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
