:root {
  --teal-900: #064e50;
  --teal-800: #0a5c5f;
  --teal-700: #0d7377;
  --teal-600: #109096;
  --teal-100: #e6f4f4;
  --teal-50: #f2faf9;
  --navy: #1a2332;
  --navy-deep: #0f1623;
  --cream: #faf8f4;
  --cream-alt: #f3f0ea;
  --gold: #f59e0b;
  --gold-hover: #fbbf24;
  --gold-dark: #92400e;
  --zeffy-blue: #2563eb;
  --zeffy-blue-light: #dbeafe;
  --zeffy-blue-dark: #1d4ed8;
  --ink: var(--navy);
  --ink-muted: #5a6578;
  --ink-light: #8b95a5;
  --surface: #ffffff;
  --surface-alt: var(--cream);
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(26, 35, 50, 0.06);
  --shadow-md: 0 6px 20px rgba(26, 35, 50, 0.08);
  --shadow-lg: 0 12px 32px rgba(6, 78, 80, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-serif: "Fraunces", Georgia, serif;
  --header-h: 60px;
  --section-y: clamp(2rem, 4vw, 3rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.5rem);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.975rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--teal-700);
  text-decoration: none;
}

a:hover {
  color: var(--teal-900);
}

h1, h2, h3 {
  font-family: var(--font-serif);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(1.85rem, 4.5vw, 2.75rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; }
h3 { font-size: 1.1rem; font-weight: 600; }

em {
  font-style: normal;
  color: var(--teal-700);
}

.container {
  width: min(1080px, calc(100% - 1.5rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.5rem 0.85rem;
  background: var(--teal-700);
  color: white;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 0.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 0.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
  min-width: 0;
}

.brand-mark {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.brand:hover {
  color: var(--ink);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand-text strong {
  font-family: var(--font-serif);
  font-size: 0.95rem;
}

.brand-text span {
  font-size: 0.7rem;
  color: var(--ink-muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-left: auto;
}

.site-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.2s;
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--teal-700);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.header-actions .btn-donate {
  position: relative;
  z-index: 2;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.4rem;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.15rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-sm { padding: 0.45rem 1rem; font-size: 0.8125rem; }
.btn-lg { padding: 0.7rem 1.35rem; font-size: 0.9375rem; }
.btn-block { width: 100%; }

.btn-donate {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.45);
}

.btn-donate:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  color: var(--navy-deep);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.55);
}

.btn-donate-outline {
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold-hover);
  border-color: var(--gold);
}

.btn-donate-outline:hover {
  background: rgba(245, 158, 11, 0.25);
  color: white;
  border-color: var(--gold-hover);
}

.btn-primary {
  background: var(--zeffy-blue);
  color: white;
}

.btn-primary:hover {
  background: var(--zeffy-blue-dark);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: rgba(255, 255, 255, 0.75);
}

.btn-cashapp {
  background: #00d632;
  color: white;
}

.btn-cashapp:hover {
  background: #00bf2d;
  color: white;
}

/* Hero */
.hero {
  position: relative;
  padding: var(--section-y) 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 15% 35%, rgba(245, 158, 11, 0.1), transparent),
    linear-gradient(165deg, var(--navy-deep) 0%, var(--teal-900) 50%, var(--teal-800) 100%);
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.75rem;
  align-items: center;
}

.hero-copy {
  color: white;
}

.hero-copy h1 em {
  color: var(--gold-hover);
}

.hero-lead {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 520px;
  margin: 0.85rem 0 1.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.72);
}

.hero-stats li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.stat-icon {
  color: var(--gold);
  font-size: 0.45rem;
}

.hero-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
}

.hero-card-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-700);
  margin: 0 0 0.35rem;
}

.hero-card h2 {
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}

.hero-card p {
  color: var(--ink-muted);
  font-size: 0.9rem;
  margin: 0 0 1rem;
}

.hero-card-note {
  margin: 0.65rem 0 0 !important;
  font-size: 0.8125rem;
  text-align: center;
}

.hero-card-note strong {
  color: var(--teal-700);
}

.eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal-700);
  background: var(--teal-100);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.65rem;
}

.eyebrow-hero {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
}

.eyebrow-light {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
}

/* Sections */
.section {
  padding: var(--section-y) 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 1.75rem;
}

.section-header-light {
  color: white;
}

.section-header-light em {
  color: var(--gold-hover);
}

.section-intro {
  color: var(--ink-muted);
  font-size: 0.975rem;
  margin: 0.65rem 0 0;
}

.section-intro-compact {
  font-size: 0.9rem;
}

.section-header-light .section-intro {
  color: rgba(255, 255, 255, 0.82);
}

.section-about {
  background: var(--cream);
}

.section-services {
  background: var(--surface);
}

/* Cards */
.card-grid {
  display: grid;
  gap: 1rem;
}

.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }

.info-card,
.service-card,
.cta-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.15rem;
  box-shadow: var(--shadow-sm);
}

.info-card:hover,
.service-card:hover,
.cta-card:hover {
  box-shadow: var(--shadow-md);
}

.info-icon,
.service-icon,
.cta-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.info-icon {
  background: var(--teal-700);
  color: white;
}

.info-icon svg,
.service-icon svg,
.cta-icon svg {
  width: 20px;
  height: 20px;
}

.info-card h3,
.service-card h3,
.cta-card h3 {
  margin: 0 0 0.35rem;
}

.info-card p,
.service-card p,
.cta-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.875rem;
}

.service-card {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.service-icon {
  background: var(--teal-100);
  color: var(--teal-700);
  flex-shrink: 0;
  margin-bottom: 0;
}

.quote-block {
  margin: 1.5rem 0 0;
  padding: 1.25rem 1.35rem;
  background: white;
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
  box-shadow: var(--shadow-sm);
}

.quote-block p {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--ink);
  margin: 0 0 0.75rem;
}

.quote-block footer {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.quote-block cite {
  font-style: normal;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--teal-700);
}

.serve-strip {
  margin-top: 1.5rem;
  text-align: center;
}

.serve-strip h3 {
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.serve-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.serve-tags li {
  padding: 0.4rem 0.85rem;
  background: var(--teal-100);
  color: var(--teal-800);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
}

/* Donate section — light background to blend with Zeffy embed */
.section-donate {
  background: var(--cream);
  color: var(--ink);
}

.section-donate .section-header em {
  color: var(--zeffy-blue);
}

.section-donate .eyebrow {
  background: var(--zeffy-blue-light);
  color: var(--zeffy-blue-dark);
}

.section-donate .section-intro {
  color: var(--ink-muted);
}

.donate-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.5fr;
  gap: 1rem;
  align-items: start;
}

.donate-main {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  min-height: 400px;
}

.zeffy-embed-wrap {
  width: 100%;
}

.donate-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.donate-option {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem;
  box-shadow: var(--shadow-sm);
}

.donate-option h3 {
  margin: 0 0 0.5rem;
  color: var(--ink);
  font-size: 0.9375rem;
}

.donate-option p {
  margin: 0 0 0.65rem;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

.donate-option-qr h3 {
  margin-bottom: 0.35rem;
}

.qr-figure {
  margin: 0;
  text-align: center;
}

.qr-figure img {
  margin: 0 auto;
  border-radius: var(--radius-sm);
  background: white;
  padding: 0.5rem;
  border: 1px solid var(--border);
}

.qr-figure figcaption a {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--zeffy-blue);
  font-size: 0.8125rem;
  font-weight: 600;
}

.qr-figure figcaption a:hover {
  color: var(--zeffy-blue-dark);
}

.cashapp-handle {
  font-size: 1.25rem !important;
  font-weight: 700;
  margin: 0 0 0.65rem !important;
}

.cashapp-handle a {
  color: #16a34a;
}

.cashapp-handle a:hover {
  color: #15803d;
}

.tax-note {
  text-align: center;
  margin: 1.25rem 0 0;
  font-size: 0.75rem;
  color: var(--ink-muted);
}

/* CTA cards */
.cta-card-primary {
  background: var(--teal-700);
  border-color: var(--teal-700);
  color: white;
}

.cta-card-primary h3,
.cta-card-primary p {
  color: white;
}

.cta-card-primary p {
  opacity: 0.88;
}

.cta-icon {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.cta-icon-teal {
  background: var(--teal-100);
  color: var(--teal-700);
}

.cta-card .btn {
  margin-top: 0.85rem;
}

.section-involved {
  background: var(--cream-alt);
}

/* Contact */
.section-contact {
  background: linear-gradient(180deg, var(--cream), white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  align-items: start;
}

.contact-info h2 em {
  color: var(--teal-700);
}

.contact-info > p {
  color: var(--ink-muted);
  font-size: 0.925rem;
  margin-bottom: 1.25rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-list li {
  display: flex;
  gap: 0.75rem;
}

.contact-icon {
  width: 38px;
  height: 38px;
  background: var(--teal-700);
  color: white;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 18px;
  height: 18px;
}

.contact-list strong {
  display: block;
  margin-bottom: 0.1rem;
  font-size: 0.875rem;
}

.contact-list span,
.contact-list a {
  display: block;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.contact-form-wrap {
  position: relative;
}

.contact-form {
  background: white;
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.contact-form h3 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
}

.contact-form label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 0.3rem;
  padding: 0.6rem 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--cream);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--teal-600);
  box-shadow: 0 0 0 3px rgba(13, 115, 119, 0.12);
}

.contact-form textarea {
  resize: vertical;
  min-height: 96px;
}

.form-success {
  background: white;
  border-radius: var(--radius);
  padding: 2rem 1.25rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--teal-100);
  text-align: center;
}

.form-success p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--teal-800);
  font-weight: 600;
}

.honeypot {
  display: none;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.65);
  padding: 1.25rem 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
}

.footer-brand-block {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.footer-brand-block strong {
  color: white;
  font-family: var(--font-serif);
  font-size: 0.9rem;
}

.footer-tagline {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.8125rem;
}

.footer-nav a:hover {
  color: var(--gold-hover);
}

.footer-legal {
  font-size: 0.6875rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.35);
  width: 100%;
  text-align: center;
}

@media (min-width: 769px) {
  .footer-legal {
    width: auto;
    text-align: right;
    margin-left: auto;
  }
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .donate-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .card-grid-3,
  .card-grid-2 {
    grid-template-columns: 1fr;
  }

  .donate-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .donate-option {
    flex: 1 1 200px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.65rem;
    margin-left: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s, opacity 0.25s;
    z-index: 99;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 0.35rem 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    text-align: center;
  }
}
