/* =========================================================
   STYLING RULES

   - All colors should come from variables or theme files.
   - This rewrite keeps the current site structure working.
   - Button system is unified globally near the top.
========================================================= */


/* =====================================
   Base & Reset
===================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --header-offset: 72px;

  /* Core palette */
  --bg: #e0fdf9;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-2: rgba(255, 255, 255, 0.72);
  --text: #083c4a;
  --muted: rgba(8, 60, 74, 0.65);
  --primary: #14b8a6;
  --accent: #6366f1;
  --link: #0f172a;
  --gradient: linear-gradient(90deg, #14b8a6, #06b6d4);

  /* Borders */
  --border: rgba(8, 60, 74, 0.14);
  --border-soft: rgba(8, 60, 74, 0.10);

  /* Surfaces / cards */
  --card: #ffffff;
  --card-bg: #ffffff;
  --light-bg: var(--bg);
  --card-border: var(--border-soft);
  --accent-soft: rgba(20, 184, 166, 0.10);

  /* Shadows */
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 8px 22px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 16px 36px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 20px 44px rgba(0, 0, 0, 0.18);

  /* Radius */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  /* Legacy aliases */
  --ink: #083c4a;
  --ink-soft: rgba(15, 23, 42, 0.65);
  --ink-muted: rgba(15, 23, 42, 0.5);
  --navy: var(--text);
  --teal: var(--primary);
  --gold: var(--primary);
  --coral: var(--accent);

  /* Stats */
  --stat-bg: rgba(255, 255, 255, 0.92);
  --stat-border: rgba(15, 23, 42, 0.10);
  --stat-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
  --stat-kicker: var(--primary);
  --stat-value: var(--text);

  /* Impact block */
  --impact-bg: linear-gradient(135deg, rgba(20, 184, 166, 0.10), rgba(224, 253, 249, 0.72));
  --impact-border: rgba(20, 184, 166, 0.38);
  --impact-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
  --impact-panel-bg: rgba(255, 255, 255, 0.72);
  --impact-panel-border: rgba(20, 184, 166, 0.16);
  --impact-panel-shadow: 0 10px 26px rgba(0, 0, 0, 0.10);
  --impact-icon-border: rgba(20, 184, 166, 0.38);
  --impact-icon-bg: rgba(255, 255, 255, 0.96);
  --impact-icon-color: var(--primary);
  --impact-amount: var(--primary);
  --impact-link: var(--primary);
  --impact-link-hover: var(--accent);

  /* Buttons */
  --btn-primary-bg: var(--primary);
  --btn-primary-text: #ffffff;
  --btn-primary-border: 1px solid rgba(255, 255, 255, 0.18);

  /* Hero */
  --hero-overlay:
    radial-gradient(900px 320px at 30% 10%, rgba(20, 184, 166, 0.20), transparent 55%),
    radial-gradient(700px 280px at 78% 35%, rgba(99, 102, 241, 0.14), transparent 60%);

  /* Theme contract */
  --hero-primary-color: transparent;
  --hero-primary-bg: var(--gradient);
  --hero-accent-color: transparent;
  --hero-accent-bg: linear-gradient(90deg, #1a13a8, #6366f1);

  --events-cta-bg: var(--primary);
  --events-cta-text: #ffffff;
  --events-cta-border: 1px solid rgba(255, 255, 255, 0.18);

  --subscribe-bg: var(--primary);
  --subscribe-text: #ffffff;
  --subscribe-border: 1px solid rgba(255, 255, 255, 0.18);

  --donate-bg: var(--events-cta-bg);
  --donate-text: var(--events-cta-text);
  --donate-border: var(--events-cta-border);

  /* History */
  --history-year: var(--primary);

  /* Leadership avatar */
  --officer-avatar-bg:
    radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.75) 0%, var(--primary) 45%, var(--accent) 100%);
  --officer-avatar-text: #0b1220;
  --officer-avatar-shadow:
    0 0 0 2px var(--surface),
    0 0 0 4px color-mix(in srgb, var(--primary), transparent 60%);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #252525;
  background: var(--light-bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  color: var(--text);
}

.container {
  width: min(1100px, 90%);
  margin: 0 auto;
}

.section {
  padding: 4rem 0;
}

.section-head {
  text-align: center;
  margin-bottom: 2rem;
}

.section-subtitle {
  max-width: 720px;
  margin: 0.5rem auto 0;
  color: #4b4b4b;
  font-size: 1rem;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  z-index: 5000;
  background: #111;
  color: #fff;
  padding: 0.65rem 1rem;
  border-radius: 0.75rem;
}

.skip-link:focus {
  left: 10px;
}


/* =====================================
   GLOBAL BUTTON SYSTEM
===================================== */
.btn,
.btn-primary,
.btn-secondary,
.btn-outline,
.btn-ghost,
.btn-featured,
.nav-donate,
.footer-donate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.72rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    transform 0.15s ease-out,
    box-shadow 0.15s ease-out,
    background 0.15s ease-out,
    border-color 0.15s ease-out,
    color 0.15s ease-out,
    filter 0.15s ease-out;
}

.btn i,
.btn-primary i,
.btn-secondary i,
.btn-outline i,
.btn-featured i,
.nav-donate i,
.footer-donate-btn i {
  font-size: 0.9em;
}

.btn:hover,
.btn-primary:hover,
.btn-secondary:hover,
.btn-outline:hover,
.btn-featured:hover,
.nav-donate:hover,
.footer-donate-btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

/* Primary */
.btn,
.btn.btn-primary,
.btn-primary,
.btn-featured,
.nav-donate,
.footer-donate-btn {
  background: var(--gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 10px 22px rgba(20, 184, 166, 0.25);
}

.btn:hover,
.btn.btn-primary:hover,
.btn-primary:hover,
.btn-featured:hover,
.nav-donate:hover,
.footer-donate-btn:hover {
  filter: brightness(1.03);
  box-shadow: 0 14px 30px rgba(20, 184, 166, 0.35);
}

/* Secondary */
.btn-secondary {
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  border: 1px solid rgba(20, 184, 166, 0.25);
}

.btn-secondary:hover {
  background: rgba(20, 184, 166, 0.08);
  border-color: rgba(20, 184, 166, 0.45);
}

/* Outline / ghost */
.btn-outline,
.btn-ghost,
.ty-ghost {
  background: transparent;
  color: var(--primary);
  border: 1px solid rgba(20, 184, 166, 0.18);
}

.btn-outline:hover,
.btn-ghost:hover,
.ty-ghost:hover {
  background: rgba(20, 184, 166, 0.06);
  border-color: rgba(20, 184, 166, 0.35);
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
}

.btn-large {
  padding: 0.95rem 1.55rem;
  font-size: 1rem;
}

.disabled,
.btn[disabled],
.btn-featured[disabled],
.btn-featured.disabled {
  opacity: 0.65;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
  filter: none;
}

/* Floating action */
.floating-action {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  border: none;
  background: var(--gradient);
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(20, 184, 166, 0.30);
  padding: 0.75rem 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
}

.floating-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(20, 184, 166, 0.38);
}

.floating-action-text {
  font-weight: 700;
}


/* =====================================
   Header / Navigation
===================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.90);
  color: var(--ink);
  border-bottom: 1px solid var(--border-soft);
  backdrop-filter: blur(10px);
  transition: box-shadow 0.25s ease, transform 0.15s ease-out;
}

.site-header.scrolled {
  box-shadow: 0 12px 34px rgba(2, 6, 23, 0.12);
  transform: translateY(-1px);
}

.header-inner,
.header-row,
.navbar,
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
  padding: 0.85rem 0;
}

.brand {
  white-space: nowrap;
  min-width: 0;
  flex: 0 1 auto;
}

.brand span,
.brand .brand-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand img {
  height: 46px;
  width: auto;
  border-radius: 50%;
  background: white;
}

.main-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
  min-width: 0;
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  position: relative;
  font-size: 0.96rem;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
  color: var(--ink-soft);
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.15s ease,
    box-shadow 0.2s ease;
}

.main-nav a:not(.is-active) {
  opacity: 0.85;
}

.main-nav a:hover {
  background: rgba(20, 184, 166, 0.08);
  color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(20, 184, 166, 0.12);
  text-decoration: none;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.3rem;
  width: 62%;
  height: 3px;
  border-radius: 999px;
  background: var(--gradient);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease-out;
}

.main-nav a.is-active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-donate {
  gap: 0.35rem;
  padding: 0.45rem 1.05rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 34px;
  height: 34px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.nav-toggle-bar {
  height: 2px;
  width: 100%;
  background-color: #111827;
  border-radius: 999px;
}

@media (max-width: 820px) {
  .header-inner,
  .header-row,
  .navbar,
  .header-content {
    flex-wrap: wrap;
    align-items: center;
  }

  .main-nav {
    position: static;
    width: 100%;
    display: none;
    background: #fff;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 16px 48px rgba(2, 6, 23, 0.10);
    margin-top: 0.5rem;
    border-radius: 14px;
    overflow: hidden;
    white-space: normal;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 0.85rem 1.25rem 1rem;
    gap: 0.35rem;
    flex-wrap: wrap;
  }

  .main-nav a {
    width: 100%;
    padding: 0.7rem 0.25rem;
    white-space: normal;
  }

  .main-nav a::after {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav .nav-donate {
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }
}

@media (min-width: 821px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    flex-wrap: nowrap;
    white-space: nowrap;
  }

  .main-nav a {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
    line-height: 1;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    transition: background 0.25s ease, transform 0.15s ease;
  }

  .nav-donate {
    margin-left: 0.75rem;
    white-space: nowrap;
  }
}

@media (min-width: 821px) and (max-width: 1080px) {
  .main-nav {
    gap: 0.85rem;
  }

  .main-nav a {
    font-size: 0.9rem;
  }
}


/* =====================================
   Hero
===================================== */
.hero {
  position: relative;
  padding: 92px 0 64px;
  background:
    radial-gradient(1200px 700px at 50% -10%, rgba(20, 184, 166, 0.16), rgba(224, 253, 249, 0) 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(224, 253, 249, 0.92));
}

.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: transparent;
}

.hero-content {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 44px;
  align-items: start;
}

.hero-logo {
  position: relative;
  display: grid;
  align-content: start;
  justify-items: center;
  transform: translateY(-45px);
}

.hero-logo img {
  width: min(520px, 100%);
  height: auto;
  display: block;
}

.hero-text {
  text-align: center;
}

.hero-line {
  display: block;
}

.hero-title .hero-line.primary {
  white-space: nowrap;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--primary);
  letter-spacing: -0.025em;
  line-height: 1.12;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
}

.hero-text > h1 {
  margin: 0 0 10px;
  font-size: clamp(1.1rem, 1.7vw, 2.6rem);
  font-weight: 900;
  color: #0f172a;
  line-height: 1.15;
}

.hero-description {
  margin: 0 0 18px;
  max-width: 720px;
  color: rgba(15, 23, 42, 0.78);
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.hero-actions.hero-buttons {
  gap: 12px;
  margin: 16px 0 18px;
}

.hero-actions .btn {
  white-space: nowrap;
}

.celebration-line {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 22px 0 28px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  transform: translateY(10px);
  animation: celebrationReveal 0.8s ease-out 0.4s forwards;
}

@keyframes celebrationReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#confettiCanvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.logo-wrapper {
  position: relative;
  display: inline-block;
}

.anniversary-ribbon {
  position: absolute;
  bottom: -10px;
  right: -20px;
  background: var(--surface);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 14px;
  text-align: center;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.ribbon-top {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.ribbon-main {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ribbon-bottom {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
}

:where(.hero-stats, .stats-row) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

:where(.hero-stats, .stats-row) .stat {
  background: var(--stat-bg);
  border: 1px solid var(--stat-border);
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: var(--stat-shadow);
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

:where(.hero-stats, .stats-row) .stat:hover {
  transform: translateY(-1px);
}

:where(.hero-stats, .stats-row) .stat-kicker {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stat-kicker);
  margin-bottom: 6px;
}

:where(.hero-stats, .stats-row) .stat-value {
  font-weight: 900;
  color: var(--stat-value);
}

@media (min-width: 1024px) {
  .hero-logo {
    justify-self: start;
  }
}

@media (min-width: 901px) {
  .hero-title .hero-line.primary {
    margin-left: -100px;
  }
}

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-title {
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  :where(.hero-stats, .stats-row) {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .hero-actions.hero-buttons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-title .hero-line.primary {
    white-space: normal;
  }
}
/* =====================================
   Press / Anniversary
===================================== */
.press-anniversary {
  padding: 28px 0;
  background: linear-gradient(
    180deg,
    rgba(20, 184, 166, 0.14),
    rgba(255, 255, 255, 0)
  );
  border-top: 2px solid rgba(20, 184, 166, 0.55);
}

.press-anniversary-inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  align-items: center;
}

.press-anniversary-left {
  padding-right: 10px;
  border-right: 1px solid rgba(20, 184, 166, 0.35);
}

.press-anniversary-eyebrow {
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--text);
}

.press-anniversary-sub {
  margin-top: 4px;
  font-weight: 700;
  font-size: 0.98rem;
  color: rgba(0, 0, 0, 0.72);
}

.press-anniversary-center {
  min-width: 0;
}

.press-anniversary-quote {
  font-weight: 900;
  color: var(--text);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  line-height: 1.2;
}

.press-anniversary-source {
  margin-top: 8px;
  font-size: 0.98rem;
  color: rgba(0, 0, 0, 0.70);
}

.press-anniversary-link {
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  border-bottom: 2px solid rgba(20, 184, 166, 0.45);
  transition: font-weight 0.15s ease, border-bottom-color 0.15s ease;
}

.press-anniversary-link:hover {
  font-weight: 900;
  border-bottom-color: rgba(20, 184, 166, 0.80);
}

@media (max-width: 760px) {
  .press-anniversary-inner {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: left;
  }

  .press-anniversary-right {
    text-align: left;
  }

  .press-anniversary-left {
    border-right: none;
    padding-right: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(20, 184, 166, 0.35);
  }
}


/* =====================================
   Mission
===================================== */
.mission {
  background-color: #ffffff;
  text-align: center;
}

.mission p {
  max-width: 760px;
  margin: 0.5rem auto 0;
}


/* =====================================
   Cards
===================================== */
.cards-section {
  background-color: #e0fdf9;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--card-border);
  transition:
    transform 0.18s ease-out,
    box-shadow 0.18s ease-out,
    border-color 0.18s ease-out,
    background-color 0.18s ease-out;
}

.card h3 {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
  background-color: #fdf8ed;
}

.card-link {
  display: inline-flex;
  margin-top: 0.8rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
}

.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    rgba(20, 184, 166, 0.25),
    rgba(20, 184, 166, 0.12)
  );
  color: var(--primary);
  font-size: 0.9rem;
}

.icon-circle-lg {
  width: 42px;
  height: 42px;
  font-size: 1.05rem;
}

@media (max-width: 900px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
}


/* =====================================
   Impact Highlight
===================================== */
.impact-highlight {
  margin: 2.5rem auto 2rem;
  max-width: 860px;
  padding: 3.2rem 2.25rem 2.1rem;
  border-radius: 1.5rem;
  position: relative;
  text-align: center;
  background: var(--impact-bg);
  border: 1px solid var(--impact-border);
  box-shadow: var(--impact-shadow);
}

.impact-highlight .impact-icon {
  position: absolute;
  top: -26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.impact-highlight .icon-circle {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--impact-icon-bg);
  border: 2px solid var(--impact-icon-border);
}

.impact-highlight .icon-circle i {
  font-size: 1.45rem;
  color: var(--impact-icon-color);
}

.impact-highlight .hero-stat {
  margin: 0 auto 1.25rem;
  padding: 1.15rem 1.25rem 1.1rem;
  border-radius: 1.05rem;
  background: var(--impact-panel-bg);
  border: 1px solid var(--impact-panel-border);
  box-shadow: var(--impact-panel-shadow);
}

.impact-highlight .hero-stat h2 {
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
  font-weight: 800;
}

.impact-highlight .hero-stat h3 {
  margin: 0;
  font-size: 3.1rem;
  font-weight: 900;
  letter-spacing: -0.6px;
  color: var(--impact-amount);
}

.impact-highlight .hero-stat h3 .countup {
  color: inherit;
}

.impact-highlight .hero-stat p {
  margin: 0.4rem 0 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.impact-highlight .impact-text {
  margin-top: 0.9rem;
  font-size: 0.98rem;
}

.inline-link,
.impact-highlight .impact-text a.inline-link {
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.inline-link:hover,
.inline-link:focus-visible,
.impact-highlight .impact-text a.inline-link:hover,
.impact-highlight .impact-text a.inline-link:focus-visible {
  color: var(--accent);
  border-bottom-color: currentColor;
  outline: none;
}

@media (max-width: 700px) {
  .impact-highlight {
    padding: 3rem 1.35rem 1.85rem;
  }

  .impact-highlight .hero-stat h3 {
    font-size: 2.4rem;
  }
}

@media (max-width: 520px) {
  .impact-highlight {
    padding: 2.8rem 1.1rem 1.7rem;
  }

  .impact-highlight .icon-circle {
    width: 46px;
    height: 46px;
  }

  .impact-highlight .icon-circle i {
    font-size: 1.25rem;
  }
}


/* =====================================
   History
===================================== */
#history {
  --history-bg-top: rgba(250, 246, 235, 0.6);
  --history-bg-bottom: var(--surface, #ffffff);
  --history-pill-bg: rgba(15, 23, 42, 0.06);
  --history-pill-border: var(--border-soft);
  --history-pill-text: var(--text);
  --history-subtitle: rgba(0, 0, 0, 0.65);
  --history-line-start: rgba(15, 23, 42, 0.55);
  --history-line-mid: rgba(20, 184, 166, 0.55);
  --history-line-end: rgba(15, 23, 42, 0.25);
  --history-dot-fill: rgba(20, 184, 166, 0.9);
  --history-dot-ring: var(--surface, #ffffff);
  --history-card-bg: var(--surface, #ffffff);
  --history-card-border: var(--border-soft);
  --history-card-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  --history-body: rgba(0, 0, 0, 0.70);
  background: linear-gradient(to bottom, var(--history-bg-top), var(--history-bg-bottom));
}

#history .history-head {
  text-align: center;
  max-width: 70ch;
  margin: 0 auto 2rem;
}

#history .history-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

#history .history-pill i {
  font-size: 0.9em;
  opacity: 0.85;
}

#history .history-subtitle {
  color: var(--history-subtitle);
  margin-top: 0.75rem;
}

#history .history-timeline {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 0.5rem 0 0.25rem;
}

#history .history-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 18px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(
    to bottom,
    var(--history-line-start),
    var(--history-line-mid),
    var(--history-line-end)
  );
}

#history .history-item {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

#history .history-item:last-child {
  margin-bottom: 0;
}

#history .history-dot {
  position: absolute;
  left: 18px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--history-dot-fill);
  border: 4px solid var(--history-dot-ring);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.10);
  transform: translateX(-50%);
  z-index: 2;
}

#history .history-cardwrap {
  width: calc(50% - 1.25rem);
}

#history .history-cardwrap.left {
  padding-right: 1.25rem;
}

#history .history-cardwrap.right {
  padding-left: 1.25rem;
}

#history .history-card {
  background: var(--history-card-bg);
  border-radius: 16px;
  padding: 0.95rem 1.05rem;
  border: 1px solid var(--history-card-border);
  box-shadow: var(--history-card-shadow);
  opacity: 0;
  transform: translateY(12px);
}

#history .history-item[data-dir="left"] .history-card {
  transform: translateX(-28px);
}

#history .history-item[data-dir="right"] .history-card {
  transform: translateX(28px);
}

#history .history-card.in-view {
  opacity: 1;
  transform: translateX(0) translateY(0);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--delay, 0ms);
}

#history .history-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

#history .history-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--history-pill-bg);
  border: 1px solid var(--history-pill-border);
  color: var(--history-pill-text);
}

#history .history-year {
  font-weight: 800;
  color: var(--history-year);
  font-size: 1.25rem;
}

#history .history-card h3 {
  margin: 0.2rem 0 0.4rem;
}

#history .history-card p {
  margin: 0;
  color: var(--history-body);
  line-height: 1.6;
}

@media (min-width: 900px) {
  #history .history-line {
    left: 50%;
    transform: translateX(-50%);
  }

  #history .history-dot {
    left: 50%;
    transform: translateX(-50%);
  }

  #history .history-cardwrap {
    margin-left: 0;
    width: calc(50% - 2rem);
  }

  #history .history-spacer {
    display: block;
    width: calc(50% - 2rem);
  }

  #history .history-item[data-dir="left"] {
    flex-direction: row;
  }

  #history .history-item[data-dir="right"] {
    flex-direction: row-reverse;
  }

  #history .history-item[data-dir="left"] .history-meta {
    justify-content: flex-end;
  }

  #history .history-item[data-dir="right"] .history-meta {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  #history .history-line {
    left: 14px;
  }

  #history .history-dot {
    left: 14px;
  }

  #history .history-item {
    padding-left: 44px;
  }

  #history .history-cardwrap {
    width: 100%;
    margin-left: 0;
  }

  #history .history-cardwrap.left,
  #history .history-cardwrap.right {
    padding-left: 0;
    padding-right: 0;
    text-align: left;
  }

  #history .history-item[data-dir="left"],
  #history .history-item[data-dir="right"] {
    flex-direction: row;
  }

  #history .history-card {
    padding: 0.9rem 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  #history .history-card {
    opacity: 1;
    transform: none !important;
    transition: none !important;
  }
}


/* =====================================
   Events / Featured Event
===================================== */
.events-section {
  background-color: #ffffff;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.event-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.75rem;
  padding: 2rem;
  background: var(--card-bg);
  border-radius: 1.25rem;
  border: 1px solid #e1d6c3;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.2s ease-out,
    box-shadow 0.2s ease-out,
    border-color 0.2s ease-out,
    background-color 0.2s ease-out;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
  background-color: #fdf5e6;
}

.event-image {
  display: flex;
  align-items: flex-start;
}

.event-image img {
  width: 100%;
  max-width: 160px;
  max-height: 220px;
  object-fit: cover;
  border-radius: 1rem;
  background: #fff;
  padding: 6px;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.12);
  transition: transform 0.35s ease-out, box-shadow 0.3s ease-out;
}

.event-card:hover .event-image img {
  transform: scale(1.08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.event-content h3 {
  margin: 0.25rem 0 0.6rem;
  font-size: 1.25rem;
}

.event-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: rgba(255, 255, 255, 0.7);
}

.event-tag-holiday {
  color: #6b4b00;
  border-color: rgba(20, 184, 166, 0.35);
}

.event-tag-gala {
  color: #111827;
  border-color: rgba(17, 24, 39, 0.25);
}

.event-meta,
.event-details {
  color: #555;
  margin: 0.4rem 0;
}

/* Featured HouseWalk card */
.featured-event,
.featured-event.save-the-date {
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  border-radius: 1.6rem;
  overflow: hidden;
  border: 1px solid var(--card-border);
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

.featured-event-media {
  background: #eef3f2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.2rem;
}

.featured-event-media img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 1.1rem;
  background: #ffffff;
  padding: 10px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);
}

.featured-event-body {
  padding: 2.2rem 2.4rem;
  background: #fbf8f1;
}

.featured-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(20, 184, 166, 0.35);
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary);
}

.featured-title {
  margin: 0.9rem 0 0.25rem;
  font-size: 2.1rem;
  line-height: 1.15;
  color: var(--text);
  font-family: "Georgia", serif;
}

.featured-subtitle,
.featured-date,
.featured-tagline {
  color: #1f4b43;
  margin-bottom: 1rem;
}

.featured-subtitle {
  font-size: 1.35rem;
  font-family: "Georgia", serif;
}

.featured-date {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0.5rem 0 1rem;
  letter-spacing: 0.02em;
}

.featured-tagline {
  font-size: 1.1rem;
  font-weight: 600;
}

.featured-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.4rem;
  color: #26413a;
  font-weight: 600;
}

.featured-meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.featured-meta i {
  font-size: 0.95rem;
  opacity: 0.85;
}

.featured-description {
  margin: 0 0 1.4rem;
  color: #3f3f3f;
  max-width: 54ch;
}

.featured-actions {
  margin-top: 0.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.save-highlights,
.featured-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1rem 0 1.5rem;
}

.featured-proof-card {
  border-radius: 18px;
  padding: 1.05rem 1.05rem 1.1rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.featured-proof-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.featured-proof-card h4 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.6rem;
  font-size: 1rem;
}

.featured-proof-card h4 i {
  color: var(--primary);
}

.featured-proof-text,
.featured-proof-card p {
  margin: 0;
  line-height: 1.6;
  color: #3f3f3f;
}

.featured-time-pill,
.featured-discount-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1;
  margin-top: 0.75rem;
}

.featured-time-pill {
  background: rgba(20, 184, 166, 0.10);
  border: 1px solid rgba(20, 184, 166, 0.18);
  color: var(--text);
}

.featured-time-pill i {
  color: var(--primary);
  font-size: 0.85rem;
}

.featured-discount-pill {
  background: rgba(20, 184, 166, 0.08);
  border: 1px solid rgba(20, 184, 166, 0.16);
  color: var(--primary);
}

.save-note,
.featured-microcopy {
  font-size: 0.9rem;
  color: #5b5b5b;
  margin-top: 1rem;
}

.ticket-callout,
.ticket-callout--conversion {
  margin-top: 1.3rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.08), rgba(99, 102, 241, 0.06));
  border: 1px solid rgba(20, 184, 166, 0.18);
}

.ticket-callout h4,
.ticket-callout--conversion h4 {
  margin: 0 0 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.events-section .featured-event {
  margin-bottom: 32px;
}

.events-section .featured-event:last-of-type {
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .events-grid {
    grid-template-columns: 1fr;
  }

  .event-card {
    grid-template-columns: 1fr;
  }

  .event-image img {
    max-width: 100%;
    max-height: 280px;
  }

  .featured-event,
  .featured-event.save-the-date {
    grid-template-columns: 1fr;
  }

  .featured-event-media {
    padding: 1.4rem;
  }

  .featured-event-body {
    padding: 1.6rem 1.4rem;
  }

  .featured-title {
    font-size: 1.75rem;
  }

  .featured-subtitle {
    font-size: 1.2rem;
  }

  .save-highlights,
  .featured-proof-grid {
    grid-template-columns: 1fr;
  }
}
/* =====================================
   Charities
===================================== */
.charities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.charity-card {
  background-color: #ffffff;
  border-radius: 0.9rem;
  padding: 1.2rem 1.3rem;
  border: 1px solid #e5e0d6;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.18s ease-out,
    box-shadow 0.18s ease-out,
    border-color 0.18s ease-out,
    background-color 0.18s ease-out;
}

.charity-card h4 {
  margin: 0 0 0.4rem;
  color: var(--primary);
  font-size: 1rem;
}

.charity-card p {
  margin: 0 0 0.8rem;
  font-size: 0.95rem;
  color: #4b4b4b;
}

.charity-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
  border-color: var(--accent);
  background-color: #fdf8ed;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.55rem;
  margin-top: 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  color: #fff;
  white-space: nowrap;
}

.tag i {
  font-size: 0.75rem;
}

.tag.fundraising { background-color: #c05621; }
.tag.service { background-color: #15803d; }
.tag.community { background-color: #a855f7; }
.tag.social { background-color: #db2777; }
.tag.health { background-color: #16a34a; }
.tag.youth { background-color: #ea580c; }
.tag.basic-needs { background-color: #4b5563; }
.tag.education { background-color: #b45309; }
.tag.disability { background-color: #7c3aed; }
.tag.housing { background-color: #44403c; }
.tag.mental-health { background-color: #0f766e; }
.tag.food { background-color: #15803d; }
.tag.crisis { background-color: #b91c1c; }
.tag.violence-prevention { background-color: #7f1d1d; }
.tag.women { background-color: #db2777; }
.tag.equity { background-color: #6b21a8; }

.charity-tags {
  margin: 0 0 0.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}


/* =====================================
   Get Involved
===================================== */
.get-involved {
  background-color: #ffffff;
}

.get-involved-intro {
  max-width: 680px;
  margin: 0 auto 2rem;
  text-align: center;
  color: #4b4b4b;
}

.get-involved-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr);
  gap: 2rem;
  align-items: flex-start;
}

.get-involved-main h3 {
  margin-top: 0;
}

.get-involved-main h4 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
}

.get-involved-list {
  padding-left: 1.1rem;
  margin: 0;
  list-style: disc;
}

.get-involved-list li {
  margin-bottom: 0.6rem;
  color: #4b4b4b;
  position: relative;
  padding-bottom: 0.4rem;
}

.get-involved-note {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #4b4b4b;
}

.get-involved-cta {
  background: #fff8ee;
  border-radius: 1.1rem;
  border: 1px solid rgba(20, 184, 166, 0.6);
  padding: 1.5rem 1.6rem;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.get-involved-cta h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.get-involved-cta p {
  margin-top: 0;
  color: #4b4b4b;
}

.cta-list {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 1rem;
}

.cta-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #262626;
  margin-bottom: 0.4rem;
}

.cta-list i {
  color: var(--accent);
}

@media (max-width: 900px) {
  .get-involved-layout {
    grid-template-columns: 1fr;
  }
}


/* =====================================
   Donate
===================================== */
.donate {
  background: #ffffff;
}

.donate-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.donate-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 1.25rem;
  padding: 1.2rem 1.15rem;
  box-shadow: var(--shadow-sm);
}

.donate-card h3 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  color: var(--primary);
}

.donate-card p {
  color: #4b4b4b;
}

.donate-note {
  margin-top: 1.3rem;
  padding: 1rem 1.1rem;
  background: #e0fdf9;
  border: 1px solid var(--card-border);
  border-radius: 1.25rem;
}

@media (max-width: 1000px) {
  .donate-grid {
    grid-template-columns: 1fr;
  }
}


/* =====================================
   Leadership
===================================== */
.leadership {
  background-color: #fffaf3;
}

.leadership .container {
  max-width: 960px;
}

.leadership h2 {
  text-align: center;
  margin-bottom: 0.3rem;
}

.leadership-intro {
  text-align: center;
  color: #4b4b4b;
  margin: 0 0 1.8rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem 1.4rem;
  margin-bottom: 1.6rem;
}

.officer-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  border: 2px solid #f4e4c4;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  transition:
    transform 0.18s ease-out,
    box-shadow 0.18s ease-out,
    border-color 0.18s ease-out,
    background-color 0.18s ease-out;
}

.officer-card:hover {
  background:
    radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--primary), white 85%) 0%, var(--surface) 60%);
  border-color: color-mix(in srgb, var(--primary), transparent 55%);
  box-shadow: 0 14px 40px rgba(20, 184, 166, 0.18);
  transform: translateY(-6px);
}

.officer-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: var(--officer-avatar-bg);
  color: var(--officer-avatar-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
  text-transform: uppercase;
  box-shadow: var(--officer-avatar-shadow);
  flex-shrink: 0;
}

.officer-info {
  display: flex;
  flex-direction: column;
}

.officer-role {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--primary);
  margin: 0;
}

.officer-name {
  margin: 0.12rem 0 0;
  font-size: 0.98rem;
  color: #111827;
  font-weight: 600;
}

@media (max-width: 640px) {
  .officer-card {
    padding: 0.85rem 0.9rem;
  }

  .officer-avatar {
    width: 2.8rem;
    height: 2.8rem;
  }
}


/* =====================================
   FAQ
===================================== */
.faq {
  background: #ffffff;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
  align-items: start;
}

.faq-item {
  align-self: start;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 1.25rem;
  padding: 1rem;
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 900;
  color: #1f2937;
}

.faq-item p {
  margin: 0.65rem 0 0;
  color: #4b4b4b;
}

@media (max-width: 800px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}


/* =====================================
   Contact
===================================== */
.contact {
  background: #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.5rem;
  align-items: start;
}

.contact-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 1.25rem;
  padding: 1.2rem 1.15rem;
  box-shadow: var(--shadow-sm);
}

.contact-card h3 {
  margin: 0.3rem 0 0.35rem;
}

.contact-card p {
  margin: 0 0 0.9rem;
  color: #4b4b4b;
}

.contact-form-wrap {
  min-width: 0;
}

.contact-form {
  background: #111827;
  border-radius: 1.1rem;
  padding: 1.4rem 1.5rem 1.5rem;
  border: 1px solid #374151;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  margin-top: 0;
  color: #e5e7eb;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-form label {
  display: block;
  font-weight: 800;
  font-size: 0.92rem;
  margin-bottom: 0.65rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  margin-top: 0.35rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.92);
  outline: none;
}

.contact-form input,
.contact-form select {
  height: 44px;
  padding: 0 44px 0 14px;
}

.contact-form textarea {
  padding: 12px 14px;
  min-height: 140px;
  resize: vertical;
}

.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.85) 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.85) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

.contact-form select option {
  color: #111;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: rgba(20, 184, 166, 0.7);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.10);
}

.form-status {
  margin-top: 0.9rem;
  font-size: 0.92rem;
  min-height: 1.3rem;
}

.privacy-note {
  margin-top: 0.9rem;
  color: #5b5b5b;
  font-size: 0.9rem;
}

.topic-field {
  position: relative;
}

.topic-field select {
  position: absolute;
  inset: auto auto auto -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.cselect {
  position: relative;
  margin-top: 0.35rem;
}

.cselect-trigger {
  width: 100%;
  min-height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.92);
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.cselect-value {
  color: rgba(255, 255, 255, 0.92);
}

.cselect-caret {
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(255, 255, 255, 0.8);
  border-bottom: 2px solid rgba(255, 255, 255, 0.8);
  transform: rotate(45deg);
  margin-left: 10px;
}

.cselect-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 20;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  display: none;
  overflow: hidden;
}

.cselect.is-open .cselect-panel {
  display: block;
}

.cselect-option {
  width: 100%;
  border: none;
  background: transparent;
  color: #e5e7eb;
  text-align: left;
  padding: 0.8rem 0.95rem;
  cursor: pointer;
}

.cselect-option:hover,
.cselect-option.is-selected {
  background: rgba(20, 184, 166, 0.12);
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}


/* =====================================
   Footer
===================================== */
.site-footer {
  background: #0f172a;
  color: rgba(255, 255, 255, 0.86);
  padding-top: 3rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
}

.footer-left h3,
.footer-right h4,
.footer-left h4 {
  color: #ffffff;
}

.footer-tagline,
.subscribe-note,
.site-credit,
.footer-bottom {
  color: rgba(255, 255, 255, 0.70);
}

.subscribe-form {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 0.8rem;
}

.subscribe-form input {
  flex: 1 1 240px;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  padding: 0 1rem;
}

.subscribe-form button {
  border: none;
  background: var(--gradient);
  color: #fff;
  border-radius: 999px;
  padding: 0.72rem 1.2rem;
  font-weight: 700;
  cursor: pointer;
}

.footer-quicklinks ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-quicklinks li {
  margin-bottom: 0.5rem;
}

.footer-donate-btn {
  border: none;
}

.footer-bottom {
  text-align: center;
  padding: 1.4rem 0 0.8rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.site-credit {
  text-align: center;
  padding-bottom: 1.5rem;
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}


/* =====================================
   Generic Modal System
===================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
}

.modal.is-open,
.modal[aria-hidden="false"] {
  display: block;
}

.modal-overlay,
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.56);
  backdrop-filter: blur(2px);
}

.modal-dialog {
  position: relative;
  width: min(92vw, 920px);
  max-height: min(88vh, 920px);
  margin: 4vh auto;
  background: #ffffff;
  border-radius: 22px;
  overflow: auto;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.24);
  z-index: 1;
}

.modal-dialog--gallery {
  width: min(94vw, 1080px);
}

.modal-dialog--photo {
  width: min(94vw, 860px);
  background: #0f172a;
  color: #fff;
}

.modal-dialog--sponsors,
.modal-dialog--membership,
.modal-dialog--testimonials {
  width: min(92vw, 980px);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.35rem 1rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.modal-header-text h2 {
  margin-bottom: 0.25rem;
}

.modal-subtitle {
  margin: 0;
  color: #4b4b4b;
}

.modal-close {
  border: none;
  background: transparent;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  color: #334155;
}

.modal-body {
  padding: 1.15rem 1.35rem 1.35rem;
}

.modal-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.modal-actions--center {
  justify-content: center;
}

/* Donate modal */
.modal-panel {
  padding: 1rem 1.05rem;
  border-radius: 16px;
  background: rgba(20, 184, 166, 0.08);
  border: 1px solid rgba(20, 184, 166, 0.16);
}

.modal-note,
.modal-footnote {
  color: #4b4b4b;
}

/* Zelle modal */
.modal-dialog--zelle {
  width: min(92vw, 840px);
}

.zelle-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.2rem;
  align-items: start;
}

.zelle-qr-btn {
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  border-radius: 20px;
  padding: 0.9rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.zelle-qr-hint {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.88rem;
  color: #5b5b5b;
}

.zelle-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin: 0.8rem 0;
}

.zelle-toast {
  min-height: 1.2rem;
  margin-top: 0.7rem;
  font-size: 0.92rem;
  color: var(--primary);
}

@media (max-width: 760px) {
  .zelle-layout {
    grid-template-columns: 1fr;
  }
}

/* Gallery modal */
.members-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.member-tile {
  border: 1px solid var(--card-border);
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  text-align: left;
  box-shadow: var(--shadow-sm);
}

.member-tile img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.member-meta {
  display: block;
  padding: 0.8rem 0.9rem 0.95rem;
}

.member-name,
.member-caption-name {
  display: block;
  font-weight: 800;
}

.member-role,
.member-caption-role {
  display: block;
  color: #5b5b5b;
  font-size: 0.92rem;
}

.member-stage {
  margin: 0;
}

.member-stage img,
#sitePhotoImg,
#memberPhotoImg {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
}

.member-caption {
  padding: 0.9rem 1rem 1rem;
}

.photo-nav {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  padding: 0 0 1rem;
}

.gallery-nav {
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  cursor: pointer;
}

@media (max-width: 900px) {
  .members-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .members-grid {
    grid-template-columns: 1fr;
  }
}

/* Testimonials */
.testimonials-list {
  display: grid;
  gap: 1rem;
}

.testimonial {
  border-radius: 16px;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.9);
}

.testimonial-org {
  margin-bottom: 0.15rem;
}

.testimonial-name {
  margin: 0 0 0.45rem;
  color: #5b5b5b;
  font-weight: 600;
}

.testimonial-quote {
  margin: 0;
  color: #334155;
}

.community-collage-wrap {
  margin-top: 1rem;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(8, 60, 74, 0.08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.community-collage-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

.community-collage-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(8, 60, 74, 0.08);
}

.partner-notes-head {
  margin-bottom: 1rem;
}

.partner-notes-head h3 {
  margin-bottom: 0.35rem;
}

.partner-notes-head p {
  margin: 0;
  color: rgba(8, 60, 74, 0.72);
}

.community-collage-wrap {
  margin-top: 1rem;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(8, 60, 74, 0.08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.community-collage-wrap img {
  display: block;
  width: 100%;
  height: auto;
}
/* Sponsors modal */
.sponsors-modal-body {
  display: grid;
  gap: 0.7rem;
}

.sponsor-tier {
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
}

.sponsor-tier h3 {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin: 0 0 0.6rem;
  font-size: 1.02rem;
}

.sponsor-tier h3 span {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 800;
}

.sponsor-logo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.sponsor-logo-card {
  min-height: 92px;
  padding: 0.6rem;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.sponsor-logo {
  display: flex;
  align-items: center;
  justify-content: center;

  height: 80px;            /* controls visual consistency */
  padding: 10px 16px;

  border-radius: 12px;
}

.sponsor-logo img {
  max-height: 100%;
  max-width: 100%;

  object-fit: contain;
}

.sponsor-logo-card img {
  display: block;
  max-width: 100%;
  max-height: 62px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.premier .sponsor-logo {
  height: 90px;
}

.partner .sponsor-logo {
  height: 65px;
}

.deluxe .sponsor-logo {
  height: 75px;
}

.sponsor-logo.compact img {
  max-height: 70%;
}
.sponsor-logo-card--dark {
  background: #0b1220;
}


.sponsor-logo-card--dark img {
  max-height: 58px;
}

.sponsor-logo.wide {
  padding: 6px 10px;
}

.sponsor-logo.wide img {
  max-height: 60px;
}
.sponsor-logo-card--tight {
  padding: 0.45rem;
}

.sponsor-logo-card--tight img {
  max-height: 52px;
}

.sponsor-logo-card--textonly {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.10), rgba(99, 102, 241, 0.08));
  border: 1px dashed rgba(20, 184, 166, 0.35);
}

.sponsor-logo-card--textonly span {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text);
  text-align: center;
}

/* Membership modal */
.membership-modal-body {
  display: grid;
  gap: 1rem;
}

.membership-intro-card,
.membership-tier-card,
.membership-callout {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.92);
}

.membership-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.membership-tier-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.membership-dues {
  color: var(--primary);
  font-weight: 800;
  font-size: 0.95rem;
}

.membership-list {
  margin: 0;
  padding-left: 1.1rem;
}

.membership-list li {
  margin-bottom: 0.45rem;
}

.membership-callout {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.10), rgba(99, 102, 241, 0.08));
  border: 1px solid rgba(20, 184, 166, 0.18);
}

.membership-callout p {
  margin: 0 0 0.85rem;
}

@media (max-width: 760px) {
  .membership-grid,
  .sponsor-logo-grid {
    grid-template-columns: 1fr;
  }

  .membership-tier-head,
  .sponsor-tier h3 {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}

.charities-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.charities-head-main {
  max-width: 760px;
}

.charities-head-main h2 {
  margin-bottom: 0.75rem;
}

.charities-head-main .section-subtitle {
  margin-bottom: 1rem;
  max-width: 720px;
}

.charities-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.15rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.charities-controls {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  margin-top: 0.35rem;
}

.charities-sort-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: #173f35;
  font: inherit;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.25rem 0;
  border-radius: 0;
  cursor: pointer;
  position: relative;
  transition: opacity 0.2s ease;
}

.btn-utility {
  background: transparent;
  border: 1px solid rgba(23, 63, 53, 0.15);
  color: #173f35;

  font-weight: 600;
  font-size: 0.92rem;

  padding: 0.55rem 0.9rem;
  border-radius: 999px;

  transition: all 0.2s ease;
}

.btn-utility:hover {
  background: rgba(23, 63, 53, 0.05);
  border-color: rgba(23, 63, 53, 0.25);
}

.btn-utility.is-active {
  background: rgba(23, 63, 53, 0.08);
  border-color: rgba(23, 63, 53, 0.35);
  box-shadow: inset 0 0 0 1px rgba(23, 63, 53, 0.15);
}

.charity-card {
  transition:
    transform 0.28s ease,
    opacity 0.28s ease;
  will-change: transform, opacity;
}

.charities-grid.is-sorting .charity-card {
  opacity: 0;
  transform: translateY(8px);
}

.charities-grid.is-sorted .charity-card {
  opacity: 1;
  transform: translateY(0);
}

.charities-sort-btn:hover {
  opacity: 0.7;
  transform: none;
}

.charities-sort-btn::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 2px;
  background: transparent;
  transition: background 0.2s ease;
}

.charities-sort-btn.is-active::after {
  background: #173f35;
}

@media (max-width: 900px) {
  .charities-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .charities-controls {
    margin-top: 0.25rem;
  }
}
#charitiesSortBtn {
  position: relative;
  transition: 
    background-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.2s ease;
}
#charitiesSortBtn:hover {
  transform: translateY(-1px);
}
#charitiesSortBtn:active {
  transform: translateY(1px);
  box-shadow: 
    inset 0 0 0 1px rgba(23, 63, 53, 0.2),
    0 2px 6px rgba(0, 0, 0, 0.05);
}
#charitiesSortBtn.is-active::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(23, 63, 53, 0.06);
  opacity: 0;
  animation: subtlePulse 0.6s ease;
  pointer-events: none;
}

@keyframes subtlePulse {
  0% { opacity: 0.4; }
  100% { opacity: 0; }
}
.events-page .events-section .featured-event {
  margin-bottom: 32px;
}

.events-page .events-section .featured-event:last-of-type {
  margin-bottom: 0;
}

.events-page .section-head h1 {
  color: var(--text);
  font-size: clamp(2rem, 4vw, 3rem);
}

.featured-location {
  margin: 0.45rem 0 0.25rem;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.72);
}
.events-page .events-section .featured-event {
  margin-bottom: 32px;
}

.events-page .events-section .featured-event:last-of-type {
  margin-bottom: 0;
}

.events-page .section-head h1 {
  color: var(--text);
  font-size: clamp(2rem, 4vw, 3rem);
}

.featured-location {
  margin: 0.45rem 0 0.25rem;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.72);
}
.featured-event--bleed {
  display: grid;
  grid-template-columns: minmax(280px, 38%) 1fr;
  gap: 0;
  overflow: hidden;
  align-items: start;
}

.featured-event-media--bleed {
  position: relative;
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.04)),
    #f8f8f6;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 28px;
  padding-top: 20px; 
}
.featured-event--editorial {
  display: grid;
  grid-template-columns: minmax(500px, 45%) 1fr;
  gap: 0;
  background: #f6f1ea;
  border: 1px solid rgba(8, 60, 74, 0.08);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.featured-editorial-left {
  padding:  20px;
  border-right: 1px solid rgba(8, 60, 74, 0.08);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
/* House Walk image larger on events page */
.events-page #housewalk .featured-event-media {
  padding: 1rem;
}

.events-page #housewalk .featured-event-media img {
  width: 100%;
  max-width: none;
  display: block;
}


.featured-event-media--editorial {
  position: relative;
  background: transparent;
}

.featured-event-media--editorial img {
  width: 100%;
  display: block;
  border-radius: 18px;
  background: rgba(255,255,255,0.72);
  box-shadow:
    0 14px 34px rgba(15, 23, 42, 0.10),
    0 4px 12px rgba(15, 23, 42, 0.06);
}

.featured-pill--overlay {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
}

.featured-editorial-copy {
  background: rgba(255,255,255,0.35);
  border-radius: 18px;
  padding: 4px 2px 0;
}

.featured-editorial-copy .featured-title {
  margin-bottom: 10px;
}

.featured-editorial-copy .featured-date {
  margin-bottom: 18px;
}

.featured-editorial-copy .featured-tagline {
  margin-bottom: 18px;
}

.featured-editorial-right {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.featured-event--editorial .featured-proof-grid {
  margin-top: 0;
}

.featured-event--editorial .featured-actions {
  margin-top: 24px;
}

.featured-event--editorial .save-note {
  margin-top: 14px;
}

@media (max-width: 1100px) {
  .featured-event--editorial {
    grid-template-columns: 360px 1fr;
  }
}

@media (max-width: 900px) {
  .featured-event--editorial {
    grid-template-columns: 1fr;
  }

  .featured-editorial-left {
    border-right: none;
    border-bottom: 1px solid rgba(8, 60, 74, 0.08);
  }

  .featured-editorial-right {
    padding-top: 22px;
  }
}

.featured-event-media--bleed img {
  width: 100%;
  max-width: 420px;
  display: block;
  border-radius: 18px;
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.14),
    0 4px 14px rgba(15, 23, 42, 0.08);
  background: rgba(255,255,255,0.82);
  padding: 10px;
}

.featured-event--bleed .featured-event-body {
  padding: 36px 40px;
}

.featured-event--bleed .featured-title {
  margin-top: 10px;
}

@media (max-width: 980px) {
  .featured-event--bleed {
    grid-template-columns: 1fr;
  }

  .featured-event-media--bleed {
    padding: 24px 24px 10px;
  }

  .featured-event-media--bleed img {
    max-width: 520px;
  }

  .featured-event--bleed .featured-event-body {
    padding: 24px;
  }
}
.featured-event-media--bleed img {
  width: 108%;
  max-width: 460px;
  margin-left: -10px;
}
#housewalk .featured-event-media {
  flex: 0 0 460px;   
}
#housewalk .featured-event-media--editorial {
  padding: 0 !important;
  align-items: flex-start !important;
}
#housewalk .featured-event-media img {
  margin-top: 6px;
}