/* =========================================================================
   Safer Neighborhoods Initiative — styles.css
   Institutional civic design system. Palette and content preserved from the
   client's original; visual quality elevated. Plain static CSS, no build step.

   Sections:
   1. Tokens (palette + type + scale)
   2. Base / reset
   3. Accessibility (skip link, focus)
   4. Sticky nav / header
   5. Hero (the crest)
   6. Content sections + editorial body
   7. "Our Approach" pillar cards
   8. Contact
   9. Footer
   10. Scroll snap (removed 2026-07-15)
   11. Reveal-on-scroll (removed 2026-07-15)
   12. Responsive
   13. Reduced motion
   ========================================================================= */

/* 1. TOKENS ---------------------------------------------------------------- */
:root {
  /* Brand palette (from the client's original — refined, not replaced) */
  --navy:        #0D2249;
  --panel-navy:  #163366;
  --paper:       #F0F4FA;
  --white:       #FFFFFF;
  --slate:       #334455;
  --brass:       #C8972B;
  --brass-soft:  #D8AC4A;
  --line:        #D5DEEC;
  --muted:       #8899AA;
  --ink:         #0D2249; /* primary text */

  /* Type */
  --serif: "Source Serif 4", Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --measure: 65ch;      /* comfortable reading length */
  --wrap: 1080px;       /* outer max width */
  --col: 760px;         /* text column max width */
  --nav-h: 68px;        /* sticky nav height (used by scroll-padding) */

  /* Depth (soft, restrained) */
  --shadow-sm: 0 1px 2px rgba(13, 34, 73, 0.05);
  --shadow-md: 0 2px 4px rgba(13, 34, 73, 0.05), 0 10px 30px -12px rgba(13, 34, 73, 0.14);
}

/* 2. BASE / RESET --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-padding-top: calc(var(--nav-h) + 14px); /* keep in-page anchor targets clear of the sticky nav */
  -webkit-text-size-adjust: 100%;
}

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

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

a { color: var(--navy); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 32px; }

/* 3. ACCESSIBILITY -------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--brass);
  color: var(--navy);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 6px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 2px;
  border-radius: 2px;
}

/* 4. STICKY NAV ----------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  color: var(--paper);
  border-bottom: 1px solid rgba(200, 151, 43, 0.35); /* quiet brass hairline */
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 6px 24px -12px rgba(0, 0, 0, 0.6);
  border-bottom-color: var(--brass);
}

.header-inner {
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 12px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--paper); }
.brand__mark { width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; }
.brand__text { font-family: var(--sans); line-height: 1.25; }
.brand__name { display: block; font-size: 15px; font-weight: 700; letter-spacing: 0.02em; }
.brand__tag { display: block; font-size: 12px; color: #AEB9CC; letter-spacing: 0.02em; }

.nav { display: flex; gap: 26px; font-size: 14.5px; }
.nav a {
  color: var(--paper);
  text-decoration: none;
  opacity: 0.82;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}
.nav a:hover, .nav a:focus-visible { opacity: 1; border-bottom-color: var(--brass); }

/* 5. HERO (the crest) ----------------------------------------------------- */
.hero {
  background: var(--navy);
  color: var(--paper);
  text-align: center;
  padding-block: clamp(56px, 9vw, 104px);
}
.hero__crest {
  width: clamp(220px, 34vw, 320px);
  margin-inline: auto;
  margin-bottom: clamp(28px, 5vw, 48px);
}
.hero .eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brass-soft);
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 4.2vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--white);
  max-width: 22ch;
  margin-inline: auto;
  margin-bottom: 24px;
  text-wrap: balance;
}
.hero .lede {
  font-family: var(--sans);
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.6;
  color: #C7D2E4;
  max-width: 60ch;
  margin-inline: auto;
}

/* 6. CONTENT SECTIONS ----------------------------------------------------- */
main { display: block; }

.section { padding-block: clamp(52px, 8vw, 88px); border-top: 1px solid var(--line); }
.section:first-of-type { border-top: 0; }

.section__head { max-width: var(--col); margin-inline: auto; }
.section h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 28px;
}

.prose { max-width: var(--col); margin-inline: auto; }
.prose p {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--slate);
  max-width: var(--measure);
  margin-bottom: 18px;
}
.prose p:last-child { margin-bottom: 0; }

/* 7. "OUR APPROACH" PILLAR CARDS ------------------------------------------ */
.pillars {
  max-width: var(--col);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 26px 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: #C3D0E4;
}
.card h3 {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.card p {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--slate);
}

/* 8. CONTACT -------------------------------------------------------------- */
.contact-card {
  max-width: var(--col);
  margin-inline: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  padding: clamp(24px, 4vw, 34px);
}
.contact-dl dt {
  font-family: var(--sans);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--muted);
  margin-top: 20px;
}
.contact-dl dt:first-child { margin-top: 0; }
.contact-dl dd { font-family: var(--sans); font-size: 16.5px; color: var(--navy); margin-top: 4px; }
.contact-dl dd a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 3px; }
.contact-dl dd a:hover { color: var(--brass); }
.placeholder { color: var(--muted); font-style: italic; }

/* Optional lead-capture form (hidden until enabled — see index.html comment) */
.contact-form { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.contact-form label { display: block; font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.contact-form input, .contact-form textarea {
  width: 100%; font-family: var(--sans); font-size: 16px; color: var(--navy);
  background: var(--paper); border: 1px solid var(--line); border-radius: 8px;
  padding: 11px 13px; margin-bottom: 16px;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 3px solid var(--brass); outline-offset: 1px; }
.contact-form button {
  font-family: var(--sans); font-size: 14px; font-weight: 700; letter-spacing: 0.02em;
  color: var(--navy); background: var(--brass); border: 0; border-radius: 8px;
  padding: 12px 22px; cursor: pointer; transition: background 0.2s ease;
}
.contact-form button:hover { background: var(--brass-soft); }

/* 9. FOOTER --------------------------------------------------------------- */
.site-footer { background: var(--navy); color: var(--paper); padding-block: 44px; margin-top: 8px; }
.site-footer__logo { width: 52px; margin-bottom: 16px; }
.site-footer .legal-name { font-family: var(--sans); font-weight: 700; color: var(--paper); margin-bottom: 12px; }
.site-footer p { font-family: var(--sans); font-size: 13px; line-height: 1.7; color: #AEB9CC; max-width: 72ch; margin-bottom: 10px; }
.site-footer p:last-child { margin-bottom: 0; }

/* ── Newsletter subscribe (sitewide footer + Get Involved block) ── */
.footer-subscribe { border-bottom: 1px solid rgba(255,255,255,0.14); padding-bottom: 24px; margin-bottom: 24px; max-width: 520px; }
.footer-subscribe__head { font-family: var(--serif); font-weight: 600; font-size: 18px; color: var(--paper) !important; margin-bottom: 4px !important; }
.footer-subscribe__sub { font-size: 13px; color: #AEB9CC; margin-bottom: 12px !important; }
.subscribe-form__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.subscribe-form__row { display: flex; gap: 8px; flex-wrap: wrap; }
.subscribe-form__email { flex: 1 1 auto; min-width: 0; font-family: var(--sans); font-size: 15px; padding: 11px 13px; border-radius: 8px; border: 1px solid var(--line); background: var(--white); color: var(--navy); }
.subscribe-form__row > .subscribe-form__email { width: auto; }
.subscribe-form__email:focus { outline: 2px solid var(--brass); outline-offset: 1px; }
.subscribe-form .btn { margin: 0; white-space: nowrap; }
.subscribe-form__consent { font-size: 12px !important; color: #97A3B6 !important; margin: 10px 0 0 !important; max-width: 60ch; }
.subscribe-form__status { font-size: 13px !important; margin: 8px 0 0 !important; min-height: 1em; }
.subscribe-form__status.is-success { color: #7FD1A0 !important; }
.subscribe-form__status.is-error { color: #F0A9A0 !important; }

/* Block variant on the light Get Involved section */
.subscribe-form--block { max-width: 520px; margin-top: 14px; }
.subscribe-form--block .subscribe-form__consent { color: var(--muted) !important; }
.subscribe-form--block .subscribe-form__status.is-success { color: #1c7a49 !important; }
.subscribe-form--block .subscribe-form__status.is-error { color: #b23b2e !important; }

@media (max-width: 520px) {
  .subscribe-form__row { flex-direction: column; }
  .subscribe-form .btn { width: 100%; }
}

/* 10. SCROLL SNAP — REMOVED ------------------------------------------------ */
/* Scroll-snap and the Home-only full-viewport snapping were removed at the
   client's request (2026-07-15): the whole site is now plain, normal document
   scrolling. scroll-padding-top on <html> above is kept so in-page anchor
   links still land below the sticky nav. */

/* 11. REVEAL ON SCROLL — REMOVED ------------------------------------------ */
/* The IntersectionObserver fade/slide reveal was removed at the client's
   request (2026-07-15). All content is permanently visible with no
   pre-animation hidden state. */

/* 12. RESPONSIVE ---------------------------------------------------------- */
@media (max-width: 720px) {
  :root { --nav-h: 60px; }
  .wrap { padding-inline: 22px; }
  .header-inner { flex-wrap: wrap; }
  .nav { gap: 16px; flex-wrap: wrap; font-size: 14px; }
  .brand__tag { display: none; }
  .pillars { grid-template-columns: 1fr; }
}

/* 13. REDUCED MOTION ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card:hover { transform: none; }
  .skip-link { transition: none; }
}

/* =========================================================================
   14. MULTI-PAGE COMPONENTS + DRAFT-MOCKUP TAGS (build-out)
   ========================================================================= */

/* Active nav state */
.nav a[aria-current="page"] { opacity: 1; border-bottom-color: var(--brass); }

/* Interior page header (compact navy band) */
.page-header { background: var(--navy); color: var(--paper); padding-block: clamp(46px, 7vw, 82px); text-align: center; }
.page-header .eyebrow { font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.16em; font-size: 12.5px; font-weight: 700; color: var(--brass-soft); margin-bottom: 16px; }
.page-header h1 { font-family: var(--serif); font-weight: 500; color: var(--white); font-size: clamp(30px, 4.4vw, 46px); line-height: 1.18; letter-spacing: -0.01em; max-width: 20ch; margin-inline: auto; text-wrap: balance; }
.page-header .lede { font-family: var(--sans); color: #C7D2E4; font-size: clamp(16px, 2vw, 18.5px); max-width: 58ch; margin: 18px auto 0; line-height: 1.6; }

/* Home pillar cards as links */
.card-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.card-link .card__more { margin-top: 14px; font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: 0.02em; color: var(--brass); }
.card-link:hover .card__more { color: var(--brass-soft); }
.card-link:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }

/* Approach anchored detail sections */
.detail { max-width: var(--col); margin-inline: auto; padding-block: clamp(38px, 6vw, 60px); scroll-margin-top: calc(var(--nav-h) + 24px); border-top: 1px solid var(--line); }
.detail:first-of-type { border-top: 0; }
.detail .kicker { font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.12em; font-size: 11.5px; font-weight: 700; color: var(--brass); margin-bottom: 10px; }
.detail h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(22px, 3vw, 30px); color: var(--navy); margin-bottom: 12px; }
.detail p { font-family: var(--sans); font-size: 16.5px; line-height: 1.75; color: var(--slate); max-width: var(--measure); margin-bottom: 14px; }

/* DRAFT tag — copy the client should review */
.draft-tag { display: inline-block; font-family: var(--sans); font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #8a6d1f; background: rgba(200,151,43,0.12); border: 1px solid rgba(200,151,43,0.5); border-radius: 999px; padding: 3px 10px; margin-bottom: 12px; }

/* Inline "source — to confirm" tag for statistics */
.src-tag { font-family: var(--sans); font-size: 11px; font-weight: 600; color: #8a6d1f; background: rgba(200,151,43,0.1); border: 1px dashed rgba(200,151,43,0.55); border-radius: 4px; padding: 1px 6px; white-space: nowrap; }

/* AUTHORIZE slot — client must provide wording (never fabricated) */
.slot { border: 1.5px dashed var(--muted); border-radius: 10px; padding: 18px 20px; background: rgba(136,153,170,0.06); margin-block: 10px; }
.slot__label { display: block; font-family: var(--sans); font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 6px; }
.slot__body { font-family: var(--sans); font-size: 15px; font-style: italic; color: #6b7a89; }

/* Stats grid (Problem) */
.stats { max-width: var(--col); margin-inline: auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 12px; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 22px; box-shadow: var(--shadow-sm); }
.stat__num { font-family: var(--serif); font-weight: 600; font-size: 28px; color: var(--navy); line-height: 1.12; }
.stat__label { font-family: var(--sans); font-size: 14px; color: var(--slate); margin-top: 8px; line-height: 1.5; }

/* CTA band + buttons */
.cta { max-width: var(--col); margin: 8px auto 0; background: var(--panel-navy); color: var(--paper); border-radius: 14px; padding: clamp(28px, 5vw, 44px); text-align: center; }
.cta h2 { font-family: var(--serif); color: var(--white); font-size: clamp(22px, 3vw, 30px); margin-bottom: 10px; }
.cta p { font-family: var(--sans); color: #C7D2E4; max-width: 52ch; margin: 0 auto 20px; }
.btn { display: inline-block; font-family: var(--sans); font-weight: 700; font-size: 14.5px; text-decoration: none; border-radius: 8px; padding: 13px 26px; margin: 4px; transition: background 0.2s ease, border-color 0.2s ease; }
.btn--brass { background: var(--brass); color: var(--navy); }
.btn--brass:hover { background: var(--brass-soft); }
.btn--ghost { border: 1px solid rgba(240,244,250,0.4); color: var(--paper); }
.btn--ghost:hover { border-color: var(--brass); }

@media (max-width: 720px) { .stats { grid-template-columns: 1fr; } }

/* Community illustration — the PNG has a solid white background, so we frame it
   in an intentional white card (hairline + soft shadow, matching the site's
   cards) so the white reads as designed, not accidental. Constrained to ~720px
   with padding so the displayed image stays at/under its 691px native width
   (no upscaling blur); full container width on mobile. */
.illustration {
  max-width: 720px;
  margin: clamp(20px, 4vh, 36px) auto 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  padding: clamp(12px, 2.2vw, 18px);
}
.illustration img { width: 100%; height: auto; display: block; border-radius: 8px; }

/* =========================================================================
   15. NEWS FEED — weekly, human-approved; rendered from data/news.json by
   news.js. Quiet, institutional, static (NOT a ticker). Matches the navy/
   brass/paper system used everywhere else.
   ========================================================================= */

/* News page — full list */
.news-list { max-width: var(--col); margin-inline: auto; }
.news-item { padding-block: 26px; border-top: 1px solid var(--line); }
.news-item:first-child { border-top: 0; padding-top: 2px; }
.news-item__date { font-family: var(--sans); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; color: var(--brass); margin-bottom: 8px; }
.news-item__headline { font-family: var(--serif); font-weight: 600; font-size: clamp(19px, 2.3vw, 23px); line-height: 1.3; margin-bottom: 8px; }
.news-item__headline a { color: var(--navy); text-decoration: none; }
.news-item__headline a:hover, .news-item__headline a:focus-visible { text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 3px; }
.news-item__summary { font-family: var(--sans); font-size: 16.5px; line-height: 1.7; color: var(--slate); max-width: var(--measure); margin-bottom: 8px; }
.news-item__source { font-family: var(--sans); font-size: 13px; color: var(--muted); }

/* Homepage teaser — three newest, compact */
.news-teaser__list { list-style: none; max-width: var(--col); margin-inline: auto; }
.news-teaser__item { display: grid; grid-template-columns: 132px 1fr; column-gap: 20px; row-gap: 4px; align-items: baseline; padding-block: 16px; border-top: 1px solid var(--line); }
.news-teaser__item:first-child { border-top: 0; }
.news-teaser__date { font-family: var(--sans); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; color: var(--brass); }
.news-teaser__link { font-family: var(--sans); font-size: 16px; line-height: 1.5; font-weight: 600; color: var(--navy); text-decoration: none; }
.news-teaser__link:hover, .news-teaser__link:focus-visible { text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 3px; }
.news-teaser__source { grid-column: 2; font-family: var(--sans); font-size: 13px; color: var(--muted); }
.news-more { max-width: var(--col); margin: 18px auto 0; }
.news-more a { font-family: var(--sans); font-weight: 700; font-size: 14.5px; color: var(--brass); text-decoration: none; }
.news-more a:hover { color: var(--brass-soft); }

.news-empty { font-family: var(--sans); font-size: 16px; font-style: italic; color: var(--slate); max-width: var(--col); margin-inline: auto; }

@media (max-width: 720px) {
  .news-teaser__item { grid-template-columns: 1fr; row-gap: 2px; }
  .news-teaser__source { grid-column: 1; }
}

/* =========================================================================
   16. LATEST-NEWS STRIP — slim headline bar directly below the nav, sitewide.
   Baked into the HTML (no layout shift); news.js only cross-fades between the
   three newest items. Fade only — never a marquee/ticker. Quiet + institutional.
   ========================================================================= */
.news-strip { background: var(--paper); border-bottom: 1px solid var(--line); font-family: var(--sans); }
.news-strip__inner { display: flex; align-items: center; gap: 16px; min-height: 40px; padding-block: 7px; }
.news-strip__label {
  flex: none; font-size: 11.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--brass);
}

/* Rotator: fixed single-line height so the absolutely-stacked items cross-fade
   in place. min-width:0 lets the flex item shrink so long headlines ellipsize. */
.news-strip__rotator { position: relative; flex: 1 1 auto; min-width: 0; height: 1.5em; }
.news-strip__item {
  position: absolute; inset: 0; display: block;
  font-size: 13.5px; line-height: 1.5; color: var(--navy); text-decoration: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  /* hidden items are removed from tab order + AT (visibility), and fade via opacity */
  opacity: 0; visibility: hidden;
  transition: opacity 0.6s ease, visibility 0s linear 0.6s;
}
.news-strip__item.is-active { opacity: 1; visibility: visible; transition: opacity 0.6s ease; }
.news-strip__item:hover, .news-strip__item:focus-visible {
  text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 2px;
}

.news-strip__all {
  flex: none; font-size: 12.5px; font-weight: 700; color: var(--brass);
  text-decoration: none; white-space: nowrap;
}
.news-strip__all:hover, .news-strip__all:focus-visible { color: var(--brass-soft); }

@media (max-width: 720px) {
  .news-strip__inner { gap: 10px; min-height: 36px; }
  .news-strip__item { font-size: 12.5px; }
  .news-strip__all-text { display: none; }   /* collapse "All news" to just the arrow */
}
@media (prefers-reduced-motion: reduce) {
  /* No rotation happens (news.js checks this), and no fade transition either. */
  .news-strip__item { transition: none; }
}

/* =========================================================================
   17. 404 — branded not-found page (simple centered card on navy)
   ========================================================================= */
.notfound {
  background: var(--navy); color: var(--paper);
  min-height: 100vh; display: grid; place-items: center; text-align: center;
  padding: clamp(40px, 8vw, 96px) 0;
}
.notfound__inner { max-width: 34rem; margin-inline: auto; }
.notfound__crest { width: clamp(120px, 22vw, 180px); margin: 0 auto clamp(20px, 4vw, 32px); }
.notfound .eyebrow { font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.16em; font-size: 12.5px; font-weight: 700; color: var(--brass-soft); margin-bottom: 16px; }
.notfound h1 {
  font-family: var(--serif); font-weight: 500; color: var(--white);
  font-size: clamp(28px, 5vw, 44px); line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 16px;
}
.notfound .lede { font-family: var(--sans); color: #C7D2E4; font-size: clamp(16px, 2vw, 18.5px); line-height: 1.6; margin: 0 auto 28px; max-width: 44ch; }
.notfound__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* =========================================================================
   18. LEAD CAPTURE FORM (contact + get involved)
   ========================================================================= */
.lead-form { max-width: var(--col); margin-inline: auto; }
.lead-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.lead-form__field { margin-bottom: 16px; }
.lead-form label { display: block; font-family: var(--sans); font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.lead-form__req { color: var(--brass); }
.lead-form__opt { color: var(--muted); font-weight: 400; text-transform: none; letter-spacing: 0; }
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%; font-family: var(--sans); font-size: 16px; color: var(--navy);
  background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 11px 13px;
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: 3px solid var(--brass); outline-offset: 1px; }
.lead-form textarea { resize: vertical; min-height: 120px; }
/* Honeypot: off-screen, out of tab order (aria-hidden + tabindex on the input). */
.lead-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form__fine { font-family: var(--sans); font-size: 12.5px; color: var(--muted); margin: 4px 0 18px; line-height: 1.5; }
.lead-form button[type="submit"] { cursor: pointer; border: 0; }
.lead-form__status { font-family: var(--sans); font-size: 15.5px; margin-top: 14px; }
.lead-form__status.is-success { color: #1c7a49; font-weight: 700; }
.lead-form__status.is-error { color: #b3341f; font-weight: 700; }
.lead-form__fallback { font-family: var(--sans); font-size: 14px; color: var(--slate); margin-top: 16px; }
.lead-form__fallback a, .lead-form__fine a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 2px; }
.contact-card__alt { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.contact-card__alt-head { font-family: var(--sans); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.section__intro { font-family: var(--sans); color: var(--slate); font-size: 16.5px; line-height: 1.7; max-width: var(--measure); margin-top: 8px; }
@media (max-width: 720px) { .lead-form__row { grid-template-columns: 1fr; gap: 0; } }

/* =========================================================================
   19. ADMIN DASHBOARD (/admin) — internal, noindex + robots-disallowed
   ========================================================================= */
.admin { background: var(--paper); min-height: 100vh; }
.admin__bar { background: var(--navy); color: var(--paper); }
.admin__bar-inner { max-width: 1160px; margin-inline: auto; padding: 14px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.admin__brand { font-family: var(--sans); font-weight: 700; font-size: 15px; letter-spacing: 0.02em; }
.admin__logout { font-family: var(--sans); font-size: 13px; font-weight: 700; color: var(--brass-soft); background: none; border: 0; cursor: pointer; }
.admin__wrap { max-width: 1160px; margin-inline: auto; padding: 24px 22px 64px; }

/* Login card */
.admin-login { min-height: 100vh; display: grid; place-items: center; background: var(--navy); padding: 24px; }
.admin-login__card { background: var(--white); border-radius: 14px; box-shadow: var(--shadow-md); padding: clamp(28px, 4vw, 40px); width: 100%; max-width: 380px; text-align: center; }
.admin-login__card img { width: 96px; margin: 0 auto 18px; }
.admin-login__card h1 { font-family: var(--serif); font-weight: 600; font-size: 24px; color: var(--navy); margin-bottom: 20px; }
.admin-login__card input { width: 100%; font-family: var(--sans); font-size: 16px; padding: 12px 13px; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 14px; }
.admin-login__card input:focus { outline: 3px solid var(--brass); outline-offset: 1px; }
.admin-login__err { color: #b3341f; font-family: var(--sans); font-size: 14px; font-weight: 700; min-height: 20px; margin-bottom: 8px; }

/* Stat counts */
.admin-stats { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.admin-stat { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; min-width: 110px; }
.admin-stat__num { font-family: var(--serif); font-weight: 600; font-size: 26px; color: var(--navy); }
.admin-stat__label { font-family: var(--sans); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 700; margin-top: 2px; }

/* Filters */
.admin-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
.admin-filters select { font-family: var(--sans); font-size: 14px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--navy); }
.admin-filters label { font-family: var(--sans); font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* Table */
.admin-table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.admin-table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 14px; min-width: 820px; }
.admin-table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.admin-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--slate); }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--brass); }
.admin-table select { font-family: var(--sans); font-size: 13px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); color: var(--navy); }
.admin-detail { display: none; }
.admin-detail.is-open { display: block; }
.admin-detail__msg { white-space: pre-wrap; color: var(--slate); background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; margin: 8px 0; max-width: 60ch; }
.admin-detail textarea { width: 100%; max-width: 60ch; font-family: var(--sans); font-size: 14px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; min-height: 70px; }
.admin-toggle { background: none; border: 0; color: var(--brass); font-family: var(--sans); font-weight: 700; font-size: 13px; cursor: pointer; padding: 0; }
.admin-notes-save { font-family: var(--sans); font-size: 12px; font-weight: 700; color: var(--navy); background: var(--brass); border: 0; border-radius: 6px; padding: 6px 12px; cursor: pointer; margin-top: 6px; }
.admin-badge { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; padding: 2px 8px; border-radius: 999px; }
.admin-badge--state { background: #1f3a5f22; color: #1f3a5f; margin-right: 4px; }
.admin-empty { padding: 32px; text-align: center; color: var(--muted); font-family: var(--sans); }

/* Robust show/hide: display:none !important beats any authored display (e.g.
   .admin-login is display:grid, which the bare `hidden` attribute cannot hide). */
.is-hidden { display: none !important; }

/* Visible error banner shown on a genuine session failure (cookie not retained). */
.admin-error-banner { background: #fff4f2; border: 1px solid #e0a99f; color: #8a2b17; font-family: var(--sans); font-size: 15px; line-height: 1.55; border-radius: 10px; padding: 14px 16px; margin-bottom: 18px; }

/* =========================================================================
   20. ADMIN PORTAL SHELL (sidebar + sections)
   ========================================================================= */
.admin__brand { display: inline-flex; align-items: center; gap: 8px; }
.admin__crest { width: 22px; height: 22px; object-fit: contain; }
.admin-portal { display: flex; align-items: flex-start; max-width: 1160px; margin-inline: auto; }
.admin-nav { flex: 0 0 190px; display: flex; flex-direction: column; gap: 2px; padding: 20px 12px; position: sticky; top: 0; }
.admin-nav__item { text-align: left; font-family: var(--sans); font-size: 14.5px; font-weight: 600; color: var(--slate); background: none; border: 0; border-radius: 8px; padding: 10px 14px; cursor: pointer; }
.admin-nav__item:hover { background: rgba(13, 34, 73, 0.06); color: var(--navy); }
.admin-nav__item.is-active { background: var(--navy); color: var(--paper); }
.admin-main { flex: 1 1 auto; min-width: 0; padding: 20px 22px 64px; }
.admin-section__title { font-family: var(--serif); font-weight: 600; font-size: clamp(22px, 3vw, 28px); color: var(--navy); margin-bottom: 18px; }
.admin-section__intro { font-family: var(--sans); color: var(--slate); font-size: 15px; margin-bottom: 14px; }

/* Overview cards */
.admin-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 18px 0; }
.admin-card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.admin-card--placeholder { color: var(--muted); font-family: var(--sans); }
.admin-card__label { font-family: var(--sans); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.admin-card__big { font-family: var(--serif); font-weight: 600; font-size: 34px; color: var(--navy); line-height: 1; }
.admin-card__news { font-family: var(--sans); font-size: 15.5px; font-weight: 600; color: var(--navy); line-height: 1.4; }
.admin-card__sub { font-family: var(--sans); font-size: 13px; color: var(--slate); margin-top: 6px; }
.admin-recent { list-style: none; margin: 0; padding: 0; }
.admin-recent__item { padding: 8px 0; border-top: 1px solid var(--line); font-family: var(--sans); font-size: 14.5px; }
.admin-recent__item:first-child { border-top: 0; }
.admin-recent__link { background: none; border: 0; color: var(--navy); font-weight: 700; cursor: pointer; padding: 0; font-size: 14.5px; text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 2px; }
.admin-recent__meta { color: var(--muted); }
.admin-recent__empty { color: var(--muted); font-family: var(--sans); padding: 8px 0; }

/* News list (read-only) */
.admin-news-list { list-style: none; margin: 16px 0 0; padding: 0; max-width: var(--col); }
.admin-news__item { padding: 12px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 130px 1fr; gap: 2px 16px; }
.admin-news__item:first-child { border-top: 0; }
.admin-news__date { font-family: var(--sans); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--brass); }
.admin-news__headline { font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--navy); text-decoration: none; }
.admin-news__headline:hover, .admin-news__headline:focus-visible { text-decoration: underline; text-decoration-color: var(--brass); }
.admin-news__source { grid-column: 2; font-family: var(--sans); font-size: 13px; color: var(--muted); }
.admin-news__empty { color: var(--muted); font-family: var(--sans); }

@media (max-width: 720px) {
  .admin-portal { flex-direction: column; }
  .admin-nav { flex-direction: row; flex: none; width: 100%; overflow-x: auto; gap: 6px; padding: 10px 12px; position: static; border-bottom: 1px solid var(--line); background: var(--white); }
  .admin-nav__item { white-space: nowrap; }
  .admin-main { width: 100%; padding: 16px 16px 56px; }
  .admin-news__item { grid-template-columns: 1fr; }
  .admin-news__source { grid-column: 1; }
}

/* =========================================================================
   20b. ADMIN — MARKETING HUB (foundation + labeled demo placeholders)
   ========================================================================= */
/* Unmissable amber "Sample"/"Dry run" tag — reused everywhere a value is demo. */
.mk-badge { display: inline-block; font-family: var(--sans); font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: #7a5a09; background: #fbe7bf; border: 1px solid #e6c874; border-radius: 999px; padding: 2px 8px; vertical-align: middle; white-space: nowrap; }

.mk-subnav { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.mk-tab { font-family: var(--sans); font-size: 13.5px; font-weight: 700; color: var(--slate); background: none; border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; cursor: pointer; }
.mk-tab:hover { border-color: var(--brass); color: var(--navy); }
.mk-tab.is-active { background: var(--navy); color: var(--paper); border-color: var(--navy); }
.mk-panel { animation: mkfade 0.15s ease; }
@keyframes mkfade { from { opacity: 0; } to { opacity: 1; } }
.mk-h3 { font-family: var(--serif); font-weight: 600; font-size: 20px; color: var(--navy); margin: 26px 0 4px; }
.mk-note { font-family: var(--sans); font-size: 13px; color: var(--muted); font-style: italic; margin-top: 14px; max-width: var(--col); }

/* Disabled "coming soon" controls — visibly inert, never functional-but-dead. */
.mk-btn { font-family: var(--sans); font-size: 13.5px; font-weight: 700; border-radius: 8px; padding: 10px 18px; border: 1px solid var(--line); }
.mk-btn--soon { color: var(--muted); background: var(--paper); cursor: not-allowed; }
.mk-btn--soon[disabled] { opacity: 0.75; }

/* Connection cards */
.mk-conn-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-bottom: 8px; }
.mk-conn { display: flex; align-items: center; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.mk-conn__logo { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; font-family: var(--sans); font-weight: 800; font-size: 18px; color: #fff; }
.mk-conn__logo--x { background: #111; }
.mk-conn__logo--li { background: #0a66c2; font-size: 17px; }
.mk-conn__logo--ig { background: #c13584; font-size: 15px; }
.mk-conn__body { flex: 1 1 auto; min-width: 0; }
.mk-conn__name { font-family: var(--sans); font-weight: 700; font-size: 15px; color: var(--navy); }
.mk-conn__status { font-family: var(--sans); font-size: 13px; color: var(--muted); margin-top: 2px; }
.mk-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #c0392b; margin-right: 5px; vertical-align: middle; }
.mk-dot--on { background: #2e7d32; }
.mk-conn__actions { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.mk-btn--connect { color: #fff; background: var(--navy); cursor: pointer; }
.mk-btn--connect:hover { opacity: 0.92; }
.mk-conn__disconnect { font-family: var(--sans); font-size: 12px; color: var(--muted); background: none; border: none; cursor: pointer; text-decoration: underline; padding: 2px 4px; }
.mk-conn__hint { font-family: var(--sans); font-size: 11.5px; color: var(--muted); text-align: right; max-width: 160px; line-height: 1.3; }

/* Post queue (read-only dry-run posts) */
.mk-post { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin-top: 12px; }
.mk-post__headline { font-family: var(--sans); font-weight: 700; font-size: 15px; color: var(--navy); margin-bottom: 10px; }
.mk-post__row { display: flex; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.mk-post__ch { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 6px; display: grid; place-items: center; font-family: var(--sans); font-weight: 800; font-size: 12px; color: #fff; }
.mk-post__ch--x { background: #111; }
.mk-post__ch--li { background: #0a66c2; }
.mk-post__body { font-family: var(--sans); font-size: 14px; line-height: 1.55; color: var(--slate); min-width: 0; }
.mk-post__link { font-weight: 700; color: var(--navy); text-decoration: underline; text-decoration-color: var(--brass); }

/* KPI badge under a card value */
.mk-card__badge { margin-top: 8px; }
.mk-card__sub { font-family: var(--sans); font-size: 13px; color: var(--slate); margin-top: 8px; }

/* Simple CSS bar chart (no libraries) */
.mk-chart { display: flex; align-items: flex-end; gap: 10px; height: 160px; margin-top: 14px; padding-top: 6px; }
.mk-bar { flex: 1 1 0; background: linear-gradient(180deg, var(--brass-soft), var(--brass)); border-radius: 6px 6px 0 0; position: relative; min-width: 18px; }
.mk-bar span { position: absolute; bottom: -20px; left: 0; right: 0; text-align: center; font-family: var(--sans); font-size: 11px; color: var(--muted); }
.mk-chart + .mk-note { margin-top: 26px; }

/* Fundraising progress bar */
.mk-progress { height: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; margin: 12px 0; }
.mk-progress__fill { height: 100%; background: linear-gradient(90deg, var(--brass-soft), var(--brass)); }

/* ── v2: toolbars, forms, CRUD lists, status pills ── */
.mk-toolbar { margin: 4px 0 16px; }
.mk-reminder { font-family: var(--sans); font-size: 13px; line-height: 1.5; color: #7a5a09; background: #fdf6e6; border: 1px solid #e6c874; border-radius: 10px; padding: 12px 14px; margin: 14px 0; max-width: var(--col); }

.mk-form { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; margin-bottom: 18px; max-width: 820px; }
.mk-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.mk-field { display: flex; flex-direction: column; margin-bottom: 12px; min-width: 0; }
.mk-field--wide { grid-column: 1 / -1; }
.mk-field label { font-family: var(--sans); font-size: 12.5px; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.mk-field input, .mk-field select, .mk-field textarea { font-family: var(--sans); font-size: 15px; color: var(--navy); background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 9px 11px; width: 100%; }
.mk-field input:focus, .mk-field select:focus, .mk-field textarea:focus { outline: 2px solid var(--brass); outline-offset: 1px; }
.mk-field textarea { resize: vertical; }
.mk-gen-row { display: flex; gap: 8px; align-items: stretch; }
.mk-gen-row input { flex: 1 1 auto; }
.mk-hint { font-family: var(--sans); font-size: 12px; color: var(--muted); margin-top: 5px; }
.mk-count { font-weight: 600; color: var(--muted); }
.mk-count--over { color: #b23b2e; }
.mk-form__actions { display: flex; align-items: center; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.mk-msg { font-family: var(--sans); font-size: 13px; color: var(--muted); }

.mk-btn--ghost { background: var(--paper); color: var(--navy); border: 1px solid var(--line); cursor: pointer; }
.mk-btn--ghost:hover { border-color: var(--brass); }

.mk-list { display: flex; flex-direction: column; gap: 12px; }
.mk-sub { font-family: var(--sans); font-size: 12.5px; color: var(--muted); }
.mk-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.mk-link { font-family: var(--sans); font-size: 13px; font-weight: 700; color: var(--navy); background: none; border: 0; padding: 2px 0; cursor: pointer; text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 3px; }
.mk-link:hover { color: var(--brass); }
.mk-link--danger { color: #b23b2e; text-decoration-color: #b23b2e; }

/* Status pills */
.mk-status { display: inline-block; font-family: var(--sans); font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; border-radius: 999px; padding: 2px 9px; vertical-align: middle; }
.mk-status--draft, .mk-status--archived { background: #eceff3; color: #5b6b7c; }
.mk-status--active, .mk-status--approved { background: #e2f0e6; color: #1c7a49; }
.mk-status--paused { background: #fbe7bf; color: #7a5a09; }
.mk-status--ended { background: #ede1e0; color: #8a4a3f; }
.mk-status--published { background: #dfeaffff; color: #1f3a8a; }
.mk-status--cancelled { background: #ede1e0; color: #8a4a3f; }

/* Social post cards + media */
.mk-post__top { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.mk-post__src { font-family: var(--sans); font-size: 12px; margin: 8px 0 10px; word-break: break-all; }
.mk-post__src a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--brass); }
.mk-post__imgs { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.mk-thumb { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.mk-media { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.mk-media__item { position: relative; display: inline-block; }
.mk-media__rm { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; border: 0; background: #b23b2e; color: #fff; font-size: 14px; line-height: 1; cursor: pointer; }

/* Fundraising goal cards */
.mk-goal { margin-bottom: 12px; }
.mk-goal__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }

@media (max-width: 720px) {
  .mk-conn { flex-wrap: wrap; }
  .mk-conn .mk-btn { width: 100%; }
  .mk-subnav { overflow-x: auto; flex-wrap: nowrap; }
  .mk-form__grid { grid-template-columns: 1fr; }
  .mk-form { padding: 14px 14px; }
  .mk-gen-row { flex-direction: column; }
}

/* ── Newsletter admin ── */
.nl-tab { font-family: var(--sans); font-size: 13.5px; font-weight: 700; color: var(--slate); background: none; border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; cursor: pointer; }
.nl-tab:hover { border-color: var(--brass); color: var(--navy); }
.nl-tab.is-active { background: var(--navy); color: var(--paper); border-color: var(--navy); }
.nl-toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.nl-toolbar input { font-family: var(--sans); font-size: 14px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--navy); }
.nl-toolbar .btn { margin: 0; }
.mk-status--confirmed { background: #e2f0e6; color: #1c7a49; }
.mk-status--pending { background: #fbe7bf; color: #7a5a09; }
.mk-status--unsubscribed { background: #eceff3; color: #5b6b7c; }
.mk-status--queued { background: #fbe7bf; color: #7a5a09; }
.nl-items { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
.nl-item { display: flex; flex-direction: column; gap: 6px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.nl-item .nl-item__f { font-family: var(--sans); font-size: 14px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); color: var(--navy); width: 100%; }
.nl-item .nl-item__rm { align-self: flex-start; }
.nl-preview { margin: 16px 0; }
.nl-preview__frame { width: 100%; height: 620px; border: 1px solid var(--line); border-radius: 12px; background: #f0f4fa; }

/* =========================================================================
   21. POLICY WATCH (public page)
   ========================================================================= */
.policy-content { max-width: var(--col); margin-inline: auto; }
.policy-group { margin-bottom: 36px; }
.policy-group:last-child { margin-bottom: 0; }
.policy-group__title { font-family: var(--serif); font-weight: 600; font-size: clamp(20px, 3vw, 26px); color: var(--navy); margin-bottom: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--brass); }
.policy-item { padding: 22px 0; border-top: 1px solid var(--line); }
.policy-item:first-of-type { border-top: 0; }
.policy-item__status { display: inline-block; font-family: var(--sans); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--slate); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; margin-bottom: 10px; }
.policy-item__status.is-open { color: #8a2b17; background: #fff4f2; border-color: #e0a99f; }
.policy-item--comment { background: rgba(200, 151, 43, 0.06); border-left: 3px solid var(--brass); padding-left: 16px; }
.policy-item__title { font-family: var(--serif); font-weight: 600; font-size: clamp(18px, 2.3vw, 22px); line-height: 1.3; margin-bottom: 8px; }
.policy-item__title a { color: var(--navy); text-decoration: none; }
.policy-item__title a:hover, .policy-item__title a:focus-visible { text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 3px; }
.policy-item__summary { font-family: var(--sans); font-size: 16px; line-height: 1.7; color: var(--slate); max-width: var(--measure); margin-bottom: 8px; }
.policy-item__meta { font-family: var(--sans); font-size: 13px; color: var(--muted); }
.policy-note { max-width: var(--col); margin: 28px auto 0; font-family: var(--sans); font-size: 13px; color: var(--muted); font-style: italic; }
.policy-empty { font-family: var(--sans); font-size: 16px; color: var(--slate); font-style: italic; max-width: var(--col); margin-inline: auto; }
.policy-group__title { font-family: var(--serif); font-weight: 600; font-size: clamp(19px, 2.6vw, 24px); }
.policy-group__code { font-family: var(--sans); font-size: 13px; font-weight: 700; color: var(--brass); letter-spacing: 0.04em; }
.section__head--sub { margin-top: 40px; }

/* ── Events (public page) ── */
.events-list { max-width: var(--col); margin-inline: auto; }
.event { display: flex; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.event:first-of-type { border-top: 0; }
.event__badge { flex: 0 0 62px; width: 62px; height: 62px; border-radius: 12px; background: var(--navy); color: var(--paper); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.event__mon { font-family: var(--sans); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--brass-soft); }
.event__day { font-family: var(--serif); font-weight: 600; font-size: 24px; margin-top: 3px; }
.event__body { flex: 1 1 auto; min-width: 0; }
.event__title { font-family: var(--serif); font-weight: 600; font-size: clamp(18px, 2.3vw, 22px); line-height: 1.3; color: var(--navy); margin-bottom: 6px; }
.event__when { font-family: var(--sans); font-size: 14px; font-weight: 700; color: var(--brass); margin-bottom: 4px; }
.event__loc { font-family: var(--sans); font-size: 14px; color: var(--slate); margin-bottom: 8px; }
.event__desc { font-family: var(--sans); font-size: 16px; line-height: 1.7; color: var(--slate); max-width: var(--measure); margin-bottom: 12px; }
.event__cta .btn { margin: 0; }
.events-past { margin-top: 44px; }
.events-past__head { font-family: var(--serif); font-weight: 600; font-size: clamp(20px, 3vw, 26px); color: var(--navy); margin-bottom: 4px; padding-bottom: 10px; border-bottom: 2px solid var(--brass); }
.events-past .event { opacity: 0.72; }
.events-empty { font-family: var(--sans); font-size: 16px; color: var(--slate); font-style: italic; max-width: var(--col); margin-inline: auto; }

@media (max-width: 520px) {
  .event { gap: 12px; }
  .event__badge { flex-basis: 52px; width: 52px; height: 52px; }
  .event__day { font-size: 20px; }
}
.policy-item__badges { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; flex-wrap: wrap; }
.policy-item__state { display: inline-block; font-family: var(--sans); font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; color: var(--paper); background: var(--navy); border-radius: 5px; padding: 3px 9px; }
.policy-item__status--inline { margin-bottom: 0; }

/* =========================================================================
   22. STATE ACTIVITY MAP (public page) — activity map, not a legal-landscape map
   ========================================================================= */
.usmap-wrap { max-width: 760px; margin: 8px auto 0; }
.usmap-frame { width: 100%; }
.usmap { width: 100%; height: auto; display: block; }
.usmap__state { cursor: pointer; outline: none; }
.usmap__state path { fill: #d4dae4; stroke: #ffffff; stroke-width: 1; transition: fill 0.15s ease; }
.usmap__state--introduced path { fill: #9cc0e0; }   /* light blue */
.usmap__state--advancing path  { fill: #C8972B; }   /* brass */
.usmap__state--enacted path    { fill: #1c7a49; }   /* deep green */
.usmap__state:hover path { stroke: var(--brass); stroke-width: 1.6; }
.usmap__state:focus-visible path { stroke: var(--navy); stroke-width: 2.4; }

.usmap-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; margin: 14px 0 6px; padding: 0; }
.usmap-legend li { display: inline-flex; align-items: center; gap: 7px; font-family: var(--sans); font-size: 13px; color: var(--slate); }
.usmap-swatch { width: 14px; height: 14px; border-radius: 3px; border: 1px solid rgba(0,0,0,0.1); display: inline-block; }
.usmap-swatch--enacted { background: #1c7a49; }
.usmap-swatch--advancing { background: #C8972B; }
.usmap-swatch--introduced { background: #9cc0e0; }
.usmap-swatch--none { background: #d4dae4; }
.usmap-caption { font-family: var(--sans); font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 4px; max-width: 60ch; margin-inline: auto; }

.usmap-detail { max-width: var(--col); margin: 20px auto 0; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; min-height: 60px; }
.usmap-detail__hint { font-family: var(--sans); font-size: 14px; color: var(--muted); font-style: italic; margin: 0; }
.usmap-detail__name { font-family: var(--sans); font-size: 14px; font-weight: 700; color: var(--navy); margin: 0 0 8px; }
.usmap-detail__empty { font-family: var(--sans); font-size: 14px; color: var(--muted); margin: 0; }
.usmap-detail__list { list-style: none; margin: 0; padding: 0; }
.usmap-detail__list li { font-family: var(--sans); font-size: 14px; line-height: 1.5; padding: 5px 0; border-top: 1px solid var(--line); }
.usmap-detail__list li:first-child { border-top: 0; }
.usmap-detail__status { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.usmap-detail__list a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 2px; }
