:root {
  --purple: #700078;
  --purple-dark: #4d0052;
  --green: #3fb739;
  --teal: #0e7162;
  --teal-dark: #0a5548;
  --mint: #26c699;
  --ink: #1f2430;
  --ink-soft: #4a5160;
  --paper: #ffffff;
  --paper-tint: #f4f8f6;
  --line: #e2e8e5;
  --serif: "Faustina", Georgia, "Times New Roman", serif;
  --sans: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(14, 113, 98, 0.10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--teal); line-height: 1.15; margin: 0 0 0.5em; font-weight: 600; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1.1em; }
p, li, dd, h1, h2, h3, h4, a { overflow-wrap: anywhere; }
blockquote { margin: 1.5em 0; padding: 0.5em 0 0.5em 1.25em; border-left: 4px solid var(--green); font-family: var(--serif); font-size: 1.25rem; color: var(--purple-dark); }
blockquote p { margin: 0; }
dl { margin: 0; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--purple); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.button { display: inline-block; background: var(--mint); color: #fff !important; text-decoration: none; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.85rem; padding: 0.9em 1.6em; border-radius: 999px; border: 2px solid var(--mint); transition: background 0.15s, border-color 0.15s, transform 0.15s; }
.button:hover { background: var(--teal); border-color: var(--teal); transform: translateY(-1px); }
.button-outline { background: transparent; color: var(--teal) !important; border-color: var(--teal); }
.button-outline:hover { background: var(--teal); color: #fff !important; }
.button-outline-light { background: transparent; border-color: rgba(255,255,255,0.7); }
.button-outline-light:hover { background: rgba(255,255,255,0.15); border-color: #fff; }
.button-small { padding: 0.6em 1.2em; font-size: 0.78rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5em; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; position: relative; }
.brand img { width: 190px; height: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav a { display: block; padding: 10px 12px; color: var(--ink-soft); text-decoration: none; font-weight: 700; font-size: 0.92rem; border-radius: 8px; }
.site-nav a:hover { color: var(--purple); background: var(--paper-tint); }
.site-nav a[aria-current="page"] { color: var(--purple); }
.nav-cta { margin-left: 8px; }
.nav-cta .button { color: #fff !important; }
.nav-toggle, .nav-button { display: none; }
@media (max-width: 860px) {
  .nav-button { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; cursor: pointer; padding: 8px; border-radius: 8px; }
  .nav-button span { display: block; height: 3px; background: var(--purple); border-radius: 2px; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px 16px 16px; }
  .site-nav ul { flex-direction: column; align-items: stretch; }
  .site-nav a { padding: 12px; font-size: 1rem; }
  .nav-cta { margin: 8px 0 0; }
  .nav-cta .button { text-align: center; }
  .nav-toggle:checked ~ .site-nav { display: block; }
}

/* Home hero */
.hero { background: linear-gradient(180deg, var(--paper-tint) 0%, #fff 100%); padding: clamp(40px, 7vw, 96px) 0; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.hero h1 { color: var(--teal); }
.hero .lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 34em; }
.hero-image { width: 100%; border-radius: var(--radius); box-shadow: 0 24px 60px rgba(112, 0, 120, 0.18); border: 6px solid var(--green); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 700; color: var(--purple); margin-bottom: 0.75em; }
.eyebrow a { color: inherit; text-decoration: none; }
@media (max-width: 760px) { .hero-inner { grid-template-columns: minmax(0, 1fr); } .hero-image { max-width: 420px; margin-inline: auto; } }

/* Sections */
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section-tint { background: var(--paper-tint); }
.section-head { max-width: 46em; margin-bottom: 2.5em; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
@media (max-width: 760px) { .two-col { grid-template-columns: minmax(0, 1fr); } }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 24px; }
.card { display: block; background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform 0.15s, box-shadow 0.15s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(14, 113, 98, 0.16); }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card h3 { font-size: 1.15rem; margin: 0; padding: 18px 20px 6px; color: var(--purple-dark); }
.card p { padding: 0 20px 20px; margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.card .more { display: block; padding: 0 20px 20px; font-weight: 700; color: var(--teal); font-size: 0.9rem; }

/* Callouts */
.callout { background: var(--teal); color: #fff; border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); }
.callout h2, .callout h3 { color: #fff; }
.callout a:not(.button) { color: #fff; }
.callout-purple { background: var(--purple); }
.appeal { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
@media (max-width: 760px) { .appeal { grid-template-columns: minmax(0, 1fr); } }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 24px; margin-top: 2em; }
.stat { border-top: 4px solid var(--green); padding-top: 14px; }
.stat strong { display: block; font-family: var(--serif); font-size: 2rem; color: var(--purple); line-height: 1; margin-bottom: 6px; }
.stat span { color: var(--ink-soft); font-size: 0.95rem; }

/* Page hero */
.page-hero { background: linear-gradient(135deg, var(--paper-tint), #fff 60%); border-bottom: 1px solid var(--line); padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 48px); }
.page-hero h1 { margin-bottom: 0.3em; }
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 40em; }
.page-body { padding: clamp(36px, 5vw, 64px) 0; }
.page-body h2 { margin-top: 1.6em; }
.page-body h2:first-child { margin-top: 0; }
.quote-banner { font-family: var(--serif); font-size: clamp(1.2rem, 2.2vw, 1.55rem); color: var(--purple-dark); border-left: 4px solid var(--green); padding-left: 1em; margin: 0 0 2em; max-width: 42em; }

/* Project pages */
.project-hero { background: var(--paper-tint); padding: clamp(36px, 6vw, 72px) 0; }
.project-hero-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.project-hero-image { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.project-meta { display: flex; gap: 32px; margin-top: 1.5em; }
.project-meta dt { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.72rem; font-weight: 700; color: var(--purple); }
.project-meta dd { margin: 2px 0 0; font-weight: 700; color: var(--ink); }
@media (max-width: 760px) { .project-hero-inner { grid-template-columns: minmax(0, 1fr); } }
.project-body { font-size: 1.05rem; }
.project-body ul { padding-left: 1.2em; }
.gallery-section { padding-bottom: clamp(36px, 5vw, 64px); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 14px; }
.gallery a { display: block; border-radius: 10px; overflow: hidden; background: var(--paper-tint); }
.gallery img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform 0.2s; }
.gallery a:hover img { transform: scale(1.03); }
.more-projects { padding: clamp(36px, 5vw, 64px) 0; border-top: 1px solid var(--line); }
.more-projects .card h3 { padding-bottom: 18px; font-size: 1rem; }

/* Timeline (Our Story) */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding-left: 40px; margin-bottom: 2.5em; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 10px; width: 16px; height: 16px; border-radius: 50%; background: var(--green); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--green); }
.timeline h2 { color: var(--purple); margin-top: 0; font-size: 1.6rem; }
.timeline .photo-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(180px, 100%), 1fr)); gap: 12px; margin: 1em 0 0; }
.timeline .photo-row img { border-radius: 10px; aspect-ratio: 4 / 3; object-fit: cover; }

/* Team */
.team-grid { display: grid; gap: 32px; }
.member { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.member img { width: 200px; height: 200px; object-fit: cover; border-radius: 50%; border: 5px solid var(--paper-tint); }
.member h2 { font-size: 1.5rem; margin: 0; color: var(--purple-dark); }
.member .role { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 700; color: var(--teal); margin: 4px 0 12px; }
.member .quote { font-family: var(--serif); font-style: italic; color: var(--ink-soft); margin-bottom: 1em; }
.member details { margin-top: 0.5em; }
.member summary { cursor: pointer; font-weight: 700; color: var(--teal); }
.member details p { margin-top: 1em; }
@media (max-width: 640px) { .member { grid-template-columns: 1fr; } .member img { width: 140px; height: 140px; } }

/* Donors */
.donor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.donor { background: var(--paper-tint); border-radius: var(--radius); padding: 24px; }
.donor h2 { font-size: 1.25rem; margin-top: 0; color: var(--purple-dark); }
.donor p:last-child { margin-bottom: 0; }

/* Forms */
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: 0.95rem; }
.form input, .form textarea { font: inherit; padding: 12px 14px; border: 1px solid #c9d3cf; border-radius: 10px; width: 100%; }
.form input:focus, .form textarea:focus { outline: 3px solid rgba(38,198,153,0.35); border-color: var(--teal); }
.form textarea { min-height: 160px; resize: vertical; }
.form button { font: inherit; cursor: pointer; justify-self: start; }
.hidden { display: none; }

/* Get in touch + footer */
.get-in-touch { background: linear-gradient(120deg, var(--teal) 0%, #2a7a6c 45%, var(--purple) 100%); color: #fff; padding: clamp(48px, 7vw, 88px) 0; text-align: center; }
.get-in-touch h2 { color: #fff; }
.get-in-touch p { max-width: 38em; margin-inline: auto; font-size: 1.05rem; }
.get-in-touch a:not(.button) { color: #fff; font-weight: 700; }
.get-in-touch .cta-row { justify-content: center; }
.site-footer { background: var(--ink); color: #c8ccd4; padding: 40px 0; font-size: 0.92rem; }
.footer-inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.site-footer a { color: #fff; }
.site-footer strong { color: #fff; font-family: var(--serif); font-size: 1.1rem; }
.copyright { text-align: right; }
@media (max-width: 760px) { .footer-inner { grid-template-columns: minmax(0, 1fr); } .copyright { text-align: left; } }
