/* The Love People Project — thelovepeopleproject.com
   Brand: teal + red heart badge. Mobile-first. */

:root {
  --teal: #4f9e9b;
  --teal-dark: #33706d;
  --teal-deep: #21504d;
  --red: #d21f1f;
  --red-dark: #b01717;
  --cream: #fbf7f2;
  --ink: #1e2d2c;
  --muted: #52625f;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 4px 18px rgba(30, 45, 44, 0.10);
  --maxw: 1120px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}

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

h1, h2, h3 { line-height: 1.2; font-weight: 800; margin: 0 0 0.6em; }
h1 { font-size: clamp(1.9rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--teal-dark); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--red); color: #fff; padding: 0.7rem 1.2rem;
  z-index: 200; border-radius: 0 0 var(--radius) 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
  border-radius: 4px;
}

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

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 10px rgba(30,45,44,0.08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.6rem 1.25rem;
  max-width: var(--maxw); margin: 0 auto;
}
.brand {
  display: flex; align-items: center; gap: 0.65rem;
  text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.05rem;
  line-height: 1.15;
}
.brand img { width: 52px; height: 51px; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: 0; padding: 0.6rem; cursor: pointer;
}
.nav-toggle span {
  width: 26px; height: 3px; background: var(--ink); border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.site-nav { display: none; width: 100%; }
.site-nav.open { display: block; }
.site-nav ul {
  list-style: none; margin: 0; padding: 0.5rem 0 1rem;
  display: flex; flex-direction: column; gap: 0.25rem;
}
.site-nav a {
  display: block; padding: 0.75rem 0.5rem;
  text-decoration: none; color: var(--ink); font-weight: 700; border-radius: 8px;
}
.site-nav a:hover { background: var(--cream); color: var(--teal-dark); }
.site-nav a[aria-current="page"] { color: var(--red); }
.site-nav .nav-cta a {
  background: var(--red); color: #fff; text-align: center; border-radius: 999px;
  padding: 0.75rem 1.4rem; margin-top: 0.35rem;
}
.site-nav .nav-cta a:hover { background: var(--red-dark); }

@media (min-width: 800px) {
  .header-inner { flex-wrap: nowrap; }
  .nav-toggle { display: none; }
  .site-nav { display: block; width: auto; }
  .site-nav ul { flex-direction: row; align-items: center; gap: 0.35rem; padding: 0; }
  .site-nav a { padding: 0.55rem 0.9rem; }
  .site-nav .nav-cta a { margin: 0 0 0 0.5rem; padding: 0.55rem 1.4rem; }
}
@media (max-width: 799.98px) {
  .header-inner { flex-wrap: wrap; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; background: var(--red); color: #fff;
  font-weight: 800; font-size: 1.05rem; text-decoration: none;
  padding: 0.85rem 2rem; border-radius: 999px; border: 2px solid var(--red);
  cursor: pointer; transition: background 0.15s ease;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-outline {
  background: transparent; color: var(--teal-deep); border-color: var(--teal-dark);
}
.btn-outline:hover { background: var(--teal-dark); color: #fff; }
.on-dark .btn-outline { color: #fff; border-color: #fff; }
.on-dark .btn-outline:hover { background: #fff; color: var(--teal-deep); }

/* ---------- Hero ---------- */
.hero { background: var(--teal); color: #fff; }
.hero-grid {
  display: grid; gap: 2rem; padding: 3rem 0 3.5rem; align-items: center;
}
.hero h1 { color: #fff; }
.hero p.lead { font-size: 1.2rem; margin-bottom: 1.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero-photo img {
  border-radius: var(--radius); box-shadow: var(--shadow);
  aspect-ratio: 5 / 4; object-fit: cover; width: 100%;
}
@media (min-width: 800px) {
  .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 3rem; padding: 4.5rem 0 5rem; }
}

/* ---------- Sections ---------- */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--white); }
.section-teal { background: var(--teal-deep); color: #fff; }
.section-teal h2 { color: #fff; }
.eyebrow {
  display: inline-block; color: var(--red); font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem;
  margin-bottom: 0.4rem;
}
.section-teal .eyebrow { color: #ffd7d7; }
.center { text-align: center; }
.measure { max-width: 46rem; }
.center .measure { margin-left: auto; margin-right: auto; }

/* Cards */
.card-grid { display: grid; gap: 1.4rem; margin-top: 2rem; }
.card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; display: flex; flex-direction: column;
}
.section-alt .card { border: 1px solid #eee7de; box-shadow: none; }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card-body { padding: 1.4rem 1.5rem 1.6rem; }
.card-body p { margin-bottom: 0; color: var(--muted); }
@media (min-width: 700px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }

/* Split (image + text) */
.split { display: grid; gap: 2rem; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (min-width: 800px) {
  .split { grid-template-columns: 1fr 1.15fr; gap: 3.5rem; }
  .split.flip > .split-img { order: 2; }
}

/* Quote band */
.quote-band blockquote {
  margin: 0; font-size: clamp(1.2rem, 2.6vw, 1.6rem); font-weight: 700; line-height: 1.5;
}
.quote-band .heart { color: #ff6b6b; }

/* Gallery */
.gallery { display: grid; gap: 0.9rem; grid-template-columns: repeat(2, 1fr); margin-top: 2rem; }
.gallery img {
  border-radius: 10px; aspect-ratio: 1 / 1; object-fit: cover; width: 100%;
}
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(4, 1fr); } }

/* Stat / trust strip */
.trust-strip {
  display: grid; gap: 1.5rem; grid-template-columns: 1fr 1fr; text-align: center;
  padding: 2.2rem 0;
}
.trust-strip strong { display: block; font-size: 1.15rem; color: var(--teal-deep); }
.trust-strip span { color: var(--muted); font-size: 0.95rem; }
@media (min-width: 700px) { .trust-strip { grid-template-columns: repeat(4, 1fr); } }

/* CTA band */
.cta-band { background: var(--red); color: #fff; text-align: center; padding: 3.5rem 0; }
.cta-band h2 { color: #fff; }
.cta-band .btn { background: #fff; color: var(--red); border-color: #fff; }
.cta-band .btn:hover { background: var(--cream); }

/* ---------- Donate page ---------- */
.donate-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 2rem 1.75rem; max-width: 32rem;
}
.donate-card h3 { color: var(--teal-deep); }
.zelle-number {
  font-size: 1.6rem; font-weight: 800; color: var(--red);
  display: inline-block; margin: 0.3rem 0 0.6rem;
}
.steps { padding-left: 1.2rem; margin: 0 0 1em; }
.steps li { margin-bottom: 0.55rem; }
.fineprint { font-size: 0.9rem; color: var(--muted); }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 1rem; max-width: 34rem; }
.form-grid label { font-weight: 700; display: block; margin-bottom: 0.3rem; }
.form-grid input, .form-grid textarea {
  width: 100%; padding: 0.8rem 0.9rem; font: inherit;
  border: 2px solid #d8d2c8; border-radius: 10px; background: #fff; color: var(--ink);
}
.form-grid input:focus, .form-grid textarea:focus { border-color: var(--teal); outline: none; }
.form-note { font-size: 0.95rem; color: var(--muted); }
.form-status { font-weight: 700; margin-top: 0.75rem; }
.form-status.ok { color: var(--teal-dark); }
.form-status.err { color: var(--red); }

.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.contact-list li { margin-bottom: 0.9rem; padding-left: 0; }
.contact-list strong { display: block; color: var(--teal-deep); }
.contact-list a { font-weight: 700; }

/* ---------- Events ---------- */
.event-empty {
  background: var(--white); border: 2px dashed var(--teal); border-radius: var(--radius);
  padding: 2.5rem 1.5rem; text-align: center; max-width: 40rem; margin: 0 auto;
}
.event-past { max-width: 46rem; }
.event-past img { border-radius: var(--radius); box-shadow: var(--shadow); max-width: 380px; width: 100%; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-deep); color: #dceceb; padding: 3rem 0 2rem; }
.footer-grid { display: grid; gap: 2rem; }
.site-footer h3 { color: #fff; font-size: 1.05rem; }
.site-footer a { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.footer-brand img { width: 84px; height: 82px; margin-bottom: 0.8rem; }
.footer-belief { font-style: italic; max-width: 24rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.18); margin-top: 2.2rem; padding-top: 1.3rem;
  font-size: 0.9rem; color: #b8d2d0;
}
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
