/* Faithful visual recreation of the user's Reach A Hand Uganda design reference.
   MHF identity, photos, writing, partners and data remain original to MHF. */

:root {
  color-scheme: dark;
  --paper: #002436;
  --surface: #00314a;
  --surface-soft: #063b4e;
  --ink: #ffffff;
  --ink-soft: #d9e5e9;
  --muted: #b4c8cf;
  --line: #0b5265;
  --plum: #06c6da;
  --plum-deep: #002436;
  --plum-pale: #0a394b;
  --coral: #c51d67;
  --coral-pale: #44213a;
  --gold: #fed100;
  --gold-pale: #42370b;
  --blue: #1dacbb;
  --blue-pale: #07394b;
  --green: #64cc14;
  --impact: #9e1f63;
  --font-display: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-numeric: "Oswald", "Arial Narrow", Arial, sans-serif;
  --max-width: 1280px;
  --header-height: 82px;
}

:focus-visible {
  outline: 3px solid var(--gold) !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 2px var(--paper) !important;
}
.skip-link { background: var(--gold); color: var(--paper); font-weight: 800; }
html, body { background: var(--paper); color: var(--ink); }
body { min-width: 320px; }

/* Compact dark header and hamburger navigation, as in the visual reference */
.site-header, .gallery-header { border: 0; background: var(--paper); }
.nav-container, .gallery-header-inner { width: min(1280px, calc(100% - 40px)); min-height: 82px; padding: 8px 0; }
body:not([data-election-mode]) .site-logo { width: 150px; }
body:not([data-election-mode]) .desktop-nav,
body:not([data-election-mode]) .nav-cta { display: none !important; }
body:not([data-election-mode]) .mobile-nav-toggle { display: grid !important; width: 48px; height: 48px; border: 0; border-radius: 0; background: transparent; }
body:not([data-election-mode]) .mobile-nav-toggle:hover { background: transparent; }
.menu-icon { position: relative; display: grid; width: 42px; gap: 7px; }
.menu-icon span { width: 42px; height: 3px; border-radius: 3px; background: #fff; transition: transform .16s ease, opacity .16s ease; }
.menu-open .menu-icon span:first-child { transform: translateY(10px) rotate(45deg); }
.menu-open .menu-icon span:nth-child(2) { opacity: 0; }
.menu-open .menu-icon span:last-child { transform: translateY(-10px) rotate(-45deg); }
.nav-panel { right: max(12px, calc((100vw - 1280px) / 2)); padding: 12px 18px; border: 1px solid #1dacbb; border-radius: 18px; background: #00314a; box-shadow: 0 18px 48px rgba(0,0,0,.28); }
.nav-panel-grid { gap: 0 20px; }
.nav-panel-link { border-bottom-color: rgba(159,233,255,.2); color: #fff; font-size: .9rem; font-weight: 650; }
.nav-panel-link:hover { color: var(--gold); }

/* Four-card MHF hero mosaic */
.hero-section { padding: 94px 0 32px; overflow: hidden; background: var(--paper); }
.hero-mosaic { display: grid; min-height: 648px; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: minmax(0, 1.05fr) minmax(0, .98fr); gap: 16px; }
.hero-card { position: relative; min-width: 0; overflow: hidden; border-radius: 38px; isolation: isolate; }
.hero-main-card { grid-column: 1 / 3; grid-row: 1 / 3; min-height: 648px; background: #1dacbb; }
.hero-photo { position: absolute; z-index: 0; inset: 0; margin: 0; padding: 0; border: 0; border-radius: inherit; background: transparent; box-shadow: none; }
.hero-photo img { width: 100%; height: 100%; aspect-ratio: auto; border-radius: inherit; object-fit: cover; object-position: center 42%; }
.hero-main-card::before { position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, rgba(0,36,54,.02) 16%, rgba(0,36,54,.12) 42%, rgba(0,36,54,.92) 100%); content: ""; }
.hero-main-card::after { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; height: 28px; background: radial-gradient(circle at 19px 100%, transparent 0 10px, rgba(255,255,255,.48) 11px 13px, transparent 14px 20px); background-size: 40px 28px; content: ""; pointer-events: none; }
.hero-main-card .hero-copy { position: absolute; z-index: 3; right: 36px; bottom: 38px; left: 42px; max-width: 590px; }
.hero-copy .eyebrow { display: inline-flex; align-items: center; margin: 0 0 13px; padding: 6px 10px; border: 1px solid rgba(255,255,255,.65); border-radius: 999px; background: rgba(0,36,54,.7); color: #fff; font-size: .65rem; font-weight: 800; letter-spacing: .08em; }
.hero-copy .eyebrow > span { padding: 0 4px; color: var(--gold); }
.hero-copy h1 { max-width: 590px; margin: 0 0 13px; color: #fff; font-family: var(--font-display); font-size: clamp(2.35rem, 3.6vw, 3.15rem); font-weight: 760; letter-spacing: -.045em; line-height: 1.04; }
.hero-highlight { display: inline; width: auto; max-width: none; margin: 0; padding: 0; background: transparent; color: var(--gold); }
.hero-description { max-width: 525px; margin: 0; color: #fff; font-size: clamp(.94rem, 1.2vw, 1.06rem); font-weight: 520; line-height: 1.52; }
.hero-actions { gap: 10px; margin-top: 19px; }
.hero-main-card .button-primary { min-height: 54px; padding: 0 28px; border: 0; border-radius: 999px; background: #fff; color: #00314a; font-size: .95rem; font-weight: 700; letter-spacing: 0; text-transform: none; }
.hero-main-card .button-primary:hover { background: var(--gold); color: var(--paper); }
.hero-main-card .hero-photo figcaption { display: none; }

.hero-inspire-card { grid-column: 3 / 5; grid-row: 1; display: flex; min-height: 320px; align-items: center; padding: 28px 30px; background: var(--green); color: var(--paper); }
.hero-inspire-copy { position: relative; z-index: 2; width: 57%; max-width: 355px; }
.hero-inspire-copy .eyebrow { margin: 0 0 8px; padding: 0; border: 0; background: transparent; color: #00314a; font-size: .66rem; }
.hero-inspire-copy h2 { margin: 0 0 8px; color: #002436; font-family: var(--font-display); font-size: clamp(1.45rem, 2.2vw, 2rem); font-weight: 760; letter-spacing: -.04em; line-height: 1.05; }
.hero-inspire-copy p { max-width: 320px; margin: 0 0 12px; color: #002436; font-size: .91rem; font-weight: 560; line-height: 1.45; }
.hero-card-link { display: inline-flex; min-height: 40px; align-items: center; color: #002436; font-size: .83rem; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.hero-inspire-card > img { position: absolute; z-index: 1; right: 11px; bottom: 0; width: 41%; height: 91%; border: 2px solid rgba(0,36,54,.28); border-bottom: 0; border-radius: 48% 48% 0 0; object-fit: cover; object-position: center; }
.hero-inspire-card::after { position: absolute; z-index: 0; right: 7%; bottom: 0; width: 50%; height: 20px; background: repeating-radial-gradient(circle at 10px 100%, transparent 0 5px, rgba(255,255,255,.76) 6px 7px, transparent 8px 12px); background-size: 20px 20px; content: ""; }

.hero-program-card { grid-column: 3; grid-row: 2; display: flex; min-height: 304px; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 24px 23px 20px; background: var(--coral); color: #fff; }
.hero-program-count { display: flex; align-items: baseline; gap: 9px; }
.hero-program-count strong { color: #fff; font-family: var(--font-numeric); font-size: clamp(3rem, 5.1vw, 4.6rem); font-weight: 700; line-height: .9; }
.hero-program-count span { color: #fff; font-size: .96rem; font-weight: 750; line-height: 1.1; }
.hero-program-card h2 { max-width: 230px; margin: 8px 0 10px; color: #fff; font-family: var(--font-display); font-size: clamp(1rem, 1.55vw, 1.25rem); font-weight: 720; letter-spacing: -.025em; line-height: 1.2; }
.hero-round-link { display: grid; width: 62px; height: 48px; place-items: center; border-radius: 999px; background: #a0e9ff; color: #00314a; font-size: 1.45rem; font-weight: 750; }
.hero-round-link:hover { background: #fff; color: #00314a; }

.hero-update-card { grid-column: 4; grid-row: 2; display: flex; min-height: 304px; flex-direction: column; align-items: center; justify-content: space-between; padding: 20px 16px 18px; background: var(--gold); color: var(--paper); text-align: center; }
.hero-update-card h2 { margin: 0; color: #002436; font-family: var(--font-display); font-size: clamp(.92rem, 1.35vw, 1.12rem); font-weight: 760; line-height: 1.18; }
.hero-update-card img { width: clamp(86px, 8vw, 112px); height: clamp(86px, 8vw, 112px); flex: 0 0 auto; border: 3px solid #fff; border-radius: 50%; object-fit: cover; box-shadow: 0 7px 16px rgba(0,36,54,.22); }
.hero-update-link { display: inline-flex; min-height: 40px; align-items: center; gap: 7px; color: #002436; font-size: .78rem; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.hero-update-link:hover { color: #00314a; }

/* Large magenta impact panel */
.impact-section { padding: 0 0 28px; background: var(--paper); }
.impact-inner { display: grid; grid-template-columns: 1fr; gap: 27px; min-height: 356px; align-content: start; padding: 36px clamp(22px, 4.5vw, 58px) 44px; overflow: hidden; border-radius: 36px; background: var(--impact); }
.impact-heading { max-width: 900px; margin: 0 auto; text-align: center; }
.impact-heading .eyebrow { display: none; }
.impact-heading h2 { margin: 0 0 8px; color: #fff; font-family: var(--font-display); font-size: clamp(2.1rem, 3.5vw, 2.8rem); font-weight: 730; letter-spacing: -.04em; line-height: 1.06; }
.impact-heading > p:last-child { margin: 0 auto; color: #fff; font-size: .88rem; line-height: 1.45; }
.impact-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.impact-stat { display: flex; min-width: 0; min-height: 94px; flex-direction: column; justify-content: center; gap: 6px; padding: 8px 15px; border-left: 1px solid rgba(255,255,255,.36); }
.impact-stat:first-child { border-left: 0; }
.impact-stat strong { color: var(--gold); font-family: var(--font-numeric); font-size: clamp(2rem, 3.2vw, 2.85rem); font-weight: 700; letter-spacing: -.025em; line-height: 1; white-space: nowrap; }
.impact-stat > span { color: #fff; font-size: .78rem; font-weight: 620; line-height: 1.32; }

/* Dark editorial sections */
.eyebrow { display: inline-flex; width: fit-content; align-items: center; margin: 0 0 12px; padding: 0; border: 0; border-radius: 0; background: transparent; color: #a0e9ff; font-size: .72rem; font-weight: 800; letter-spacing: .12em; line-height: 1.35; text-transform: uppercase; }
.section-heading { align-items: center; }
.section-heading h2, .accountability-wrap h2, .contact-heading h2 { color: #fff; font-family: var(--font-display); font-size: clamp(2rem, 4.1vw, 3.3rem); font-weight: 720; letter-spacing: -.045em; line-height: 1.04; }
.section-heading > p { color: var(--ink-soft); font-size: .98rem; font-weight: 470; }
.about-section, .field-notes-section, .footprint-section, .updates-section, .involved-section, .contact-section { background: var(--paper); color: #fff; }
.about-section { padding-top: clamp(56px, 7vw, 86px); padding-bottom: clamp(56px, 7vw, 86px); }
.about-intro .about-lede { color: #fff; font-family: var(--font-display); font-size: clamp(1.35rem, 2.2vw, 1.8rem); font-weight: 660; letter-spacing: -.025em; line-height: 1.35; }
.about-intro p { color: var(--ink-soft); }
.purpose-grid { gap: 16px; }
.purpose-statement { padding: 22px; border: 1px solid #0bbcff; border-radius: 18px; background: #00314a; }
.purpose-statement:nth-child(2) { background: #00314a; }
.purpose-statement h3 { color: var(--gold); font-size: .73rem; font-weight: 800; }
.purpose-statement p { color: #fff; font-family: var(--font-display); font-size: clamp(1.15rem, 1.8vw, 1.5rem); font-weight: 620; line-height: 1.35; }

/* Featured programs in a dark outlined stage */
.programs-section { padding: clamp(38px, 5vw, 62px) 0; background: var(--paper); }
.programs-section > .section-wrap { padding: clamp(23px, 4vw, 52px); border: 1px solid #0bbcff; border-radius: 30px; background: #00314a; }
.programs-section .section-heading { grid-template-columns: 1fr; justify-items: center; gap: 8px; margin-bottom: 27px; text-align: center; }
.programs-section .section-heading h2 { max-width: 850px; }
.programs-section .section-heading > p { max-width: 740px; margin: 0 auto; }
.programs-grid { gap: clamp(18px, 3vw, 32px); }
.program-card, .program-card:nth-child(2) { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; padding: 0; border: 0; border-radius: 0; background: transparent; color: #fff; }
.program-photo { position: relative; width: 100%; margin: 0 0 21px; padding: 8px; border-radius: 23px; background: var(--gold); }
.program-photo img { width: 100%; aspect-ratio: 16 / 8.5; border: 0; border-radius: 16px; object-fit: cover; }
.program-photo figcaption { position: absolute; bottom: 16px; left: 16px; margin: 0; padding: 6px 9px; border: 0; border-radius: 999px; background: #002436; color: #fff; font-size: .67rem; font-weight: 750; letter-spacing: .04em; text-transform: none; }
.program-card h3 { max-width: 520px; margin: 0 0 10px; color: #fff; font-family: var(--font-display); font-size: clamp(1.55rem, 2.45vw, 2.15rem); font-weight: 730; letter-spacing: -.035em; line-height: 1.08; }
.program-card > p, .program-card ul { color: var(--ink-soft); }
.program-card > p { font-size: .94rem; }
.program-card ul { font-size: .87rem; }
.program-card li::marker { color: var(--gold); }
.program-card .text-link { color: #a0e9ff; font-weight: 750; }
.program-card .text-link:hover { color: var(--gold); }

/* Field notes echo the reference's champion wall using MHF documentary photos */
.field-notes-section { padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px); }
.field-heading { grid-template-columns: 1fr; justify-items: center; gap: 8px; text-align: center; }
.field-heading h2 { max-width: 800px; }
.field-archive-link { justify-self: center; color: var(--gold); font-weight: 750; text-decoration-color: var(--coral); }
.field-archive-link:hover { color: #a0e9ff; }
.field-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; gap: 22px; }
.field-photo-card, .field-photo-card-featured, .field-photo-card-wide { grid-column: auto; grid-row: auto; }
.field-photo-frame { flex: none; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid #0bbcff; border-radius: 20px; background: #00314a; box-shadow: none; }
.field-photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.field-photo-card figcaption { display: flex; flex-direction: column; gap: 2px; padding-top: 10px; color: var(--muted); }
.field-photo-card figcaption strong { color: #fff; font-family: var(--font-display); font-size: 1rem; font-weight: 700; }
.field-photo-card figcaption span { color: var(--ink-soft); }

/* Locations and dates as bright, readable cards */
.footprint-section { padding-top: clamp(48px, 6vw, 76px); padding-bottom: clamp(48px, 6vw, 76px); }
.district-list { gap: 12px; border: 0; }
.district-item, .district-item + .district-item { min-height: 132px; padding: 18px; border: 0; border-radius: 20px; background: #06c6da; }
.district-item:nth-child(2) { background: #64cc14; }
.district-item:nth-child(3) { background: #c51d67; }
.district-item:nth-child(4) { background: #fed100; }
.district-item + .district-item { padding-left: 18px; }
.district-item > span { color: #002436; font-weight: 800; }
.district-item h3 { color: #002436; font-family: var(--font-display); font-size: 1.8rem; font-weight: 760; }
.district-item p { color: #002436; font-size: .82rem; font-weight: 560; }
.district-item:nth-child(3) > span, .district-item:nth-child(3) h3, .district-item:nth-child(3) p { color: #fff; }
.updates-section { padding-top: clamp(54px, 7vw, 84px); padding-bottom: clamp(54px, 7vw, 84px); }
.update-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; border: 0; }
.update-row { display: flex; min-width: 0; min-height: 180px; flex-direction: column; align-items: flex-start; gap: 11px; padding: 20px; border: 1px solid #0bbcff; border-radius: 18px; background: #00314a; }
.update-row:nth-child(2), .update-row:nth-child(3), .update-row:nth-child(4) { background: #00314a; }
.update-status { display: inline-flex; width: fit-content; align-items: center; padding: 6px 10px; border-radius: 999px; background: #c51d67; color: #fff; font-size: .67rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.update-status-planned { background: var(--gold); color: #002436; }
.update-status-ongoing { background: #a0e9ff; color: #002436; }
.update-copy h3 { color: #fff; font-family: var(--font-display); font-size: 1.35rem; font-weight: 720; line-height: 1.12; }
.update-copy p { color: var(--ink-soft); font-size: .88rem; }
.update-copy .text-link { color: #a0e9ff; font-weight: 750; }

.accountability-section { padding: 30px 0; background: var(--paper); }
.accountability-wrap { padding: clamp(22px, 3.5vw, 38px); border-radius: 26px; background: var(--impact); }
.accountability-wrap .eyebrow { color: var(--gold); }
.accountability-wrap h2 { color: #fff; font-family: var(--font-display); font-weight: 740; }
.accountability-wrap > p { color: #fff; font-weight: 520; }
.involved-section { padding-top: clamp(52px, 6.5vw, 78px); padding-bottom: clamp(52px, 6.5vw, 78px); }
.involved-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; border: 0; }
.involved-list a { display: flex; min-height: 154px; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 20px; border: 0; border-radius: 20px; background: #06c6da; }
.involved-list a:nth-child(2) { background: #c51d67; }
.involved-list a:nth-child(3) { background: #fed100; }
.involved-list a > span { color: #002436; font-size: .73rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.involved-list strong { width: 100%; color: #002436; font-family: var(--font-display); font-size: 1.2rem; font-weight: 730; line-height: 1.18; }
.involved-list a:nth-child(2) strong, .involved-list a:nth-child(2) > span { color: #fff; }
.involved-list a:hover { filter: brightness(1.08); }
.involved-list a:hover strong { color: inherit; }

/* A white partner band preserves original-color artwork */
.partners-section { padding: clamp(44px, 6vw, 66px) 0; background: #fff; color: #002436; }
.partners-section .section-heading { grid-template-columns: 1fr; justify-items: center; gap: 8px; text-align: center; }
.partners-section .section-heading h2 { color: #002436; }
.partners-section .section-heading > p { color: #243d4a; }
.partners-section .eyebrow { color: #9e1f63; }
.partners-heading { margin-bottom: 25px; }
.partner-logo-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 20px; row-gap: 12px; }
.partner-logo-card { min-height: 120px; padding: 10px; border-radius: 0; background: transparent; }
.partner-logo-frame { height: 70px; }
.partner-logo-frame img { max-height: 64px; }
.partner-logo-card figcaption { color: #17394b; font-weight: 650; }

/* Bright support callout and dark contact/footer */
.support-section { padding: 42px 0; background: var(--paper); color: #002436; }
.support-wrap { padding: clamp(24px, 4.2vw, 52px); border-radius: 32px; background: #06c6da; }
.support-copy .eyebrow-light { border: 0; background: transparent; color: #00314a; }
.support-copy h2 { color: #002436; font-family: var(--font-display); font-size: clamp(2.5rem, 5.2vw, 4.15rem); font-weight: 760; letter-spacing: -.045em; }
.support-copy > p:not(.support-privacy) { color: #002436; font-weight: 540; }
.support-privacy { color: #00314a; }
.support-safety { border-left: 3px solid #00314a; }
.support-safety h3, .support-safety p { color: #002436; }
.button-light { border-color: #fff; border-radius: 999px; background: #fff; color: #00314a; font-weight: 750; }
.button-light:hover { border-color: var(--gold); background: var(--gold); color: #002436; }
.button-dark-outline { border: 2px solid #00314a; border-radius: 999px; background: transparent; color: #00314a; font-weight: 750; }
.button-dark-outline:hover { border-color: #00314a; background: #00314a; color: #fff; }
.contact-section { padding-top: clamp(48px, 6vw, 70px); padding-bottom: clamp(48px, 6vw, 70px); }
.contact-heading h2 { color: #fff; }
.contact-grid { gap: 12px; border: 0; }
.contact-item, .contact-item + .contact-item { min-height: 118px; padding: 17px; border: 1px solid #0bbcff; border-radius: 16px; background: #00314a; }
.contact-item:nth-child(2), .contact-item:nth-child(3), .contact-item:nth-child(4) { background: #00314a; }
.contact-item > span { color: var(--gold); font-weight: 800; }
.contact-item strong { color: #fff; }
.contact-item small { color: var(--ink-soft); }
.site-footer { border: 0; border-top: 1px solid #0b5265; background: #002436; }
.footer-brand-block > p, .footer-nav-block a, .footer-contact-block a, .footer-contact-block > span:not(.footer-heading), .footer-bottom { color: #d9e5e9; }
.footer-logo-link { width: 150px; }
.footer-heading { color: var(--gold); }
.footer-nav-block a:hover, .footer-contact-block a:hover, .footer-bottom a:hover { color: #a0e9ff; }
.footer-bottom { border-top-color: rgba(159,233,255,.24); }
.footer-bottom a { color: var(--gold); }

/* Photo archive: same dark canvas, bright cards and white partner-style typography */
.gallery-header-inner { width: min(1280px, calc(100% - 40px)); }
.gallery-brand-label span { color: var(--ink-soft); }
.gallery-brand-label strong { color: #fff; font-family: var(--font-display); font-weight: 750; }
.gallery-back-link { color: var(--gold); font-weight: 750; }
.gallery-back-link:hover { color: #a0e9ff; }
.gallery-hero { padding: 42px 0 34px; background: var(--paper); }
.gallery-hero .gallery-container { padding: clamp(24px, 4vw, 48px); border-radius: 30px; background: #06c6da; color: #002436; }
.gallery-eyebrow { display: inline-flex; margin: 0 0 12px; padding: 6px 10px; border-radius: 999px; background: #00314a; color: #fff; font-size: .7rem; font-weight: 800; }
.gallery-hero h1 { color: #002436; font-family: var(--font-display); font-size: clamp(2.5rem, 6.3vw, 4.25rem); font-weight: 760; letter-spacing: -.045em; line-height: 1.02; }
.gallery-intro { color: #00314a; font-weight: 540; }
.gallery-category-nav { gap: 9px; margin-top: 20px; }
.gallery-category-nav a { min-height: 46px; padding: 0 14px; border: 0; border-radius: 999px; background: #00314a; color: #fff; font-size: .76rem; font-weight: 750; text-transform: uppercase; }
.gallery-category-nav a:nth-child(2) { background: #c51d67; }
.gallery-category-nav a:nth-child(3) { background: #fed100; color: #002436; }
.gallery-category-nav a:nth-child(4) { background: #64cc14; color: #002436; }
.gallery-category-nav a:hover { filter: brightness(1.1); color: inherit; }
.gallery-sections { padding-top: 24px; padding-bottom: 50px; background: var(--paper); }
.gallery-section + .gallery-section { margin-top: 34px; padding-top: 28px; border-top: 1px solid #0b5265; }
.gallery-section-number { display: inline-flex; width: fit-content; margin: 0 0 8px; padding: 5px 9px; border-radius: 999px; background: var(--gold); color: #002436; font-size: .69rem; font-weight: 800; }
.gallery-section-heading h2 { color: #fff; font-family: var(--font-display); font-size: clamp(1.8rem, 3.6vw, 2.65rem); font-weight: 740; letter-spacing: -.04em; }
.gallery-section-heading > p { color: var(--ink-soft); }
.gallery-photo { border: 1px solid #0bbcff; border-radius: 18px; background: #00314a; box-shadow: none; }
.gallery-card-copy span { color: #a0e9ff; font-weight: 750; }
.gallery-card-copy strong { color: #fff; font-family: var(--font-display); font-weight: 680; }
.gallery-endnote { background: var(--paper); }
.gallery-endnote-inner { border-top-color: #0b5265; }
.gallery-endnote p { color: var(--ink-soft); }
.gallery-endnote a { color: var(--gold); font-weight: 750; }
.gallery-endnote a:hover { color: #a0e9ff; }
.gallery-footer { border-top: 1px solid #0b5265; background: #00314a; }
.gallery-footer-inner, .gallery-footer-inner a { color: #d9e5e9; }
.gallery-footer-inner > a:first-child { color: var(--gold); font-family: var(--font-display); font-weight: 750; }

/* Closed awards archive: preserve its existing Supabase data and filters */
body[data-election-mode="archive"] .site-header { border-bottom: 1px solid #0b5265; background: var(--paper); }
body[data-election-mode="archive"] .nav-container { min-height: 82px; }
body[data-election-mode="archive"] .site-logo { width: auto; color: #fff; }
body[data-election-mode="archive"] .logo-divider { background: #1dacbb; }
body[data-election-mode="archive"] .logo-title { color: #fff; font-family: var(--font-display); font-size: 1rem; font-weight: 760; }
body[data-election-mode="archive"] .logo-subtitle { color: #a0e9ff; font-size: .7rem; font-weight: 700; }
body[data-election-mode="archive"] .desktop-nav { display: flex; }
body[data-election-mode="archive"] .nav-link { color: var(--gold); font-weight: 750; }
body[data-election-mode="archive"] .nav-link:hover { color: #a0e9ff; }
body[data-election-mode="archive"] .mobile-nav-toggle { display: none; }
body[data-election-mode="archive"] .elections-section { border: 0; background: var(--paper); }
body[data-election-mode="archive"] .section-container { padding-top: 30px; }
body[data-election-mode="archive"] .elections-portal-hero { margin-bottom: 20px; padding: clamp(28px, 5vw, 52px) clamp(18px, 4vw, 48px); border: 0; border-radius: 30px; background: var(--gold); }
body[data-election-mode="archive"] .badge-org { color: #002436; }
body[data-election-mode="archive"] .badge-event { color: #00314a; font-weight: 700; }
body[data-election-mode="archive"] .elections-hero-title { color: #002436; font-family: var(--font-display); font-size: clamp(2.45rem, 5.7vw, 4.2rem); font-weight: 760; letter-spacing: -.045em; line-height: 1.02; text-transform: none; }
body[data-election-mode="archive"] .elections-hero-subtitle { color: #00314a; font-weight: 540; }
body[data-election-mode="archive"] .election-banner { max-width: 900px; padding: 13px 18px; border: 0; border-radius: 14px; background: #a0e9ff; color: #002436; font-weight: 750; }
body[data-election-mode="archive"] .election-open { background: #64cc14; color: #002436; }
body[data-election-mode="archive"] .election-closed { background: var(--gold); color: #002436; }
body[data-election-mode="archive"] .election-meta { padding: 20px; border: 1px solid #0bbcff; border-radius: 18px; background: #00314a; }
body[data-election-mode="archive"] .election-title { color: #fff; font-family: var(--font-display); font-size: clamp(1.35rem, 2.5vw, 1.8rem); font-weight: 730; }
body[data-election-mode="archive"] .election-totals { color: #a0e9ff; font-weight: 650; }
body[data-election-mode="archive"] .archive-disclaimer { color: var(--ink-soft); }
body[data-election-mode="archive"] .search-input { border: 1px solid #1dacbb; border-radius: 12px; background: #00314a; color: #fff; }
body[data-election-mode="archive"] .search-input::placeholder { color: #b4c8cf; }
body[data-election-mode="archive"] .search-input:focus { border-color: var(--gold); outline-color: #fed100; }
body[data-election-mode="archive"] .search-icon { color: #a0e9ff; }
body[data-election-mode="archive"] .clear-search-btn { color: #fff; }
body[data-election-mode="archive"] .category-chip { min-height: 44px; border: 1px solid #1dacbb; border-radius: 999px; background: #00314a; color: #fff; font-weight: 700; }
body[data-election-mode="archive"] .category-chip:hover { border-color: var(--gold); color: var(--gold); }
body[data-election-mode="archive"] .category-chip.active { border-color: #c51d67; background: #c51d67; color: #fff; }
body[data-election-mode="archive"] .position-block { border-top: 1px solid #0b5265; }
body[data-election-mode="archive"] .position-title { color: #fff; font-family: var(--font-display); font-size: 1.55rem; font-weight: 730; }
body[data-election-mode="archive"] .position-pick { color: #b4c8cf; }
body[data-election-mode="archive"] .position-voted { color: var(--gold); }
body[data-election-mode="archive"] .nominee-card { border: 1px solid #0b7186; border-radius: 16px; background: #00314a; box-shadow: none; }
body[data-election-mode="archive"] .nominee-card.my-vote { border-color: var(--gold); background: #074257; }
body[data-election-mode="archive"] .nominee-avatar { border: 1px solid #1dacbb; background: #063b4e; color: #a0e9ff; }
body[data-election-mode="archive"] .nominee-name { color: #fff; font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; }
body[data-election-mode="archive"] .nominee-bio { color: #d9e5e9; }
body[data-election-mode="archive"] .vote-meter-container { border-top-color: #0b5265; }
body[data-election-mode="archive"] .vote-pct { color: var(--gold); font-family: var(--font-numeric); font-size: 1.3rem; font-weight: 700; }
body[data-election-mode="archive"] .vote-count { color: #d9e5e9; }
body[data-election-mode="archive"] .vote-meter { background: #002436; }
body[data-election-mode="archive"] .vote-meter-fill { background: #e72177; }
body[data-election-mode="archive"] .archive-status-label { border-top-color: #0b5265; color: #a0e9ff; }
body[data-election-mode="archive"] .elections-empty { max-width: 720px; margin: 16px auto 24px; padding: 22px 18px; border: 1px dashed #1dacbb; border-radius: 18px; background: #00314a; color: #d9e5e9; text-align: center; }
body[data-election-mode="archive"] .elections-empty p { color: #d9e5e9; }
body[data-election-mode="archive"] .btn-primary, body[data-election-mode="archive"] .btn-voted { border-color: var(--gold); background: var(--gold); color: #002436 !important; }
body[data-election-mode="archive"] .btn-secondary { border-color: #1dacbb; background: #00314a; color: #fff !important; }
body[data-election-mode="archive"] .modal-card { border: 1px solid #1dacbb; border-radius: 20px; background: #00314a; color: #fff; }
body[data-election-mode="archive"] .modal-title, body[data-election-mode="archive"] .form-label, body[data-election-mode="archive"] .vote-summary strong { color: #fff; }
body[data-election-mode="archive"] .modal-subtext, body[data-election-mode="archive"] .modal-fine, body[data-election-mode="archive"] .vote-summary-pos { color: #d9e5e9; }
body[data-election-mode="archive"] .form-input { border-color: #1dacbb; background: #002436; color: #fff; }
body[data-election-mode="archive"] .vote-summary { border-color: #1dacbb; background: #063b4e; }
body[data-election-mode="archive"] .organizing-partners-footer { padding: 38px 0 24px; background: #fff; color: #002436; }
body[data-election-mode="archive"] .partner-footer-label { color: #24414f; }
body[data-election-mode="archive"] .site-footer { border-top: 1px solid #0b5265; background: #002436; }
body[data-election-mode="archive"] .footer-bottom { color: #d9e5e9; }
body[data-election-mode="archive"] .footer-bottom a { color: var(--gold); }

/* Tablet and phone adaptations */
@media (max-width: 1120px) {
  body:not([data-election-mode]) .nav-container, .gallery-header-inner { width: calc(100% - 32px); }
  .hero-mosaic { min-height: 620px; }
  .hero-main-card { min-height: 620px; }
  .hero-inspire-card { min-height: 300px; padding: 23px; }
  .hero-program-card, .hero-update-card { min-height: 290px; }
  .hero-main-card .hero-copy { right: 27px; left: 30px; }
  .hero-copy h1 { font-size: clamp(2.1rem, 4vw, 2.85rem); }
  .hero-inspire-copy { width: 60%; }
  .hero-inspire-card > img { width: 39%; height: 84%; }
  .hero-program-card { padding: 20px 18px 18px; }
  .hero-update-card { padding: 18px 12px 14px; }
}
@media (max-width: 900px) {
  .hero-section { padding-top: 72px; }
  .hero-mosaic { min-height: 580px; gap: 12px; }
  .hero-main-card { min-height: 580px; }
  .hero-inspire-card { min-height: 285px; padding: 18px; border-radius: 30px; }
  .hero-program-card, .hero-update-card { min-height: 283px; border-radius: 30px; }
  .hero-main-card .hero-copy { right: 22px; bottom: 32px; left: 24px; }
  .hero-copy h1 { font-size: clamp(1.9rem, 4.2vw, 2.45rem); }
  .hero-description { font-size: .9rem; }
  .hero-inspire-copy { width: 62%; }
  .hero-inspire-copy p { font-size: .83rem; }
  .hero-program-card h2 { font-size: .94rem; }
  .hero-program-count { gap: 6px; }
  .hero-program-count span { font-size: .8rem; }
  .hero-update-card h2 { font-size: .86rem; }
  .hero-update-link { gap: 3px; font-size: .66rem; }
  .impact-inner { min-height: 328px; }
  .impact-stat { padding-inline: 9px; }
  .impact-stat strong { font-size: clamp(1.65rem, 3vw, 2.3rem); }
  .district-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .district-item:nth-child(3) { padding-left: 18px; }
  .update-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .involved-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-logo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  :root { --header-height: 64px; }
  .nav-container, .gallery-header-inner { min-height: 64px; }
  .nav-container { width: calc(100% - 28px); }
  body:not([data-election-mode]) .site-logo { width: 126px; }
  .menu-icon, .menu-icon span { width: 38px; }
  .hero-section { padding: 10px 0 16px; }
  .hero-mosaic { width: calc(100% - 8px); min-height: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: minmax(440px, auto) 158px; gap: 12px; }
  .hero-main-card { grid-column: 1 / -1; grid-row: 1; min-height: 440px; border-radius: 34px; }
  .hero-inspire-card { display: none; }
  .hero-program-card { grid-column: 1; grid-row: 2; min-height: 158px; padding: 14px 16px; border-radius: 30px; }
  .hero-update-card { grid-column: 2; grid-row: 2; min-height: 158px; padding: 12px 10px 10px; border-radius: 30px; }
  .hero-main-card .hero-copy { right: 22px; bottom: 28px; left: 22px; max-width: none; text-align: center; }
  .hero-copy .eyebrow { display: none; }
  .hero-copy h1 { max-width: 350px; margin: 0 auto 10px; font-size: clamp(1.8rem, 7.4vw, 2.25rem); line-height: 1.08; }
  .hero-description { max-width: 330px; margin: 0 auto; font-size: .88rem; line-height: 1.42; }
  .hero-actions { justify-content: center; margin-top: 17px; }
  .hero-main-card .button-primary { min-height: 52px; min-width: 72%; }
  .hero-program-count strong { font-size: clamp(2.55rem, 11vw, 3.25rem); }
  .hero-program-count span { font-size: .82rem; }
  .hero-program-card h2 { max-width: 180px; margin: 1px 0 0; font-size: .85rem; }
  .hero-round-link { position: absolute; right: 13px; bottom: 13px; width: 46px; height: 42px; font-size: 1.25rem; }
  .hero-update-card h2 { font-size: .8rem; }
  .hero-update-card img { width: 66px; height: 66px; }
  .hero-update-link { min-height: 30px; font-size: .69rem; }
  .impact-section { padding-bottom: 20px; }
  .impact-inner { width: calc(100% - 8px); min-height: 0; gap: 22px; padding: 34px 18px 36px; border-radius: 34px; }
  .impact-heading h2 { font-size: 2rem; }
  .impact-heading > p:last-child { max-width: 330px; font-size: .83rem; }
  .impact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
  .impact-stat { min-height: 78px; padding: 10px 9px; border-left: 0; border-top: 1px solid rgba(255,255,255,.34); }
  .impact-stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.34); }
  .impact-stat:first-child, .impact-stat:nth-child(2) { border-top: 0; }
  .impact-stat:last-child { grid-column: 1 / -1; border-right: 0; }
  .impact-stat strong { font-size: clamp(1.75rem, 8vw, 2.2rem); }
  .impact-stat > span { font-size: .72rem; }
  .about-section, .field-notes-section, .footprint-section, .updates-section, .involved-section, .contact-section { padding-top: 50px; padding-bottom: 50px; }
  .section-heading { grid-template-columns: 1fr; align-items: start; gap: 8px; margin-bottom: 23px; }
  .section-heading h2 { font-size: clamp(1.9rem, 8vw, 2.65rem); }
  .section-heading > p { font-size: .9rem; }
  .about-intro { grid-template-columns: 1fr; gap: 12px; margin-bottom: 27px; }
  .purpose-grid { grid-template-columns: 1fr; gap: 12px; }
  .programs-section { padding: 26px 0; }
  .programs-section > .section-wrap { width: calc(100% - 18px); padding: 22px 17px; border-radius: 26px; }
  .programs-section .section-heading { text-align: left; justify-items: start; }
  .programs-section .section-heading > p { margin: 0; }
  .programs-grid { grid-template-columns: 1fr; gap: 25px; }
  .program-card h3 { font-size: 1.65rem; }
  .program-photo { margin-bottom: 16px; padding: 6px; border-radius: 19px; }
  .program-photo img { aspect-ratio: 16 / 9; border-radius: 14px; }
  .field-heading { justify-items: center; text-align: center; }
  .field-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 12px; }
  .field-photo-frame { aspect-ratio: 1 / 1; border-radius: 16px; }
  .field-photo-card figcaption strong { font-size: .88rem; }
  .district-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .district-item, .district-item + .district-item { min-height: 115px; padding: 14px; border: 0; border-radius: 18px; }
  .district-item:nth-child(3) { padding-left: 14px; }
  .update-list { grid-template-columns: 1fr; gap: 10px; }
  .update-row { min-height: 0; padding: 17px; }
  .involved-list { grid-template-columns: 1fr; gap: 10px; }
  .involved-list a { min-height: 112px; }
  .partners-section { padding: 36px 0; }
  .partners-section .section-wrap { width: calc(100% - 24px); }
  .partner-logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .partner-logo-card { min-height: 112px; padding: 7px 4px; }
  .partner-logo-frame { height: 60px; }
  .partner-logo-frame img { max-height: 52px; }
  .partner-logo-card figcaption { font-size: .66rem; }
  .support-section { padding: 24px 0; }
  .support-wrap { grid-template-columns: 1fr; gap: 20px; padding: 24px 20px; border-radius: 26px; }
  .support-copy h2 { font-size: clamp(2.2rem, 9vw, 3rem); }
  .support-safety { padding: 13px 0 0 14px; }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .contact-item, .contact-item + .contact-item { min-height: 100px; padding: 13px; border: 1px solid #0bbcff; border-radius: 14px; }
  .contact-item:nth-child(3) { padding-left: 13px; border-left: 1px solid #0bbcff; }
  .contact-item:nth-child(n + 3) { border-top: 1px solid #0bbcff; }
  .footer-main { grid-template-columns: minmax(0,1fr) minmax(0,.8fr); }
  .footer-brand-block { grid-column: 1 / -1; }
  .footer-logo-link { width: 135px; }
  .gallery-header-inner { width: calc(100% - 28px); }
  .gallery-back-link { font-size: .74rem; }
  .gallery-hero { padding: 15px 0 24px; }
  .gallery-hero .gallery-container { width: calc(100% - 8px); padding: 25px 19px; border-radius: 28px; }
  .gallery-hero h1 { font-size: clamp(2.2rem, 9vw, 3.25rem); }
  .gallery-intro { font-size: .9rem; }
  .gallery-category-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .gallery-category-nav a { justify-content: center; min-height: 46px; padding: 4px 8px; font-size: .64rem; text-align: center; }
  .gallery-section-heading { grid-template-columns: 1fr; gap: 7px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 12px; }
  .gallery-photo { aspect-ratio: 1.15 / 1; }
  .gallery-card-copy span { font-size: .62rem; }
  .gallery-card-copy strong { font-size: .93rem; }
  body[data-election-mode="archive"] .section-container { width: calc(100% - 28px); padding-top: 20px; padding-bottom: 32px; }
  body[data-election-mode="archive"] .nav-container { width: calc(100% - 28px); min-height: 64px; }
  body[data-election-mode="archive"] .desktop-nav { display: none; }
  body[data-election-mode="archive"] .mobile-nav-toggle { display: flex; width: auto; height: auto; }
  body[data-election-mode="archive"] .mobile-nav-toggle .btn { min-height: 44px; padding: 8px 12px; border-radius: 999px; background: var(--gold); color: #002436 !important; font-size: .77rem; font-weight: 750; }
  body[data-election-mode="archive"] .elections-portal-hero { padding: 25px 16px; border-radius: 25px; }
  body[data-election-mode="archive"] .elections-hero-title { font-size: clamp(2rem, 8.4vw, 3rem); }
  body[data-election-mode="archive"] .elections-hero-subtitle { font-size: .9rem; }
  body[data-election-mode="archive"] .election-banner { padding: 11px 13px; font-size: .82rem; }
  body[data-election-mode="archive"] .election-meta { padding: 16px 10px; }
  body[data-election-mode="archive"] .election-title { font-size: 1.25rem; }
  body[data-election-mode="archive"] .election-totals { font-size: .76rem; }
  body[data-election-mode="archive"] .position-title { font-size: 1.28rem; }
  body[data-election-mode="archive"] .partner-footer-grid { gap: 18px; }
  .gallery-endnote-inner { align-items: flex-start; flex-direction: column; gap: 8px; }
}
@media (max-width: 560px) {
  .nav-container { width: calc(100% - 24px); }
  .hero-mosaic { grid-template-rows: minmax(440px, auto) 154px; gap: 9px; }
  .hero-main-card { min-height: 440px; border-radius: 31px; }
  .hero-program-card, .hero-update-card { min-height: 154px; border-radius: 26px; }
  .hero-program-card { padding: 12px 13px; }
  .hero-program-count strong { font-size: 2.7rem; }
  .hero-program-count span { font-size: .73rem; }
  .hero-program-card h2 { max-width: 145px; font-size: .76rem; }
  .hero-round-link { right: 10px; bottom: 10px; width: 40px; height: 38px; }
  .hero-update-card { padding: 11px 8px 8px; }
  .hero-update-card h2 { font-size: .73rem; }
  .hero-update-card img { width: 59px; height: 59px; }
  .hero-update-link { font-size: .63rem; }
  .field-photo-grid { gap: 13px 9px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-item, .contact-item + .contact-item { min-height: 88px; }
  .partner-logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-logo-card { min-height: 102px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body[data-election-mode="archive"] .nominee-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body[data-election-mode="archive"] .nominee-card { padding: 12px 9px; gap: 8px; }
  body[data-election-mode="archive"] .nominee-name { font-size: .95rem; }
  body[data-election-mode="archive"] .nominee-bio { font-size: .72rem; }
  body[data-election-mode="archive"] .vote-count { font-size: .68rem; }
}
@media (max-width: 390px) {
  .hero-mosaic { grid-template-rows: minmax(430px, auto) 150px; }
  .hero-main-card { min-height: 430px; }
  .hero-main-card .hero-copy { right: 18px; left: 18px; }
  .hero-copy h1 { font-size: clamp(1.78rem, 7.7vw, 2.05rem); }
  .hero-description { font-size: .83rem; }
  .hero-program-card, .hero-update-card { min-height: 150px; }
  .hero-program-card { padding: 10px; }
  .hero-program-count strong { font-size: 2.42rem; }
  .hero-program-count span { font-size: .68rem; }
  .hero-program-card h2 { max-width: 118px; font-size: .7rem; }
  .hero-round-link { right: 8px; bottom: 8px; width: 36px; height: 36px; font-size: 1.1rem; }
  .hero-update-card { padding-inline: 6px; }
  .hero-update-card h2 { font-size: .68rem; }
  .hero-update-card img { width: 54px; height: 54px; }
  .hero-update-link { font-size: .59rem; }
  .field-photo-grid { grid-template-columns: 1fr; }
  .field-photo-frame { aspect-ratio: 16 / 10; }
  .district-list { grid-template-columns: 1fr; }
  .district-item, .district-item + .district-item { min-height: 0; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-photo { aspect-ratio: 4 / 3; }
  body[data-election-mode="archive"] .nominee-grid { grid-template-columns: 1fr; }
  body[data-election-mode="archive"] .category-chip { padding-inline: 9px; font-size: .66rem; }
  body[data-election-mode="archive"] .partner-footer-grid { gap: 14px; }
}
/* Link labels stay clear without directional arrow glyphs. */
.text-link, .hero-card-link, .hero-update-link, .gallery-back-link, .gallery-endnote a,
.footer-nav-block a, .footer-contact-block a, .footer-bottom a, body[data-election-mode="archive"] .nav-link {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}
.text-link:hover, .hero-card-link:hover, .hero-update-link:hover, .gallery-back-link:hover, .gallery-endnote a:hover { text-decoration-thickness: 2px; }
.hero-card-button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 16px; border-radius: 999px; background: #a0e9ff; color: #00314a; font-size: .76rem; font-weight: 800; text-decoration: none; }
.hero-card-button:hover { background: #fff; color: #00314a; }

/* Colorful, readable mobile and desktop hamburger panel */
.nav-panel { padding: 15px; }
.nav-panel-grid { gap: 8px; }
.nav-panel-link { min-height: 54px; padding: 11px 13px; border: 0; border-radius: 14px; background: #00314a; color: #fff; font-size: .84rem; line-height: 1.25; }
.nav-panel-link:nth-child(4n + 1) { background: #06c6da; color: #002436; }
.nav-panel-link:nth-child(4n + 2) { background: #c51d67; color: #fff; }
.nav-panel-link:nth-child(4n + 3) { background: #fed100; color: #002436; }
.nav-panel-link:nth-child(4n + 4) { background: #64cc14; color: #002436; }
.nav-panel-link:hover { color: inherit; text-decoration: underline; text-underline-offset: 3px; filter: brightness(1.08); }

/* More breathing room and a brighter color rhythm in Current work and key dates */
.updates-section { padding-top: clamp(68px, 8vw, 96px); padding-bottom: clamp(68px, 8vw, 96px); }
.updates-section .section-heading { margin-bottom: 42px; }
.update-list { gap: 22px 24px; }
.update-row, .update-row:nth-child(2), .update-row:nth-child(3), .update-row:nth-child(4) {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  padding: 25px 26px;
  border: 0;
  border-radius: 22px;
  isolation: isolate;
}
.update-row { background: #9e1f63; color: #fff; }
.update-row:nth-child(2) { background: #fed100; color: #002436; }
.update-row:nth-child(3) { background: #802df5; color: #fff; }
.update-row:nth-child(4) { background: #06c6da; color: #002436; }
.update-row::before {
  position: absolute;
  z-index: 0;
  top: -24px;
  right: -12px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 9px, rgba(255,255,255,.23) 10px 11px, transparent 12px 18px);
  content: "";
  pointer-events: none;
}
.update-row > * { position: relative; z-index: 1; }
.update-row .update-status { background: #c51d67; color: #fff; }
.update-row:nth-child(2) .update-status, .update-row:nth-child(3) .update-status-planned { background: #00314a; color: #fff; }
.update-row:nth-child(4) .update-status-ongoing { background: #00314a; color: #fff; }
.update-row:nth-child(2) .update-copy h3, .update-row:nth-child(2) .update-copy p, .update-row:nth-child(2) .update-copy .text-link,
.update-row:nth-child(4) .update-copy h3, .update-row:nth-child(4) .update-copy p, .update-row:nth-child(4) .update-copy .text-link { color: #002436; }
.update-row:nth-child(3) .update-copy h3, .update-row:nth-child(3) .update-copy p, .update-row:nth-child(3) .update-copy .text-link { color: #fff; }
.update-row:nth-child(3) .update-copy .text-link { text-decoration-color: rgba(255,255,255,.88); }
.update-copy h3 { margin-bottom: 8px; }
.update-copy p { line-height: 1.62; }
.update-copy .text-link { margin-top: 11px; text-decoration: underline; text-decoration-color: currentColor; text-underline-offset: 4px; }
.update-row:nth-child(1) .update-copy h3, .update-row:nth-child(1) .update-copy p, .update-row:nth-child(1) .update-copy .text-link { color: #fff; }
.involved-list strong { display: block; }
.district-list { gap: 16px; }
.involved-list { gap: 16px; }

/* Extra circles and scalloped flourishes, kept behind the content */
.hero-program-card::before, .hero-update-card::before {
  position: absolute;
  z-index: 0;
  top: 12px;
  right: 12px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 5px, rgba(0,36,54,.2) 6px 7px, transparent 8px 13px);
  content: "";
  pointer-events: none;
}
.hero-program-card > *, .hero-update-card > * { position: relative; z-index: 1; }
.impact-inner { position: relative; isolation: isolate; }
.impact-inner::before {
  position: absolute;
  z-index: 0;
  bottom: -48px;
  left: -20px;
  width: 330px;
  height: 130px;
  background: radial-gradient(circle at 22px 100%, transparent 0 12px, rgba(255,255,255,.32) 13px 15px, transparent 16px 24px);
  background-size: 48px 40px;
  content: "";
  pointer-events: none;
}
.impact-inner::after {
  position: absolute;
  z-index: 0;
  top: -68px;
  right: -44px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 12px, rgba(255,255,255,.15) 13px 15px, transparent 16px 25px);
  content: "";
  pointer-events: none;
}
.impact-heading, .impact-grid { position: relative; z-index: 1; }
.programs-section > .section-wrap { background-image: radial-gradient(circle at 93% 8%, rgba(6,198,218,.16) 0 2px, transparent 3px), radial-gradient(circle at 93% 8%, transparent 0 43px, rgba(6,198,218,.12) 44px 46px, transparent 47px 62px); }
.support-wrap { position: relative; overflow: hidden; isolation: isolate; }
.support-wrap::after {
  position: absolute;
  z-index: 0;
  top: -74px;
  right: 8%;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 12px, rgba(0,36,54,.13) 13px 15px, transparent 16px 26px);
  content: "";
  pointer-events: none;
}
.support-copy, .support-safety { position: relative; z-index: 1; }

/* One-shot entrance motion and verified impact count-ups */
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
html.motion-enabled .motion-reveal { opacity: 1; transform: translate3d(0, 14px, 0) scale(.995); transition: transform .62s cubic-bezier(.2,.75,.25,1) var(--reveal-delay, 0ms); will-change: transform; }
html.motion-enabled .hero-inspire-card.motion-reveal { transform: translate3d(16px, 0, 0) scale(.995); }
html.motion-enabled .hero-program-card.motion-reveal { transform: translate3d(0, 16px, 0) scale(.995); }
html.motion-enabled .hero-update-card.motion-reveal { transform: translate3d(16px, 0, 0) scale(.995); }
html.motion-enabled .motion-reveal.is-visible { transform: none; will-change: auto; }

@media (max-width: 900px) {
  .hero-update-link { gap: 3px; font-size: .66rem; }
  .update-list { gap: 18px; }
  .update-row, .update-row:nth-child(2), .update-row:nth-child(3), .update-row:nth-child(4) { min-height: 210px; padding: 21px; }
}
@media (max-width: 760px) {
  .updates-section .section-heading { margin-bottom: 28px; }
  .update-list { gap: 16px; }
  .update-row, .update-row:nth-child(2), .update-row:nth-child(3), .update-row:nth-child(4) { min-height: 0; padding: 21px; border-radius: 20px; }
  .impact-inner::after { top: -94px; right: -82px; width: 190px; height: 190px; }
  .support-wrap::after { right: -60px; width: 180px; height: 180px; }
  .hero-card-button { min-height: 34px; padding: 0 11px; font-size: .66rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  html.motion-enabled .motion-reveal { opacity: 1 !important; transform: none !important; transition: none !important; will-change: auto !important; }
}

