/* ============================================================
   Let's Fund Pittsburgh — Design System
   Black + Gold, Police Blue accent, Impact Red for CTAs/urgency
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --black:        #0A0A0A;
  --black-soft:   #161616;
  --gold:         #FFB81C;
  --gold-dark:    #B98214;
  --blue:         #1B4D8F;
  --blue-dark:    #123A6B;
  --red:          #C8102E;
  --white:        #FFFFFF;
  --lite:         #F4F4F5;
  --lite-2:       #ECEAE3;
  --border:       rgba(10,10,10,.14);
  --gray:         #6B7280;
  --gray-dark:    #3F3F46;

  /* status system */
  --status-none-bg:    #ECEAE3; --status-none-fg:    #57534E;
  --status-early-bg:   #FCEBEB; --status-early-fg:   #A32D2D;
  --funding-bg:        #FAEEDA; --funding-fg:        #854F0B;
  --almost-bg:         #FCEBEB; --almost-fg:         #A32D2D;
  --funded-bg:         #E6F1FB; --funded-fg:         #0C447C;
  --progress-bg:       #EEEEEE;

  --font-display: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --radius:    10px;
  --radius-sm: 6px;
  --radius-lg: 14px;
  --shadow:    0 2px 10px rgba(10,10,10,.08);
  --shadow-md: 0 8px 28px rgba(10,10,10,.14);

  --header-h: 64px;
}

/* --- Reset ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--black);
}
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--gold); color: var(--black); padding: 10px 16px;
  font-weight: 600; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* --- Buttons ---------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-size: 14px; font-weight: 600;
  border-radius: 8px; padding: 11px 20px; cursor: pointer;
  border: 1px solid transparent; text-decoration: none; line-height: 1.2;
  transition: transform .05s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { color: var(--white); background: var(--blue); }
.btn-primary:hover { background: #163f77; }
.btn-donate { color: var(--white); background: var(--red); }
.btn-donate:hover { background: #a80d26; }
.btn-outline { color: var(--gold-dark); background: transparent; border-color: var(--gold); }
.btn-outline:hover { background: rgba(255,184,28,.1); }
.btn-outline-blue { color: var(--blue); background: var(--white); border-color: var(--blue); }
.btn-outline-blue:hover { background: rgba(27,77,143,.06); }
.btn-ghost { color: var(--black); background: transparent; border-color: var(--border); }
.btn-ghost:hover { background: var(--lite); }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-lg { padding: 14px 26px; font-size: 15px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* --- Top nav — header/footer/nav redesign, "rugged & emerging", light/limestone ---------------- */
:root {
  --hf-ink:        #1f1b13;
  --hf-ink-soft:   #3a2f22;
  --hf-body-text:  #4a4030;
  --hf-muted:      #6b6350;
  --hf-gold:       #f0b323;
  --hf-gold-deep:  #b9790a;
  --hf-steel:      #3a5068;
  --hf-header-bg:  #f4efe3;
  --hf-footer-bg:  #efe8d8;
  --font-hf-display: 'Big Shoulders Display', var(--font-display);
  --font-hf-body:     'Public Sans', var(--font-sans);
}

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--hf-header-bg);
  background-image: repeating-linear-gradient(48deg, rgba(0,0,0,.02) 0 2px, transparent 2px 5px);
  border-bottom: 3px solid var(--hf-gold);
}
.site-header::after {
  content: ""; position: absolute; inset: auto 0 -6px 0; height: 6px;
  background-image: repeating-radial-gradient(circle at 14px 3px, var(--hf-header-bg) 0 1.6px, transparent 1.6px 28px);
}
.site-nav {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; max-width: 1180px; margin: 0 auto; padding: 20px 28px;
}
.site-header .logo {
  font-family: var(--font-hf-display); font-weight: 800; font-size: 24px;
  text-transform: uppercase; letter-spacing: .02em; white-space: nowrap;
}
.site-header .logo a { display: flex; align-items: baseline; gap: 2px; color: inherit; }
.site-header .logo b { color: var(--hf-gold-deep); font-weight: 800; letter-spacing: inherit; }
.site-header .logo span { color: var(--hf-ink); font-weight: 800; }
.site-header .logo .logo-short { display: none; }

.site-header .nav-links { display: flex; align-items: center; gap: 30px; }
.site-header .nav-links .nav-link {
  font-family: var(--font-hf-display); font-weight: 700; font-size: 15px;
  letter-spacing: .06em; text-transform: uppercase; color: var(--hf-ink-soft); white-space: nowrap;
}
.site-header .nav-links .nav-link:hover { color: var(--hf-gold-deep); text-decoration: none; }

.site-header .nav-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.site-header .btn-outline-blue {
  background: transparent; border: 1.5px solid var(--hf-steel); color: var(--hf-steel);
  font-family: var(--font-hf-body); font-weight: 600; font-size: 13.5px;
  padding: 9px 16px; border-radius: 3px;
}
.site-header .btn-outline-blue:hover { background: rgba(58,80,104,.08); }
.site-header .btn-outline-blue .dot,
.nav-drawer .btn-outline-blue .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--hf-steel); display: inline-block;
}
.site-header .btn-donate {
  background: var(--hf-gold); border: none; color: var(--hf-ink);
  font-family: var(--font-hf-display); font-weight: 800; font-size: 14px;
  letter-spacing: .04em; text-transform: uppercase; padding: 10px 22px; border-radius: 3px;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.12);
}
.site-header .btn-donate:hover { filter: brightness(1.04); }

.nav-toggle {
  display: none; background: none; border: 0; padding: 6px; cursor: pointer;
  flex-direction: column; gap: 4px; justify-content: center;
}
.nav-toggle span { display: block; height: 2.5px; background: var(--hf-ink); border-radius: 2px; }
.nav-toggle span:nth-child(1) { width: 22px; }
.nav-toggle span:nth-child(2) { width: 22px; }
.nav-toggle span:nth-child(3) { width: 15px; align-self: flex-end; }

.nav-scrim {
  position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 199;
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.nav-scrim.is-open { opacity: 1; pointer-events: auto; }

.nav-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 78%; max-width: 340px;
  background: var(--hf-header-bg);
  background-image: repeating-linear-gradient(48deg, rgba(0,0,0,.02) 0 2px, transparent 2px 5px);
  border-left: 3px solid var(--hf-gold);
  padding: 20px 22px; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .25s ease; z-index: 200;
}
.nav-drawer.is-open { transform: translateX(0); }
.nav-drawer-close {
  align-self: flex-end; background: none; border: none; color: var(--hf-gold-deep);
  font-size: 26px; line-height: 1; cursor: pointer; padding: 4px; margin-bottom: 24px;
}
.nav-drawer-links { display: flex; flex-direction: column; gap: 0; }
.nav-drawer-links .nav-link {
  font-family: var(--font-hf-display); font-weight: 700; font-size: 22px;
  letter-spacing: .02em; text-transform: uppercase; color: var(--hf-ink);
  padding: 14px 0; border-bottom: 1px solid rgba(0,0,0,.08);
}
.nav-drawer-cta { margin-top: auto; display: flex; flex-direction: column; gap: 12px; padding-top: 24px; }
.nav-drawer .btn-outline-blue {
  justify-content: center; background: transparent; border: 1.5px solid var(--hf-steel); color: var(--hf-steel);
  font-family: var(--font-hf-body); font-weight: 600; font-size: 14px; padding: 12px; border-radius: 3px;
  display: flex; align-items: center; gap: 7px;
}
.nav-drawer .btn-donate {
  background: var(--hf-gold); border: none; color: var(--hf-ink);
  font-family: var(--font-hf-display); font-weight: 800; font-size: 15px;
  letter-spacing: .04em; text-transform: uppercase; padding: 13px; border-radius: 3px; text-align: center;
}

@media (max-width: 767px) {
  .site-nav { padding: 16px 18px; }
  .site-header .logo { font-size: 18px; }
  .site-header .logo .logo-full { display: none; }
  .site-header .logo .logo-short { display: inline; }
  .site-header .nav-links,
  .site-header .nav-cta .btn-outline-blue { display: none; }
  .site-header .nav-cta .btn-donate { padding: 8px 14px; font-size: 12px; }
  .nav-toggle { display: flex; }
}

/* --- Hero — light/limestone treatment matching the header/footer redesign -------------------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #faf6ec 0%, #dfe6ea 55%, var(--hf-gold) 130%);
  padding: 64px 20px; color: var(--hf-ink);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(ellipse 60% 40% at 80% 100%, rgba(240,179,35,.22), transparent 70%);
}
.hero-inner {
  position: relative; max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center;
}
.hero h1 {
  color: var(--hf-ink); font-size: clamp(30px, 5vw, 46px); max-width: 620px; margin-bottom: 16px;
}
.hero h1 .accent { color: var(--hf-gold-deep); }
.hero p.lead { color: var(--hf-body-text); font-size: 17px; max-width: 540px; margin-bottom: 26px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn-primary { background: var(--hf-steel); color: #f3ede1; }
.hero .btn-primary:hover { filter: brightness(1.08); }
.hero .btn-outline {
  color: var(--hf-gold-deep); background: transparent; border-color: var(--hf-gold-deep);
}
.hero .btn-outline:hover { background: rgba(185,121,10,.08); }
.hero-media img {
  width: 100%; height: 100%; max-height: 440px; object-fit: cover;
  border-radius: var(--radius-lg); display: block;
  box-shadow: 0 24px 48px -24px rgba(31,27,19,.4);
}

@media (min-width: 860px) {
  .hero-inner { grid-template-columns: 1fr 1.05fr; gap: 48px; }
}

.page-hero {
  background: var(--black); color: var(--white); padding: 48px 20px;
}
.page-hero h1 { color: var(--gold); margin-bottom: 8px; }
.page-hero p { color: #D3D1C7; max-width: 640px; margin: 0; }

/* --- Promise strip ---------------------------------------------------- */
.promise-strip {
  background: var(--gold); display: flex; gap: 28px; justify-content: center;
  flex-wrap: wrap; padding: 13px 20px; text-align: center;
}
.promise-strip span { color: var(--black); font-weight: 600; font-size: 14px; }

/* --- Sections / how it works ---------------------------------------------------- */
section.section { padding: 48px 20px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 28px; }
.section-head.left { text-align: left; margin: 0 0 20px; }
.row-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  flex-wrap: wrap; max-width: 1120px; margin: 0 auto 20px; padding: 0 20px;
}
.row-head a { color: var(--blue); font-size: 14px; font-weight: 600; }

.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; max-width: 1120px; margin: 0 auto; }
.step { background: var(--lite); border-radius: var(--radius); padding: 22px 16px; text-align: center; }
.step .num {
  width: 34px; height: 34px; border-radius: 50%; background: var(--black); color: var(--gold);
  font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px;
}
.step b { display: block; font-size: 16px; margin-bottom: 5px; }
.step small { color: var(--gray); font-size: 13px; }

@media (max-width: 760px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* --- Status badges ---------------------------------------------------- */
.status-badge {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .02em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 5px; white-space: nowrap;
}
.status-badge.status-proposed        { color: var(--gray-dark); background: var(--lite-2); }
.status-badge.status-funding-early   { color: var(--funding-fg); background: var(--funding-bg); }
.status-badge.status-funding-active  { color: var(--funding-fg); background: var(--funding-bg); }
.status-badge.status-almost-funded   { color: var(--almost-fg); background: var(--almost-bg); }
.status-badge.status-funded          { color: var(--funded-fg); background: var(--funded-bg); }
.status-badge.status-in-progress     { color: var(--funded-fg); background: var(--white); border: 1px solid var(--funded-fg); }
.status-badge.status-complete        { color: var(--black); background: var(--gold); }

/* --- Project cards ---------------------------------------------------- */
.cards-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 18px;
  max-width: 1120px; margin: 0 auto; padding: 0 20px;
}
@media (max-width: 900px) { .cards-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cards-grid { grid-template-columns: 1fr; } }

.project-card {
  border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
  background: var(--white); display: flex; flex-direction: column;
}
.project-card:hover { box-shadow: var(--shadow-md); }
.project-card .ph {
  height: 130px; width: 100%; object-fit: cover; background: var(--lite-2); display: flex; align-items: center; justify-content: center;
  color: #8A8A86; font-size: 13px; text-align: center;
}
.project-card .card-body { padding: 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.project-card .t { font-family: var(--font-display); font-size: 16px; margin: 8px 0 2px; }
.project-card a.card-link { color: inherit; }
.project-card a.card-link:hover { text-decoration: none; }
.project-card a.card-link:hover .t { text-decoration: underline; }
.project-card .meta { color: var(--gray); font-size: 13px; margin: 0 0 10px; }

.progress-bar { height: 8px; background: var(--progress-bg); border-radius: 5px; overflow: hidden; }
.progress-bar .fill { height: 100%; border-radius: 5px; }
.fill-funding    { background: var(--gold); }
.fill-almost     { background: var(--red); }
.fill-funded     { background: var(--blue); }
.fill-none       { background: var(--gray); }
.amt { font-size: 13px; margin: 9px 0 0; color: var(--gray-dark); }
.amt b { color: var(--black); }

/* --- Ward map — full-width, stacked panel, limestone/gold/steel palette ------------------- */
:root {
  --hf-map-none:   #e4dcc7;
  --hf-map-early:  #f7dd93;
  --hf-map-almost: #ab4530;
}
.map-wrap { display: flex; flex-direction: column; gap: 20px; }
.map-col { width: 100%; }
.map-panel-col { width: 100%; }
.ward-map-frame {
  border: 1px solid rgba(31,27,19,.14); border-radius: var(--radius); overflow: hidden; background: var(--white);
}
svg.ward-map { display: block; width: 100%; height: auto; }
.ward-path {
  fill: var(--hf-map-none); stroke: var(--white); stroke-width: 1.4;
  transition: fill .12s ease, stroke .12s ease;
  cursor: pointer;
}
.ward-path.status-funding-early  { fill: var(--hf-map-early); }
.ward-path.status-funding-active { fill: var(--hf-gold); }
.ward-path.status-almost-funded  { fill: var(--hf-map-almost); }
.ward-path.status-funded         { fill: var(--hf-steel); }
.ward-link:hover .ward-path,
.ward-link:focus .ward-path,
.ward-link.is-active .ward-path { stroke: var(--hf-ink); stroke-width: 2.2; }
.ward-link, .ward-link:hover, .ward-link:focus { outline: none; text-decoration: none; }

.ward-label-num, .ward-label-name {
  pointer-events: none; text-anchor: middle; dominant-baseline: middle;
  font-family: var(--font-sans); fill: var(--hf-ink);
}
.ward-label-num { font-size: 13px; font-weight: 700; }
.ward-label-name {
  font-size: 12px; font-weight: 600; opacity: 0; transition: opacity .12s ease;
}
.ward-link:hover .ward-label-name,
.ward-link:focus .ward-label-name,
.ward-link.is-active .ward-label-name { opacity: 1; }
.ward-label-overlay.is-visible { opacity: 1; }

.map-legend { margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px 0; }
.map-legend span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--hf-ink-soft); margin-right: 16px; }
.sw { width: 14px; height: 14px; border-radius: 3px; display: inline-block; border: 1px solid rgba(31,27,19,.18); }

.ward-panel {
  background: var(--hf-header-bg);
  background-image: repeating-linear-gradient(48deg, rgba(0,0,0,.02) 0 2px, transparent 2px 5px);
  border: 1px solid rgba(31,27,19,.14); border-left: 3px solid var(--hf-gold); border-radius: var(--radius);
  padding: 18px; min-height: 100px;
}
.ward-panel .empty { color: var(--hf-muted); font-size: 14px; margin: 0; }
.ward-panel .btn-outline-blue {
  color: var(--hf-steel); background: transparent; border-color: var(--hf-steel);
}
.ward-panel .btn-outline-blue:hover { background: rgba(58,80,104,.08); }

.ward-directory-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 640px) {
  .ward-directory-list {
    grid-template-columns: 1fr 1fr; grid-template-rows: repeat(16, auto);
    grid-auto-flow: column; column-gap: 16px;
  }
}
.ward-directory-list a {
  display: flex; justify-content: space-between; gap: 10px; align-items: baseline;
  padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--black);
}
.ward-directory-list a:hover { border-color: var(--blue); text-decoration: none; background: var(--lite); }
.ward-directory-list .n { color: var(--gray); font-size: 13px; }

.citywide-cta {
  padding: 16px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: var(--hf-footer-bg); border: 1px solid rgba(31,27,19,.12); border-radius: var(--radius);
}
.citywide-cta strong { display: block; margin-bottom: 2px; font-size: 14.5px; color: var(--hf-ink); }
.citywide-cta p { margin: 0; font-size: 13px; color: var(--hf-muted); }
.citywide-cta .btn-outline-blue { color: var(--hf-steel); border-color: var(--hf-steel); flex-shrink: 0; }
.citywide-cta .btn-outline-blue:hover { background: rgba(58,80,104,.08); }

/* --- Impact band ---------------------------------------------------- */
.impact-band {
  background: var(--black); display: grid; grid-template-columns: repeat(3,1fr); gap: 12px;
  padding: 34px 20px; text-align: center;
}
.impact-band .n { color: var(--gold); font-size: 34px; font-weight: 800; font-family: var(--font-display); }
.impact-band .l { color: #D3D1C7; font-size: 13px; margin-top: 4px; }
@media (max-width: 620px) { .impact-band { grid-template-columns: 1fr; } }

/* --- Footer — header/footer/nav redesign, light/limestone ---------------------------------------------------- */
.site-footer {
  position: relative;
  background: var(--hf-footer-bg);
  background-image: repeating-linear-gradient(48deg, rgba(0,0,0,.02) 0 2px, transparent 2px 5px);
  padding: 0;
}
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background-image: repeating-radial-gradient(circle at 14px 3px, var(--hf-gold) 0 1.6px, transparent 1.6px 28px);
}
.footer-inner { max-width: 1180px; margin: 0 auto; padding: 52px 28px 0; text-align: left; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 28px; }
.footer-brand .logo, .footer-brand-mark {
  font-family: var(--font-hf-display); font-weight: 800; text-transform: uppercase; font-size: 22px; margin-bottom: 12px;
}
.footer-brand .logo a, .footer-brand-mark a { display: flex; align-items: baseline; gap: 2px; color: inherit; }
.footer-brand .logo b, .footer-brand-mark b { color: var(--hf-gold-deep); }
.footer-brand .logo span, .footer-brand-mark span { color: var(--hf-ink); }
.footer-mission { color: var(--hf-muted); font-size: 14px; line-height: 1.6; max-width: 320px; margin: 0 0 18px; }
.footer-brand .btn-donate {
  display: inline-block; background: var(--hf-gold); border: none; color: var(--hf-ink);
  font-family: var(--font-hf-display); font-weight: 800; font-size: 13px;
  letter-spacing: .04em; text-transform: uppercase; padding: 10px 20px; border-radius: 3px;
}
.footer-heading {
  font-family: var(--font-hf-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; font-size: 13px; color: var(--hf-gold-deep); margin-bottom: 14px;
}
.footer-col .footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-col .footer-links a { color: var(--hf-ink-soft); font-size: 14.5px; }
.footer-col .footer-links a:hover { color: var(--hf-gold-deep); text-decoration: none; }

.footer-bottom {
  max-width: 1180px; margin: 0 auto; padding: 18px 0 26px;
  border-top: 1px solid rgba(0,0,0,.08);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom-left { display: flex; align-items: center; gap: 10px; color: var(--hf-muted); font-size: 12.5px; }
.flag-stripe { display: flex; height: 8px; width: 36px; border-radius: 2px; overflow: hidden; flex-shrink: 0; }
.flag-stripe span:first-child { flex: 1; background: var(--hf-ink); }
.flag-stripe span:last-child { flex: 1; background: var(--hf-gold); }
.footer-bottom-right a { color: var(--hf-muted); font-size: 12.5px; }
.site-footer .disclaimer { color: var(--hf-muted); font-size: 13px; line-height: 1.6; margin: 0 0 24px; }
.footer-inner--minimal { padding-top: 40px; }
.footer-inner--minimal .footer-brand-mark { margin-bottom: 14px; }
.footer-inner--minimal .disclaimer { max-width: 560px; }

@media (max-width: 767px) {
  .footer-inner { padding: 36px 20px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 0; }
  .footer-col { border-top: 1px solid rgba(0,0,0,.08); padding: 14px 0; }
  .footer-brand .btn-donate { width: 100%; text-align: center; }
  .footer-bottom { padding: 16px 0 22px; }
}

/* --- Generic content pages ---------------------------------------------------- */
.prose { max-width: 760px; margin: 0 auto; padding: 40px 20px; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.callout {
  background: var(--lite); border-left: 4px solid var(--gold); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 18px; margin: 0 0 1.4em;
}
.callout.blue { border-color: var(--blue); }
.callout p:last-child { margin-bottom: 0; }
.disclaimer-note { border-left-color: var(--gray); margin: 0; }
.disclaimer-note p { font-size: 12.5px; color: var(--gray-dark); margin: 0; }
.faq-item { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq-item:first-child { padding-top: 0; }
.faq-item h3 { margin-bottom: 6px; font-size: 17px; }
.faq-item p { color: var(--gray-dark); margin-bottom: 0; }

/* --- Find my ward module ---------------------------------------------------- */
.find-ward-module { max-width: 420px; }
.find-ward-module .row { display: flex; gap: 8px; }
.find-ward-module input[type="text"] {
  flex: 1; padding: 11px 14px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; font-family: var(--font-sans);
}
.find-ward-result { margin-top: 10px; font-size: 13.5px; color: var(--gray-dark); }

/* --- Forms (donate flow) ---------------------------------------------------- */
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.form-field input, .form-field select {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 8px;
  font-size: 15px; font-family: var(--font-sans); background: var(--white);
}
.form-field input:focus, .form-field select:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.form-row { display: flex; gap: 12px; }
.form-row .form-field { flex: 1; }

.amount-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 16px; }
@media (max-width: 480px) { .amount-grid { grid-template-columns: repeat(2,1fr); } }
.amount-option {
  border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 14px 8px;
  text-align: center; background: var(--white); cursor: pointer; font-weight: 700; font-size: 16px;
}
.amount-option small { display: block; font-weight: 400; font-size: 11.5px; color: var(--gray); margin-top: 2px; }
.amount-option.is-selected { border-color: var(--blue); background: rgba(27,77,143,.06); color: var(--blue); }

.test-mode-banner {
  background: #FFF7E0; border: 1px solid var(--gold); color: #6B4E00; border-radius: var(--radius-sm);
  padding: 12px 16px; font-size: 13.5px; font-weight: 600; margin-bottom: 20px; text-align: center;
}
.wizard-steps { display: flex; gap: 8px; margin-bottom: 26px; }
.wizard-steps .ws {
  flex: 1; height: 4px; background: var(--lite-2); border-radius: 2px;
}
.wizard-steps .ws.is-done, .wizard-steps .ws.is-active { background: var(--blue); }
.wizard-card {
  max-width: 520px; margin: 0 auto; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; background: var(--white);
}
.wizard-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
.donate-summary { display: flex; gap: 12px; align-items: center; background: var(--lite); border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 20px; }
.donate-summary .ph-sm { width: 52px; height: 52px; border-radius: 8px; background: var(--lite-2); flex-shrink: 0; }
.donate-summary .t { font-size: 14px; font-weight: 600; margin: 0; }
.donate-summary .m { font-size: 12.5px; color: var(--gray); margin: 0; }

.wizard-step { display: none; }
.wizard-step.is-active { display: block; }

/* --- Project detail ---------------------------------------------------- */
.project-hero { background: var(--lite-2); padding: 0; }
.project-hero .ph-lg {
  height: 320px; width: 100%; object-fit: cover; display: block;
}
.project-hero .img-caption {
  text-align: center; font-size: 12px; color: var(--gray); background: var(--lite); margin: 0; padding: 6px 12px;
}
.ward-locator-thumb { width: 100%; max-width: 260px; border-radius: var(--radius-sm); border: 1px solid var(--border); display: block; }
.project-location-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 4px 0 8px; align-items: stretch; }
.project-location-row .location-illustration {
  width: 100%; height: 100%; max-width: none; min-width: 0;
  object-fit: contain; border-radius: var(--radius-sm); border: 1px solid var(--border);
  display: block; background: var(--lite-2);
}
.project-location-row .ward-locator-thumb { width: 100%; height: 100%; max-width: none; min-width: 0; object-fit: contain; }
.project-location-row .location-illustration.is-zoomable { cursor: zoom-in; }
.hero-media img.is-zoomable { cursor: zoom-in; }
@media (max-width: 560px) {
  .project-location-row { grid-template-columns: 1fr; }
}

.lightbox-overlay {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(20, 18, 14, .92); padding: 40px;
  align-items: center; justify-content: center;
}
.lightbox-overlay.is-open { display: flex; }
.lightbox-overlay .lightbox-img { max-width: 100%; max-height: 100%; border-radius: var(--radius-sm); cursor: zoom-out; }
.lightbox-close {
  position: absolute; top: 16px; right: 20px; background: none; border: 0; color: var(--white);
  font-size: 36px; line-height: 1; cursor: pointer; padding: 4px 10px;
}
body.lightbox-locked { overflow: hidden; }
.project-layout { display: flex; gap: 32px; max-width: 1120px; margin: 0 auto; padding: 32px 20px 60px; flex-wrap: wrap; }
.project-main { flex: 2; min-width: 300px; }
.project-side { flex: 1; min-width: 280px; }
.funding-panel {
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; position: sticky; top: calc(var(--header-h) + 16px);
  background: var(--white);
}
.funding-panel .goal-line { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--gray-dark); margin: 10px 0 16px; }
.funding-panel .raised { font-size: 26px; font-weight: 800; font-family: var(--font-display); }
.sticky-donate-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: var(--white); border-top: 1px solid var(--border); padding: 12px 16px;
  box-shadow: 0 -4px 16px rgba(0,0,0,.08);
}
@media (max-width: 760px) {
  .project-layout { flex-direction: column; }
  .funding-panel { position: static; }
  .sticky-donate-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  body.has-sticky-donate { padding-bottom: 76px; }
}

/* --- Print ---------------------------------------------------- */
@media print {
  .site-header, .site-footer, .sticky-donate-bar, .nav-toggle, .nav-scrim, .nav-drawer { display: none; }
}

.lfp-proto-banner{background:#FFF4CE;color:#3D2E00;border-bottom:1px solid #E8D48A;padding:10px 16px;text-align:center;font-size:14px;line-height:1.4}
@media (prefers-color-scheme: dark){.lfp-proto-banner{background:#3D2E00;color:#FFF4CE;border-bottom-color:#5C4A0A}}
