/* Ohweapim Foundation - public site, v2 interface.
   Layout inspired by a common charity-site pattern, written from scratch in plain CSS with the Foundation's own colours, logo and photos. */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/montserrat-latin-wght-normal.woff2') format('woff2'); }

:root {
  --forest: #0d2a22;
  --forest-2: #143a2f;
  --sun: #e8621a;
  --sun-dark: #c24e10;
  --gold: #f2b33d;
  --chalk: #ffffff;
  --alt: #f6f8f5;
  --paper: #ffffff;
  --surface: #ffffff;
  --ink: #1e2b26;
  --muted: #5b6862;
  --line: #e3e8e2;
  --ok: #1a7a3a;
  --bad: #b3341f;
  --sun-text: #c24e10;
  --sun-soft: #fff3ea;
  --track: #e9eee8;
  --flash-ok-bg: #e1f3e6;
  --flash-bad-bg: #fbe5e0;
  --btn-ink-bg: #1e2b26;
  --btn-ink-fg: #ffffff;
  --btn-ink-hover: #143a2f;
  --shadow: rgba(13,42,34,.16);
  --card-shadow: 0 10px 40px rgba(13,42,34,.08);
  --scrim: rgba(10,21,17,.38);
  --glass: rgba(255,255,255,.95);
  --footer-bg: #0a1c16;
  --grad: linear-gradient(100deg, #0d2a22 0%, #1a5240 55%, #e8621a 150%);
  --font-display: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  --wrap: 1140px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --chalk: #0a1511; --alt: #0e1d17; --paper: #11211b; --surface: #162a23; --ink: #e8efe9; --muted: #a3b6ab; --line: #28413a;
    --ok: #5fcf85; --bad: #ff8e7a; --sun-text: #ff9b5e; --sun-soft: #2b1d14; --track: #223a32;
    --flash-ok-bg: #12301f; --flash-bad-bg: #3a1a14; --btn-ink-bg: #e8efe9; --btn-ink-fg: #0a1511; --btn-ink-hover: #ffffff;
    --shadow: rgba(0,0,0,.6); --card-shadow: 0 10px 40px rgba(0,0,0,.35); --scrim: rgba(0,0,0,.55); --glass: rgba(17,33,27,.96);
    --footer-bg: #07120e; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --chalk: #0a1511; --alt: #0e1d17; --paper: #11211b; --surface: #162a23; --ink: #e8efe9; --muted: #a3b6ab; --line: #28413a;
  --ok: #5fcf85; --bad: #ff8e7a; --sun-text: #ff9b5e; --sun-soft: #2b1d14; --track: #223a32;
  --flash-ok-bg: #12301f; --flash-bad-bg: #3a1a14; --btn-ink-bg: #e8efe9; --btn-ink-fg: #0a1511; --btn-ink-hover: #ffffff;
  --shadow: rgba(0,0,0,.6); --card-shadow: 0 10px 40px rgba(0,0,0,.35); --scrim: rgba(0,0,0,.55); --glass: rgba(17,33,27,.96);
  --footer-bg: #07120e; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { font-family: var(--font-body); color: var(--muted); background: var(--chalk); line-height: 1.8; font-size: .98rem; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); line-height: 1.25; color: var(--ink); font-weight: 700; overflow-wrap: break-word; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.wrap, .container { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--btn-ink-bg); color: var(--btn-ink-fg); padding: 10px 14px; z-index: 1300; }
.skip:focus { left: 8px; }
.ico { flex: none; }
[hidden] { display: none !important; }
.tc { text-align: center; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 30px; border-radius: 4px; font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; border: 2px solid transparent; cursor: pointer; font-family: var(--font-body); transition: background .2s, color .2s, border-color .2s, transform .2s; line-height: 1.2; min-height: 48px; }
.btn-sun { background: var(--sun-dark); color: #fff; }
.btn-sun:hover { background: #a84209; }
.btn-ghost { border-color: #fff; color: #fff; background: transparent; }
.btn-ghost:hover { background: #fff; color: var(--forest); }
.btn-ink { background: var(--btn-ink-bg); color: var(--btn-ink-fg); }
.btn-ink:hover { background: var(--btn-ink-hover); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--btn-ink-bg); color: var(--btn-ink-fg); }
.btn-white { background: #fff; color: var(--sun-dark); }
.btn-white:hover { background: var(--forest); color: #fff; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn-lg { padding: 17px 38px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--grad); color: #fff; font-size: .8rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; color: #fff; opacity: .95; }
.topbar a:hover { opacity: 1; text-decoration: underline; }
.topbar .contact-line { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.topbar .social { display: flex; gap: 6px; }
.topbar .social a { width: 30px; height: 30px; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.14); }
.topbar .social a:hover { background: rgba(255,255,255,.3); text-decoration: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--chalk); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 6px 24px var(--shadow); }
.site-header .wrap { display: flex; align-items: center; justify-content: flex-start; gap: 18px; height: 82px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; color: var(--ink); line-height: 1.15; margin-right: auto; }
.brand img { height: 50px; width: 50px; border-radius: 50%; }
.brand small { display: block; font-weight: 500; font-size: .66rem; color: var(--muted); margin-top: 3px; letter-spacing: .02em; }
.nav { display: flex; align-items: stretch; gap: 4px; height: 100%; }
.nav a.nav-link { display: flex; white-space: nowrap; align-items: center; padding: 0 13px; font-weight: 600; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.nav a.nav-link:hover { color: var(--sun-text); }
.nav a.nav-link[aria-current="page"] { color: var(--sun-text); border-bottom-color: var(--sun); }
.nav .btn { align-self: center; margin-left: 12px; padding: 12px 22px; min-height: 44px; }
.nav-toggle { display: none; background: none; border: 2px solid var(--ink); color: var(--ink); border-radius: 6px; padding: 8px 14px; font-weight: 700; cursor: pointer; font-family: var(--font-body); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; min-height: 44px; }
.header-tools { display: flex; align-items: center; gap: 12px; }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 2px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; flex: none; }
.theme-toggle:hover { border-color: var(--ink); }
.theme-toggle svg { width: 20px; height: 20px; display: none; }
html[data-theme-mode="auto"] .theme-toggle .i-auto, html[data-theme-mode="light"] .theme-toggle .i-light, html[data-theme-mode="dark"] .theme-toggle .i-dark { display: block; }
html:not([data-theme-mode]) .theme-toggle .i-auto { display: block; }

/* ---------- Flash ---------- */
.flash { padding: 14px 0; font-size: .95rem; text-align: center; font-weight: 600; }
.flash-success { background: var(--flash-ok-bg); color: var(--ok); }
.flash-error { background: var(--flash-bad-bg); color: var(--bad); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section.alt { background: var(--alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); position: relative; padding-bottom: 18px; }
.section-head h2::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 56px; height: 3px; background: var(--sun); transform: translateX(-50%); border-radius: 2px; }
.section-head p { margin-top: 18px; }
.section-head.left { text-align: left; margin-left: 0; }
.section-head.left h2::after { left: 0; transform: none; }
.lead { font-size: 1.1rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.grid-2 > *, .grid-3 > *, .grid-4 > * { min-width: 0; }
.link-more { color: var(--sun-text); font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; }
.link-more:hover { text-decoration: underline; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; text-align: center; padding: 150px 0 200px; background: var(--forest) url('/img/hero.webp') center / cover no-repeat; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,28,22,.78), rgba(8,28,22,.6) 60%, rgba(8,28,22,.8)); z-index: -1; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5.4vw, 4rem); font-weight: 700; line-height: 1.15; max-width: 16ch; margin: 0 auto; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero p { max-width: 54ch; margin: 22px auto 0; font-size: 1.1rem; color: #e6efe9; }
.hero .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }

/* ---------- Service cards over the hero ---------- */
.pull { margin-top: -118px; position: relative; z-index: 3; padding-bottom: 40px; }
.svc { position: relative; background: var(--paper); border-radius: 6px; box-shadow: var(--card-shadow); padding: 74px 28px 56px; text-align: center; margin-top: 52px; display: block; transition: transform .25s, box-shadow .25s; }
.svc:hover { transform: translateY(-6px); }
.svc .badge { position: absolute; left: 50%; top: -52px; transform: translateX(-50%); width: 104px; height: 104px; border-radius: 50%; background: var(--alt); border: 6px solid var(--paper); display: grid; place-items: center; color: var(--sun-text); }
.svc h3 { font-size: 1.15rem; margin-bottom: 12px; }
.svc p { font-size: .95rem; }
.svc .go { position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%); width: 52px; height: 52px; border-radius: 50%; background: var(--sun-dark); color: #fff; display: grid; place-items: center; border: 5px solid var(--chalk); }
.svc.on { background: var(--sun-dark); }
.svc.on h3, .svc.on p { color: #fff; }
.svc.on .badge { color: var(--sun-dark); }
.svc.on .go { background: #fff; color: var(--sun-dark); }

/* ---------- Why us ---------- */
.why-photo { position: relative; }
.why-photo img { width: 100%; border-radius: 6px; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--card-shadow); }
.why-photo::before { content: ""; position: absolute; left: -18px; bottom: -18px; width: 62%; height: 62%; border-radius: 6px; background: var(--sun); opacity: .16; z-index: -1; }
.why h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 30px; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 28px; }
.why-item { display: flex; gap: 16px; }
.why-item .ic { width: 58px; height: 58px; border-radius: 50%; background: var(--sun-dark); color: #fff; display: grid; place-items: center; flex: none; }
.why-item h4 { font-size: 1.02rem; margin-bottom: 4px; }
.why-item p { font-size: .92rem; line-height: 1.65; }

/* ---------- Counters ---------- */
.counters { background: var(--sun-dark); color: #fff; padding: 64px 0; }
.counters .grid-4 { text-align: center; gap: 24px; }
.counters .n { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 700; line-height: 1.1; color: #fff; }
.counters .l { font-weight: 600; font-size: .95rem; margin-top: 6px; color: #fff; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.faq details { background: var(--paper); border-radius: 30px; box-shadow: 0 6px 22px var(--shadow); margin-bottom: 14px; overflow: hidden; border: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 15px 26px; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 52px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--sun-text); }
.faq details[open] { border-radius: 24px; }
.faq details[open] summary { background: var(--sun-dark); color: #fff; }
.faq details[open] summary::after { content: "\2212"; color: #fff; }
.faq .answer { padding: 18px 26px 22px; font-size: .94rem; }
.faq .answer p + p { margin-top: 10px; }
.faq .answer a { color: var(--sun-text); text-decoration: underline; }
.collage { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.collage img { width: 100%; object-fit: cover; border-radius: 6px; box-shadow: var(--card-shadow); }
.collage .big { grid-column: 1 / -1; height: 280px; }
.collage .sm { height: 190px; }

/* ---------- Promise cards ---------- */
.promise { background: var(--paper); border-radius: 6px; box-shadow: var(--card-shadow); padding: 34px 30px; position: relative; }
.promise .dot { width: 54px; height: 54px; border-radius: 50%; background: var(--sun-dark); color: #fff; display: grid; place-items: center; margin-bottom: 18px; }
.promise h3 { font-size: 1.1rem; margin-bottom: 10px; }
.promise .src { display: block; margin-top: 16px; font-size: .82rem; font-weight: 700; color: var(--sun-text); }

/* ---------- Ways to give ---------- */
.pack { background: var(--paper); box-shadow: var(--card-shadow); border-radius: 6px; overflow: hidden; text-align: center; display: flex; flex-direction: column; }
.pack img { width: 100%; height: 190px; object-fit: cover; }
.pack .body { padding: 26px 24px 30px; display: flex; flex-direction: column; flex: 1; }
.pack .tier { color: var(--sun-text); font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.pack .price { font-family: var(--font-display); color: var(--ink); font-weight: 800; font-size: 3rem; line-height: 1.1; margin: 8px 0 18px; }
.pack .price small { font-size: .9rem; font-weight: 600; color: var(--muted); }
.pack ul { list-style: none; margin: 0 -24px 24px; }
.pack li { padding: 11px 16px; font-size: .92rem; color: var(--ink); }
.pack li:nth-child(odd) { background: var(--alt); }
.pack .btn { margin-top: auto; align-self: center; }

/* ---------- Gallery ---------- */
.gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gal a { display: block; overflow: hidden; border-radius: 6px; position: relative; background: var(--track); }
.gal img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; transition: transform .4s ease; }
.gal a:hover img { transform: scale(1.05); }
.gal a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(13,42,34,.55)); opacity: 0; transition: opacity .25s; }
.gal a:hover::after, .gal a:focus-visible::after { opacity: 1; }
.lightbox-overlay { position: fixed; inset: 0; background: rgba(5,12,9,.92); display: none; align-items: center; justify-content: center; z-index: 999; padding: 24px; }
.lightbox-overlay.open { display: flex; }
.lightbox-overlay img { max-width: 92vw; max-height: 88vh; border-radius: 4px; }
.lightbox-close { position: absolute; top: 18px; right: 26px; color: #fff; font-size: 2.4rem; cursor: pointer; line-height: 1; background: none; border: none; }

/* ---------- News ---------- */
.post { background: var(--paper); box-shadow: var(--card-shadow); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; transition: transform .25s; }
.post:hover { transform: translateY(-5px); }
.post .thumb { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; background: var(--track); }
.post .body { padding: 22px 24px 28px; }
.post .meta { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.post h3 { font-size: 1.08rem; line-height: 1.4; }
.post p { margin-top: 10px; font-size: .92rem; }
.post-body { font-size: 1.02rem; }
.post-body p { margin-bottom: 1.2em; max-width: 68ch; }
.post-body .cover { width: 100%; border-radius: 6px; margin-bottom: 28px; max-height: 480px; object-fit: cover; }
.post-layout { display: grid; grid-template-columns: 1fr 320px; gap: 56px; align-items: start; }
.side-box { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 26px; margin-bottom: 26px; }
.side-box h4 { font-size: 1.05rem; margin-bottom: 16px; position: relative; padding-bottom: 12px; }
.side-box h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 38px; height: 3px; background: var(--sun); border-radius: 2px; }
.mini { display: flex; gap: 14px; margin-bottom: 16px; align-items: center; }
.mini img { width: 68px; height: 68px; object-fit: cover; border-radius: 4px; flex: none; background: var(--track); }
.mini h5 { font-size: .92rem; line-height: 1.35; }
.mini span { font-size: .75rem; color: var(--muted); }
.crumb { font-size: .92rem; color: var(--muted); margin-bottom: 14px; }

/* ---------- Page banner ---------- */
.banner { position: relative; isolation: isolate; color: #fff; padding: 84px 0 56px; background: var(--forest) url('/img/banner.webp') center 35% / cover no-repeat; }
.banner::before { content: ""; position: absolute; inset: 0; background: var(--grad); opacity: .9; z-index: -1; }
.banner .crumbs { font-size: .8rem; font-weight: 500; color: #dbe7e0; margin-bottom: 10px; display: flex; gap: 8px; flex-wrap: wrap; }
.banner .crumbs a { color: #dbe7e0; text-decoration: underline; text-underline-offset: 3px; }
.banner .crumbs a:hover { color: #fff; }
.banner h1 { color: #fff; font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 700; max-width: 22ch; }
.banner p { margin-top: 14px; max-width: 60ch; color: #e6efe9; font-size: 1.02rem; }

/* ---------- Programme cards ---------- */
.prog { background: var(--paper); border-radius: 6px; box-shadow: var(--card-shadow); overflow: hidden; display: flex; flex-direction: column; }
.prog img { width: 100%; height: 210px; object-fit: cover; background: var(--track); }
.prog .body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.prog h3 { font-size: 1.12rem; margin-bottom: 8px; }
.prog p { font-size: .92rem; margin-bottom: 18px; }
.prog .btn { margin-top: auto; align-self: flex-start; }
.meter { height: 8px; background: var(--track); border-radius: 999px; overflow: hidden; }
.meter > span { display: block; height: 100%; background: var(--sun); border-radius: 999px; }
.meter-meta { display: flex; justify-content: space-between; gap: 10px; font-size: .78rem; margin: 8px 0 18px; flex-wrap: wrap; }
.meter-meta strong { color: var(--ink); }
.detail { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: start; }
.detail .cover { width: 100%; max-height: 460px; object-fit: cover; border-radius: 6px; margin-bottom: 28px; }
.detail .text { max-width: 64ch; }
.detail .text p { margin-bottom: 1.1em; }
.side-card { position: sticky; top: 110px; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 28px; box-shadow: var(--card-shadow); }
.side-card .big { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: var(--ink); line-height: 1.2; }
.side-card .of { color: var(--muted); margin-bottom: 16px; }
.side-card .btn { width: 100%; margin-top: 22px; }

/* ---------- Team ---------- */
.team-page { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 26px; }
.member { margin: 0; text-align: center; }
.member picture { display: block; }
.member img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 22%; border-radius: 6px; margin-bottom: 16px; background: var(--track); box-shadow: var(--card-shadow); }
.member h2, .member h3, .member h4 { font-size: 1.08rem; line-height: 1.3; }
.member .role { color: var(--sun-text); font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; margin-top: 4px; }
.member p { color: var(--muted); font-size: .88rem; margin-top: 8px; font-style: italic; }
.avatar-initials { aspect-ratio: 4 / 5; border-radius: 6px; margin-bottom: 16px; display: grid; place-items: center; background: var(--forest); color: var(--gold); font-family: var(--font-display); font-weight: 800; font-size: 3.2rem; }
.team-note { max-width: 62ch; margin: 48px auto 0; color: var(--muted); font-size: .92rem; text-align: center; }
.team-note a { text-decoration: underline; }

/* ---------- Contact split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split .left { position: relative; isolation: isolate; color: #fff; padding: 80px 56px; display: flex; flex-direction: column; justify-content: center; background: var(--forest) url('/img/gallery/launch-03.webp') center / cover no-repeat; }
.split .left::before { content: ""; position: absolute; inset: 0; background: rgba(8,28,22,.78); z-index: -1; }
.split .left h2 { color: #fff; font-size: 1.8rem; margin-bottom: 22px; }
.split .left li { list-style: none; display: flex; gap: 14px; margin-bottom: 18px; color: #e6efe9; }
.split .left li .ico { color: var(--gold); margin-top: 3px; }
.split .left a { text-decoration: underline; }
.split .right { background: var(--grad); padding: 80px 56px; color: #fff; }
.split .right h2 { color: #fff; font-size: 1.8rem; margin-bottom: 22px; }
.split .field input, .split .field textarea, .split .field select { border-color: transparent; }
.split .consent-check { color: #fff; }
.split .consent-check a { text-decoration: underline; }
.split .error-text { background: #fff; }
.split .ok-text { background: #fff; }

/* ---------- Forms ---------- */
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 36px; box-shadow: var(--card-shadow); }
.panel h2, .panel h3 { font-size: 1.5rem; margin-bottom: 20px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .86rem; margin-bottom: 6px; color: var(--ink); }
.split .field label { color: #fff; }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border: 2px solid var(--line); border-radius: 4px; font: inherit; background: var(--surface); color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--forest-2); outline: none; box-shadow: 0 0 0 3px rgba(242,179,61,.5); }
.field textarea { min-height: 140px; resize: vertical; }
.field .hint { font-size: .82rem; color: var(--muted); margin-top: 5px; }
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.amount-option { padding: 15px 10px; text-align: center; border: 2px solid var(--line); border-radius: 4px; cursor: pointer; font-weight: 700; background: var(--surface); color: var(--ink); user-select: none; }
.amount-option:hover { border-color: var(--forest-2); }
.amount-option.selected { border-color: var(--sun); background: var(--sun-soft); color: var(--sun-text); }
.check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 20px; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--sun-dark); flex: none; }
.error-text { color: var(--bad); font-weight: 600; font-size: .92rem; margin-bottom: 14px; padding: 12px 14px; border-radius: 4px; background: rgba(179,52,31,.10); }
.ok-text { color: var(--ok); font-weight: 600; margin-bottom: 14px; padding: 12px 14px; border-radius: 4px; background: rgba(26,122,58,.10); }
.error-text[hidden], .ok-text[hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent-check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; margin: 14px 0; }
.consent-check input { margin-top: 5px; width: 20px; height: 20px; flex: none; accent-color: var(--sun-dark); }
.consent-check a { text-decoration: underline; }
.donate-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.donate-aside img { border-radius: 6px; width: 100%; height: 320px; object-fit: cover; margin-bottom: 24px; }
.donate-aside h3 { font-size: 1.4rem; margin-bottom: 10px; }
.donate-aside ul { padding-left: 20px; margin-top: 12px; }
.donate-aside li { margin-bottom: 6px; }
.contact-info { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center; margin-bottom: 64px; }
.contact-info .ic { width: 74px; height: 74px; border-radius: 50%; background: var(--sun-dark); color: #fff; display: grid; place-items: center; margin: 0 auto 14px; }
.contact-info h4 { font-size: 1rem; margin-bottom: 4px; }
.contact-info a { color: var(--sun-text); }
.contact-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.status-page { text-align: center; max-width: 560px; margin: 0 auto; }
.status-page h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 14px; }
.status-page .btn { margin-top: 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: #b4c5bb; padding: 84px 0 0; font-size: .92rem; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1.3fr .9fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.site-footer h4 { color: #fff; font-size: 1.1rem; margin-bottom: 26px; position: relative; padding-bottom: 12px; }
.site-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 38px; height: 3px; background: var(--sun); border-radius: 2px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: 16px; }
.footer-brand img { width: 48px; height: 48px; border-radius: 50%; }
.foot-social { display: flex; gap: 10px; margin-top: 20px; }
.foot-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; color: #fff; }
.foot-social a:hover { background: var(--sun-dark); text-decoration: none; }
.flist li { display: flex; gap: 12px; align-items: flex-start; }
.flist .ico { color: var(--sun); margin-top: 4px; }
.fnews { display: flex; gap: 14px; margin-bottom: 18px; }
.fnews img { width: 64px; height: 64px; object-fit: cover; border-radius: 4px; flex: none; background: #1d3a30; }
.fnews a { color: #fff; font-weight: 600; font-size: .9rem; line-height: 1.4; display: block; }
.fnews span { font-size: .76rem; color: #8fa699; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 26px 0 30px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: .84rem; color: #8fa699; }
.footer-bottom a { color: #b4c5bb; text-decoration: underline; }
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.credit { width: 100%; text-align: center; font-size: .8rem; color: #7f9588; padding: 0 0 24px; }
.credit a { color: #b4c5bb; text-decoration: underline; }
.linklike { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; min-height: 0; }
.m-donate { display: none; }

/* ---------- Reveal on scroll ---------- */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js .reveal { opacity: 1; transform: none; transition: none; } .svc, .post { transition: none; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .brand small { display: none; }
  .nav a.nav-link { padding: 0 9px; font-size: .7rem; }
  .team-page { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .site-header .wrap { height: 74px; }
  .nav { display: none; position: absolute; top: 74px; left: 0; right: 0; background: var(--chalk); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 22px; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px var(--shadow); height: auto; }
  .nav.open { display: flex; }
  .nav a.nav-link { padding: 15px 0; border-bottom: 1px solid var(--line); margin-bottom: 0; }
  .nav a.nav-link[aria-current="page"] { border-bottom-color: var(--line); }
  .nav .btn { margin: 16px 0 0; }
  .nav-toggle { display: block; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-2, .faq-grid, .detail, .post-layout, .split, .donate-layout, .contact-cols { grid-template-columns: 1fr; gap: 40px; }
  .split { gap: 0; }
  .split .left, .split .right { padding: 56px 28px; }
  .side-card { position: static; }
  .contact-info { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .team-page { grid-template-columns: repeat(3, 1fr); }
  .pull .grid-3 { grid-template-columns: 1fr; gap: 40px; max-width: 460px; margin: 0 auto; }
  .why-photo { max-width: 420px; margin: 0 auto; }
}
@media (max-width: 760px) {
  .section { padding: 68px 0; }
  .hero { padding: 90px 0 170px; }
  .topbar .social { display: none; }
  .topbar .wrap { justify-content: center; }
  .m-donate { display: flex; align-items: center; justify-content: center; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; min-height: 52px; border-radius: 4px; background: var(--sun-dark); color: #fff; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
  body.has-m-donate { padding-bottom: 80px; }
  .grid-3, .grid-4, .why-list, .footer-top, .contact-info { grid-template-columns: 1fr; }
  .counters .grid-4 { grid-template-columns: 1fr 1fr; }
  .gal { grid-template-columns: 1fr 1fr; gap: 12px; }
  .team-page { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
  .panel { padding: 24px; }
  .banner { padding: 60px 0 40px; }
  .collage .big { height: 220px; } .collage .sm { height: 150px; }
}
@media (max-width: 480px) {
  .wrap, .container { padding: 0 16px; }
  .brand small { display: none; }
  .brand { font-size: 1rem; }
  .footer-bottom { flex-direction: column; }
}
@media print { .topbar, .site-header, .m-donate, .site-footer, .lightbox-overlay { display: none !important; } body { background: #fff; color: #000; } }
/* ---------- Legal pages, consent, forms ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.5rem; margin: 38px 0 12px; }
.legal h3 { font-size: 1.15rem; margin: 24px 0 8px; }
.legal p, .legal li { max-width: 70ch; }
.legal ul { padding-left: 1.2em; margin: 8px 0 16px; }
.legal li { margin-bottom: 8px; }
.table-wrap { overflow-x: auto; margin: 18px 0; -webkit-overflow-scrolling: touch; }
.legal-table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 640px; }
.legal-table th, .legal-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-table th { background: var(--paper); font-weight: 700; }
.legal code { background: var(--paper); padding: 2px 6px; border-radius: 4px; font-size: .9em; }
.linklike { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; min-height: 0; }
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.legal-links a { text-decoration: underline; }
.consent-check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; margin: 14px 0; }
.consent-check input { margin-top: 5px; width: 20px; height: 20px; flex: none; }
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1000; display: flex; justify-content: center; pointer-events: none; }
.cookie-banner[hidden] { display: none; }
.cookie-main { pointer-events: auto; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 60px rgba(0,0,0,.28); padding: 22px 24px; max-width: 760px; width: 100%; }
.cookie-main h2 { font-size: 1.15rem; margin-bottom: 6px; }
.cookie-main p { font-size: .95rem; margin: 0 0 12px; }
.cookie-main a { text-decoration: underline; }
.cookie-row { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; margin: 8px 0; }
.cookie-row input { margin-top: 4px; width: 18px; height: 18px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; }
@media (max-width: 760px) { .cookie-banner { left: 8px; right: 8px; bottom: 8px; } .cookie-actions .btn { flex: 1 1 140px; } .m-donate { bottom: 12px; } }


/* ---------- Donation walkthrough ---------- */
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.tour-launch { color: var(--sun-text, #b94a0f); font-weight: 600; }
.secure-note { font-size: .88rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
.tour-hl { outline: 3px solid var(--sun); outline-offset: 6px; border-radius: 8px; transition: outline-color .2s; }
.tour-bubble { position: absolute; z-index: 900; width: min(340px, calc(100vw - 24px)); background: var(--forest); color: #fff; border-radius: 14px; padding: 18px 20px 16px; box-shadow: 0 18px 50px rgba(0,0,0,.4); }
.tour-bubble::before { content: ""; position: absolute; left: var(--arrow-x, 24px); width: 16px; height: 16px; background: var(--forest); transform: rotate(45deg); }
.tour-bubble[data-side="below"]::before { top: -7px; }
.tour-bubble[data-side="above"]::before { bottom: -7px; }
.tour-bubble h3 { color: #fff; font-size: 1.15rem; margin: 2px 0 6px; }
.tour-bubble p { margin: 0 0 14px; font-size: .95rem; line-height: 1.5; color: #e4ece6; }
.tour-count { font-size: .8rem; color: var(--gold); font-weight: 600; }
.tour-actions { display: flex; align-items: center; gap: 8px; }
.tour-spacer { flex: 1; }
.tour-bubble .linklike { color: #cfdcd3; }
.tour-bubble .btn { padding: 10px 18px; min-height: 40px; }
.tour-bubble .btn-line { border-color: rgba(255,255,255,.5); color: #fff; }
.tour-bubble.tour-sheet { position: fixed; left: 8px; right: 8px; bottom: 8px; top: auto; width: auto; z-index: 900; }
.tour-bubble.tour-sheet::before { display: none; }
@media (prefers-reduced-motion: no-preference) { .tour-bubble { animation: tourin .22s ease-out; } @keyframes tourin { from { opacity: 0; transform: translateY(6px); } } }
[hidden] { display: none !important; }
.tour-bubble .btn-line { background: transparent; }
.tour-bubble .btn-line:hover { background: rgba(255,255,255,.12); color: #fff; }
.tour-bubble[data-side="right"]::before { left: -7px; top: var(--arrow-y, 28px); }


/* ---------- Legal documents as a click-away layer ---------- */
.legal-layer { position: fixed; inset: 0; z-index: 1100; display: flex; align-items: center; justify-content: center; padding: 20px; background: var(--scrim); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .2s ease; cursor: pointer; }
.legal-layer[hidden] { display: none; }
.legal-layer.show { opacity: 1; }
.legal-sheet { width: 100%; max-width: 800px; max-height: min(82vh, 820px); overflow: auto; overscroll-behavior: contain; background: var(--glass); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 70px var(--shadow); padding: 0 32px 28px; outline: none; cursor: pointer; transform: translateY(10px); transition: transform .2s ease; }
.legal-layer.show .legal-sheet { transform: none; }
.legal-hint { position: sticky; top: 0; margin: 0 -32px; padding: 12px 32px; background: var(--glass); border-bottom: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; }
.legal-sheet h2.legal-title { font-size: 1.7rem; margin: 22px 0 4px; }
.legal-sheet .legal-meta { color: var(--muted); font-size: .9rem; margin-bottom: 8px; }
.legal-sheet .legal { max-width: none; }
.legal-sheet .legal h2 { font-size: 1.25rem; margin: 26px 0 8px; }
.legal-sheet .legal a { text-decoration: underline; }
.legal-sheet .table-wrap { overflow-x: auto; }
.legal-sheet .legal-table { min-width: 560px; font-size: .9rem; }
html.legal-open { overflow: hidden; }
@media (max-width: 600px) { .legal-layer { padding: 10px; align-items: flex-end; } .legal-sheet { padding: 0 18px 22px; max-height: 88vh; } .legal-hint { margin: 0 -18px; padding: 12px 18px; } }
@media (prefers-reduced-motion: reduce) { .legal-layer, .legal-sheet { transition: none; } }
@media print { .legal-layer { display: none !important; } }.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.split > * { min-width: 0; }
.split .left a, .contact-info a, .flist a { overflow-wrap: anywhere; }
.momo-steps { list-style: none; counter-reset: s; display: grid; gap: 30px; }
.momo-steps > li { counter-increment: s; position: relative; padding-left: 58px; }
.momo-steps > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--sun-dark); color: #fff; display: grid; place-items: center; font-weight: 700; }
.momo-steps h3 { font-size: 1.1rem; margin-bottom: 10px; }
.momo-pick { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.momo-pick label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.momo-pick select { flex: 1 1 240px; min-width: 0; padding: 13px 14px; border: 2px solid var(--line); border-radius: 4px; font: inherit; background: var(--surface); color: var(--ink); }
.momo-pick .btn { min-height: 48px; padding: 12px 22px; }
.momo .hint { font-size: .88rem; margin-top: 10px; }
.momo-card { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 4px 0 6px; }
.momo-card div { background: var(--alt); border-radius: 6px; padding: 14px 16px; min-width: 0; }
.momo-card dt { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.momo-card dd { font-weight: 700; color: var(--ink); font-size: 1.05rem; overflow-wrap: anywhere; }
.momo-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
@media (max-width: 480px) { .momo-card { grid-template-columns: 1fr; } .momo-steps > li { padding-left: 50px; } }
.staff-tab { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; font-size: .78rem; font-weight: 600; color: #b4c5bb; text-decoration: none !important; }
.staff-tab:hover { background: rgba(255,255,255,.1); color: #fff; }
.donate-layout > *, .contact-cols > * { min-width: 0; } .momo-pick select { max-width: 100%; }
.momo-steps { grid-template-columns: minmax(0, 1fr); } .momo-steps > li { min-width: 0; }

/* ---- Newsletter band (footer) ---- */
.news-band { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px 40px; align-items: center; padding: 0 0 40px; margin-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.14); }
.news-band > * { min-width: 0; }
.news-band h4 { margin: 0 0 4px; }
.news-band p { margin: 0; opacity: .85; }
.nl-form { display: flex; flex-wrap: wrap; gap: 10px; }
.nl-form input[type=email] { flex: 1 1 220px; min-width: 0; padding: 12px 14px; border-radius: 6px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; font: inherit; }
.nl-form input[type=email]::placeholder { color: rgba(255,255,255,.6); }
.nl-consent { flex: 1 1 100%; display: flex; gap: 8px; align-items: center; font-size: .88rem; }
.nl-consent a { color: #fff; text-decoration: underline; }
.nl-msg { grid-column: 1 / -1; font-weight: 600; }

/* ---- WhatsApp button ---- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 54px; height: 54px; border-radius: 50%; background: #1fa855; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.28); }
.wa-float:hover { filter: brightness(1.08); }

/* ---- Events ---- */
.event-list { display: grid; gap: 18px; }
.event { display: grid; grid-template-columns: 84px 1fr; gap: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 20px; }
.event > * { min-width: 0; }
.event .when { background: var(--forest); color: #fff; border-radius: 8px; text-align: center; padding: 10px 6px; align-self: start; }
.event .when b { display: block; font-size: 1.9rem; line-height: 1.1; }
.event .when span { font-size: .85rem; letter-spacing: .02em; }
.event h3 { margin: 0 0 6px; }
.event .meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: .92rem; margin-bottom: 8px; }
.event .meta span { display: inline-flex; gap: 6px; align-items: center; }
.event.past { opacity: .75; }
.event.past .when { background: var(--muted); }

/* ---- Transparency ---- */
.t-figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin-bottom: 36px; }
.t-figures > div { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 20px; }
.t-figures b { display: block; font-size: 1.7rem; color: var(--forest-2); }
.t-prog { margin: 0 0 20px; }
.t-prog .top { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; margin-bottom: 6px; }
.t-prog .sub { color: var(--muted); font-size: .9rem; margin-top: 4px; }

/* ---- Partners strip ---- */
.partners { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px 44px; }
.partners a, .partners span.p { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; font-weight: 700; color: var(--muted); }
.partners img { max-height: 56px; max-width: 150px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.partners a:hover img { filter: none; opacity: 1; }

@media (max-width: 760px) {
  .news-band { grid-template-columns: 1fr; }
  .event { grid-template-columns: 1fr; }
  .event .when { display: flex; gap: 8px; align-items: baseline; justify-content: flex-start; padding: 8px 12px; width: max-content; }
  .event .when b { font-size: 1.3rem; }
  .wa-float { bottom: 78px; }
}
.ticks { list-style: none; padding: 0; margin: 0 0 20px; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .35em; width: 12px; height: 7px; border-left: 3px solid var(--sun-dark); border-bottom: 3px solid var(--sun-dark); transform: rotate(-45deg); }
.pack .tier-line { margin: 8px 0 18px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; line-height: 1.3; color: var(--ink); }

/* ---- Photo slider ---- */
.slider { position: relative; overflow: hidden; border-radius: 8px; background: var(--forest); box-shadow: var(--card-shadow); touch-action: pan-y; }
.slider:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.slider .slides { display: flex; transition: transform .7s cubic-bezier(.65,0,.35,1); will-change: transform; }
.slider .slide { flex: 0 0 100%; margin: 0; position: relative; min-width: 0; }
.slider .slide img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.slider-wide .slide img { aspect-ratio: 16 / 8; }
.slider .slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 46px 22px 18px; color: #fff; font-weight: 600; background: linear-gradient(180deg, transparent, rgba(8,28,22,.82)); }
.slider .s-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: #0d2a22; font-size: 1rem; cursor: pointer; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.slider .s-btn:hover { background: #fff; }
.slider .s-prev { left: 12px; } .slider .s-next { right: 12px; }
.slider .s-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.slider .s-dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: rgba(255,255,255,.55); cursor: pointer; }
.slider .s-dots button[aria-selected="true"] { background: #fff; width: 24px; border-radius: 6px; }
.slider-wide .slide figcaption { padding-bottom: 38px; }
@media (max-width: 760px) { .slider-wide .slide img { aspect-ratio: 4 / 3; } .slider .s-btn { width: 38px; height: 38px; } }
@media (prefers-reduced-motion: reduce) { .slider .slides { transition: none; } }
.why .slider { align-self: start; }
.gal.gal-wide { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.gal.gal-wide img { aspect-ratio: 3 / 2; }
.donate-aside .slider { margin-bottom: 24px; }

/* ======== Home page polish ======== */
/* Hero: slow zoom on the photo, parallax, one orchestrated entrance */
.hero { background: var(--forest); overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: -6% -3%; z-index: -2; background: url('/img/hero.webp') center / cover no-repeat; translate: 0 var(--py, 0px); animation: kenburns 28s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.14) translate(-1.2%, -1%); } }
.hero h1, .hero p, .hero .actions { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.hero p { animation-delay: .25s; }
.hero .actions { animation-delay: .45s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.scroll-cue { position: absolute; left: 50%; bottom: 128px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255,255,255,.7); border-radius: 14px; animation: rise 1s .9s both; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
.btn-sun { position: relative; overflow: hidden; }
.btn-sun::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); transition: left .6s ease; }
.btn-sun:hover::after { left: 130%; }

/* Scrolling words under the hero */
.ticker { background: var(--forest); color: #fff; overflow: hidden; white-space: nowrap; padding: 15px 0; }
.ticker-track { display: inline-flex; align-items: center; gap: 34px; padding-left: 34px; animation: tick 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: .04em; }
.ticker i { width: 9px; height: 9px; border-radius: 50%; background: var(--sun); display: inline-block; flex: none; }
@keyframes tick { to { transform: translateX(-50%); } }

/* Service cards */
.svc { transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s; }
.svc:hover { transform: translateY(-10px); box-shadow: 0 22px 48px rgba(8,28,22,.22); }
.svc .badge { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.svc:hover .badge { transform: translateX(-50%) rotate(-8deg) scale(1.08); }
.svc .go { transition: transform .3s, background .3s; }
.svc:hover .go { transform: translateX(-50%) scale(1.12); }

/* Photo frame accent behind sliders */
.frame-accent { position: relative; isolation: isolate; }
.frame-accent::before { content: ""; position: absolute; left: -16px; bottom: -16px; width: 58%; height: 58%; border-radius: 10px; background: var(--sun); opacity: .22; z-index: -1; }
.frame-accent::after { content: ""; position: absolute; right: -12px; top: -12px; width: 90px; height: 90px; border-radius: 50%; border: 3px dashed var(--sun); opacity: .5; z-index: -1; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* What we stand for */
.why-item { padding: 12px; margin: -12px; border-radius: 12px; transition: background .25s, transform .25s; }
.why-item:hover { background: var(--alt); transform: translateX(4px); }
.why-item .ic { transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .3s; }
.why-item:hover .ic { transform: rotate(-10deg) scale(1.08); box-shadow: 0 0 0 8px rgba(232,98,26,.16); }

/* Counters */
.counters { position: relative; overflow: hidden; background: radial-gradient(circle at 15% 0%, rgba(255,255,255,.16), transparent 45%), radial-gradient(circle at 90% 100%, rgba(8,28,22,.35), transparent 50%), var(--sun-dark); }
.counters .grid-4 > div { position: relative; padding: 8px 0; }
.counters .grid-4 > div + div::before { content: ""; position: absolute; left: -12px; top: 12%; height: 76%; width: 1px; background: rgba(255,255,255,.3); }
.counters .n { font-size: clamp(2.4rem, 5vw, 3.6rem); }

/* Ways to give */
.pack { position: relative; border-top: 4px solid var(--sun); transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s; }
.pack:hover { transform: translateY(-8px); box-shadow: 0 22px 48px rgba(8,28,22,.2); }
.pack:nth-child(2) { border-top-color: var(--forest-2); }
.pack:nth-child(3) { border-top-color: #e0a526; }
.pack-ic { width: 66px; height: 66px; margin: 0 auto 16px; border-radius: 50%; background: var(--sun-soft); color: var(--sun-text); display: grid; place-items: center; transition: transform .4s cubic-bezier(.2,.7,.2,1), background .3s, color .3s; }
.pack:hover .pack-ic { transform: scale(1.12) rotate(-8deg); background: var(--sun-dark); color: #fff; }

/* FAQ, promise and news hovers */
.faq details { transition: box-shadow .25s, transform .25s; }
.faq details:hover { transform: translateY(-2px); box-shadow: 0 10px 28px var(--shadow); }
.promise { transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s; }
.promise:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(8,28,22,.16); }
.promise .dot { transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.promise:hover .dot { transform: rotate(-10deg) scale(1.1); }

/* Page-level extras */
.read-progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--sun), #f2b33d); z-index: 100; pointer-events: none; }
.to-top { position: fixed; right: 18px; bottom: 84px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--forest); color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.3); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s; z-index: 39; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--sun-dark); }
@media (max-width: 760px) { .to-top { bottom: 140px; } .scroll-cue { bottom: 112px; } .counters .grid-4 > div + div::before { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero::after, .hero h1, .hero p, .hero .actions, .scroll-cue, .scroll-cue span, .ticker-track, .frame-accent::after { animation: none !important; }
  .ticker { white-space: normal; text-align: center; } .ticker-track { display: flex; flex-wrap: wrap; justify-content: center; padding: 0 16px; }
  .svc, .pack, .promise, .why-item, .btn-sun::after { transition: none; }
}

/* Footer bottom row: every item on one baseline, same colour and size */
.footer-bottom { align-items: center; }
.legal-links { align-items: baseline; }
.legal-links a, .legal-links .linklike { color: #b4c5bb; font-size: .84rem; line-height: 1.5; font-weight: 400; font-family: inherit; text-decoration: underline; display: inline; vertical-align: baseline; background: none; border: 0; padding: 0; margin: 0; }
.legal-links a:hover, .legal-links .linklike:hover { color: #fff; }
.credit { width: 100%; text-align: center; font-size: .8rem; color: #8fa699; padding: 0 0 24px; margin: 0; }
.credit a { color: #b4c5bb; }
.credit strong { color: #cfdcd3; font-weight: 600; }
.announce { background: var(--sun); color: #1a1a1a; font-size: .92rem; text-align: center; padding: 9px 0; font-weight: 600; }
.announce a { color: inherit; text-decoration: underline; margin-left: 8px; }
