/*
Theme Name: AHCP USA
Theme URI: https://africahcp.org
Author: Africa Health and Community Program USA, Inc.
Description: Custom theme for Africa Health & Community Program USA, the umbrella site for its programs in Kenya.
Version: 7.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: ahcp
*/

:root {
  --maroon: #8c0126;
  --maroon-deep: #5c0019;
  --maroon-ink: #3a0d18;
  --ochre: #d99a2b;
  --ochre-soft: #f6e3bd;
  --cream: #fbf6ef;
  --sand: #f3e9dc;
  --ink: #2b1d20;
  --muted: #6b5a5d;
  --line: #e7dbcd;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(92, 0, 25, 0.08);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--maroon); text-underline-offset: 3px; }
a:hover { color: var(--maroon-deep); }
h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--maroon-ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: 0.35em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 1000; }

/* ---------- Header ---------- */
.topbar {
  background: var(--maroon-deep);
  color: #f5dfe5;
  font-size: 14px;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }

.site-header {
  background: rgba(251, 246, 239, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--maroon); }
.brand img { width: 58px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--sans); font-weight: 800; font-size: 22px; letter-spacing: 0.02em; }
.brand-sub { font-size: 12.5px; color: var(--muted); font-weight: 600; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.main-nav li { position: relative; margin: 0; }
.main-nav a {
  display: block; padding: 10px 14px; text-decoration: none; color: var(--ink);
  font-weight: 600; font-size: 16px; border-radius: 8px;
}
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current_page_item > a { color: var(--maroon); background: var(--sand); }
.main-nav .sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 270px; display: block;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease;
}
.main-nav .sub-menu li { width: 100%; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .menu-item-has-children > a::after { content: " ▾"; font-size: 12px; color: var(--muted); }

.header-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 10px;
  padding: 9px 12px; font-weight: 700; color: var(--maroon); font-size: 15px; cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px; font-weight: 700;
  text-decoration: none; font-size: 16px; line-height: 1.2; transition: .18s ease; border: 2px solid transparent;
}
.btn-primary { background: var(--maroon); color: #fff; }
.btn-primary:hover { background: var(--maroon-deep); color: #fff; transform: translateY(-1px); }
.btn-gold { background: var(--ochre); color: var(--maroon-ink); }
.btn-gold:hover { background: #c98a1d; color: var(--maroon-ink); }
.btn-outline { border-color: var(--maroon); color: var(--maroon); background: transparent; }
.btn-outline:hover { background: var(--maroon); color: #fff; }
.btn-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-light:hover { background: #fff; color: var(--maroon); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.bg-white { background: #fff; }
.bg-sand { background: var(--sand); }
.bg-maroon { background: var(--maroon); color: #fbe9ee; }
.bg-maroon h2, .bg-maroon h3, .bg-maroon h4 { color: #fff; }
.bg-maroon a:not(.btn) { color: #fff; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--maroon); margin-bottom: 14px;
}
.bg-maroon .eyebrow { color: var(--ochre-soft); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 46em; }
.bg-maroon .lead { color: #f3d6de; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.stripe { height: 6px; background: repeating-linear-gradient(90deg, var(--maroon) 0 40px, var(--ochre) 40px 56px, var(--maroon-deep) 56px 96px, #fff 96px 100px); }

/* ---------- Hero ---------- */
.hero { padding: 80px 0 90px; background: radial-gradient(1200px 500px at 85% 20%, #f4e2cf 0%, transparent 60%), var(--cream); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero h1 span { color: var(--maroon); display: block; }
.hero-card {
  background: var(--maroon); color: #fff; border-radius: 24px; padding: 40px 36px; box-shadow: 0 24px 60px rgba(92,0,25,.25);
  position: relative; overflow: hidden;
}
.hero-card::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%;
  background: rgba(217, 154, 43, .22);
}
.hero-card img { width: 130px; margin-bottom: 22px; }
.hero-card blockquote { margin: 0; font-family: var(--serif); font-size: 1.55rem; line-height: 1.3; position: relative; z-index: 1; }
.hero-card .sig { margin-top: 18px; color: var(--ochre-soft); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; }

.page-hero { padding: 72px 0 56px; background: radial-gradient(900px 400px at 90% 0%, #f1dcc6 0%, transparent 60%), var(--cream); border-bottom: 1px solid var(--line); }
.page-hero .lead { margin-bottom: 0; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.card h3 { margin-bottom: .35em; }
.card .card-foot { margin-top: auto; padding-top: 14px; }
.card-num { font-family: var(--serif); color: var(--ochre); font-size: 1rem; font-weight: 700; letter-spacing: .1em; margin-bottom: 8px; }
.card-accent { border-top: 5px solid var(--maroon); }
.card ul.links { list-style: none; padding: 0; margin: 0 0 6px; }
.card ul.links li { padding: 9px 0; border-bottom: 1px dashed var(--line); margin: 0; }
.card ul.links li:last-child { border-bottom: 0; }
.card ul.links a { font-weight: 700; text-decoration: none; }
.card ul.links small { display: block; color: var(--muted); font-size: 14.5px; }
.tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--ochre-soft); color: var(--maroon-ink); border-radius: 999px; padding: 3px 10px; margin-bottom: 12px; }
.link-arrow { font-weight: 700; text-decoration: none; }
.link-arrow::after { content: " →"; }

.site-card { background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.site-card .site-card-top { background: var(--maroon); color: #fff; padding: 26px 28px; }
.site-card .site-card-top h3 { color: #fff; margin: 0; }
.site-card .site-card-top span { color: var(--ochre-soft); font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.site-card .site-card-body { padding: 24px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.site-card .site-card-body .btn { margin-top: auto; align-self: flex-start; }
.site-card:nth-child(2) .site-card-top { background: var(--maroon-deep); }
.site-card:nth-child(3) .site-card-top { background: #6e1a2d; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { border-left: 3px solid var(--ochre); padding: 4px 0 4px 18px; }
.stat strong { display: block; font-family: var(--serif); font-size: 2.7rem; line-height: 1; color: #fff; margin-bottom: 8px; }
.stat span { font-size: 15.5px; color: #f3d6de; }

/* ---------- Split / features ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.checklist { list-style: none; padding: 0; }
.checklist li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: var(--maroon); box-shadow: inset 0 0 0 4px var(--ochre-soft); }
.pills { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; }
.pills li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font-weight: 600; font-size: 15.5px; margin: 0; }

.quote-band { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.3; color: var(--maroon-ink); max-width: 30em; margin: 0 auto; }
.big-quote { border-left: 4px solid var(--maroon); padding: 6px 0 6px 22px; font-family: var(--serif); font-size: 1.35rem; color: var(--maroon-ink); margin: 1.2em 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); position: relative; }
.step-n { width: 44px; height: 44px; border-radius: 50%; background: var(--maroon); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 14px; font-size: 18px; }
.step small { display: block; color: var(--maroon); font-weight: 700; margin-bottom: 8px; }
.formula { text-align: center; font-family: var(--serif); font-size: 1.3rem; color: var(--maroon-ink); background: var(--ochre-soft); border-radius: var(--radius); padding: 18px 22px; margin: 32px 0 0; }

.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 16px; }
.timeline li b { color: var(--maroon); }

.testimonial { background: #fff; border-radius: 20px; padding: 36px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.testimonial p { font-family: var(--serif); font-size: 1.25rem; line-height: 1.5; color: var(--maroon-ink); }
.testimonial cite { font-style: normal; font-weight: 700; color: var(--muted); }

.give-box { background: #fff; border-radius: 20px; padding: 34px; border: 2px solid var(--maroon); }
.give-amount { font-family: var(--serif); font-size: 3rem; color: var(--maroon); line-height: 1; margin-bottom: 6px; }
.notice { background: var(--ochre-soft); border-radius: 12px; padding: 16px 20px; color: var(--maroon-ink); font-size: 16px; }

.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: .3em; }

/* ---------- Content pages ---------- */
.entry { padding: 0; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.4em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--maroon-ink); color: #e8cdd4; font-size: 16px; }
.site-footer .wrap { padding-top: 64px; padding-bottom: 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--ochre-soft); text-decoration: underline; }
.footer-brand img { width: 74px; margin-bottom: 14px; }
.footer-brand .tagline { font-family: var(--serif); font-style: italic; color: var(--ochre-soft); font-size: 1.1rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: #c9a9b2; }

/* =========================================================
   v2: photo-led layout
   ========================================================= */
.topbar { background: var(--maroon-ink); }
.tb-right { display: inline-flex; gap: 10px; align-items: center; }
.tb-sep { opacity: .4; }

.site-header { background: var(--maroon); border-bottom: 0; backdrop-filter: none; box-shadow: 0 4px 18px rgba(58,13,24,.18); }
.brand, .brand-name { color: #fff; }
.brand-sub { color: var(--ochre-soft); }
.main-nav a { color: #fff; }
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current_page_item > a, .main-nav .current-menu-ancestor > a { color: #fff; background: rgba(255,255,255,.12); }
.main-nav .menu-item-has-children > a::after { color: var(--ochre-soft); }
.main-nav .sub-menu a { color: var(--ink); }
.main-nav .sub-menu a:hover, .main-nav .sub-menu .current-menu-item > a { color: var(--maroon); background: var(--sand); }
.nav-toggle { color: #fff; border-color: rgba(255,255,255,.4); }

/* Photo slots: show the photo if present, otherwise a branded panel. */
.ph {
  background-color: var(--maroon);
  background-image: var(--img, none), url(assets/logo-mark-white.png), linear-gradient(135deg, var(--maroon) 0%, var(--maroon-deep) 100%);
  background-size: cover, 96px auto, cover;
  background-position: var(--pos, center), center, center;
  background-repeat: no-repeat;
}
.ph.alt { background-color: var(--maroon-deep); background-image: var(--img, none), url(assets/logo-mark-white.png), linear-gradient(135deg, #6e1a2d 0%, var(--maroon-ink) 100%); }

/* Full-bleed photo hero */
.hero-photo { position: relative; min-height: 640px; display: flex; align-items: flex-end; color: #fff; padding: 0; }
.hero-photo .ph { position: absolute; inset: 0; background-size: cover, 0 0, cover; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(58,13,24,.15) 0%, rgba(58,13,24,.45) 45%, rgba(58,13,24,.88) 100%); }
.hero-photo .wrap { position: relative; z-index: 2; padding-top: 140px; padding-bottom: 72px; width: 100%; }
.hero-photo h1 { color: #fff; max-width: 15em; font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
.hero-photo .lead { color: #f6e6ea; max-width: 40em; }
.hero-photo .eyebrow { color: var(--ochre-soft); }

/* Quick links strip (overlaps the hero) */
.quick { position: relative; z-index: 3; margin-top: -1px; background: var(--ochre); }
.quick .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.quick a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 22px 22px; color: var(--maroon-ink); text-decoration: none; font-weight: 800; border-right: 1px solid rgba(58,13,24,.15); }
.quick a:last-child { border-right: 0; }
.quick a::after { content: "→"; transition: transform .18s; }
.quick a:hover { background: rgba(255,255,255,.18); }
.quick a:hover::after { transform: translateX(4px); }

/* Welcome block */
.welcome { text-align: center; max-width: 820px; margin: 0 auto; }
.welcome h2 { font-size: clamp(2rem, 4vw, 3rem); }

/* Image-top cards */
.img-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.img-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(92,0,25,.14); color: inherit; }
.img-card .ph { aspect-ratio: 4 / 3; }
.img-card .img-card-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.img-card h3 { margin-bottom: .3em; }
.img-card .link-arrow { margin-top: auto; padding-top: 10px; }
.img-card .kicker { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ochre); margin-bottom: 6px; }

/* Full-width photo band with statement */
.photo-band { position: relative; min-height: 460px; display: flex; align-items: center; color: #fff; }
.photo-band .ph { position: absolute; inset: 0; background-size: cover, 0 0, cover; }
.photo-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(58,13,24,.9) 0%, rgba(58,13,24,.55) 55%, rgba(58,13,24,.2) 100%); }
.photo-band .wrap { position: relative; z-index: 2; width: 100%; }
.photo-band h2 { color: #fff; max-width: 14em; }
.photo-band p { max-width: 34em; color: #f6e6ea; font-size: 1.15rem; }

/* Side-by-side photo + text */
.media-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.media-split .ph { aspect-ratio: 5 / 4; border-radius: 20px; box-shadow: var(--shadow); }
.media-split.reverse > :first-child { order: 2; }

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.quote { border-top: 4px solid var(--ochre); padding-top: 22px; }
.quote p { font-family: var(--serif); font-size: 1.3rem; line-height: 1.4; color: var(--maroon-ink); }
.quote cite { font-style: normal; font-weight: 700; color: var(--muted); font-size: 15px; }

/* Help tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tile { position: relative; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; display: flex; align-items: flex-end; text-decoration: none; color: #fff; }
.tile .ph { position: absolute; inset: 0; transition: transform .4s; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(58,13,24,.9) 100%); }
.tile span { position: relative; z-index: 2; padding: 20px; font-weight: 800; font-size: 1.15rem; line-height: 1.25; }
.tile span small { display: block; font-weight: 600; font-size: 14px; color: var(--ochre-soft); margin-top: 4px; }
.tile:hover .ph { transform: scale(1.05); }
.tile:hover { color: #fff; }

/* Footer CTA band */
.footer-cta { background: var(--ochre); }
.footer-cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 44px; padding-bottom: 44px; }
.footer-cta h2 { margin: 0; color: var(--maroon-ink); }
.footer-cta p { margin: 4px 0 0; color: var(--maroon-ink); font-size: 1.15rem; }
.footer-cta .btns { margin: 0; }
.footer-cta .btn-gold { background: var(--maroon); color: #fff; }
.footer-cta .btn-gold:hover { background: var(--maroon-deep); color: #fff; }
.footer-cta .btn-light { border-color: var(--maroon-ink); color: var(--maroon-ink); }
.footer-cta .btn-light:hover { background: var(--maroon-ink); color: #fff; }
.contact-list li { display: flex; flex-direction: column; margin-bottom: 12px; }
.contact-list span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ochre-soft); font-weight: 700; }

/* Giving */
.pay-methods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pm { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.pm h3 { margin-bottom: .25em; }
.pm p { font-size: 16px; }
.pm .btn { margin-top: auto; align-self: flex-start; }
.pm .link-arrow { margin-top: auto; }
.pm-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--maroon); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 20px; margin-bottom: 14px; }
.pm:nth-child(2) .pm-icon { background: #1f4fa3; }
.pm:nth-child(3) .pm-icon { background: #6b1fb1; }
.pm:nth-child(4) .pm-icon { background: #2f8a3c; }
.pm-pending { margin-top: auto; background: var(--sand); border-radius: 10px; padding: 10px 12px; font-size: 14.5px !important; color: var(--muted); }
.pm-detail { margin-top: auto; background: var(--ochre-soft); border-radius: 10px; padding: 12px; color: var(--maroon-ink); }

.pledge-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.pledge-form { background: #fff; border-radius: 20px; padding: 32px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.pledge-form label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 16px; color: var(--maroon-ink); }
.pledge-form input, .pledge-form select, .pledge-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px; font: inherit; font-weight: 400; font-size: 16px;
  border: 1.5px solid var(--line); border-radius: 10px; background: var(--cream); color: var(--ink);
}
.pledge-form input:focus, .pledge-form select:focus, .pledge-form textarea:focus { outline: none; border-color: var(--maroon); background: #fff; box-shadow: 0 0 0 3px rgba(140,1,38,.12); }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.amount-wrap { display: flex; gap: 8px; margin-top: 6px; }
.amount-wrap select { width: 92px; flex: none; margin: 0; }
.amount-wrap input { margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 14px; color: var(--muted); margin: 14px 0 0; }
.form-msg { border-radius: 12px; padding: 16px 18px; margin-bottom: 18px; }
.form-msg.ok { background: #e6f4e8; color: #1d5a27; }
.form-msg.err { background: #fbe6e6; color: #8a1b1b; }

.map { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.map iframe { display: block; width: 100%; height: 360px; border: 0; }

@media (max-width: 1020px) {
  .pay-methods, .tiles { grid-template-columns: repeat(2, 1fr); }
  .quick .wrap { grid-template-columns: repeat(2, 1fr); }
  .quick a:nth-child(2) { border-right: 0; }
}
@media (max-width: 900px) {
  .main-nav { background: var(--maroon); border-bottom: 0; }
  .main-nav .sub-menu a { color: #f6e6ea; }
  .media-split, .quotes, .pledge-wrap { grid-template-columns: 1fr; }
  .media-split.reverse > :first-child { order: 0; }
  .hero-photo { min-height: 560px; }
}
@media (max-width: 560px) {
  .f-row { grid-template-columns: 1fr; gap: 0; }
  .pay-methods { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tile span { padding: 14px; font-size: 1rem; }
  .quick .wrap { grid-template-columns: 1fr; padding: 0; }
  .quick a { border-right: 0; border-bottom: 1px solid rgba(58,13,24,.15); }
  .hero-photo .wrap { padding-top: 100px; padding-bottom: 48px; }
  .pledge-form { padding: 22px; }
  .tb-right { font-size: 13px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .grid-4, .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--cream); border-bottom: 1px solid var(--line); padding: 10px 16px 18px; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; }
  .main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; background: transparent; min-width: 0; }
  .header-cta .btn { display: none; }
  .hero-grid, .split, .grid-2, .grid-3, .steps { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .grid-4, .stats, .footer-grid { grid-template-columns: 1fr; }
  .brand img { width: 46px; }
  .brand-sub { display: none; }
  .hero { padding: 52px 0 60px; }
  .hero-card { padding: 30px 24px; }
  .topbar .wrap { justify-content: center; }
  .topbar .tb-left { display: none; }
}

/* v2 mobile nav colors (after base responsive rules) */
@media (max-width: 900px) {
  .main-nav { background: var(--maroon); border-bottom: 0; box-shadow: 0 12px 24px rgba(58,13,24,.25); }
  .main-nav .sub-menu { background: transparent; }
  .main-nav .sub-menu a { color: #f6e6ea; }
  .main-nav .sub-menu a:hover { color: #fff; background: rgba(255,255,255,.12); }
  .header-cta .btn { display: inline-block; padding: 10px 18px; font-size: 15px; }
}
@media (max-width: 400px) { .header-cta .btn { display: none; } }

/* v3: rounded top buttons with a thin dark outline */
.quick { padding: 14px 0; }
.quick .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.quick a {
  border: 1px solid rgba(20, 10, 12, .85); border-radius: 999px; padding: 11px 22px;
  background: rgba(255,255,255,.22); color: var(--maroon-ink); gap: 10px; font-size: 15.5px;
}
.quick a:last-child, .quick a:nth-child(2) { border-right: 1px solid rgba(20, 10, 12, .85); }
.quick a:hover { background: #fff; }
.header-cta .btn, .hero-photo .btn, .photo-band .btn { border: 1px solid rgba(20, 10, 12, .85); }
.hero-photo .btn-light, .photo-band .btn-light { border-color: rgba(255,255,255,.85); }
@media (max-width: 560px) {
  .quick .wrap { padding: 0 16px; gap: 8px; }
  .quick a { border-bottom: 1px solid rgba(20, 10, 12, .85); padding: 9px 16px; font-size: 14.5px; width: 100%; }
}

/* v4: moving hero slideshow + scrolling photo strip */
.hero-slides { position: absolute; inset: 0; overflow: hidden; }
.hero-slides .slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; animation: ahcpSlide 36s linear infinite; will-change: opacity, transform;
}
.hero-slides .slide:nth-child(1) { animation-delay: 0s; }
.hero-slides .slide:nth-child(2) { animation-delay: 6s; }
.hero-slides .slide:nth-child(3) { animation-delay: 12s; }
.hero-slides .slide:nth-child(4) { animation-delay: 18s; }
.hero-slides .slide:nth-child(5) { animation-delay: 24s; }
.hero-slides .slide:nth-child(6) { animation-delay: 30s; }
@keyframes ahcpSlide {
  0%    { opacity: 0; transform: scale(1.12) translateX(0); }
  3%    { opacity: 1; }
  17%   { opacity: 1; }
  21%   { opacity: 0; transform: scale(1) translateX(-1.5%); }
  100%  { opacity: 0; transform: scale(1) translateX(-1.5%); }
}
.hero-slides .slide:nth-child(1) { animation-name: ahcpSlideFirst; }
@keyframes ahcpSlideFirst {
  0%    { opacity: 1; transform: scale(1.12); }
  17%   { opacity: 1; }
  21%   { opacity: 0; transform: scale(1) translateX(-1.5%); }
  97%   { opacity: 0; transform: scale(1.12); }
  100%  { opacity: 1; transform: scale(1.12); }
}

.strip-section { overflow: hidden; }
.strip-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.strip-head h2 { margin: 0; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: ahcpMarquee 70s linear infinite; }
.marquee-track img { width: 280px; height: 280px; object-fit: cover; border-radius: 18px; flex: none; border: 1px solid rgba(20,10,12,.12); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes ahcpMarquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 8px)); } }
@media (max-width: 560px) { .marquee-track img { width: 200px; height: 200px; } .marquee-track { animation-duration: 55s; } }

@media (prefers-reduced-motion: reduce) {
  .hero-slides .slide { animation: none; opacity: 0; }
  .hero-slides .slide:nth-child(1) { opacity: 1; }
  .marquee { overflow-x: auto; }
  .marquee-track { animation: none; }
}

/* v5: one-line 3D slogan + program glimpse cards in the banner */
.hero-photo .wrap { padding-top: 110px; padding-bottom: 36px; }
.hero-photo h1.hero-3d {
  font-size: clamp(1.25rem, 2.35vw, 2.25rem);
  max-width: none; white-space: nowrap; letter-spacing: 0;
  color: #fff; line-height: 1.2; margin-bottom: .55em;
  -webkit-text-stroke: 0.6px rgba(58, 13, 24, .9);
  text-shadow:
    1px 1px 0 #d99a2b,
    2px 2px 0 #b87d1c,
    3px 3px 0 #8c0126,
    4px 4px 0 #5c0019,
    5px 5px 0 #3a0d18,
    6px 8px 14px rgba(0, 0, 0, .55);
}
.hero-programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.hp-card {
  display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: #fff;
  padding: 18px 20px; border-radius: 16px;
  background: rgba(58, 13, 24, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .28); border-top: 3px solid var(--ochre);
  transition: transform .2s, background .2s;
}
.hp-card:hover { transform: translateY(-3px); background: rgba(58, 13, 24, .75); color: #fff; }
.hp-place { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ochre-soft); }
.hp-card strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.hp-desc { font-size: 15px; color: #f3dde3; line-height: 1.4; }
.hp-go { margin-top: 6px; font-size: 14px; font-weight: 800; color: #fff; }
.hp-go::after { content: " →"; }
@media (max-width: 1100px) {
  .hero-photo h1.hero-3d { white-space: normal; font-size: clamp(1.5rem, 4.4vw, 2.2rem); }
}
@media (max-width: 760px) {
  .hero-programs { grid-template-columns: 1fr; gap: 10px; margin-top: 28px; }
  .hp-card { padding: 14px 16px; }
  .hero-photo h1.hero-3d { text-shadow: 1px 1px 0 #d99a2b, 2px 2px 0 #8c0126, 3px 3px 0 #3a0d18, 4px 6px 10px rgba(0,0,0,.5); }
}
@media (max-width: 760px) {
  .hero-photo .wrap { padding-top: 72px; }
  .hero-photo .btns { flex-wrap: nowrap; gap: 8px; }
  .hero-photo .btns .btn { padding: 11px 16px; font-size: 15px; }
  .hp-card { padding: 12px 14px; gap: 2px; }
  .hp-card strong { font-size: 1.1rem; }
  .hp-go { display: none; }
}

/* v6: slogan at top & larger, lighter banner, light program cards */
.hero-photo { align-items: stretch; min-height: 680px; }
.hero-photo::after {
  background: linear-gradient(180deg, rgba(40, 8, 16, .62) 0%, rgba(40, 8, 16, .30) 38%, rgba(40, 8, 16, .05) 70%, rgba(40, 8, 16, 0) 100%);
}
.hero-photo .wrap { display: flex; flex-direction: column; padding-top: 44px; padding-bottom: 32px; }
.hero-photo h1.hero-3d {
  font-size: clamp(1.9rem, 3.5vw, 3.3rem); white-space: normal; max-width: 21em; line-height: 1.12;
  margin-bottom: .4em;
  text-shadow:
    1px 1px 0 #d99a2b, 2px 2px 0 #c38820, 3px 3px 0 #8c0126,
    4px 4px 0 #74001f, 5px 5px 0 #5c0019, 6px 6px 0 #3a0d18,
    8px 10px 18px rgba(0, 0, 0, .45);
}
.hero-photo .lead { text-shadow: 0 1px 8px rgba(0,0,0,.45); color: #fff; }
.hero-programs { margin-top: auto; padding-top: 40px; }
.hp-card {
  background: rgba(255, 255, 255, .9); color: var(--ink);
  border: 1px solid rgba(20, 10, 12, .18); border-top: 4px solid var(--ochre);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.hp-card:hover { background: #fff; color: var(--ink); }
.hp-place { color: var(--maroon); }
.hp-card strong { color: var(--maroon-ink); }
.hp-desc { color: var(--muted); }
.hp-go { color: var(--maroon); }
@media (max-width: 1100px) { .hero-photo h1.hero-3d { font-size: clamp(1.8rem, 5vw, 2.8rem); } }
@media (max-width: 760px) {
  .hero-photo { min-height: 0; }
  .hero-photo .wrap { padding-top: 32px; }
  .hero-photo h1.hero-3d { font-size: 1.85rem; text-shadow: 1px 1px 0 #d99a2b, 2px 2px 0 #8c0126, 3px 3px 0 #5c0019, 4px 4px 0 #3a0d18, 5px 7px 12px rgba(0,0,0,.45); }
  .hero-programs { padding-top: 28px; }
}
.hero-photo .btn-light { background: rgba(40, 8, 16, .45); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.hero-photo .btn-light:hover { background: #fff; color: var(--maroon); }

/* v7: plain white slogan with a thin black outline (no 3D) */
.hero-photo h1.hero-3d,
.hero-photo h1.hero-3d:is(*) {
  color: #fff;
  -webkit-text-stroke: 0;
  text-shadow:
    -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000,
    0 -1px 0 #000, 0 1px 0 #000, -1px 0 0 #000, 1px 0 0 #000;
}
@media (max-width: 760px) {
  .hero-photo h1.hero-3d {
    text-shadow:
      -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000,
      0 -1px 0 #000, 0 1px 0 #000, -1px 0 0 #000, 1px 0 0 #000;
  }
}
.hero-photo::after {
  background: linear-gradient(180deg, rgba(40, 8, 16, .38) 0%, rgba(40, 8, 16, .16) 40%, rgba(40, 8, 16, 0) 70%);
}
