/* Hope for Tomorrow — shared styles */
:root {
  --green: #009344;
  --green-dark: #00703a;
  --yellow: #FFDD18;
  --red: #ED1C24;
  --ink: #1f2a24;
  --muted: #56615b;
  --bg: #ffffff;
  --soft: #f4f8f5;
  --line: #dfe7e2;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; line-height: 1.2; color: var(--ink); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 .5rem; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin: 0 0 1rem; }
h3 { font-size: 1.3rem; margin: 0 0 .5rem; }
p { margin: 0 0 1rem; }
a { color: var(--green-dark); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header / nav */
.stripe { height: 6px; background: linear-gradient(90deg, var(--red) 0 33.3%, var(--yellow) 33.3% 66.6%, var(--green) 66.6%); }
header.site { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { height: 52px; width: auto; }
.brand span { font-family: "Fraunces", Georgia, serif; font-weight: 700; font-size: 1.15rem; line-height: 1.1; }
.brand small { display: block; font-family: "Source Sans 3", Arial, sans-serif; font-weight: 600; font-size: .72rem; letter-spacing: .12em; color: var(--green); }
nav.main ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
nav.main a { display: block; padding: 8px 12px; border-radius: 6px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; }
nav.main a:hover { background: var(--soft); }
nav.main a.active { background: var(--green); color: #fff; }
nav.main a.donate { background: var(--red); color: #fff; }

/* Hero */
.hero { position: relative; color: #fff; min-height: 520px; display: flex; align-items: flex-end; background: #133 center/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.72) 75%); }
.hero .wrap { position: relative; padding-top: 60px; padding-bottom: 50px; }
.hero h1, .hero p { text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.hero h1 { color: #fff; max-width: 780px; }
.hero p { font-size: 1.2rem; max-width: 680px; }
.page-hero { min-height: 340px; }

.btn { display: inline-block; padding: 12px 22px; border-radius: 8px; font-weight: 700; text-decoration: none; margin: 6px 8px 0 0; }
.btn-green { background: var(--green); color: #fff; }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-outline { border: 2px solid currentColor; color: inherit; }

/* Sections */
section { padding: 64px 0; }
section.soft { background: var(--soft); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: var(--green); margin-bottom: .4rem; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 820px; }
.quote { font-family: "Fraunces", Georgia, serif; font-size: 1.35rem; border-left: 5px solid var(--yellow); padding: 6px 0 6px 18px; margin: 1.5rem 0; }

.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }
.split img, .rounded { border-radius: 12px; }

.card { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.card .body { padding: 18px 20px 20px; }
.card .body p:last-child { margin-bottom: 0; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; margin: 24px 0; }
.stat { background: #fff; border-top: 5px solid var(--green); border-radius: 10px; padding: 18px; text-align: center; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.stat:nth-child(3n+2) { border-color: var(--yellow); }
.stat:nth-child(3n) { border-color: var(--red); }
.stat b { display: block; font-family: "Fraunces", Georgia, serif; font-size: 2rem; color: var(--ink); }
.stat span { color: var(--muted); font-size: .95rem; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 700px) { .values { grid-template-columns: 1fr; } }
.value { padding: 22px; border-radius: 12px; color: #fff; }
.value h3 { color: inherit; }
.v-red { background: var(--red); } .v-yellow { background: var(--yellow); color: var(--ink); } .v-green { background: var(--green); }

ol.programs { padding-left: 1.2rem; }
ol.programs li { margin-bottom: .6rem; }

/* Board */
.member { display: grid; grid-template-columns: 220px 1fr; gap: 28px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.member:last-child { border-bottom: 0; }
.member img { width: 220px; aspect-ratio: 6/7; object-fit: cover; border-radius: 12px; }
.member .role { color: var(--green-dark); font-weight: 700; margin-bottom: .8rem; }
@media (max-width: 640px) { .member { grid-template-columns: 1fr; } .member img { width: 180px; } }
.board-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 20px; }
.board-grid a { text-decoration: none; color: var(--ink); text-align: center; }
.board-grid img { aspect-ratio: 6/7; object-fit: cover; border-radius: 10px; margin-bottom: 8px; width: 100%; }
.board-grid b { display: block; }
.board-grid span { font-size: .88rem; color: var(--muted); }

/* Gallery */
.gallery { columns: 3 280px; column-gap: 16px; }
.gallery figure { break-inside: avoid; margin: 0 0 16px; background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.gallery figcaption { padding: 10px 14px; font-size: .92rem; color: var(--muted); }
.photo-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 24px; }
.photo-row img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; }
figure.cap { margin: 0; }
figure.cap figcaption { font-size: .9rem; color: var(--muted); margin-top: 6px; }

.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.subnav a { background: rgba(255,255,255,.92); color: var(--ink); padding: 6px 12px; border-radius: 20px; text-decoration: none; font-weight: 600; font-size: .9rem; }

.note { background: #fffbe0; border: 1px solid #f1df6b; border-radius: 10px; padding: 14px 18px; font-size: .95rem; }

/* Contact form */
form.contact { display: grid; gap: 12px; max-width: 560px; }
form.contact label { font-weight: 600; font-size: .95rem; }
form.contact input, form.contact textarea, form.contact select { width: 100%; padding: 10px 12px; border: 1px solid #c9d4cd; border-radius: 8px; font: inherit; }
form.contact button { justify-self: start; border: 0; cursor: pointer; font: inherit; }

/* Footer */
footer.site { background: #12261b; color: #d8e4dc; padding: 48px 0 24px; font-size: .95rem; }
footer.site a { color: #fff; }
footer.site .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; }
footer.site h3 { color: #fff; font-size: 1.05rem; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin-bottom: 4px; }
footer.site .copy { border-top: 1px solid #2c4436; margin-top: 32px; padding-top: 16px; font-size: .85rem; color: #9fb3a6; }
footer.site .tag { font-family: "Fraunces", Georgia, serif; font-size: 1.2rem; color: var(--yellow); }

@media (max-width: 860px) {
  body { font-size: 17px; }
  nav.main ul { gap: 2px; }
  nav.main a { padding: 6px 9px; font-size: .9rem; }
  .hero { min-height: 420px; }
}

/* Facebook */
nav.main a.fb { display: flex; align-items: center; height: 100%; color: #1877F2; padding: 8px 10px; }
nav.main a.fb:hover { background: #e9f1fe; }
.btn-fb { background: #1877F2; color: #fff; display: inline-flex; align-items: center; gap: 8px; }
.btn-fb svg { flex: none; }
.btn { vertical-align: middle; }

/* Brochure download */
.brochure-box { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; background: var(--soft); border: 1px solid var(--line); border-left: 6px solid var(--green); border-radius: 12px; padding: 20px 24px; }
.brochure-box svg { color: var(--green); flex: none; }
.brochure-box > div { flex: 1 1 280px; }
.brochure-box h3, .brochure-box p { margin: 0 0 .25rem; }
.brochure-box p { color: var(--muted); }

/* Annual reports */
.reports { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 24px; margin-top: 20px; }
.report { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 2px; }
.report img { width: 100%; aspect-ratio: 8.5/11; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); box-shadow: 0 4px 14px rgba(0,0,0,.10); margin-bottom: 10px; transition: transform .15s; }
.report:hover img { transform: translateY(-4px); }
.report b { font-family: "Fraunces", Georgia, serif; font-size: 1.1rem; }
.report span { color: var(--green-dark); font-weight: 600; font-size: .95rem; }
.report small { color: var(--muted); }

/* Split hero (full photo visible) */
.hero-split { background: linear-gradient(135deg, var(--green-dark), var(--green)); color: #fff; padding: 48px 0; }
.hero-split .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.hero-split h1 { color: #fff; }
.hero-split p { font-size: 1.2rem; max-width: 560px; }
.hero-split img { width: 100%; max-width: 440px; justify-self: end; border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
@media (max-width: 760px) { .hero-split .wrap { grid-template-columns: 1fr; } .hero-split img { justify-self: center; } }

/* Sponsor logos */
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; margin-top: 20px; }
.logo { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 10px; transition: box-shadow .15s; }
.logo:hover { box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.logo img { width: 100%; height: 130px; object-fit: contain; }
.logo figcaption { font-size: .85rem; color: var(--muted); text-align: center; line-height: 1.3; }

/* Holiday announcement bar */
.announce { display: block; background: var(--red); color: #fff; text-align: center; padding: 8px 16px; font-size: .95rem; text-decoration: none; }
.announce:hover { background: #c8141b; }

/* Holiday fundraising page */
.holiday-hero { min-height: 480px; }
.holiday-hero::before { background: linear-gradient(180deg, rgba(120,0,0,.25) 0%, rgba(60,0,0,.75) 80%); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #c8141b; }
.letter { max-width: 780px; }
.sub-h { font-family: "Fraunces", Georgia, serif; font-size: 1.25rem; color: var(--green-dark); margin-top: -.4rem; }
.jump { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 20px; }
.jump a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 700; background: #fff; }
.jump a:hover { border-color: var(--green); }
.jump span { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: "Fraunces", Georgia, serif; }
.jump a:nth-child(1) span { background: var(--red); }
.jump a:nth-child(2) span { background: #d4b100; }
.jump a:nth-child(3) span { background: var(--green); }
.holiday-cta { background: linear-gradient(135deg, #8f0d12, var(--red)); color: #fff; }
.holiday-cta h2 { color: #fff; }
.holiday-cta .three { font-size: 1.3rem; margin-bottom: 1.4rem; }
.btn.big { font-size: 1.15rem; padding: 16px 28px; }
.holiday-hero { background-position: center 22%; }
