/* ==========================================================================
   Pure Support - site styles
   Theme taken from the logo: deep green on warm cream, with a gold accent.
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/open-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/open-sans-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/open-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/open-sans-latin-700-normal.woff2") format("woff2"); }

/* ---------- Design tokens ---------- */
:root {
    --green: #1d3836;          /* logo ink */
    --green-deep: #132624;
    --green-soft: #2c524e;
    --green-tint: #e3ebe7;
    --cream: #f9f2e1;          /* logo background */
    --cream-light: #fdf9ef;
    --cream-dark: #efe4c8;
    --gold: #e0be53;           /* accent from the current site */
    --gold-dark: #c9a43a;
    --ink: #22302e;
    --muted: #5b6765;
    --white: #ffffff;

    --font-head: "Poppins", system-ui, sans-serif;
    --font-body: "Open Sans", system-ui, sans-serif;

    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 10px 30px -12px rgba(19, 38, 36, .28);
    --shadow-lg: 0 24px 50px -20px rgba(19, 38, 36, .4);
    --header-h: 84px;
    --ease: cubic-bezier(.22, .8, .24, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration-color: rgba(29, 56, 54, .35); text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
a:hover { color: var(--green-soft); text-decoration-color: var(--gold); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--green); line-height: 1.25; margin: 0 0 .6em; }
p { margin: 0 0 1.2em; }
strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(860px, 100% - 40px); }
.center { text-align: center; }

.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 200;
    background: var(--green); color: var(--cream); padding: 10px 16px; border-radius: var(--radius-sm);
    font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; color: var(--cream); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    padding: .85em 1.7em; border-radius: 999px;
    font-family: var(--font-head); font-weight: 600; font-size: .95rem; letter-spacing: .02em;
    text-decoration: none; border: 2px solid transparent; cursor: pointer;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-gold { background: var(--gold); color: var(--green-deep); }
.btn-gold:hover { background: #ebcb63; color: var(--green-deep); }
.btn-green { background: var(--green); color: var(--cream); }
.btn-green:hover { background: var(--green-soft); color: var(--cream); }
.btn-ghost { border-color: rgba(255, 255, 255, .75); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--green); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(249, 242, 225, .94);
    backdrop-filter: saturate(1.2) blur(8px);
    -webkit-backdrop-filter: saturate(1.2) blur(8px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .3s, border-color .3s, background-color .3s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(19, 38, 36, .45); border-bottom-color: rgba(29, 56, 54, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand img { height: 52px; width: auto; transition: transform .35s var(--ease); }
.brand:hover img { transform: scale(1.04); }

.menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.menu > li { position: relative; display: flex; align-items: center; }
.menu > li + li:not(:last-child)::before,
.menu > li:last-child::before {
    content: ""; width: 1px; height: 18px; background: rgba(29, 56, 54, .25); margin-right: 4px;
}
.menu a {
    position: relative; display: inline-block; padding: 10px 14px;
    font-family: var(--font-head); font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
    color: var(--green); text-decoration: none;
}
.menu > li > a::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
    background: var(--gold); border-radius: 2px;
    transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.menu > li > a:hover::after,
.menu > li > a.active::after { transform: scaleX(1); }
.menu a.btn-donate {
    background: var(--green); color: var(--cream); border-radius: 999px; padding: 10px 20px; margin-left: 6px;
    transition: background-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.menu a.btn-donate::after { display: none; }
.menu a.btn-donate:hover, .menu a.btn-donate.active { background: var(--green-soft); color: var(--cream); transform: translateY(-1px); box-shadow: var(--shadow); }

.has-sub > a { padding-right: 4px; }
.sub-toggle {
    background: none; border: 0; color: var(--green); padding: 6px 8px 6px 2px; cursor: pointer; display: inline-flex;
    transition: transform .3s var(--ease);
}
.sub-menu {
    list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px;
    background: var(--cream-light); border-radius: var(--radius); box-shadow: var(--shadow-lg);
    border: 1px solid rgba(29, 56, 54, .08);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.sub-menu::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.sub-menu a { display: block; padding: 10px 14px; border-radius: var(--radius-sm); text-transform: none; letter-spacing: .01em; font-size: .9rem; font-weight: 500; }
.sub-menu a:hover, .sub-menu a.active { background: var(--green-tint); }
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu, .has-sub.open .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.has-sub:hover .sub-toggle, .has-sub.open .sub-toggle { transform: rotate(180deg); }

/* Mobile menu button */
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; border-radius: var(--radius-sm); }
.nav-toggle span { display: block; height: 2px; background: var(--green); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle span + span { margin-top: 6px; }
.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); }

@media (max-width: 960px) {
    :root { --header-h: 72px; }
    .brand img { height: 44px; }
    .nav-toggle { display: block; }
    .site-nav {
        position: absolute; left: 0; right: 0; top: 100%;
        background: var(--cream-light); border-top: 1px solid rgba(29, 56, 54, .1); box-shadow: var(--shadow-lg);
        max-height: 0; overflow: hidden; transition: max-height .4s var(--ease);
    }
    .site-nav.open { max-height: 80vh; overflow-y: auto; }
    .menu { flex-direction: column; align-items: stretch; padding: 12px 20px 20px; gap: 0; }
    .menu > li { flex-wrap: wrap; border-bottom: 1px solid rgba(29, 56, 54, .08); }
    .menu > li::before { display: none !important; }
    .menu > li:last-child { border-bottom: 0; padding-top: 14px; }
    .menu > li > a { flex: 1; padding: 14px 4px; font-size: .85rem; }
    .menu > li > a::after { left: 4px; right: auto; width: 32px; bottom: 8px; }
    .menu a.btn-donate { flex: 1; text-align: center; margin: 0; padding: 14px; }
    .sub-toggle { padding: 12px; }
    .sub-menu {
        position: static; width: 100%; box-shadow: none; border: 0; background: transparent; padding: 0 0 8px 12px;
        opacity: 1; visibility: visible; transform: none; display: none;
    }
    .has-sub:hover .sub-toggle { transform: none; }
    .has-sub.open .sub-menu { display: block; }
    .has-sub.open .sub-toggle { transform: rotate(180deg); }
}

/* ==========================================================================
   Home hero
   ========================================================================== */
.hero {
    position: relative; isolation: isolate; overflow: hidden;
    min-height: calc(100svh - var(--header-h)); display: flex; align-items: center;
    background: var(--green-deep);
}
.hero-bg {
    position: absolute; inset: -2%; z-index: -2;
    background-size: cover; background-position: center calc(50% + var(--py, 0px));
    animation: kenburns 22s ease-out both;
}
.hero-overlay {
    position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(100deg, rgba(19, 38, 36, .86) 0%, rgba(19, 38, 36, .6) 45%, rgba(19, 38, 36, .25) 100%),
        linear-gradient(0deg, rgba(19, 38, 36, .5), transparent 40%);
}
.hero-content { padding-block: 80px 110px; color: var(--white); }
.hero-title {
    font-size: clamp(2.6rem, 6.6vw, 5.2rem); font-weight: 800; color: var(--white);
    line-height: 1.05; letter-spacing: -.01em; margin-bottom: .45em; max-width: 13ch;
}
.hero-line { display: block; opacity: 0; transform: translateY(28px); animation: rise .9s var(--ease) forwards; animation-delay: var(--d, 0s); }
.hero-fade { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; animation-delay: var(--d, 0s); }
.hero-quote { margin: 0 0 1.4em; padding-left: 18px; border-left: 3px solid var(--gold); max-width: 640px; }
.hero-quote p { margin: 0; font-family: var(--font-head); font-weight: 500; font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.hero-quote cite { display: block; font-style: normal; font-family: var(--font-head); color: var(--gold); margin-top: .35em; font-size: 1rem; }
.hero-text { font-family: var(--font-head); font-size: clamp(1rem, 1.5vw, 1.2rem); max-width: 620px; color: rgba(255, 255, 255, .92); margin-bottom: 2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-scroll {
    position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
    width: 28px; height: 46px; border: 2px solid rgba(255, 255, 255, .7); border-radius: 20px;
    opacity: 0; animation: fadeIn 1s 1.6s forwards;
}
.hero-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--gold); border-radius: 2px; animation: scrollDot 1.8s infinite; }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page { padding-block: 56px 90px; }
.page-title { margin: 36px 0 34px; }
.page-title h1 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 700; margin: 0 0 .35em; }
.page-title-line { display: block; width: 0; height: 3px; background: var(--gold); border-radius: 3px; transition: width .9s var(--ease) .2s; }
.page-title.in .page-title-line { width: 64px; }
.page > .container > .page-title:first-child,
.page > .container > .narrow-title:first-child .page-title { margin-top: 0; }
.narrow-title { width: min(860px, 100%); }

.prose h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-weight: 700; margin-top: 1.6em; }
.prose .story-block h2 { margin-top: .4em; }
.prose .section-heading { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-top: .2em; }
.prose ul { padding-left: 1.2em; }
.prose a { font-weight: 600; }
.prose > :first-child { margin-top: 0; }

.eyebrow {
    display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
    color: var(--green); background: var(--gold); padding: 5px 14px; border-radius: 999px; margin-bottom: 1em;
}
.prose .eyebrow + h2 { margin-top: 0; }
.date-tag {
    display: inline-block; vertical-align: middle; margin-left: 8px;
    font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: var(--green);
    background: var(--green-tint); padding: 4px 12px; border-radius: 999px;
}
.lead { font-size: 1.15rem; }

.story-block {
    background: var(--cream-light); border-radius: var(--radius); padding: 34px clamp(22px, 4vw, 42px);
    box-shadow: 0 1px 0 rgba(29, 56, 54, .06); border: 1px solid rgba(29, 56, 54, .07); margin-bottom: 34px;
}
.story-block p { margin-bottom: 0; }

.divider { border: 0; height: 1px; margin: 64px auto; background: linear-gradient(90deg, transparent, rgba(29, 56, 54, .3), transparent); position: relative; overflow: visible; }
.divider::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; background: var(--gold); transform: translate(-50%, -50%) rotate(45deg); }

.pillars { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 0 0 2em; }
.pillars li {
    background: var(--cream-light); border: 1px solid rgba(29, 56, 54, .08); border-left: 4px solid var(--gold);
    border-radius: var(--radius-sm); padding: 14px 18px; line-height: 1.5;
    transition: transform .3s var(--ease), box-shadow .3s;
}
.pillars li:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
@media (max-width: 600px) { .pillars { grid-template-columns: 1fr; } }

.pull-quote {
    margin: 2.2em 0; padding: 30px clamp(22px, 4vw, 40px); border-radius: var(--radius);
    background: var(--green); color: var(--cream); position: relative; overflow: hidden;
}
.pull-quote::before { content: "\201C"; position: absolute; right: 18px; top: -30px; font-family: var(--font-head); font-size: 9rem; color: rgba(224, 190, 83, .18); line-height: 1; }
.pull-quote p { font-family: var(--font-head); font-size: 1.1rem; line-height: 1.6; margin-bottom: .6em; position: relative; }
.pull-quote cite { color: var(--gold); font-style: italic; }

.letter {
    background: var(--cream-light); border-radius: var(--radius); padding: clamp(24px, 4vw, 46px);
    border: 1px solid rgba(29, 56, 54, .08); box-shadow: var(--shadow);
}
.letter .signature { margin: 1.6em 0 0; padding-top: 1.2em; border-top: 1px dashed rgba(29, 56, 54, .25); font-family: var(--font-head); line-height: 1.6; }

.page-next { text-align: center; margin-top: 3em; }

/* ---------- Photos ---------- */
.photo { margin: 0 0 34px; }
.photo-frame { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--cream-dark); }
.photo-frame img { width: 100%; transition: transform .9s var(--ease); }
.photo:hover .photo-frame img { transform: scale(1.035); }
.photo figcaption { margin-top: 16px; color: var(--ink); line-height: 1.7; }
.photo--portrait { max-width: 540px; margin-inline: auto; }
.photo--portrait figcaption { text-align: left; }
.photo--feature .photo-frame { aspect-ratio: 3 / 2; }
.photo--feature .photo-frame img { height: 100%; object-fit: cover; }

.gallery-list { margin-top: 36px; }
.gallery-list .photo { margin-bottom: 52px; }
.gallery-list .photo figcaption {
    background: var(--cream-light); border: 1px solid rgba(29, 56, 54, .08); border-radius: 0 0 var(--radius) var(--radius);
    margin-top: -8px; padding: 22px 24px 18px; position: relative;
}
.gallery-list .photo .photo-frame { position: relative; z-index: 1; }

.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 34px; }
.photo-pair .photo { margin: 0; }
.photo-pair .photo-frame { aspect-ratio: 4 / 3.4; }
.photo-pair .photo-frame img { height: 100%; object-fit: cover; }
@media (max-width: 640px) { .photo-pair { grid-template-columns: 1fr; } }

/* ---------- Uniform, no-crop photo frames ('fit' => true) ----------
   Every frame is the same shape. The photo is scaled to fit INSIDE it (object-fit: contain),
   so nothing is ever cut off. Empty space is filled by a blurred copy of the same photo. */
.photo--fit { max-width: none; }
.photo-frame--fit {
    position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in;
    aspect-ratio: 3 / 2; isolation: isolate; background: var(--green-deep);
}
.photo-frame--fit::before {
    content: ""; position: absolute; inset: -30px; z-index: -1;
    background-image: var(--img); background-size: cover; background-position: center;
    filter: blur(24px) saturate(1.1) brightness(.75);
    transform: scale(1.1);
}
.photo-frame--fit img { width: 100%; height: 100%; object-fit: contain; }
.photo:hover .photo-frame--fit img { transform: scale(1.03); }
.photo-zoom-hint {
    position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%;
    display: grid; place-items: center; background: rgba(249, 242, 225, .92); color: var(--green);
    opacity: 0; transform: translateY(6px) scale(.9); transition: opacity .3s, transform .3s var(--ease);
}
.photo-frame--fit:hover .photo-zoom-hint, .photo-frame--fit:focus-visible .photo-zoom-hint { opacity: 1; transform: none; }

/* Two-column grid of equal cards (Activities highlights, Past Activities pair) */
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin: 36px 0 40px; align-items: start; }
.gallery-grid .photo { margin: 0; height: 100%; display: flex; flex-direction: column; }
.photo--card .photo-frame--fit { aspect-ratio: 4 / 5; border-radius: var(--radius) var(--radius) 0 0; box-shadow: none; }
.photo--card { background: var(--cream-light); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid rgba(29, 56, 54, .08); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.photo--card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.photo--card figcaption { margin: 0; padding: 18px 20px 20px; font-size: .97rem; line-height: 1.65; flex: 1; }
.gallery-grid--pair .photo--card .photo-frame--fit { aspect-ratio: 4 / 3; border-radius: var(--radius); }
.gallery-grid--pair .photo--card { background: transparent; border: 0; }
@media (max-width: 700px) {
    .gallery-grid { grid-template-columns: 1fr; gap: 22px; }
}

/* Lightbox */
.lightbox {
    position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 60px 70px;
    background: rgba(12, 24, 22, .92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    opacity: 0; transition: opacity .3s;
}
.lightbox[hidden] { display: none; }
.lightbox.open { opacity: 1; }
.lightbox-img {
    max-width: 100%; max-height: calc(100vh - 120px); width: auto; height: auto; border-radius: var(--radius-sm);
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7);
    transform: scale(.92); opacity: 0; transition: transform .4s var(--ease), opacity .4s;
}
.lightbox.open .lightbox-img { transform: none; opacity: 1; }
.lightbox-close, .lightbox-nav {
    position: absolute; border: 0; cursor: pointer; color: var(--cream); background: rgba(249, 242, 225, .12);
    width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; transition: background-color .2s, transform .2s;
}
.lightbox-close:hover, .lightbox-nav:hover { background: var(--gold); color: var(--green-deep); }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-nav { top: 50%; margin-top: -24px; }
.lightbox-prev { left: 14px; }
.lightbox-next { right: 14px; }
@media (max-width: 600px) {
    .lightbox { padding: 70px 10px; }
    .lightbox-nav { top: auto; bottom: 14px; margin: 0; }
    .lightbox-prev { left: calc(50% - 60px); }
    .lightbox-next { right: calc(50% - 60px); }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.contact-grid .photo { margin: 0; max-width: none; }
.contact-card { background: var(--cream-light); border-radius: var(--radius); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow); border: 1px solid rgba(29, 56, 54, .08); }
.contact-name { font-size: 1.5rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1.1em; }
.contact-list { list-style: none; margin: 0 0 1.6em; padding: 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
    flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
    background: var(--green); color: var(--gold); transition: transform .35s var(--ease);
}
.contact-list li:hover .contact-icon { transform: rotate(-8deg) scale(1.08); }
.contact-label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-list address { font-style: normal; line-height: 1.6; }
.contact-list a { font-weight: 600; line-height: 1.8; word-break: break-word; }
.contact-follow { font-family: var(--font-head); font-weight: 600; margin-bottom: .6em; }
@media (max-width: 820px) {
    .contact-grid { grid-template-columns: 1fr; }
    .contact-grid .photo { max-width: 460px; margin-inline: auto; }
}

/* ---------- Donate ---------- */
.donate-card {
    background: var(--green); color: var(--cream); border-radius: var(--radius); padding: clamp(28px, 5vw, 50px);
    box-shadow: var(--shadow-lg); position: relative; overflow: hidden; margin-top: 10px;
}
.donate-card::after {
    content: ""; position: absolute; width: 280px; height: 280px; right: -90px; top: -110px; border-radius: 50%;
    background: radial-gradient(circle, rgba(224, 190, 83, .28), transparent 70%);
}
.donate-card h2 { color: var(--gold); font-size: clamp(1.5rem, 3vw, 2rem); }
.bank-details { margin: 0 0 1.4em; display: grid; gap: 0; position: relative; z-index: 1; }
.bank-row { display: grid; grid-template-columns: 160px 1fr; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(249, 242, 225, .14); }
.bank-row dt { font-family: var(--font-head); font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(249, 242, 225, .7); }
.bank-row dd { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.bank-value { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; letter-spacing: .04em; word-break: break-all; }
.copy-btn {
    display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(224, 190, 83, .6); background: transparent; color: var(--gold);
    padding: 5px 12px; border-radius: 999px; font: 600 .78rem var(--font-head); cursor: pointer; transition: background-color .2s, color .2s, transform .2s;
}
.copy-btn:hover { background: var(--gold); color: var(--green-deep); }
.copy-btn.copied { background: var(--gold); color: var(--green-deep); transform: scale(1.05); }
.donate-note { margin: 0; color: rgba(249, 242, 225, .85); position: relative; z-index: 1; }
@media (max-width: 560px) { .bank-row { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Policies ---------- */
.policy h2 { font-size: 1.3rem; margin-top: 1.8em; }
.updated { color: var(--muted); }
.notice {
    display: flex; gap: 14px; align-items: center; background: var(--green-tint); color: var(--green);
    border-radius: var(--radius); padding: 18px 22px; margin-bottom: 1.6em; border: 1px solid rgba(29, 56, 54, .12);
}
.notice svg { flex: none; }
.notice p { margin: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--green-deep); color: var(--cream); position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--green-soft), var(--gold), var(--green-soft)); }
.footer-inner { padding-block: 54px 30px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.footer-brand img { height: 64px; width: auto; opacity: .95; transition: opacity .3s, transform .35s var(--ease); }
.footer-brand:hover img { opacity: 1; transform: scale(1.04); }
.footer-tagline { font-family: var(--font-head); font-style: italic; color: var(--gold); margin: 14px 0 22px; }

.social { list-style: none; margin: 0 0 26px; padding: 0; display: flex; gap: 12px; justify-content: center; }
.social a {
    display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
    background: var(--gold); color: var(--green-deep); text-decoration: none;
    transition: transform .3s var(--ease), background-color .3s, box-shadow .3s;
}
.social a:hover { transform: translateY(-4px) rotate(-6deg); background: var(--cream); color: var(--green-deep); box-shadow: 0 10px 20px -8px rgba(0, 0, 0, .5); }
.social-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.social--labels { justify-content: flex-start; margin: 0; }
.social--labels a { width: auto; height: auto; padding: 8px 16px 8px 12px; border-radius: 999px; display: inline-flex; gap: 8px; background: var(--green); color: var(--cream); font: 600 .9rem var(--font-head); }
.social--labels a:hover { background: var(--gold); color: var(--green-deep); transform: translateY(-3px); }
.social--labels .social-label { position: static; width: auto; height: auto; clip: auto; }

.footer-links { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; }
.footer-links li + li::before { content: "/"; color: rgba(249, 242, 225, .35); margin: 0 14px; }
.footer-links a { color: var(--cream); font-family: var(--font-head); font-size: .9rem; font-weight: 500; text-decoration: none; background: linear-gradient(var(--gold), var(--gold)) left bottom / 0 1px no-repeat; transition: background-size .3s var(--ease), color .3s; padding-bottom: 2px; }
.footer-links a:hover { color: var(--gold); background-size: 100% 1px; }
.copyright { margin: 0; padding-top: 20px; border-top: 1px solid rgba(249, 242, 225, .12); width: 100%; font-size: .85rem; color: rgba(249, 242, 225, .7); }
.credit { display: inline-block; margin-left: 6px; }
.credit::before { content: "\00B7"; margin-right: 8px; color: rgba(249, 242, 225, .4); }
.credit a { color: var(--gold); font-weight: 600; text-decoration: none; background: linear-gradient(var(--gold), var(--gold)) left bottom / 0 1px no-repeat; transition: background-size .3s var(--ease); padding-bottom: 1px; }
.credit a:hover { color: var(--gold); background-size: 100% 1px; }
@media (max-width: 600px) { .credit { display: block; margin: 6px 0 0; } .credit::before { display: none; } }

/* Back to top */
.to-top {
    position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 46px; height: 46px; border-radius: 50%;
    border: 0; background: var(--green); color: var(--gold); cursor: pointer; box-shadow: var(--shadow-lg);
    display: grid; place-items: center;
    opacity: 0; visibility: hidden; transform: translateY(14px);
    transition: opacity .3s, transform .3s var(--ease), visibility .3s, background-color .2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--green-soft); }

/* ==========================================================================
   Animations
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease) var(--reveal-delay, 0s), transform .8s var(--ease) var(--reveal-delay, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Photos: frame unveils with a soft wipe while the image settles from a slight zoom */
.reveal-zoom .photo-frame { clip-path: inset(8% 8% 8% 8% round var(--radius)); transition: clip-path 1.1s var(--ease) var(--reveal-delay, 0s); }
.reveal-zoom .photo-frame img { transform: scale(1.12); transition: transform 1.4s var(--ease) var(--reveal-delay, 0s); }
.reveal-zoom.in .photo-frame { clip-path: inset(0 0 0 0 round var(--radius)); }
.reveal-zoom.in .photo-frame img { transform: none; }
.reveal-zoom.in:hover .photo-frame img { transform: scale(1.035); transition-delay: 0s; transition-duration: .9s; }
.photo--card.reveal-zoom .photo-frame { clip-path: inset(8% 8% 8% 8%); }
.photo--card.reveal-zoom.in .photo-frame { clip-path: inset(0); }
.no-js .reveal-zoom .photo-frame { clip-path: none; }
.no-js .reveal-zoom .photo-frame img { transform: none; }

/* Lists whose items pop in one after another */
.reveal-stagger > * { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > :nth-child(2) { transition-delay: .12s; }
.reveal-stagger.in > :nth-child(3) { transition-delay: .24s; }
.reveal-stagger.in > :nth-child(4) { transition-delay: .36s; }
.reveal-stagger.in > :nth-child(5) { transition-delay: .48s; }
.reveal-stagger.in > :nth-child(6) { transition-delay: .6s; }
.no-js .reveal-stagger > * { opacity: 1; transform: none; }

/* Page titles slide in from the left */
.page-title.reveal { transform: translateX(-30px); }
.page-title.reveal.in { transform: none; }

/* Gentle light sweep across the main buttons */
.btn-gold, .btn-green, .menu a.btn-donate { position: relative; overflow: hidden; isolation: isolate; }
.btn-gold::before, .btn-green::before, .menu a.btn-donate::before {
    content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: -1;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
    transform: skewX(-20deg); animation: shine 5s ease-in-out 2s infinite;
}
.menu a.btn-donate::before { background: linear-gradient(100deg, transparent, rgba(224, 190, 83, .35), transparent); }

/* Footer social icons float in */
.site-footer .social li { animation: floaty 4s ease-in-out infinite; }
.site-footer .social li:nth-child(2) { animation-delay: .6s; }

/* Donate card glow drifts slowly */
.donate-card::after { animation: drift 9s ease-in-out infinite alternate; }
.no-js .page-title-line { width: 64px; }

@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }
@keyframes shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-60px, 40px) scale(1.25); } }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal, .hero-line, .hero-fade, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
    .reveal-zoom .photo-frame { clip-path: none !important; }
    .reveal-zoom .photo-frame img { transform: none !important; }
}

@media (max-width: 600px) {
    body { font-size: 1rem; }
    .page { padding-block: 36px 64px; }
    .hero-content { padding-block: 56px 100px; }
    .footer-links li + li::before { margin: 0 10px; }
}
