/* =========================================================
   WTPPS — Water Tower & Park Preservation Society (Compton Hill Water Tower)
   Shared stylesheet across all pages
   Palette: coral, yellow, mint, teal, navy
   ========================================================= */

:root {
  --coral:  #EF4B6B;
  --yellow: #F9D570;
  --mint:   #3DDBA7;
  --teal:   #2890BA;
  --navy:   #0A3F4F;

  --cream:  #FBF8F1;
  --paper:  #FFFFFF;
  --ink:    #122530;
  --muted:  #4E6773;
  --line:   #E4E9EC;

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 8px rgba(10, 63, 79, 0.08);
  --shadow:    0 10px 30px rgba(10, 63, 79, 0.12);
  --shadow-lg: 0 20px 60px rgba(10, 63, 79, 0.18);

  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --maxw: 1180px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--teal);
  text-decoration: none;
  transition: color .15s ease;
}
a:hover { color: var(--coral); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Top banner ---------- */
/* LAUNCH: ribbon hidden. Delete the next rule to bring the fundraising ribbon back. */
.topbar { display: none !important; }

.topbar {
  background: #fff;
  color: var(--navy);
  font-size: .85rem;
  padding: 10px 0;
  letter-spacing: .02em;
  position: relative;
  z-index: 60;
  box-shadow: 0 2px 14px rgba(10, 63, 79, .08);
}
.topbar a { color: var(--coral); font-weight: 600; }

/* Desktop: [pill + message] ...... [meter] [Donate] on one line */
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}
.topbar-msg {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
}
.urgent-pill {
  background: transparent;
  color: var(--coral);
  border: 1.5px solid var(--coral);
  padding: 4px 11px;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  flex-shrink: 0;
  line-height: 1.2;
}
.topbar-text { color: var(--navy); font-weight: 500; }
.topbar-text a { color: var(--coral); border-bottom: 1px dotted rgba(239, 75, 107, .4); }

.topbar-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 1 300px;
  min-width: 180px;
}
.progress-label {
  font-size: .78rem;
  font-weight: 600;
  white-space: nowrap;
  color: rgba(10, 63, 79, .72);
}
.progress-label strong { color: var(--navy); }
.mini-progress {
  flex: 1;
  height: 8px;
  background: rgba(10, 63, 79, .08);
  border-radius: 999px;
  overflow: hidden;
  min-width: 60px;
}
.mini-progress > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--yellow), var(--coral));
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(239, 75, 107, .35);
  animation: fill-grow 1.4s ease-out;
}
@keyframes fill-grow { from { width: 0; } }
.progress-pct {
  font-size: .82rem;
  font-weight: 700;
  color: var(--coral);
  white-space: nowrap;
}
.topbar-btn {
  background: var(--coral);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .82rem;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  box-shadow: 0 2px 8px rgba(239, 75, 107, .3);
}
.topbar-btn:hover {
  background: #d93b59;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(239, 75, 107, .4);
}

/* Tablet & phone: two tidy rows.
   Row 1: [pill] message
   Row 2: [$348K of $1.2M ▬▬▬▬ 29%] ............ [Donate →]  */
@media (max-width: 900px) {
  .topbar { font-size: .8rem; }
  .topbar-inner { flex-wrap: wrap; gap: 10px 12px; }
  .topbar-msg { flex: 1 1 100%; }
  .topbar-progress { flex: 1 1 auto; order: 2; min-width: 0; max-width: 520px; }
  .topbar-btn { order: 3; margin-left: auto; }
}
@media (max-width: 560px) {
  .topbar-text { font-size: .78rem; }
  .progress-label { font-size: .72rem; }
  .progress-label strong { font-size: .78rem; }
  .urgent-pill { font-size: .6rem; padding: 3px 9px; letter-spacing: .12em; }
  .progress-pct { font-size: .78rem; }
  .topbar-btn { padding: 8px 14px; font-size: .78rem; }
}

/* ---------- Nav ---------- */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
  min-height: 104px;        /* fits 88px logo + >=3px top/bottom breathing room */
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-head);
  color: #fff;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
}
.brand .mark {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--yellow);
  font-size: 1.2rem;
  box-shadow: var(--shadow-sm);
}
.brand-logo {
  display: block;
  width: auto;
  height: 88px;             /* 15% smaller than before (104 × 0.85) */
  filter: drop-shadow(0 3px 10px rgba(0,0,0,.28));
  transition: transform .2s ease;
}
.brand:hover .brand-logo { transform: translateY(-1px); }
.brand-text {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.12;        /* tight leading */
  color: #fff;
  letter-spacing: .01em;
}
.menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu a {
  display: inline-block;
  padding: 10px 14px;
  color: #fff;
  font-weight: 500;
  border-radius: var(--radius-sm);
  font-size: .96rem;
  transition: background .15s ease, color .15s ease;
}
.menu a:hover { background: rgba(255, 255, 255, .12); color: var(--yellow); }
.menu a.active {
  background: rgba(255, 255, 255, .15);
  color: var(--yellow);
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 210;
  width: 44px; height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle span {
  position: absolute; left: 10px; right: 10px;
  height: 2px; background: #fff; border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }
.nav-open { overflow: hidden; }   /* lock page scroll while menu is open */

.menu-cta { display: none; }
@media (max-width: 960px) { .menu-cta { display: block; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: .01em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .1s ease, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary   { background: var(--coral); color: #fff; }
.btn-primary:hover { background: #d93b59; color: #fff; }
.btn-secondary { background: var(--navy); color: var(--yellow); }
.btn-secondary:hover { background: #082e3a; color: var(--yellow); }
.btn-ghost     { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--yellow); }
.btn-yellow    { background: var(--yellow); color: var(--navy); }
.btn-yellow:hover { background: #f5c84c; color: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  color: var(--cream);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(249,213,112,.15), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(61,219,167,.12), transparent 45%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
  padding-top: 90px;
  padding-bottom: 100px;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(249,213,112,.15);
  color: var(--yellow);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 { color: #fff; margin-bottom: 16px; }
.hero h1 .accent { color: var(--yellow); font-style: italic; }
.hero p.lede {
  font-size: 1.15rem;
  color: rgba(255,255,255,.88);
  max-width: 58ch;
  margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-figure {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(255,255,255,.08);
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }
.hero-figure .hero-img {
  position: absolute;
  inset: 0;
  animation: heroFade 16s infinite ease-in-out;
}
.hero-figure .hero-img-b { animation-delay: -8s; }
@keyframes heroFade {
  0%, 40%   { opacity: 1; }
  50%, 90%  { opacity: 0; }
  100%      { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-figure .hero-img { animation: none; }
  .hero-figure .hero-img-b { opacity: 0; }
}
.hero-figure::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,63,79,.5));
  z-index: 1;
  pointer-events: none;
}
/* Historical plaque overlay — bottom-right of hero image */
.hero-plaque {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: 340px;
  padding: 18px 22px 20px;
  background: rgba(10, 63, 79, .82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  z-index: 2;
  border: 1px solid rgba(249, 213, 112, .42);
  border-radius: 2px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
.hero-plaque-eyebrow {
  font-family: var(--font-head);
  font-style: italic;
  font-size: .78rem;
  color: var(--yellow);
  letter-spacing: .14em;
  margin-bottom: 6px;
}
.hero-plaque-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.25;
  margin: 0 0 10px;
  color: #fff;
}
.hero-plaque-rule {
  width: 34px;
  height: 1px;
  background: var(--yellow);
  margin: 0 0 10px;
}
.hero-plaque-meta {
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .02em;
  line-height: 1.35;
  margin: 0 0 4px;
  color: rgba(255, 255, 255, .92);
}
.hero-plaque-sub {
  font-family: var(--font-body);
  font-style: italic;
  font-size: .74rem;
  letter-spacing: .03em;
  line-height: 1.35;
  margin: 0;
  color: rgba(255, 255, 255, .72);
}
@media (max-width: 640px) {
  .hero-plaque { right: 12px; bottom: 12px; max-width: calc(100% - 24px); padding: 14px 18px 16px; }
  .hero-plaque-title { font-size: .95rem; }
}

/* ---------- Page header (non-home) ---------- */
.page-head {
  background: linear-gradient(160deg, var(--navy) 0%, var(--teal) 100%);
  color: var(--cream);
  padding: 70px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-head::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px; height: 40px;
  background: var(--cream);
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 40%);
}
.page-head h1 { color: #fff; margin-bottom: 8px; }
.page-head p { color: rgba(255,255,255,.85); max-width: 60ch; margin: 0 auto; font-size: 1.1rem; }
.page-head .eyebrow {
  display: inline-block; background: var(--coral); color: #fff;
  padding: 6px 14px; border-radius: 999px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; margin-bottom: 18px;
}

/* ---------- Section utilities ---------- */
section { padding: 80px 0; }
section.tight { padding: 50px 0; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-head .eyebrow {
  display: inline-block;
  color: var(--coral);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .78rem;
  margin-bottom: 10px;
}
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Pillar cards (home) ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillar {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border-top: 6px solid var(--teal);
  transition: transform .2s ease, box-shadow .2s ease;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar.accent-coral  { border-color: var(--coral); }
.pillar.accent-mint   { border-color: var(--mint);  }
.pillar.accent-yellow { border-color: var(--yellow); }
.pillar .ico {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--cream);
  color: var(--navy);
  font-size: 1.4rem;
  margin-bottom: 18px;
  font-weight: 700;
}
.pillar.accent-coral .ico  { background: #fde4ea; color: var(--coral); }
.pillar.accent-mint .ico   { background: #d9f7ea; color: #159e6e; }
.pillar.accent-yellow .ico { background: #fdf1cf; color: #a27a11; }

/* ---------- Stats strip ---------- */
.stats {
  background: var(--navy);
  color: var(--cream);
  padding: 60px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat .num {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--yellow);
  font-weight: 700;
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}
.stat .lbl { color: rgba(255,255,255,.75); font-size: .95rem; letter-spacing: .04em; }

/* ---------- Two-up alternating ---------- */
.two-up {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.two-up.reverse > :first-child { order: 2; }
.two-up .art {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}
.two-up .art img { width: 100%; height: 100%; object-fit: cover; }

/* Three-frame cross-fade (History: construction sequence) */
.crossfade { position: relative; aspect-ratio: 1 / 1; background: #1d1d1b; margin: 0; }
.crossfade .xf { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; opacity: 0; animation: xfade 18s infinite ease-in-out; }
.crossfade .xf-1 { animation-delay: 0s; }
.crossfade .xf-2 { animation-delay: 6s; }
.crossfade .xf-3 { animation-delay: 12s; }
@keyframes xfade {
  0%        { opacity: 0; }
  6%, 30%   { opacity: 1; }
  39%, 100% { opacity: 0; }
}
.xf-caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 26px 18px 12px;
  font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.85);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.55));
}
@media (prefers-reduced-motion: reduce) {
  .crossfade .xf { animation: none; }
  .crossfade .xf-3 { opacity: 1; }
}

/* Dog park section */
.dog-map { position: relative; aspect-ratio: 4/3; background: #1d3a2b; box-shadow: var(--shadow); }
.dog-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.map-link { position: absolute; right: 12px; bottom: 12px; z-index: 2; background: rgba(255,255,255,.92); color: var(--navy); font-size: .78rem; font-weight: 600; padding: 6px 10px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.map-link:hover { background: #fff; color: var(--coral); }
.fact-list { list-style: none; padding: 0; margin: 18px 0; }
.fact-list li { padding: 10px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.fact-list li strong { color: var(--navy); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; padding-top: 3px; }
.fact-list li:last-child { border-bottom: 0; }
.fact-list a { color: var(--teal); font-weight: 600; }
.btn.is-disabled { opacity: .55; cursor: default; pointer-events: none; }
.give-amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 18px 0; }
.give-amounts .btn { padding: 10px; text-align: center; }
@media (max-width: 640px) { .fact-list li { grid-template-columns: 1fr; gap: 2px; } .give-amounts { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 820px; margin: 0 auto; }
.timeline::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 18px;
  width: 3px; background: linear-gradient(to bottom, var(--coral), var(--yellow), var(--mint), var(--teal));
  border-radius: 3px;
}
.tl-item { position: relative; padding: 0 0 30px 60px; }
.tl-item::before {
  content: ""; position: absolute; left: 10px; top: 6px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--paper);
  border: 4px solid var(--teal);
  box-shadow: var(--shadow-sm);
}
.tl-item .year {
  display: inline-block; color: var(--coral); font-weight: 700;
  font-family: var(--font-head); font-size: 1.2rem;
  margin-bottom: 4px;
}
.tl-item h3 { margin-bottom: 6px; }
.tl-item p { color: var(--muted); margin-bottom: 0; }

/* ---------- Team grid ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.member {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform .15s ease;
}
.member:hover { transform: translateY(-3px); }
.avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .02em;
  box-shadow: var(--shadow-sm);
}
.avatar.c1 { background: linear-gradient(135deg, var(--coral), #c0354d); }
.avatar.c2 { background: linear-gradient(135deg, var(--teal), var(--navy)); }
.avatar.c3 { background: linear-gradient(135deg, var(--mint), #1e9e73); }
.avatar.c4 { background: linear-gradient(135deg, var(--yellow), #c9a236); color: var(--navy); }
.avatar.c5 { background: linear-gradient(135deg, var(--navy), #3a6e82); }
.avatar.c6 { background: linear-gradient(135deg, #c0355d, var(--coral)); }
.member .role {
  color: var(--teal); font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em; font-size: .78rem;
  margin-bottom: 12px;
}
.member p { color: var(--muted); font-size: .95rem; margin-bottom: 12px; }
.member .links { display: flex; justify-content: center; gap: 10px; font-size: .85rem; }

/* Avatar: headshot with initials fallback */
.avatar { position: relative; overflow: hidden; }
.avatar::before { content: attr(data-initials); }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* ---------- Honoring (past board / in memoriam) ---------- */
.honor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 900px; margin: 0 auto; }
.honor-group h3 { font-family: var(--font-head); color: var(--navy); font-size: 1.25rem; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--yellow); }
.honor-group.memoriam h3 { border-bottom-color: var(--navy); }
.honor-note { color: var(--muted); font-size: .95rem; margin: 0 0 14px; font-style: italic; }
.honor-list { list-style: none; margin: 0; padding: 0; columns: 1; }
.honor-list li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; color: var(--ink); display: flex; justify-content: space-between; gap: 12px; }
.honor-list li:last-child { border-bottom: 0; }
.honor-list .years { color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; }

/* ---------- Supporters ---------- */
.supporters-2 { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin: 0 auto; }
.supporter-list a { color: var(--navy); border-bottom: 1px dotted rgba(10,63,79,.35); }
.supporter-list a:hover { color: var(--coral); border-color: var(--coral); }
.supporters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.supporter-group { background: #fff; border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow-sm); }
.supporter-group h3 { font-family: var(--font-head); color: var(--navy); font-size: 1.15rem; margin: 0 0 14px; }
.supporter-list { list-style: none; margin: 0; padding: 0; }
.supporter-list li { padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--ink); }
.supporter-list li:last-child { border-bottom: 0; }
.supporter-list img { max-height: 44px; width: auto; display: block; }
.supporters-cta { text-align: center; margin-top: 28px; color: var(--muted); }
.supporters-cta a { color: var(--coral); font-weight: 600; }

/* Placeholder rows — visibly unfinished so nobody mistakes them for real entries. Remove class when filling in. */
li.placeholder { color: var(--muted); border: 1.5px dashed var(--line); border-radius: var(--radius-sm); padding: 8px 12px !important; margin: 6px 0; font-style: italic; }

/* ---------- Featured news post ---------- */
.featured-post {
  background: var(--paper); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
  display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); min-height: 360px; margin-bottom: 60px;
}
.featured-post > * { min-width: 0; }
.featured-media { background-size: cover; background-position: center 30%; min-height: 300px; }
.featured-body { padding: 40px; }
@media (max-width: 760px) {
  .featured-post { grid-template-columns: minmax(0,1fr); margin-bottom: 40px; }
  .featured-media { min-height: 240px; aspect-ratio: 16/10; }
  .featured-body { padding: 28px 24px 32px; }
}

/* ---------- Event list ---------- */
.events { display: grid; gap: 18px; }
.event {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 20px;
  align-items: center;
  background: var(--paper);
  border-left: 6px solid var(--coral);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
}
.event .date {
  text-align: center;
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 10px;
}
.event .date .m { color: var(--coral); font-weight: 700; text-transform: uppercase; font-size: .8rem; letter-spacing: .1em; }
.event .date .d { font-family: var(--font-head); font-size: 1.8rem; color: var(--navy); line-height: 1; }
.event h3 { margin-bottom: 2px; font-size: 1.1rem; }
.event p { color: var(--muted); margin: 0; font-size: .92rem; }

/* ---------- Forms ---------- */
.form {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form .field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form label { font-weight: 600; color: var(--navy); font-size: .9rem; }
.form input, .form select, .form textarea {
  border: 1.5px solid var(--line);
  background: var(--cream);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: var(--radius-sm);
  color: var(--ink);
  transition: border-color .15s, background .15s;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--teal); background: #fff;
}
.form textarea { min-height: 130px; resize: vertical; }
.form .checkboxes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 16px; }
.form .checkboxes label { font-weight: 500; color: var(--ink); display: flex; gap: 8px; align-items: center; }
.form .checkboxes input { accent-color: var(--coral); }

/* Netlify Forms: honeypot + inline success state */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-sm);
  border-left: 6px solid var(--mint);
}
.form-success h3 { margin: 0 0 8px; font-family: var(--font-display); color: var(--navy); }
.form-success p { margin: 0; color: var(--muted); }
form.is-sending button[type="submit"] { opacity: .6; pointer-events: none; }
.form-error { color: #b3261e; font-size: .9rem; margin-top: 10px; }

/* ---------- Donation tiers ---------- */
.tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.tier {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: transform .15s, border-color .15s;
  cursor: pointer;
  position: relative;
}
.tier:hover { transform: translateY(-3px); border-color: var(--teal); }
.tier.featured {
  border-color: var(--coral);
  background: linear-gradient(180deg, #fff, #fff9fa);
}
.tier.featured::after {
  content: "Most popular";
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--coral); color: #fff;
  padding: 4px 12px; border-radius: 999px;
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
}
.tier .amount {
  font-family: var(--font-head);
  font-size: 2.2rem;
  color: var(--navy);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
}
.tier .amount sup { font-size: 1rem; color: var(--coral); top: -14px; }
.tier .label { color: var(--teal); font-weight: 700; text-transform: uppercase; font-size: .8rem; letter-spacing: .1em; margin-bottom: 10px; }
.tier p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- News cards ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.news-card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .15s ease;
}
.news-card:hover { transform: translateY(-3px); }
.news-card .thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  position: relative;
}
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-card .thumb.coral  { background: linear-gradient(135deg, var(--coral), #9a2d49); }
.news-card .thumb.mint   { background: linear-gradient(135deg, var(--mint), #159e6e); }
.news-card .thumb.yellow { background: linear-gradient(135deg, var(--yellow), #c9a236); }
.news-card .thumb .tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--paper); color: var(--navy);
  padding: 4px 10px; border-radius: 999px;
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
}
.news-card .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.news-card .date { color: var(--muted); font-size: .82rem; margin-bottom: 6px; }
.news-card h3 { margin-bottom: 10px; }
.news-card p { color: var(--muted); font-size: .95rem; margin-bottom: 16px; }
.news-card .read { margin-top: auto; color: var(--coral); font-weight: 700; font-size: .9rem; }

/* ---------- Featured / CTA bands ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--coral), #c0354d);
  color: #fff;
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(249,213,112,.2), transparent 35%),
    radial-gradient(circle at 90% 80%, rgba(61,219,167,.15), transparent 35%);
  pointer-events: none;   /* decorative only — was intercepting taps on the ghost buttons */
}
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: rgba(255,255,255,.92); max-width: 56ch; margin: 0 auto 26px; font-size: 1.1rem; position: relative; }
.cta-band .btn { position: relative; z-index: 1; }

.cta-band.mint { background: linear-gradient(135deg, var(--mint), #159e6e); }
.cta-band.teal { background: linear-gradient(135deg, var(--teal), var(--navy)); }

/* ---------- Info cards (contact) ---------- */
.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.info-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.info-card .ico {
  width: 56px; height: 56px; border-radius: 16px;
  margin: 0 auto 14px;
  display: grid; place-items: center;
  font-size: 1.5rem;
  background: var(--cream); color: var(--coral);
}
.info-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.info-card p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- Map placeholder ---------- */
.map {
  aspect-ratio: 16/7;
  background:
    repeating-linear-gradient(45deg, #e0ece8 0 12px, #d5e4df 12px 24px),
    var(--mint);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: grid; place-items: center;
  color: var(--navy); font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
}
.map::after {
  content: "📍 Compton Hill Water Tower · S. Grand & Russell Blvd · St. Louis";
  background: var(--paper);
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-size: .85rem;
  letter-spacing: .02em;
}

/* ---------- Quote ---------- */
.quote {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border-left: 8px solid var(--yellow);
}
.quote blockquote {
  margin: 0 0 14px;
  font-family: var(--font-head);
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--navy);
}
.quote cite { color: var(--muted); font-style: normal; font-weight: 600; font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.8);
  padding: 70px 0 30px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.site-footer h4 { color: #fff; font-family: var(--font-body); font-weight: 700; font-size: .9rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.site-footer a { color: rgba(255,255,255,.75); }
.site-footer a:hover { color: var(--yellow); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { margin-bottom: 8px; font-size: .95rem; }
.footer-brand {
  font-family: var(--font-head);
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.footer-brand small {
  display: block; font-family: var(--font-body); font-size: .75rem;
  color: rgba(255,255,255,.55); letter-spacing: .12em; text-transform: uppercase;
}
.social { display: flex; gap: 10px; margin-top: 12px; }
.social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: grid; place-items: center;
  font-size: .9rem; color: var(--yellow);
}
.social a:hover { background: var(--coral); color: #fff; }
.legal {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  display: flex; justify-content: space-between; gap: 20px;
  font-size: .85rem; color: rgba(255,255,255,.55); flex-wrap: wrap;
}

/* ---------- Helpers ---------- */
.center { text-align: center; }
.mt-lg { margin-top: 40px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.tag-chip {
  display: inline-block;
  background: var(--cream); color: var(--teal);
  padding: 4px 12px; border-radius: 999px;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  margin-right: 6px;
}
.lede { font-size: 1.15rem; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .supporters { grid-template-columns: 1fr; }
  .honor-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-top: 40px; padding-bottom: 60px; }
  .pillars, .team-grid, .news-grid, .info-cards { grid-template-columns: repeat(2, 1fr); }
  .tiers { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .two-up, .grid-2 { grid-template-columns: 1fr; gap: 30px; }
  .two-up.reverse > :first-child { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .menu {
    position: fixed; inset: 0; z-index: 200;
    display: flex; flex-direction: column; justify-content: center; align-items: stretch;
    gap: 0;
    padding: 96px 28px 40px;
    background: linear-gradient(160deg, var(--navy) 0%, #0d5468 100%);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
  }
  .menu.open { opacity: 1; visibility: visible; transform: none; transition: opacity .22s ease, transform .22s ease; }
  .menu li { width: 100%; }
  .menu a {
    display: block; width: 100%;
    padding: 16px 4px;
    font-family: var(--font-head); font-size: clamp(1.6rem, 6.5vw, 2.2rem); font-weight: 600;
    color: #fff; border-radius: 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .menu li:last-child a { border-bottom: 0; }
  .menu a:hover { background: transparent; color: var(--yellow); }
  .menu a.active { background: transparent; color: var(--yellow); }
  .menu .menu-cta { margin-top: 28px; }
  .menu .menu-cta a {
    font-family: var(--font-body); font-size: 1.05rem; font-weight: 700;
    text-align: center; background: var(--coral); color: #fff; border-radius: 999px; border: 0; padding: 16px 24px;
  }
  .nav { position: relative; }
  .nav-toggle { display: block; }
}

@media (max-width: 640px) {
  .brand-logo { height: 68px; }
  .hero-inner { padding-top: 12px; }
  .hero-eyebrow { font-size: .68rem; letter-spacing: .12em; }
  .brand-text { display: none; }
  .nav { min-height: 84px; }
  .pillars, .team-grid, .news-grid, .info-cards, .tiers, .stats-grid, .footer-grid { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .event { grid-template-columns: 70px 1fr; }
  .event .btn { grid-column: 1 / -1; justify-self: start; }
  section { padding: 60px 0; }
}
